1d53d80a2599b4f015f46458f6ca5f05a3894d4b
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4 on-chip insn memory and IMAP1 to upper 128k.
5 (D10VCopy): Handle memory regions crossing 16k boundaries.
6 (D10VCopy): Transfer data in 32 bit chunks.
7
8 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
9
10 * gdb.base/overlays.c (main): Exit normally when result is
11 correct.
12
13 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
14 map. Include space for printf in .text segment.
15
16 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
17 updated d10v memory VMA/LMA map.
18 (D10VCopy): Call D10VTranslate.
19
20 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21
22 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
23
24 * gdb.base/bar.c (barx, bar): Change variable to small array so
25 that it won't be put into the .sdata - small data -
26 section. Update reference.
27 * gdb.base/baz.c (bazx, baz): Ditto.
28 * gdb.base/foo.c (foox, foo): Ditto.
29 * gdb.base/grbx.c (grbxx, grbx): Ditto.
30
31 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
32 to be arrays.
33
34 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
35
36 * gdb.base/overlays.exp: fix up and get working again.
37 Add tests for backtraces from an overlay function.
38
39 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
40
41 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
42 "calling function with watchpoint enabled".
43
44 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
45
46 * gdb.base/break.exp (test_next_with_recursion): Remove
47 gdb_suppress_tests for d10v-*-*.
48 * lib/gdb.exp (gdb_suppress_tests): Disable this function
49 pending review of whether it is useful or not.
50
51 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
52
53 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
54
55 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
56
57 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
58 * config/dve.exp: New file to support Densan boards.
59
60 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
61
62 * gdb.base/interrupt.exp: Document problem of simulators, signals,
63 reads and BSD.
64
65 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
66
67 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
68 response.
69
70 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
71
72 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
73
74 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
75 test.
76
77 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
78 target_sizeof_long and target_bigendian_p.
79 (structs_by_value, structs_by_reference): Check values according
80 to targets word size and endianess.
81
82 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
83
84 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
85 output.
86
87 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
88
89 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
90 Update test of set args help to match source change.
91
92 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
93
94 * gdb.base/default.exp: Expect help system output to be in
95 alphabetical order.
96 * gdb.base/help.exp: Ditto.
97
98 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
99
100 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
101 "i*86-pc-linux-gnu*".
102 * gdb.base/interrupt.exp: Ditto.
103 * gdb.base/corefile.exp: Ditto.
104
105 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
106 define vxworks when building the testcase.
107
108 * gdb.base/ptype.exp: Fix testnames to be unique.
109 * gdb.base/radix.exp: Ditto.
110 * gdb.base/term.exp: Ditto.
111 * gdb.base/whatis.exp: Ditto.
112 * gdb.c++/classes.exp: Ditto.
113
114 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
115
116 * gdb.base/callfuncs.exp: Fix indentation.
117
118 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
119 suppress_flag has been set.
120 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
121 target feature.
122
123 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
124
125 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
126 the testcase.
127
128 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
129 set_debug_traps() and breakpoint().
130 * gdb.c++/misc.cc (main): Ditto.
131 * gdb.c++/templates.cc (main): Ditto.
132 * gdb.c++/virtfunc.cc (main): Ditto.
133
134 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
135
136 * lib/gdb.exp(gdb_step_for_stub): New function.
137 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
138 exists, reload the executable and do a "continue" instead of
139 doing a jump.
140 (runto_main): Use gdb_step_for_stub.
141
142 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
143 tests to have unique names.
144 * gdb.base/callfuncs.exp: Ditto.
145 * gdb.base/commands.exp: Ditto.
146 * gdb.base/default.exp: Ditto.
147 * gdb.base/help.exp: Ditto.
148 * gdb.base/list.exp: Ditto.
149 * gdb.base/opaque.exp: Ditto.
150 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
151 similar tests.
152
153 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
154 * gdb.c++/cplusfuncs.cc: Ditto.
155 * gdb.c++/virtfunc.cc: Ditto.
156
157 * config/monitor.exp: Keep track of the last file we saw, rather
158 than trying to get the info from gdb.
159
160 * gdb.fortran/types.exp: Move comment to previous line.
161
162 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
163
164 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
165 target mode.
166
167 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
168
169 From Bob Manson:
170 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
171 string from GDB when it connects.
172
173 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
174
175 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
176
177 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
178 if we can't get a debug format from GDB (we may be testing an
179 older GDB). Use a 10 second timeout when checking for the format.
180
181 * gdb.stabs/weird.exp: Fix quoting.
182
183 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
184
185 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
186
187 * config/arm-ice.exp: New file.
188
189 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
190
191 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
192 until it has been modified to work with the new testsuite.
193
194 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
195 testcase won't compile, cause all of the testcases in the file to
196 fail instead.
197
198 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
199 (gdb_clear_suppressed): New procedure.
200 (gdb_stop_suppressing_tests): Only clear suppress_flag if
201 it contains a positive value.
202
203 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
204
205 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
206
207 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
208
209 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
210
211 * lib/gdb.exp (setup_xfail_format): New function.
212 (get_debug_format): New function to get debug format.
213 (debug_format): New global variable to hold last value set
214 by get_debug_format.
215 * gdb.base/list.exp: Call get_debug_format and expect some
216 tests to fail for DWARF 1 and COFF formats.
217 * gdb.c++/ptype.exp: Ditto.
218 * gdb.c++/classes.exp: Ditto.
219 * gdb.c++/cplusfuncs.exp: Ditto.
220 * gdb.c++/inherit.exp: Ditto.
221 * gdb.c++/templates.exp: Ditto.
222 * gdb.c++/virtfunc.exp: Ditto.
223
224 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
225
226 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
227 host doesn't have a currently-open connection.
228
229 * config/sparclet.exp: Cleanups and fixes to make it generic for
230 any gdb stub target. Handle cases where gdb doesn't respond when
231 interrupted in a sane fashion.
232
233 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
234 same thing in a totally different way.
235
236 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
237 setting "timeout".
238 (gdb_start): We set the global gdb_prompt variable in
239 default_gdb_init now.
240
241 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
242
243 * gdb.base/printcmds.exp: Fix "check for floating addition"
244 regexp to accept results within approx +/- .01 of exact value.
245 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
246
247 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
248
249 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
250 properly.
251 (gdb_expect): Add optional timeout parameter, and add timeout
252 value to various calls.
253 (gdb_suppress_tests): Only give one warning message per group.
254
255 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
256
257 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
258 global variables. Handle getting a value for $timeout more
259 gracefully.
260
261 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
262
263 * lib/gdb.exp: Close connection to remote host if gdb doesn't
264 initialize.
265 (default_gdb_init): New procedure; allow gdb_init to be overridden
266 by a target configuration file.
267 (gdb_expect): Pass the timeout to remote_expect.
268
269 * config/monitor.exp(gdb_load): Fix typo in regexp.
270
271 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
272
273 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
274
275 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
276
277 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
278 here. Call gdb_target_exec before rebooting the target, to make
279 sure the connection to the target is closed.
280 (gdb_load): Pass the name of the executable to gdb_target_monitor.
281 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
282 Also detect "Timeout reading from remote" error.
283
284 * config/gdbserver.exp: Pass the executable being loaded to
285 gdb_target_monitor. Don't call gdb_file_cmd here; let
286 gdb_target_monitor do it.
287
288 * gdb.disasm/hppa.exp: Don't use exec_output.
289
290 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
291
292 * gdb.base/list.exp: If we're debugging a non-native target,
293 try to set the pc register to point to the start of the
294 program before doing the first list command.
295
296 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
297 test_calls after restarting.
298
299 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
300 reloading.
301
302 * gdb.base/watchpoint.exp: Fix typo.
303
304 * gdb.base/setshow.exp: Check for use_gdb_stub.
305
306 * gdb.base/break.exp: Fix continue until exit test for the gdb
307 stub case.
308 * gdb.base/langs.exp: Ditto.
309
310 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
311 gdb_load_offset. If we weren't given a file to load, figure out
312 what the current file is and use it.
313
314 * config/i386-bozo.exp: New file.
315
316 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
317
318 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
319 feature.
320
321 * config/proelf.exp: New entry.
322
323 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
324
325 * lib/gdb.exp: Remove spurious .* patterns at the beginning
326 of regexps.
327
328 * gdb.base/watchpoint.exp: Don't run the test_stepping
329 tests if gdb can't call functions on the target.
330
331 * gdb.base/setshow.exp: Don't run the set prompt tests if
332 the board has gdb_prompt set.
333
334 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
335
336 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
337 * gdb.base/commands.exp: Likewise.
338 * gdb.base/setshow.exp: Likewise.
339
340 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
341
342 * config/monitor.exp(gdb_start): Look for gdb_prompt target
343 feature.
344
345 * config/i960.exp: New file.
346
347 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
348
349 * gdb.base/funcargs.exp: Check for gdb,short_int target
350 feature instead of looking for explicit target triplets.
351
352 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
353
354 * gdb.base/printcmds.exp: add a couple more tests a la
355 "p 123DEADBEEF", to check parse_number.
356 * top.c: change "to enable to enable" to "to enable" in a couple
357 of help strings.
358
359 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
360
361 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
362 on the mn10300.
363
364 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
365
366 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
367 where the test executable is run with explicit args.
368 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
369
370 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
371
372 * gdb.base/run.c: Use FAKEARGV to build test executable that
373 does not require a command line arg, since most simulators
374 don't currently support passing such an arg into the simulated
375 program.
376 * gdb.base/commands.exp: Change tests to insert the proper
377 value as the arg to the first recursive factorial call. Change
378 compilation line to define FAKEARGV at compile time.
379
380 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
381
382 * gdb.base/recurse.exp: Enable these tests for the mn10300.
383 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
384 function with watchpoint enabled" test.
385
386 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
387
388 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
389 Don't call gdb_test when the command doesn't return to a gdb prompt.
390
391 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
392 "Tests restarted" messages.
393
394 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
395
396 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
397
398 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
399
400 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
401 for INFO SYMBOL; add help tests for OVERLAY commands.
402 * gdb.base/default.exp: add tests for INFO SYMBOL command;
403 add tests for OVERLAY commands
404 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
405 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
406 * gdb.base/sigall.c: add usestubs code frag
407 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
408
409 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
410
411 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
412 failures.
413 (gdb_stop_suppressing_tests): Note that tests have restarted.
414
415 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
416
417 * config/h8300.exp: New file.
418
419 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
420
421 * gdb.base/setshow.exp: Check for the existence of a
422 feature, not its value.
423
424 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
425
426 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
427
428 * gdb.base/scope.exp: It's now init0(), not init().
429
430 * gdb.base/scope0.c: For now, change init() to be init0().
431
432 * config/monitor.exp: Use gdb_serial in preference to serial
433 or netport.
434
435 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
436 and it's not already set.
437
438 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
439
440 * gdb.base/setshow.exp: Only test the run command if the target
441 isn't using a stub and if it supports argument passing.
442
443 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
444
445 * config/udi.exp(gdb_start): Make sure UDICONF is set
446 properly before starting gdb.
447
448 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
449
450 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
451 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
452 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
453
454 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
455
456 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
457 specialized code to reboot the board, use remote_reboot instead.
458
459 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
460
461 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
462
463 * config/monitor.exp: Make sure we disconnect from the target.
464 Also, try a reboot/reload cycle instead of failing if the
465 load fails.
466
467 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
468
469 * gdb.base/default.exp: Don't set match_max.
470 * gdb.base/help.exp: Ditto.
471 * gdb.base/list.exp: Ditto.
472 * gdb.base/signals.exp: Ditto.
473
474 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
475 set, use remote_ld to download the testcase instead of
476 the GDB loader.
477
478 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
479
480 * config/vr5000.exp: New file.
481
482 * config/monitor.exp(gdb_target_monitor): Add pattern for
483 "Ending remote" to detect errors in connecting.
484
485 * gdb.base/setshow.exp: Add .* within auto language test.
486
487 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
488 target feature.
489
490 * config/monitor.exp(gdb_load): Check for a failure when loading,
491 and reboot the board if necessary.
492
493 * gdb.base/setvar.exp(test_set): Handle multiple prints within
494 a set of tests. Remove print.* from the patterns being checked.
495
496 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
497
498 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
499 refer to gdb_spawn_id.
500
501 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
502 longer used.
503 * config/sparclet.exp: Ditto.
504 * config/sparclet-old.exp: Ditto.
505 * config/slite.exp: Ditto.
506 * config/sim.exp: Ditto.
507 * gdb.base/funcargs.exp: Ditto.
508
509 * lib/gdb.exp:Remove references to gdb_spawn_id.
510 (gdb_expect): Move to remote.exp.
511
512 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
513
514 * config/monitor.exp: Detect the "Couldn't establish connection"
515 message from GDB.
516
517 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
518
519 * gdb.base/bitfields.exp: Use runto instead of explicit
520 gdb_run_cmd/gdb_expect sequences.
521
522 * gdb.base/break.exp(text_next_with_recursion): Add match for
523 gdb_expect call.
524
525 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
526 We also need to handle the "A program is being debugged already"
527 prompt from gdb. Use gdb_test to set the baud rate.
528
529 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
530 to 20000. Really. I mean it.
531
532 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
533
534 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
535 fails. If suppress_flag is set, skip perror message about not
536 being able to send to GDB.
537 (send_gdb): If suppress_flag is set, don't try to send commands to
538 GDB.
539 (gdb_expect): If suppress_flag is set, always fail immediately.
540 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
541 (gdb_init): Call gdb_stop_suppressing_tests.
542 (default_gdb_exit): Ditto.
543 (default_gdb_start): Ditto.
544
545 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
546 gdb_stop_suppressing_tests as appropriate.
547 * gdb.base/break.exp: Ditto.
548 * gdb.base/callfuncs.exp: Ditto.
549 * gdb.base/commands.exp: Ditto.
550 * gdb.base/exprs.exp: Ditto.
551 * gdb.base/funcargs.exp: Ditto.
552 * gdb.base/list.exp: Ditto.
553 * gdb.base/recurse.exp: Ditto.
554 * gdb.base/scope.exp: Ditto.
555 * gdb.base/structs.exp: Ditto.
556 * gdb.c++/inherit.exp: Ditto.
557
558 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
559
560 * config/vr4300.exp: New file.
561
562 * gdb.*/*.exp: Call gdb_expect instead of expect.
563
564 * lib/gdb.exp(gdb_expect): New function.
565
566 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
567
568 * lib/gdb.exp(gdb_init): New function.
569
570 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
571 for each individual variable set.
572
573 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
574 name.
575
576 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
577
578 * gdb.base/scope.exp: Use gdb_test.
579
580 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
581 aborting; the testsuite driver will do that for us (see
582 gdb_finish). Also, use gdb_test in a few more places.
583
584 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
585
586 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
587
588 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
589
590 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
591 and "add_tests" are not at the same address.
592
593 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
594
595 * gdb.base/ptype.exp: Use gdb_test.
596
597 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
598
599 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
600 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
601 left in. No longer expect them to fail.
602
603 * gdb.stabs/*.mt; Deleted, no longer used.
604 * gdb.stabs/configure.in: Remove references to target makefile
605 frags.
606 * gdb.stabs/configure: Rebuilt.
607
608 * gdb.disasm/*.mt: Deleted, no longer used.
609 * gdb.disasm/configure.in: Remove references to target makefile
610 frags. Use "sh3.s" as the unique filename for this directory.
611 * gdb.disasm/configure: Rebuilt.
612
613 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
614 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
615 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
616
617 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
618
619 * config/udi.exp: Use mondfe,name instead of remote_host.
620
621 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
622
623 * gdb.base/watchpoint.exp: Don't expect a failure when calling
624 a function with a watchpoint enabled on the mn10200.
625
626 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
627 before trying to create it!
628
629 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
630
631 * config/vx.exp: Use hostname instead of netport.
632
633 * config/vxworks.exp: New file.
634
635 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
636
637 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
638 gdb before assuming everything worked. Send a ^C if a timeout
639 occurs.
640
641 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
642 $gdb_spawn_id directly.
643 (gdb_run_cmd): Try _start as well as start. Use the target feature
644 gdb,start_symbol as the symbol to start from when jumping.
645
646 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
647
648 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
649 redundant) test.
650
651 * gdb.base/recurse.exp: Relax final value test for 'b' so that
652 it doesn't lose for 16bit integer systems.
653
654 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
655
656 * gdb.fortran/types.exp: If the target doesn't support "double"
657 data types, then expect "real" types to only be 4 bytes.
658
659 * gdb.c++/virtfunc.exp: Expect failure for virtual function
660 call tests if the target doesn't support inferior function calls.
661
662 * gdb.base/printcmds.exp: Allow minor deviation in FP values
663 in printf tests.
664
665 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
666
667 * gdb.base/help.exp: Disable "help set", "help show", and
668 "help support". Simplify regexp for "help stack".
669
670 * gdb.base/default.exp: Set match_max to 5000 and the timeout
671 to 60 seconds. Temporarily set match_max to 15000 around the
672 "info copying" test.
673
674 * gdb.base/nodebug.exp: Don't try to do an inferior function
675 call if the target doesn't support them.
676 * gdb.base/printcmds.exp: Likewise.
677 * gdb.base/setvar.exp: Likewise.
678 * gdb.base/structs.exp: Likewise.
679 * gdb.c++/templates.exp: Likewise.
680 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
681
682 * gdb.base/recurse.exp: Enable for the mn10200.
683
684 * configure.in: Do configure gdb.stabs directory for *-*-elf
685 targets.
686 * configure: Rebuilt.
687
688 * gdb.base/break.exp: Check for gdb,noresults before testing
689 exit status and/or results from the target.
690 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
691 * lib/gdb.exp: Remove old (now bogus) initialization of
692 noinferior, noargs, noresults and nosignals.
693
694 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
695
696 * config/sh.exp: New file.
697
698 * config/slite.exp: Try to connect multiple times to the board
699 before rebooting. Only send a "monitor run" if need_monitor_run
700 is set.
701
702 * gdb.base/break.exp: Don't do the "stub continue" test if
703 the target has gdb_stub set.
704
705 * gdb.base/callfuncs.exp: Increase the timeout.
706
707 * gdb.base/interrupt.exp: Don't even try to compile the testcase
708 if the target has gdb,noinferiorio set.
709
710 * gdb.base/list.exp: Increase match_max to 10000 characters.
711
712 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
713
714 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
715 target.
716
717 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
718
719 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
720
721 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
722 trying to delete the copy of gdb. Catch the file delete so we
723 don't die if the delete fails; also, the file should be copied to
724 the host, not to the build.
725
726 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
727
728 * lib/gdb.exp(gdb_test): Surround the result pattern with
729 parenthesis in case it contains multiple regexps separated
730 with |.
731
732 * gdb.base/watchpoint.exp: Use gdb_test.
733 * gdb.base/default.exp: Ditto.
734
735 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
736
737 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
738
739 * gdb.base/scope.exp: Use gdb_test.
740 * gdb.c++/classes.exp: Ditto.
741 * gdb.c++/inherit.exp: Ditto.
742
743 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
744
745 * gdb.base/crossload.exp: Don't use execute_anywhere, use
746 remote_exec instead.
747 * gdb.base/corefile.exp: Don't be ridiculous.
748 * gdb.base/*.c: Add missing stub invocations.
749
750 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
751
752 * config/slite.exp: Miscellaneous fixes.
753
754 * lib/gdb.exp: Fix runto.
755
756 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
757 the target.
758
759 * gdb.base/watchpoint.exp: Fix regexp.
760
761 * lib/gdb.exp(default_gdb_exit): Add a catch to the
762 close and wait commands, as the descriptor may now be
763 invalid. Always call "remote_close host".
764
765 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
766
767 Major rewrite for testsuite revision.
768
769 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
770 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
771 instead of relying on spawn_id to always contain a valid
772 spawn id.
773 (get_compiler_info): New procedure to build the ${binfile}.ci
774 file, instead of replicating this in N different places.
775 (gdb_compile): New procedure.
776
777 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
778 appropriate arguments) instead of compile. Use gdb_test in a lot
779 more places. Use send_gdb instead of send. Always run gdb_start
780 at the start of a testcase, as this is no longer done magically.
781
782 config/*-gdb.exp: Rename without the -gdb suffix.
783
784 config/mips.exp: Use remote_close instead of exit_remote_shell.
785 config/monitor.exp: Use target_info instead of looking at
786 baud, timeout, etc.
787 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
788
789 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
790
791 * gdb.c++/templates.exp (test_ptype_of_templates),
792 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
793 Update expect patterns for destructors and assignment operators
794 to match corresponding c-typeprint.c changes.
795 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
796 to destructor breakpoint test, GDB should be able to set the
797 destructor breakpoint without specifying arguments.
798
799 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
800
801 * gdb.threads/pthreads.exp: Change result for failure to compile due
802 to lack of pthreads runtime support from an error to simply an
803 unsupported test, per dejagnu standards.
804
805 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
806
807 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
808 where GDB exits to reduce pattern match time.
809 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
810
811 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
812
813 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
814
815 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
816 * gdb.base/default.exp: ditto.
817 * gdb.base/nodebug.exp: ditto.
818 * gdb.base/printcmds.exp: ditto.
819 * gdb.base/ptype.exp: ditto.
820 * gdb.base/setvar.exp: ditto.
821 * gdb.base/structs.exp: ditto.
822 * gdb.base/setshow.c: Guard against uninitialized values of argc.
823
824 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
825
826 * configure, */configure: Rebuild with autoconf 2.12.
827
828 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
829
830 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
831 use new i*86-pc-linux*-gnu quads.
832 * gdb.base/corefile.exp: Ditto.
833 * gdb.base/signals.exp: Ditto.
834 * gdb.base/sigall.exp: Ditto.
835 * gdb.base/interrupt.exp: Ditto.
836
837 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
838 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
839 RedHat 4.0.
840
841 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
842 linux. This allows the test case to at least compile on latest
843 linux, but still not run due to missing the threads runtime library.
844
845 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
846
847 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
848 directory to search gdb directory. Accept and step over conditional
849 stack alignment code. Consume $prompt in failure cases.
850 Reset timeout to $oldtimeout instead of some arbitrary value.
851 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
852 timeout problems with infinite stack backtraces.
853 * gdb.base/ptype.exp (ptype struct link, union tu_link):
854 Accept function parameters for linkfunc member.
855
856 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
857
858 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
859 (CXXFLAGS): Remove, unreferenced.
860 (B_OPTIONS): Add for -B options and add code to initialize with
861 previous -B options and also add -B option to pick up cross compiled
862 runtime.
863 (TARGET_INCLUDES): Add for -I options and add code to initialize when
864 doing cross compiles.
865 (target_alias): Declare global.
866 (xgcc): Set variable to full path of gcc in build tree. Use findfile
867 to verify that gcc exists in build tree, and if so set CC to that
868 gcc and to use B_OPTIONS and TARGET_INCLUDES.
869
870 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
871
872 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
873 ptype test for anonymous union. Fixup testcase to match
874 current gcc debug output.
875
876 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
877
878 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
879 force argument to an unsigned long type.
880
881 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
882
883 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
884 tests and anonymous union print/ptype tests.
885 * gdb.base/list.exp (test_forward-search): Increase timeout by
886 5 minutes for the "search extremely long line" case.
887 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
888 completely optional and that the pass/fail messages use the command as
889 the message if that third arg is a null string.
890 (gdb_test_exact): Arrange that a null string pattern means match a
891 null string output rather than any output, which might include random
892 errors.
893 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
894 backtrace test.
895 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
896 always failing and failure is now exposed by gdb.exp changes.
897
898 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
899
900 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
901 weren't being noted.
902
903 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
904
905 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
906 * gdb.stabs/weird.exp: Remove v_comb xfails.
907
908 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
909
910 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
911 list.exp scope.exp watchpoint.exp]
912 Make all timeout error msgs explicitly say "(timeout)".
913
914 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
915
916 * config/monitor.exp: Increase download timeout to 1000 seconds.
917
918 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
919
920 * config/m32r.exp: Increase timeout to 120 seconds.
921
922 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
923
924 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
925 and accept older ordering as obsolescent gcc or gdb.
926 * gdb.c++/templates.exp: Ditto.
927 * gdb.c++/virtfunc.exp: Ditto.
928
929 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
930
931 * gdb.base/coremaker.c: Add code to mmap some data so we
932 can check that it ends up in the core file.
933 * gdb.base/corefile.exp: Add test to read mmapped data
934 from core file.
935
936 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
937
938 * config/m32r.exp: New file.
939
940 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
941
942 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
943 that cflags can contains -gstabs, and work correctly for other tests.
944
945 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
946
947 * gdb.base/setshow.exp: New file, tests show and set.
948 * gdb.base/setshow.c: New file, tests show and set.
949 * gdb.base/help.exp: Add test for help set|show annotate.
950 * gdb.base/default.exp: Add test for set|show annotate.
951
952 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
953
954 * testsuite/gdb.base/break.exp: Make backtrace from factorial
955 errors unique.
956 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
957 explicitly.
958
959 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
960
961 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
962 and width commands. This is done elsewhere.
963 * (gdb_start): Don't call gdb_start_sim here. That's already
964 done in gdb_load. This fixes lots of failures in default.exp.
965
966 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
967
968 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
969 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
970 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
971 in the same we we treat other failures (since it may be an expected
972 condition), rather than as an error.
973 * gdb.base/signals.exp (test_handle_all_print): Revert back to
974 old test format.
975
976 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
977
978 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
979 (distclean maintainer-clean realclean): No need to remove files
980 twice. Nuke the duplicates.
981 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
982 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
983 Remove config.h along with other config files.
984
985 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
986
987 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
988 "p func1 ()" and note that rests of tests are skipped.
989 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
990 setup_xfails for "print func2::coremaker_local".
991 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
992 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
993 affected by the previous run test.
994 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
995 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
996 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
997 "pass int powerset tuple" and "pass modeless int powerset tuple".
998 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
999 "real write 4" and "real write 8".
1000 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1001 setup_xfails for "print vs1 after tuple assign 2",
1002 "print \$i after tuple assign 2", and
1003 "print vs2 after tuple assign 2".
1004 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1005 meaningful error message and return -1 so the caller can
1006 suppress further tests and avoid a cascade of errors.
1007
1008 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
1009
1010 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1011 format for printing version.
1012 * gdb.base/default.exp: Ditto.
1013 * gdb.base/interrupt.exp: Fix problem with cascade of
1014 errors if child process dies while calling a function.
1015
1016 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
1017
1018 * Makefile.in (VPATH): Add
1019 * Makefile.in (Makefile, config.status): Fix rules so things get
1020 remade when necessary.
1021
1022 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
1023
1024 * Makefile.in (just-check): Add path to sibling expect dir
1025 to environment variable specified by RPATH_ENVVAR.
1026
1027 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
1028
1029 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1030 (just-check): Add shared library paths for libstdc++, tk,
1031 tcl, bfd, and opcodes to the environment variable specified
1032 in RPATH_ENVVAR.
1033 * configure.in: Add support to recognize --enable-shared flag
1034 and generate correct value for RPATH_ENVVAR.
1035 * configure: Regenerated with autoconf.
1036
1037 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
1038
1039 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1040 include all osf versions.
1041 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1042 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1043 when target is linux. When failing to build pthreads test
1044 executable, give more meaningful message.
1045 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1046 arg for pthread_create.
1047
1048 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
1049
1050 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1051 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1052 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1053 and -lpthreads (everybody else).
1054 (test_startup): Fail gracefully if threads are not supported.
1055 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1056 "p/c array_index("abcdef",2)" when not gcc compiled.
1057 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1058 "print func2::coremaker_local" when not gcc compiled.
1059 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1060 "ptype on opaque struct tagname (statically)",
1061 "ptype on opaque struct tagname (dynamically) 1", and
1062 "ptype on opaque struct tagname (dynamically) 2"
1063 for not compiled with gcc.
1064 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1065 backtrace when compiled with gcc.
1066 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1067 than always return success.
1068
1069 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
1070
1071 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1072
1073 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
1074
1075 * gdb.base/structs.exp: Undo last change.
1076
1077 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
1078
1079 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1080 encapsulate all the steps/nexts done during self test, starting
1081 at main, and makes them less sensitive to optimization issues.
1082 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1083 signal handler" test.
1084 * gdb.threads/pthreads.exp: Only run this for native configs.
1085 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1086 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1087 tests.
1088 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1089 for "runto test_calls(void)" test.
1090
1091 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
1092
1093 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1094 and don't expect address info in breakpoint confirmations.
1095
1096 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
1097
1098 * gdb.base/list.exp (test_forward_search): Increase timeout
1099 temporarily by 60 seconds for searching extremely long line,
1100 and then reset to old value when done. Increase expect input
1101 buffer to 10000.
1102
1103 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
1104
1105 * gdb.base/list.exp (test_forward_search): Fix to handle very
1106 long source line without overflowing expect's input buffer.
1107
1108 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1109
1110 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1111 "buffer_full".
1112
1113 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1114 "buffer_full".
1115
1116 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1117 "buffer_full".
1118
1119 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1120 "buffer_full".
1121
1122 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
1123
1124 * configure.in (configdirs): Add gdb.threads.
1125 * configure: Regenerated with autoconf.
1126 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1127 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1128 * gdb.threads/configure: New, generated with autoconf.
1129
1130 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
1131
1132 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1133
1134 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
1135
1136 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1137 each signal's status in the output of "handle all print".
1138 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1139 the \r\n sequence that immediately precedes the gdb prompt.
1140 * gdb.base/a1-selftest.exp: Save original timeout and restore
1141 after test.
1142
1143 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
1144
1145 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1146 symbol.
1147
1148 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1149
1150 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1151
1152 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
1153
1154 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1155 timeout by 60 seconds.
1156
1157 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
1158
1159 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1160 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1161 error return.
1162
1163 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
1164
1165 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1166 gdb initialization, also report how long dejagnu waited. Restore
1167 old timeout before doing error return. Temporarily increase timeout
1168 by 3 minutes to allow for slow startups over heavy NFS use.
1169
1170 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
1171
1172 * lib/gdb.exp: Report timeout value for verbosity level 2.
1173 * config/gdbserver.exp: Ditto.
1174 * config/hppro.exp: Ditto.
1175 * config/mips-gdb.exp: Ditto.
1176 * config/monitor.exp: Ditto.
1177 * config/netware.exp: Ditto.
1178 * config/sim-gdb.exp: Ditto.
1179 * config/slite-gdb.exp: Ditto.
1180 * config/udi-gdb.exp: Ditto.
1181 * config/unix-gdb.exp: Ditto.
1182 * config/vx-gdb.exp: Ditto.
1183 * gdb.base/a1-selftest.exp: Ditto.
1184 * gdb.base/a2-run.exp: Ditto.
1185 * gdb.base/break.exp: Ditto.
1186 * gdb.base/corefile.exp: Ditto.
1187 * gdb.base/list.exp: Ditto.
1188 * gdb.base/recurse.exp: Ditto.
1189 * gdb.base/scope.exp: Ditto.
1190 * gdb.base/signals.exp: Ditto.
1191
1192 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1193
1194 * gdb.threads/Makefile.in (docdir): Removed.
1195
1196 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1197
1198 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1199 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1200 @srcdir@.
1201 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1202 autoconf 2.5 or higher.
1203 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1204
1205 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1206
1207 * configure: Regenerated.
1208 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1209 avoid name clashes with SunOS headers.
1210
1211 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
1212
1213 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1214
1215 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
1216
1217 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1218 prototype information ends up in the compiler info file.
1219
1220 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
1221
1222 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1223 attempting to regenerate it. Eliminate use of a temporary file
1224 and just generate the info file directly. Source it immediately,
1225 for consistency of use.
1226 * gdb.base/corefile.exp: Ditto
1227 * gdb.base/exprs.exp: Ditto.
1228 * gdb.base/funcargs.exp: Ditto.
1229 * gdb.base/langs.exp: Ditto.
1230 * gdb.base/list.exp: Ditto.
1231 * gdb.base/mips_pro.exp: Ditto.
1232 * gdb.base/nodebug.exp: Ditto.
1233 * gdb.base/opaque.exp: Ditto.
1234 * gdb.base/ptype.exp: Ditto.
1235 * gdb.base/scope.exp: Ditto.
1236 * gdb.base/setvar.exp: Ditto.
1237 * gdb.base/signals.exp: Ditto.
1238 * gdb.base/whatis.exp: Ditto.
1239 * gdb.c++/templates.exp: Ditto.
1240 * gdb.c++/virtfunc.exp: Ditto.
1241 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1242 whether or not to add -lstdc++ to the compile command line args.
1243
1244 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1245
1246 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1247 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1248 Increase timeout, a lot of single stepping might be needed if the
1249 target has no hardware watchpoints.
1250
1251 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
1252
1253 * gdb.base/break.exp: Ignore compiler warnings when compiling
1254 break.c.
1255 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1256 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1257 from remote-sim.
1258 * gdb.base/exprs.exp: Add h8300 xfails.
1259 * gdb.base/funcargs.exp: Likewise.
1260 * gdb.base/nodebug.exp: Likewise.
1261 * gdb.base/printcmds.exp: Likewise.
1262 * gdb.base/ptype.exp: Likewise.
1263 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1264 h8300 xfails.
1265 * gdb.base/return.exp: Handle float/double precision problems
1266 on the h8300.
1267 * gdb.base/funcargs.c: Explicitly make last constant argument to
1268 call_after_alloca_subr an unsigned long type.
1269 * gdb.base/return.c: Include stdio.h.
1270
1271 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1272
1273 * config/abug.exp: New file for the older Motorola Bug monitor
1274 that runs on the mvme13x series VME boards.
1275 * config/monitor.exp: Use the new config array for target settings
1276 if they exist.
1277
1278 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1279
1280 * sim-gdb.exp: Make the SH simulator allocate less space when
1281 it is targeted.
1282
1283 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1284
1285 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1286 test.
1287
1288 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1289
1290 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1291 "rs6000-*-*" for "list function in include file" when gcc compiled.
1292 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1293 for "p ctable1[120]".
1294 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1295 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1296 Remove setup_xfail for "rs6000-*-*" for
1297 "print 'scope0.c'::filelocal before run".
1298 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1299 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1300 since some compilers don't allow both options to be given
1301 on the same command line. Create object file and move it.
1302
1303 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1304
1305 * gdb.base/corefile.exp: Always regenerate the core file, since
1306 we always regenerate the coremaker program. Detect special case
1307 where registers cannot be read from core file.
1308
1309 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1310
1311 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1312 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1313 * gdb.c++/templates.exp: Only match on basename of file since
1314 some formats like xcoff don't encode directory information.
1315 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1316 and rs6000 AIX xcoff targets.
1317 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1318 * configure: Regenerate.
1319 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1320 here, rather than in distclean.
1321
1322 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1323
1324 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1325 defined, and use it to compile the test case with -O2. The
1326 native compilation still uses no optimization.
1327 * gdb.base/mips_pro.c: Remove inline assembly code since
1328 it is compiled PIC by default, which results in assembler
1329 warnings that make the testsuite think the compilation
1330 was unsuccessful.
1331
1332 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1333
1334 * gdb.c++/misc.exp: Add note to message for
1335 "print s.a for foo struct" that this is a known gcc 2.7.2
1336 and earlier bug.
1337
1338 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1339
1340 * gdb.base/break.exp: Fix pattern for matching "Delete all
1341 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1342 setup_xfail for deleting all breakpoints test. Fix various
1343 timeout messages to include "(timeout)".
1344 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1345 for "p t_float_values2(3.14159,float_val2)".
1346 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1347 for "continue to call2g" when gcc compiled.
1348 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1349 "up to foo in langs.exp", "show language at foo in langs.exp",
1350 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1351 and "show language at fsub in langs.exp".
1352 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1353 "list line 1 in include file", "list message for lines past EOF",
1354 "list function in include file", "list list0.h:foo", and
1355 "list filename:function; nonexistant function".
1356 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1357 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1358 and "ptype t_char_array" to be for native cc only.
1359
1360 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1361
1362 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1363 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1364 "print func2::coremaker_local", and "backtrace in corefile.exp".
1365
1366 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1367
1368 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1369 "bt in signals.exp". This problem only appears when running
1370 the testsuite, and then only intermittently.
1371
1372 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1373
1374 * gdb.base/return.exp (return_tests): Differentiate between
1375 two tests of continuing.
1376
1377 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1378
1379 * */Makefile.in (maintainer-clean): Remove config.log.
1380 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1381 * gdb.c++/Makefile.in (PROGS): Add inherit.
1382 (clean): Remove *.ci.
1383
1384 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1385
1386 * gdb.c++/misc.cc: Add test code from Mike Stump.
1387 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1388
1389 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1390
1391 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1392 to "alpha-*-osf2*" and add comment.
1393 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1394 setup_xfail for "step over execarg initialization" and
1395 "step over corearg initialization".
1396 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1397 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1398 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1399 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1400 "print func2::coremaker_local", and "backtrace in corefile.exp".
1401 * gdb.base/signals.exp: Build and source signals.ci.
1402 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1403 to be for gcc only.
1404 * lib/gdb.exp: Move verbose statements outside conditionals.
1405
1406 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1407
1408 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1409 Feb 3 procfs.c change.
1410
1411 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1412
1413 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1414
1415 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1416
1417 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1418 from dejagnu's apparent default of 10 seconds, which gives random
1419 results when running the tests over NFS on moderately loaded systems.
1420 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1421
1422 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1423
1424 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1425 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1426 result reports.
1427
1428 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1429
1430 * configure.in (CY_AC_PATH_TCLH): Remove.
1431 * configure: Regenerate.
1432
1433 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1434
1435 * gdb.c++/Makefile.in (clean): Add missing '{'.
1436
1437 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1438
1439 * lib/gdb.exp: Provide a default value for noinferior.
1440
1441 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1442 Load libgloss.exp.
1443
1444 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1445
1446 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1447 the executable, not the .o to run the tests from.
1448
1449 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1450
1451 * gdb.base/break.exp: Don't test for program exit or exit status
1452 if $noresults if nonzero.
1453 * gdb.base/langs.exp: Likewise.
1454 * gdb.base/watchpoint.exp: Likewise.
1455
1456 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1457 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1458 trying to compile the testcase.
1459
1460 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1461
1462 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1463 * gdb.base/signals.exp (continue to handler): Likewise.
1464
1465 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1466
1467 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1468
1469 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1470
1471 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1472
1473 * gdb.base/corefile.exp: Recognize "not found" as failure
1474 when trying to determine if a core file was generated.
1475 If no core file was generate the first time, try again without
1476 the ulimit -c to work around braindamaged shells.
1477
1478 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1479
1480 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1481 [] tests with "test" and enclose string in quotes.
1482 * gdb.stabs/configure: Rebuild
1483
1484 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1485
1486 Changes in sync with expect:
1487 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1488 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1489 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1490 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1491 argument to AC_REQUIRE.
1492 * configure: Regenerated.
1493
1494 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1495
1496 * gdb.base/corefile.exp: When generating a core, discard any
1497 error messages about ulimit not found and the "core dumped"
1498 message from the shell that runs the coredumper.
1499
1500 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1501
1502 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1503
1504 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1505 which sed script to run. Expect failure for v_comb test
1506 on PA targets too.
1507
1508 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1509
1510 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1511 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1512
1513 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1514
1515 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1516 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1517 "sparc-sun-solaris*" xfails for "p v_comb".
1518 * lib/gdb.exp (default_gdb_start): Fix typo.
1519 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1520 messages to not include the full program name that caused
1521 the core dump since some systems (such as solaris) apparently
1522 truncate this path to about 80 characters.
1523 When generating a core file first try increasing the core file
1524 size limit to unlimited since some systems may default it to
1525 zero, and it is harmless to try it. Move the test for failing
1526 to generate a core file to where it will actually get executed.
1527 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1528 new gdb result from g++ debug info improvements and make old
1529 pattern obsolescent. Also account for size_t differences
1530 (may be int or long).
1531 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1532 initialization before function call is placed in the delay slot
1533 and thus appears to be skipped over by commands such as "next".
1534
1535 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1536
1537 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1538
1539 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1540
1541 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1542 input source file; fix code to compile test to deal with this
1543 convention.
1544 * gdb.c++/*.exp: Likewise.
1545
1546 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1547
1548 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1549 "bt in signals.exp".
1550
1551 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1552
1553 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1554 "step over execarg initialization" and
1555 "step over corearg initialization".
1556
1557 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1558
1559 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1560 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1561
1562 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1563
1564 From Rob Savoye (rob@poseidon.cygnus.com)
1565 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1566 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1567 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1568 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1569 configure.in}: Major reworking for autoconfig.
1570 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1571 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1572 New files.
1573 * config/unix-gdb.exp: Make GDB global.
1574 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1575 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1576 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1577 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1578 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1579 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1580 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1581 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1582 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1583 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1584 pr-8136.exp, result.exp, string.exp, tuples.exp},
1585 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1586 to returns as necessary, arrange for test to compile own testcase
1587 executable.
1588 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1589
1590 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1591
1592 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1593 clear_xfail at end of test which might not call either pass or fail.
1594 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1595 "backtrace through signal handler".
1596
1597 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1598
1599 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1600 continuing from a job control stop signal.
1601 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1602
1603 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1604
1605 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1606 * gdb.base/corefile.exp: Likewise.
1607 * gdb.base/funcargs.exp: Likewise.
1608
1609 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1610
1611 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1612 * config/monitor.exp: Add support for setting baud rate.
1613
1614 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1615
1616 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1617 i*86-*-linux* xfails for "backtrace through signal handler".
1618 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1619 "print func2::coremaker_local".
1620 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1621 alpha-dec-osf2* xfail for
1622 "delete all breakpoints when none".
1623
1624 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1625
1626 * gdb.base/break.exp: Change test that deletes all breakpoints
1627 when no user breakpoints are installed. A post 4.15 change
1628 causes gdb to no longer prompt in this case.
1629
1630 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1631
1632 * gdb.base/return.exp (return_tests): Change xfail for test
1633 "correct value returned double test" to stop xfailing at
1634 Solaris 2.5. Apparently the bug has been fixed.
1635
1636 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1637
1638 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1639 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1640
1641 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1642
1643 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1644 * gdb.disasm/hppa.s: Corresponding changes.
1645
1646 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1647
1648 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1649 makefile fragment.
1650 * config/mt-hpux: Deleted.
1651
1652 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1653
1654 * Many files: When warning about suppressed tests due to a
1655 nonexistant test binary, avoid incrementing the warning count.
1656
1657 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1658
1659 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1660
1661 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1662
1663 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1664 "sparc-*-solaris2*".
1665
1666 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1667
1668 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1669 Add global and local variables and initialize them.
1670 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1671 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1672 extracts the file name and terminating signal from the core file.
1673 * TODO: Remove note about tests for correct mapping of corefile.
1674 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1675 from optimizing it away.
1676 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1677 handles common blocks.
1678
1679 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1680
1681 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1682 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1683
1684 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1685
1686 * Makefile.in (maintainer-clean): New target, synonym for
1687 realclean.
1688 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1689 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1690 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1691 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1692 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1693 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1694
1695 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1696
1697 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1698 xfails when not gcc compiled for "print foo::funclocal".
1699 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1700 "print foo::funclocal at foo",
1701 "print 'scope1.c'::foo::funclocal at foo",
1702 "print foo::funclocal_bss at foo",
1703 "print 'scope1.c'::foo::funclocal_bss at foo",
1704 "print foo::funclocal_ro at foo",
1705 "print 'scope1.c'::foo::funclocal_ro at foo",
1706 "print bar::funclocal at foo" and
1707 "print 'scope1.c'::bar::funclocal at foo".
1708 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1709 gcc compiled for "print foo::funclocal at bar".
1710 Expand all messages to ensure that they identify that
1711 the test is at bar().
1712 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1713 gcc compiled for:
1714 "ptype on opaque struct pointer (statically)",
1715 "ptype on opaque struct tagname (statically)",
1716 "ptype on opaque struct pointer (dynamically) 1",
1717 "ptype on opaque struct tagname (dynamically) 1",
1718 "ptype on opaque struct pointer (dynamically) 2" and
1719 "ptype on opaque struct tagname (dynamically) 2
1720 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1721 gcc compiled for:
1722 "p datalocal"
1723 "whatis datalocal",
1724 "ptype datalocal",
1725 "p bsslocal",
1726 "whatis bsslocal", and
1727 "ptype bsslocal".
1728 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1729 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1730 when not gcc compiled.
1731 * gdb.base/funcargs.exp (float_and_integral_args): Add
1732 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1733 compiled.
1734 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1735 "backtrace from call6a" when not gcc compiled.
1736 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1737 "backtrace from call7a" when not gcc compiled.
1738 * gdb.base/callfuncs.exp (do_function_calls):
1739 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1740 "p t_char_array_values(char_array_val2,char_array_val1)",
1741 "p t_char_array_values(char_array_val1,char_array_val2)",
1742 "p t_char_array_values("carray 1","carray 2")",
1743 "p t_char_array_values("carray 1",char_array_val2)",
1744 "p t_char_array_values(char_array_val1,"carray 2")",
1745 "p sum_args(1,{2})",
1746 "p sum_args(2,{2,3})",
1747 "p sum_args(3,{2,3,4})",
1748 "p sum_args(4,{2,3,4,5})"
1749 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1750 "backtrace in corefile.exp" when not gcc compiled.
1751
1752 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1753
1754 * gdb.base/signals.exp: Rewrite `handle all print' test as
1755 a procedure. Accept blanks or TABs as whitespace, increase
1756 timeout and expect input buffer size for the large output
1757 from the command. Remove "i*86-*-bsdi2.0" xfail.
1758
1759 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1760
1761 * gdb.base/setvar.exp: Add new testcases for truncation when
1762 assigning invalid values to bitfields.
1763
1764 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1765
1766 * gdb.base/callfuncs.exp (do_function_calls): Remove
1767 mips-sgi-irix* xfail for
1768 "call inferior func with struct - returns char *"
1769 and fix test so that an optional (unsigned char *) cast is
1770 accepted in the result.
1771
1772 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1773
1774 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1775 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1776 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1777 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1778 that accidentally got checked in.
1779
1780 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1781
1782 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1783 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1784 compiled test.
1785 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1786 Add mips-sgi-irix5* xfail for not gcc compiled.
1787 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1788 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1789 "p top", "whatis top", "p middle", and "whatis middle".
1790 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1791 "whatis signed char" for not gcc compiled.
1792 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1793 "set variable signed char=-1 (-1)" and
1794 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1795 * gdb.base/funcargs.exp (float_and_integral_args):
1796 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1797 Add mips-sgi-irix* xfail when not gcc compiled for
1798 "continue to call2b".
1799 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1800 "continue to call2g".
1801 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1802 "backtrace from call6a"
1803 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1804 "backtrace from call7k".
1805 Add mips-sgi-irix5* xfail when not gcc compiled for
1806 "backtrace from call7a".
1807 (localvars_after_alloca): Fix gdb_test cmds for
1808 "print * after runto ...".
1809 Remove rs6000-*-* xfails for
1810 "print i after runto localvars_after_alloca" and
1811 "print l after runto localvars_after_alloca"
1812 for all compilers.
1813 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1814 when not compiled with gcc, for:
1815 "print signed char == (minus)",
1816 "print signed char != (minus)",
1817 "print signed char < (minus)",
1818 "print signed char > (minus)".
1819 * gdb.base/callfuncs.exp (do_function_calls):
1820 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1821 "call inferior func with struct - returns char *".
1822 * gdb.base/return.exp (return_tests): Change xfail for
1823 "correct value returned double test" to include Solaris 2.4.
1824 * gdb.base/funcargs.exp (float_and_integral_args):
1825 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1826
1827 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1828
1829 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1830 enumeration bitfields if compiling with GNU C.
1831 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1832 to empty' prompt.
1833
1834 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1835
1836 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1837 test for PRO targets.
1838
1839 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1840 breakpoints in the inferior at any given time by making
1841 two groups of breakpoints for call2*, call6* and call7*
1842 tests.
1843
1844 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1845
1846 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1847 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1848 from optimizing it away.
1849 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1850 "call inferior func with struct".
1851
1852 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1853
1854 * configure.in: Only configure gdb.chill for particular targets.
1855
1856 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1857
1858 * gdb.base/Makefile.in: Add action to .c.o transformation
1859 rule that generates a .ci file for each .o file and remove
1860 explicit .c.o rules except for callfuncs.o.
1861 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1862 generates a .ci file for each .o file and remove explicit
1863 .cc.o rules.
1864 (clean): Remove *.tmp *.ci files.
1865 (EXECUTABLES): Remove templ-info.exp.
1866 * gdb.base/compiler.c: New file.
1867 * gdb.c++/compiler.cc: New file
1868 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1869 Change rs6000-*-* xfail for
1870 "print 'scope0.c'::filelocal_ro" and
1871 "print 'scope1.c'::filelocal" and
1872 "print 'scope1.c'::filelocal_bss" and
1873 "print 'scope1.c'::filelocal_ro" and
1874 "print 'scope1.c'::foo::funclocal" and
1875 "print 'scope1.c'::foo::funclocal_ro" and
1876 "print 'scope1.c'::bar::funclocal" and
1877 "print 'scope0.c'::filelocal_ro" and
1878 "print 'scope1.c'::filelocal at foo" and
1879 "print 'scope1.c'::filelocal_bss at foo" and
1880 "print 'scope1.c'::filelocal_ro at foo" and
1881 "print 'scope1.c'::foo::funclocal at foo" and
1882 "print 'scope1.c'::foo::funclocal_bss at foo" and
1883 "print 'scope1.c'::foo::funclocal_ro at foo" and
1884 "print 'scope1.c'::bar::funclocal at foo" and
1885 "print 'scope0.c'::filelocal_ro" and
1886 "print 'scope1.c'::filelocal" and
1887 "print 'scope1.c'::filelocal_bss" and
1888 "print 'scope1.c'::filelocal_ro" and
1889 "print 'scope1.c'::foo::funclocal" and
1890 "print 'scope1.c'::foo::funclocal_bss" and
1891 "print 'scope1.c'::foo::funclocal_ro" and
1892 "print 'scope1.c'::bar::funclocal" and
1893 "print 'scope1.c'::bar::funclocal_bss"
1894 to only be xfail'd when not compiled with gcc.
1895 Add rs6000-*-* xfail for
1896 "print 'scope0.c'::filelocal_bss before run"
1897 when compiled with gcc.
1898 (test_at_main): Add rs6000-*-* xfail for
1899 "print filelocal_ro in test_at_main"
1900 when compiled with gcc.
1901 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1902 Add rs6000-*-aix* xfail for
1903 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1904 "ptype t_char_array", not compiled with gcc.
1905 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1906 xfail for "list foo (in include file)" when gcc compiled.
1907 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1908 (integral_args): Add rs6000-*-* xfail for
1909 "run to call0a" if not compiled with gcc.
1910 (unsigned_integral_args): Add rs6000-*-* xfail for
1911 "run to call1a" if not compiled with gcc.
1912 (float_and_integral_args): Add rs6000-*-* xfail for
1913 "run to call2a" if not compiled with gcc and for
1914 "continue to call2b" for any compiler.
1915 Add rs6000-*-* xfail to
1916 "print f1 after run to call2a" for gcc compiled.
1917 (discard_and_shuffle): Add rs6000-*-* xfail for
1918 "run to call6a".
1919 (shuffle_round_robin): Add rs6000-*-* xfail for
1920 "backtrace from call7a" if not compiled with gcc.
1921 Add rs6000-*-* xfail for
1922 "backtrace from call7b" if compiled with gcc.
1923 (call_after_alloca): Add rs6000-*-* xfail for
1924 "print c in call_after_alloca" and
1925 "print s in call_after_alloca" and
1926 "backtrace from call_after_alloca_subr"
1927 if not compiled with gcc.
1928 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1929 "print c in localvars_in_indirect_call" and
1930 "print c in localvars_in_indirect_call" and
1931 "backtrace in indirectly called function" and
1932 "stepping into indirectly called function"
1933 if not compiled with gcc.
1934 (localvars_after_alloca): Add rs6000-*-* xfail for
1935 "print c after runto localvars_after_alloca" and
1936 "print s after runto localvars_after_alloca" and
1937 "print i after runto localvars_after_alloca" and
1938 "print l after runto localvars_after_alloca"
1939 for all compilers.
1940 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1941 than whatis-info.exp.
1942 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1943 than opaque-info.exp.
1944 Setup rs6000-*-* xfail for
1945 "ptype on opaque struct pointer (statically)" and
1946 "ptype on opaque struct pointer (dynamically)" when
1947 not compiled with gcc.
1948 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1949 rather than callf-info.exp.
1950 (do_function_calls): Add clear_xfail for rs6000-*-* for
1951 "p t_float_values2(3.14159,float_val2)". Seems to work
1952 fine there, both with xlc and gcc. Need to find out what
1953 it is doing right and fix other platforms.
1954 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1955 "call inferior func with struct - returns int",
1956 "call inferior func with struct - returns long",
1957 "call inferior func with struct - returns float",
1958 "call inferior func with struct - returns double",
1959 "call inferior func with struct - returns char *",
1960 but only if not gcc compiled (presumes xlc compiled).
1961 Change rs6000-*-* xfails for
1962 "call inferior func with struct - returns char" and
1963 " call inferior func with struct - returns short" to only
1964 xfail if not using gcc.
1965 (clean mostlyclean): Remove *.ci and *.tmp files.
1966 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1967 than templ-info.exp.
1968 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1969 Add rs6000-*-* xfail for "up to foo in langs.exp"
1970 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1971 when not gcc compiled.
1972
1973 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1974
1975 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1976 * gdb.base/corefile.exp: Likewise.
1977 * gdb.base/list.exp: Likewise.
1978 * gdb.base/scope.exp: Likewise.
1979 * gdb.base/siganls.exp: Likewise.
1980
1981 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1982 compiler output.
1983 * gdb.base/whatis.exp: Likewise.
1984
1985 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1986
1987 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1988 failure (opcode table has been fixed to match reality).
1989
1990 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1991
1992 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1993 "call inferior func with struct - returns char",
1994 "call inferior func with struct - returns short"
1995
1996 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1997 "print 'scope0.c'::filelocal at main",
1998 "print 'scope0.c'::filelocal_bss in test_at_main",
1999 "print 'scope0.c'::filelocal at foo",
2000 "print 'scope0.c'::filelocal_bss in test_at_foo",
2001 "print 'scope0.c'::filelocal at bar",
2002 "print 'scope0.c'::filelocal_bss in test_at_bar"
2003
2004 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2005 in source file 1". This bug seems to have been fixed with both
2006 gcc and native cc (was native assembler bug?).
2007
2008 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
2009
2010 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2011 "backtrace through signal handler" to "i*86-*-sysv4*".
2012 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2013 continue" case. Add "known SVR4 bug" to fail message.
2014 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2015 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2016 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2017 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2018 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2019 "up to foo in langs.exp", "show language at foo in
2020 langs.exp", "up to cppsub_ in langs.exp", "show
2021 language at cppsub_ in langs.exp", "up to fsub in
2022 langs.exp", and "show language at fsub in langs.exp".
2023 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2024 "bactrace in corefile.exp".
2025 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2026 "call inferior function with struct - returns float" and
2027 "call inferior function with struct - returns double".
2028
2029 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
2030
2031 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2032 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2033 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2034 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2035
2036 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
2037
2038 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2039 (or overriden) "CHILL" macro rather then bare "gcc".
2040 Also look for ../../gcc/xgcc since that is what we will
2041 actually need, not "Makefile". Remove following assignment
2042 of CHILL to CHILL_FOR_TARGET because that results in
2043 recursive definition.
2044
2045 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
2046
2047 * gdb.base/corefile.exp: Change xfail for backtrace in
2048 corefile.exp from linuxaout to all linux.
2049 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2050 cases where we miss the breakpoint at the signal handler
2051 for some reason. Setup xfail for linuxoldld/linuxaout and
2052 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2053 hitting SIGURG breakpoint.
2054 * gdb.base/signals.exp: Setup xfail for "next" acting like
2055 continue to add linuxoldld. Setup xfail for all linux for
2056 "next to handler in signals_tests_1", "backtrace in
2057 signals_tests_1", "continue to func1", "pass SIGUSR1",
2058 and continue to handler".
2059
2060 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
2061
2062 * Update all FSF addresses except those in COPYING* files.
2063
2064 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
2065
2066 * gdb.base/a2-run.exp: Change messages to be more explicit about
2067 the status of args, and quote binfile in results.
2068
2069 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
2070
2071 * gdb.base/callfuncs.exp: Add tests for passing structs to
2072 inferior functions and return various types.
2073 * gdb.base/callfuncs.c: Add functions to receive a struct
2074 and return a member of the struct, in various types.
2075
2076 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2077
2078 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2079
2080 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
2081
2082 * config/vxworks29k.exp: New file, sources vxworks.exp.
2083
2084 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2085
2086 * config/gdbremote.exp: New file. Testing framework using
2087 gdbserver.
2088
2089 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
2090
2091 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2092 "call function when asleep" and "send end of file".
2093 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2094 for "backtrace in corefile.exp".
2095 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2096 for "backtrace through signal handler".
2097 * gdb.base/corefile.exp: Make sure we actually generate a core file
2098 before trying the core tests. Some systems allow the user to suppress
2099 generation of core files and default to that (linux for example).
2100 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2101 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2102
2103 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2104
2105 * gdb.threads: New directory with some crude multi-threaded
2106 gdb tests (step.exp and step2.exp).
2107 * config/mt-lynx (STEP_EXECUTABLE): Define.
2108 (THREADFLAGS): Define.
2109
2110 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
2111
2112 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2113
2114 * gdb.base/signals.exp: Disable whole file for lynx until
2115 further notice.
2116
2117 * gdb.base/signals.exp: xfail test where "next" acts like
2118 "continue" for lynx.
2119
2120 * gdb.base/interrupt.exp: xfail test for calling function while
2121 inferior is asleep for lynx.
2122
2123 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2124 than one cr-lf after each command.
2125
2126 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2127
2128 * configure.in: Reinstate setting of stabsdirs variable, fix
2129 typo in setting up configdirs for native builds.
2130
2131 * gdb.base/return.exp: Fix typo in return double test.
2132 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2133 compiler from optimizing them away.
2134
2135 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
2136
2137 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2138 sequences to be echo'd by gdb when using gdb_test.
2139 * gdb.chill/chexp.exp: Likewise.
2140 * gdb.fortran/exprs.exp: Likewise
2141
2142 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2143
2144 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2145 after the inferior gdb has started.
2146
2147 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2148 after each command.
2149 * gdb.base/funcargs.exp: Likewise.
2150 * gdb.base/gdbvars.exp: Likewise.
2151 * gdb.base/interrupt.exp: Likewise.
2152 * gdb.base/list.exp: Likewise.
2153 * gdb.base/watchpoint.exp: Likewise.
2154 * gdb.c++/demangle.exp: Likewise.
2155 * gdb.c++/inherit.exp: Likewise.
2156 * gdb.chill/chexp.exp: Likewise.
2157 * gdb.fortran/exprs.exp: Likewise.
2158
2159 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2160 test if we can't handle IO to/from the inferior.
2161
2162 * gdb.c++/misc.exp: Always check for a program already being
2163 started after sending a "run" command to gdb.
2164
2165 * gdb.base/twice.exp: Start with a fresh gdb.
2166
2167 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2168 only depend on gdb's expression code, not the chill runtime.
2169
2170 * gdb.base/return.c: Put return values into variables so we
2171 can have gdb print them rather than depending on the program
2172 to print them.
2173 * gdb.base/return.exp: Corresponding changes.
2174
2175 * lib/gdb.exp: Provide default value for noinferiorio.
2176 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2177 the inferior.
2178
2179 * gdb.base/break.exp: Always check for a program already being
2180 started after sending a "run" command to gdb.
2181 (text_next_with_recursion): Don't check the output from the
2182 program's printf statement. Instead just make sure the program
2183 exited.
2184
2185 * gdb.base/commands.exp: Protect tests which need arguments with
2186 $noargs conditionals.
2187
2188 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2189
2190 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2191 of structure member arrays to match gdb/valops.c:value_addr change.
2192
2193 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
2194
2195 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2196 cases.
2197
2198 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
2199
2200 * configure.in (configdirs): Remove gdb.chill from default list
2201 of subdirs and then add it back in only if doing a native build.
2202 The current chill compiler does not yet work in any cross build.
2203 * Revert all signal changes from Jul 6.
2204 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2205 for sh-hms targets, allowing these tests to link, with no other
2206 changes. Testing is suppressed by setting "nosignals" in site.exp.
2207
2208 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
2209
2210 * configure.in (signaldirs): Define and add to configdirs for all
2211 targets except some specific ones that are known to not support signals.
2212 Also clean up formatting.
2213 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2214 (signals, sigall): Remove rules to build.
2215 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2216 Moved to new gdb.signals directory.
2217 * gdb.signals: New test directory.
2218 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2219 signals.c signals.exp}: New or moved files.
2220
2221 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
2222
2223 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2224
2225 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
2226
2227 * gdb.base/return.exp: Xfail `return double' test failure
2228 on at least Solaris 2.3 and handle future/past versions on
2229 a case by case basis as appropriate. Also update message
2230 to include i*86 failures.
2231
2232 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2233
2234 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2235
2236 * lib/gdb.exp: Fix comment which erroneously identified
2237 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2238 gdb_file_cmd not gdb_load).
2239 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2240
2241 * gdb.base/setvar.exp: Make test names consistent between pass and
2242 fail cases. Use gdb_test more.
2243
2244 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2245
2246 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2247
2248 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2249
2250 * gdb.base/help.exp: Fix expected help string for `show commands'.
2251
2252 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2253
2254 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2255
2256 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2257 of a text section.
2258
2259 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2260
2261 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2262 that loop eventually terminates. Fix Connection refused logic so
2263 that testsuite will expire nicely.
2264
2265 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2266
2267 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2268 config/rom68k.exp: New tcl glue for the appropriate monitors.
2269 These all just end up calling monitor.exp.
2270 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2271 refused' by retrying. Cleanup some timeout issues.
2272 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2273 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2274 callers don't have to set/restore global timeout variable.
2275
2276 * The following set of changes centralizes management of the global
2277 timeout variable. This way, it can be set in one target dependent
2278 place instead of dozens of places scattered throughout the test suite.
2279 If you need to lengthen a timeout, then you should either set timeout
2280 in one of the config/{target}.exp files, or multiply it by a factor.
2281 Setting it to an absolute value is always going to lose for some
2282 targets.
2283 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2284 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2285 * gdb.base/funcargs.exp: Don't set timeout.
2286 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2287 * gdb.base/printcmds.exp (test_print_string_constants
2288 test_print_array_constants): Don't set timeout.
2289 * gdb.base/ptype.exp: Don't set timeout.
2290 * gdb.base/recurse.exp: Don't set timeout.
2291 * gdb.base/return.exp: Don't set timeout.
2292 * gdb.base/watchpoint.exp: Don't set timeout.
2293 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2294 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2295
2296 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2297
2298 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2299
2300 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2301
2302 * lib/gdb.exp: Disable chill tests for irix5.
2303
2304 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2305
2306 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2307 each test pass or fail.
2308
2309 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2310
2311 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2312 xlc not gcc.
2313
2314 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2315
2316 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2317
2318 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2319
2320 * config/est.exp: Fix copyright and comments. Remove dead code.
2321 Use targetname, serialport and baud variables instead of fixed
2322 constants.
2323 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2324 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2325
2326 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2327
2328 * gdb.base/watchpoint.exp: Don't run
2329 test_watchpoint_triggered_in_syscall for sunos.
2330
2331 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2332
2333 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2334 they don't seem to exist. Do include stdio.h.
2335
2336 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2337
2338 * gdb.base/a1-selftest.exp: Add alpha xfail.
2339
2340 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2341
2342 * gdb.base/watchpoint.c (main): Prompt before calling read().
2343 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2344 Revise accordingly. Remove cruft about sending "123" several
2345 times, until it gets noticed. Clean up the "print buf[0]" stuff
2346 so that it passes or fails, and waits for prompts in the usual way.
2347
2348 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2349
2350 * gdb.base/recurse.exp: Fix comment.
2351
2352 * TODO: Remove item about printing variables in nodebug.exp. Add
2353 item about enabling tests which are only run on some targets.
2354
2355 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2356 fail, make test names unique, use new gdb_test convention
2357 regarding pattern, use gdb_test more, etc.).
2358
2359 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2360 fail, make test names unique, etc.).
2361
2362 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2363
2364 * gdb.base/nodebug.c: Change return type of top and middle to
2365 short.
2366 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2367 are fixed by the recent mdebugread.c changes. Allow `short ()'
2368 as type for top and middle.
2369
2370 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2371
2372 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2373 nearly as I can tell, the whole thing was an accident in Stu's
2374 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2375 to replace a send/expect pair with gdb_test, but ended up only
2376 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2377 of 30 Mar 1995 took care of it, but left this vestigial comment
2378 which I am now nuking.
2379
2380 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2381
2382 * gdb.base/break.exp: Look for different line number for
2383 breakpoint at main depending on usestubs.
2384
2385 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2386
2387 * gdb.base/list.exp: Adjust some alternate expect patterns to
2388 match recent list0.c change. Add alternate expect pattern for
2389 output from `list default lines around main' for optimizing
2390 compilers.
2391
2392 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2393
2394 * lib/gdb.exp: If nosignals is not set, set it to 0.
2395
2396 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2397
2398 * config/slite-gdb.exp: Responds to load symbol table prompt.
2399 * gdb.base/break.exp: Adjust line number, fix rerun.
2400 * gdb.base/langs0.c: Add #ifdef usestubs.
2401
2402 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2403
2404 * gdb.base/list.exp: Adjust line contents after adding new lines in
2405 list0.c. Also fix a syntax error.
2406
2407 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2408 * gdb.base/break.exp: ditto.
2409 * gdb.base/list.exp: ditto.
2410 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2411 * gdb.base/run.c: ditto.
2412 * gdb.base/list0.c: ditto.
2413 * gdb.base/funcargs.c: ditto.
2414
2415 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2416
2417 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2418 $targetname, $serialport and $baud instead of hardwired variables.
2419 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2420 target doesn't support signals.
2421
2422 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2423
2424 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2425
2426 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2427
2428 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2429 Don't rely on the value of an auto variable before it has been
2430 initialized. Use gdb_test more.
2431
2432 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2433
2434 * lib/gdb.exp (default_gdb_version): A version number must start
2435 with a digit, but other than that contains all characters up to
2436 the first whitespace character.
2437
2438 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2439
2440 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2441
2442 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2443
2444 * gdb.c++/*.exp: Warn if executable does not exist. The original
2445 reason for skipping the warning was that configure.in sometimes
2446 intentionally skipped building the executables but the tcl code
2447 had no way of knowing. That (a) was always bogus with respect to
2448 error handling, (b) is no longer true (right now there is no way
2449 to skip C++ tests).
2450
2451 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2452
2453 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2454
2455 * gdb.base/list.exp: Add expect patterns for output from
2456 SunPRO compiled executables.
2457 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2458 types.
2459
2460 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2461
2462 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2463 number (we are already testing that the correct source line text
2464 gets printed).
2465
2466 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2467 that is what is intended, but something needed to be done to get
2468 sunos4 native working again.
2469
2470 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2471
2472 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2473 apparently went with a (very) old xfail.
2474
2475 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2476
2477 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2478 runto_main is a proc in gdb.exp that will do 'step' for target use
2479 stubs.
2480 * gdb.base/exprs.exp: ditto.
2481 * gdb.base/interrupt.exp: ditto.
2482 * gdb.base/opaque.exp: ditto.
2483 * gdb.base/printcmds.exp: ditto.
2484 * gdb.base/ptype.exp: ditto.
2485 * gdb.base/scope.exp: ditto.
2486 * gdb.base/setvar.exp: ditto.
2487 * gdb.base/signals.exp: ditto.
2488 * gdb.base/twice.exp: ditto.
2489 * gdb.c++/classes.exp: ditto.
2490 * gdb.c++/inherit.exp: ditto.
2491 * gdb.c++/templates.exp: ditto.
2492 * gdb.base/break.exp: no run and hit main for stubs. Change line
2493 numbers for breakpoints and info breakpoint.
2494 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2495 breakpoint().
2496 * gdb.base/callfuncs.c: ditto.
2497 * gdb.base/exprs: ditto.
2498 * gdb.base/interrupt.c: ditto.
2499 * gdb.base/opaque0.c: ditto.
2500 * gdb.base/printcmds.c: ditto.
2501 * gdb.base/ptype.c: ditto.
2502 * gdb.base/scope0.c: ditto.
2503 * gdb.base/setvar.c: ditto.
2504 * gdb.base/signals.c: ditto.
2505 * gdb.base/twice.c: ditto.
2506 * gdb.c++/misc.cc: ditto.
2507 * gdb.c++/templates.cc: ditto.
2508
2509 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2510
2511 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2512
2513 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2514 somewhere between `read' and `main.c'. I'm pretty sure the
2515 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2516 and it isn't particularly useful.
2517
2518 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2519
2520 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2521
2522 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2523
2524 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2525
2526 * config/mt-slite: add LIBS and -nostdlib.
2527 * config/slite-gdb.exp: add this new file to support sparclite target.
2528
2529 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2530
2531 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2532
2533 * gdb.base/a2-run.exp: Change argument to istarget from
2534 "*-*-vxworks" to "*-*-vxworks*".
2535 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2536
2537 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2538
2539 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2540 will not runto main but do a 'step' to step out of breakpoint().
2541 * config/mt-slite: add -Dusestubs.
2542
2543 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2544
2545 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2546 instead of just @.
2547
2548 * gdb.base/signals.exp: Add test for "handle all print".
2549 * TODO: Remove "handle all print". Also remove item about
2550 checking copyright date (I don't like the idea of a spurious FAIL
2551 based on when we run the tests).
2552
2553 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2554 for SunOS4 (reason for failure not investigated). Remove
2555 redundant test for $binfile.
2556
2557 * gdb.base/nodebug.c (array_index): Call malloc.
2558
2559 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2560
2561 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2562
2563 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2564 conventions and slightly simplify the matching regexp.
2565
2566 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2567
2568 * gdb.base/break.exp: Update gdb_test invocation to use new
2569 convention.
2570
2571 * lib/gdb.exp: If noargs is not set, set it to 0.
2572
2573 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2574 tests unique.
2575
2576 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2577
2578 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2579
2580 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2581 one argument of type "<non-float parameter>".
2582
2583 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2584
2585 * config/rom68k.exp: New file to support Motorola IDP board.
2586 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2587 * gdb.base/break.c: Change things around so that this program
2588 doesn't depend upon args. This is necessary to make remote
2589 targets work (in general, they can't take args).
2590 * gdb.base/break.exp: Don't try to send args to program. Don't
2591 expect output. Also, replace lots of code with gdb_test.
2592
2593 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2594
2595 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2596 printing of '\'' (which is what the comment says we are testing,
2597 even though we were not), not '''.
2598 (test_integer_literals_rejected): Test that printing ''' is an error.
2599
2600 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2601 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2602 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2603 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2604 Use gdb_test not test_print_accept.
2605 * lib/gdb.exp: Remove test_print_accept.
2606
2607 * gdb.base/signals.exp (signal_tests_1): Make pass message
2608 consistent with fail message.
2609
2610 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2611 unsigned char; the bug (PR 1821) is fixed.
2612
2613 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2614
2615 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2616 successful tests--makes xfailing them work right.
2617
2618 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2619
2620 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2621 only \r\n, not .*. The test can pass .* as the last thing in
2622 $pattern if that is what it wants. In addition to providing this
2623 flexibility, this change should speed up pattern matching in cases
2624 where the pattern already ended with .* (there were a number of
2625 them). This change also helps catch bad patterns--in the old
2626 scheme the typo "char \*" instead of "char \\*" would pass. Now
2627 it is caught.
2628 * Many .exp files: Update callers.
2629
2630 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2631 clearer and does not spuriously match multiple ('s. Likewise for
2632 ) and *.
2633
2634 * gdb.base/nodebug.exp: Test ability to call a function and pass
2635 it a string (even with no debugging info).
2636
2637 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2638 "p '\'", which is the same as "p ''" once tcl gets done with
2639 quoting, to "p '\\'", which I suspect is what is intended (one
2640 backslash gets sent to GDB).
2641
2642 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2643
2644 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2645
2646 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2647 1817) was fixed literally years ago.
2648
2649 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2650
2651 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2652 test, it causes stepping out of call_after_alloca_subr with
2653 optimizing compilers.
2654 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2655 fails.
2656
2657 * gdb.c++/templates.exp: Source templ-info.exp only if
2658 the templates executable exists.
2659
2660 * gdb.c++/misc.cc (class Contains_static_instance,
2661 class Contains_nested_static_instance),
2662 gdb.c++/classes.exp (test_static_members): Test printing of
2663 a class that contains a static instance of the class.
2664
2665 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2666
2667 * gdb.base/langs2.c (cppsub_): Don't prototype.
2668 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2669 only, I believe).
2670
2671 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2672
2673 * lib/gdb.exp (skip_chill_tests): New procedure.
2674
2675 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2676
2677 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2678
2679 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2680 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2681
2682 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2683
2684 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2685
2686 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2687 disassemble 8, not 16, instructions for part 4.
2688
2689 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2690 support the latter anymore.
2691
2692 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2693 -DNO_PROTOTYPES.
2694 * gdb.base/callfuncs.c: Control use of prototypes based on
2695 NO_PROTOTYPES, not __STDC__.
2696 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2697 t_float_values2 tests if prototypes in use.
2698
2699 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2700 t_double_values): When checking differences against DELTA, check
2701 that difference is within the range (-DELTA,DELTA), not just
2702 (-infinity,DELTA).
2703
2704 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2705
2706 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2707 'file' command firts, then 'target', then 'load', this is due to gdb
2708 target set up.
2709 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2710
2711 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2712
2713 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2714 FP load/store variants.
2715 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2716
2717 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2718
2719 * gdb.base/term.exp: Do not give a warning if not native, it is
2720 not an abnormal condition.
2721
2722 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2723
2724 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2725 t_char_array".
2726
2727 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2728
2729 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2730 are getting the version number.
2731
2732 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2733 if not native, it is not an abnormal condition.
2734
2735 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2736
2737 * lib/gdb.exp: Just use "file exists", rather than undocumented
2738 dejagnu procedure "findfile".
2739
2740 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2741
2742 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2743 (LDFLAGS): Set to -Xlinker -Ur.
2744
2745 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2746 Removed, these values are set by lib/gdb.exp.
2747
2748 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2749
2750 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2751
2752 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2753 of replicating gdb startup code.
2754
2755 * config/mt-vxworks (LDFLAGS): Set to -r.
2756 (CFLAGS_FOR_TARGET): Removed.
2757
2758 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2759 (gdb) and gdb for vxworks uses (vxgdb).
2760
2761 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2762 executable is not in the tree and host != target, use sed and
2763 program_transform_name to determine the gdb name used by the
2764 target.
2765
2766 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2767 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2768
2769 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2770
2771 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2772 floats, chars, and shorts where there are ANSI-style function
2773 definitions.
2774
2775 * gdb.base/langs.exp, gdb.base/langs*: New test.
2776 * gdb.base/Makefile.in: Build it.
2777 * TODO: Remove item about checking that C names don't get C++
2778 demangling applied; this test tests it.
2779
2780 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2781
2782 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2783 went with the const70 xfail. The xfail went away a year ago.
2784
2785 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2786
2787 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2788 for hp300.
2789
2790 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2791
2792 * gdb.base/a1-selftest.exp: Don't run on hp300.
2793
2794 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2795
2796 * Makefile.in (site.exp): Set host_alias and target_alias as well
2797 as host_triplet and target_triplet.
2798
2799 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2800
2801 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2802
2803 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2804 places as other ecoff systems).
2805
2806 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2807 ultrix.
2808
2809 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2810
2811 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2812 remove them.
2813 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2814 variable and "variable" in addition to "data variable".
2815 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2816
2817 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2818 2.
2819 * gdb.base/list1.c (long_line): Add additional statement at start
2820 of function.
2821 * gdb.base/list.exp (test_forward_search): Update line number to
2822 reflect new statement.
2823
2824 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2825
2826 * gdb.base/signals.exp: Reinitialize searched source directories
2827 after gdb_start call.
2828
2829 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2830
2831 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2832 * gdb.stabs/Makefile.in: Likewise.
2833
2834 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2835 change. Instead split the tests into smaller pieces.
2836 * gdb.disasm/hppa.s: Corresponding changes.
2837
2838 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2839
2840 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2841 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2842
2843 * gdb.base/funcargs.exp: Modify many tests so that every test
2844 either passes or fails. Make some test names unique.
2845
2846 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2847
2848 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2849 Call stty to set interrupt character.
2850
2851 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2852 for HP assembler versus GNU assembler based on actual behavior of
2853 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2854
2855 * TODO: Suggest a few more stepping tests.
2856
2857 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2858
2859 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2860 restart GDB for h8300 after a continue.
2861 (return): Add pattern to match a29k-udi behavior.
2862 * gdb.base/nodebug.exp: Remove obsolete comment.
2863 * gdb.base/regs.exp: New file, testing of register displays.
2864 * gdb.base/return.exp: Fix typo in reference to $objdir.
2865 * gdb.base/whatis.exp: Always start with a fresh GDB.
2866
2867 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2868
2869 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2870 higher, these tests generate a lot of output.
2871
2872 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2873
2874 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2875 code following the catch silently ignored some errors; without the
2876 catch they should be thrown like any other tcl error. Also, the
2877 catch used "" instead of {} which meant all the callers who wanted
2878 to include one of the characters "[]$ had to quote it an extra time.
2879 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2880 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2881 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2882 Remove extra quoting.
2883
2884 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2885
2886 * gdb.base/commands.exp: Make test names unique; every test either
2887 passes or fails. Update some comments.
2888
2889 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2890
2891 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2892
2893 The following fixes a FAIL caused by the fact that the alpha stabs
2894 configuration didn't use the ".if alpha" code in weird.def.
2895 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2896 bit pointer, so the 32 bit version works even on the alpha.
2897 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2898 Remove the stuff which allowed us to have separate versions for
2899 alpha and everything else.
2900
2901 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2902 regexp which "info func operator\[\](" is supposed to match. Fix
2903 string to send to GDB. Note that GDB still doesn't work right. Add a
2904 new test for "info func .perator\[\](" which GDB does handle correctly.
2905
2906 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2907
2908 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2909
2910 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2911 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2912 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2913 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2914 it makes the tests harder to understand and confuses test-o-matic.
2915 The preferred style is that each test provides a PASS or a FAIL,
2916 and has a unique message (e.g. "continue #54" not just "continue")
2917 which is the same for the pass and the fail.
2918 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2919 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2920 to lib/gdb.exp.
2921 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2922 prt_accept which was basically the same thing. Likewise for
2923 test_print_reject and prt_reject.
2924 * lib/gdb.exp (test_print_reject): Add some more error message
2925 patterns to match from the former printcmds.exp (prt_reject).
2926 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2927 One defect of the passcount stuff is that some of it failed to
2928 report XPASS where appropriate.
2929 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2930 stuff before and after arg in expected pattern.
2931 (test_paddr_operator_functions): Re-do test without print_addr_of;
2932 this is the only test which seems to want extra stuff there.
2933
2934 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2935
2936 * gdb.base/nodebug.exp: Update new tests to reflect improved
2937 wording of gdb output.
2938
2939 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2940 and "ptype" work on variables in files compiled without -g.
2941 Replaces commented out "maint print msymbol" tests.
2942
2943 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2944
2945 * gdb.base/setvar.c (dummy): Call malloc.
2946
2947 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2948 losing with the irix4 sed.
2949
2950 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2951 ALRM" on irix4.
2952
2953 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2954
2955 * TODO: Remove items about corefile.exp testing new exec-file and
2956 backtrace; both are now done. Add items about printing enums.
2957
2958 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2959
2960 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2961 "get signal $thissig" test fails.
2962
2963 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2964
2965 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2966
2967 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2968 compiler warning with dec alpha compiler.
2969
2970 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2971 extra \n from gdb_test call (this explains why the prompt test
2972 that I removed yesterday was there).
2973 (user_defined_command_test): Remove extra \n and prompt test.
2974
2975 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2976 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2977 doesn't exist.
2978 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2979 Also remove alpha workaround, which turns out to be because
2980 SIGABRT == SIGLOST.
2981
2982 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2983
2984 * gdb.base/help.exp: Don't test "help show".
2985
2986 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2987
2988 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2989 "set print address" is on.
2990 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2991 pass prompt to gdb_test; gdb_test already looks for the prompt.
2992
2993 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2994
2995 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2996 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2997 was to make sure that gdb can read a core file. But (a) the "read
2998 the corefile" part didn't make it to a1-selftest.exp, we just
2999 delete the corefile after creating it, and (b) we test reading
3000 corefiles in corefile.exp anyway. Also, this test left around a
3001 xgdb process on Solaris.
3002
3003 * gdb.base/corefile.exp: Also test backtrace.
3004
3005 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
3006
3007 * gdb.base/commands.exp: Test a simple user defined command with
3008 arguments and if/while statements; verify the full user command is
3009 printed by "show user".
3010
3011 * gdb.base/commands.exp: Test if/while commands as part of a
3012 breakpoint command list; verify they appear in breakpoint
3013 information.
3014
3015 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3016
3017 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3018 than by dividing by zero.
3019
3020 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
3021
3022 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3023 performing an inferior call with watchpoints enabled.
3024 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3025 call.
3026
3027 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3028
3029 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3030 of "file" command.
3031
3032 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3033 Add additional pattern for when "int operator int(void);" appears
3034 in a different order.
3035
3036 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3037
3038 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3039
3040 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3041 and "signal" with ".*".
3042
3043 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3044
3045 * TODO: Add note about "handle all nostop".
3046
3047 * gdb.base/{sigall.c, sigall.exp}: New test.
3048 * gdb.base/Makefile.in: Add it.
3049
3050 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3051
3052 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3053 when invoking GDB, suppresses any windowing interface.
3054
3055 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
3056
3057 * config/sim-gdb: New file, simulator testing support.
3058
3059 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
3060
3061 * gdb.base/interrupt.exp: Test calling func1 twice.
3062
3063 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
3064
3065 * gdb.base/list.exp (test_forward_search): Set timeout higher
3066 when we'll be getting lots of output from gdb.
3067
3068 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3069 "init_malloc" to after the expect statement. Run it if that
3070 regexp is taken, but also for two others which happen if source
3071 cannot be found.
3072
3073 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3074
3075 * gdb.base/printcmds.exp: New test, for printing register before
3076 program is running.
3077
3078 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3079
3080 * gdb.base/list.exp: Correct some alternate expect patterns
3081 to reflect changes in list1.c.
3082
3083 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3084
3085 * TODO: Add item regarding large frames.
3086
3087 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3088
3089 * TODO: Remove item about enabling return.exp; it
3090 is enabled. Suggest a few more "return" tests.
3091
3092 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3093
3094 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3095 anonymous unions.
3096
3097 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3098
3099 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3100 and pr-5646.o, so "make" is the same as "make all", not "make
3101 pr-4975.o".
3102
3103 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
3104
3105 * gdb.base/list.exp: Adjust expectations to reflect changes in
3106 list1.c.
3107 (test_forward_search): New test proc.
3108 * gdb.base/list1.c (long_line): New function, has long source line.
3109
3110 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
3111
3112 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3113 additional line of code that was added.
3114
3115 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
3116
3117 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3118 tests so as not to overflow expect's input buffers.
3119 * gdb.disasm/hppa.exp: Corresponding changes.
3120
3121 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3122
3123 Beginnings of template debugging tests.
3124 * gdb.c++/templ-info.cc: New file to test for template
3125 debugging capability of the compiler.
3126 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3127 templ-info.cc.
3128 * gdb.c++/templates.cc: Add explicit template instantiations
3129 to enable compiling with -fno-implicit-templates. Add destructor
3130 and 'value' method to T5 class for template tests.
3131 * gdb.c++/templates.exp: Add testcases for printing of template
3132 types, setting breakpoints on template methods and calling a
3133 template method.
3134
3135 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
3136
3137 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3138 branch target since some assemblers (gas-2.5) may emit a
3139 relocation for the branch instead of resolving it in the
3140 assembler.
3141
3142 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3143
3144 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3145 through signal handler.
3146
3147 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3148
3149 * configure.in (*-*-netware): Use config/mt-netware.
3150
3151 * config/mt-netware: New file.
3152 * config/mt-i386-netware: Removed, separate configs for different
3153 netware architectures are no longer needed now that we have
3154 --with-headers.
3155
3156 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3157
3158 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3159 by the recent changes to use ANSI C arithmetic conversions.
3160
3161 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3162
3163 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3164 bug involving using inferior_pid to figure out whether to select a
3165 frame.
3166
3167 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
3168
3169 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3170 match the current disassembler output.
3171
3172 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
3173
3174 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3175 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3176 types, expect "int" as type of integer values (for now).
3177
3178 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
3179
3180 * gdb.base/commands.exp: New tests for if/while commands.
3181
3182 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
3183
3184 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3185 by .*, since hex values have different syntax in Chill mode.
3186
3187 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3188
3189 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3190 linefeed from expect pattern for repeated types with indices > 9.
3191
3192 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
3193
3194 First part of Fortran test suite.
3195 * gdb.fortran: New directory.
3196 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3197
3198 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3199
3200 * gdb.base/default.exp: Update expect pattern for load command
3201 without arguments.
3202
3203 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
3204
3205 * configure.in: Change i386 to i[345]86.
3206 * gdb.base/configure.in: Likewise.
3207 * gdb.c++/configure.in: Likewise.
3208 * gdb.chill/configure.in: Likewise.
3209
3210 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
3211
3212 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3213 patterns, since that is not a valid context for comments.
3214
3215 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
3216
3217 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3218 repeated types and repeated types with indices > 9.
3219
3220 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
3221
3222 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3223 2417; old bug has been fixed.
3224
3225 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
3226
3227 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3228 send the newline ourselves instead of assuming gdb_test will do
3229 so when passed an empty input string.
3230
3231 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3232 stabs testcode.
3233
3234 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3235
3236 * lib/gdb.exp (gdb_test): Don't send anything if the first
3237 argument is an empty string. This makes cases where we want to
3238 match output that is already in expect's buffers (for example,
3239 matching a breakpoint after gdb_run_cmd has been called) work
3240 reliably.
3241
3242 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3243
3244 * config/netware.exp: New file.
3245
3246 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3247
3248 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3249 the -B and -L prefixes so we can find the debugging stub.
3250
3251 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3252 there and we are using the gcc from the tree.
3253
3254 * gdb.base/types.c: Removed.
3255
3256 * gdb.base/configure.in: Look for makefile fragments in ../config.
3257 Recognize i386-*-netware.
3258 * gdb.c++/configure.in: Likewise.
3259
3260 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3261
3262 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3263 the correct TCL syntax.
3264
3265 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3266
3267 * gdb.base/opaque.exp: use runto instead of messing around with
3268 breakpoints. Simplify by using gdb_test.
3269
3270 * gdb.base/bitfields.exp: restart between tests on netware targets
3271 because breakpoints aren't relocated after target death. Run
3272 processes to completion.
3273
3274 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3275
3276 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3277
3278 * Makefile.in: Remove extra tabs that confuse some versions
3279 of "make". Use the newly built gdb to test with by default,
3280 rather than the first one in the tester's search path.
3281
3282 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3283
3284 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3285
3286 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3287 condition help.
3288
3289 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3290
3291 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3292
3293 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3294 running.
3295 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3296 * gdb.base/funcargs.exp: Likewise.
3297
3298 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3299 * gdb.base/funcargs.exp: Likewise.
3300
3301 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3302 message is "".
3303
3304 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3305
3306 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3307 return,signals,twice}.exp: Handle non-existant binaries
3308 consistantly.
3309
3310 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3311 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3312 might testing a cross development system.
3313
3314 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3315
3316 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3317 runtest script is relative to ${srcdir}, not ${rootdir}.
3318
3319 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3320
3321 * gdb.base/signals.exp: Allow for optionality of breakpoint
3322 address.
3323
3324 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3325
3326 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3327
3328 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3329
3330 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3331 for size_t definition.
3332 * gdb.c++/templates.cc: Likewise
3333
3334 * config/mt-i386-netware: New file.
3335
3336 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3337 defined.
3338
3339 * gdb.base/Makefile.in: Added support for systems that name core
3340 files by appending "core" to the program name.
3341 * gdb.base/a1-selftest.exp: Likewise.
3342
3343 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3344
3345 * gdb.base/return.exp: Add comment and message for `return double'
3346 test failure on Sparc Solaris.
3347
3348 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3349
3350 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3351
3352 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3353
3354 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3355 from optimizing them away.
3356 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3357 patterns to include default constructors and assignment operators,
3358 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3359 character in the output of the virtual base pointer.
3360
3361 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3362
3363 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3364 expression match in print_addr_of to avoid unintented matches.
3365 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3366 versions up to 2.5.8.
3367
3368 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3369
3370 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3371 included file to run under newer versions of expect.
3372 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3373 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3374 Remove xfail for the virtual table of BDDHookV.
3375
3376 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3377
3378 * lib/gdb.exp (string_to_regexp): Set a default result.
3379 (default_gdb_start): Fix misleading message.
3380
3381 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3382
3383 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3384 Remove all CC, etc definitions.
3385 * config/mt-hpux: New file.
3386 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3387 (CFLAGS, LDFLAGS): Define.
3388 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3389
3390 * Makefile.in (site.exp): Don't insert host_os, etc.
3391 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3392 (distclean): Check existence of subdir.
3393 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3394 * gdb.base/Makefile.in: General cleanup and simplification.
3395 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3396 to build executables. Use default rule to build .o files.
3397 (EXPECT, RUNTEST, CC): Fix relative pathname.
3398 (site.exp): Don't insert host_os, etc.
3399 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3400 and/or SIGUSR1 defined.
3401 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3402 * gdb.c++/Makefile.in: General cleanup and simplification.
3403 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3404 (CFLAGS): Remove.
3405 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3406
3407 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3408
3409 * gdb.base/recurse.exp: Misc changes to get tests running again
3410 after Kung's changes to the watchpoint code.
3411 * gdb.base/watchpoint.exp: Likewise.
3412
3413 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3414
3415 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3416
3417 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3418
3419 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3420 * lib/gdb.exp (default_gdb_start): Define.
3421 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3422 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3423 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3424 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3425 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3426 Don't call gdb_target_udi in between tests.
3427
3428 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3429
3430 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3431 (which was basically just a local version of the same thing). In
3432 addition to avoiding duplication, gdb_test_exact is faster.
3433 * lib/gdb.exp (gdb_test_exact): Fix typo.
3434
3435 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3436 don't give an error.
3437
3438 * gdb.base/term.exp: Call delete_breakpoints before starting.
3439
3440 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3441 (t10): Add comment.
3442
3443 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3444
3445 Reorganization of the GDB Test Suite.
3446
3447 * gdb.base: New directory, contains all the basic tests.
3448 * gdb.c++: New directory, tests specific to C++.
3449 * gdb.chill: New directory, tests specific to Chill.
3450 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3451 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3452 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3453 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3454 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3455 t30-31 to chill).
3456 * */gdbme.*: Rename to match appropriate expect scripts.
3457 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3458 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3459 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3460 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3461 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3462 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3463 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3464 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3465 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3466 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3467 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3468 gdb.c++/virtfunc.cc: New names of C++ files.
3469 * gdb.chill/chillvars.ch: New name of Chill file.
3470 * gdb.base/configure.in, gdb.c++/configure.in,
3471 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3472 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3473 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3474 * configure.in (configdirs): Update to reflect directory changes.
3475 (target_abbrev): No longer define for any configuration.
3476 * Makefile.in: Cosmetic improvements to header comments.
3477
3478 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3479
3480 Various changes to gdb.t31:
3481
3482 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3483 * gdbme.ch: Make all key-words and predefineds be upper-case.
3484 * chillvars.exp: Expect key-words and predefinds in upper-case.
3485
3486 * chillvars.exp: Use gdb_test_exact many places.
3487 Change expected output for arrays (which now includes index labels).
3488
3489 * pr-5020.exp, gdme.ch (module PR_5020):
3490 New test, for PR-5020.
3491
3492 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3493
3494 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3495 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3496
3497 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3498
3499 * Makefile.in: Fix bit-rot in definitions of CHILL,
3500 CHILL_FOR_TARGET and Chill_LIB.
3501 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3502 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3503 CHILL, and CHILL_LIB.
3504
3505 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3506
3507 * Revert the previous changes. Please see Rob's directory
3508 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3509
3510 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3511
3512 * Makefile.in, configure.in, config/mips-gdb.exp,
3513 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3514 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3515 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3516 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3517 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3518 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3519 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3520 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3521 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3522 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3523 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3524 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3525 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3526 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3527 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3528 changes from 94Q1.
3529
3530 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3531
3532 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3533 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3534 Rob's new testing fragments.
3535
3536 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3537
3538 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3539 lib/gdb.exp: Replace error proc calls with perror.
3540
3541 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3542
3543 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3544 version also, match on casted version strings, and match on
3545 gdb startup case where the line numbers might be messed up.
3546
3547 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3548
3549 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3550 (CFLAGS): Delete it from here.
3551
3552 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3553
3554 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3555
3556 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3557
3558 * Makefile.in (RUNTEST): Default to just "runtest".
3559
3560 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3561
3562 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3563 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3564 the code has been restructured.
3565
3566 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3567
3568 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3569 \n, not just one of each.
3570
3571 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3572 /bin/cc gives a warning if you do.
3573
3574 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3575
3576 * gdb.t24/demangle.exp: change expect pattern of
3577 __t10ListS_link1ZUiRCUiPT0
3578
3579 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3580
3581 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3582 on local variables in recursive functions.
3583
3584 * gdb.t07/Makefile.in: Build the new test.
3585
3586 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3587
3588 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3589 directly. Instead compare the return values from actual calls.
3590
3591 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3592
3593 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3594
3595 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3596
3597 * From Peter Schauer with minor modifications.
3598 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3599 stops in mid-line in the caller. Add xfail for returning a float
3600 value on X86 targets.
3601
3602 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3603
3604 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3605 to avoid expect lossage.
3606 (fmem_LRbug_tests): Likewise.
3607 * gdb.disasm/hppa.s: Corresponding changes.
3608
3609 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3610 conditions to work with latest dejagnu/expect.
3611
3612 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3613 expected to fail on the PA.
3614 (backtrace in call with trampolines): Explicitly require main
3615 to be frame #1 (no trampolines should show up in backtrace).
3616
3617 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3618 "continue -expect".
3619 * gdb.t06/break.exp: Likewise.
3620 * gdb.t07/watchpoint.exp: Likewise.
3621 * gdb.t13/bitfields.exp: Likewise.
3622 * gdb.t15/{funcargs,return}.exp: Likewise.
3623 * gdb.stabs/weird.exp: Likewise.
3624 * config/{mips,udi}-gdb.exp: Likewise.
3625
3626 * hppa.sed: Enclose comments within a sed command to avoid
3627 losing with the old OSF1 sed.
3628
3629 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3630
3631 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3632 sequent dynix.
3633 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3634 * gdb.t15/funcargs.exp: Conditionally step again to really
3635 finish from marker_call_with_trampolines. Handle the case where
3636 the first step from within call_with_trampolines already steps
3637 us back to main.
3638 * gdb.t15/gdbme.c: Add comment to closing brace of
3639 call_with_trampolines for funcargs.exp.
3640
3641 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3642
3643 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3644 Fix typo(s).
3645
3646 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3647
3648 * gdb.t07/gdbme.c: More code for watchpoint testing.
3649
3650 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3651 "Hardware watchpoint" throughout file.
3652 (test_watchpoint_triggered_in_syscall): New test.
3653 (test_complex_watchpoint): New test.
3654
3655 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3656
3657 * gdbme.c (call_with_trampolines): New function to try and step
3658 into. Tests trampoline problems on the PA.
3659
3660 * funcargs.exp (localvars_in_indirect_call): No longer expect
3661 stepping into indirect call to fail on PAs.
3662 (test_stepping_over_trampolines): New test.
3663
3664 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3665
3666 * TODO: Add suggestions for static member function tests, and
3667 completion tests.
3668
3669 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3670
3671 * TODO: Add suggestions for "p/a" tests.
3672
3673 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3674 (default_gdb_exit): Replace all the hair with sending "quit" to
3675 the process with a simple close.
3676
3677 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3678
3679 * TODO: Add suggestions for shared library tests.
3680
3681 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3682
3683 * TODO: Add suggestions for x/s tests.
3684
3685 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3686
3687 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3688 "enable once", and "enable breakpoints once" with ".*".
3689
3690 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3691
3692 * TODO: Add suggestions about structure passing tests.
3693
3694 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3695
3696 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3697 the primary1 test, use work around if __GNUC__ < 2.
3698 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3699 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3700 Test for bad output rather than waiting for timeout. Issue
3701 second continue only if first continue failed.
3702
3703 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3704
3705 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3706 operator[] test with gdb_test because the old code didn't seem to
3707 be getting the quoting right with the new dejagnu.
3708
3709 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3710
3711 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3712 one from the path.
3713 * Makefile.in: Use a fresh expect if there is one, use runtest
3714 from the src tree if there is one.
3715
3716 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3717
3718 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3719 next over recursive call. Revise the tests from that point on
3720 (which had been skipped) to match GDB's actual (correct) output.
3721
3722 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3723 with next over a breakpoint whose condition is false.
3724
3725 * gdb.t00/help.exp: Comment out "help set print" tests just like
3726 (and for same reason as) "help set" test.
3727
3728 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3729
3730 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3731 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3732
3733 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3734
3735 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3736 necessary gdb_target_udi.
3737
3738 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3739
3740 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3741 1838 and 2417; they are fixed.
3742
3743 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3744 gdb.t03/ptype.exp (ptype structure, ptype union):
3745 Remove xfails; the test is looser than when the xfails were added.
3746
3747 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3748 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3749
3750 * gdb.t01/run.exp: Only run shell test if isnative.
3751
3752 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3753 since "run" automatically loads if necessary. Call gdb_target_udi
3754 after the "file" since "file" kills any execution target.
3755
3756 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3757 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3758 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3759 argument for UDI.
3760
3761 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3762
3763 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3764
3765 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3766
3767 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3768
3769 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3770 properly quoting regexps. This makes the second argument to
3771 demangle a fixed string, which matches the callers, instead of a
3772 shell-style pattern which is what the previous implementation
3773 used. Update some of the callers.
3774
3775 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3776
3777 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3778 (comib_nullified_tests): Fix typo.
3779 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3780 strings. No longer expected to fail.
3781
3782 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3783 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3784 strings. No longer expected to fail.
3785
3786 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3787 string. No longer expected to fail.
3788
3789 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3790
3791 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3792 No longer expected to fail.
3793
3794 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3795 string. No longer expected to fail.
3796
3797 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3798
3799 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3800 only in the names (I probably got most of them). I was even
3801 generous with some which differed in underscores in names, and
3802 probably missed a few, and I *still* was able to remove almost a
3803 third of the file with almost no impact on testsuite coverage.
3804
3805 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3806
3807 * gdb.t00/default.exp: Match udi_attach error message as well as
3808 the one from child_attach.
3809
3810 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3811
3812 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3813
3814 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3815 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3816
3817 * Move test with enums and partial symbols back to
3818 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3819 Reverts the change of 26 May 93. Per today's change to
3820 stabs.texinfo, the behavior that weird.exp was expecting was
3821 unreasonable; what is important is that the compiler+gdb get
3822 things right, which happens with a recent gcc. Also fix the test
3823 to deal with native compilers which put out the stab gdb can't
3824 deal with.
3825
3826 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3827
3828 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3829 in the names. The main thing these accomplish is to slow things down.
3830 Many more such duplicates surely remain.
3831
3832 * gdb.t00/help.exp: Comment out "help support" test just like
3833 (and for same reason as) "help set" test.
3834
3835 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3836
3837 * gdb.t06/break.exp: Remove setup_xfails for
3838 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3839 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3840 about known bug in gcc to include up through 2.5.8.
3841 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3842 well as "_vb$".
3843 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3844 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3845 with latest gcc and gdb.
3846 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3847 well as "_vb$".
3848
3849 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3850
3851 * configure.in (hppa*-*-*): Also configure and build stabs-only
3852 tests.
3853
3854 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3855
3856 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3857 * gdb.t10/configure.in (hppa*-*-*): Use it.
3858
3859 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3860
3861 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3862
3863 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3864
3865 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3866 versions prior to 1.13.5.
3867
3868 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3869
3870 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3871 the prompt is at the start of a line.
3872
3873 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3874
3875 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3876 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3877 in the copr tests now.
3878 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3879 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3880 expected to fail.
3881
3882 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3883
3884 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3885 gdb.t31/chillvars.exp, lib/gdb.exp:
3886 Tweak to run under either version of expect.
3887 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3888 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3889 * gdb.t11/list.exp: Remove extraneous whitespace.
3890
3891 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3892
3893 * gdb.t16/printcmds.exp (test_print_strings): Accept
3894 "(unsigned char *) " before the string.
3895
3896 * TODO: Add notes about printing of fancy types and GDB expressions.
3897
3898 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3899
3900 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3901 * gdb.t06/configure.in: Don't try to compile signals test program
3902 if doing mips-idt-ecoff.
3903
3904 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3905
3906 * Most .exp files: Tweak to run under either version of expect.
3907
3908 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3909
3910 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3911 xfails; I'm not sure why they are failing, but not because of PR 1806.
3912
3913 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3914
3915 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3916 defined in lib/gdb.exp.
3917
3918 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3919
3920 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3921 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3922 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3923 have to be typeless.
3924
3925 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3926
3927 * TODO: Add suggestion for copyright year test.
3928
3929 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3930
3931 * configure.in (*-*-lynxos*): Add stabs tests.
3932
3933 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3934
3935 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3936 so insert a tab before any assembler directive in column zero.
3937
3938 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3939 stores.
3940 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3941 stores.
3942 (fpu_short_memory_tests): Likewise.
3943
3944 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3945
3946 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3947 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3948 .stabs directives in comments.
3949
3950 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3951
3952 * TODO: New file, describing tests we could write.
3953 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3954
3955 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3956
3957 * gdb.t06/signals.exp: Add kludge to force re-sync.
3958
3959 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3960 to xgdb instead of gdb, get out of gdb.
3961
3962 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3963
3964 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3965 for info.
3966
3967 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3968
3969 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3970 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3971 * gdb.stabs/hppa.sed: New sed script for the PA.
3972
3973 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3974
3975 * gdb.stabs: Re-write weird.def and configuration to use sed
3976 instead of cpp. sed is portable and POSIX; cpp is neither.
3977
3978 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3979
3980 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3981
3982 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3983
3984 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3985
3986 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3987
3988 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3989 "_vb$".
3990 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3991 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3992
3993 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3994
3995 * lib/gdb.exp: Comment out code which depends on non-existent
3996 `transform' procedure.
3997
3998 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3999
4000 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4001 * lib/gdb.exp: Transform tool name.
4002 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4003 1.1's new error handling system.
4004
4005 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4006
4007 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4008
4009 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4010
4011 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4012 They made pattern matching so slow that timeouts happened on
4013 heavily loaded systems. Now any output from "show print" which
4014 gets us back to the GDB prompt is a PASS.
4015
4016 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4017
4018 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4019
4020 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4021
4022 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4023
4024 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4025 It is not from PR 3220.
4026
4027 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4028
4029 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4030 just started failing because they depended on the order the
4031 subcommands are presented, or exact docstring text. This kind of
4032 test is a pain and has minimal benefit.
4033
4034 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4035
4036 * gdb.t09/corefile.exp: At end of test, use "core" command with
4037 no arguments.
4038
4039 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4040
4041 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4042 17}/Makefile.in: Make it possible to run the testsuite with Sun
4043 make and CC = cross gcc by adding explicit build rules for .o
4044 files.
4045
4046 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4047
4048 * gdb.t15/funcargs.exp: Don't put comments on same line as
4049 setup_xfail (@#$*%& tcl braindamage!).
4050
4051 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4052
4053 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4054
4055 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
4056
4057 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4058 * gdb.t20/inherit.exp: remove three dumplicate entries.
4059
4060 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4061
4062 * gdb.t06/break.exp: For "next over recursive call", fail on any
4063 incorrect output, not just on "factorial (value=2)".
4064
4065 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4066
4067 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4068 working now. Add an xfail if accesing a bss variable causes
4069 a memory error if the target is not yet run.
4070
4071 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4072
4073 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4074 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4075 name of __st* demangling (2 strings). Did Kung really get the
4076 more than 95 others right without testing them?
4077
4078 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
4079
4080 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4081
4082 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
4083
4084 * configure.in (configdirs): Add gdb.disasm
4085 * gdb.disasm: New directory for GDB disassembler tests.
4086 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4087
4088 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4089
4090 * gdb.t00/help.exp: Don't test "help set".
4091
4092 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4093 from within expect statements. None of these happen anymore and
4094 they cause regressions to be silently unnoticed.
4095
4096 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4097 messages) about known failures with gcc cygnus-2.4.5-930417.
4098
4099 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4100 comp-info.exp so it gets built if it doesn't exist.
4101
4102 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4103 it is no longer used.
4104 * gdb.t13/comp-info.c: Removed.
4105
4106 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4107
4108 * gdb.t06/signals.exp: Add xfail for sun3.
4109
4110 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4111
4112 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4113 relevant because ^C doesn't get sent but failure can be reproduced
4114 interactively).
4115
4116 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4117
4118 * gdb.stabs/alpha.mt: New configuration file for alpha.
4119 * gdb.stabs/configure.in: Use it.
4120 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4121 sharing with alpha.mt, redefine long to word via preprocessor.
4122 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4123 for alpha.
4124 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4125 native cc.
4126 * gdb.t00/teststrategy.exp: Change expect string so that we
4127 consume the `(xgdb)' from the command echo and from the gdb prompt.
4128 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4129 gdb currently compares all values as long, so this failure probably
4130 applies to any configuration where LONGEST is bigger than a target int.
4131 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4132 with gcc.
4133 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4134 to handle opaque pointers, gcc is.
4135 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4136 as first argument. Include <sys/types.h> and change all operator
4137 new definitions to use size_t.
4138 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4139 now that we use size_t.
4140
4141 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4142
4143 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4144 a long or float array cast all array members to the same type.
4145 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4146 with 64 bit longs.
4147 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4148 on alpha.
4149 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4150
4151 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4152
4153 * gdb.t24 (demangle.exp): Constructors of templates have names like
4154 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4155 section 14.6 of the ARM.
4156
4157 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4158 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4159 accomplish little and slow down the testsuite.
4160
4161 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4162 Accept spaces various places.
4163
4164 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4165
4166 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4167 with watchpoint enabled.
4168
4169 * Makefile.in: Remove definition of CC and remove the second
4170 definition of CXX (the "CXX = gcc" one remains). These definitions
4171 were causing backquotes to be expanded within backquotes, which
4172 doesn't work.
4173
4174 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
4175
4176 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4177
4178 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4179
4180 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4181 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4182 by mips cc and contains no stabs entries.
4183
4184 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
4185
4186 * config/vx-gdb.exp: Use fake device to load files rather than
4187 NFS.
4188 * lib/gdb.exp: New proc to do "file" command.
4189 * config/unix-gdb.exp: Use new "file" proc.
4190
4191 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4192
4193 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4194 Rework board rebooting slightly.
4195 (gdb_exit): Don't exit from the remote shell; there isn't one.
4196 * gdb.stabs/weird.exp: If a program is being debugged already,
4197 kill it.
4198 * gdb.t04/setvar.exp: Stop and restart gdb.
4199 * gdb.t05/expr.exp: Likewise.
4200 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4201 restart gdb and reload the program.
4202 * gdb.t08/opaque.exp: Likewise.
4203 * gdb.t12/scope.exp: Likewise.
4204 * gdb.t13/bitfields.exp: Likewise.
4205 * gdb.t15/funcargs.exp: Likewise.
4206 * gdb.t20/classes.exp: Likewise.
4207 * gdb.t03/ptype.exp: Increase timeout.
4208 * gdb.t16/printcmds.exp (test_print_string_constants,
4209 test_print_array_constants): Likewise.
4210 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4211 * gdb.t20/classes.exp (do_tests): Likewise.
4212 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4213
4214 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
4215
4216 * gdb.stabs: Renamed *wierd* to *weird*.
4217
4218 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4219
4220 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4221 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4222
4223 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4224
4225 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4226 (do_tests): Remove xfail for whatis on one_var and two_var.
4227
4228 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
4229
4230 * Makefile.in: Made cross building work better by adding
4231 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4232
4233 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4234
4235 * gdb.t15/{return.c,return.exp,Makefile.in}:
4236 New test, currently commented out.
4237
4238 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
4239
4240 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4241 still running and removes the leftover named socket so GDb can do
4242 clean restarts.
4243
4244 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
4245
4246 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4247 console, not GDB.
4248 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4249 cross testing works better with "make check"
4250 * config/unix-gdb: Use default procedures for exit and version.
4251 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4252 with the newest VxWorks.
4253
4254 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4255
4256 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4257 old form.
4258
4259 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4260 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4261
4262 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4263
4264 * config/unix-gdb.exp: Remove this version of gdb_exit
4265 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4266 Rob says he'll look at it when he gets back to testing boards.
4267
4268 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4269
4270 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4271 an expected fail for certain ptype commands.
4272
4273 * gdb.t20/classes.exp: Update expected results of "ptype class
4274 Base1" to account for the constructor that now appears in the type.
4275
4276 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4277
4278 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4279 disappeared from list.
4280 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4281 "alldone" proc with call to cleanup and exit.
4282 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4283 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4284 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4285 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4286 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4287 "alldone" proc with simple returns that suppress remaining
4288 tests. The alldone proc went away many months ago.
4289
4290 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4291
4292 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4293
4294 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4295
4296 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4297
4298 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4299 as vax gdb will display them.
4300
4301 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4302
4303 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4304 optimizers.
4305
4306 * scope.exp: Change "bad value for localval" messages so each one
4307 is unique.
4308
4309 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4310 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4311
4312 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4313
4314 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4315
4316 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4317 doesn't exist (due to optimization).
4318
4319 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4320
4321 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4322 contains \r because the filename is long.
4323
4324 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4325 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4326
4327 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4328
4329 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4330 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4331 Ultrix.
4332 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4333 int tests.
4334 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4335
4336 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4337
4338 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4339
4340 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4341 to match does not match the passing case but still matches the
4342 failing case.
4343
4344 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4345
4346 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4347
4348 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4349
4350 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4351 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4352 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4353 Remove various versions of gdb_exit.
4354 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4355 gdb_exit.
4356 * config/unix-gdb.exp: gdb_exit remains here, and should override
4357 the generic version, since it's doing a lot of wierd stuff that
4358 the other versions aren't. FIXME, fold it in, or abandon this
4359 version.
4360
4361 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4362
4363 * gdb.t24/demangle.exp: Add tests for PR 3220.
4364
4365 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4366
4367 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4368
4369 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4370
4371 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4372 "i386-*-*". Works for i486 as well.
4373
4374 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4375 bug, and expand domain of xfail to all SVR4 systems, since the
4376 actual problem is likely to be in generic SVR4 /proc support.
4377
4378 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4379
4380 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4381
4382 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4383
4384 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4385 xfails for other systems. Match a missing 'Continuing.' as an
4386 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4387
4388 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4389 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4390 Only issue warning for missing executables if -all option is used.
4391
4392 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4393 file if -all option is used. It's like an unpredictable XFAIL.
4394
4395 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4396
4397 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4398 for dynamically linked binaries.
4399
4400 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4401
4402 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4403
4404 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4405 to state that this is a known bug in old versions of g++.
4406
4407 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4408
4409 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4410 while waiting for `Continuing'.
4411
4412 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4413
4414 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4415 in text, data, and bss.
4416 * gdb.t10/nodebug.c: Add local and global test variables for
4417 initialized and uninitialized data.
4418
4419 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4420
4421 * config/unix-gdb.exp (gdb_exit): Add "wait".
4422
4423 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4424
4425 * gdb.t06/signals.exp: xfail the continue from the handler for all
4426 targets.
4427
4428 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4429 function with watchpoints enabled, the i386 call dummy starts with
4430 a call.
4431
4432 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4433 386 bsd names its corefiles.
4434
4435 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4436
4437 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4438 compilers don't grok it.
4439 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4440 with small octal ints rather than character constants, which
4441 are signed and might not fit if first promoted to int.
4442
4443 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4444
4445 * gdb.t09/Makefile.in (clean): Remove corefile.
4446
4447 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4448
4449 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4450
4451 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4452 and Jim Kingdon (kingdon@cygnus.com)
4453
4454 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4455 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4456 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4457
4458 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4459
4460 * gdb.t17/interrupt.exp: Add xfail for hppa.
4461
4462 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4463
4464 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4465 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4466 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4467 to determine signed-ness of bitfields and use the result to setup
4468 the xfail.
4469 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4470 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4471 call line is reached if necessary.
4472
4473 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4474
4475 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4476
4477 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4478
4479 * gdb.t06/break.exp: Also test `clear' command.
4480
4481 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4482
4483 * gdb.t00/teststrategy.exp: Remove extra quote.
4484
4485 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4486 watchpoint enabled to be for all non-68k machines.
4487
4488 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4489
4490 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4491
4492 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4493 targets use aout.mt instead of ecoff.mt as gas understands
4494 standard aout format.
4495
4496 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4497
4498 * lib/gdb.exp (runto): Don't insist that function we are running to
4499 was compiled with -g.
4500
4501 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4502
4503 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4504 to get back into the read system call.
4505 Accept leading newline in case where we woke it up.
4506
4507 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4508
4509 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4510 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4511 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4512 enable ecoff configuration.
4513
4514 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4515
4516 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4517
4518 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4519
4520 * gdb.t16/printcmds.exp: Add another printf test.
4521
4522 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4523
4524 * configure.in: If configured -with-stabs on any target, add
4525 stabsdirs to configdirs.
4526
4527 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4528
4529 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4530 fun" so pattern does not match the command itself.
4531
4532 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4533
4534 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4535
4536 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4537
4538 * gdb.t17/interrupt.exp: Test for more things.
4539
4540 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4541
4542 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4543 compiler arranges the code and line numbers.
4544
4545 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4546
4547 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4548
4549 * gdb.t00/help.exp: Increase expect input buffer size.
4550
4551 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4552
4553 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4554
4555 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4556
4557 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4558
4559 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4560 [0-9]*, not just [0-9].
4561
4562 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4563
4564 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4565
4566 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4567
4568 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4569
4570 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4571
4572 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4573
4574 * gdb.t06/signals.c: Add xfails for sun3.
4575
4576 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4577
4578 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4579 test_stepping tests.
4580
4581 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4582
4583 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4584
4585 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4586
4587 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4588 rather than actually putting it through cpp twice.
4589
4590 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4591
4592 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4593
4594 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4595 no longer needed.
4596
4597 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4598
4599 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4600
4601 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4602 C++ features prints as "struct", make it a pass, not an xfail.
4603
4604 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4605
4606 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4607 Don't require VA to print as "class" rather than "struct".
4608
4609 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4610
4611 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4612
4613 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4614
4615 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4616
4617 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4618
4619 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4620 order.
4621
4622 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4623
4624 * gdb.t16/printcmds.exp: Add printf tests.
4625
4626 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4627
4628 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4629
4630 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4631
4632 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4633 pass counts, to counteract any existing or future setup_xfails.
4634
4635 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4636
4637 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4638 {BEGIN,END}_COMMON for common block instead of STAB.
4639 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4640
4641 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4642 intp_var should be N_GSYM not N_LSYM.
4643 wierd-aout.S: Use a label for the value of the N_SO.
4644 wierd.def: Remove all backslashes.
4645 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4646
4647 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4648
4649 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4650 get the expected next to inheritance3.
4651
4652 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4653
4654 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4655 now that gcc-2.4 gets it right.
4656
4657 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4658
4659 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4660
4661 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4662 generating comp-info.exp which works for cross-compilation.
4663
4664 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4665
4666 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4667 "*-*-sysv4.*".
4668
4669 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4670
4671 * gdb.t01/run.exp: Start with a fresh gdb.
4672 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4673 SVR4.x.
4674
4675 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4676
4677 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4678 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4679 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4680 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4681 things to remove.
4682
4683 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4684
4685 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4686 test cases from bug reports.
4687
4688 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4689
4690 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4691 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4692 avoid spurious xfails.
4693 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4694 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4695 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4696
4697 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4698
4699 * gdb.t00/teststrategy.exp: Rework to provide more useful
4700 description of each test, fix problem with systems that define
4701 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4702 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4703 results for "next over recursive call" so timeouts aren't taken
4704 by error.
4705
4706 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4707
4708 * gdb.t12/scope.exp: Test printing of variables before run.
4709
4710 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4711 printed in wrong order due to sorting.
4712
4713 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4714
4715 * gdb.t00/teststrategy.exp: Fix expected results for printing
4716 user entered string constant. Is array of char, prints with no
4717 address.
4718
4719 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4720 commands.
4721 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4722 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4723 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4724 of struct of char arrays.
4725 * gdb.t00/radix.exp: New tests for radix commands.
4726
4727 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4728
4729 * gdb.t16/printcmd.exp: Print a variable before running program
4730 (with xfail for AIX).
4731
4732 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4733
4734 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4735
4736 * gdb.t16/printcmd.exp: Don't print variables before running program.
4737
4738 * gdb.t06/break.exp: Don't require envp argument to main.
4739
4740 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4741
4742 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4743 Add xfails for rs6000.
4744
4745 * gdb.t02/whatis.exp: Change other tests not to re-test something
4746 we already tested.
4747
4748 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4749 each type used has a variable of that type.
4750
4751 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4752
4753 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4754
4755 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4756
4757 * configure.in: change srctrigger to be a file, not a directory
4758
4759 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4760
4761 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4762
4763 * gdb.t11/list.exp: Fixed a couple of typos.
4764
4765 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4766
4767 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4768 is fixed and PR is closed.
4769 * gdb.t16 (gdbme.c): Add simple test string variable.
4770 * gdb.t16 (printcmds.exp): Add tests with simple test string
4771 variable, primarily for boundaries on "set print elements".
4772
4773 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4774
4775 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4776 Make leading 0's optional and don't expect a tab in the middle
4777 of the number.
4778
4779 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4780
4781 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4782 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4783 don't end command passed to gdb_test with newline.
4784
4785 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4786 signed keyword away, don't expect signed bitfields to be signed.
4787
4788 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4789 printing with only as many 1's as are in the field as well as printing
4790 with 32 1's (see comment).
4791
4792 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4793
4794 * gdb.t00/default.exp: Start with a fresh gdb.
4795 * configure.in (configdirs): Remove gdb.t31 until the chill
4796 compiler works again. It no longer is able to find chillrt0
4797 since it isn't in libchill.a anymore.
4798 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4799 wierd.o, make more modular.
4800 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4801 spurious newlines that caused problems.
4802
4803 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4804
4805 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4806 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4807 gdb.stabs/wierd.{exp,def}: Many new tests.
4808
4809 * gdb.t00/default.exp: update info line for new message.
4810
4811 * gdb.t02/{whatis.exp,gdbme.c}:
4812 Test that "char *" doesn't print as "caddr_t".
4813
4814 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4815
4816 * gdb.t00/help.exp: Use .* in place of some help messages which
4817 just changed.
4818 gdb.t00/default.exp: Update "info frame" test for new message.
4819 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4820 Remove some xfails
4821
4822 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4823
4824 * gdb.t03/{gdbme.c,ptype.exp}:
4825 Add tests for typedef'd struct and union without tags.
4826 Also check "whatis" on a variable of a typedef'd enum without a tag.
4827
4828 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4829 PRMS 1823; the bug still exists but isn't reproduced by this test
4830 anymore), and remove rs6000 XFAIL (the bug is fixed).
4831
4832 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4833 duplicated from whatis.exp. For those that are left, accept
4834 "long", "long int", or "int" for long variables (whatis.exp already
4835 has an XFAIL for "int", so no need to fail it here).
4836
4837 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4838 Deal with GCC's names for types now that GDB uses the compiler's names.
4839
4840 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4841 setup_xfail's for sunos4. If we #defined the signed keyword away,
4842 don't expect GDB to know that char it is signed.
4843
4844 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4845
4846 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4847
4848 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4849 should work on any system, regardless of debugging format.
4850 * gdb.t21/demangle.exp: Move to gdb.t24.
4851 * gdb.t24/demangle.exp: Move from gdb.t21.
4852 * gdb.t24/{Makefile.in, configure.in}: New files.
4853
4854 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4855
4856 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4857 * gdb.stabs: New directory.
4858
4859 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4860
4861 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4862 not just "Quit anyway?".
4863
4864 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4865
4866 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4867 that all setup_xfails are immediately followed by clear_xfails.
4868
4869 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4870
4871 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4872 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4873 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4874 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4875 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4876 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4877 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4878 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4879 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4880 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4881 gdb.t31/chillvars.exp, lib/gdb.exp:
4882 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4883 bug-gdb@prep.ai.mit.edu.
4884
4885 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4886
4887 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4888 with 0.0, not integer 0.
4889
4890 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4891
4892 * gdb.t06/break.exp: Update for "Kill the program" message change.
4893
4894 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4895
4896 * Makefile.in (GDBFLAGS): Set to -nx.
4897 * Makefile.in (site.exp): Use GDBFLAGS.
4898
4899 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4900
4901 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4902 Makefiles.
4903 (check): depend on just-check.
4904 (just-check): added so that tests can be run without a noop
4905 build pass.
4906
4907 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4908
4909 Switch to using configure's configdirs.
4910 * Makefile.in (Makefile): add configure.in dependency.
4911 (SUBDIRS): removed redundant assignment.
4912 * configure.in: switch subdirs assignment to configdirs.
4913 * gdb.t*/configure.in: new files.
4914
4915 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4916
4917 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4918 works.
4919
4920 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4921
4922 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4923 in explicit rules. Apparently this is not supported by some makes.
4924
4925 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4926
4927 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4928
4929 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4930
4931 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4932 disappeared.
4933
4934 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4935
4936 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4937
4938 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4939
4940 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4941 watchpoint problem that is now fixed.
4942 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4943 uninitialized convenience variables.
4944 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4945 structures.
4946
4947 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4948
4949 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4950 which causes expect to get out of sync with gdb on long output
4951 from help set.
4952 * gdb.t09/corefile.exp: Make expected pattern for core file
4953 failing signal and frame output format less sun specific.
4954
4955 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4956
4957 * gdb.t31/chillvars.exp: Add and remove initial dummy
4958 breakpoint, so that symbol table is forced in.
4959 (Needed at least on Sunos4, though it seems not SVR4.)
4960 * gdb.t31/chillvars.exp: Update for changed output format.
4961
4962 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4963
4964 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4965
4966 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4967
4968 * Makefile.in: Added --srcdir when invoking runtest, removed the
4969 need for a local config file. (optional now)
4970
4971 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4972
4973 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4974 failure count used to force early termination. Add some more
4975 expected failures for gnu style demangling.
4976
4977 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4978
4979 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4980 pmi variable from gdb.t20/gdbme to get optimized away.
4981 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4982 Check for written corefile upon timeout _and_ eof.
4983
4984 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4985
4986 * config/unix-gdb.exp: Add missing return 0.
4987
4988 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4989
4990 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4991 test termination.
4992
4993 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4994
4995 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4996 disappeared.
4997
4998 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4999
5000 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5001 time as i860 support works.
5002
5003 * gdb.t15/funcargs.exp: Fix expected outputs to include
5004 "backtrace 100\r" rather than just "backtrace\r", to match last
5005 change.
5006
5007 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
5008
5009 * config/udi-gdb.exp (gdb_exit): Remove close command.
5010 (gdb_target_udi): New procedure to set the UDI target.
5011 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5012 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5013 Added waits for prompts after several question responses. Added
5014 some more responses used by a29k-amd-udi-gdb.
5015 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5016 pass different arguments, restart UDI connection after program
5017 completion.
5018 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5019 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5020 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5021 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5022 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5023 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5024 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5025 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5026 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5027 after program completion.
5028 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5029 compiled with a SELECT_VECS setting.
5030 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5031 infinite recursion.
5032
5033 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5034 Added checks for COFF results, and made them expected failures for
5035 all targets. It would be better to make them expected failures
5036 for COFF targets only.
5037
5038 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5039
5040 * Makefile.in: add null dvi target, don't bother to recurse
5041 through test directories for info and install-info; rename
5042 $(datadir) to be dejagnu instead of deja-gnu
5043
5044 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
5045
5046 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5047 compiler to coredump.
5048 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5049 code.
5050
5051 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
5052
5053 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5054 coredump.
5055 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5056 code.
5057
5058 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5059
5060 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5061 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5062 which in a shell. Deletes xgdb when done.
5063 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5064 Tests the return from the "set height" or "set width" commands.
5065 Added a few return codes where needed.
5066
5067 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
5068
5069 * Makefile.in (SUBDIRS): Add gdb.t17.
5070 * configure.in (subdirs): Add gdb.t17.
5071 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5072 files to test gdb's calling of functions in the inferior with
5073 the correct arguments and gdb's ability to retrieve any
5074 result returned.
5075
5076 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
5077
5078 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5079 may be called after gdb goes away. Previous versions of expect
5080 needed these to avoid file descriptor leaks, but they cause
5081 errors with the current revision of expect.
5082 * gdb.t00/gdbvars.exp: Use -re on expected output after
5083 setting sevenbit-strings.
5084 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5085 to set sevenbit-strings consistent across tests.
5086 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5087 set sevenbit-strings consistent across tests.
5088
5089 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
5090
5091 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5092 expected output to match current "expect" expectations.
5093
5094 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
5095
5096 * gdb.t00/default.exp: Change expected output for default "source"
5097 command, to match new gdb behavior which requires a filename to
5098 source.
5099
5100 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
5101
5102 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5103 expected fail for i486-*-* that misses the marker2 function.
5104 * gdb.t10/crossload.exp (bfddefault): Allow successful
5105 recognition of a format to pass even if no symbols are found.
5106 Explicitly catch failures where the format is not recognized
5107 or is ambiguous, and add the reason to the fail message.
5108 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5109 the cause is and invalid target and add reason to failure message.
5110 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5111 elf32-i386, elf32-sparc, and elf32-i860.
5112 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5113 Set up expected failure for 'filename'::variable scope resolution,
5114 which is now apparently broken on all targets.
5115 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5116 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5117 gdb.t23/templates.exp: Change failure for missing binfile into
5118 just a warning.
5119 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5120 references.
5121
5122 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
5123
5124 * gdb.t00/default.exp: Add expected output for default "source"
5125 command, to match new gdb behavior.
5126 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5127
5128 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
5129
5130 * config/*-gdb.exp: returns an error, rather than exiting on
5131 internal errors.
5132
5133 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
5134
5135 * gdb.t03/gdbme.c: Add pointer to struct variable.
5136 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5137 referencing struct members.
5138
5139 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
5140
5141 * configure.in (mips-idt-ecoff): New target.
5142 * config/mips-gdb.exp: New file for remote board using MIPS remote
5143 debugging protocol.
5144
5145 * Redid configuration scheme. Removed gdb.t*/configure.in.
5146 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5147 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5148 distclean targets. Built executables via .o files. Adjusted
5149 tests to account for source files in $(srcdir) rather than
5150 $(objdir).
5151 * lib/gdb.exp (runto): Don't expect () after the function name,
5152 because it may have arguments.
5153
5154 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
5155
5156 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5157 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5158 expected failures for mips-idt-* and mips-sgi-*.
5159 * gdb.t00/default.exp (attach): Kill process if requested.
5160 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5161 that does not read core files.
5162 * gdb.t01/run.exp: Removed checks for exit status code.
5163 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5164 it is linked in.
5165 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5166 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5167 appropriate, rather than doing it by hand.
5168 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5169 execution.
5170 * gdb.t10/crossload.exp: Kill existing program if needed.
5171 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5172 appropriate, rather than doing it by hand. Always increase
5173 timeout for this test, not just for VxWorks.
5174
5175 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
5176
5177 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5178 of Chill STRUCT types and STRUCT values.
5179 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5180 than "char".
5181 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5182 struct2): New struct definitions and initializations to test
5183 simple Chill STRUCT types.
5184
5185 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
5186
5187 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5188 the null byte at the end of strings.
5189 * gdb.t00/default.exp: Make show version insensitive to copyright
5190 date.
5191 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5192 to avoid dependencies on target char signedness.
5193 * gdb.t16/printcmds.exp: Update expected results for explicitly
5194 unsigned char.
5195 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5196 now work.
5197 * gdb.t21/demangle.exp: Add many more patterns for template
5198 demangling, most of them being expected failures.
5199 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5200 string we are matching for, to match on the whole string.
5201 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5202 and fix a whole bunch that had incorrect expected output but were
5203 passing anyway because of the bug in "proc demangle".
5204 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5205 type.
5206 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5207
5208 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5209
5210 * gdb/testsuite: made modifications to testcases, etc., to allow
5211 them to work properly given the reorganization of deja-gnu and the
5212 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5213
5214 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5215
5216 * gdb/testsuite: Initial creation of gdb/testsuite.
5217 Migrated dejagnu testcases and support files for testing nm to
5218 gdb/testsuite from deja-gnu. These files were moved "as is"
5219 with no modifications. This migration is part of a major overhaul
5220 of dejagnu. The modifications to these testcases, etc., which
5221 will allow them to work with the new version of dejagnu will be
5222 made in a future update.
5223 \f
5224 Local Variables:
5225 mode: indented-text
5226 left-margin: 8
5227 fill-column: 74
5228 version-control: never
5229 End: