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