4c264453187b882139446bf3d89b41ddbed3bb35
[platform/upstream/binutils.git] / gdb / testsuite / ChangeLog
1 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
2
3         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
4
5 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
6
7         * config/hppro.exp: Removed.
8
9 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
10
11         * config/sparclet.exp: Removed.
12
13 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
14
15         * config/udi.exp: Removed.
16
17 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
18
19         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20         of "exp_continue".
21         (advancei): Likewise.
22
23 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
24
25         * gdb.base/unload.exp: Fix so messages aren't duplicated.
26
27 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
28
29         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
30         to check for nodebug in executable.
31         * gdb.gdb/observer.exp (setup_test): Likewise.
32         * gdb.gdb/selftest.exp (test_with_self): Likewise.
33         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
34
35 2004-09-01  Andrew Cagney  <cagney@gnu.org>
36
37         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
38         files.
39
40 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
41
42         * gdb.base/unload.exp: Fix expected warning message to match
43         latest format.
44
45 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
46
47         * gdb.base/call-rt-st.exp: Fix typos.
48
49 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
50
51         * gdb.threads/thread_check.exp: New testcase.
52         * gdb.threads/thread_check.c: New testcase.
53
54 2004-08-31  Andrew Cagney  <cagney@gnu.org>
55
56         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
57         (skip_to_handler_entry): New procedures.  Test stepping into a
58         handler when the breakpoint is at the handler's entry point.
59
60 2004-08-30  Andrew Cagney  <cagney@gnu.org>
61
62         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
63         gdb/1757.
64
65 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
66
67         With code from Manoj Iyer <manjo@austin.ibm.com>:
68         * lib/gdb.exp (gdb_file_cmd): Return more information in the
69         return value.  Add an arm for "no debugging symbols found".
70         Change a stray "error" to "perror".
71         (gdb_run_cmd): Adapt to new return value.
72         * gdb.base/remote.exp: Adapt to new return value.
73         * gdb.gdb/complaints.exp: Likewise.
74         * gdb.gdb/observer.exp: Likewise.
75         * gdb.gdb/selftest.exp: Likewise.
76         * gdb.gdb/xfullpath.exp: Likewise.
77
78 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
79
80         * gdb.threads/bp_in_thread.exp: New testcase.
81
82 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
83
84         Fix PR testsuite/1735.
85         * gdb.threads/schedlock.c (thread_function): Add a cast
86         to suppress a gcc warning.
87         * gdb.threads/thread-specific.c (thread_function): Likewise.
88
89 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
90
91         * gdb.base/unload.c: Include <stdlib.h>.
92
93 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
94
95         From Paul Gilliam <pgilliam@us.ibm.com>:
96         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
97         synchronized after the "return".
98
99 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
100
101         * gdb.mi/basics.c: Include <stdio.h>.
102         * gdb.mi/pthreads.c: Include <stdlib.h>.
103         * gdb.mi/var-cmd.c: Include <stdlib.h>.
104
105 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
106
107         * gdb.threads/schedlock.c: Add copyright notice.
108
109 2004-08-25  Andrew Cagney  <cagney@gnu.org>
110
111         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
112         (skip_over_handler, breakpoint_over_hander): New test procedures.
113         (advance, advancei): Add a proper prefix, do not use
114         rerun_to_main.
115         * gdb.base/sigstep.c (main): Change to use an infinite loop.
116
117 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
118
119         * gdb.mi/basics.c: Add copyright notice.
120         * gdb.mi/var-cmd.c: Add copyright notice.
121
122 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
123
124         * lib/gdb.exp: Remove signed_keyword_not_used.
125         * lib/compiler.c: Likewise.
126         * lib/compiler.cc: Likewise.
127
128 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
129
130         * gdb.base/whatis.c: Remove conditional disabling of "signed".
131         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
132
133 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
134
135         * gdb.base/whatis.c: Add copyright notice.
136
137 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
138
139         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
140         it to skip the breakpoints encoded in the inline assembly.
141
142 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
143
144         * Makefile.in: Add gdb.fortran.
145
146 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
147
148         * gdb.base/call-sc.exp (test_scalar_returns):
149         Fix cut-and-paste glitch in "Make fun return now".
150
151 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
152
153         * configure.in: Add gdb.fortran.
154         * configure: Regenerate.
155         * gdb.fortran/Makefile.in: New file.
156         * lib/gdb.exp (skip_fortran_tests): New procedure.
157
158 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
159
160         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
161         reference to bug-gnu@prep.ai.mit.edu.
162         * gdb.mi/mi-var-child.exp: Likewise.
163         * gdb.mi/mi-var-cmd.exp: Likewise.
164         * gdb.mi/mi-var-display.exp: Likewise.
165         * gdb.mi/mi2-var-block.exp: Likewise.
166         * gdb.mi/mi2-var-child.exp: Likewise.
167         * gdb.mi/mi2-var-cmd.exp: Likewise.
168         * gdb.mi/mi2-var-display.exp: Likewise.
169
170 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
171
172         * gdb.base/unload.c (main): Make local variable msg const.
173
174 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
175
176         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
177         to bug-gnu@prep.ai.mit.edu.
178         * gdb.mi/mi-disassemble.exp: Likewise.
179         * gdb.mi/mi-eval.exp: Likewise.
180         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
181         default line number.
182         * gdb.mi/mi-return.exp: Likewise.
183         * gdb.mi/mi-simplerun.exp: Likewise.
184         * gdb.mi/mi-stack.exp: Likewise.
185         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
186         number with explicit range test.
187         * gdb.mi/mi-watch.exp: Likewise.
188         * gdb.mi/mi2-break.exp: Likewise.
189         * gdb.mi/mi2-cli.exp: Likewise.
190         * gdb.mi/mi2-disassemble.exp: Likewise.
191         * gdb.mi/mi2-eval.exp: Likewise.
192         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
193         default line number.
194         * gdb.mi/mi2-return.exp: Likewise.
195         * gdb.mi/mi2-simplerun.exp: Likewise.
196         * gdb.mi/mi2-stack.exp: Likewise.
197         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
198         number with explicit range test.
199         * gdb.mi/mi2-watch.exp: Likewise.
200
201 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
202
203         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
204         * gdb.cp/m-static.exp: Likewise.
205         * gdb.cp/rtti.exp: Likewise.
206
207 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
208
209         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
210
211 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
212
213         * ChangeLog: Prefix Local Variables with semi-colons and indent
214         the reference to older ChangeLog files, to fix fontification in
215         Emacs.
216
217 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
218
219         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
220         * gdb.mi/mi2-break.exp: Likewise.
221
222 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
223
224         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
225
226 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
227
228         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
229
230 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
231
232         * gdb.cp/classes.exp: Remove unused declarations.  Just let
233         test names default instead of providing special names.  Remove
234         extraneous demangler test.
235
236 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
237
238         * gdb.base/unload.exp: New test for breakpoints in dynamically
239         loaded libraries.
240         * gdb.base/unload.c: Ditto.
241         * gdb.base/unloadshr.c: Ditto.
242
243 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
244
245         * gdb.cp/classes.exp (test_ptype_class_objects): Call
246         cp_test_ptype_class.
247         (test_enums): Likewise.
248
249 2004-08-10  Andrew Cagney  <cagney@gnu.org>
250
251         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
252         files.
253
254 2004-08-10  Andrew Cagney  <cagney@gnu.org>
255
256         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
257         init_malloc call.
258
259 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
260
261         * ChangeLog: Add copyright notice.  The notice is copied
262         from emacs 21.3 top level ChangeLog.
263
264 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
265
266         * lib/cp-support.exp: New file.
267         * lib/cp-support.exp (cp_test_type_class): New function.
268         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
269         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
270         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
271         cp_test_ptype_class.
272
273 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
274
275         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
276         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
277         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
278         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
279         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
280         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
281         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
282         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
283         gdb.mi/mi2-watch.exp: Update copyright years.
284
285 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
286
287         * gdb.base/sigaltstack.exp: Provide proper anchoring.
288
289 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
290
291         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
292         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
293         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
294         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
295         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
296         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
297         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
298         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
299         gdb.mi/mi-watch.exp: Update copyright years.
300
301 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
302
303         PR gdb/1738
304         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
305         from a breakpoint with a pending signal.
306
307 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
308
309         PR gdb/1736
310         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
311         * gdb.base/sigaltstack.exp (finish_test): Consume output until
312         the prompt.
313         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
314
315 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
316
317         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
318
319 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
320
321         PR gdb/1736
322         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
323         for i?86-*-linux*.
324
325 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
326
327         * gdb.arch/i386-prologue.exp: Compile without debug information.
328
329 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
330
331         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
332         rather than asking gdb to search.
333
334 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
335
336         * gdb.base/gcore.c: Include <string.h>.
337
338 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
339
340         * gdb.base/gcore.c: Add copyright notice.
341
342 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
343
344         * gdb.base/freebpcmd.c: Include <stdio.h>.
345         * gdb.base/long_long.c: Include <string.h>.
346         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
347         * gdb.base/siginfo.c: Include <string.h>.
348         * gdb.base/sigstep.c: Include <string.h>.
349
350 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
351
352         * gdb.base/complex.c: Include <stdlib.h>.
353
354 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
355
356         * gdb.base/complex.c: Add copyright notice.
357
358 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
359
360         * gdb.base/charset.c: Include <stdlib.h>.
361
362 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
363
364         * gdb.base/auxv.c: Include <stdlib.h>.
365
366 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
367
368         * gdb.base/auxv.c: Add copyright notice.
369
370 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
371
372         * gdb.base/coremaker.c: Add copyright notice.
373         * gdb.base/coremaker2.c: Add copyright notice.
374
375 2004-08-04  Andrew Cagney  <cagney@gnu.org>
376
377         * gdb.base/store.exp: Update copyright.
378         (check_set, up_set, check_struct, up_struct): Add a prefix to test
379         names, do not import gdb_prompt.
380
381 2004-08-01  Andrew Cagney  <cagney@gnu.org>
382
383         Fix PR testsuite/1729.
384         * gdb.base/dump.exp: Add test name to callers of capture_value, do
385         not use capture_value with value 4.
386         (capture_value): Add optional test name parameter.
387         (test_reload_saved_value, test_restore_saved_value): Use $msg as
388         the prefix, pass to capture_value.
389
390 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
391
392         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
393         * gdb.arch/i386-prologue.c (standard): New prototype and function.
394         (main): Call new function.
395
396 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
397
398         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
399
400 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
401
402         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
403
404 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
405
406         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
407         Accept more values of vtbl pointer.  Remove some messages
408         about "obsolete gcc or gdb".
409
410 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
411
412         * gdb.cp/classes.exp: Accept more varieties of ptype output.
413
414 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
415
416         * gdb.base/asm-source.exp: Properly convert target board
417         debug flags from gcc format to binutils format.
418
419 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
420
421         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
422         gdb1718".  PR backtrace/1718 partially fixed.
423
424 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
425
426         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
427
428 2004-07-26  Nick Clifton  <nickc@redhat.com>
429
430         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
431         good default value for a specific architecture is available then
432         set it to that value.  Otherwise default to the -gstabs switch.
433         Remove the -g... switches from the asm-flags variable.  Allow the
434         target board info to override the value if it wants to.  Pass the
435         switch on the assembler command line.
436
437 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
438
439         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
440         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
441         (main): Call new function.
442
443 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
444
445         Test for PR exp/1715.
446         * gdb.base/radix.exp: Refactor common procedures.  Make all
447         test names unique.  Change XFAIL to KFAIL.
448
449 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
450
451         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
452         * gdb.ada/gnat_ada.gin: ... to here.
453         * configure.in: Use gnat_ada.gin.
454         * configure: Regenerate.
455
456 2004-07-20  Andrew Cagney  <cagney@gnu.org>
457
458         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
459         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
460         XFAILs.  Clean up test messages and comments.  Check backtraces.
461         Delete re-sync code.
462
463 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
464
465         Fix PR cli/740.
466         * gdb.base/annota1.exp: Honor gdb,nosignals.
467         * gdb.base/annota3.exp: Likewise.
468
469 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
470
471         * lib/java.exp: Update copyright notice.
472
473 2004-07-19  Andrew Cagney  <cagney@gnu.org>
474
475         * gdb.base/selftest.exp: Copy file from here ...
476         * gdb.gdb/selftest.exp: ... to here.
477
478 2004-07-16  Andrew Cagney  <cagney@redhat.com>
479
480         * lib/insight-support.exp: Delete file.
481         * lib/java.exp (java_init): Fix copyright.
482
483 2004-07-16  Andrew Cagney  <cagney@gnu.org>
484
485         * gdb.base/restore.c: Append "prologue" to comments marking the a
486         function's prologue.
487         * gdb.base/restore.exp: Update copyright, re-indent.
488         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
489         callerN" prefix where needed.  Update patterns that match a
490         function's prologue.
491
492 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
493
494         * gdb.base/restore.c: Add copyright notice.
495
496 2004-07-16  Andrew Cagney  <cagney@gnu.org>
497
498         * gdb.base/logical.exp: Update copyright.
499         (evaluate): New procedure.  Use to re-implement tests using
500         several tables.
501
502 2004-07-14  Martin Hunt  <hunt@redhat.com>
503
504         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
505         which fixes some problems where init.tcl was not found.
506
507 2004-07-13  Andrew Cagney  <cagney@gnu.org>
508
509         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
510         (check_sizeof, check_valueof): Do not include the output in the
511         test name.  Use gdb_test.
512         (get_valueof): Use gdb_test_multiple.
513
514         * gdb.base/step-test.exp: Update copyright.  Use
515         gdb_test_multiple.  Ensure that test names do not include
516         architecture dependent output.
517
518         * gdb.gdb/observer.exp: Update copyright.
519         (setup_test): Use gdb_test_multiple.
520         (attach_first_observer, attach_second_observer)
521         (attach_third_observer, detach_first_observer)
522         (detach_second_observer, detach_third_observer)
523         (reset_counters, check_counters): Make $message a prefix.
524         (test_normal_stop_notifications): Add "args" parameter - a list of
525         init functions to be called.  Make $message a prefix,
526         (test_observer_normal_stop): Change the message prefixes so that
527         they are unique, pass the attach / detach procedures to
528         test_normal_stop_notifications.
529
530         * gdb.base/signull.exp (test_segv): Prefix all tests with
531         "${name}".  Clean up test messages.
532
533         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
534
535         * gdb.base/ena-dis-br.exp: Update copyright.
536         (break_at): New function.  Replace send_gdb with gdb_test,
537         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
538         ignore count, not stopped at bpt", with KFAIL.
539
540 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
541
542         * gdb.base/attach.exp: Remove cleanupfile handling.
543
544 2004-07-12  Andrew Cagney  <cagney@gnu.org>
545
546         * gdb.base/annota1.exp: Cleanup corefile test name.
547         * gdb.base/annota3.exp: Ditto.
548
549 2004-07-12  Andrew Cagney  <cagney@gnu.org>
550
551         * gdb.base/signals.exp: Clean up copyright, re-indent.
552
553         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
554         gdb_test and gdb_test_multiple.
555
556 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
557
558         * gdb.java/jmain.exp: Fix expected line number for main to
559         break at.  Set XFAIL for break at main test since gcj does not 
560         provide line number info for first statement in main.
561
562 2004-07-08  Andrew Cagney  <cagney@gnu.org>
563
564         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
565
566         * gdb.base/sigbpt.exp: Make the common part of each test name a
567         prefix instead of suffix.
568
569 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
570
571         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
572         test from test_tbreak_creation_and_listing to
573         test_file_list_exec_source_file
574         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
575         Changed name of test from test_tbreak_creation_and_listing to
576         test_file_list_exec_source_file
577
578 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
579
580         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
581         the jmisc() constructor instead of <init>.
582         * gdb.java/jmisc1.exp: Ditto.
583
584 2004-07-07  Andrew Cagney  <cagney@gnu.org>
585
586         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
587         corrupting the PC.
588
589 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
590
591         * gdb.cp/templates.exp: Accept whitespace change in demangler
592         output.
593
594 2004-07-06  Andrew Cagney  <cagney@gnu.org>
595
596         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
597
598 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
599
600         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
601         * lib/compiler.cc: Likewise.
602
603 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
604
605         * lib/compiler.cc: Work around string preprocessing problem
606         with old hp c++ compiler.
607         * lib/compiler.c: Likewise.
608
609 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
610
611         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
612         directives to conditionalize symbol prefixing.
613         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
614         additional_flags handling.  Add underscore prefix for Cygwin.
615         * gdb.arch/i386-unwind.c: Use preprocessor directives to
616         conditionalize symbol prefixing.
617         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
618         additional_flags handling.  Add underscore prefix for Cygwin.
619
620 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
621
622         * gdb.base/bigcore.exp: Skip test on Cygwin.
623
624 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
625
626         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
627         formats for "info register".  Use gdb_test_multiple.  Fix
628         the "invalid register" test.
629
630 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
631
632         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
633         PID for Cygwin.  Add Cygwin specific strings to check for in some
634         tests.
635         (do_attach_tests): Add a test for user interaction when attaching
636         to a process with no matching symbol table already loaded.
637
638 2004-06-26  Andrew Cagney  <cagney@gnu.org>
639
640         Test PR java/1567 and PR java/1565.
641         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
642         * gdb.java/jmisc2.exp: Delete file.
643
644 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
645
646         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
647
648 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
649
650         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
651         attach process.
652
653 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
654
655         * gdb.cp/pr-1553.exp: Remove.
656
657 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
658
659         * gdb.cp/pr-1553.cc: Remove.
660         * gdb.cp/pr-1553.exp: Disable this test.
661
662 2004-06-20  Jim Blandy  <jimb@redhat.com>
663
664         Fix PR testsuite/1680.
665         * gdb.arch/i386-sse.exp: Properly quote curly braces in
666         regular expressions.
667
668 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
669
670         Fix PR testsuite/1679.
671         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
672         Issue an UNSUPPORTED result instead.
673
674 2004-06-18  Jim Blandy  <jimb@redhat.com>
675
676         * gdb.base/charset.exp: Only send a control-C if we see a new
677         prompt and incomplete command.
678
679 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
680
681         * gdb.cp/pr-574.cc: Add copyright notice.
682
683 2004-06-17  Jim Blandy  <jimb@redhat.com>
684
685         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
686         cases where the regexp has no groups; this grabs random text from
687         the previous test suite, whatever that was.
688
689 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
690
691         * gdb.cp/printmethod.cc: Add copyright notice.
692
693 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
694
695         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
696
697 2004-06-16  Andrew Cagney  <cagney@gnu.org>
698
699         * gdb.base/signull.c: Update copyright.  Include <string.h>.
700         (bowler): Replace data_pointer with data_read
701         and data_write cases.  Add code_descriptor case.
702         (zero, desc): New array and pointer.
703         (data, code): Change to simple pointers.
704         * gdb.base/signull.exp: Fix probe pattern matching a function
705         descriptor SIGSEGV.  Replace data_pointer with data_read and
706         data_write tests.
707
708 2004-06-16  Andrew Cagney  <cagney@gnu.org>
709
710         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
711
712 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
713
714         * gdb.base/long_long.c: Add copyright notice.
715
716 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
717
718         * gdb.base/long_long.exp: Remove reference to
719         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
720         to gdb_breakpoint and gdb_continue_to_breakpoint.
721
722 2004-06-14  Jim Blandy  <jimb@redhat.com>
723
724         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
725         endian case.
726
727 2004-06-14  Andrew Cagney  <cagney@gnu.org>
728
729         * gdb.base/gcore.exp (capture_command_output): Delete the always
730         passing tests containing inferior values.
731         * gdb.base/ending-run.exp: Do not include the breakpoint address
732         in the test message.  Update copyright.
733         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
734         size in the test name, use gdb_test_multiple.  Update copyright.
735
736 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
737
738         * gdb.cp/ref-types.cc: Add copyright notice.
739
740 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
741
742         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
743         hp_aCC_compiler.
744         * lib/compiler.cc: Likewise.
745         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
746         'set' commands.  Log diagnostics for other lines.  Set
747         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
748
749 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
750
751         * gdb.cp/try_catch.cc: Add copyright notice.
752
753 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
754
755         * gdb.cp/userdef.cc: Add copyright notice.
756
757 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
758
759         * gdb.cp/virtfunc.cc: Add copyright notice.
760
761 2004-06-11  Randolph Chung  <tausq@debian.org>
762
763         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
764         problem.
765
766 2004-06-10  Andrew Cagney  <cagney@gnu.org>
767
768         * lib/compiler.cc, lib/compiler.c: Append either
769         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
770         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
771         instead of gcc-3-3.
772
773 2004-06-09  Andrew Cagney  <cagney@gnu.org>
774
775         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
776         gdb/1455, bug is specific to "long long" and "double".
777         
778         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
779         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
780         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
781         fixed.
782
783 2004-06-09  Andrew Cagney  <cagney@gnu.org>
784
785         * gdb.base/structs.exp (test_struct_returns): Replace
786         "return_value_unknown" and "finish_value_unknown" by
787         "return_value_known" and "finish_value_known".  Instead of
788         "return_value_unknown" iff "finish_value_unknown", check
789         "return_value_known" implies "finish_value_known".
790
791 2004-06-08  Martin Hunt  <hunt@redhat.com>
792
793         * gdb.base/float.exp: Add pattern for mips targets.
794
795 2004-06-08  Randolph Chung  <tausq@debian.org>
796
797         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
798         message for unknown architectures more clear.
799
800 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
801
802         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
803         start the execution of the program.
804
805 2004-06-07  Jim Blandy  <jimb@redhat.com>
806
807         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
808         * gdb.arch/i386-cpuid.h: New helper file.
809
810 2004-06-07  Randolph Chung  <tausq@debian.org>
811
812         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
813         has started.
814
815 2004-06-04  Roland McGrath  <roland@redhat.com>
816
817         Fix PR gdb/1647.
818         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
819         differently to be robust to output buffering differences.
820
821 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
822
823         * gdb.threads/pthreads.exp: Update copyright years.
824         (check_control_c): Change asynchronous 'after' to synchronous.
825
826 2004-06-04  Roland McGrath  <roland@redhat.com>
827
828         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
829         next gdb prompt.
830
831 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
832
833         Fix PR gdb/1636.
834         * gdb.threads/manythreads.exp: Change asynchronous 'after'
835         calls to synchronous.
836
837 2004-05-26  Jim Blandy  <jimb@redhat.com>
838
839         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
840
841 2004-05-24  Randolph Chung  <tausq@debian.org>
842
843         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
844         * gdb.asm/pa.inc: New file.
845
846 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
847
848         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
849
850 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
851             Daniel Jacobowitz  <drow@mvista.com>
852
853         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
854         GDB prompt.
855
856 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
857
858         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
859         setjmp/longjmp.  Use sigaction instead of signal.
860
861 2004-05-19  J. Brobecker  <brobecker@gnat.com>
862             Michael Snyder  <msnyder@redhat.com>
863
864         * gdb.threads/pthread_cond_wait.c: New file.
865         * gdb.threads/pthread_cond_wait.exp: New testcase.
866
867 2004-05-13  Andrew Cagney  <cagney@redhat.com>
868
869         * gdb.base/signull.exp, gdb.base/signull.c: New files.
870         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
871
872 2004-05-11  Andrew Cagney  <cagney@redhat.com>
873
874         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
875         fixed but revealed gdb/1639.
876
877 2004-05-10  Andrew Cagney  <cagney@redhat.com>
878
879         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
880         func1" and "next to 2nd alarm", kernel bug avoided.
881
882 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
883
884         PR external/1568
885         * gdb.base/bigcore.exp: Check the size of the dumped core file.
886         XFAIL if it is smaller than bytes_allocated.
887         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
888         (main): Make chunks_allocated unsigned.  Correct comment.
889
890 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
891
892         * gdb.arch/powerpc-aix-prologue.c: New file.
893         * gdb.arch/powerpc-aix-prologue.exp: New file.
894
895 2004-05-07  Jim Blandy  <jimb@redhat.com>
896
897         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
898         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
899
900 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
901
902         * gdb.base/sep.exp: No longer setup_kfail when the program was
903         built with dwarf2.
904
905 2004-05-05  Jim Ingham  <jingham@apple.com>
906
907         * gdb.base/pending.exp: Make sure pending breakpoints
908         preserve the ignore count.
909
910 2004-04-27  Jerome Guitton  <guitton@gnat.com>
911
912         * i386-prologue.exp: Add testcase for jump instruction as first
913         instruction of the real code.
914         * i386-prologue.c (jump_at_beginning): New function.
915
916 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
917
918         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
919         x86_64-*-*.
920
921 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
922
923         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
924         i*86-*-*.
925
926 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
927
928         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
929         expression that checks the return type.
930
931 2004-04-23  Andrew Cagney  <cagney@redhat.com>
932
933         * gdb.base/call-sc.exp: New test of scalar call/return values.
934         * gdb.base/call-sc.c: Ditto.
935
936 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
937
938         * gdb.threads/manythreads.c: Reduce thread stack size.
939
940 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
941
942         * gdb.threads/manythreads.c: Add copyright notice.
943
944 2004-04-23  Andrew Cagney  <cagney@redhat.com>
945
946         * gdb.base/siginfo.exp: Better handle step out of signal.
947         * gdb.base/sigstep.exp: Ditto.
948
949 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
950             Daniel Jacobowitz  <drow@mvista.com>
951
952         * gdb.threads/manythreads.c: New testcase.
953         * gdb.threads/manythreads.exp: Ditto.
954
955 2004-04-22  Jim Blandy  <jimb@redhat.com>
956
957         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
958         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
959
960 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
961
962         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
963
964 2004-04-21  Andrew Cagney  <cagney@redhat.com>
965
966         * gdb.base/sigstep.c: New file.
967         * gdb.base/sigstep.exp: New file.
968
969 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
970
971         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
972         call to observer_notify_normal_stop.
973
974 2004-04-15  Andrew Cagney  <cagney@redhat.com>
975
976         * gdb.base/siginfo.c: New file.
977         * gdb.base/siginfo.exp: New file.
978
979 2004-04-12  J. Brobecker  <brobecker@gnat.com>
980
981         * gdb.base/sep.exp: Fix typo in comment.
982
983 2004-04-12  J. Brobecker  <brobecker@gnat.com>
984
985         * gdb.base/sep.c: New file.
986         * gdb.base/sep-proc.c: New file.
987         * gdb.base/sep.exp: New testcase.
988
989 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
990
991         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
992         support.
993
994 2004-04-05  Andrew Cagney  <cagney@redhat.com>
995
996         * gdb.base/sigaltstack.c: New file.
997         * gdb.base/sigaltstack.exp: New file.
998
999 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
1000
1001         * gdb.base/foll-fork.exp: Update the expected output for
1002         "help set follow-fork-mode", to match a change that was made
1003         to the help of this variable on 2004-01-13.
1004
1005 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
1006
1007         * lib/ada.exp: Add copyright notice.
1008         * bar.ads: Likewise.
1009         * bar.adb: Likewise.
1010         * null_record.adb: Likewise.
1011         * null_record.exp: Likewise.
1012         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1013
1014 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
1015
1016         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1017         * configure: Regenerate.
1018
1019 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
1020
1021         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1022         to build the application. Remove the message printed when in
1023         verbose mode, redundant with the UNSUPPORTED message above.
1024
1025 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1026
1027         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1028         * gdb.ada (null_record.exp): New testcase.
1029
1030 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1031
1032         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1033
1034 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1035
1036         * gdb.ada: New subdirectory.
1037         * gdb.ada/Makefile.in: New file.
1038         * gdb.ada/gnat_ada.gpr.in: New file.
1039
1040 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
1041
1042         * lib/ada.exp: New file.
1043
1044 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
1045
1046         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1047         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1048
1049 2004-03-22  Andrew Cagney  <cagney@redhat.com>
1050
1051         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1052         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1053         Problem identified by Ulrich Weigand.
1054
1055 2004-03-17  David Carlton  <carlton@kealia.com>
1056
1057         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1058         PR c++/826.
1059
1060 2004-03-16  Roland McGrath  <roland@redhat.com>
1061
1062         * gdb.base/auxv.exp: New file.
1063         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1064
1065 2004-03-12  David Carlton  <carlton@kealia.com>
1066
1067         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
1068         * gdb.cp/pr-1553.cc: Ditto.
1069         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1070         pass branch.
1071
1072 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
1073
1074         * gdb.cp/templates.exp: Accept more template types.
1075
1076 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
1077
1078         From Corinna Vinschen with modifications.
1079         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1080         local variable obj_with_enum.
1081         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1082         results with obj_with_enum.
1083
1084 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
1085
1086         * gdb.cp/classes.cc: New file, copied from misc.cc.
1087         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1088
1089 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
1090
1091         * gdb.cp/misc.cc: Add copyright notice.
1092
1093 2004-03-05  David Carlton  <carlton@kealia.com>
1094
1095         * gdb.cp/rtti.exp: Add 'print *obj3' test.
1096         * gdb.cp/rtti.h: Update copyright.
1097         (namespace n2::n3): New.
1098         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1099         (n2::n3::func3): New.
1100         (main): Call n2::n3::func3.
1101         * gdb.cp/rtti2.cc: Update copyright.
1102         (n2::create3): New.
1103
1104 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
1105
1106         * gdb.asm/openbsd.inc: Fix typo.
1107
1108 2004-03-03  Fred Fish  <fnf@redhat.com>
1109
1110         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1111         "val" instead of unused "size".  Update copyright year.
1112
1113 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
1114
1115         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
1116         to use unsigned char.
1117         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1118         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1119
1120 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
1121
1122         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1123         line of output.
1124
1125 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
1126
1127         * gdb.base/relocate.c (dummy): Initialize.
1128
1129 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
1130
1131         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
1132         a breakpoint at exit.
1133
1134 2004-02-27  Fred Fish  <fnf@redhat.com>
1135
1136         * gdb.base/chng-syms.exp: Add expect condition to match failing
1137         case that isn't a timeout.
1138
1139 2004-02-27  Andrew Cagney  <cagney@redhat.com>
1140
1141         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1142         support.
1143
1144 2004-02-26  Fred Fish  <fnf@redhat.com>
1145
1146         * gdb.arch/gdb1431.c: Remove.
1147         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1148         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1149         of "until" incorrectly.
1150
1151 2004-02-26  J. Brobecker  <brobecker@gnat.com>
1152
1153         * gdb.cp/class2.cc (empty): New class.
1154         (refer): New function.
1155         (main): Declare an object of type empty and use it.
1156         * gdb.cp/class2.exp: Print the value of an object of type empty.
1157
1158 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
1159
1160         * gdb.base/langs.exp: Update query string to match the
1161         new nquery format used for pending breakpoints.
1162
1163 2004-02-26  Andrew Cagney  <cagney@redhat.com>
1164
1165         Fix PR i18n/1570.
1166         * gdb.base/charset.c: Update copyright notice.
1167         (main, init_string): Remove the escape character '\e' tests.
1168         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1169         * gdb.base/charset.exp (valid_host_charset): Ditto.
1170         * gdb.base/setvar.exp: Ditto.
1171
1172 2004-02-24  Andrew Cagney  <cagney@redhat.com>
1173
1174         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1175         mmapped data in core file" PASS and FAIL messages consistent.
1176
1177         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1178         setting a breakpoint.  Work around PR java/1565.
1179
1180 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
1181
1182         * lib/gdb.exp (gdb_breakpoint): Update query string to match
1183         new nquery format.
1184         * gdb.base/pending.exp: Ditto.
1185
1186 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
1187
1188         * configure.in: Run stabs tests on *BSD.
1189         * configure: Regenerated.
1190
1191 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
1192
1193         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1194
1195 2004-02-20  Fred Fish  <fnf@redhat.com>
1196
1197         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1198         blank in test for "returns short", for consistency with other
1199         "returns xxx" tests.  Update copyright year.
1200
1201 2004-02-19  Fred Fish  <fnf@redhat.com>
1202
1203         New testcase for PR breakpoint/1558.
1204         * gdb.arch/gdb1558.exp: New file.
1205         * gdb.arch/gdb1558.c: New file.
1206
1207 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
1208
1209         * gdb.base/nodebug.exp: Fix typo.
1210
1211 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1212
1213         Committed by Jim Blandy  <jimb@redhat.com>.
1214
1215         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1216
1217         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1218
1219         * gdb.base/float.exp: Support s390*-*-* targets.
1220
1221 2004-02-17  Adam Fedor  <fedor@gnu.org>
1222
1223         * gdb.base/gdb1555.exp: New file.
1224         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1225
1226 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
1227
1228         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1229
1230 2004-02-16  Fred Fish  <fnf@redhat.com>
1231
1232         * gdb.arch/gdb1291.c: Remove
1233         * gdb.arch/gdb1291.s: New test input file.
1234         * gdb.arch/gdb1291.exp: Expand test to check case that should not
1235         fail.  Test for correct result, known incorrect result, other
1236         failures and timeouts.
1237
1238 2004-02-16  Andrew Cagney  <cagney@redhat.com>
1239
1240         * gdb.base/bigcore.exp: New file.
1241         * gdb.base/bigcore.c: New file.
1242
1243 2004-02-13  Andrew Cagney  <cagney@redhat.com>
1244
1245         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1246         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1247         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1248         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1249         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1250         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1251         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1252         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1253         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1254         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1255
1256 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
1257
1258         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1259         executed is an alloc instruction.
1260
1261 2004-02-11  David Carlton  <carlton@kealia.com>
1262
1263         * gdb.cp/breakpoint.exp: New.
1264         * gdb.cp/breakpoint.cc: New.
1265
1266 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
1267
1268         Partial fix for PR gdb/1543.
1269         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1270         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1271         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1272         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1273         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1274         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1275         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1276         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1277         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1278         to bug-gdb@prep.ai.mit.edu .
1279         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1280         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1281         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1282         Likewise.
1283
1284 2004-02-10  Andrew Cagney  <cagney@redhat.com>
1285
1286         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1287         using gdb_internal_error_resync.
1288
1289 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
1290
1291         * gdb.threads/thread-specific.exp: Stop early if no threads are
1292         found.
1293
1294 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
1295
1296         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1297
1298 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
1299
1300         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1301         breakpoints.
1302
1303 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
1304
1305         * config/sim.exp (gdb_load): Handle $arg == "".
1306         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1307         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1308
1309 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
1310
1311         * gdb.base/maint.exp: Update test to reflect
1312          obstack changes.
1313
1314 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1315
1316         * gdb.base/pendshr.c (pendfunc): New function that calls
1317         pendfunc1.
1318         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1319
1320 2004-02-04  Fred Fish  <fnf@redhat.com>
1321
1322         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1323         function symbols and update copyright years.
1324         * gdb.arch/gdb1291.c: Ditto.
1325
1326 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
1327
1328         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1329
1330 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
1331
1332         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1333
1334 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
1335
1336         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1337
1338 2004-02-02  Fred Fish  <fnf@redhat.com>
1339
1340         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1341         remote targets.  Update copyright years.
1342
1343 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
1344
1345         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1346         support.
1347         * gdb.base/langs.exp: Fix test which attempts to create
1348         breakpoint on non-existent function to handle new pending
1349         support.
1350         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1351         a breakpoint.
1352         * gdb.base/pending.exp: New test.
1353         * gdb.base/pending.c: New file.
1354         * gdb.base/pendshr.c: Ditto.
1355
1356 2004-02-02  David Carlton  <carlton@kealia.com>
1357
1358         * gdb.cp/overload.exp: Add overloadNamespace tests.
1359         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1360         (overloadNamespace, XXX): New.
1361         (main): Call XXX::marker2.
1362
1363 2004-02-01  Fred Fish  <fnf@redhat.com>
1364
1365         * gdb.base/dump.exp: Use runto_main instead of "runto main".
1366         * gdb.base/finish.exp: Ditto.
1367         * gdb.base/gcore.exp: Ditto.
1368         * gdb.base/huge.exp: Ditto.
1369         * gdb.base/info-proc.exp: Ditto.
1370         * gdb.base/return2.exp: Ditto.
1371         * gdb.threads/gcore-thread.exp: Ditto.
1372
1373 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1374
1375         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1376
1377 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
1378
1379         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1380         that opening the file succeeds on OpenBSD.
1381
1382 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1383
1384         * gdb.threads/thread-specific.c: New file.
1385         * gdb.threads/threads-specific.exp: New test script.
1386         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1387         to expect_out.
1388
1389 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
1390
1391         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
1392         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1393         only on the "print_small_structs from print_long_arg_list" test.
1394
1395 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
1396
1397         * gdb.base/completion.exp: Kill a stray backslash.
1398
1399         From Jim Ingham <jingham@apple.com>:
1400         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1401         agrees with the result from sending a tab.
1402
1403 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
1404
1405         * gdb.base/chng-syms.exp: Remove stray newline.
1406
1407 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
1408
1409         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1410         *-*-openbsd*.
1411         * gdb.asm/openbsd.inc: New file.
1412
1413 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
1414
1415         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
1416         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1417         *-*solaris2*.  Remove commented out default settings for
1418         asm-flags.  Replace gdb_compile with target_link.
1419
1420 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
1421
1422         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
1423         for all tests.  Remove old hp-ux and cygnus xfail cases.
1424
1425 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
1426
1427         * gdb.base/chng-syms.exp: New file.
1428         * gdb.base/chng-syms.c: New file.
1429
1430 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
1431
1432         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
1433         Provide arms for current output in all my configurations.
1434
1435 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
1436
1437         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1438         * lib/compiler.cc: Likewise.
1439         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1440         get the right preprocessor.  Eval the output directly.  Remove
1441         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
1442         hp_f77_compiler and hp_f90_compiler completely.
1443         (gdb_preprocess): Delete.
1444         (get_compiler): Delete.
1445
1446 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
1447
1448         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1449         <string.h>.
1450
1451 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
1452
1453         * gdb.mi/mi-stack.exp: Update copyright.
1454
1455 2004-01-23  David Carlton  <carlton@kealia.com>
1456
1457         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
1458         test for cp_lookup_transparent_type.
1459         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
1460         call them.
1461
1462 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
1463
1464         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
1465         after -var-update.
1466
1467 2004-01-23  David Carlton  <carlton@kealia.com>
1468
1469         * gdb.cp/namespace.cc (C::ensureRefs): New.
1470         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1471
1472 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
1473
1474         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1475         case "-stack-list-locals 2".
1476         * gdb.mi/mi-var-child.exp: Test for case
1477         "-var-list-children --all-values NAME".
1478
1479 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
1480
1481         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1482
1483 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
1484
1485         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1486         used with gdb_test_multiple.
1487
1488         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1489         read at address 0.  This fixes PR testsuite/1504.
1490
1491 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
1492
1493         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1494         Remove downloading, guessing the host executable, the calls to
1495         gdb_file_cmd and gdb_target_cmd, and "load" support.
1496         (infer_host_exec): New function broken out from gdb_load.
1497         (gdb_load): New wrapper for gdbserver_gdb_load.
1498         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1499         gdb_target_cmd.  Use -target-select.
1500         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1501         Download binaries to the host.  Clear last_mi_remote_file when
1502         we load a new binary.
1503         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
1504         call gdbserver_gdb_load and mi_gdb_target_cmd.
1505
1506 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
1507
1508         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1509         type patterns.
1510
1511 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
1512
1513         * gdb.cp/templates.exp: Fix typo in test name of
1514         "print Foo<volatile char*>::foo".
1515
1516 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
1517
1518         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1519
1520 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
1521
1522         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1523         (clean mostlyclean): Remove empty rm.
1524
1525 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
1526
1527         * gdb.base/setvar.exp: Add copyright years.
1528
1529 2004-01-14  David Carlton  <carlton@bactrian.org>
1530
1531         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
1532         PR c++/1511 and update coment.
1533         * gdb.cp/templates.exp: Update patterns to match current output.
1534         If changes involve something other than whitespace, KFAIL
1535         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1536
1537 2004-01-14  David Carlton  <carlton@kealia.com>
1538
1539         * gdb.cp/namespace.exp: Add tests involving classes defined within
1540         namespaces.
1541         * gdb.cp/namespace.cc (C::CClass): New.
1542         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1543
1544 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
1545
1546         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1547         what debug info we have. Print a better message if something goes
1548         wrong while producing the separate debug info file.
1549
1550 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
1551
1552         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1553
1554 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
1555
1556         * gdb.base/callfuncs.c: Add copyright notice.
1557
1558 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
1559
1560         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1561         inheritance.  PR gdb/1498, PR gcc/13539.
1562
1563 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
1564
1565          * gdb.threads/gcore-thread.exp: Prefix name of binary with
1566          test specific name.
1567          * gdb.mi/gdb669.exp: Ditto.
1568          * gdb.mi/mi-pthreads.exp: Ditto.
1569          * gdb.mi/mi1-pthreads.exp: Ditto.
1570          * gdb.mi/mi2-pthreads.exp: Ditto.
1571
1572 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
1573
1574         * gdb.cp/member-ptr.cc: Add copyright notice.
1575
1576 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
1577
1578         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
1579         some patterns for recent versions of gcc and hpacc.  Delete
1580         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
1581         Delete tests that access a NULL pointer-to-member-data.  This
1582         script is still disabled for gcc.
1583
1584 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
1585
1586         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1587         escaped correctly.
1588
1589 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
1590
1591         * gdb.base/sepdebug.exp: New file.
1592         * gdb.base/sepdebug.c: New file.
1593         * lib/gdb.exp (separate_debug_filename): New procedure.
1594         (gdb_gnu_strip_debug): New procedure.
1595
1596 2004-01-12  Andrew Cagney  <cagney@redhat.com>
1597
1598         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
1599         * gdb.mi/ChangeLog-1999-2003: New file.
1600
1601 2004-01-12  Andrew Cagney  <cagney@redhat.com>
1602
1603         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
1604         "Renaming a directory to a non-empty directory returns ENOTEMPTY
1605         or EEXIST", treat EBUSY as an XFAIL.
1606
1607 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
1608
1609         * gdb.base/scope.exp: Remove obsolete setup_xfail for
1610         hp_cc_compiler.
1611
1612 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
1613
1614         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1615         decorations.
1616
1617 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
1618
1619         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1620         and "(aCC)" decorations.  Remove obsolete doco about old
1621         test results.
1622
1623 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
1624
1625         * gdb.cp/exception.exp: Fix typo in doco.
1626
1627 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
1628
1629         * gdb.base/gdb1476.exp: Fix typo.
1630
1631 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
1632
1633         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1634         file.
1635
1636 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
1637
1638         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1639         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1640         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
1641         for recent version of gdb.  Delete second half, which was a copy
1642         of the first half with different build flags.  This test is
1643         still disabled because it is still not ready for production.
1644
1645 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
1646
1647         * gdb.cp/exception.cc: Add copyright notice.
1648         * gdb.cp/exception.exp: Add a notice that this file is broken
1649         because of line number changes caused by addition of copyright
1650         notice.
1651
1652 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
1653
1654         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1655         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1656
1657 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
1658
1659         * gdb.cp/classes.exp: Accept gnu abi 2.
1660         * gdb.cp/derivation.exp: Likewise.
1661         * gdb.cp/overload.exp: Likewise.
1662         * gdb.cp/virtfunc.exp: Likewise.
1663
1664 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
1665
1666         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1667         semicolon after end of function.
1668
1669 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1670
1671         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1672         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
1673         boilerplate code for compiling and running the program under
1674         test.  Add some string method tests.
1675
1676 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1677
1678         * gdb.cp/bs15503.cc: Add copyright notice.
1679         * gdb.cp/bs15503.exp: Adjust line number.
1680
1681 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1682
1683         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1684         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1685
1686 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1687
1688         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1689         hp_cc_compiler.
1690
1691 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1692
1693         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1694         * gdb.cp/ctti.exp: Use the marker instead of "next".
1695         With gcc, run further before bailing.
1696
1697 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1698
1699         * gdb.cp/cttiadd.cc: Add copyright notice.
1700         * gdb.cp/cttiadd1.cc: Likewise.
1701         * gdb.cp/cttiadd2.cc: Likewise.
1702         * gdb.cp/cttiadd3.cc: Likewise.
1703
1704 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1705
1706         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
1707         Use gdb_test, gdb_test_multiple.  Use floating-point values that
1708         have exact representations in IEEE-ish formats.
1709
1710 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1711
1712         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1713         compilers.  Delete duplicate call to get_compiler_info.
1714         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1715         * gdb.base/volatile.exp: Likewise.
1716
1717 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
1718
1719         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1720         memory at address 0.
1721
1722 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
1723
1724         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1725         to test for hp-ux assembler.  Fix copyright years.
1726
1727 2004-01-07  Andrew Cagney  <cagney@redhat.com>
1728
1729         * gdb.base/fileio.c (strerrno): Add "EBUSY".
1730
1731 2004-01-07  Andrew Cagney  <cagney@redhat.com>
1732
1733         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1734         when creating the read-only file.  From analysis by Roland McGrath
1735         and Elena Zannoni.
1736
1737 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
1738
1739         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1740
1741 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
1742
1743         * gdb.base/cvexpr.c: Be type-safe with function pointers and
1744         data pointers.
1745
1746 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
1747
1748         * gdb.cp/m-static.exp: Compile one source file at a time.
1749         Delete unused call to get_compiler_info.
1750
1751 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
1752
1753         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1754         * gdb.base/call-rt-st.exp: Likewise.
1755         * gdb.base/nodebug.exp: Likewise.
1756         * gdb.base/volatile.exp: Likewise.
1757         * gdb.cp/ref-types.exp: Likewise.
1758         * gdb.cp/templates.exp: Likewise.
1759
1760 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
1761
1762         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1763
1764 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
1765
1766         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1767         hppa*-hp-hpux*.
1768
1769 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
1770
1771         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1772         x86_64-*-*.
1773
1774         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1775         sparc64-*-* and sparc*-solaris2*.
1776
1777 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
1778
1779         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1780         return ${tests}" test.  The ${tests} already mentions the
1781         filename.
1782
1783 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
1784
1785         * gdb.cp/local.exp: Accept gcc abi 2.
1786
1787 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
1788
1789         * gdb.cp/templates.exp: Accept gcc abi 2.
1790
1791 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
1792
1793         * lib/compiler.cc: Remove supports_template_debugging.
1794         * gdb.cp/templates.exp: Do not test supports_template_debugging.
1795
1796 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
1797
1798         * gdb.cp/namespace.exp: Accept gcc abi 2.
1799
1800 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
1801
1802         * gdb.cp/method.exp: Accept gcc abi 2.
1803
1804 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
1805
1806         * gdb.cp/classes.exp: Generate identical results as old version.
1807         * gdb.cp/derivation.exp: Likewise.
1808         * gdb.cp/overload.exp: Likewise.
1809         * gdb.cp/virtfunc.exp: Likewise.
1810
1811 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
1812
1813         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1814         mysterious bug with sourceware version of expect.
1815
1816 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
1817
1818         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
1819         current versions of gcc, including gcc abi 2.  Remove gratuitous
1820         restart of test program.  Use gdb_test_multiple and gdb_test for
1821         all tests.  Add patterns to xfail missing "const" in "const char *"
1822         and kfail PR gdb/1155.
1823
1824 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
1825
1826         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
1827         current versions of gcc, including gcc abi 2.  Remove gratuitous
1828         restart of test program.  Use gdb_test_multiple and gdb_test for
1829         all tests.  Add patterns to kfail PR gdb/1498.
1830
1831 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
1832
1833         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
1834         current versions of gcc, including gcc abi 2.  Use "breakpoint"
1835         and "continue" instead of restarting the target program.  Use
1836         gdb_test_multiple and gdb_test for all tests.
1837
1838 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
1839
1840         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
1841         for *-*-solaris2*.
1842
1843 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
1844
1845         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
1846         current versions of gcc, including gcc abi 2.  Use "breakpoint"
1847         and "continue" instead of restarting the target program several
1848         times.  Use gdb_test_multiple and gdb_test for all tests.
1849
1850 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
1851
1852         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1853         source files.
1854
1855 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
1856
1857         * gdb.base/environ.exp: Handle compiling test case from multiple
1858         source files.
1859
1860 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
1861
1862         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1863
1864 2003-12-17  Jim Blandy  <jimb@redhat.com>
1865
1866         * gdb.base/freebpcmd.c: Add copyright notice.
1867
1868         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1869
1870 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
1871
1872         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1873
1874 2003-12-13  Jim Blandy  <jimb@redhat.com>
1875
1876         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1877
1878 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
1879
1880         * gdb.asm/frv.inc: New file.
1881         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1882
1883 2003-12-09  Fred Fish  <fnf@redhat.com>
1884
1885         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1886         functions to break1.c and leave prototypes behind.  Add more
1887         "set breakpoint NN here" comments.
1888         * gdb.base/break1.c: New file.
1889
1890         * gdb.base/break.exp: Handle compiling test case from multiple
1891         source files and change source file references as needed.
1892         * gdb.base/completion.exp: Ditto.
1893         * gdb.base/condbreak.exp: Ditto.
1894         * gdb.base/define.exp: Ditto.
1895         * gdb.base/ena-dis-br.exp: Ditto.
1896         * gdb.base/info-proc.exp: Ditto.
1897         * gdb.base/maint.exp: Ditto.
1898         * gdb.base/until.exp: Ditto.
1899
1900         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1901         hardcoded line numbers.
1902         * gdb.base/define.exp: Ditto.
1903         * gdb.base/ena-dis-br.exp: Ditto.
1904         * gdb.base/maint.exp: Ditto.
1905         * gdb.base/until.exp: Ditto.
1906
1907         * gdb.base/completion.exp: Use "break1" for completion tests since
1908         "break" is no longer a unique prefix.
1909
1910 2003-12-06  Andrew Cagney  <cagney@redhat.com>
1911
1912         * gdb.base/structs.exp (test_struct_returns): When applicable, set
1913         "return_value_unimplemented".  When an unimplemented struct return
1914         architecture, report incorrect values as a KFAIL
1915
1916 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
1917
1918         * gdb.cp/rtti.exp: Accept new wording of warning from
1919         cp_lookup_rtti_type.
1920
1921 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
1922
1923         Partial fix for PR testsuite/1456.
1924         * gdb.base/scope.exp (test_at_main): Replace references to
1925         gcc_compiled with calls to test_compiler_info.
1926         (test_at_foo): Likewise.
1927         (test_at_bar): Likewise.
1928
1929 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
1930
1931         Partial fix for PR testsuite/1456.
1932         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1933         to test_compiler_info.
1934
1935 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
1936
1937         * gdb.base/so-impl-ld.exp: Update copyright notice.
1938
1939 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
1940
1941         Partial fix for PR testsuite/1456.
1942         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1943         to test_compiler_info.
1944
1945 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
1946
1947         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1948         from current versions of gdb.  Clean up regular expressions.
1949         Delete redundant timeout case.
1950
1951 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
1952
1953         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1954         from current versions of gdb.  Clean up regular expressions.
1955         Delete redundant timeout case.
1956
1957 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
1958
1959         Partial fix for PR testsuite/1456.
1960         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1961         gcc_compiled with call to test_compiler_info.
1962
1963 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
1964
1965         Partial fix for PR testsuite/1456.
1966         * gdb.base/list.exp (test_list_function): Delete unused declaration
1967         of gcc_compiled.
1968
1969 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
1970
1971         Partial fix for PR testsuite/1456.
1972         * gdb.base/complex.exp: Replace reference to gcc_compiled with
1973         call to test_compiler_info.
1974
1975 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
1976
1977         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
1978         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
1979         it to create the appropriate note.inc.
1980         * gdb.asm/asmsrc1.s: Include "note.inc".
1981         * gdb.asm/netbsd.inc: New file.
1982         * gdb.asm/empty.inc: New file.
1983
1984 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
1985
1986         Partial fix for PR testsuite/1456.
1987         * gdb.base/constvars.exp: Replace references to gcc_compiled with
1988         calls to test_compiler_info.
1989
1990 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
1991
1992         Partial fix for PR testsuite/1456.
1993         * gdb.base/volatile.exp: Replace references to gcc_compiled with
1994         calls to test_compiler_info.
1995
1996 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
1997
1998         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1999         pattern for the KFAILs.
2000
2001 2003-11-25  Adam Fedor  <fedor@gnu.org>
2002
2003         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2004         * gdb.objc/objcdecode.m: New file.
2005
2006 2003-11-25  Adam Fedor  <fedor@gnu.org>
2007
2008         * gdb.objc/nondebug.exp: Test for PR objc/1236.
2009         * gdb.objc/nondebug.m: New file.
2010
2011 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
2012
2013         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2014         NetBSD as it does on FreeBSD.  Modelled on a similar change by
2015         Mark Kettenis on 2003-05-30.
2016         (link-flags): Set to "--entry _start" regardless of target.
2017         Special linker flags are to be appended to $link-flags.
2018         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2019
2020 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
2021
2022         * gdb.cp/method.exp: Accept output of new demangler.
2023
2024 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
2025
2026         * gdb/class2.exp: New file.
2027         * gdb/class2.cc: New file.
2028
2029 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
2030
2031         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2032         of new demangler.
2033
2034 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
2035
2036         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2037         of gdb_test "run".
2038
2039 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
2040
2041         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
2042         "continue" into "run".
2043
2044 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
2045
2046         Partial fix for PR testsuite/1456.
2047         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2048         call to test_compiler_info.
2049         * gdb.cp/ctti.exp: Likewise.
2050         * gdb.cp/derivation.exp: Likewise.
2051         * gdb.cp/member-ptr.exp: Likewise.
2052         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2053         reference to gcc_compiled.
2054
2055 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
2056
2057         Fix PR testsuite/1463.
2058         * gdb.base/structs.exp (start_structs_test): Call
2059         get_debug_format before using the debug format.
2060
2061 2003-11-22  Andrew Cagney  <cagney@redhat.com>
2062
2063         * lib/gdb.exp (gdb_test_multiple): Add simple example.
2064         * gdb.base/structs.exp: Use gdb_test_multiple.
2065
2066 2003-11-20  Andrew Cagney  <cagney@redhat.com>
2067
2068         * gdb.base/structs.exp: Handle and recover from internal errors.
2069         Replace "foo${n}" with "foo<n>" in test messages.
2070
2071         * gdb.base/structs.exp: Update copyright.  Rewrite.
2072         * gdb.base/structs.c: Update copyright.  Rewrite.
2073
2074         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2075         resync count exceeded.
2076
2077         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2078         from the internal error.
2079         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2080         Original from Jim Blandy.
2081         (gdb_test_multiple): Use gdb_internal_error_resync.
2082
2083 2003-11-19  Andrew Cagney  <cagney@redhat.com>
2084
2085         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2086         KFAIL.
2087
2088 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
2089
2090         New testcase for PR backtrace/1435.
2091         * gdb.arch/i386-unwind.exp: New file.
2092         * gdb.arch/i386-unwind.c: New file.
2093
2094 2003-11-17  Andrew Cagney  <cagney@redhat.com>
2095
2096         * lib/gdb.exp (compiler_info): New global.
2097         (test_compiler_info): New function.
2098         (get_compiler_info): Set compiler_info.
2099         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
2100         "compiler_info" to gcc-<major>-<minor>.
2101
2102 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
2103
2104         * gdb.trace/configure: Remove.
2105
2106 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
2107
2108         * gdb.base/break.c: Add comments to aid finding line numbers for
2109         breakpoints.
2110         * gdb.base/break.exp: Remove all references to explicit line
2111         numbers.
2112
2113 2003-11-11  Nick Clifton  <nickc@redhat.com>
2114
2115         * gdb.base/shreloc.exp: Do not run for targets which do not
2116         support shared objects.
2117
2118 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
2119
2120         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2121         Don't run tests if nofileio flag is given.
2122
2123 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
2124
2125         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2126         as well as 'Watchpoint'.
2127
2128 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
2129
2130         Reported by Jim Ingham <jingham@apple.com>:
2131         * gdb.base/annota1.exp: Match at least one occurrence of the
2132         signal handler annotation.
2133
2134 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
2135
2136         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2137         as well as 'Watchpoint'.
2138
2139 2003-11-05  Michael Chastain  <mec@shout.net>
2140
2141         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2142
2143 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
2144
2145         * gdb.arch/gdb1291.c: New test file.
2146         * gdb.arch/gdb1291.exp: New test script.
2147         * gdb.arch/gdb1431.c: New test file.
2148         * gdb.arch/gdb1431.exp: New test script.
2149
2150 2003-10-22  Michael Chastain  <mec@shout.net>
2151
2152         * gdb.mi/pthreads.c: Add copyright notice.
2153
2154 2003-10-22  Michael Chastain  <mec@shout.net>
2155
2156         * gdb.threads/pthreads.c: Add copyright notice.
2157
2158 2003-10-20  Michael Chastain  <mec@shout.net>
2159
2160         * gdb.base/gdb1056.exp: New test script.
2161
2162 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
2163
2164         * gdb.threads/killed.exp: Use gdb_run_cmd.
2165
2166 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
2167
2168         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2169         create a core file.
2170         * gdb.threads/gcore-thread.exp: Likewise.
2171
2172 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
2173
2174         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2175         type, based on char type.
2176         (struct bit_flags_short_t): New bitfield type, based on short type.
2177         (init_bit_flags_char): New fuction.
2178         (init_bit_flags_short): Ditto.
2179         (print_bit_flags_char): Ditto.
2180         (print_bit_flags_short): Ditto.
2181         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2182
2183 2003-10-11  Michael Chastain  <mec@shout.net>
2184
2185         * gdb.base/call-rt-st.exp: Update copyright year.
2186
2187 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
2188
2189         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2190         * gdb.disasm/sh3.s: Ditto.
2191
2192 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
2193
2194         * gdb.threads/switch-threads.exp: New test.
2195         * gdb.threads/switch-threads.c: New source file.
2196
2197 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
2198
2199         * gdb.base/ending-run.exp: Add sh specific case.
2200
2201 2003-10-06  Andrew Cagney  <cagney@redhat.com>
2202
2203         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2204         * gdb.disasm/mn10200.exp: Delete obsolete file.
2205
2206 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
2207
2208         * ChangeLog: Correct an entry command.exp -> commands.exp.
2209         * gdb.base/commands.exp (bp_deleted_in_command_test)
2210         (temporary_breakpoint_commands): Check noargs.
2211
2212 2003-09-25  David Carlton  <carlton@kealia.com>
2213
2214         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
2215         of some print tests, where appropriate.  Add tests for C::D::cd,
2216         E::ce, F::cXfX, G::XgX.
2217         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2218
2219 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
2220
2221         * lib/java.exp (java_init): Import target_alias before using it.
2222
2223 2003-09-25  David Carlton  <carlton@kealia.com>
2224
2225         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2226
2227 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
2228
2229         * gdb.base/selftest.exp: Accomodate more instruction reordering
2230         weirdness.
2231
2232 2003-09-17  Michael Chastain  <mec@shout.net>
2233
2234         * gdb.cp/gdb1355.exp: New file.
2235         * gdb.cp/gdb1355.c: New file.
2236
2237 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
2238
2239         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2240         * gdb.asm/sh.inc: New file.
2241
2242 2003-09-11  David Carlton  <carlton@kealia.com>
2243
2244         * gdb.cp/namespace.exp: Add tests for namespace types.
2245         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
2246         (test_namespace): New.
2247
2248 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
2249
2250         * gdb.base/relocate.exp: Handle new gdb output at startup.
2251         * gdb.stabs/weird.exp: Ditto.
2252
2253 2003-09-08  Michael Chastain  <mec@shout.net>
2254
2255         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2256
2257 2003-09-07  Michael Chastain  <mec@shout.net>
2258
2259         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2260         'parse error'.
2261
2262 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
2263
2264         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2265
2266 2003-08-30  Michael Chastain  <mec@shout.net>
2267
2268         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2269         * gdb.gdb/observer.exp: Ditto.
2270         * gdb.gdb/xfullpath.exp: Ditto.
2271
2272 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
2273
2274         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2275         *-*-*bsd*.
2276
2277 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
2278
2279         * gdb.base/dump.exp: Skip for ia64.
2280
2281 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
2282
2283         * gdb.asm/asm-source.exp: Add ia64 support.
2284         * gdb.asm/ia64.inc: New file.
2285
2286 2003-08-22  Michael Chastain  <mec@shout.net>
2287
2288         * gdb.cp: New directory.
2289         * gdb.cp/*: Copy from gdb.c++/*.
2290         * gdb.c++/*: Remove.
2291         * Makefile.in: Change gdb.c++ to gdb.cp.
2292         * configure.in:  Ditto.
2293         * configure: Regnerate.
2294
2295 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
2296
2297         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2298         * gdb.arch/i386-prologue.c (gdb1338): Add function.
2299
2300 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
2301
2302         * mi-var-display.exp (-var-list-children weird): Accept function
2303         pointers with argument types.
2304         * mi1-var-display.exp (-var-list-children weird): Likewise.
2305         * mi2-var-display.exp (-var-list-children weird): Likewise.
2306
2307 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
2308
2309         * gdb.base/annota3.exp: Add missing newline.
2310
2311 2003-08-06  Michael Chastain  <mec@shout.net>
2312
2313         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2314
2315 2003-08-12  Michael Snyder  <msnyder@redhat.com>
2316
2317         * gdb.base/float.exp: Add test for SH.
2318
2319 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
2320
2321         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2322
2323 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
2324
2325        * gdb.base/completion.exp: Remove reduntant completion test
2326        on filename.
2327
2328 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
2329
2330         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2331         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2332         gdb.trace/save-trace.exp: Make sure that full pathnames are
2333         escaped correctly.
2334
2335 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
2336
2337         * configure.in: Don't generate config.h from config.hin.
2338         * configure: Regenerate.
2339         * config.hin: Remove file.
2340         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2341         * gdb.threads/pthreads.c: Ditto.
2342
2343 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
2344
2345         From Kei Sakamoto <sakamoto.kei@renesas.com>:
2346         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2347         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2348         Replace ld24 with seth/add3.
2349
2350 2003-08-02  Andrew Cagney  <cagney@redhat.com>
2351
2352         * gdb.base/annota3.exp: New file.
2353         * gdb.base/annota3.c: New file.
2354         * gdb.c++/annota3.exp: New file.
2355         * gdb.c++/annota3.cc: New file.
2356
2357 2003-07-29  Michael Chastain  <mec@shout.net>
2358
2359         * gdb.threads/tls.c (spin): Check errno only if sem_wait
2360         actually failed.
2361         (do_pass): Likewise.
2362         * gdb.threads/tls.exp: Always initialize no_of_threads.
2363
2364 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
2365
2366         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2367         pattern.
2368         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2369         * gdb.threads/tls.exp: Recognize one case of the host library not
2370         supporting TLS.
2371
2372 2003-07-27  Andrew Cagney  <cagney@redhat.com>
2373
2374         * gdb.base/fileio.exp: Use SH when running commands using
2375         remote_exec.
2376
2377 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
2378
2379         From Kei Sakamoto <sakamoto.kei@renesas.com>:
2380         * gdb.base/relocate.c (dummy): New padding array.
2381
2382 2003-07-22  Michael Snyder  <msnyder@redhat.com>
2383
2384         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
2385
2386         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2387         patterns to be more general, accepting old and new output.
2388         Some output chars (such as '+') also must be quoted.
2389         Some addresses are displayed numerically instead of
2390         symbolically.
2391
2392 2003-07-23  Michael Snyder  <msnyder@redhat.com>
2393
2394         * gdb.base/return2.exp: Don't test long-long return.
2395
2396         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2397         * gdb.disasm/t01_mov.exp: Ditto.
2398         * gdb.disasm/t02_mova.s: Ditto.
2399         * gdb.disasm/t02_mova.exp: Ditto.
2400         * gdb.disasm/t03_add.s: Ditto.
2401         * gdb.disasm/t03_add.exp: Ditto.
2402         * gdb.disasm/t04_sub.s: Ditto.
2403         * gdb.disasm/t04_sub.exp: Ditto.
2404         * gdb.disasm/t05_cmp.s: Ditto.
2405         * gdb.disasm/t05_cmp.exp: Ditto.
2406         * gdb.disasm/t06_ari2.s: Ditto.
2407         * gdb.disasm/t06_ari2.exp: Ditto.
2408         * gdb.disasm/t07_ari3.s: Ditto.
2409         * gdb.disasm/t07_ari3.exp: Ditto.
2410         * gdb.disasm/t08_or.s: Ditto.
2411         * gdb.disasm/t08_or.exp: Ditto.
2412         * gdb.disasm/t09_xor.s: Ditto.
2413         * gdb.disasm/t09_xor.exp: Ditto.
2414         * gdb.disasm/t10_and.s: Ditto.
2415         * gdb.disasm/t10_and.exp: Ditto.
2416         * gdb.disasm/t11_logs.s: Ditto.
2417         * gdb.disasm/t11_logs.exp: Ditto.
2418         * gdb.disasm/t12_bit.s: Ditto.
2419         * gdb.disasm/t12_bit.exp: Ditto.
2420         * gdb.disasm/t13_otr.s: Ditto.
2421         * gdb.disasm/t13_otr.exp: Ditto.
2422
2423 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
2424
2425         * gdb.threads/tls.exp :Add kfail for 'info address' case.
2426
2427 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
2428
2429         * gdb.threads/tls.c : New file.
2430         * gdb.threads/tls.exp : New file.
2431         * gdb.threads/tls-main.c : New file.
2432         * gdb.threads/tls-shared.c : New file.
2433         * gdb.threads/tls-shared.exp : New file.
2434
2435 2003-07-22  Andreas Schwab  <schwab@suse.de>
2436
2437         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2438
2439 2003-07-20  Andreas Schwab  <schwab@suse.de>
2440
2441         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2442         due to insn reordering.
2443
2444 2003-07-15  Andrew Cagney  <cagney@redhat.com>
2445
2446         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2447
2448 2003-07-15  Michael Chastain  <mec@shout.net>
2449
2450         * gdb.base/gdb1250.exp: New file.
2451         * gdb.base/gdb1250.c: New file.
2452
2453 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
2454
2455         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2456         expansion of size_t to 'unsigned long', not only to 'unsigned'.
2457
2458 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
2459
2460         * gdb.threads/tls.c: New file.
2461         * gdb.threads/tls.exp: New file.
2462         * gdb.threads/tls-main.c: New file.
2463         * gdb.threads/tls-shared.c: New file.
2464         * gdb.threads/tls-shared.exp: New file.
2465
2466 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
2467
2468         * gdb.base/annota1.exp: Make sure that we properly escape the
2469         full path of the source file. Xfail more permissive patterns,
2470         due to a compiler debug info problem.
2471
2472 2003-07-07  Andreas Schwab  <schwab@suse.de>
2473
2474         * gdb.asm/m68k.inc: New file.
2475         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2476
2477         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2478         arguments"): Also match negative number.
2479
2480         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2481
2482 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
2483
2484         * gdb.base/store.c (charest): New typedef.
2485         (add_char): Rename to add_charest, update.
2486         (wack_char): Rename to wack_charest, update types.  Return l + r
2487         to keep r live across the call.
2488         (wack_short, wack_int, wack_long, wack_longest, wack_float)
2489         (wack_double, wack_doublest): Return l + r to keep r live across
2490         the call.
2491         * gdb.base/store.exp: Accomodate store.c changes.
2492
2493 2003-06-30  David Carlton  <carlton@kealia.com>
2494
2495         * gdb.c++/maint.exp (test_invalid_name): New.
2496         (test_first_component): Add tests for invalid names.
2497
2498 2003-06-29  Michael Chastain  <mec@shout.net>
2499
2500         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2501         output of '<VTT for class>' for virtual base classes.
2502
2503 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
2504
2505         * gdb.base/completion.exp: Tab-complete "complet" instead of
2506         "compl".
2507         * gdb.base/complex.exp, gdb.base/complex.c: New files.
2508
2509 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
2510
2511         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2512         * gdb.base/volatile.exp: Likewise.
2513
2514 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
2515
2516         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2517         gdb/1265.
2518
2519 2003-06-28  Michael Chastain  <mec@shout.net>
2520             Daniel Jacobowitz  <drow@mvista.com>
2521
2522         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2523         initial line count of 'captured_main' from 26 to 32.
2524         (test_with_self): Allow xmalloc call to be interleaved with the
2525         preceding two lines.
2526
2527 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
2528
2529         * gdb.base/bang.exp: New testcase.
2530
2531 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
2532
2533         * gdb.base/langs.exp: Add some tests for the "minimal" language
2534         support.
2535
2536 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
2537
2538         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2539         the testcase.
2540
2541 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
2542
2543         * gdb.base/relocate.exp: Test add-symbol-file with a variable
2544         offset.
2545
2546 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
2547
2548         * gdb.c++/pr-1210.cc: New file.
2549         * gdb.c++/pr-1210.exp: New file.
2550
2551 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
2552
2553         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2554         000-exec-continue.
2555
2556 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
2557
2558         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2559         on *-*-*bsd* instead of *-*-freebsd*.
2560
2561 2003-06-14  Andrew Cagney  <cagney@redhat.com>
2562
2563         * gdb.base/store.exp: Test longest and doublest.  Test all
2564         parameters.  Weaken return statement match.
2565         * gdb.base/store.c: Add longest and doublest - aka long long and
2566         long double functions.  Put all parameters into local register
2567         variables.  Use negative values.
2568
2569 2003-06-14  Andrew Cagney  <cagney@redhat.com>
2570
2571         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
2572         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
2573         exit status.
2574         * gdb.base/fileio.exp: Disable target when nointerrupts and
2575         noinferiorio, instead of limiting it to remote.  Use remote_exec
2576         instead of system.
2577
2578 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
2579
2580         * gdb.base/float.exp: Add ia64 support.
2581
2582 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
2583
2584         * gdb.base/fileio.exp: Run only on remote targets.
2585
2586 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
2587
2588         * gdb.base/fileio.c: New file, testing File-I/O.
2589         * gdb.base/fileio.exp: Ditto.
2590
2591 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
2592
2593         * gdb.base/shreloc.exp: New file, check symbol values obtained from
2594         shared objects after relocation at load time (gdb PR/1132).
2595         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2596         as above, part of the shared object relocation test.
2597
2598 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
2599
2600         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2601         fully filled history list.
2602         * gdb.base/gdb_history: New file.
2603
2604         * gdb.base/signals.exp: XFAIL "continue to func1" on
2605         i*86-*-freebsd*.
2606
2607         * gdb.base/attach.exp: When trying to attach to a nonexistent
2608         process, make it possible to specify the PID based on the target,
2609         and do so for *-*-freebsd*.
2610
2611 2003-06-02  Richard Henderson  <rth@redhat.com>
2612
2613         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2614
2615 2003-06-02  Richard Henderson  <rth@redhat.com>
2616
2617         * gdb.base/selftest.exp: Next over lim_at_start initialization.
2618
2619 2003-06-02  Richard Henderson  <rth@redhat.com>
2620
2621         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2622
2623 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
2624
2625         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2626         of globalvar.
2627
2628 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
2629
2630         * gdb.asm/asm-source.exp: Check for memory read errors in
2631         disassembler test on *BSD too.
2632
2633 2003-06-01  Richard Henderson  <rth@redhat.com>
2634
2635         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2636         for .frame.
2637         (gdbasm_call): Lose ldgp.
2638         (gdbasm_startup): Add frame information.
2639         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2640
2641 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
2642
2643         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2644         i?86-*-*.
2645
2646 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
2647
2648         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2649         FreeBSD.
2650
2651 2003-05-29  Richard Henderson  <rth@redhat.com>
2652
2653         * gdb.asm/alpha.inc: New file.
2654         * gdb.asm/asm-source.exp: Use it.
2655
2656 2003-05-29  Jim Blandy  <jimb@redhat.com>
2657
2658         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2659         'core.PID'.
2660
2661 2003-05-22  Jim Blandy  <jimb@redhat.com>
2662
2663         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2664         backtrace.
2665
2666 2003-05-20  David Carlton  <carlton@math.stanford.edu>
2667
2668         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2669         this time.
2670
2671 2003-05-19  David Carlton  <carlton@bactrian.org>
2672
2673         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2674         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2675
2676 2003-05-19  David Carlton  <carlton@bactrian.org>
2677
2678         * gdb.c++/namespace.exp: Add namespace scope and anonymous
2679         namespace tests.
2680         Bump copyright date.
2681         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2682         (main): Call C::D::marker2.
2683         * gdb.c++/namespace1.cc: New file.
2684
2685 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
2686
2687         Roland McGrath  <roland@redhat.com>
2688         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
2689         there is no manager thread.
2690
2691 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
2692
2693         * gdb.threads/schedlock.exp: Remove assumption that all threads
2694         will run in a particular small time slice.  Also ensure we break
2695         in one of the child threads rather than the main thread.
2696
2697 2003-05-07  Jim Blandy  <jimb@redhat.com>
2698
2699         Add support for assembly source testing on the s390x.
2700         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2701         architecture.
2702         * gdb.asm/s390x.inc: New file.
2703
2704         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2705         succession of 'if' statements.
2706
2707 2003-05-05  Andrew Cagney  <cagney@redhat.com>
2708
2709         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2710
2711 2003-05-05  Andrew Cagney  <cagney@redhat.com>
2712
2713         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2714         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2715
2716 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
2717
2718         * gdb.base/charset.exp: Update based on new behavior of set/show
2719         charset commands.
2720
2721 2003-05-01  Andrew Cagney  <cagney@redhat.com>
2722
2723         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2724         variable do not give memory errors.
2725
2726 2003-04-30  Adam Fedor  <fedor@gnu.org>
2727
2728         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2729         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2730         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2731         gdb.objc/basicclass.m: : New files
2732
2733         * lib/gdb.exp (gdb_compile_objc): New procedure.
2734
2735 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
2736
2737         * gdb.base/signals.exp: Make backtrace tests more specific.
2738
2739 2003-04-23  David Carlton  <carlton@bactrian.org>
2740
2741         * gdb.c++/maint.exp (test_first_component): Add tests for
2742         'operator' in more locations.
2743
2744 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
2745
2746         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2747
2748 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
2749
2750         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2751         func marke' instead. Update test name.
2752
2753 2003-04-15  David Carlton  <carlton@math.stanford.edu>
2754
2755         * gdb.c++/maint.exp: New file.
2756
2757 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
2758
2759         * gdb.threads/schedlock.c: Change type of thread function argument
2760         to long, to avoid warnings on 64-bit platforms.
2761
2762 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
2763
2764         * gdb.base/attach.exp: Add new message from ptrace in case of
2765         attaching to nonexistent process.
2766
2767 2003-04-11  Jim Blandy  <jimb@redhat.com>
2768
2769         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2770         gdb.c++/userdef.cc: Place comments on the lines to which the
2771         marker function might return.
2772         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2773         gdb.c++/userdef.exp: Look for those comments to check that we've
2774         returned to the right place, instead of checking line numbers.
2775
2776 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
2777
2778         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2779         match on sourcefile name, instead of directory name.
2780
2781 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
2782
2783         * gdb.base/completion.exp: Use string_to_regexp to match the
2784         working directory name.
2785
2786 2003-04-09  Jim Blandy  <jimb@redhat.com>
2787
2788         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2789         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2790         after an inferior function call, report the failure, but allow the
2791         test to continue.
2792
2793 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
2794
2795         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2796         with -DPROTOTYPES.
2797
2798 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
2799
2800         * gdb.base/break.exp: Revert last patch.
2801
2802 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
2803
2804         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2805         with -DPROTOTYPES.
2806
2807 2003-04-02  Andrew Cagney  <cagney@redhat.com>
2808
2809         * gdb.base/callfuncs.exp: Make "print add" messages unique.
2810         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2811         matching directories by the name breakpoint.
2812         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2813         Make "continue to marker1" consistent.
2814         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2815         message consistent.
2816         * lib/gdb.exp: Put "the program is no longer running", and "the
2817         program exited" in parenthesis.
2818         * lib/mi-support.exp: Ditto.
2819
2820 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
2821
2822         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2823
2824 2003-03-29  Andrew Cagney  <cagney@redhat.com>
2825
2826         * gdb.base/sizeof.c (main): Print the value of '\377'.
2827         * gdb.base/sizeof.exp: Check the sign of '\377'.
2828
2829 2003-03-27  Michael Chastain  <mec@shout.net>
2830
2831         * gdb.base/gdb1090.exp: New file.
2832         * gdb.base/gdb1090.cc: New file.
2833
2834 2003-03-27  J. Brobecker  <brobecker@gnat.com>
2835
2836         * gdb.gdb/observer.exp: New regression test.
2837
2838 2003-03-27  Michael Chastain  <mec@shout.net>
2839
2840         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2841         * gdb.base/ptype.exp: Likewise.
2842
2843 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
2844
2845         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2846
2847 2003-03-26  Michael Chastain  <mec@shout.net>
2848
2849         * gdb.base/ptype.exp: Actually use some typedef'd types.
2850
2851 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
2852
2853         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2854         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2855
2856 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2857
2858         * gdb.base/default.exp: Fix regular expression.
2859
2860 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2861
2862         * gdb.base/args.exp: Fix regular expression.
2863
2864 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2865
2866         * gdb.base/help.exp: Allow Win32 child process.
2867
2868 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2869
2870         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2871         when stepping out of main().
2872
2873 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2874
2875         * gdb.base/default.exp: Check for win32 specific message when calling
2876         "run" without executable.
2877
2878 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2879
2880         * gdb.base/args.exp: Expect .exe in output.
2881
2882 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
2883
2884         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2885         Cygwin native.
2886
2887 2003-03-17  Andrew Cagney  <cagney@redhat.com>
2888
2889         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
2890         vector registes.
2891         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2892         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2893
2894 2003-03-17  David Carlton  <carlton@math.stanford.edu>
2895
2896         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2897         test, for PR breakpoints/38.
2898         Call test_watchpoint_and_breakpoint.
2899         * gdb.base/watchpoint.c (func3): New function.
2900         (main): Call func3.
2901
2902 2003-03-04  David Carlton  <carlton@math.stanford.edu>
2903
2904         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2905         Garply<Garply<char> >:: garply".
2906         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2907         with respect to PR c++/1111; note also PR c++/1113.
2908         (test_template_breakpoints): KFAIL "constructor breakpoint" with
2909         respect to PR c++/1062.
2910         KFAIL "destructor breakpoint" with respect to PR c++/1112.
2911
2912 2003-03-03  David Carlton  <carlton@math.stanford.edu>
2913
2914         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2915         with respect to PR c++/57.
2916         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2917         c++/826.
2918         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2919         respect to PR c++/57.
2920
2921 2003-03-03  David Carlton  <carlton@math.stanford.edu>
2922
2923         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2924         respect to PR c++/33 into FAILs.
2925
2926 2003-03-03  Michael Chastain  <mec@shout.net>
2927
2928         * configure.in: Update copyright years.
2929
2930 2003-03-03  Michael Chastain  <mec@shout.net>
2931
2932         * Makefile.in: Update copyright years.
2933
2934 2003-02-28  David Carlton  <carlton@math.stanford.edu>
2935
2936         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2937         print class instead of struct and/or superfluous protection
2938         specifiers, as long as the resulting output is equivalent to the
2939         source code.
2940         Delete FIXME from end of messages on tests that don't need
2941         fixing.
2942
2943 2003-02-28  David Carlton  <carlton@math.stanford.edu>
2944
2945         * gdb.c++/templates.exp (do_tests): Allow const in the two
2946         Foo<volatile char *>::foo tests.
2947
2948 2003-02-27  Michael Snyder  <msnyder@redhat.com>
2949
2950         * gdb.base/restore.c (main): Return zero, so exit code
2951         will be consistant.
2952
2953 2003-02-26  David Carlton  <carlton@math.stanford.edu>
2954
2955         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2956         char *>::foo" test with respect to PR c++/33.  Create a new test
2957         which is identical to that one except that it doesn't put the
2958         space between the "char" and the "*"; KFAIL it, too.
2959
2960 2003-02-26  David Carlton  <carlton@math.stanford.edu>
2961
2962         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2963         template types into either PASSes or KFAILs (corresponding to PR
2964         c++/57).  Tweak indentation.  Update copyright.
2965
2966 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
2967
2968         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2969
2970 2003-02-13  Michael Chastain  <mec@shout.net>
2971
2972         * gdb.base/exprs.exp: Remove i960 remnants.
2973         * gdb.base/funcargs.exp: Likewise.
2974         * gdb.base/list.exp: Likewise.
2975         * gdb.base/ptype.exp: Likewise.
2976
2977 2003-02-14  David Carlton  <carlton@math.stanford.edu>
2978
2979         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2980         pEe->D::vg()" from XFAIL to KFAIL.
2981
2982 2003-02-13  Jason Molenda  (jmolenda@apple.com)
2983
2984         * gdb.base/maint.exp: Update maint print statistics regexp to include
2985         new entries.
2986
2987 2003-02-13  Michael Chastain  <mec@shout.net>
2988
2989         * gdb.c++/inherit.exp: Remove call to get_debug_format.
2990
2991 2003-02-12  Michael Chastain  <mec@shout.net>
2992
2993         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2994         * gdb.c++/inherit.exp: Likewise.
2995         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2996         * gdb.c++/templates.exp: Likewise.
2997         * gdb.c++/virtfunc.exp: Likewise.
2998
2999 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
3000
3001         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3002         why the code is written that way.
3003
3004 2003-02-05  Michael Chastain  <mec@shout.net>
3005
3006         * gdb.base/dump.exp: Add missing copyright line.
3007
3008 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
3009
3010         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
3011         at the beginning so the breakpoint doesn't get set on the loop.
3012
3013 2003-02-05  Michael Chastain  <mec@shout.net>
3014
3015         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3016         output for configurations with gcc 2.95.3.
3017
3018 2003-02-05  Keith Seitz  <keiths@redhat.com>
3019             Andrew Cagney  <ac131313@redhat.com>
3020
3021         * gdb.mi/mi-cli.exp: New file.
3022
3023 2003-02-04  Michael Chastain  <mec@shout.net>
3024
3025         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3026         Call perror and then continue.
3027
3028 2003-02-03  Michael Chastain  <mec@shout.net>
3029
3030         * gdb.c++/pr-1023.cc: New file.
3031         * gdb.c++/pr-1023.exp: New file.
3032
3033 2003-02-05  Jim Blandy  <jimb@redhat.com>
3034
3035         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3036         it's local to foobar.  Check for it there, and check that it's not
3037         present in main.
3038         * gdb.c++/local.cc (marker2): New function.
3039         (foobar): Call marker1.
3040         (main): Call marker2 instead of marker1.
3041
3042 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
3043
3044         * gdb.disasm/mn10200.exp: Obsolete file.
3045         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3046         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3047         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3048
3049 2003-02-04  David Carlton  <carlton@math.stanford.edu>
3050
3051         * gdb.c++/overload.exp: Test intToChar(1).
3052         * gdb.c++/overload.cc (intToChar): New.
3053         (main): Call intToChar.
3054
3055 2003-02-03  David Carlton  <carlton@math.stanford.edu>
3056
3057         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3058         'might_kfail' arg.
3059         KFAIL some of the continue_to_bp_overloaded calls, according to
3060         PR c++/1025.
3061
3062 2003-02-01  Michael Chastain  <mec@shout.net>
3063
3064         * gdb.base/advance.c (marker1): New marker function.
3065         * gdb.base/advance.exp: When the 'advance' command lands on the
3066         return breakpoint, it can legitimately stop on either the
3067         current line or the next line.  Accommodate both outcomes.
3068         * gdb.base/until.exp: Likewise.
3069
3070 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
3071
3072         2002-11-10 Jason Molenda (jason-cl@molenda.com):
3073         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3074         now a list, not a tuple.
3075         * gdb.mi/mi-var-display.exp: Ditto.
3076         * gdb.mi/gdb792.exp: Ditto.
3077
3078 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
3079
3080         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3081         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3082         stack backtraces.
3083         * gdb.mi/mi-syn-frame.c: Part of same.
3084
3085 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
3086
3087         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3088         gdb.mi/mi1-pthreads.exp: Return instead of calling
3089         gdb_suppress_entire_file.
3090
3091 2003-02-01  Mark Salter  <msalter@redhat.com>
3092
3093         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3094
3095 2003-01-31  Mark Salter  <msalter@redhat.com>
3096
3097         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3098         Support empty arg.
3099
3100 2003-01-30  Michael Chastain  <mec@shout.net>
3101
3102         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3103         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
3104         has been fixed in gdb/readline on 2003-01-09.
3105
3106 2003-01-29  Michael Snyder  <msnyder@redhat.com>
3107
3108         * gdb.base/maint.exp: Allow for leading underscore in symbol.
3109         * gdb.base/display.exp: Allow for leading underscore in symbol.
3110         * gdb.base/args.exp: Skip if target does not support args passing.
3111
3112 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
3113
3114         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
3115         gdb_test.  Accept a list of expect arguments as the third
3116         parameter.
3117         (gdb_test): Use it.
3118
3119 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
3120
3121         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3122         allow for different test tree configurations.  Update some
3123         tescases accordingly.
3124         * gdb.arch/altivec-regs.exp: Ditto.
3125         * gdb.asm/asm-source.exp: Ditto.
3126         * gdb.base/advance.exp: Ditto.
3127         * gdb.base/display.exp: Ditto.
3128         * gdb.base/long_long.exp: Ditto.
3129         * gdb.base/mips_pro.exp: Ditto.
3130         * gdb.base/overlays.exp: Ditto.
3131         * gdb.base/relocate.exp: Ditto.
3132         * gdb.base/setshow.exp: Ditto.
3133         * gdb.base/step-line.exp: Ditto.
3134         * gdb.base/step-test.exp: Ditto.
3135         * gdb.base/until.exp: Ditto.
3136         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3137
3138 2003-01-17  David Carlton  <carlton@math.stanford.edu>
3139
3140         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3141         corresponding to PR c++/945.
3142         Update copyright.
3143
3144 2003-01-17  David Carlton  <carlton@math.stanford.edu>
3145
3146         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3147         corresponding to PR c++/68.
3148
3149 2003-01-17  David Carlton  <carlton@math.stanford.edu>
3150
3151         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3152         (test_paddr_hairy_functions): Call print_addr_2_kfail for
3153         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
3154
3155 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
3156
3157         * gdb.base/break.exp: Fix change of default location, because of
3158         removal of until tests.
3159         * gdb.base/help.exp: Update test for new 'until' help message.
3160         Add test for help on 'advance'.
3161         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3162
3163 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
3164
3165         * gdb.base/default.exp: Adapt "info float" test for recent changes
3166         to that command.  Add test for "info vector".
3167         * gdb.base/float.exp: New file.  Add test for "info float" that
3168         resembles the old test in gdb.base/default.exp.
3169
3170 2003-01-15  David Carlton  <carlton@math.stanford.edu>
3171
3172         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3173
3174 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
3175
3176         * gdb.base/break.exp: Move the tests of until command from here...
3177         * gdb.base/until.exp: ... to here. New file. Add other tests.
3178         * gdb.base/advance.c: New file.
3179         * gdb.base/advance.exp: New file.
3180
3181 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
3182
3183         * gdb.base/args.c: New file.
3184         * gdb.base/args.exp: New file.
3185
3186 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
3187
3188         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3189
3190 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
3191
3192         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3193
3194 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
3195
3196         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
3197         dates.
3198
3199 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
3200
3201         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3202
3203 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
3204
3205         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3206         (ptype &*"foo").
3207         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3208
3209 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
3210
3211         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3212         * gdb.mi/mi1-console.exp: Likewise.
3213
3214 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
3215
3216         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3217         * gdb.mi/mi1-console.exp: Likewise.
3218
3219 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
3220
3221         * gdb.c++/overload.exp: Remove some fixed XFAILs.
3222
3223 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
3224
3225         * gdb.base/detach.exp: New test.
3226
3227 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
3228
3229         * Makefile.in (ALL_SUBDIRS): New variable.
3230         (subdirs, clean, distclean): Use it.
3231         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
3232         regenerating Makefile, since it is generated from the top level.
3233         * gdb.asm/Makefile.in: Likewise.
3234         * gdb.base/Makefile.in: Likewise.
3235         * gdb.c++/Makefile.in: Likewise.
3236         * gdb.disasm/Makefile.in: Likewise.
3237         * gdb.java/Makefile.in: Likewise.
3238         * gdb.mi/Makefile.in: Likewise.
3239         * gdb.threads/Makefile.in: Likewise.
3240         * gdb.trace/Makefile.in: Likewise.
3241
3242 2003-01-09  David Carlton  <carlton@math.stanford.edu>
3243
3244         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3245         Add copyright year 2003.
3246
3247 2003-01-06  Michael Chastain  <mec@shout.net>
3248
3249         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3250         When selecting a thread, 'line' and 'file' are optional.
3251         * gdb.mi/mi1-pthreads.exp: Likewise.
3252
3253 2003-01-06  Andreas Schwab  <schwab@suse.de>
3254
3255         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3256         failures.
3257
3258 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
3259
3260         Fix PR gdb/844
3261         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3262         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3263
3264         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
3265         instead of calling gdb_suppress_entire_file.
3266         * gdb.threads/print-threads.exp: Likewise.
3267         * gdb.threads/schedlock.exp: Likewise.
3268
3269         * gdb.threads/killed.exp: Return instead of calling
3270         gdb_suppress_entire_file.
3271         * gdb.threads/linux-dp.exp: Likewise.
3272         * gdb.threads/pthreads.exp: Likewise.
3273
3274 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
3275
3276         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3277         stabs.
3278         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3279         * gdb.base/whatis.exp: Always allow (void) after function names.
3280
3281 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
3282
3283         * gdb.c++/casts.exp: Correct regexp.
3284
3285 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
3286
3287         * configure.in: Call AC_CONFIG_HEADER.  Don't call
3288         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3289         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
3290         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
3291         aforementioned directories in the AC_OUPUT call.
3292         * config.hin: New file.
3293         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3294         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3295         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3296         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3297         pass -I$objdir instead of -I$objdir/$subdir in compilation.
3298         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3299         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3300         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3301         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3302         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3303         gdb.threads/configure.in, gdb.threads/configure,
3304         gdb.threads/config.in, gdb.trace/configure.in,
3305         gdb.trace/configure: Removed.
3306
3307 2003-01-03  Michael Chastain  <mec@shout.net>
3308
3309         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3310         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3311
3312 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
3313
3314         * gdb.base/store.exp: Fix regular expressions.
3315
3316 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
3317
3318         * configure.in: Rewrite.
3319         * configure: Regenerated.
3320
3321 2003-01-03  David Carlton  <carlton@math.stanford.edu>
3322
3323         * gdb.base/psymtab.exp: New file.
3324         * gdb.base/psymtab1.c: Ditto.
3325         * gdb.base/psymtab2.c: Ditto.
3326
3327 2002-12-23  Adam Fedor  <fedor@gnu.org>
3328
3329         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3330
3331 2002-12-23  David Carlton  <carlton@math.stanford.edu>
3332
3333         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3334         and current_directory initialization.
3335
3336 2002-12-22  Jim Blandy  <jimb@redhat.com>
3337
3338         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3339         rather than as part of the output file name.
3340
3341         * gdb.base/attach.exp: There's no need to copy the test program to
3342         /tmp; that was only ever necessary on HP/UX, and this test is
3343         entirely disabled there anyway.
3344
3345 2002-12-21  Jim Blandy  <jimb@redhat.com>
3346
3347         * gdb.c++/psmang.exp: Doc fix.
3348
3349         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3350         test.
3351
3352 2002-12-20  David Carlton  <carlton@math.stanford.edu>
3353
3354         * gdb.c++/annota2.exp: KFAIL annotate-quit.
3355
3356 2002-12-18  Michael Chastain  <mec@shout.net>
3357
3358         * gdb.c++/annota2.exp: Add copyright year 2002.
3359
3360 2002-12-17  David Carlton  <carlton@math.stanford.edu>
3361
3362         * gdb.c++/try_catch.cc: Add marker comments.
3363         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3364         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3365         * gdb.c++/m-static.cc: Ditto.
3366         * gdb.c++/m-static1.cc: Ditto.
3367         * gdb.c++/try_catch.cc: Ditto.
3368
3369 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
3370
3371         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
3372         to see whether we are using the new -environment-directory
3373         command which resets via -r or the old version of the command
3374         which may prompt the user.  Part of fix for gdb/741.
3375
3376 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
3377
3378         * gdb.fortran/types.exp: Update obsolete comment.
3379         * gdb.fortran/exprs.exp: Ditto.
3380         * lib/gdb.exp: Delete obsolete code.
3381         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3382         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3383         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3384         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3385         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3386         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3387         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3388         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3389         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3390         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3391         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3392         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3393         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3394         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3395         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3396         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3397         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3398         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3399         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3400         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3401         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3402         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3403         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3404         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3405         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3406         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3407         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3408         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3409         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3410         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3411         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3412         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3413         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3414         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3415         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3416         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3417         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3418
3419 2002-12-11  David Carlton  <carlton@math.stanford.edu>
3420
3421         * gdb.c++/m-data.exp: Add test for members that shadow global
3422         variables: see PR gdb/804.
3423         * gdb.c++/m-data.cc: Ditto.
3424
3425 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
3426
3427         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3428
3429 2002-12-06  David Carlton  <carlton@math.stanford.edu>
3430
3431         * gdb.base/store.c: Don't declare functions static.
3432
3433 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
3434
3435         * gdb.base/store.exp, gdb.base/store.c: New files.
3436
3437 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
3438
3439         * gdb.base/selftest.exp: Update for current gdb.
3440
3441 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
3442
3443         * gdb.base/maint.exp: Only dump symbols from one source file
3444         or objfile.
3445
3446 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
3447
3448         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3449         function call.
3450
3451 2002-11-25  Jim Blandy  <jimb@redhat.com>
3452
3453         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3454         function appearing in error message.
3455
3456 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
3457
3458         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3459
3460 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
3461
3462         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3463         for mi1 and current mi is in correct format.  New mi startup message
3464         should be in mi console format.  This is part of fix for PR gdb/604.
3465
3466 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
3467
3468         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3469         which explicitly prints the zero offset as "+0".
3470
3471 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
3472
3473         * gdb.threads/schedlock.c (args): Make unsigned.
3474
3475 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
3476
3477         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
3478         numbers.  Allow "foo2|selected stack frame".
3479         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3480         * gdb.asm/asmsrc2.s: Likewise.
3481         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
3482         comments.
3483         * gdb.asm/mips.inc: New file.
3484
3485 2002-10-18  Adam Fedor  <fedor@gnu.org>
3486
3487         * gdb.base/default.exp: Update expected output to include 'ObjC'.
3488         * gdb.base/help.exp: Likewise.
3489
3490 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
3491
3492         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3493         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3494
3495 2002-10-02  Jim Blandy  <jimb@redhat.com>
3496
3497         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3498
3499 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
3500
3501         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3502         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3503         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3504         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3505         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3506         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3507         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3508
3509 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
3510
3511         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3512         * mi0-disassemble.exp, mi0-eval.exp: Delete.
3513         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3514         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3515         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3516         * mi0-var-block.exp, mi0-var-child.exp: Delete.
3517         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
3518
3519 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
3520
3521         * gdb.base/annota1.exp (info break): Make directory components of
3522         path optional since not all compilers emit this debug information.
3523
3524         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3525         step ends up stepping out of the function instead of stopping on
3526         the epilogue.
3527
3528 2002-09-26  Keith Seitz  <keiths@redhat.com>
3529
3530         * lib/insight-support.exp (gdbtk_start): Figure out where
3531         the insight executable is based on where gdb is. Use this
3532         executable to start insight instead of gdb.
3533
3534 2002-09-25  Andrew Cagney  <cagney@redhat.com>
3535
3536         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3537
3538 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
3539
3540         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3541         test_isolated_complaints.
3542         (test_empty_complaint): New function.
3543         (test_empty_complaints): New function.  Check no output when no
3544         complaints.
3545
3546 2002-09-19  Jim Blandy  <jimb@redhat.com>
3547
3548         * gdb.base/charset.exp, gdb.base/charset.c: New files.
3549
3550 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
3551
3552         * gdb.gdb/complaints.exp: New file.
3553
3554 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
3555
3556         * gdb.base/maint.exp: Check `help maint internal-warning'.
3557
3558 2002-09-18  David Carlton  <carlton@math.stanford.edu>
3559
3560         * gdb.c++/m-static.exp: Remove breakpoints depending on line
3561         numbers, and replace them by a single breakpoint after the
3562         constructors are all finished.
3563         Add test 4.
3564         * gdb.c++/m-static.cc: Add test 4.
3565         * gdb.c++/m-static.h: New file.
3566         * gdb.c++/m-static1.cc: New file.
3567
3568         * gdb.c++/printmethod.exp: New file.
3569         * gdb.c++/printmethod.cc: New file.
3570
3571         * gdb.c++/pr-574.exp: New file.
3572         * gdb.c++/pr-574.cc: New file.
3573
3574 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
3575
3576         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3577         embedded targets which never actually exit.
3578
3579 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
3580
3581         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3582         "don't step after run" as unresolved or unsupported, instead of xfail.
3583
3584 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
3585
3586         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3587         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3588         Add newline to expected string in "step out of main (status wrapper)"
3589         case.
3590
3591 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
3592
3593         * lib/gdb.exp (rerun_to_main): Allow restarting application.
3594         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3595
3596 2002-09-17  Tom Tromey  <tromey@redhat.com>
3597
3598         * gdb.base/printcmds.exp (test_print_string_constants): Expect
3599         \000, not \0, in double-quoted string.
3600
3601 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
3602
3603         * gdb.base/commands.exp: Don't expect a "Program exited normally"
3604         string after running the commands execution on breakpoint tests.
3605
3606 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
3607
3608         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3609
3610 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
3611
3612         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3613
3614 2002-09-10  Keith Seitz  <keiths@redhat.com>
3615
3616         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3617         runto proc.
3618         (mi_run_to_main): Use mi_runto.
3619         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3620
3621 2002-09-10  Keith Seitz  <keiths@redhat.com>
3622
3623         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3624         regexp for stopping at main. Could have multiple event notifications.
3625         Don't assume that main was declared with no parameters.
3626         (mi_next): Use mi_step_to.
3627         (mi_step): Use mi_next_to.
3628
3629 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
3630
3631         * gdb.base/default.exp: Fix expected string in `info float' test.
3632
3633 2002-09-09  Ben Elliston  <bje@redhat.com>
3634
3635         * config/mips.exp: Update comments.
3636         * config/mips-idt.exp: Likewise.
3637         * config/nind.exp: Likewise.
3638         * config/slite.exp: Likewise.
3639         * config/sparclet.exp: Likewise.
3640         * config/udi.exp: Likewise.
3641         * config/vx.exp: Likewise.
3642         * config/vxworks29k.exp: Likewise.
3643
3644 2002-09-05  Jim Blandy  <jimb@redhat.com>
3645
3646         * gdb.threads/killed.exp: Fix test failure message.
3647
3648 2002-09-04  Keith Seitz  <keiths@redhat.com>
3649
3650         * lib/mi-support.exp: Update copyright.
3651         (mi_gdb_test): Increase the priority of the expected pattern
3652         so that it matches gdb_test.
3653
3654 2002-09-03  Keith Seitz  <keiths@redhat.com>
3655
3656         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3657         Use integer comparison instead of string comparison for testing
3658         whether binary was built.
3659
3660 2002-09-03  Jim Blandy  <jimb@redhat.com>
3661
3662         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3663
3664 2002-08-29  Jim Blandy  <jimb@redhat.com>
3665
3666         * gdb.threads/pthreads.exp: Move the portable thread compilation
3667         code into a function in lib/gdb.exp, and call that from here.
3668         * lib/gdb.exp (gdb_compile_pthreads): New function.
3669
3670 2002-08-29  Keith Seitz  <keiths@redhat.com>
3671
3672         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3673         expect_out so that callers can get at it.
3674
3675 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
3676
3677         * gdb.threads/print-threads.c: New file.
3678         * gdb.threads/print-threads.exp: New file.
3679         * gdb.threads/schedlock.c: New file.
3680         * gdb.threads/schedlock.exp: New file.
3681
3682 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
3683
3684         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3685         not altivec.c.
3686
3687 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
3688
3689         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3690         targets.  The problem should be fixed now.
3691
3692 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
3693
3694         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3695         2002-07-24 change that removes final dots from error messages.
3696
3697 2002-08-13  Tom Tromey  <tromey@redhat.com>
3698
3699         * gdb.base/readline.exp: New file.
3700
3701 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
3702
3703         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3704         supress message.
3705
3706 2002-08-01  Andrew Cagney  <cagney@redhat.com>
3707
3708         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3709         CHILL_FOR_TARGET and CHILL_LIB.
3710         * configure.in (configdirs): Remove gdb.chill.
3711         * configure: Regenerate.
3712         * lib/gdb.exp: Obsolete references to chill.
3713         * gdb.fortran/types.exp: Ditto.
3714         * gdb.fortran/exprs.exp: Ditto.
3715
3716 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
3717
3718         * gdb.base/shlib-call.exp (additional_flags): Conditionally
3719         set Irix-specific compile and link flags.
3720
3721 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
3722
3723         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3724         source files.  The ``-o'' option doesn't work with the ``-E'' option
3725         when using the Irix compiler.
3726
3727 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
3728
3729         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3730         Improve support for reusing an exec file.  Copy exec file
3731         to target, and run gdbserver on the target instead of on the host.
3732
3733 2002-07-18  Jim Blandy  <jimb@redhat.com>
3734
3735         * gdb.base/ending-run.exp: Don't expect to see the program end in
3736         some orderly fashion when we're running on a real stand-alone
3737         board.
3738
3739         * gdb.base/interrupt.exp: Correct logic for skipping tests on
3740         targets that don't support interrupts.
3741
3742 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
3743
3744         * gdb.base/attach.exp: Add patterns to match output from /proc-based
3745         systems.
3746         Move comments in expect statements to inside the actions, so that they
3747         don't get matched against.
3748
3749 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
3750
3751         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3752         function when asleep" test.
3753
3754 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
3755
3756         * gdb.base/page.exp: Rewrite to handle problems with very long
3757         `info set' output.  Update copyright.
3758
3759 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
3760
3761         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3762         gdb.threads-hp.
3763         * gdb.hp/configure: Regenerate.
3764         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3765         * gdb.hp/gdb.threads-hp/configure: Delete file.
3766         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3767
3768 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
3769
3770         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3771         setlocale, bindtextdomain and textdomain.
3772
3773 2002-06-11  Jim Blandy  <jimb@redhat.com>
3774
3775         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3776         preprocessor macro information is present.
3777
3778         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3779         tests.
3780
3781 2002-06-06  Michael Snyder  <msnyder@redhat.com>
3782
3783         * gdb.base/overlays.exp: Record addresses of overlay
3784         functions in TCL variables rather than in GDB variables,
3785         to avoid having GDB convert them to pointers (with loss
3786         of information).
3787
3788         * gdb.base/d10v.ld: Merge in several years worth of
3789         default linker script changes.
3790         * gdb.base/long_long.exp: Add check for sizeof (long double).
3791
3792 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
3793
3794         * gdb.asm/asm-source.exp: Add x86-64 target.
3795         * gdb.asm/x86_64.inc: New.
3796
3797 2002-05-30  Michael Chastain  <mec@shout.net>
3798
3799         From Benjamin Kosnik <bkoz@redhat.com>:
3800         * gdb.c++/m-static.cc: New file.
3801         * gdb.c++/m-static.exp: New file.
3802
3803 2002-05-28  Michael Snyder  <msnyder@redhat.com>
3804
3805         * gdb.base/call-ar-st.exp: Allow for reduced floating point
3806         precision.
3807
3808 2002-05-27  Michael Chastain  <mec@shout.net>
3809
3810         From Benjamin Kosnik <bkoz@redhat.com>:
3811         * gdb.c++/m-data.cc: New file.
3812         * gdb.c++/m-data.exp: New file.
3813
3814 2002-05-27  Michael Chastain  <mec@shout.net>
3815
3816         From Benjamin Kosnik <bkoz@redhat.com>:
3817         * gdb.c++/try_catch.cc: New file.
3818         * gdb.c++/try_catch.exp: New file.
3819
3820 2002-05-27  Michael Chastain  <mec@shout.net>
3821
3822         * gdb.c++/local.exp: Accept more nested types in output.
3823
3824 2002-05-26  Michael Chastain  <mec@shout.net>
3825
3826         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3827
3828 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
3829
3830         * lib/gdb.exp (gdb_wrapper_init): Just because
3831         gdb_wrapper_file exists, this does not mean that the file
3832         should not be rebuilt.  That is what gdb_wrapper_initialized
3833         is for.
3834         (default_gdb_init): Reset gdb_wrapper_initialized.
3835
3836 2002-05-23  Michael Snyder  <msnyder@redhat.com>
3837
3838         * gdb.base/all-bin.exp: Revise previous patch by just reducing
3839         the precision of the floating point test results.
3840         * gdb.base/call-rt-st.exp: Ditto.
3841
3842         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3843         * gdb.base/call-rt-st.exp: Ditto.
3844
3845 2002-05-19  Michael Chastain  <mec@shout.net>
3846
3847         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3848
3849 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
3850
3851         * configure.in (configdirs): Add gdb.arch.
3852         * configure: Regenerate.
3853
3854 2002-05-17  Jim Blandy  <jimb@redhat.com>
3855
3856         * gdb.base/completion.exp: Recognize the more detailed error
3857         messages produced by the macro expander's lexical analyzer.
3858
3859 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
3860
3861         * gdb.arch/altivec-abi.c: New file.
3862         * gdb.arch/altivec-abi.exp: New file.
3863         * gdb.arch/altivec-regs.c: New file.
3864         * gdb.arch/altivec-regs.exp: New file.
3865
3866 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
3867
3868         * gdb.base/maint.exp (maint print type): Update for new type
3869         structure.
3870
3871 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
3872
3873         * gdb.arch: New directory.
3874         * gdb.arch/configure.in: New file.
3875         * gdb.arch/configure: New file.
3876         * gdb.arch/Makefile.in: New file.
3877
3878 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
3879
3880         * gdb.asm/asm-source.exp: Add v850 as supported target.
3881         * gdb.asm/v850.inc: New file.
3882
3883 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
3884
3885         * gdb.c++/annota2.exp (annotate-quit): Add comment.
3886
3887 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
3888
3889         * gdb.base/break.exp: Check 'break "marker2"'.
3890
3891 2002-05-10  Michael Snyder  <msnyder@redhat.com>
3892
3893         * gdb.base/long_long.exp: Fix typo.
3894
3895 2002-05-10  Jim Blandy  <jimb@redhat.com>
3896
3897         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
3898         a bug.
3899
3900         * gdb.base/printcmds.exp (test_integer_literals_rejected):
3901         Recognize more detailed error message produced by the macro
3902         expander's lexical analyzer.
3903         * lib/gdb.exp (test_print_reject): Same.
3904
3905 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
3906
3907         * gdb.c++/method.exp: Fix typo.
3908
3909 2002-05-08  Michael Snyder  <msnyder@redhat.com>
3910
3911         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3912         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
3913         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
3914         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3915         Add iftarget clause for strongarm.
3916
3917 2002-05-06  Michael Snyder  <msnyder@redhat.com>
3918
3919         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3920         (gdb_continue_to_end): Accept output from status wrapper.
3921         * gdb.base/ending-run.exp: Add case for output from status wrapper.
3922         Clean up fail messages to match pass messages.
3923
3924         Enable the "needs_status_wrapper" testsuite feature.
3925         * lib/gdb.exp (gdb_wrapper_init): New procedure.
3926         (gdb_compile): Conditionally call gdb_wrapper_init.
3927         * gdb.base/a2-run.exp: Recognize output from status wrapper.
3928         * gdb.c++/method.exp: Recognize output from status wrapper.
3929
3930 2002-05-06  Ben Elliston  <bje@redhat.com>
3931 From Graydon Hoare  <graydon@redhat.com>
3932
3933         * config/sid.exp: Include support for "rawsid" protocol.
3934
3935 2002-05-03  Jim Blandy  <jimb@redhat.com>
3936
3937         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3938         * gdb.c++/hang3.C: New file.
3939
3940 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
3941
3942         * gdb.base/default.exp: Remove obsolete code.
3943         * gdb.c++/misc.exp: Ditto.  Update copyright.
3944         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
3945         * gdb.base/whatis.exp: Ditto.  Update copyright.
3946         * gdb.base/scope.exp: Ditto.  Update copyright.
3947         * gdb.base/ptype.exp: Ditto.  Update copyright.
3948         * gdb.base/printcmds.exp: Ditto.  Update copyright.
3949         * gdb.base/opaque.exp: Ditto.  Update copyright.
3950         * gdb.base/list.exp: Ditto.
3951         * gdb.base/funcargs.exp: Ditto.  Update copyright.
3952         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3953         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3954         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3955         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3956         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3957         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3958
3959 2002-05-02  Michael Snyder  <msnyder@redhat.com>
3960
3961         * gdb.base/watchpoint.exp: Add xscale target.
3962         * gdb.base/long_long.exp: Add xscale target.
3963         * gdb.base/default.exp: Add xscale target.
3964
3965 2002-05-01  Jim Blandy  <jimb@redhat.com>
3966
3967         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3968         gdb.c++/hang.exp: New test.
3969
3970 2002-05-01  Fred Fish  <fnf@redhat.com>
3971
3972         * gdb.base/completion.exp: Handle completions of "./Make" for
3973         more than one completion possibility, as is the case when we
3974         build and test in the source tree.
3975
3976 2002-04-29  Anthony Green  <green@redhat.com>
3977
3978         * gdb.java/jmisc1.exp: New file.
3979         * gdb.java/jmisc2.exp: New file.
3980
3981 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
3982
3983         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3984
3985 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
3986
3987         * gdb.base/help.exp: Change 'help status' to allow for target
3988         dependent output differences.
3989
3990 2002-04-22  Michael Chastain  <mec@shout.net>
3991
3992         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3993
3994 2002-04-22  Michael Chastain  <mec@shout.net>
3995
3996         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3997
3998 2002-04-17  David S. Miller  <davem@redhat.com>
3999
4000         * gdb.asm/sparc64.inc: New file.
4001         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4002
4003 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
4004
4005         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4006         instruction file directly into the build tree.  Clean up at end of
4007         test.
4008
4009 2002-04-18  David S. Miller  <davem@redhat.com>
4010
4011         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4012         handle 64-bit platforms correctly.
4013         * gdb.base/maint.exp: Likewise.
4014
4015 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
4016
4017         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4018         ``-fpic'' when compiling files comprising a shared library, but
4019         it does need additional linker flags in order to find shared
4020         libraries at run time.
4021
4022 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
4023
4024         * gdb.base/cvexpr.c (use): New function.
4025         (main): Invoke use() on all global variables to prevent
4026         some linkers from deleting these otherwise unused symbols.
4027
4028 2002-04-17  Michael Chastain  <mec@shout.net>
4029 From David S. Miller  <davem@redhat.com>
4030
4031         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4032         handle 64-bit platforms correctly.
4033
4034 2002-04-12  Michael Snyder  <msnyder@redhat.com>
4035 From Jim Blandy  <jimb@redhat.com>
4036         * gdb.base/foo.c (foox): Remove section attribute; the linker
4037         script can handle this instead.
4038         * gdb.base/bar.c (barx): Same.
4039         * gdb.base/baz.c (bazx): Same.
4040         * gdb.base/grbx.c (grbxx): Same.
4041
4042         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4043         manager doesn't automatically unmap overlays unnecessarily.
4044
4045 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
4046
4047         * gdb.base/ending-run.exp: Fix pattern for Mips targets
4048         stepping out of main.
4049
4050 2002-04-09  Michael Chastain  <mec@shout.net>
4051
4052         * gdb.c++/local.cc (main): Move call to marker1() inside nested
4053         scope so that the nested scope tests will make sense.
4054         * gdb.c++/local.exp: Write patterns that actually work with gcc
4055         (the HP patterns "were never known to work with gcc").
4056         Keep the old aCC patterns too.
4057
4058 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
4059
4060         * gdb.base/attach.exp: Correct target board test.
4061
4062 2002-04-08  Michael Chastain  <mec@shout.net>
4063
4064         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4065         in a const method.  Add some xfail and fail cases for configurations
4066         that do not emit the "const ...".
4067
4068 2002-04-07  Michael Chastain  <mec@shout.net>
4069
4070         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4071         Accept "A * const" and "const A * const" as type of "this".
4072         Fix spelling of getFunky throughout.  Make messages uniform.
4073
4074 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
4075
4076         Work around for PR gdb/285:
4077         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4078
4079 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
4080
4081         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4082         instructions file at run time instead of configure time.
4083         Sometimes we run the test in a directory that is not the one we
4084         configured in.
4085         * gdb.asm/configure.in: Delete creation of symlink.
4086         * gdb.asm/configure: Regenerate.
4087
4088 2002-04-05  J. Brobecker  <brobecker@gnat.com>
4089
4090         * gdb.gdb/xfullpath.exp: New test, to exercise the new
4091         xfullpath () function.
4092
4093 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
4094
4095         * gdb.asm/Makefile.in: Correct dependencies.
4096
4097         * gdb.asm/powerpc.inc: New file.
4098         * gdb.asm/asm-source.exp: Add PowerPC.
4099         * gdb.asm/configure.in: Likewise.
4100         * gdb.asm/configure: Regenerated.
4101
4102 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
4103
4104         * gdb.base/relocate.exp: New file.
4105         * gdb.base/relocate.c: New file.
4106
4107 2002-04-04  Fred Fish  <fnf@redhat.com>
4108
4109         * gdb.base/step-test.exp: Update comment regarding stopping in
4110         memcpy/bcopy calls inserted as part of the compiler runtime.
4111
4112 2002-04-04  Michael Snyder  <msnyder@redhat.com>
4113
4114         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4115
4116 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
4117
4118         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4119         (gdb_expect): Remove $notransfer hack.
4120
4121 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
4122
4123         * gdb.c++/classes.exp ("calling method for small class"): Match
4124         updated register output.
4125
4126 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
4127
4128         Fix PR gdb/452
4129         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4130         when finished.  Make gdb_file_cmd send "exec-file" when
4131         appropriate.
4132
4133 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
4134
4135         * gdb.base/attach.exp: Remove extra setup_xfail.
4136
4137 2002-03-26  Michael Snyder  <msnyder@redhat.com>
4138
4139         * gdb.base/default.exp: Add tests for dump, append, and restore.
4140         * gdb.base/help.exp: Add tests for dump, append, and restore.
4141         * gdb.base/dump.exp: New file, test dump, append and restore.
4142         * gdb.base/dump.c: New file.
4143
4144 2002-03-27  Michael Snyder  <msnyder@redhat.com>
4145
4146         * gdb.base/help.exp: Modify expect strings to reflect
4147         clean-ups in help messages.
4148
4149 2002-03-26  Fred Fish  <fnf@redhat.com>
4150
4151         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4152         have debugging info for those functions and the compiler uses them
4153         internally to copy structs around.
4154
4155 2002-03-26  Fred Fish  <fnf@redhat.com>
4156
4157         * gdb.base/list.exp: Revert the change made yesterday and add note
4158         about why we don't list the default lines for remote targets.
4159
4160 2002-03-25  Michael Snyder  <msnyder@redhat.com>
4161
4162         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4163
4164 2002-03-25  Fred Fish  <fnf@redhat.com>
4165
4166         * gdb.base/list.exp: This test works on remote targets so remove
4167         the short circuit for remote targets.  Update copyright.
4168
4169 2002-03-25  Fred Fish  <fnf@redhat.com>
4170
4171         * gdb.base/attach.exp: Fix logic error that was suppressing this
4172         test for all non hppa*-*-hpux* targets, instead of the hp target.
4173         Move comments closer to the suppression point.  Also now need to
4174         check that we are running natively.
4175
4176 2002-03-22  Michael Snyder  <msnyder@redhat.com>
4177
4178         * gdb.base/default.exp: Add test for gcore.  Update copyright.
4179         * gdb.base/help.exp: Add test for gcore.  Update copyright.
4180
4181 2002-03-06  Fred Fish  <fnf@redhat.com>
4182
4183         * gdb.base/funcargs.c:  Remove extraneous ';' character.
4184         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4185
4186 2002-03-04  Michael Chastain  <mec@shout.net>
4187
4188         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4189         accommodate gcc v3 function signature.
4190         * gdb.mi/mi0-var-cmd-exp: Ditto.
4191
4192 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
4193
4194         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4195         ``GNU/Linux'' or ``Linux kernel''
4196         * testsuite/gdb.threads/pthreads.c: Ditto.
4197
4198 2002-02-24  Michael Chastain  <mec@shout.net>
4199
4200         * gdb.threads/pthreads.c (thread1): Add a return statement.
4201         (thread2): Likewise.
4202         (foo): Likewise.
4203
4204 2002-02-23  Michael Chastain  <mec@shout.net>
4205
4206         * gdb.threads/linux-dp.c (philosopher): Add a return statement
4207         to placate gcc.
4208
4209 2002-02-23  Michael Chastain  <mec@shout.net>
4210
4211         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4212         test "ptype bint".  The test passes on all my stabs configurations.
4213
4214 2002-02-21  Jim Blandy  <jimb@redhat.com>
4215
4216         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4217         filename at a time, and watch for the ones we want to see.
4218
4219         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4220         types of pointers to prototyped functions.
4221
4222 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
4223
4224         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
4225         signed, unsigned and straight char.
4226         (padding_char, padding_short, padding_int, padding_long,
4227         padding_long_long, padding_float, padding_double,
4228         padding_long_double): New global variables.
4229         (fill, fill_structs): New functions.
4230
4231         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
4232         for correctly sized writes.  Update copyright.
4233         (get_valueof): New procedure.
4234         (get_sizeof): Call get_valueof.
4235         (check_valueof): New procedure.
4236         (check_padding): New procedure.
4237
4238 2002-02-20  Michael Chastain  <mec@shout.net>
4239
4240         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4241         to setup_xfail.  Document some of the remaining calls.
4242
4243 2002-02-18  Michael Chastain  <mec@shout.net>
4244
4245         * gdb.c++/userdef.exp: Update copyright year.
4246
4247 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
4248
4249         * gdb.c++/userdef.exp: Test overloaded operators properly.
4250         Remove xfails.
4251
4252 2002-02-14  Michael Snyder  <msnyder@redhat.com>
4253
4254         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4255
4256 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
4257
4258         * gdb.base/a2-run.exp: Check for a remote target properly.
4259         * gdb.base/annota1.exp: Likewise.
4260         * gdb.base/list.exp: Likewise.
4261         * gdb.base/reread.exp: Likewise.
4262         * gdb.base/scope.exp: Likewise.
4263         * gdb.base/shlib-call.exp: Likewise.
4264         * gdb.base/term.exp: Likewise.
4265         * gdb.c++/annota2.exp: Likewise.
4266
4267 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
4268
4269         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4270
4271 2002-02-10  Michael Chastain  <mec@shout.net>
4272
4273         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4274         (call_after_alloca): Ditto.
4275
4276 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
4277
4278         * gdb.base/ending-run.exp: Guard "cont" test with
4279         gdb_skip_stdio_test.
4280
4281 2002-02-06  Jim Blandy  <jimb@redhat.com>
4282
4283         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4284         from here...
4285         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4286         To here.  Disable this test on non-HP platforms.  Add big comment.
4287
4288 2002-02-04  Michael Snyder  <msnyder@redhat.com>
4289
4290         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
4291           other than d10v and m32r.
4292
4293 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
4294
4295         * gdb.base/default.exp: Rewrite test patterns to reduce time
4296         taken to match them.
4297
4298 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
4299
4300         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4301         Allow a start function above main.
4302         * gdb.threads/linux-dp.exp: Fix copyright date.
4303
4304 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
4305
4306         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4307         (check_philosopher_stack): Check for manager thread before checking
4308         for a just-starting thread.
4309
4310 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
4311
4312         From Neil Booth <neil@daikokuya.demon.co.uk>:
4313         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4314         warnings.
4315
4316 2002-01-21  Fred Fish  <fnf@redhat.com>
4317
4318         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4319         not caller.
4320
4321 2002-01-21  Jim Blandy  <jimb@redhat.com>
4322
4323         * gdb.base/reread.exp: Check that GDB properly re-reads the
4324         executable file when it changes while no inferior is running.
4325
4326 2002-01-21  Fred Fish  <fnf@redhat.com>
4327
4328         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4329         optionally accept the "shlib events" variation.
4330
4331 2002-01-21  Jim Blandy  <jimb@redhat.com>
4332
4333         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4334         call `fflush' after every `printf', so that the output is produced
4335         at predictable points, regardless of whatever buffering does (or
4336         doesn't) take place.
4337         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4338         at different points.
4339
4340 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
4341
4342         * gdb.c++/inherit.exp: Update copyright years.
4343         * gdb.c++/method.exp: Likewise.
4344
4345 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
4346
4347         * gdb.c++/classes.exp: Update for improved v3 support and skipping
4348         artificial methods/arguments.
4349         * gdb.c++/derivation.exp: Likewise.
4350         * gdb.c++/inherit.exp: Likewise.
4351         * gdb.c++/method.exp: Likewise.
4352         * gdb.c++/virtfunc.exp: Likewise.
4353
4354 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
4355
4356         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4357         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4358         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4359         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4360         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4361         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4362
4363 2002-01-17  Jim Blandy  <jimb@redhat.com>
4364
4365         * gdb.asm/asm-source.exp (info symbol): Take another shot at
4366         anchoring the pattern matching the entry point symbol's name.
4367
4368 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
4369
4370         * gdb.base/maint.exp: Update ``maint internal-error'' to match
4371         continue/quit query.  Update copyright.
4372
4373 2002-01-14  Michael Snyder  <msnyder@redhat.com>
4374
4375         * gdb.base/gcore.exp: Remove extra debugging output.
4376
4377 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
4378
4379         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4380         for slightly dubious v2 mangled string.
4381
4382 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
4383
4384         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4385
4386 2002-01-10  Jason Merrill  <jason@redhat.com>
4387
4388         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
4389
4390         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4391         constructors.
4392         * gdb.c++/derivation.exp: Likewise.
4393         * gdb.c++/templates.exp: Likewise.
4394         * gdb.c++/virtfunc.exp: Likewise.
4395
4396 2002-01-10  Michael Snyder  <msnyder@redhat.com>
4397
4398         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
4399
4400 2002-01-08  Michael Snyder  <msnyder@redhat.com>
4401
4402         * gdb.base/gcore.exp: New test for generate-core-file command.
4403         * gdb.base/gcore.c: Testcase for above.
4404         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4405
4406 2002-01-08  Jason Merrill  <jason@redhat.com>
4407
4408         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4409
4410 2002-01-07  Fred Fish  <fnf@redhat.com>
4411
4412         * gdb.c++/overload.exp: Remove unconditional xfails for:
4413         print foo_instance1.overloadargs(1)
4414         print foo_instance1.overloadargs(1, 2)
4415         print foo_instance1.overloadargs(1, 2, 3)
4416         print foo_instance1.overloadargs(1, 2, 3, 4)
4417         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4418         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4419         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4420         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4421         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4422         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4423         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4424         print foo_instance1.overload1arg()
4425         print foo_instance1.overload1arg((char)arg2)
4426         print foo_instance1.overload1arg((signed char)arg3)
4427         print foo_instance1.overload1arg((unsigned char)arg4)
4428         print foo_instance1.overload1arg((int)arg7)
4429         print foo_instance1.overload1arg((unsigned int)arg8)
4430         print foo_instance1.overload1arg((float)arg11)
4431         print foo_instance1.overload1arg((double)arg12)
4432
4433 2002-01-07  Michael Snyder  <msnyder@redhat.com>
4434
4435         * gdb.base/huge.exp: New test.  Print a very large target data object.
4436         (skip_huge_test): New test variable.  Define if you want to skip this
4437         test.  The test reads an 8 megabyte data object from the target, so it
4438         might be very time consuming on remote targets with a slow connection.
4439         * gdb.base/huge.c: New file.  Test case for above.
4440
4441 2002-01-07  Fred Fish  <fnf@redhat.com>
4442
4443         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4444         g_instance.bfoo, and g_instance.cfoo.
4445
4446 Mon Jan  7 12:22:18 2002  Jeffrey A Law  (law@redhat.com)
4447
4448         * gdb.base/break.c (multi_line_if_conditional): New function.
4449         (multi_ilne_while_conditional): Likewise.
4450         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4451         IF or WHILE condition puts the breakpoint at the start of
4452         the condition.
4453
4454         * gdb.base/selftest.exp (backtrace through signal handler): Remove
4455         hppa*-*-hpux* expected failure.
4456         * gdb.base/structs.exp (do_function_calls): Similarly.
4457
4458         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4459         watchpoints.
4460
4461 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
4462
4463         Fix PR gdb/66.
4464         * gdb.base/structs.exp: Replace skip for a29k with skip for
4465         gdb,cannot_call_functions.
4466         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4467         * gdb.base/callfuncs.exp: Ditto.
4468         * gdb.base/call-rt-st.exp: Ditto.
4469         * gdb.base/call-strs.exp: Ditto.
4470         * gdb.base/callfwmall.exp: Ditto.
4471         * gdb.base/scope.exp: Obsolete xfail a29k.
4472         * gdb.c++/misc.exp: Ditto.
4473         * gdb.c++/cplusfuncs.exp: Ditto.
4474         * gdb.base/ptype.exp: Ditto.
4475         * gdb.base/printcmds.exp: Ditto.
4476         * gdb.base/opaque.exp: Ditto.
4477         * gdb.base/list.exp: Ditto.
4478         * gdb.base/funcargs.exp: Ditto.
4479         * gdb.base/default.exp: Ditto.
4480
4481 2002-01-04  Michael Snyder  <msnyder@redhat.com>
4482
4483         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
4484         * gdb.base/maint.exp: Add tests for maint info sections options.
4485
4486 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
4487
4488         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4489
4490 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
4491
4492         * gdb.asm/arm.inc: New file.
4493         * gdb.asm/asm-source.exp: Add arm targets.
4494         * gdb.asm/configure.in: Ditto.
4495         * gdb.asm/configure: Recreated from configure.in.
4496
4497 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
4498
4499         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4500         with HP's compiler.
4501         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4502         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4503         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4504         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4505
4506         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4507         either HP's compilers or GCC.
4508
4509         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4510         a SIGBUS or SIGSEGV.
4511
4512         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4513
4514         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4515         can be compiled with either HP's compiler or GCC.
4516
4517         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4518         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4519         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4520
4521         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4522         to match current gdb output.  Update due to using auto-solib-limit
4523         for limiting instead of overloading auto-solib-add.
4524         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4525         test program.
4526
4527         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
4528         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4529         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4530         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4531         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4532         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4533         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4534         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4535         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4536         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4537         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4538         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4539         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
4540
4541         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4542         a SIGTRAP to the inferior.
4543
4544 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
4545
4546         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4547         Substitute call to target_link by call to gdb_compile.
4548
4549 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
4550
4551         * gdb.base/break.exp: Fix HP specific search string when testing
4552         backtracing in a called function.
4553
4554         * gdb.base/constvars.exp: Only set lang to C++ if we're
4555         compiling the test with HP's compilers.
4556         * gdb.base/volatile.exp: Similarly.
4557
4558 2001-12-19  Jim Blandy  <jimb@redhat.com>
4559
4560         * gdb.base/printcmds.exp: Expect the null character to be printed
4561         as '\0', and the '\013' to be printed as '\v'.
4562         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4563         * gdb.base/setvar.exp: Same.
4564
4565 2001-12-17  Jim Blandy  <jimb@redhat.com>
4566
4567         * gdb.base/completion.exp: Rather than completing very long
4568         filenames, which can make the readline library produce output we
4569         don't recognize, cd to the directory first, and then complete
4570         using nice, short relative paths.
4571
4572         * gdb.base/completion.exp: On some systems, there is, in fact, a
4573         variable named `b' in scope, since GDB treats all static
4574         variables as being in scope.  So use `no_var_named_this'
4575         instead of `b'.
4576
4577         * gdb.base/corefile.exp: Recognize the message saying that GDB
4578         can't find the core file's registers as a failure.
4579
4580 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
4581
4582         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4583         test expect string more specific.
4584
4585 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
4586
4587         * gdb.asm/asm-source.exp: Add support for xstormy16.
4588         * gdb.asm/configure.in: Ditto.
4589         * gdb.asm/configure: Rebuild.
4590         * gdb.asm/xstormy16.inc: New file.
4591
4592 2001-12-10  Fred Fish  <fnf@redhat.com>
4593
4594         * gdb.base/maint.exp: Update to match changes in type dumping code.
4595
4596 2001-12-10  Jim Blandy  <jimb@redhat.com>
4597
4598         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4599         matching the entry point symbol's name at the beginning of the
4600         line.
4601
4602 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
4603
4604         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4605         gdb.c++/inherit.exp, gdb.c++/method.exp,
4606         gdb.c++/namespace.exp, gdb.c++/templates.exp,
4607         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4608         and class layout support.
4609
4610 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
4611
4612         * gdb.c++/classes.exp: Add test for static member function.
4613         * gdb.c++/misc.cc: Add class with static member function.
4614
4615 2001-12-07  Jim Blandy  <jimb@redhat.com>
4616
4617         If GDB says it can't find the struct the function returned, report
4618         those tests as `unsupported'.
4619         * gdb.base/call-rt-st.exp (print_struct_call): New function.
4620         Rewrite subsequent tests to use it.
4621
4622         If GDB says it can't find the struct the function returned, report
4623         those tests as `unsupported'.
4624         * gdb.base/structs.exp (call_struct_func): New function.
4625         (do_function_calls): Use call_struct_func to call the functions
4626         returning structs.
4627
4628         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4629         whether functions are prototyped or not, so we can't possibly pass
4630         arguments to t_float_values2 properly.
4631
4632         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4633         value of `timeout' for targets other than the mips*tx39-*.
4634
4635 2001-12-06  Michael Snyder  <msnyder@redhat.com>
4636
4637         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
4638         and detect whether the start symbol has a leading underscore.
4639
4640 2001-12-04  Jim Blandy  <jimb@redhat.com>
4641
4642         * gdb.base/completion.exp: Clarify indentation.
4643
4644 2001-12-03  Jim Blandy  <jimb@redhat.com>
4645
4646         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4647         variables on the S/390, not `.word'.
4648
4649 2001-11-30  Jim Blandy  <jimb@redhat.com>
4650
4651         Add assembly-source tests for s390-ibm-linux.
4652         * gdb.asm/s390.inc: New file.
4653         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4654         the S/390 architecture.
4655         * gdb.asm/configure: Regenerated.
4656
4657 2001-11-30  Michael Snyder  <msnyder@redhat.com>
4658
4659         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4660         next, info source, info sources, info line, global and static
4661         variables, and static functions.
4662         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4663         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4664         * gdb.asm/asmsrc1.s: Add a static function and some variables.
4665         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4666         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4667         (gdbasm_leave): Restore frame pointer.
4668         (gdbasm_startup): Copy stack set-up from crt0.S.
4669
4670 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
4671
4672         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
4673         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4674         to a local (non-static) variable. Copy tstruct.a to a static buffer
4675         and return a pointer to that buffer.
4676         * gdb.base/callfwmall.c (t_structs_a): Ditto.
4677
4678 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
4679
4680         * gdb.asm/configure.in: Fix recognition of ix86 target.
4681         * gdb.asm/configure: Regenerate.
4682
4683 2001-11-21  Michael Snyder  <msnyder@redhat.com>
4684
4685         * gdb.asm/sparc.inc: New file.
4686         * gdb.asm/asm-source.exp: Recognize sparc target.
4687         * gdb.asm/configure.in: Recognize sparc target.
4688         * gdb.asm/configure: Regenerate.
4689
4690 2001-11-21  Michael Snyder  <msnyder@redhat.com>
4691
4692         * gdb.asm/m32r.inc: New file.
4693         * gdb.asm/asm-source.exp: Recognize m32r target.
4694         * gdb.asm/configure.in: Recognize m32r target.
4695         * gdb.asm/configure: Regenerate.
4696
4697 2001-11-20  Michael Snyder  <msnyder@redhat.com>
4698
4699         * gdb.asm/i386.inc: New file.
4700         * gdb.asm/asm-source.exp: Recognize ix86 target.
4701         * gdb.asm/configure.in: Recognize ix86 target.
4702         * gdb.asm/configure: Regenerate.
4703
4704         * gdb.c++/namespace.exp: Fix quotes in output messages.
4705
4706 2001-11-14  Michael Snyder  <msnyder@redhat.com>
4707
4708         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
4709         qualifier in a type cast expression, to designate an address
4710         in the instruction space (Harvard architecture).
4711
4712 2001-11-13  Michael Snyder  <msnyder@redhat.com>
4713
4714         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4715         Tests for expressions using 'const' and 'volatile'.
4716
4717 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
4718
4719         * gdb.asm/asm-sources.exp: Allow defining linker flags.
4720
4721 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
4722
4723         * lib/mi-support.exp (mi_run_to_helper): Move comments
4724         outside of gdb_expect.
4725
4726 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
4727
4728         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4729         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4730         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4731         mi0_run_to): New functions.
4732         * gdb.mi/mi-simplerun.exp: Use them.
4733         * gdb.mi/mi0-simplerun.exp: Likewise.
4734         * gdb.mi/mi-var-cmd.exp: Likewise.
4735         * gdb.mi/mi0-var-cmd.exp: Likewise.
4736
4737 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
4738
4739         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4740         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4741
4742 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
4743
4744         * gdb.base/restore.exp: Include $expected value in restored test
4745         message.
4746
4747 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
4748
4749         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4750         implemented.
4751
4752 2001-11-08  Michael Snyder  <msnyder@redhat.com>
4753
4754         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4755         Add pass/fail message for stop at breakpoint in call dummy function.
4756
4757 2001-11-07  Michael Snyder  <msnyder@redhat.com>
4758
4759         * gdb.c++/templates.exp (test_template_breakpoints):
4760         If we get an overload menu, but it does not match what
4761         we expect, we still need to issue the "cancel" command.
4762         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4763         making the whitespace optional.  Argument for "new" may be
4764         "unsigned" as well as "unsigned int/long".
4765         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
4766         making the whitespace optional.  Also replace "(void) with
4767         "((void|)), making the keyword "void" optional.
4768         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
4769         making the whitespace optional.  Also replace "(void) with
4770         "((void|)), making the keyword "void" optional.
4771         * gdb.base/callfuncs.c (t_float_values): This function must
4772         _not_ be prototyped, and the following function (t_float_values2)
4773         must be prototyped (if the compiler supports it), so that GDB
4774         can be tested against both cases.  Usually one case involves
4775         promotion of float to double, while the other does not.
4776         * gdb.base/callfwmall.c: Ditto.
4777         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4778         includes a stack frame for "start".
4779
4780 2001-11-05  Jim Blandy  <jimb@redhat.com>
4781
4782         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
4783         pointers are 32 bits long, and that offsets of relocs are always
4784         stored in the data (REL-style), and not in the reloc entry itself
4785         (RELA-style).
4786         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4787         stabs.
4788
4789 2001-11-01  Michael Snyder  <msnyder@redhat.com>
4790
4791         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4792         and regular expression operators by using quoting.
4793
4794 2001-10-31  Michael Snyder  <msnyder@redhat.com>
4795
4796         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4797         depending on what the symbol table contains.
4798         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4799         the output of the ptype command.  Similarly, accept both "const &"
4800         and "const&".
4801
4802 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
4803
4804         * gdb.base/miscexprs.c (main): Add usage of preprocessor
4805         symbol `STORAGE' to allow to choose the storage class of
4806         the local datastructures.
4807         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4808         compiler directive.
4809
4810 2001-10-30  Michael Snyder  <msnyder@redhat.com>
4811
4812         * gdb.base/jump.exp: Allow it to run for all targets.
4813
4814 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
4815
4816         * gdb.base/call-ar-st.c (print_double_array): Match for loop
4817         with new double_array size.
4818         (main): Change storage class of all local variables to static.
4819         Reduce size of double_array to 9.
4820         * gdb.base/call-ar-st.exp:  Increase timeout value.
4821         Change expected output for double array to match new size in
4822         call-ar-st.c.
4823
4824 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
4825
4826         * gdb.base/ending-run.exp: Create identical output when passing
4827         `step to end of run' case.  Add regular expression branch satisfying
4828         Stormy16 target.
4829
4830 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
4831
4832         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4833         that we catch the expected failure under Linux/x86.
4834
4835 2001-10-29  Orjan Friberg  <orjanf@axis.com>
4836
4837         * gdb.base/setvar.exp: Escape curly braces.
4838         * gdb.stabs/weird.exp: Ditto.
4839
4840 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
4841
4842         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4843         * gdm.mi/mi0-hack-cli.exp: Likewise.
4844
4845 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
4846
4847         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4848         messages.
4849
4850 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
4851
4852         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4853         checking MI enabled.
4854
4855 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
4856
4857         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4858
4859 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
4860
4861         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4862         if gdb child process crashes, just signal an error.
4863
4864 2001-10-02  Jim Blandy  <jimb@redhat.com>
4865
4866         * lib/gdb.exp (test_xfail_format): Simplify.
4867
4868         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4869         front of the variable name `format'.  Simplify `if'.
4870
4871 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
4872
4873         * gdb.threads/pthreads.exp: Wait for output and delay
4874         before sending ^C.
4875
4876 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
4877
4878         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
4879         some incorrect output instead of timing out.
4880         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
4881
4882 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
4883
4884         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4885         check to allow additional `int'.
4886
4887 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
4888
4889         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4890         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4891
4892 2001-09-27  Michael Snyder  <msnyder@redhat.com>
4893
4894         * lib/gdb.exp (test_debug_format): New proc.
4895         (setup_xfail_format): Use new proc test_debug_format.
4896         * gdb.base/constvars.exp (local_compiler_xfail_check): New
4897         proc; use new service proc test_debug_format.
4898         Replace all other "gcc_compiled" tests with this test.
4899         * gdb.base/volatile.exp (local_compiler_xfail_check): New
4900         proc; use new service proc test_debug_format.
4901         Replace all other "gcc_compiled" tests with this test.
4902
4903 2001-09-27  Michael Snyder  <msnyder@redhat.com>
4904
4905         * gdb.base/cvexpr.exp: New file.
4906         * gdb.base/cvexpr.c: New file
4907         Test for expressions using const and volatile keywords.
4908
4909 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
4910
4911         * gdb.base/constvars.exp: Check for different orders of keywords
4912         and additional "int" strings in output.
4913
4914 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
4915
4916         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4917         responses from "help maint".
4918
4919 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
4920
4921         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4922         to localhost:NNN instead of :NNN, in case Xvfb is listening
4923         only on TCP.
4924
4925 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
4926
4927         * gdb.base/recurse.exp: When checking leaving the watchpoint
4928         scope, recognize when gdb is in function's epilogue and pass.
4929
4930 2001-09-18  Keith Seitz  <keiths@redhat.com>
4931
4932         * lib/insight-support.exp (_gdbtk_export_target_info): Add
4933         support for running tests against sid targets.
4934         (gdbtk_done): Ditto.
4935
4936 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
4937
4938         * gdb.base/ending-run.c (main): Set stdout buffersize
4939         to the same reasonable value for any target.
4940         * gdb.base/ending-run.exp: Add a regular expression
4941         to make testsuite happy on Sanyo Stormy16 target.
4942
4943 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
4944
4945         * gdb.base/display.c (do_loops): Add float variable `f'.
4946         Increment f in loop.
4947         * gdb.base/display.exp: Increment timeout by 60 seconds.
4948         Change float display test to use variable `f'.
4949
4950 2001-09-17  Jim Blandy  <jimb@redhat.com>
4951
4952         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4953         overflowing the limited breakpoint tables on some ROM monitors
4954         (like the ROM68K).
4955
4956 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
4957
4958         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4959         the "-ac" (disable access control) flag.
4960
4961 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
4962
4963         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4964         ints.
4965
4966 2001-08-30  Keith Seitz  <keiths@redhat.com>
4967
4968         * lib/gdb.exp: Move all insight-related functionality into
4969         separate file.
4970         * lib/insight-support.exp: New file.
4971
4972 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
4973
4974         * config/sid.exp (sid_start): Never set sid verbosity; disable
4975         expect_background {} that consumed its stdout; tolerate </dev/null.
4976         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
4977
4978 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
4979
4980         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4981         CLI jump command to start it.
4982         (mi_run_to_main): Fail immediatly when unexpected output.
4983
4984 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
4985
4986         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4987         beginning of function.  Fix PR gdb/191.
4988
4989 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
4990
4991         * config/sid.exp (sid_start): Don't warn if we cannot figure out
4992         what to force sid endianness to.
4993
4994 2001-08-15  Keith Seitz  <keiths@redhat.com>
4995
4996         * lib/gdb.exp (gdbtk_start): Don't set environment
4997         variables for TCL_LIBRARY and friends. Insight will
4998         now figure these out for itself.
4999
5000 2001-08-02  Michael Snyder  <msnyder@redhat.com>
5001
5002         * gdb.base/completion.exp: Remove the symbol "a64l" from
5003         the expect string; this is target-specific, and not related
5004         to what is being tested.
5005
5006 2001-08-02  Dave Brolley  <brolley@redhat.com>
5007
5008         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5009
5010 2001-07-25  Michael Snyder  <msnyder@redhat.com>
5011
5012         * gdb.base/consecutive.exp: New file.  Test stepping over
5013         breakpoints on consecutive instructions.
5014         * gdb.base/consecutive.c: New file.
5015
5016         * gdb.base/call-rt-st.exp: Use double-backslash to quote
5017         curly braces in regular expressions.
5018
5019 2001-07-25  Michael Snyder  <msnyder@redhat.com>
5020
5021         * gdb.base/ending-run.exp: Accept "Program exited normally" as
5022         legitimate output from stepping out of main.
5023
5024 2001-07-22  Keith Seitz  <keiths@redhat.com>
5025
5026         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5027         the empty string, do not run the tests.
5028
5029 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5030
5031         * gdb.base/long_long.exp: Detect size of pointer.  Take into
5032         account 2-byte pointers when testing for p/a results.
5033
5034 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5035
5036         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
5037         and defined to 1K for m68hc11.
5038         (random_data): Reduce table to 1K for embedded platforms (68hc11).
5039         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5040         (sizeof_random_data): New variable to tell the size of the data table;
5041         don't test past this size; always run to main.
5042
5043 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5044
5045         * gdb.base/return2.exp: return of long long and double fails for
5046         68HC11; don't execute these tests on that platform.
5047         * gdb.base/return.exp: Return of a double fails for 68hc11.
5048
5049 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5050
5051         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5052         tests that print a float.
5053         * call-rt-st.exp: Likewise.
5054
5055 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
5056
5057         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5058         running this test on Linux.
5059
5060 2001-06-24  Michael Chastain  <chastain@redhat.com>
5061
5062         * gdb.base/arithmet.exp: Remove some tests to make all test names
5063         unique.
5064
5065 2001-07-03  Michael Snyder  <msnyder@redhat.com>
5066
5067         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5068         the output of the ptype command.
5069
5070 2001-07-02  Michael Snyder  <msnyder@redhat.com>
5071
5072         * gdb.base/completion.exp: Don't assume that break.c is the only
5073         source file that may contain functions named "marker".
5074         * gdb.base/corefile.exp: Quote the curly braces in regexp.
5075
5076 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
5077
5078         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5079         of files to delete.
5080
5081         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5082         * gdb.disasm/h8300s.exp: New file.
5083         gdb.disasm/h8300s.s: Likewise.
5084
5085 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
5086
5087         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5088         empty breakpoint tables.
5089
5090 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
5091
5092         * lib/mi-support.exp: Update args=... part of stop-reason
5093         patterns. Accept either a list or a tuple.
5094
5095 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
5096
5097         * lib/mi-support.exp: Remove local emacs variable defining
5098         change-log-default-name.
5099
5100 2001-06-22  Michael Chastain  <chastain@redhat.com>
5101
5102         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5103         This is operationally compatible with the previous version.
5104
5105 2001-06-13  Jim Blandy  <jimb@redhat.com>
5106
5107         * lib/gdb.exp (gdb_test): Doc fix.
5108
5109 2001-06-10  Michael Chastain  <chastain@redhat.com>
5110
5111         * gdb.base/exprs.exp: Remove a duplicate test.
5112
5113 2001-06-06  Jim Blandy  <jimb@redhat.com>
5114
5115         * gdb.base/return2.exp (main): Use values to test float and double
5116         returns that are not NaN's, to avoid being confused by IEEE
5117         comparison rules.
5118
5119 2001-06-04  Michael Snyder  <msnyder@redhat.com>
5120
5121         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
5122         non-zero if control_c fails.  Terminate the test on failure,
5123         rather than wait for 12 more tests to time out.
5124
5125 2001-06-06  Jim Blandy  <jimb@redhat.com>
5126
5127         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
5128         Don't forget to match the GDB prompt.
5129
5130         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5131
5132 2001-06-04  Jim Blandy  <jimb@redhat.com>
5133
5134         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5135         command.
5136
5137 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
5138
5139         * gdb.base/annota1.exp (info break): Match four or more spaces
5140         after "Address".
5141
5142 2001-05-31  Michael Chastain  <chastain@redhat.com>
5143
5144         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5145         (dm_type_int_star): Likewise.
5146         (dm_type_long_star): Likewise.
5147         (dm_type_void_star): Likewise.
5148
5149 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
5150
5151         * gdb.base/completion.exp (INPUTRC): Set this environment variable
5152         to a known value in order to get consistent results regardless
5153         of the setting of INPUTRC or the presence or contents of .inputrc.
5154
5155 2001-05-24  Michael Snyder  <msnyder@redhat.com>
5156
5157         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5158         Don't require that the main thread and the manager thread are the
5159         first in the list.
5160
5161         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5162         debugging.  If test fails, issue an "unsupported" not a "fail".
5163
5164 2001-05-24  Jim Blandy  <jimb@redhat.com>
5165
5166         Don't assume that short is shorter than int.
5167         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5168         assume that shorts are smaller than ints.  On a 16-bit machine,
5169         this isn't true.
5170         ("print unsigned char == (~0)"): Add test that verifies that ~0,
5171         an int, is not equal to ~0 stored in an unsigned char.  This tests
5172         the same thing that the previous test meant to, but works on
5173         16-bit machines, too.
5174         ("print unsigned char != (~0)"): Same test, complemented.
5175
5176 2001-05-24  Michael Snyder  <msnyder@redhat.com>
5177
5178         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
5179         test for (full_coverage == 0).  This makes the test run faster,
5180         and prevents dejagnu getting out of step.
5181
5182 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
5183
5184         * gdb.base/finish.exp (finish_void): Revise pattern for
5185         stopping on the call statement to not permit stopping at
5186         the start of the instructions comprising the call sequence.
5187
5188 2001-05-19  Michael Chastain  <chastain@redhat.com>
5189
5190         * gdb.base/callfuncs.exp: Make all test names unique.
5191         * gdb.base/commands.exp: Make all test names unique.
5192         * gdb.base/condbreak.exp: Make all test names unique.
5193         * gdb.base/dbx.exp: Make all test names unique.
5194         * gdb.base/default.exp: Make all test names unique.
5195         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
5196         and TIMEOUT messages to their corresponding PASS message.
5197         * gdb.base/ending-run.exp: Make all test names unique.
5198         * gdb.base/long_long.exp: Remove duplicate test.
5199
5200 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
5201
5202         * gdb.base/finish.exp (finish_void): Allow "finish" command to
5203         stop on the call statement as well as the statement after the
5204         call.
5205
5206 2001-05-21  Michael Snyder  <msnyder@redhat.com>
5207
5208         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5209
5210 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
5211
5212         * gdb.base/completion.exp: Revamp test. Make it execute on all
5213         platforms.
5214
5215 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
5216
5217         * config/gdbserver.exp (gdb_load): Handle the case
5218         in which the arguments to gdbserver are given in the
5219         baseboard configuration file.
5220         Also handle the case in which the server needs to do a
5221         load.
5222
5223 2001-05-07  Keith Seitz <keiths@cygnus.com>
5224
5225         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5226         set up the display for testing.
5227         (gdbtk_start): Convert all paths to paths that tcl will like.
5228         Export target information to environment.
5229         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5230         necessary.
5231         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5232         (to_tcl_path): New proc to convert a given pathname into
5233         a path acceptible as an argument to a tcl command.
5234         (_gdbtk_export_target_info): New proc to export target info
5235         into the environment for gdbtk testing.
5236         (gdbtk_done): New proc to signal end-of-test.
5237
5238 2001-05-06  Jim Blandy  <jimb@redhat.com>
5239
5240         * restore.c: Make the code of caller0 correspond to its comment.
5241
5242 2001-05-03  Michael Snyder  <msnyder@redhat.com>
5243
5244         * config/sid.exp (gdb_target_sid): Check for error messages.
5245         On error or timeout, don't make expect exit (which will terminate
5246         all subsequent tests); instead just make gdb exit.
5247         (gdb_load): Check for error messages.  On error or timeout,
5248         return a negative value.
5249
5250 2001-04-24  Jim Blandy  <jimb@redhat.com>
5251
5252         * gdb.c++/templates.exp: If we see the prompt for the overload
5253         list, but we haven't recognized any of the longer patterns,
5254         arrange for this test to fail, not hang.
5255
5256         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5257         variations.
5258
5259 2001-04-22  Michael Chastain  <chastain@redhat.com>
5260
5261         * gdb.c++/local.exp: Use the 'runto' library function.
5262         * gdb.c++/namespace.exp: Likewise.
5263         * gdb.c++/overload.exp: Likewise.
5264
5265 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
5266
5267         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5268         * gdb.base/step-line.exp: New file.  Test step/next in presence of
5269         #line directives.
5270         * gdb.base/step-line.c: New file.  Test program for the above.
5271         * gdb.base/step-line.inp: New file.  We pretend that this file has
5272         been transformed by some other tool into step-line.c.
5273
5274 2001-03-21  Jim Blandy  <jimb@redhat.com>
5275
5276         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5277         unmangled operator names.
5278
5279 2001-03-20  Jim Blandy  <jimb@redhat.com>
5280
5281         * gdb.threads/linux-dp.exp: Recognize an additional message
5282         generated by GDB when it doesn't understand how to debug threads
5283         on the target system.
5284
5285 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
5286
5287         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5288
5289 2001-03-12  Michael Chastain  <chastain@redhat.com>
5290
5291         * gdb.c++/derivation.exp: Use the 'runto' library function.
5292
5293 2001-03-12  Michael Chastain  <chastain@redhat.com>
5294
5295         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5296
5297 2001-02-24  Michael Chastain  <chastain@redhat.com>
5298
5299         * gdb.c++/ref-types.exp: Change handwritten code to library
5300         function 'runto'.
5301
5302 2001-03-16  Orjan Friberg  <orjanf@axis.com>
5303
5304         * gdb.base/signals.exp: Set count to 0 explicitly.
5305
5306 2001-03-15  Mark Salter  <msalter@redhat.com>
5307
5308         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5309         (gdb_target_monitor): Add check of gdb_target_cmd return value.
5310         (gdb_load): Add support for additional target_info: gdb_download_size
5311         and gdb_load_timeout.
5312
5313 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
5314
5315         * gdb.base/annota1.exp: Move test of isnative to earlier in the
5316         file -- to prevent failing when the compile fails but we have no
5317         intention of running the tests anyway.
5318
5319         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5320         tests if set.
5321
5322         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5323         integers.
5324
5325         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5326         * gdb.c++/namespace.exp: Ditto.
5327
5328 2001-03-07  Orjan Friberg  <orjanf@axis.com>
5329
5330         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5331         * gdb.base/pointers.exp: Relax pattern match of decimals.
5332
5333 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
5334
5335         * Makefile.in, config/abug.exp, config/cfdbug.exp,
5336         config/cpu32bug.exp, config/dve.exp, config/est.exp,
5337         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5338         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5339         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5340         config/sh.exp, config/sid.exp, config/slite.exp,
5341         config/sparclet.exp, config/udi.exp, config/unknown.exp,
5342         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5343         config/vxworks.exp, config/vxworks29k.exp,
5344         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5345         gdb.base/all-bin.exp, gdb.base/annota1.exp,
5346         gdb.base/arithmet.exp, gdb.base/assign.exp,
5347         gdb.base/async.exp, gdb.base/attach.exp,
5348         gdb.base/bitfields.exp, gdb.base/bitops.exp,
5349         gdb.base/break.exp, gdb.base/call-ar-st.exp,
5350         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5351         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5352         gdb.base/commands.exp, gdb.base/completion.exp,
5353         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5354         gdb.base/constvars.exp, gdb.base/corefile.exp,
5355         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5356         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5357         gdb.base/ending-run.exp, gdb.base/environ.exp,
5358         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5359         gdb.base/finish.exp, gdb.base/foll-exec.exp,
5360         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5361         gdb.base/funcargs.exp, gdb.base/help.exp,
5362         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5363         gdb.base/logical.exp, gdb.base/long_long.exp,
5364         gdb.base/maint.exp, gdb.base/mips_pro.exp,
5365         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5366         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5367         gdb.base/pointers.exp, gdb.base/printcmds.exp,
5368         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5369         gdb.base/regs.exp, gdb.base/relational.exp,
5370         gdb.base/remote.exp, gdb.base/reread.exp,
5371         gdb.base/restore.exp, gdb.base/return2.exp,
5372         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5373         gdb.base/selftest.exp, gdb.base/setshow.exp,
5374         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5375         gdb.base/sigall.exp, gdb.base/signals.exp,
5376         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5377         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5378         gdb.base/step-test.exp, gdb.base/structs.c,
5379         gdb.base/structs.exp, gdb.base/structs2.exp,
5380         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5381         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5382         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5383         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5384         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5385         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5386         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5387         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5388         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5389         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5390         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5391         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5392         gdb.fortran/types.exp, gdb.java/jmisc.exp,
5393         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5394         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5395         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5396         gdb.trace/circ.exp, gdb.trace/collection.exp,
5397         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5398         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5399         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5400         gdb.trace/report.exp, gdb.trace/save-trace.exp,
5401         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5402         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5403         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5404         notices.
5405
5406 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
5407
5408         * gdb.base/varargs.c (find_max_double): Fix printf format string:
5409         first arg is int not float.
5410
5411 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
5412
5413         * gdb.base/reread.exp: Unsupported for non-native targets;
5414         doesn't work for remote debugging.
5415
5416 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
5417
5418         From  Drew Moseley  <dmoseley@redhat.com>
5419         * gdb.base/ending-run.exp: Properly handle the BSP state when
5420         stepping past the end of main.
5421
5422 2001-02-19  John Moore  <jmoore@redhat.com>
5423
5424         * gdb.base/commands.exp (infrun_breakpoint_command_test):
5425         Converted HPUX fix for non-expected items following multiple
5426         step commands into general solution for all platforms.
5427
5428 2001-02-18  Michael Chastain  <chastain@redhat.com>
5429
5430         * gdb.c++/classes.exp (do_tests): Change runto statements
5431         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
5432         statements demangler agnostic.
5433         * gdb.c++/virtfunc.exp (do_tests): Likewise.
5434         (gdb_virtfunc_restart): Likewise.
5435
5436 2001-02-14  Michael Chastain  <chastain@redhat.com>
5437
5438         * gdb.c++/inherit.exp (do_tests): Change runto statements
5439         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
5440         statements demangler agnostic.
5441
5442 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
5443
5444         * gdb.threads/pthreads.exp: Unify pass/fail messages for
5445         ``continue to bkpt at common_routine in thread 2'' and ``stopped
5446         before calling common_routine 15 times'' tests.
5447
5448 2001-02-11  Michael Chastain  <chastain@redhat.com>
5449
5450         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5451         Helps the test script figure out which demangler is in use.
5452         (dm_type_foo_ref): Ditto.
5453         (dm_type_int_star): Ditto.
5454         (dm_type_long_star): Ditto.
5455         (dm_type_unsigned_int): Ditto.
5456         (dm_type_void): Ditto.
5457         (dm_type_void_star): Ditto.
5458         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
5459         Probe the gdb demangler and set variables to accommodate
5460         formatting differences.
5461         (info_func_regexp): New function.  Same as info_func, but
5462         matches against a regexp.
5463         (info_func): Match against a literal string.
5464         (print_addr_2): New function.  Match against a literal string,
5465         which can be different from the input to gdb.
5466         (print_addr): Simply call print_addr_2 with the same argument twice.
5467         (test_lookup_operator_functions): Use demangler formatting variables.
5468         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
5469         the tests in the same order as the C++ class declaration.
5470         (test_paddr_operator_functions): Ditto.
5471         (test_paddr_overloaded_functions): Ditto.
5472         (test_paddr_hairy_functions): Use demangler formatting variables.
5473         Add reference to gdb/19 for related tests.
5474         (do_tests): Call probe_demangler.
5475
5476 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
5477
5478         * gdb.c++/templates.cc (printf): Remove unused function definition.
5479
5480 2001-01-26  Felix Lee  <flee@redhat.com>
5481
5482         * sid.exp (sid_exit): Pass host, not target, to remote_close.
5483
5484 2001-01-25  matthew green  <mrg@redhat.com>
5485
5486         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5487         up sid.
5488         (sid_exit): Call `remote_pop_conn' after GDB is gone.
5489
5490 2001-01-25  matthew green  <mrg@redhat.com>
5491
5492         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
5493         Deprecate $sid_spawn_id.
5494         (sid_exit): Remove code necessary only for `spawn.'
5495
5496 2001-01-25  matthew green  <mrg@redhat.com>
5497
5498         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5499
5500 2001-01-28  Michael Chastain  <chastain@redhat.com>
5501
5502         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5503         to call when tests fail.  It takes gdb out of the overloaded
5504         function choice menu back to the main prompt, so that the test
5505         program stays synchronized.
5506         (set_bp_overloaded): New proc to collect all the common
5507         code for setting a breakpoint on an overloaded name.  Calls
5508         take_gdb_out_of_choice_menu when needed.
5509         (menu_overload1arg): New variable to collect the repeated
5510         instances of the expected menu for an overloaded name.  Change
5511         the regular expression to handle changes in g++ type encoding:
5512         "void" can be either "void" or "", and "unsigned int" can be
5513         either "unsigned int" or "unsigned".
5514         (continue_to_bp_overloaded): Change regular expressions to handle
5515         changes in g++ type encoding.
5516         (no proc): Call take_gdb_out_of_choice_menu when needed.
5517         Remove redundant calls to "info break".  Accept either "canceled"
5518         or "cancelled".  Change regular expressions in "info break"
5519         calls to handle changes in g++ type encoding.  Give all tests
5520         unique strings.
5521
5522 2001-01-17  Ben Elliston  <bje@redhat.com>
5523
5524         * config/sid.exp: New file.
5525
5526 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
5527
5528         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5529
5530 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
5531
5532         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5533         Add a RE to accept a non-ascii char if one is ever presented.
5534
5535 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
5536
5537         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
5538
5539 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
5540
5541         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
5542         in regexp.  One '\' does not suffice on Linux.
5543
5544 2000-12-09  Michael Chastain  <chastain@redhat.com>
5545
5546         * gdb.base/break.exp (test_clear_command): Use a marker function
5547         rather than 'main' for the test function.  Also move this
5548         test to an execution point where the marker function names are
5549         guaranteed to be bound to functions.  (Executing tests after a
5550         'finish' from main runs into name conflicts with local names
5551         in __libc_start_main).
5552
5553 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
5554
5555         * gdb.base/finish.exp: New test for gdb's "finish" command.
5556         * gdb.base/return2.exp: New test for gdb's "return" command.
5557         * gdb.base/return2.c: New source file for above.
5558
5559 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
5560
5561         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5562         * gdb.base/miscexprs.exp: Ditto.
5563         * gdb.base/pointers.exp:  Ditto.
5564         * gdb.c++/derivation.exp: Ditto.
5565         * gdb.c++/local.exp:      Ditto.
5566         * gdb.c++/namespace.exp:  Ditto.
5567         * gdb.c++/overload.exp:   Ditto.
5568         * gdb.c++/ref-types.exp:  Ditto.
5569
5570 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
5571
5572         * gdb.base/constvars.exp: Test result of "up" command.
5573         * gdb.base/miscexprs.exp: Ditto.
5574         * gdb.base/pointers.exp:  Ditto.
5575         * gdb.base/scope.exp:     Ditto.
5576         * gdb.c++/derivation.exp: Ditto.
5577         * gdb.c++/local.exp:      Ditto.
5578         * gdb.c++/namespace.exp:  Ditto.
5579         * gdb.c++/overload.exp:   Ditto.
5580         * gdb.c++/ref-types.exp:  Ditto.
5581
5582 2000-11-22  Michael Chastain  <chastain@redhat.com>
5583
5584         * mips_pro.exp: Accept either "middle -> top -> main" or
5585         "middle -> main" in the backtrace, because gcc can optimize
5586         tail calls to jumps.  Remove setup_xfail for the hppa case.
5587         Add a comment with the original warning messages from PR 3016,
5588         which was filed in 1993, to preserve them for posterity.
5589
5590 2000-11-17  Nick Duffek  <nsd@redhat.com>
5591
5592         * lib/gdb.exp (gdb_test): Override timeout with board info.
5593
5594 2000-11-17  Nick Duffek  <nsd@redhat.com>
5595
5596         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
5597         the second kill and detach messages.
5598
5599 2000-11-17  Nick Duffek  <nsd@redhat.com>
5600
5601         * configure.in: Add AC_EXEEXT.
5602         * configure: Regenerate.
5603         * Makefile.in (just-check): Export EXEEXT.
5604         * lib/gdb.exp ($EXEEXT): Import from environment.
5605         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
5606         expect "maint dump-me" on Cygwin.
5607         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5608         $EXEEXT.
5609
5610 2000-11-17  Nick Duffek  <nsd@redhat.com>
5611
5612         * gdb.base/break.exp: Test backtrace and finish from called
5613         function on all platforms, not just HP-UX.
5614
5615 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
5616
5617         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5618         code from gdb_target_monitor, so it can be used independantly
5619         for gdbserver.  Also comment out an unnecessary PUTS.
5620
5621 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
5622
5623         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5624         * gdb.base/corefile.exp: Expect the message "Program is being
5625         debugged already" when we send the "corefile" command, since
5626         the preceeding gdb_load may have connected gdb to a remote target.
5627         * gdb.base/display.exp: Disable hardware watchpoints if new
5628         board info variable "no_hardware_watchpoints" is true.
5629         Replace single-letter commands with more readable ones.
5630         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5631         if new board info variable "no_hardware_watchpoints" is true.
5632         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5633         to see if stdio (printf) testing is possible.
5634         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5635         board info variable "no_hardware_watchpoints" is true.  Use new
5636         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5637
5638 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
5639
5640         From Orjan Friberg  <orjanf@axis.com>:
5641         * gdb.base/printcmds.exp: Escape curly braces followed by a number
5642         in array print pattern match.
5643
5644 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
5645
5646         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5647         spelling "cancelled" to U.S. spelling "canceled" to match changes
5648         made to gdb.
5649         * gdb.c++/ovldbreak.exp: Ditto.
5650
5651 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
5652
5653         * gdb.base/callfuncs.c (main):  Moved to end of file, call
5654         t_double_values to initialize the FPU before inferior calls are made.
5655         * gdb.base/callfuncs.exp:  Test for register preservation after calling
5656         inferior functions.  Add tests for continuining, finishing and
5657         returning from a stop in a call dummy.
5658
5659 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
5660
5661         * gdb.base/commands.exp: Break up long lines, and re-indent.
5662
5663 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
5664
5665         * config/gdbserver.exp:  Rewritten from the ground up, to make it
5666         compatible with the current dejagnu tree, and to make it work with
5667         the new "gdbserver" in libremote.
5668
5669 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
5670
5671         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5672         * gdb.base/varargs.exp: Skip entire test if no printf support.
5673         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5674         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5675
5676 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
5677
5678         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
5679         no floating point support.
5680         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
5681         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5682         * gdb.base/call-rt-st.exp: Ditto.
5683         * gdb.base/call-strs.exp: Ditto.
5684
5685 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
5686
5687         * gdb.base/sizeof.c: include <stdio.h>.
5688
5689         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5690         'finish', otherwise uncaptured gdb_prompt would potentially
5691         throw remaining test points out of sync.
5692
5693 2000-07-26  Scott Bambrough <scottb@netwinder.org>
5694
5695         * gdb.base/recurse.exp: Run tests for all targets.
5696         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5697         gnu-oldld case on ARM.
5698         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5699         for ARM targets.
5700
5701 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
5702
5703         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5704         * gdb.java/configure: Rebuild.
5705
5706 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
5707
5708         * gdb.java/jv-exp.exp: New file.
5709
5710 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
5711
5712         * configure: Rebuilt.
5713         * configure.in (configdirs): Add gdb.java.
5714         * gdb.java/jmisc.java: New file.
5715         * gdb.java/jmisc.exp: New file.
5716         * gdb.java/Makefile.in: New file.
5717         * gdb.java/configure: Rebuilt.
5718         * gdb.java/configure.in: New file.
5719         * lib/java.exp: New file.
5720
5721 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5722
5723         * gdb.base/exprs.exp: Test casts to a pointer including over and
5724         underflow.
5725
5726 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5727
5728         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
5729         and the compilers sizes.
5730
5731 2000-07-09  Nick Duffek  <nsd@redhat.com>
5732
5733         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5734         (use_methods): New function.
5735         (main): Call use_methods().
5736         * gdb.c++/classes.exp (test_method_param_class): New procedure.
5737         (do_tests): Call test_method_param_class.
5738
5739 2000-07-09  Nick Duffek  <nsd@redhat.com>
5740
5741         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5742         spelling.
5743         (test_enums): New procedure.  Move enum tests from end of script
5744         to here.  Set breakpoint on function name instead of line number.
5745         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5746         (enums2): New marker function.
5747         (enums1): New function.
5748         (main): Call enums1().  Move enum tests to enums1().
5749
5750 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5751
5752         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5753         compile/link program.  Update line numbers.
5754         * gdb.asm/d10v.inc: Define ``startup''.
5755         * gdb.asm/asmsrc1.s: Add definition of _start.
5756
5757 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5758
5759         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5760
5761 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5762
5763         * gdb.base/maint.exp: Add 'maint print architecture' item to output
5764         of 'help maint print' command.
5765
5766 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5767
5768         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5769         they use gdb_expect_list.
5770
5771 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5772
5773         * gdb.base/commands.exp: Use ``set remote
5774         memory-read-packet-size'' instead of ``set endian big'' to test
5775         long commands.
5776
5777 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
5778
5779         * gdb.c++/templates.exp (do_tests): Make all of these work under
5780         g++, and stop skipping them.
5781
5782         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5783         work under g++.
5784
5785         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
5786         initialization.
5787
5788 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
5789
5790         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5791         the regular expression: accept an (almost) arbitrary sequence of
5792         "frames-invalid" and "breakpoints-invalid" messages both before
5793         and after the "starting" message.
5794
5795 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
5796
5797         * gdb.c++/local.exp: This test has never been known to work with g++.
5798
5799 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
5800
5801         * gdb.base/annota1.exp (annotate-signal-handler-caller):
5802         Relax the regular expression a little, make it pass on Solaris 8.
5803
5804 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
5805
5806         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
5807         a call, do not require that gdb stop on the line after the call.
5808         Instead, it is permissible for gdb to stop on the line of the
5809         call itself.
5810
5811 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
5812
5813         * gdb.base/break.exp (bp on small function, optimized file):
5814         Add a second pass pattern.  The behavior differs here between stabs
5815         and dwarf for one-line functions.  Stabs preserves two line symbols
5816         (one before the prologue and one after) with the same line number,
5817         but dwarf regards these as duplicates and discards one of them.
5818         Therefore the address after the prologue (where the breakpoint is)
5819         has no exactly matching line symbol, and GDB reports the breakpoint
5820         as if it were in the middle of a line rather than at the beginning.
5821
5822 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
5823
5824         * gdb.base/interrupt.exp: Make "pass" message say "send"
5825         rather than "send_gdb" (for consistancy).
5826
5827 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5828
5829         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
5830         * gdb.c++/templates.cc: Properly check for GCC version number.
5831         * lib/compiler.cc: Likewise
5832
5833 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
5834
5835         * gdb.base/break.exp: When compiled with -O2 optimization,
5836         gdb may not stop at the first line of main, due to code motion.
5837
5838 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
5839
5840         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5841         This test depends on parsing the printf output from the target.
5842         Since the sparclet stub doesn't do stdio, this will never work.
5843         * gdb.base/call-rt-st.exp: ditto.
5844         * gdb.base/call-strs: ditto.
5845
5846 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
5847
5848         * gdb.base/miscexprs.exp: make sizeof long array test portable.
5849
5850         * gdb.base/ending-run.exp: After connecting to a remote target,
5851         but before running, the target will appear to be in a random
5852         location.  Specify both a file and a line for breakpoints.
5853         Also, the function that calls main may be called 'init'
5854         rather than 'start'.
5855
5856 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5857
5858         * gdb.base/help.exp: Update output for add-symbol-file command.
5859
5860 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
5861
5862         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5863         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5864
5865 2000-04-07  J.T. Conklin  <jtc@redback.com>
5866
5867         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5868
5869         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5870
5871 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
5872
5873         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5874         values that can be represented exactly.
5875         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5876         above change, and to not check against the directory part of the source
5877         file name.
5878         (step into print_long_arg_list): Likewise.
5879         (print print_small_structs from print_long_arg_list): Likewise.
5880         (print print_long_arg_list): Likewise.
5881
5882 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5883
5884         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
5885
5886 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5887
5888         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5889
5890 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
5891
5892         * gdb.base/commands.exp (deprecated_command_test): Add test for
5893         deprecate with no arguments.
5894
5895 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
5896
5897         * gdb.base/break.exp: Add new test for setting breakpoints on
5898         optimized code so we can test breakpoints work even when function
5899         prologues may be optimized away
5900
5901 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5902
5903         From David Whedon <dwhedon@gordian.com>
5904         * gdb.base/commands.exp : Added command deprecator tests.
5905
5906 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
5907
5908        * gdb.base/help.exp: Added test for new apropos command.
5909
5910 2000-03-21  Kevin Buettner <kevinb@redhat.com>
5911
5912         * gdb.base/pointers.c (usevar): New function.
5913         (main): Make sure that global variables v_int_pointer2, rptr,
5914         and y are all referenced someplace in the program by calling
5915         usevar() on them.  [Some linkers delete symbols which are
5916         never referenced.  The space remains, but there's no way to
5917         get a (symbolic) handle on the variable from the debugger.]
5918
5919 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5920
5921         * gdb.base/printcmds.c: Add typedeffed arrays.
5922
5923         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5924         procedure to test arrays that are typedef'd.
5925
5926 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
5927
5928         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
5929         the library directories.
5930
5931 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
5932
5933         * configure.in (configdirs): Add sub directory gdb.mi.
5934         * configure: Re-generate.
5935
5936         * gdb.mi: New directory.
5937
5938 2000-02-25  Scott Bambrough <scottb@netwinder.org>
5939
5940         * gdb.base/long_long.exp: Correct test suite failure when printing
5941         a long long value as a double on ARM platforms.
5942
5943 2000-02-16  Jim Blandy  <jimb@redhat.com>
5944
5945         * gdb.base/break.exp ("breakpoint line number"): Make sure the
5946         default source file is set properly before running this test.
5947
5948 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5949
5950         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5951         gdbtk/library directory, not in gdbtcl2.
5952
5953 2000-02-04  Jim Blandy  <jimb@redhat.com>
5954
5955         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5956         backslash from regexp pattern.
5957
5958         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5959         procedure.  Use it to run all the "continue to bp overloaded"
5960         tests.  Note that this changes the names of the tests slightly.
5961         If the breakpoint hit message includes a hex PC value, because
5962         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5963         from the real source code, still consider that a pass.
5964
5965         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5966         XFAIL here if the breakpoint message contains a hex address.  Note
5967         similar change on 1999-11-02.
5968
5969         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5970
5971         * gdb.base/ptype.exp: Establish a default source file before
5972         calling get_debug_format.
5973
5974 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5975
5976         * gdb.base/watchpoint.exp: Remove duplication of test messages.
5977
5978 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5979
5980         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5981         of successive stepi commands -- while in the prologue we should see
5982         the function entry bracket.
5983
5984 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5985
5986         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5987         reach __change_mode() when stepping through the end of main().
5988
5989 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5990
5991         * gdb.base/default.exp: Fix expected pattern.
5992         * gdb.base/help.exp: Same.
5993
5994 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5995
5996         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5997         Don't use xfail's because that affects only the following test.
5998
5999         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6000         solaris or linux.
6001
6002         * gdb.base/selftest.exp: Update to reflect changes to main.c.
6003
6004 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
6005
6006         * gdb.base/display.exp: Some yacc parsers like to say
6007         "A syntax error" rather than "A parse error".  Accept both.
6008
6009 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6010
6011         * gdb.base/default.exp: Remove OS dependent string from "target
6012         remote" test.
6013         * gdb.base/help.exp: Same for "help target remote" test.
6014
6015 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6016
6017         From Jim Kingdon <kingdon@redhat.com>:
6018
6019         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6020         prompt (cleanup rather than necessity, but still might keep output
6021         from spilling to next test).
6022
6023 2000-01-02  Fred Fish  <fnf@cygnus.com>
6024
6025         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6026         AIX, which defines them in <sys/types.h>.
6027
6028 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
6029
6030         * gdb.base/default.exp: Match arm* etc instead of arm in "info
6031         float" test.
6032
6033 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
6034
6035         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
6036
6037         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6038         outermost frame disallowed".
6039
6040 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6041
6042         * gdb.base/setvar.exp: New tests for setting the value of a struct
6043         with a constant list.
6044
6045 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6046
6047         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6048         require the user to type a cast before setting the value of a struct.
6049
6050 1999-12-06  Jim Blandy  <jimb@cygnus.com>
6051
6052         * gdb.base/default.exp: Expect the new 'info float' command on
6053         all i386 platforms.
6054
6055         * gdb.threads/linux-dp.exp: Expand our ability to recognize
6056         LinuxThreads libraries that don't support debugging.
6057
6058 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6059
6060         * gdb.base/remote.c: Fill the buffer with truely random data.
6061         Change the buffer type to ``unsigned char'' to simplify size
6062         arithmetic.
6063
6064         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
6065         stub only handles 400-1 byte packets.  Verify that the download
6066         worked.
6067
6068 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6069
6070         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6071         tests, using UNRESOLVED for the untested cases.  Also, does not wait
6072         for a timeout if the prompt was received before a recognizable pattern.
6073
6074 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6075
6076         * lib/gdb.exp (gdb_expect_list): Fix spelling.
6077
6078 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6079
6080         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6081         watchpoints.
6082
6083 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
6084
6085         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6086
6087         * gdb.c++/local.exp: Be more flexible in recognizing local class
6088         name mangling.  Don't allow horribly truncated method names.
6089         * gdb.c++/derivation.exp: Expect protected inheritance.
6090         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6091         * gdb.c++/virtfunc.exp: Likewise.
6092         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
6093         when printing a nested enum.
6094
6095 1999-11-22  Jim Blandy  <jimb@cygnus.com>
6096
6097         * gdb.base/step-test.exp: Properly await GDB's response to setting
6098         a breakpoint on the call to large_struct_by_value.
6099
6100         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6101         just because we have debug info for the `start' function.
6102
6103 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
6104
6105         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6106         "Unknown signal" messages, which indicate (on LinuxThreads) that
6107         GDB doesn't know how to debug threads on this system.  This is
6108         better than hanging while philosopher 0 dumps chatter into gdb.log.
6109
6110 1999-11-18  Tom Tromey  <tromey@cygnus.com>
6111
6112         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6113
6114 1999-11-18  Fred Fish  <fnf@cygnus.com>
6115
6116         * gdb.base/coremaker2.c: Add sample program for generating
6117         cores that is more self contained than coremaker.c.  Eventually
6118         I'll add more code to this and tie it into the testsuite.
6119
6120 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
6121
6122         * gdb.base/dollar.exp: Remove, now in gdb.hp.
6123
6124 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
6125
6126         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6127         from $srcdir/lib/.
6128         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6129         and gdb.c++/.
6130
6131         * gdb.c++/derivation.exp: remove redundant get compiler info code.
6132
6133         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
6134         'continue with watch' test point.
6135
6136 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
6137
6138         Merged from p2linux-990323-branch:
6139
6140         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6141
6142 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
6143
6144         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6145         {limit,fixed}''.  Test ``set download-write-size''.
6146
6147 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6148
6149         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6150         gdb_expect_list.
6151
6152 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6153
6154         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6155
6156 1999-11-03  Mark Salter  <msalter@cygnus.com>
6157
6158         * gdb.base/break.exp: Fix "stub continue" pattern.
6159
6160 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
6161
6162         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6163
6164 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
6165
6166         * gdb.base/display.exp ("finish"): Add timeout clause.
6167
6168         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6169         plain prompt clause, so this doesn't have to time out in order to
6170         fail.
6171
6172         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6173         breakpoint hit messages include an address.
6174
6175         * gdb.base/display.exp: Don't forget to escape parens in regular
6176         expressions.  Unix regexp notatation sucks.
6177
6178 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6179
6180         * gdb.base/annota1.exp: Test for annotate-signalled: change output
6181         order for 'signalled' message.
6182
6183 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
6184
6185         From Jimmy Guo  <guo@cup.hp.com>:
6186         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6187         * gdb.base/annota1.c: Add code for tests to work with.
6188
6189 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
6190
6191         * gdb.base/remote.exp: New test for remote downloading settings.
6192         * gdb.base/remote.c: New file with large .data.
6193
6194 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
6195
6196         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6197         for LinuxThreads support, merged from the Code Fusion branch.
6198
6199 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
6200
6201         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6202         containing exp_continue into a while within an expect.  Don't
6203         attempt a start more than three times.  Check return value from
6204         gdb_load.
6205
6206 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6207
6208         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6209         a pass case.
6210
6211 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
6212
6213         * gdb.base/break.c (main): Added a statement that we can step
6214         off of.
6215         * gdb.base/break.exp: Added tests for setting a breakpoint
6216         at an offset and stepping onto a breakpoint.
6217
6218 1999-10-01  Fred Fish  <fnf@cygnus.com>
6219
6220         * gdb.base/help.exp (help add-symbol-file): Update to match current
6221         gdb output.
6222
6223 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
6224
6225         * gdb.base/break.exp: Code locations are in hex, don't forget!
6226         (For HP-UX.)
6227
6228 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
6229
6230         * condbreak.exp: Use break.c as test program.
6231         * condbreak.c: Remove, redundant with break.c.
6232
6233 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
6234
6235         * config/monitor.exp (gdb_target_monitor): Disable X- and
6236         Z-packets if the target needs it.
6237
6238 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
6239
6240         * gdb.c++/overload.exp: Added tests for listing overloaded
6241         functions with function pointers in the arg, explicitly calling
6242         out the version you want.
6243
6244 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
6245
6246         * long_long.exp: Add variations of test cases that work for
6247         targets with 16-bit ints and 32-bit doubles.
6248
6249 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
6250
6251         * break.c (main): Compare a possibly-uninitialized argc with an
6252         unlikely value that fits in 16 bits.
6253
6254 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
6255
6256         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6257         0xfeeb, don't want negative numbers if ints are 16 bits.
6258
6259         * lib/gdb.exp (skip_cplus_tests): New proc.
6260         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6261         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6262         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6263         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6264         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6265         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6266         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6267         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6268
6269         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6270
6271 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
6272
6273         * gdb.base/corefile.exp (up): Allow a parameter to appear
6274         in the frame that we're going up to.
6275
6276         From Jim Blandy <jimb@cygnus.com>:
6277
6278         * gdb.base/default.exp (info float): Expect some output now.
6279
6280         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6281         returning floating-point values to fail on the x86.
6282         * gdb.base/callfwmall.exp (do_function_calls): Same.
6283
6284         * gdb.base/list.exp (test_listsize): Correct expectations for
6285         listing line 1 with listsize 2.  Also, listing a single line
6286         works now, as does listing three lines.  [Kevin's note: There
6287         were a number of other cases fixed too where the expectations
6288         differed...]
6289
6290 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
6291
6292         * gdb.base/selftest.exp: Add case for when version prints as
6293         constant string instead of char pointer.
6294
6295 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
6296
6297         * gdb.base/ending-run.exp: Add Solaris case for what happens when
6298         stepping out of main.
6299
6300         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6301         G++ used.
6302
6303         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6304         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6305
6306         * gdb.c++/ovldbreak.exp: Update match string in test that
6307         includes a warning of multiple breakpoints.
6308
6309 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
6310
6311         * gdb.base/display.exp: Improve precision of step-after-finish
6312         added yesterday.
6313
6314         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6315         test.
6316
6317         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6318         configs when using G++, not just hppa*.
6319
6320 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6321
6322         * gdb.base/async.c: New file.
6323         * gdb.base/async.exp: New file.
6324
6325 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
6326
6327         * gdb.base/break.exp: Tweak PA specific tests to properly handle
6328         PA64.
6329
6330 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
6331
6332         * gdb.base/display.exp: "finish" can leave us mid-line on many
6333         targets, deal with it.  Add a small constant to main, instead of
6334         1000 since main+1000 may not be a valid address in the target.
6335
6336         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6337         on hpux11.
6338
6339         * gdb.base/attach.exp: Handle another hpux11 error message variant
6340         when attaching to a process that does not exist.
6341
6342 1999-08-19  J.T. Conklin  <jtc@redback.com>
6343
6344         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6345         characters in 'continue to 1241' test.
6346
6347 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
6348
6349         * gdb.base/call-ar-st.exp: Add a shorter match case for the
6350         stop in print_long_arg_list, define and use a whitespace
6351         variable in print_small_structs test, add an XFAIL for Solaris.
6352         * gdb.base/dbx.exp: XFAIL func commands until somebody is
6353         interested enough to fix.
6354
6355 1999-08-13  Keith Seitz  <keiths@cygnus.com>
6356
6357         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6358         (dbx_gdb_load): Remove. Use gdb_load instead, since that
6359         proc knows about targets other than the natives.
6360         (test_assign): Use "gdb_run_cmd" to "run" the target.
6361         Check that we've actually hit the breakpoint at main.
6362         When we attempt to assign a value to a local variable, check
6363         that the variable is in the current scope, i.e., don't use
6364         a test with an empty result.
6365
6366 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6367
6368         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6369         command.
6370
6371 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
6372
6373         From Jimmy Guo <guo@cup.hp.com> and others at HP:
6374         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6375         gdb.compat, gdb.threads-hp.
6376         gdb.hp/configure, gdb.hp/configure.in: New files.
6377         gdb.hp/Makefile.in: Recurse into new subdirs.
6378         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6379         gdb.hp/gdb.objdbg: New directory, tests for debugging info
6380         in object files.
6381         gdb.hp/tools: New directory, aux tools for HP-specific tests.
6382
6383 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
6384
6385         * gdb.base/display.exp: Help expect by putting a newline in the
6386         funky printf, remove a bogus p/a test.
6387
6388 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6389
6390         * gdb.base/display.exp: Make sure that when we say 'run', we are
6391         connected to the target. This is necessary when running not
6392         natively.
6393
6394 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
6395
6396         * gdb.base/step-test.exp: Removed some extraneous messages.
6397
6398         * gdb.base/long_long.exp: Don't run memory examination tests
6399         on little-endian targets (they will need a different set of
6400         results to match).
6401
6402 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
6403
6404         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6405         until somebody decides to fix GDB.
6406
6407         * gdb.base/long_long.c: Stop compiler complaint by specifying long
6408         constant as "ULL".
6409         * gdb.base/long_long.exp: Loosen x/c test, add partial result
6410         matches for a couple x/2 commands.
6411
6412 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
6413
6414         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6415         by merging in ref-types2 tests.
6416         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6417
6418         From Jimmy Guo <guo@cup.hp.com> and others at HP:
6419         * gdb.c++/Makefile.in: Add standard actions.
6420         (EXECUTABLES): Rename from PROGS, update list.
6421         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6422         from gdb.hp.
6423         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6424         foo and bar locals.
6425         * gdb.c++/anon-union.exp: Fix tests to match.
6426         * gdb.c++/classes.exp: Run if HP compiler used, add extra
6427         expect matches to handle output variations.
6428         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6429         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6430         output, add HP alternatives for new and delete prints.
6431         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6432         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6433         * gdb.c++/demangle.exp: Use $style when reporting failure.
6434         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6435         * gdb.c++/inherit.exp: Run if HP compiler used, add some
6436         match alternatives.
6437         * gdb.c++/local.exp: Add match alternatives or xfails for HP
6438         compilers.
6439         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6440         * gdb.c++/method.exp: Add match alternatives.
6441         * gdb.c++/misc.cc: Add bool types.
6442         * gdb.c++/misc.exp: Add tests for bool types.
6443         * gdb.c++/overload.exp: Add xfails.
6444         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6445         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6446         add some more template parameter tests (only for HP currently).
6447         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6448         * gdb.c++/virtfunc.cc: Add return type and value for main.
6449         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6450         match alternatives.
6451
6452 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6453
6454         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6455
6456 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
6457
6458         * gdb.base/signals.exp: Don't expect getting a backtrace from
6459         within a signal handler to fail on Linux.
6460
6461 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
6462
6463         From Jimmy Guo <guo@cup.hp.com> and others at HP:
6464         * lib/gdb.exp: Remove some gratuitious semicolons.
6465         (delete_breakpoints): Increase timeout.
6466         (gdb_expect): Add -notransfer option.
6467         (gdb_test): Use -notransfer option.
6468         (get_compiler_info): Add f77 case.
6469         (get_compiler): New proc, split out from gdb_preprocess, add f77
6470         case.
6471         (gdb_preprocess): Call get_compiler.
6472
6473         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6474         * gdb.base/attach.exp, gdb.base/display.exp,
6475         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6476         gdb.base/long_long.exp, gdb.base/printcmds.exp,
6477         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6478         third arg to gdb_test.
6479         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6480         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6481         HP-UX xfails, add others.
6482         * gdb.base/completion.exp: Reflect name change of self-test.
6483         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6484         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6485         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6486         HP failure number.
6487         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6488         useless HP-UX 10.30 references.
6489         * gdb.base/maint.exp: Loosen matches.
6490         * gdb.base/pointers.c (main): Declare more_code.
6491         * gdb.base/pointers.exp: Match on output of a `next'.
6492         * gdb.base/structs.c: Add prototypes.
6493         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6494         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6495
6496 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6497
6498         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6499         command.
6500
6501 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6502
6503         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6504         Fix run to main failures. Watchpoint can be hardware watchpoint.
6505
6506         * gdb.base/annota1.exp: Clean up some more, in case printf has
6507         debug info.  Deal with lack of signal hanlder info in stack.
6508
6509         From Jim Kingdon  <kingdon@redhat.com>:
6510         * gdb.base/annota1.exp: If printf has debug info, deal with it.
6511
6512 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
6513
6514         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6515         gdb.base/foll-vfork.exp: Don't run for crosses.
6516
6517 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6518
6519         * gdb.base/configure.in: Check for gdbvars.exp instead of
6520         a1-selftest.exp.
6521         * gdb.base/configure: Re-generate.
6522
6523 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
6524
6525         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6526         in trying to run first and name is too long.
6527
6528         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6529         pointers2.c and pointers2.exp, respectively.
6530         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6531         doschk happier.
6532
6533 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
6534
6535         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6536         callfuncs2.c and callfuncs2.exp.
6537
6538         * gdb.base/list.exp: Remove mistaken xfails.
6539         * gdb.base/list0.h: Add optional prototypes.
6540
6541 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
6542
6543         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6544         calling malloc.
6545         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6546         * ptype.exp: Move test for get_debug_format to before its first
6547         use.
6548
6549 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6550
6551         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6552         * gdb.base/annota2.cc, annota2.exp: Move from here.
6553         * gdb.c++/annota2.cc, annota2.exp: To here.
6554         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6555
6556 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6557
6558         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6559         a consistent format.
6560
6561 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
6562
6563         From Jimmy Guo <guo@cup.hp.com> and others at HP:
6564         * lib/gdb.exp (get_compiler_info): Add detection for assorted
6565         HP compilers, also set the globals $true and $false.
6566
6567         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6568         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6569         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6570         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6571         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6572         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6573         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6574         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6575         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6576         whatis.c} Add C++ compatible function definitions and return
6577         types, add includes for library functions.
6578         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6579         * gdb.base/step-test.c (myglob): Rename from glob.
6580         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6581         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6582         files, move here from gdb.hp.
6583         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6584         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6585         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6586         Adjust line numbers in regexps.
6587
6588         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6589         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6590         instead of 0/1.
6591
6592         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6593         foll-vfork.exp: New files, move here from gdb.hp.
6594         * gdb.base/page.exp: New file, test of pagination command.
6595
6596         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6597         recursion test.
6598         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6599
6600         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6601         gdb.base/solib.exp: Fix compiler invocation process.
6602
6603         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6604         HP-UX 11, turn off overload resolution explicitly.
6605         * gdb.base/commands.exp: Set argument list explicitly, add
6606         watchpoint test.
6607         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6608         them work.
6609         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6610         expressions properly.
6611         * gdb.base/corefile.exp: Loosen the match slightly.
6612         * gdb.base/default.exp: Allow "Error accessing memory" message
6613         also.
6614         * gdb.base/display.exp: Skip over x/0 j if PA64.
6615         * gdb.base/funcargs.exp: Add xfails for HP-UX.
6616         * gdb.base/interrupt.exp: Ditto.
6617         * gdb.base/langs.exp: Add symbolic matches governed by compiler
6618         in use.
6619         * gdb.base/list.exp: Add xfails for HP-UX.
6620         * gdb.base/long_long.exp: Refine some of the numeric matches.
6621         * gdb.base/mips_pro.exp: Xfail on HP-UX.
6622         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6623         * gdb.base/nodebug.exp: Succeed on more varieties of output.
6624         * gdb.base/opaque.exp: Remove some HP-UX xfails.
6625         * gdb.base/ptype.exp: Succeed on more varieties of output.
6626         * gdb.base/scope.exp: Add xfails for HP-UX.
6627         * gdb.base/sect-cmd.exp: Add more cases.
6628         * gdb.base/setvar.exp: Add xfails for HP-UX.
6629         * gdb.base/shlib-call.exp: Loosen some matches slightly.
6630         * gdb.base/signals.exp: Match on void symbolically.
6631         * gdb.base/step-test.exp: Add case for PA64.
6632         * gdb.base/term.exp: Add exit and restart.
6633         * gdb.base/twice.exp: Clean up after self.
6634         * gdb.base/varargs.exp: Disable overload resolution explicitly.
6635         * gdb.base/whatis.exp: Allow more ways to pass tests.
6636
6637         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6638         no longer useful.
6639
6640 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6641
6642         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
6643         list of patterns.
6644         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6645         print_double_array(double_array)", "continuing to breakpoint
6646         1018", "print print_double_array(array_d)" and "continuing to
6647         1034" tests.
6648
6649 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
6650
6651         * Makefile.in: Add empty html and install-html targets.
6652
6653 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
6654
6655         * config/mt-*: Remove, these haven't been used since 1996.
6656
6657 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
6658
6659         * gdb.base/call-strs.c, gdb.base/ending-run.c,
6660         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6661         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6662
6663 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
6664
6665         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6666         simpler match case for the ptype of the big class.
6667
6668 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6669
6670         * gdb.exp: Fix test for gdb_prompt existence.
6671
6672 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6673
6674         * gdb.exp (gdb_test): Add fail after calls to perror.
6675
6676 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6677
6678         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6679
6680 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6681
6682         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6683
6684 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6685
6686         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
6687         malloc() is linked in.
6688
6689 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6690
6691         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6692         step at end.
6693
6694         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6695
6696 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
6697
6698         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
6699
6700 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
6701
6702         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6703         * gdb.base/mips_pro.exp: Likewise.
6704
6705 1999-06-02  Keith Seitz  <keiths@cygnus.com>
6706
6707         * gdb.c++/templates.cc: Change all "new" operators to throw
6708         an exception.
6709         * gdb.c++/cplusfuncs.cc: Likewise.
6710
6711         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6712
6713 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
6714
6715         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6716         * gdb.base/ending-run.exp: When stepping out of main, accept a
6717         step into an arbitrary assembler file.
6718
6719 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6720
6721         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
6722         "breakpoint-invalid" to be printed.
6723         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
6724         number of "frames-invalid" and "breakpoint-invalid" to be printed.
6725         * gdb.base/annota2.cc: Initialize a.x to 0.
6726
6727 1999-05-17  Keith Seitz  <keiths@cygnus.com>
6728
6729         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6730         when "skip_float_tests" set.
6731         Ditto for "print print_double_array(array_d)", "print print_small_structs",
6732         "print print_ten_doubles", and "step into print_long_arg_list".
6733         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6734         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6735         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6736         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6737         "skip_float_tests" is set.
6738         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6739         when "skip_float_tests" set.
6740
6741 1999-05-06  Keith Seitz  <keiths@cygnus.com>
6742
6743         * gdb.base/annota2.cc: Include stdio.h.
6744
6745 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
6746
6747         * gdb.base/crossload.exp: Remove, this has been disabled ever
6748         since BFD stopped including all targets, and cross-GDB gets
6749         plenty of testing anyway.
6750         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6751         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6752         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6753         * gdb.base/README: Remove, was doc for this.
6754         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6755         needed.
6756
6757 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6758
6759         * gdb.base/call-ar-st.exp: Fix one regular expression in test
6760         output.
6761
6762         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6763         * gdb.base/annota2.exp: New file. More annotation tests.
6764         * gdb.base/annota1.c: New file. Source file for annota1.exp.
6765         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6766
6767 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
6768
6769         * config/cfdbug.exp: New file.
6770
6771 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
6772
6773         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6774         Marcus Daniel's and Dale Hawkins's demangler crashes.
6775
6776         * gdb.c++/demangle.exp (test_gnu_style_demangling,
6777         test_lucid_style_demangling, test_arm_style_demangling,
6778         test_hp_style_demangling): Try Tom Tromey's core-dumping
6779         identifier under each demangling style.
6780
6781 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
6782
6783         * gdb.c++/demangle.exp: Include the current demangling style
6784         in all test names.
6785         (current_demangling_style): New global variable.
6786         (set_demangling_style, test_demangling_core, test_demangling,
6787         test_demangling_exact): New functions.
6788         (test_gnu_style_demangling, test_lucid_style_demangling,
6789         test_arm_style_demangling, test_hp_style_demangling): Use those,
6790         instead of calling gdb_test and gdb_test_exact directly.
6791         (catch_demangling_errors): New function, which reports errors
6792         signalled by the demangling test functions in an orderly way.
6793         (do_tests): Use catch_demangling_errors.
6794
6795 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
6796
6797         * gdb.base/signals.exp (test_handle_all_print): Use () for
6798         grouping in expressions, not {}.
6799
6800         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
6801         initialized yet.
6802
6803 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
6804
6805         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6806         are listed.
6807
6808 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
6809
6810         * gdb.stabs/weird.exp: Test for CC being defined before
6811         looking at its value.
6812
6813 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
6814
6815         * gdb.base/call-ar-st.exp: Remove stray '#'.
6816         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6817         "short int" and "long int".
6818         * gdb.c++/overload.cc: Cast the string added in the previous
6819         change, to mollify finicky HP compiler.
6820         * gdb.hp/reg-test.exp (testfile): Fix file name.
6821         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
6822
6823         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6824         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6825         alternate form of enum ptype.
6826
6827 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
6828
6829         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6830         * gdb.hp/*.exp: Change all to run compiler probe only after
6831         passing skip_hp_tests, so as not to waste time on guaranteed
6832         failure.
6833
6834         * gdb.c++/overload.cc: Pass string instead of char addr, always
6835         init ccpfoo.
6836         * gdb.c++/templates.cc: Fix syntax error.
6837
6838 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
6839
6840         * gdb.base/commands.exp: Add test for correct position of '>'
6841         when issuing the 'commands' command after a 'while' or 'if'
6842         command.
6843
6844 1999-03-18  James Ingham  <jingham@cygnus.com>
6845
6846         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6847
6848         * gdb.c++/method.exp: It was testing an uninitialized int on the
6849         stack and assuming it was positive.
6850
6851         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6852
6853         * gdb.base/step-test.exp: Catch a case where finish is broken and
6854         keep it from killing the rest of the tests.
6855         Use gdb_continue_to_end.
6856
6857         * gdb.base/sigall.exp: use gdb_continue_to_end.
6858
6859         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6860
6861         * gdb.base/display.exp: use runto_main, not run.
6862
6863         * gdb.base/default.exp: Check for the current error message in the
6864         r abbreviation test.
6865         Add strongarm to the targets that know info float.
6866
6867         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
6868         run which doesn't work with monitors.
6869
6870         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6871
6872         * gdb.base/break.exp: use the gdb_continue_to_end proc.
6873
6874         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
6875         program.  Traps the case (in Cygmon) when the program never really
6876         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
6877         more places, so I used my name.  Sorry Mark...
6878
6879         * config/monitor.exp (gdb_target_monitor): added another
6880         target_info parameter: remotebinarydownload.  This will set the
6881         remotebinarydownload flag if this is causing some boards trouble.
6882
6883 1999-03-18  Mark Salter  <msalter@cygnus.com>
6884
6885         * lib/gdb.exp (continue_to_exit): New function.
6886
6887         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6888         * gdb.base/ending-run.exp: Ditto.
6889         * gdb.base/step-test.exp: Ditto.
6890
6891 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
6892
6893         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6894         (suggested by Art Haas <ahaas@neosoft.com>).
6895
6896 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
6897
6898         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6899
6900 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
6901
6902         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6903         descriptions of types (short unsigned int vs unsigned short, etc).
6904
6905 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
6906
6907         * gdb.base/call-strs.exp: Don't assume that `step' will step over
6908         a call to strlen; sometimes we do have sources.
6909
6910 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
6911
6912         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6913         character, so GDB won't print garbage after its end.
6914
6915         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6916         breakpoint there instead.  Sometimes GCC emits memcpy to handle
6917         the large structures being passed by value, so we step into that
6918         instead of sum_array_print, which obscures what we're really testing.
6919         * gdb.base/step-test.exp: However, we do want a test that notices
6920         the bizarre steps into memcpy, so do that here.  Add check for
6921         stepping into function calls that pass large structures by value.
6922         ("Is that a noun clause, or are you just happy to see me?")
6923         Remove all references to specific line numbers.
6924         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6925         New type and function.
6926         (main): Call large_struct_by_value, passing it a large struct by value.
6927         * lib/gdb.exp (gdb_get_line_number): New function.
6928
6929         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6930         more portable.
6931
6932 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
6933
6934         * lib/gdb.exp: Doc fixes.
6935
6936 1999-03-05  Nick Clifton  <nickc@cygnus.com>
6937
6938         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
6939
6940 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
6941
6942         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6943         commands.  They're not germane to this test, and they don't work
6944         that way on remote targets.
6945
6946 1999-03-01  James Ingham  <jingham@cygnus.com>
6947
6948         * Changelog entries merged over from gdb development branch.
6949
6950        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
6951
6952                * lib/gdb.exp (gdbtk_analyze_results): Generic function
6953                for outputting results of test run.
6954
6955         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
6956
6957                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
6958
6959 1999-02-25  Felix Lee  <flee@cygnus.com>
6960
6961         * lib/gdb.exp (debug_format): initialize
6962
6963 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
6964
6965         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6966         * gdb.base/call-rt-st.c: Ditto.
6967
6968 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
6969
6970         * gdb.threads/pthreads.exp (horiz): New variable.
6971         (test_startup): Fix regexps that capture thread numbers.
6972
6973 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
6974
6975         * gdb.base/smoke.exp: Disambiguate two test case names (both
6976         called ``print'').
6977
6978 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
6979
6980         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6981         compilation.
6982
6983 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
6984
6985         * gdb.base/miscexprs.exp: Change patterns to match GDB's
6986         actual output formatting.
6987         * gdb.base/smoke.exp: GDB removes leading 0's.
6988         * gdb.base/volatile.exp: Don't check type of remuneration;
6989         that variable is no longer defined in constvars.c.
6990         * gdb.base/step-test.c (main): Exit with explicit exit code.
6991         * gdb.base/step-test.exp: Remove two nexti checks--they are
6992         not portable.
6993
6994 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
6995
6996         * gdb.base/help.exp ("help delete display"): Fix test to match
6997         gdb's output.
6998
6999         * gdb.base/long_long.c (known_types): Initialize values to zero.
7000         * gdb.base/long_long.exp: Step one more line
7001         so 'dec' is initialized in "get to known place".  GDB removes
7002         leading zeros.  Explicitly ask for hex formatting.  Use
7003         unique test case names.
7004
7005 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7006
7007         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
7008
7009         * gdb.c++/method.exp: Add missing close brace.
7010
7011 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
7012
7013         * gdb.base/maint.exp: Use 'set height 0' to disable page
7014         prompting, not 'set height 400'.
7015
7016         Fix a bunch of timeouts.
7017         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7018         four separate tests, so expect doesn't take forever to match a ton
7019         of text against a regexp with lots of .* forms.
7020         ("maint print psymbols", "maint print symbols"): Make some of
7021         these greps more selective, so that expect doesn't try to wade
7022         through huge piles of output and time out.
7023
7024         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7025
7026         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7027         tests: one which doesn't expect shlib events to be reported, and
7028         another which does, but is XFAIL for all platforms other than
7029         HP/UX.
7030
7031         * gdb.base/break.exp: Teach the test suite that the `catch
7032         fork', `catch vfork', and `catch exec' commands produce error
7033         messages on platforms that don't provide these features.
7034
7035 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
7036
7037         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7038         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7039         (shortening names from solib_threshold.exp etc), won't run on
7040         anything but HP-UX for the foreseeable future.
7041         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7042         reflect move.
7043
7044 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
7045
7046         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7047         gdb.trace/Makefile.in (clean): Remove all test executables.
7048
7049 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
7050
7051         * gdb.base/shlib-call.exp: add test cases to verify that gdb
7052         successfully re-sets breakpoints in shared libraries.
7053         * gdb.base/shmain.c (main): return 0, don't fall off the end.
7054
7055 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
7056
7057         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7058         and compiled w/o GCC.
7059
7060         * gdb.hp/watch-cmd.exp: ditto.
7061
7062         * gdb.hp/watch-hp.exp: ditto.
7063
7064         * gdb.hp/xdb1.exp: ditto.
7065
7066         * gdb.hp/xdb2.exp: ditto.
7067
7068         * gdb.hp/dbx.exp: ditto.
7069
7070 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
7071
7072         * constvars.c: Remove C++-isms.
7073         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7074         with GCC.
7075
7076 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
7077
7078         The following changes are part of the HP merge.
7079
7080         * gdb.base/break.exp: new tests to verify that catchpoints for
7081         fork, vfork, and exec don't trigger inappropriately.
7082
7083         * gdb.base/opaque.exp: compile one file at a time, then link.
7084
7085         * gdb.base/signals.exp: be more restrictive about which hppa
7086         systems receive a setup_xfail.  new tests.
7087
7088         * gdb.base/solib_threshold.build: new file.
7089         * gdb.base/solib_threshold.exp: new file.
7090         * gdb.base/solib_threshold.link_opts: new file.
7091         * gdb.base/solib_threshold.mk: new file.
7092         * gdb.base/gen_solib_threshold.c: new file.
7093
7094         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7095         tests.  New tests for enums inside classes.
7096
7097         * gdb.c++/compiler.cc: indicate support of template debugging.
7098
7099         * gdb.c++/demangle.exp: run hp style demangling tests.
7100
7101         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7102         tests.
7103
7104         * gdb.c++/misc.cc: changes to support new tests.
7105
7106         * gdb.c++/templates.cc: changes to support HP's compiler; changes
7107         to support new tests.
7108
7109         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7110         gcc, then skip these tests.
7111
7112 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
7113
7114         The following files are part of the HP merge; some had longer
7115         names at HP, but have been renamed to be no more than 14
7116         characters in length.
7117
7118         * gdb.hp/ambiguous.cc: new file.
7119         * gdb.hp/ambiguous.exp: new file.
7120         * gdb.hp/attach.exp: new file.
7121         * gdb.hp/attach2.exp: new file.
7122         * gdb.hp/classes-hp.exp: new file.
7123         * gdb.hp/ctti.exp: new file.
7124         * gdb.hp/ctti-add.cc: new file.
7125         * gdb.hp/ctti-add1.cc: new file.
7126         * gdb.hp/ctti-add2.cc: new file.
7127         * gdb.hp/ctti-add3.cc: new file.
7128         * gdb.hp/dbx.exp: new file.
7129         * gdb.hp/exception.cc: new file.
7130         * gdb.hp/exception.exp: new file.
7131         * gdb.hp/foll-exec.c: new file.
7132         * gdb.hp/foll-exec.exp: new file.
7133         * gdb.hp/foll-fork.c: new file.
7134         * gdb.hp/foll-fork.exp: new file.
7135         * gdb.hp/foll-vfork.c: new file.
7136         * gdb.hp/foll-vfork.exp: new file.
7137         * gdb.hp/inherit-hp.exp: new file.
7138         * gdb.hp/more-steps.exp: new file.
7139         * gdb.hp/namespace.cc: new file.
7140         * gdb.hp/namespace.exp: new file.
7141         * gdb.hp/optimize.exp: new file.
7142         * gdb.hp/pxdb.c: new file.
7143         * gdb.hp/pxdb.exp: new file.
7144         * gdb.hp/quicksort.exp: new file.
7145         * gdb.hp/reg-test.exp: new file.
7146         * gdb.hp/reg-test.s: new file.
7147         * gdb.hp/sized-enum.c: new file.
7148         * gdb.hp/sized-enum.exp: new file.
7149         * gdb.hp/start-stop.exp: new file.
7150         * gdb.hp/templ-hp.cc: new file.
7151         * gdb.hp/templ-hp.exp: new file.
7152         * gdb.hp/thr-lib.c: new file.
7153         * gdb.hp/thr-lib.exp: new file.
7154         * gdb.hp/thr-lib.h: new file.
7155         * gdb.hp/thr-liblib.c: new file.
7156         * gdb.hp/virtfun-hp.c: new file.
7157         * gdb.hp/virtfun-hp.exp: new file.
7158         * gdb.hp/watch-cmd.exp: new file.
7159         * gdb.hp/watch-hp.exp: new file.
7160         * gdb.hp/xdb1.exp: new file.
7161         * gdb.hp/xdb2.exp: new file.
7162         * gdb.hp/xdb3.exp: new file.
7163
7164 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
7165
7166         The following files are part of the HP merge; some had longer
7167         names at HP, but have been renamed to be no more than 14
7168         characters in length.
7169
7170         * gdb.base/ss.h: new file.
7171         * gdb.base/call-ar-st.c: new file.
7172         * gdb.base/call-ar-st.exp: new file.
7173         * gdb.base/call-rt-st.c: new file.
7174         * gdb.base/call-rt-st-exp: new file.
7175         * gdb.base/call-strs.exp: new file.
7176         * gdb.base/ena-dis-br.exp: new file.
7177         * gdb.base/environ.exp: new file.
7178         * gdb.base/long_long.exp: new file.
7179         * gdb.base/sect-cmd.exp: new file.
7180         * gdb.base/shlib-cl2.exp: new file.
7181         * gdb.base/smoke.exp: new file.
7182         * gdb.base/so-impl-ld.c: new file.
7183         * gdb.base/so-impl-ld.exp: new file.
7184         * gdb.base/so-indr-cl.c: new file.
7185         * gdb.base/so-indr-cl.exp: new file.
7186         * gdb.base/varargs.exp: new file.
7187         * gdb.base/volatile.exp: new file.
7188         * gdb.base/whatis-exp.exp: new file.
7189         * gdb.base/display.exp: new file.
7190         * gdb.c++/derivation.exp: new file.
7191         * gdb.c++/local.exp: new file.
7192         * gdb.c++/member-ptr.exp: new file.
7193         * gdb.c++/overload.exp: new file.
7194         * gdb.c++/ovldbreak.exp: new file.
7195         * gdb.c++/ref-types.exp: new file.
7196         * gdb.c++/ref-types2.exp: new file.
7197         * gdb.c++/userdef.exp: new file.
7198
7199 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
7200
7201         * gdb.base/default.exp: Reflect wording change in remote.c.
7202
7203 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
7204
7205         * gdb.base/help.exp: Update to reflect current text.
7206
7207 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
7208
7209         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7210         they're stack variables and contain garbage.
7211         * gdb.c++/anon-union.exp: new file.
7212
7213         The following changes were made by David Taylor
7214         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7215         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7216         in changes by HP.
7217
7218         * gdb.base/bitops.exp: new file.
7219         * gdb.base/default.exp: change expected messages for catch and
7220         info catch tests to reflect HP merge changes.
7221         * gdb.base/enable-disable-break.exp
7222         * gdb.base/ending-run.c: new file.
7223         * gdb.base/long_long.c: new file.
7224         * gdb.base/maint.exp: new file.
7225         * gdb.base/pointers2.exp: new file.
7226         * gdb.base/shlib-call2.exp: new file.
7227         * gdb.base/solib.exp: new file.
7228         * gdb.base/step-test.c: new file.
7229         * gdb.c++/anon-union.cc: new file.
7230         * gdb.c++/local.cc: new file.
7231         * gdb.c++/member-pointer.cc: new file.
7232         * gdb.c++/method.cc: new file.
7233         * gdb.c++/ref-types.cc: new file.
7234         * gdb.c++/ref-types2.cc: new file.
7235         * gdb.c++/userdef.cc: new file.
7236
7237         * gdb.base/scope.exp: compile one file at a time, then link.
7238         * gdb.base/langs.exp: ditto.
7239         * gdb.base/list.exp: ditto.
7240
7241 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
7242
7243         The following changes were made by David Taylor
7244         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7245         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7246         in changes by HP.
7247
7248         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7249         skip tests.  When compiling pass c++ flag to gdb_compile.
7250         * gdb.c++/
7251
7252         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7253         test for on hppa*-*-hpux*; use args to see if c++ was specified.
7254         (skip_hp_tests): new function.
7255         (gdb_preprocess): new function.
7256
7257         * configure.in (hpdir): decide whether to configure gdb.hp.
7258         * configure: regenerated.
7259
7260         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7261         to delete on clean.
7262         (EXECUTABLES): update to reflect new additions.
7263         * gdb.base/commands.exp: update message expected.
7264         * gdb.base/default.exp: add copyright notice.
7265         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7266         * gdb.base/help.exp: update messages to reflect current text.
7267         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7268         targets for recurse tests.
7269         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7270         skip this file.
7271
7272         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7273         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7274         compilation.
7275         * gdb.c++/misc.exp: ditto.
7276         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7277         run the tests.  tell gdb_compile that it's a c++ compilation.
7278
7279         * gdb.threads/pthreads.exp: fix typo in message.
7280
7281         * gdb.base/all-bin.exp: new file.
7282         * gdb.base/arithmet.exp: new file.
7283         * gdb.base/assign.exp: new file.
7284         * gdb.base/completion.exp: new file.
7285         * gdb.base/cond-expr.exp: new file.
7286         * gdb.base/condbreak.exp: new file.
7287         * gdb.base/define.exp: new file.
7288         * gdb.base/dollar.exp: new file.
7289         * gdb.base/environment.exp: new file.
7290         * gdb.base/eval-skip.exp: new file.
7291         * gdb.base/jump.exp: new file.
7292         * gdb.base/logical.exp: new file.
7293         * gdb.base/pointers.exp: new file.
7294         * gdb.base/relational.exp: new file.
7295         * gdb.base/section_command.exp: new file.
7296         * gdb.base/whatis-expr.exp: new file.
7297
7298         * gdb.base/all-types.c: new file.
7299         * gdb.base/call-array-struct.c: new file.
7300         * gdb.base/call-return-struct.c: new file.
7301         * gdb.base/call-strings.c: new file.
7302         * gdb.base/callfuncs2.c: new file.
7303         * gdb.base/condbreak.c: new file.
7304         * gdb.base/constvars.c: new file.
7305         * gdb.base/display.c: new file.
7306         * gdb.base/int-type.c: new file.
7307         * gdb.base/jump.c: new file.
7308         * gdb.base/miscexprs.c: new file.
7309         * gdb.base/pointers.c: new file.
7310         * gdb.base/pointers2.c: new file.
7311         * gdb.base/shmain.c: new file.
7312         * gdb.base/shr1.c: new file.
7313         * gdb.base/shr2.c: new file.
7314         * gdb.base/solib.c: new file.
7315         * gdb.base/solib1.c: new file.
7316         * gdb.base/solib2.c: new file.
7317         * gdb.base/varargs.c: new file.
7318         * gdb.c++/derivation.cc: new file.
7319         * gdb.c++/overload.cc: new file.
7320         * gdb.c++/ovldbreak.cc: new file.
7321         * gdb.hp/attach.c: new file.
7322         * gdb.hp/attach2.c: new file.
7323         * gdb.hp/average.c: new file.
7324         * gdb.hp/compiler.c: new file.
7325         * gdb.hp/compiler.cc: new file.
7326         * gdb.hp/execd-program.c: new file.
7327         * gdb.hp/follow-exec.c: new file.
7328         * gdb.hp/follow-fork.c: new file.
7329         * gdb.hp/follow-vfork-and-exec.c: new file.
7330         * gdb.hp/misc-hp.cc: new file.
7331         * gdb.hp/more-steps.c: new file.
7332         * gdb.hp/optimize.c: new file.
7333         * gdb.hp/quicksort.c: new file.
7334         * gdb.hp/run-hp.c: new file.
7335         * gdb.hp/start-stop.c: new file.
7336         * gdb.hp/sum.c: new file.
7337         * gdb.hp/templates-hp.cc: new file.
7338         * gdb.hp/thread-local-in-lib.c: new file.
7339         * gdb.hp/thread-local-in-lib.h: new file.
7340         * gdb.hp/thread-local-in-lib.lib.c: new file.
7341         * gdb.hp/vforked-program.c: new file.
7342         * gdb.hp/virtfunc-hp.cc: new file.
7343         * gdb.hp/watchpoint-hp.c: new file.
7344         * gdb.hp/xdb.c: new file.
7345         * gdb.hp/xdb0.c: new file.
7346         * gdb.hp/xdb0.h: new file.
7347         * gdb.hp/xdb1.c: new file.
7348
7349 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
7350
7351         The following change was made by Edith Epstein
7352         <eepstein@cygnus.com> as part of a project to merge in changes
7353         originally made by HP; HP did not create ChangeLog entries.
7354
7355         * gdb.c++/demangle.exp: changed the expected output for some
7356         ARM-style mangling -- removed second reference to datatype.
7357         For example, maint demangle __dt__11T1__pt__2_cFv
7358                      T1<char>::~T1<char>(void)
7359         becomes,
7360                      maint demangle __dt__11T1__pt__2_cFv
7361                      T1<char>::~T1(void)
7362
7363         (test_hp_style_demangling): new hp specific demangling test cases.
7364
7365 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
7366
7367         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7368         * gdb.trace/backtrace.exp: Likewise.
7369         * gdb.trace/circ.exp: Likewise.
7370         * gdb.trace/collection.exp: Likewise.
7371         * gdb.trace/deltrace.exp: Likewise.
7372         * gdb.trace/infotrace.exp: Likewise.
7373         * gdb.trace/limits.exp: Likewise.
7374         * gdb.trace/packetlen.exp: Likewise.
7375         * gdb.trace/passc-dyn.exp: Likewise.
7376         * gdb.trace/passcount.exp: Likewise.
7377         * gdb.trace/report.exp: Likewise.
7378         * gdb.trace/save-trace.exp: Likewise.
7379         * gdb.trace/tfind.exp: Likewise.
7380         * gdb.trace/tracecmd.exp: Likewise.
7381         * gdb.trace/while-dyn.exp: Likewise.
7382         * gdb.trace/while-stepping.exp: Likewise.
7383
7384 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
7385
7386         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7387
7388 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
7389
7390         From Brendan Kehoe:
7391         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7392         int return types.
7393
7394 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
7395
7396         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
7397         remote dos host testing right.
7398
7399 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
7400
7401         * gdb.base/corefile.exp: remove some xfails.
7402
7403 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7404
7405         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7406         have different timestamps.
7407
7408 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7409
7410         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7411         gdb.base/default.exp: Replace "exec" with "executable".
7412
7413 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7414
7415         * gdb.base/default.exp: Change else if to elseif from previous
7416         delta.
7417
7418 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
7419
7420         * gdb.base/default.exp: Add brace missing from previous delta.
7421
7422 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
7423
7424         * gdb.base/default.exp: Support test for info float for all
7425         varieties of arm toolchain.
7426
7427 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
7428
7429         * gdb.trace/*.exp: remove "remote_download" command.
7430
7431 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
7432
7433         * gdb.trace/*.exp: remove -gdwarf from compile.
7434
7435 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
7436
7437         * gdb.trace/configure.in(AC_INIT): typo
7438         * gdb.trace/configure: regenerated
7439
7440 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
7441
7442         * config/m68k-emc.exp: New file.
7443         * lib/<emc-support.exp trace-support.exp}: New files.
7444         * configure.in: add new test directory gdb.trace.
7445         * gdb.trace/{configure configure.in Makefile.in}: New files.
7446         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7447         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7448         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7449         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7450         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7451         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7452         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
7453
7454 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
7455
7456         * gdb.c++/classes.exp: Change all regular expressions to match
7457         arbitrary combinations of newline/carriage-return, so that they
7458         will work equally well on Unix and Windows.
7459         * gdb.c++/inherit.exp: ditto.
7460         * gdb.c++/virtfunc.exp: ditto.
7461
7462 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
7463
7464         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7465
7466 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
7467
7468         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7469         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
7470         to use a0-a3/d0-d3 as needed.
7471
7472 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
7473
7474         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7475         * gdb.disasm/am33.exp: Corresponding changes.
7476
7477 1998-07-11  Felix Lee  <flee@cygnus.com>
7478
7479         * gdb.base/callfuncs.exp: add cmp10 test.
7480         * gdb.base/callfuncs.c (cmp10): new function.
7481
7482 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
7483
7484         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
7485         into two parts to get around a synchronization problem in expect.
7486
7487 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
7488
7489         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7490
7491         * configure.in: Add options for gdbtk testsuite.
7492
7493         * configure: Regenerate.
7494
7495         * gdb.gdbtk: New directory to hold gdbtk tests.
7496
7497 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
7498
7499         * gdb.fortran/types.exp:  Escape brackets in expect patterns
7500         for test_float_literal_types_accepted tests.
7501         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
7502         before run test.
7503
7504 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
7505
7506         * am33.exp: Just compile, do not link the testcase.
7507         * am33.s: Add ".am33" pseudoop to force am33 mode.
7508
7509 1998-06-25  Felix Lee  <flee@cygnus.com>
7510
7511         * gdb.base/setshow.exp: make sure $pc is sane.
7512
7513         * gdb.stabs/weird.exp: split expect patterns properly.
7514
7515 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
7516
7517         * gdb.disasm/am33.s: New disassembler testfile for the am33.
7518         * gdb.disasm/am33.exp: Run it.
7519
7520 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
7521
7522         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7523         match processing (and eliminate spurious timeouts when running).
7524
7525 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
7526
7527         * gdb.base/signals.exp (test_handle_all_print): put back Mach
7528         exception test, but conditionalize it on target [mach | gnu].
7529
7530 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
7531
7532         * gdb.base/overlays.exp: fixup compile line for linker script.
7533
7534 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
7535
7536         * gdb.fortran/types.exp: don't guess at float size.
7537
7538 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
7539
7540         * gdb.base/exprs.exp: delete test that depends on int size.
7541
7542 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
7543
7544         * config/sim.exp: Removed checks for target triplets.
7545         (gdb_target_sim): Use gdb,target_sim_options.
7546
7547 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
7548
7549         * gdb.base/reread.exp: New file.
7550         * gdb.base/reread1.c: New file.
7551         * gdb.base/reread2.c: New file.
7552
7553 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
7554
7555         * config/sim.exp: Use 'target sim -sparclite' when running
7556         SPARClite programs.
7557
7558 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
7559
7560         * gdb.base/structs2.exp: New file.
7561         * gdb.base/structs2.c: New file.
7562
7563 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
7564
7565         * gdb.asm/common.inc: New file.
7566         * gdb.asm/d10v.inc: New file.
7567         * asm-source.exp: Pass -I's to gas to find .inc files.
7568         Update line numbers in expected output.
7569         * asmsrc1.s: Rewrite.
7570         * asmsrc2.s: Rewrite.
7571         * configure.in: Create arch.inc symlink.
7572         * configure: Regenerate.
7573         * Makefile.in (distclean): Delete arch.inc.
7574
7575 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
7576
7577         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
7578         (t_enum_value2): ditto
7579         (t_enum_value3): ditto
7580         (main): ditto
7581 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
7582
7583         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
7584         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7585         change.
7586         Use gdb_test instead of send_gdb/gdb_expect sequences.
7587
7588 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
7589
7590         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7591         not void.
7592
7593 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
7594
7595         * gdb.base/branches.c: Code with lots of loops and
7596         subroutines. Used to test gdbs ability to single step through PC
7597         changes, especially to test mips-tdep.c:mips_next_pc
7598
7599 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7600
7601         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7602         more rigorous EGCS C++ error checking.
7603
7604 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
7605
7606         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
7607         tests.
7608         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
7609         function when asleep.
7610         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
7611         for i*86 Linux and SVR4 signal handling problems.
7612         Remove linux xfail for `next to handler in signals_tests_1', fixed
7613         by recent infrun.c change.
7614         Limit backtrace to 10 frames to avoid timeout problems with infinite
7615         stack backtraces.
7616         Adjust expect pattern in `handle all print' test to match Apr 28 1997
7617         target.[ch] change.
7618
7619 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
7620
7621         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7622         for a newline from gdb before continuing.
7623         (default_gdb_exit): Just look for y or n.
7624         (gdb_test): Detect abnormal exit from GDB running on DOS; if
7625         it does, fail the rests of the tests in the file.
7626
7627 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
7628
7629         * config/cygmon.exp: New file.
7630
7631 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
7632
7633         * gdb.base/list.exp: Fix problem with "list default lines around
7634         main" test on remote targets.
7635
7636         * gdb.base/scope.exp: Fix problem with filelocal_bss before
7637         run test on remote targets.
7638
7639 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
7640
7641         * gdb.asm: New directory.
7642         * configure.in: Configure it.
7643         * configure: Regenerate.
7644         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7645         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7646
7647 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
7648
7649         * config/mn10300-eval.exp: New file to support MN10300 eval board.
7650
7651 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
7652
7653         * gdb.base/overlays (several files): Merge the two overlay
7654         managers into one.  Change variables (foox, barx, bazx, grbxx)
7655         back into ints but force them to load in their proper sections.
7656
7657 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7658
7659         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7660         on-chip insn memory and IMAP1 to upper 128k.
7661         (D10VCopy): Handle memory regions crossing 16k boundaries.
7662         (D10VCopy): Transfer data in 32 bit chunks.
7663
7664 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7665
7666         * gdb.base/overlays.c (main): Exit normally when result is
7667         correct.
7668
7669         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7670         map.  Include space for printf in .text segment.
7671
7672         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7673         updated d10v memory VMA/LMA map.
7674         (D10VCopy): Call D10VTranslate.
7675
7676 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7677
7678         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7679
7680         * gdb.base/bar.c (barx, bar): Change variable to small array so
7681         that it won't be put into the .sdata - small data -
7682         section. Update reference.
7683         * gdb.base/baz.c (bazx, baz): Ditto.
7684         * gdb.base/foo.c (foox, foo): Ditto.
7685         * gdb.base/grbx.c (grbxx, grbx): Ditto.
7686
7687         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7688         to be arrays.
7689
7690 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
7691
7692         * gdb.base/overlays.exp: fix up and get working again.
7693         Add tests for backtraces from an overlay function.
7694
7695 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
7696
7697         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7698         "calling function with watchpoint enabled".
7699
7700 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
7701
7702         * gdb.base/break.exp (test_next_with_recursion): Remove
7703         gdb_suppress_tests for d10v-*-*.
7704         * lib/gdb.exp (gdb_suppress_tests): Disable this function
7705         pending review of whether it is useful or not.
7706
7707 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
7708
7709         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7710
7711 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
7712
7713         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7714         * config/dve.exp: New file to support Densan boards.
7715
7716 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
7717
7718         * gdb.base/interrupt.exp: Document problem of simulators, signals,
7719         reads and BSD.
7720
7721 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
7722
7723         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7724         response.
7725
7726         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7727
7728 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
7729
7730         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7731         test.
7732
7733         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7734         target_sizeof_long and target_bigendian_p.
7735         (structs_by_value, structs_by_reference): Check values according
7736         to targets word size and endianess.
7737
7738 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
7739
7740         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7741         output.
7742
7743 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
7744
7745         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7746         Update test of set args help to match source change.
7747
7748 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
7749
7750         * gdb.base/default.exp: Expect help system output to be in
7751         alphabetical order.
7752         * gdb.base/help.exp: Ditto.
7753
7754 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
7755
7756         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7757         "i*86-pc-linux-gnu*".
7758         * gdb.base/interrupt.exp: Ditto.
7759         * gdb.base/corefile.exp: Ditto.
7760
7761         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7762         define vxworks when building the testcase.
7763
7764         * gdb.base/ptype.exp: Fix testnames to be unique.
7765         * gdb.base/radix.exp: Ditto.
7766         * gdb.base/term.exp: Ditto.
7767         * gdb.base/whatis.exp: Ditto.
7768         * gdb.c++/classes.exp: Ditto.
7769
7770 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
7771
7772         * gdb.base/callfuncs.exp: Fix indentation.
7773
7774         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7775         suppress_flag has been set.
7776         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7777         target feature.
7778
7779 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
7780
7781         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7782         the testcase.
7783
7784         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7785         set_debug_traps() and breakpoint().
7786         * gdb.c++/misc.cc (main): Ditto.
7787         * gdb.c++/templates.cc (main): Ditto.
7788         * gdb.c++/virtfunc.cc (main): Ditto.
7789
7790 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
7791
7792         * lib/gdb.exp(gdb_step_for_stub): New function.
7793         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7794         exists, reload the executable and do a "continue" instead of
7795         doing a jump.
7796         (runto_main): Use gdb_step_for_stub.
7797
7798         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7799         tests to have unique names.
7800         * gdb.base/callfuncs.exp: Ditto.
7801         * gdb.base/commands.exp: Ditto.
7802         * gdb.base/default.exp: Ditto.
7803         * gdb.base/help.exp: Ditto.
7804         * gdb.base/list.exp: Ditto.
7805         * gdb.base/opaque.exp: Ditto.
7806         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7807         similar tests.
7808
7809         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7810         * gdb.c++/cplusfuncs.cc: Ditto.
7811         * gdb.c++/virtfunc.cc: Ditto.
7812
7813         * config/monitor.exp: Keep track of the last file we saw, rather
7814         than trying to get the info from gdb.
7815
7816         * gdb.fortran/types.exp: Move comment to previous line.
7817
7818 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
7819
7820         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7821         target mode.
7822
7823 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
7824
7825         From Bob Manson:
7826         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7827         string from GDB when it connects.
7828
7829         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7830
7831 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
7832
7833         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7834         if we can't get a debug format from GDB (we may be testing an
7835         older GDB). Use a 10 second timeout when checking for the format.
7836
7837         * gdb.stabs/weird.exp: Fix quoting.
7838
7839         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7840
7841 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
7842
7843         * config/arm-ice.exp: New file.
7844
7845 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
7846
7847         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7848         until it has been modified to work with the new testsuite.
7849
7850         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
7851         testcase won't compile, cause all of the testcases in the file to
7852         fail instead.
7853
7854         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7855         (gdb_clear_suppressed): New procedure.
7856         (gdb_stop_suppressing_tests): Only clear suppress_flag if
7857         it contains a positive value.
7858
7859 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
7860
7861         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7862
7863         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7864
7865 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
7866
7867         * lib/gdb.exp (setup_xfail_format): New function.
7868         (get_debug_format): New function to get debug format.
7869         (debug_format): New global variable to hold last value set
7870         by get_debug_format.
7871         * gdb.base/list.exp: Call get_debug_format and expect some
7872         tests to fail for DWARF 1 and COFF formats.
7873         * gdb.c++/ptype.exp: Ditto.
7874         * gdb.c++/classes.exp: Ditto.
7875         * gdb.c++/cplusfuncs.exp: Ditto.
7876         * gdb.c++/inherit.exp: Ditto.
7877         * gdb.c++/templates.exp: Ditto.
7878         * gdb.c++/virtfunc.exp: Ditto.
7879
7880 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
7881
7882         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7883         host doesn't have a currently-open connection.
7884
7885         * config/sparclet.exp: Cleanups and fixes to make it generic for
7886         any gdb stub target. Handle cases where gdb doesn't respond when
7887         interrupted in a sane fashion.
7888
7889         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7890         same thing in a totally different way.
7891
7892         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7893         setting "timeout".
7894         (gdb_start): We set the global gdb_prompt variable in
7895         default_gdb_init now.
7896
7897 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
7898
7899         * gdb.base/printcmds.exp: Fix "check for floating addition"
7900         regexp to accept results within approx +/- .01 of exact value.
7901         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7902
7903 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
7904
7905         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7906         properly.
7907         (gdb_expect): Add optional timeout parameter, and add timeout
7908         value to various calls.
7909         (gdb_suppress_tests): Only give one warning message per group.
7910
7911 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
7912
7913         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7914         global variables. Handle getting a value for $timeout more
7915         gracefully.
7916
7917 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
7918
7919         * lib/gdb.exp: Close connection to remote host if gdb doesn't
7920         initialize.
7921         (default_gdb_init): New procedure; allow gdb_init to be overridden
7922         by a target configuration file.
7923         (gdb_expect): Pass the timeout to remote_expect.
7924
7925         * config/monitor.exp(gdb_load): Fix typo in regexp.
7926
7927 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
7928
7929         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7930
7931 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
7932
7933         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7934         here. Call gdb_target_exec before rebooting the target, to make
7935         sure the connection to the target is closed.
7936         (gdb_load): Pass the name of the executable to gdb_target_monitor.
7937         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7938         Also detect "Timeout reading from remote" error.
7939
7940         * config/gdbserver.exp: Pass the executable being loaded to
7941         gdb_target_monitor. Don't call gdb_file_cmd here; let
7942         gdb_target_monitor do it.
7943
7944         * gdb.disasm/hppa.exp: Don't use exec_output.
7945
7946 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
7947
7948         * gdb.base/list.exp: If we're debugging a non-native target,
7949         try to set the pc register to point to the start of the
7950         program before doing the first list command.
7951
7952         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7953         test_calls after restarting.
7954
7955         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7956         reloading.
7957
7958         * gdb.base/watchpoint.exp: Fix typo.
7959
7960         * gdb.base/setshow.exp: Check for use_gdb_stub.
7961
7962         * gdb.base/break.exp: Fix continue until exit test for the gdb
7963         stub case.
7964         * gdb.base/langs.exp: Ditto.
7965
7966         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7967         gdb_load_offset. If we weren't given a file to load, figure out
7968         what the current file is and use it.
7969
7970         * config/i386-bozo.exp: New file.
7971
7972 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
7973
7974         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7975         feature.
7976
7977         * config/proelf.exp: New entry.
7978
7979 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
7980
7981         * lib/gdb.exp: Remove spurious .* patterns at the beginning
7982         of regexps.
7983
7984         * gdb.base/watchpoint.exp: Don't run the test_stepping
7985         tests if gdb can't call functions on the target.
7986
7987         * gdb.base/setshow.exp: Don't run the set prompt tests if
7988         the board has gdb_prompt set.
7989
7990 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
7991
7992         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7993         * gdb.base/commands.exp: Likewise.
7994         * gdb.base/setshow.exp: Likewise.
7995
7996 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
7997
7998         * config/monitor.exp(gdb_start): Look for gdb_prompt target
7999         feature.
8000
8001         * config/i960.exp: New file.
8002
8003 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
8004
8005         * gdb.base/funcargs.exp: Check for gdb,short_int target
8006         feature instead of looking for explicit target triplets.
8007
8008 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
8009
8010         * gdb.base/printcmds.exp: add a couple more tests a la
8011         "p 123DEADBEEF", to check parse_number.
8012         * top.c: change "to enable to enable" to "to enable" in a couple
8013         of help strings.
8014
8015 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
8016
8017         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8018         on the mn10300.
8019
8020 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
8021
8022         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8023         where the test executable is run with explicit args.
8024         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8025
8026 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
8027
8028         * gdb.base/run.c: Use FAKEARGV to build test executable that
8029         does not require a command line arg, since most simulators
8030         don't currently support passing such an arg into the simulated
8031         program.
8032         * gdb.base/commands.exp: Change tests to insert the proper
8033         value as the arg to the first recursive factorial call.  Change
8034         compilation line to define FAKEARGV at compile time.
8035
8036 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
8037
8038         * gdb.base/recurse.exp: Enable these tests for the mn10300.
8039         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8040         function with watchpoint enabled" test.
8041
8042 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
8043
8044         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8045         Don't call gdb_test when the command doesn't return to a gdb prompt.
8046
8047         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8048         "Tests restarted" messages.
8049
8050 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
8051
8052         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8053
8054 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
8055
8056         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8057         for INFO SYMBOL; add help tests for OVERLAY commands.
8058         * gdb.base/default.exp: add tests for INFO SYMBOL command;
8059         add tests for OVERLAY commands
8060         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8061         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8062         * gdb.base/sigall.c: add usestubs code frag
8063         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
8064
8065 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
8066
8067         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8068         failures.
8069         (gdb_stop_suppressing_tests): Note that tests have restarted.
8070
8071 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
8072
8073         * config/h8300.exp: New file.
8074
8075 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
8076
8077         * gdb.base/setshow.exp: Check for the existence of a
8078         feature, not its value.
8079
8080 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
8081
8082         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8083
8084         * gdb.base/scope.exp: It's now init0(), not init().
8085
8086         * gdb.base/scope0.c: For now, change init() to be init0().
8087
8088         * config/monitor.exp: Use gdb_serial in preference to serial
8089         or netport.
8090
8091         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8092         and it's not already set.
8093
8094 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
8095
8096         * gdb.base/setshow.exp: Only test the run command if the target
8097         isn't using a stub and if it supports argument passing.
8098
8099 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
8100
8101         * config/udi.exp(gdb_start): Make sure UDICONF is set
8102         properly before starting gdb.
8103
8104 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
8105
8106         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8107         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8108         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8109
8110 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
8111
8112         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8113         specialized code to reboot the board, use remote_reboot instead.
8114
8115         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8116
8117         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8118
8119         * config/monitor.exp: Make sure we disconnect from the target.
8120         Also, try a reboot/reload cycle instead of failing if the
8121         load fails.
8122
8123 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
8124
8125         * gdb.base/default.exp: Don't set match_max.
8126         * gdb.base/help.exp: Ditto.
8127         * gdb.base/list.exp: Ditto.
8128         * gdb.base/signals.exp: Ditto.
8129
8130         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8131         set, use remote_ld to download the testcase instead of
8132         the GDB loader.
8133
8134 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
8135
8136         * config/vr5000.exp: New file.
8137
8138         * config/monitor.exp(gdb_target_monitor): Add pattern for
8139         "Ending remote" to detect errors in connecting.
8140
8141         * gdb.base/setshow.exp: Add .* within auto language test.
8142
8143         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8144         target feature.
8145
8146         * config/monitor.exp(gdb_load): Check for a failure when loading,
8147         and reboot the board if necessary.
8148
8149         * gdb.base/setvar.exp(test_set): Handle multiple prints within
8150         a set of tests. Remove print.* from the patterns being checked.
8151
8152 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
8153
8154         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8155         refer to gdb_spawn_id.
8156
8157         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8158         longer used.
8159         * config/sparclet.exp: Ditto.
8160         * config/sparclet-old.exp: Ditto.
8161         * config/slite.exp: Ditto.
8162         * config/sim.exp: Ditto.
8163         * gdb.base/funcargs.exp: Ditto.
8164
8165         * lib/gdb.exp:Remove references to gdb_spawn_id.
8166         (gdb_expect): Move to remote.exp.
8167
8168 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
8169
8170         * config/monitor.exp: Detect the "Couldn't establish connection"
8171         message from GDB.
8172
8173 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
8174
8175         * gdb.base/bitfields.exp: Use runto instead of explicit
8176         gdb_run_cmd/gdb_expect sequences.
8177
8178         * gdb.base/break.exp(text_next_with_recursion): Add match for
8179         gdb_expect call.
8180
8181         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8182         We also need to handle the "A program is being debugged already"
8183         prompt from gdb. Use gdb_test to set the baud rate.
8184
8185         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8186         to 20000. Really. I mean it.
8187
8188 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
8189
8190         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8191         fails. If suppress_flag is set, skip perror message about not
8192         being able to send to GDB.
8193         (send_gdb): If suppress_flag is set, don't try to send commands to
8194         GDB.
8195         (gdb_expect): If suppress_flag is set, always fail immediately.
8196         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8197         (gdb_init): Call gdb_stop_suppressing_tests.
8198         (default_gdb_exit): Ditto.
8199         (default_gdb_start): Ditto.
8200
8201         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8202         gdb_stop_suppressing_tests as appropriate.
8203         * gdb.base/break.exp: Ditto.
8204         * gdb.base/callfuncs.exp: Ditto.
8205         * gdb.base/commands.exp: Ditto.
8206         * gdb.base/exprs.exp: Ditto.
8207         * gdb.base/funcargs.exp: Ditto.
8208         * gdb.base/list.exp: Ditto.
8209         * gdb.base/recurse.exp: Ditto.
8210         * gdb.base/scope.exp:  Ditto.
8211         * gdb.base/structs.exp: Ditto.
8212         * gdb.c++/inherit.exp: Ditto.
8213
8214 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
8215
8216         * config/vr4300.exp: New file.
8217
8218         * gdb.*/*.exp: Call gdb_expect instead of expect.
8219
8220         * lib/gdb.exp(gdb_expect): New function.
8221
8222 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
8223
8224         * lib/gdb.exp(gdb_init): New function.
8225
8226         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8227         for each individual variable set.
8228
8229         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8230         name.
8231
8232         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8233
8234         * gdb.base/scope.exp: Use gdb_test.
8235
8236         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8237         aborting; the testsuite driver will do that for us (see
8238         gdb_finish). Also, use gdb_test in a few more places.
8239
8240 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
8241
8242         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8243
8244 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
8245
8246         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8247         and "add_tests" are not at the same address.
8248
8249 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
8250
8251         * gdb.base/ptype.exp: Use gdb_test.
8252
8253 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
8254
8255         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8256         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8257         left in.  No longer expect them to fail.
8258
8259         * gdb.stabs/*.mt; Deleted, no longer used.
8260         * gdb.stabs/configure.in: Remove references to target makefile
8261         frags.
8262         * gdb.stabs/configure: Rebuilt.
8263
8264         * gdb.disasm/*.mt: Deleted, no longer used.
8265         * gdb.disasm/configure.in: Remove references to target makefile
8266         frags.  Use "sh3.s" as the unique filename for this directory.
8267         * gdb.disasm/configure: Rebuilt.
8268
8269         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8270         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8271         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8272
8273 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
8274
8275         * config/udi.exp: Use mondfe,name instead of remote_host.
8276
8277 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
8278
8279         * gdb.base/watchpoint.exp: Don't expect a failure when calling
8280         a function with a watchpoint enabled on the mn10200.
8281
8282         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8283         before trying to create it!
8284
8285 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
8286
8287         * config/vx.exp: Use hostname instead of netport.
8288
8289         * config/vxworks.exp: New file.
8290
8291         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8292
8293         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8294         gdb before assuming everything worked. Send a ^C if a timeout
8295         occurs.
8296
8297         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8298         $gdb_spawn_id directly.
8299         (gdb_run_cmd): Try _start as well as start. Use the target feature
8300         gdb,start_symbol as the symbol to start from when jumping.
8301
8302 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
8303
8304         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8305         redundant) test.
8306
8307         * gdb.base/recurse.exp: Relax final value test for 'b' so that
8308         it doesn't lose for 16bit integer systems.
8309
8310 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
8311
8312         * gdb.fortran/types.exp: If the target doesn't support "double"
8313         data types, then expect "real" types to only be 4 bytes.
8314
8315         * gdb.c++/virtfunc.exp: Expect failure for virtual function
8316         call tests if the target doesn't support inferior function calls.
8317
8318         * gdb.base/printcmds.exp: Allow minor deviation in FP values
8319         in printf tests.
8320
8321 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
8322
8323         * gdb.base/help.exp: Disable "help set", "help show", and
8324         "help support".  Simplify regexp for "help stack".
8325
8326         * gdb.base/default.exp: Set match_max to 5000 and the timeout
8327         to 60 seconds.  Temporarily set match_max to 15000 around the
8328         "info copying" test.
8329
8330         * gdb.base/nodebug.exp: Don't try to do an inferior function
8331         call if the target doesn't support them.
8332         * gdb.base/printcmds.exp: Likewise.
8333         * gdb.base/setvar.exp: Likewise.
8334         * gdb.base/structs.exp: Likewise.
8335         * gdb.c++/templates.exp: Likewise.
8336         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
8337
8338         * gdb.base/recurse.exp: Enable for the mn10200.
8339
8340         * configure.in: Do configure gdb.stabs directory for *-*-elf
8341         targets.
8342         * configure: Rebuilt.
8343
8344         * gdb.base/break.exp: Check for gdb,noresults before testing
8345         exit status and/or results from the target.
8346         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8347         * lib/gdb.exp: Remove old (now bogus) initialization of
8348         noinferior, noargs, noresults and nosignals.
8349
8350 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
8351
8352         * config/sh.exp: New file.
8353
8354         * config/slite.exp: Try to connect multiple times to the board
8355         before rebooting. Only send a "monitor run" if need_monitor_run
8356         is set.
8357
8358         * gdb.base/break.exp: Don't do the "stub continue" test if
8359         the target has gdb_stub set.
8360
8361         * gdb.base/callfuncs.exp: Increase the timeout.
8362
8363         * gdb.base/interrupt.exp: Don't even try to compile the testcase
8364         if the target has gdb,noinferiorio set.
8365
8366         * gdb.base/list.exp: Increase match_max to 10000 characters.
8367
8368         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8369
8370         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8371         target.
8372
8373         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8374
8375 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
8376
8377         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8378         trying to delete the copy of gdb. Catch the file delete so we
8379         don't die if the delete fails; also, the file should be copied to
8380         the host, not to the build.
8381
8382 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
8383
8384         * lib/gdb.exp(gdb_test): Surround the result pattern with
8385         parenthesis in case it contains multiple regexps separated
8386         with |.
8387
8388         * gdb.base/watchpoint.exp: Use gdb_test.
8389         * gdb.base/default.exp: Ditto.
8390
8391 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
8392
8393         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
8394
8395         * gdb.base/scope.exp: Use gdb_test.
8396         * gdb.c++/classes.exp: Ditto.
8397         * gdb.c++/inherit.exp: Ditto.
8398
8399 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
8400
8401         * gdb.base/crossload.exp: Don't use execute_anywhere, use
8402         remote_exec instead.
8403         * gdb.base/corefile.exp: Don't be ridiculous.
8404         * gdb.base/*.c: Add missing stub invocations.
8405
8406 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
8407
8408         * config/slite.exp: Miscellaneous fixes.
8409
8410         * lib/gdb.exp: Fix runto.
8411
8412         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8413         the target.
8414
8415         * gdb.base/watchpoint.exp: Fix regexp.
8416
8417         * lib/gdb.exp(default_gdb_exit): Add a catch to the
8418         close and wait commands, as the descriptor may now be
8419         invalid. Always call "remote_close host".
8420
8421 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
8422
8423            Major rewrite for testsuite revision.
8424
8425         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8426         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8427         instead of relying on spawn_id to always contain a valid
8428         spawn id.
8429         (get_compiler_info): New procedure to build the ${binfile}.ci
8430         file, instead of replicating this in N different places.
8431         (gdb_compile): New procedure.
8432
8433         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8434         appropriate arguments) instead of compile. Use gdb_test in a lot
8435         more places.  Use send_gdb instead of send. Always run gdb_start
8436         at the start of a testcase, as this is no longer done magically.
8437
8438         config/*-gdb.exp: Rename without the -gdb suffix.
8439
8440         config/mips.exp: Use remote_close instead of exit_remote_shell.
8441         config/monitor.exp: Use target_info instead of looking at
8442         baud, timeout, etc.
8443         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8444
8445 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8446
8447         * gdb.c++/templates.exp (test_ptype_of_templates),
8448         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8449         Update expect patterns for destructors and assignment operators
8450         to match corresponding c-typeprint.c changes.
8451         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
8452         to destructor breakpoint test, GDB should be able to set the
8453         destructor breakpoint without specifying arguments.
8454
8455 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
8456
8457         * gdb.threads/pthreads.exp: Change result for failure to compile due
8458         to lack of pthreads runtime support from an error to simply an
8459         unsupported test, per dejagnu standards.
8460
8461 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8462
8463         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
8464         where GDB exits to reduce pattern match time.
8465         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
8466
8467         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
8468
8469 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
8470
8471         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8472         * gdb.base/default.exp:   ditto.
8473         * gdb.base/nodebug.exp:   ditto.
8474         * gdb.base/printcmds.exp: ditto.
8475         * gdb.base/ptype.exp:     ditto.
8476         * gdb.base/setvar.exp:    ditto.
8477         * gdb.base/structs.exp:   ditto.
8478         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
8479
8480 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
8481
8482         * configure, */configure: Rebuild with autoconf 2.12.
8483
8484 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
8485
8486         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8487         use new i*86-pc-linux*-gnu quads.
8488         * gdb.base/corefile.exp: Ditto.
8489         * gdb.base/signals.exp: Ditto.
8490         * gdb.base/sigall.exp: Ditto.
8491         * gdb.base/interrupt.exp: Ditto.
8492
8493         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8494         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
8495         RedHat 4.0.
8496
8497         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8498         linux.  This allows the test case to at least compile on latest
8499         linux, but still not run due to missing the threads runtime library.
8500
8501 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8502
8503         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
8504         directory to search gdb directory. Accept and step over conditional
8505         stack alignment code. Consume $prompt in failure cases.
8506         Reset timeout to $oldtimeout instead of some arbitrary value.
8507         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
8508         timeout problems with infinite stack backtraces.
8509         * gdb.base/ptype.exp (ptype struct link, union tu_link):
8510         Accept function parameters for linkfunc member.
8511
8512 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
8513
8514         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8515         (CXXFLAGS): Remove, unreferenced.
8516         (B_OPTIONS): Add for -B options and add code to initialize with
8517         previous -B options and also add -B option to pick up cross compiled
8518         runtime.
8519         (TARGET_INCLUDES): Add for -I options and add code to initialize when
8520         doing cross compiles.
8521         (target_alias): Declare global.
8522         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
8523         to verify that gcc exists in build tree, and if so set CC to that
8524         gcc and to use B_OPTIONS and TARGET_INCLUDES.
8525
8526 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
8527
8528         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8529         ptype test for anonymous union.  Fixup testcase to match
8530         current gcc debug output.
8531
8532 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
8533
8534         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8535         force argument to an unsigned long type.
8536
8537 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
8538
8539         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8540         tests and anonymous union print/ptype tests.
8541         * gdb.base/list.exp (test_forward-search): Increase timeout by
8542         5 minutes for the "search extremely long line" case.
8543         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8544         completely optional and that the pass/fail messages use the command as
8545         the message if that third arg is a null string.
8546         (gdb_test_exact):  Arrange that a null string pattern means match a
8547         null string output rather than any output, which might include random
8548         errors.
8549         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8550         backtrace test.
8551         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8552         always failing and failure is now exposed by gdb.exp changes.
8553
8554 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
8555
8556         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8557         weren't being noted.
8558
8559 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8560
8561         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
8562         * gdb.stabs/weird.exp:  Remove v_comb xfails.
8563
8564 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
8565
8566         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8567                     list.exp scope.exp watchpoint.exp]
8568           Make all timeout error msgs explicitly say "(timeout)".
8569
8570 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
8571
8572         * config/monitor.exp: Increase download timeout to 1000 seconds.
8573
8574 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
8575
8576         * config/m32r.exp: Increase timeout to 120 seconds.
8577
8578 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
8579
8580         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8581         and accept older ordering as obsolescent gcc or gdb.
8582         * gdb.c++/templates.exp: Ditto.
8583         * gdb.c++/virtfunc.exp: Ditto.
8584
8585 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
8586
8587         * gdb.base/coremaker.c: Add code to mmap some data so we
8588         can check that it ends up in the core file.
8589         * gdb.base/corefile.exp: Add test to read mmapped data
8590         from core file.
8591
8592 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
8593
8594         * config/m32r.exp: New file.
8595
8596 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
8597
8598         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
8599         that cflags can contains -gstabs, and work correctly for other tests.
8600
8601 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
8602
8603         * gdb.base/setshow.exp: New file, tests show and set.
8604         * gdb.base/setshow.c:   New file, tests show and set.
8605         * gdb.base/help.exp: Add test for help set|show annotate.
8606         * gdb.base/default.exp: Add test for set|show annotate.
8607
8608 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
8609
8610         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
8611         errors unique.
8612         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
8613         explicitly.
8614
8615 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
8616
8617         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
8618         and width commands.  This is done elsewhere.
8619         * (gdb_start):  Don't call gdb_start_sim here.  That's already
8620         done in gdb_load.  This fixes lots of failures in default.exp.
8621
8622 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
8623
8624         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8625         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8626         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8627         in the same we we treat other failures (since it may be an expected
8628         condition), rather than as an error.
8629         * gdb.base/signals.exp (test_handle_all_print): Revert back to
8630         old test format.
8631
8632 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
8633
8634         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8635         (distclean maintainer-clean realclean): No need to remove files
8636         twice.  Nuke the duplicates.
8637         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
8638         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
8639         Remove config.h along with other config files.
8640
8641 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
8642
8643         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8644         "p func1 ()" and note that rests of tests are skipped.
8645         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8646         setup_xfails for "print func2::coremaker_local".
8647         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8648         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8649         affected by the previous run test.
8650         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8651         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8652         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8653         "pass int powerset tuple" and "pass modeless int powerset tuple".
8654         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8655         "real write 4" and "real write 8".
8656         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8657         setup_xfails for "print vs1 after tuple assign 2",
8658         "print \$i after tuple assign 2", and
8659         "print vs2 after tuple assign 2".
8660         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8661         meaningful error message and return -1 so the caller can
8662         suppress further tests and avoid a cascade of errors.
8663
8664 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
8665
8666         * gdb.base/a1-selftest.exp: Tweak tests to account for new
8667         format for printing version.
8668         * gdb.base/default.exp: Ditto.
8669         * gdb.base/interrupt.exp: Fix problem with cascade of
8670         errors if child process dies while calling a function.
8671
8672 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
8673
8674         * Makefile.in (VPATH): Add
8675         * Makefile.in (Makefile, config.status): Fix rules so things get
8676         remade when necessary.
8677
8678 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
8679
8680         * Makefile.in (just-check): Add path to sibling expect dir
8681         to environment variable specified by RPATH_ENVVAR.
8682
8683 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
8684
8685         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8686         (just-check): Add shared library paths for libstdc++, tk,
8687         tcl, bfd, and opcodes to the environment variable specified
8688         in RPATH_ENVVAR.
8689         * configure.in: Add support to recognize --enable-shared flag
8690         and generate correct value for RPATH_ENVVAR.
8691         * configure: Regenerated with autoconf.
8692
8693 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
8694
8695         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8696         include all osf versions.
8697         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8698         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
8699         when target is linux.  When failing to build pthreads test
8700         executable, give more meaningful message.
8701         * gdb.threads/pthreads.c: Hpux also uses old definition of second
8702         arg for pthread_create.
8703
8704 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
8705
8706         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8707         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8708         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8709         and -lpthreads (everybody else).
8710         (test_startup): Fail gracefully if threads are not supported.
8711         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8712         "p/c array_index("abcdef",2)" when not gcc compiled.
8713         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8714         "print func2::coremaker_local" when not gcc compiled.
8715         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8716         "ptype on opaque struct tagname (statically)",
8717         "ptype on opaque struct tagname (dynamically) 1", and
8718         "ptype on opaque struct tagname (dynamically) 2"
8719         for not compiled with gcc.
8720         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8721         backtrace when compiled with gcc.
8722         * lib/gdb.exp (runto_main): Return result of "runto main" rather
8723         than always return success.
8724
8725 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
8726
8727         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8728
8729 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
8730
8731         * gdb.base/structs.exp: Undo last change.
8732
8733 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
8734
8735         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8736         encapsulate all the steps/nexts done during self test, starting
8737         at main, and makes them less sensitive to optimization issues.
8738         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8739         signal handler" test.
8740         * gdb.threads/pthreads.exp: Only run this for native configs.
8741         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8742         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8743         tests.
8744         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8745         for "runto test_calls(void)" test.
8746
8747 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
8748
8749         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8750         and don't expect address info in breakpoint confirmations.
8751
8752 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
8753
8754         * gdb.base/list.exp (test_forward_search): Increase timeout
8755         temporarily by 60 seconds for searching extremely long line,
8756         and then reset to old value when done.  Increase expect input
8757         buffer to 10000.
8758
8759 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
8760
8761         * gdb.base/list.exp (test_forward_search): Fix to handle very
8762         long source line without overflowing expect's input buffer.
8763
8764 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
8765
8766         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8767         "buffer_full".
8768
8769         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8770         "buffer_full".
8771
8772         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8773         "buffer_full".
8774
8775         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8776         "buffer_full".
8777
8778 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
8779
8780         * configure.in (configdirs): Add gdb.threads.
8781         * configure: Regenerated with autoconf.
8782         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8783         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8784         * gdb.threads/configure: New, generated with autoconf.
8785
8786 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
8787
8788         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8789
8790 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
8791
8792         * gdb.base/signals.exp (test_handle_all_print): Test separately for
8793         each signal's status in the output of "handle all print".
8794         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8795         the \r\n sequence that immediately precedes the gdb prompt.
8796         * gdb.base/a1-selftest.exp: Save original timeout and restore
8797         after test.
8798
8799 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
8800
8801         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8802         symbol.
8803
8804 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
8805
8806         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8807
8808 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
8809
8810         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8811         timeout by 60 seconds.
8812
8813 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
8814
8815         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8816         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8817         error return.
8818
8819 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
8820
8821         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8822         gdb initialization, also report how long dejagnu waited.  Restore
8823         old timeout before doing error return.  Temporarily increase timeout
8824         by 3 minutes to allow for slow startups over heavy NFS use.
8825
8826 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
8827
8828         * lib/gdb.exp: Report timeout value for verbosity level 2.
8829         * config/gdbserver.exp: Ditto.
8830         * config/hppro.exp: Ditto.
8831         * config/mips-gdb.exp: Ditto.
8832         * config/monitor.exp: Ditto.
8833         * config/netware.exp: Ditto.
8834         * config/sim-gdb.exp: Ditto.
8835         * config/slite-gdb.exp: Ditto.
8836         * config/udi-gdb.exp: Ditto.
8837         * config/unix-gdb.exp: Ditto.
8838         * config/vx-gdb.exp: Ditto.
8839         * gdb.base/a1-selftest.exp: Ditto.
8840         * gdb.base/a2-run.exp: Ditto.
8841         * gdb.base/break.exp: Ditto.
8842         * gdb.base/corefile.exp: Ditto.
8843         * gdb.base/list.exp: Ditto.
8844         * gdb.base/recurse.exp: Ditto.
8845         * gdb.base/scope.exp: Ditto.
8846         * gdb.base/signals.exp: Ditto.
8847
8848 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
8849
8850         * gdb.threads/Makefile.in (docdir): Removed.
8851
8852 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
8853
8854         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
8855         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
8856         @srcdir@.
8857         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
8858         autoconf 2.5 or higher.
8859         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8860
8861 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
8862
8863         * configure: Regenerated.
8864         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8865         avoid name clashes with SunOS headers.
8866
8867 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
8868
8869         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8870
8871 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
8872
8873         * gdb.base/callfuncs.exp: Finish last change -- make sure the
8874         prototype information ends up in the compiler info file.
8875
8876 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
8877
8878         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8879         attempting to regenerate it.  Eliminate use of a temporary file
8880         and just generate the info file directly.  Source it immediately,
8881         for consistency of use.
8882         * gdb.base/corefile.exp: Ditto
8883         * gdb.base/exprs.exp: Ditto.
8884         * gdb.base/funcargs.exp: Ditto.
8885         * gdb.base/langs.exp: Ditto.
8886         * gdb.base/list.exp: Ditto.
8887         * gdb.base/mips_pro.exp: Ditto.
8888         * gdb.base/nodebug.exp: Ditto.
8889         * gdb.base/opaque.exp: Ditto.
8890         * gdb.base/ptype.exp: Ditto.
8891         * gdb.base/scope.exp: Ditto.
8892         * gdb.base/setvar.exp: Ditto.
8893         * gdb.base/signals.exp: Ditto.
8894         * gdb.base/whatis.exp: Ditto.
8895         * gdb.c++/templates.exp: Ditto.
8896         * gdb.c++/virtfunc.exp: Ditto.
8897         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8898         whether or not to add -lstdc++ to the compile command line args.
8899
8900 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
8901
8902         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
8903         it got fixed by the recent lookup_minimal_symbol_by_pc change.
8904         Increase timeout, a lot of single stepping might be needed if the
8905         target has no hardware watchpoints.
8906
8907 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
8908
8909         * gdb.base/break.exp: Ignore compiler warnings when compiling
8910         break.c.
8911         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8912         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
8913         from remote-sim.
8914         * gdb.base/exprs.exp: Add h8300 xfails.
8915         * gdb.base/funcargs.exp: Likewise.
8916         * gdb.base/nodebug.exp: Likewise.
8917         * gdb.base/printcmds.exp: Likewise.
8918         * gdb.base/ptype.exp: Likewise.
8919         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
8920         h8300 xfails.
8921         * gdb.base/return.exp: Handle float/double precision problems
8922         on the h8300.
8923         * gdb.base/funcargs.c: Explicitly make last constant argument to
8924         call_after_alloca_subr an unsigned long type.
8925         * gdb.base/return.c: Include stdio.h.
8926
8927 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
8928
8929         * config/abug.exp: New file for the older Motorola Bug monitor
8930         that runs on the mvme13x series VME boards.
8931         * config/monitor.exp: Use the new config array for target settings
8932         if they exist.
8933
8934 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
8935
8936         * sim-gdb.exp: Make the SH simulator allocate less space when
8937         it is targeted.
8938
8939 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
8940
8941         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8942         test.
8943
8944 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
8945
8946         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8947         "rs6000-*-*" for "list function in include file" when gcc compiled.
8948         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8949         for "p ctable1[120]".
8950         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8951         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8952         Remove setup_xfail for "rs6000-*-*" for
8953         "print 'scope0.c'::filelocal before run".
8954         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8955         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8956         since some compilers don't allow both options to be given
8957         on the same command line.  Create object file and move it.
8958
8959 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
8960
8961         * gdb.base/corefile.exp: Always regenerate the core file, since
8962         we always regenerate the coremaker program.  Detect special case
8963         where registers cannot be read from core file.
8964
8965 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
8966
8967         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8968         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8969         * gdb.c++/templates.exp: Only match on basename of file since
8970         some formats like xcoff don't encode directory information.
8971         * gdb.stabs/weird.exp: Use the right sed script for powerpc
8972         and rs6000 AIX xcoff targets.
8973         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8974         * configure: Regenerate.
8975         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8976         here, rather than in distclean.
8977
8978 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
8979
8980         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8981         defined, and use it to compile the test case with -O2.  The
8982         native compilation still uses no optimization.
8983         * gdb.base/mips_pro.c: Remove inline assembly code since
8984         it is compiled PIC by default, which results in assembler
8985         warnings that make the testsuite think the compilation
8986         was unsuccessful.
8987
8988 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
8989
8990         * gdb.c++/misc.exp: Add note to message for
8991         "print s.a for foo struct" that this is a known gcc 2.7.2
8992         and earlier bug.
8993
8994 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
8995
8996         * gdb.base/break.exp: Fix pattern for matching "Delete all
8997         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
8998         setup_xfail for deleting all breakpoints test.  Fix various
8999         timeout messages to include "(timeout)".
9000         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9001         for "p t_float_values2(3.14159,float_val2)".
9002         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9003         for "continue to call2g" when gcc compiled.
9004         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9005         "up to foo in langs.exp", "show language at foo in langs.exp",
9006         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9007         and "show language at fsub in langs.exp".
9008         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9009         "list line 1 in include file", "list message for lines past EOF",
9010         "list function in include file", "list list0.h:foo", and
9011         "list filename:function; nonexistant function".
9012         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9013         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9014         and "ptype t_char_array" to be for native cc only.
9015
9016 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
9017
9018         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
9019         setup_xfail for "print coremaker_bss", "print coremaker_ro",
9020         "print func2::coremaker_local", and "backtrace in corefile.exp".
9021
9022 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
9023
9024         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9025         "bt in signals.exp".  This problem only appears when running
9026         the testsuite, and then only intermittently.
9027
9028 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
9029
9030         * gdb.base/return.exp (return_tests): Differentiate between
9031         two tests of continuing.
9032
9033 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
9034
9035         * */Makefile.in (maintainer-clean): Remove config.log.
9036         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9037         * gdb.c++/Makefile.in (PROGS): Add inherit.
9038         (clean): Remove *.ci.
9039
9040 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
9041
9042         * gdb.c++/misc.cc: Add test code from Mike Stump.
9043         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9044
9045 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
9046
9047         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9048         to "alpha-*-osf2*" and add comment.
9049         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9050         setup_xfail for "step over execarg initialization" and
9051         "step over corearg initialization".
9052         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9053         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9054         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9055         gcc compiled for "print coremaker_bss", "print coremaker_ro",
9056         "print func2::coremaker_local", and "backtrace in corefile.exp".
9057         * gdb.base/signals.exp: Build and source signals.ci.
9058         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9059         to be for gcc only.
9060         * lib/gdb.exp: Move verbose statements outside conditionals.
9061
9062 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9063
9064         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
9065         Feb 3 procfs.c change.
9066
9067 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
9068
9069         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9070
9071 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
9072
9073         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9074         from dejagnu's apparent default of 10 seconds, which gives random
9075         results when running the tests over NFS on moderately loaded systems.
9076         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9077
9078 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
9079
9080         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
9081         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9082         result reports.
9083
9084 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
9085
9086         * configure.in (CY_AC_PATH_TCLH): Remove.
9087         * configure: Regenerate.
9088
9089 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
9090
9091         * gdb.c++/Makefile.in (clean): Add missing '{'.
9092
9093 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
9094
9095         * lib/gdb.exp: Provide a default value for noinferior.
9096
9097         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9098         Load libgloss.exp.
9099
9100 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
9101
9102         * gdb.disasm/hppa.exp: Compile directly into an executable, use
9103         the executable, not the .o to run the tests from.
9104
9105 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
9106
9107         * gdb.base/break.exp: Don't test for program exit or exit status
9108         if $noresults if nonzero.
9109         * gdb.base/langs.exp: Likewise.
9110         * gdb.base/watchpoint.exp: Likewise.
9111
9112         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9113         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9114         trying to compile the testcase.
9115
9116 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
9117
9118         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9119         * gdb.base/signals.exp (continue to handler): Likewise.
9120
9121 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
9122
9123         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
9124
9125         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
9126
9127 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
9128
9129         * gdb.base/corefile.exp: Recognize "not found" as failure
9130         when trying to determine if a core file was generated.
9131         If no core file was generate the first time, try again without
9132         the ulimit -c to work around braindamaged shells.
9133
9134 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
9135
9136         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9137         [] tests with "test" and enclose string in quotes.
9138         * gdb.stabs/configure: Rebuild
9139
9140 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
9141
9142         Changes in sync with expect:
9143         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9144         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9145         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9146         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
9147         argument to AC_REQUIRE.
9148         * configure: Regenerated.
9149
9150 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
9151
9152         * gdb.base/corefile.exp: When generating a core, discard any
9153         error messages about ulimit not found and the "core dumped"
9154         message from the shell that runs the coredumper.
9155
9156 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
9157
9158         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9159
9160         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9161         which sed script to run.  Expect failure for v_comb test
9162         on PA targets too.
9163
9164 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
9165
9166         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9167         "print func2::coremaker_local" and for "backtrace in corefile.exp"
9168
9169 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
9170
9171         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9172         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9173         "sparc-sun-solaris*" xfails for "p v_comb".
9174         * lib/gdb.exp (default_gdb_start): Fix typo.
9175         * gdb.base/corefile.exp: Allow "Core was generated by ..."
9176         messages to not include the full program name that caused
9177         the core dump since some systems (such as solaris) apparently
9178         truncate this path to about 80 characters.
9179         When generating a core file first try increasing the core file
9180         size limit to unlimited since some systems may default it to
9181         zero, and it is harmless to try it.  Move the test for failing
9182         to generate a core file to where it will actually get executed.
9183         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9184         new gdb result from g++ debug info improvements and make old
9185         pattern obsolescent.  Also account for size_t differences
9186         (may be int or long).
9187         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9188         initialization before function call is placed in the delay slot
9189         and thus appears to be skipped over by commands such as "next".
9190
9191 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
9192
9193         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9194
9195 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
9196
9197         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9198         input source file; fix code to compile test to deal with this
9199         convention.
9200         * gdb.c++/*.exp: Likewise.
9201
9202 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
9203
9204         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9205         "bt in signals.exp".
9206
9207 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
9208
9209         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9210         "step over execarg initialization" and
9211         "step over corearg initialization".
9212
9213 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
9214
9215         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9216         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
9217
9218 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
9219
9220         From Rob Savoye  (rob@poseidon.cygnus.com)
9221         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9222         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9223         configure.in}, gdb.disasm/{Makefile.in, configure.in},
9224         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9225         configure.in}: Major reworking for autoconfig.
9226         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9227         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9228         New files.
9229         * config/unix-gdb.exp:  Make GDB global.
9230         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9231         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9232         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9233         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9234         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9235         term.exp, twice.exp, watchpoint.exp, whatis.exp},
9236         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9237         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9238         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9239         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9240         pr-8136.exp, result.exp, string.exp, tuples.exp},
9241         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9242         to returns as necessary, arrange for test to compile own testcase
9243         executable.
9244         * lib/gdb.exp: Changes for testsuite to compile own test cases.
9245
9246 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
9247
9248         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9249         clear_xfail at end of test which might not call either pass or fail.
9250         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9251         "backtrace through signal handler".
9252
9253 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9254
9255         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
9256         continuing from a job control stop signal.
9257         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
9258
9259 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
9260
9261         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9262         * gdb.base/corefile.exp: Likewise.
9263         * gdb.base/funcargs.exp: Likewise.
9264
9265 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
9266
9267         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
9268         * config/monitor.exp:  Add support for setting baud rate.
9269
9270 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
9271
9272         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9273         i*86-*-linux* xfails for "backtrace through signal handler".
9274         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9275         "print func2::coremaker_local".
9276         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9277         alpha-dec-osf2* xfail for
9278         "delete all breakpoints when none".
9279
9280 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
9281
9282         * gdb.base/break.exp: Change test that deletes all breakpoints
9283         when no user breakpoints are installed.  A post 4.15 change
9284         causes gdb to no longer prompt in this case.
9285
9286 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
9287
9288         * gdb.base/return.exp (return_tests):  Change xfail for test
9289         "correct value returned double test" to stop xfailing at
9290         Solaris 2.5.  Apparently the bug has been fixed.
9291
9292 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
9293
9294         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9295         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9296
9297 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
9298
9299         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9300         * gdb.disasm/hppa.s: Corresponding changes.
9301
9302 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
9303
9304         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9305         makefile fragment.
9306         * config/mt-hpux: Deleted.
9307
9308 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
9309
9310         * Many files: When warning about suppressed tests due to a
9311         nonexistant test binary, avoid incrementing the warning count.
9312
9313 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
9314
9315         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
9316
9317 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9318
9319         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
9320         "sparc-*-solaris2*".
9321
9322 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9323
9324         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
9325         Add global and local variables and initialize them.
9326         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
9327         by printing variables. Remove rs6000 and powerpc xfails, BFD now
9328         extracts the file name and terminating signal from the core file.
9329         * TODO:  Remove note about tests for correct mapping of corefile.
9330         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
9331         from optimizing it away.
9332         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
9333         handles common blocks.
9334
9335 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
9336
9337         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9338         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9339
9340 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
9341
9342         * Makefile.in (maintainer-clean): New target, synonym for
9343         realclean.
9344         * gdb.base/Makefile.in (maintainer-clean): Likewise.
9345         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9346         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9347         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9348         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9349         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9350
9351 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
9352
9353         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
9354         xfails when not gcc compiled for "print foo::funclocal".
9355         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
9356         "print foo::funclocal at foo",
9357         "print 'scope1.c'::foo::funclocal at foo",
9358         "print foo::funclocal_bss at foo",
9359         "print 'scope1.c'::foo::funclocal_bss at foo",
9360         "print foo::funclocal_ro at foo",
9361         "print 'scope1.c'::foo::funclocal_ro at foo",
9362         "print bar::funclocal at foo" and
9363         "print 'scope1.c'::bar::funclocal at foo".
9364         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
9365         gcc compiled for "print foo::funclocal at bar".
9366         Expand all messages to ensure that they identify that
9367         the test is at bar().
9368         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9369         gcc compiled for:
9370         "ptype on opaque struct pointer (statically)",
9371         "ptype on opaque struct tagname (statically)",
9372         "ptype on opaque struct pointer (dynamically) 1",
9373         "ptype on opaque struct tagname (dynamically) 1",
9374         "ptype on opaque struct pointer (dynamically) 2" and
9375         "ptype on opaque struct tagname (dynamically) 2
9376         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9377         gcc compiled for:
9378         "p datalocal"
9379         "whatis datalocal",
9380         "ptype datalocal",
9381         "p bsslocal",
9382         "whatis bsslocal", and
9383         "ptype bsslocal".
9384         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9385         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
9386         when not gcc compiled.
9387         * gdb.base/funcargs.exp (float_and_integral_args):  Add
9388         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
9389         compiled.
9390         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
9391         "backtrace from call6a" when not gcc compiled.
9392         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
9393         "backtrace from call7a" when not gcc compiled.
9394         * gdb.base/callfuncs.exp (do_function_calls):
9395         Add "hppa*-*-hpux*" xfail when not gcc compiled for
9396         "p t_char_array_values(char_array_val2,char_array_val1)",
9397         "p t_char_array_values(char_array_val1,char_array_val2)",
9398         "p t_char_array_values("carray 1","carray 2")",
9399         "p t_char_array_values("carray 1",char_array_val2)",
9400         "p t_char_array_values(char_array_val1,"carray 2")",
9401         "p sum_args(1,{2})",
9402         "p sum_args(2,{2,3})",
9403         "p sum_args(3,{2,3,4})",
9404         "p sum_args(4,{2,3,4,5})"
9405         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9406         "backtrace in corefile.exp" when not gcc compiled.
9407
9408 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9409
9410         * gdb.base/signals.exp:  Rewrite `handle all print' test as
9411         a procedure. Accept blanks or TABs as whitespace, increase
9412         timeout and expect input buffer size for the large output
9413         from the command. Remove "i*86-*-bsdi2.0" xfail.
9414
9415 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9416
9417         * gdb.base/setvar.exp:  Add new testcases for truncation when
9418         assigning invalid values to bitfields.
9419
9420 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
9421
9422         * gdb.base/callfuncs.exp (do_function_calls):  Remove
9423         mips-sgi-irix* xfail for
9424         "call inferior func with struct - returns char *"
9425         and fix test so that an optional (unsigned char *) cast is
9426         accepted in the result.
9427
9428 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
9429
9430         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
9431         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9432         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9433         * gdb.base/signals.exp: Remove duplicate "handle all print" test
9434         that accidentally got checked in.
9435
9436 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
9437
9438         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
9439         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9440         compiled test.
9441         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9442         Add mips-sgi-irix5* xfail for not gcc compiled.
9443         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
9444         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9445         "p top", "whatis top", "p middle", and "whatis middle".
9446         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9447         "whatis signed char" for not gcc compiled.
9448         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9449         "set variable signed char=-1 (-1)" and
9450         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9451         * gdb.base/funcargs.exp (float_and_integral_args):
9452         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9453         Add mips-sgi-irix* xfail when not gcc compiled for
9454         "continue to call2b".
9455         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9456         "continue to call2g".
9457         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9458         "backtrace from call6a"
9459         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9460         "backtrace from call7k".
9461         Add mips-sgi-irix5* xfail when not gcc compiled for
9462         "backtrace from call7a".
9463         (localvars_after_alloca):  Fix gdb_test cmds for
9464         "print * after runto ...".
9465         Remove rs6000-*-* xfails for
9466         "print i after runto localvars_after_alloca" and
9467         "print l after runto localvars_after_alloca"
9468         for all compilers.
9469         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9470         when not compiled with gcc, for:
9471         "print signed char == (minus)",
9472         "print signed char != (minus)",
9473         "print signed char < (minus)",
9474         "print signed char > (minus)".
9475         * gdb.base/callfuncs.exp (do_function_calls):
9476         Add mips-sgi-irix* xfail, when compiled with native compiler, for
9477         "call inferior func with struct - returns char *".
9478         * gdb.base/return.exp (return_tests): Change xfail for
9479         "correct value returned double test" to include Solaris 2.4.
9480         * gdb.base/funcargs.exp (float_and_integral_args):
9481         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9482
9483 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9484
9485         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
9486         enumeration bitfields if compiling with GNU C.
9487         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
9488         to empty' prompt.
9489
9490 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
9491
9492         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9493         test for PRO targets.
9494
9495         * gdb.base/funcargs.exp: Avoid ever setting more than 8
9496         breakpoints in the inferior at any given time by making
9497         two groups of breakpoints for call2*, call6* and call7*
9498         tests.
9499
9500 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9501
9502         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
9503         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
9504         from optimizing it away.
9505         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
9506         "call inferior func with struct".
9507
9508 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
9509
9510         * configure.in: Only configure gdb.chill for particular targets.
9511
9512 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
9513
9514         * gdb.base/Makefile.in:  Add action to .c.o transformation
9515         rule that generates a .ci file for each .o file and remove
9516         explicit .c.o rules except for callfuncs.o.
9517         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
9518         generates a .ci file for each .o file and remove explicit
9519         .cc.o rules.
9520         (clean): Remove *.tmp *.ci files.
9521         (EXECUTABLES): Remove templ-info.exp.
9522         * gdb.base/compiler.c: New file.
9523         * gdb.c++/compiler.cc: New file
9524         * gdb.base/scope.exp: Source gdb.base/scope.ci.
9525         Change rs6000-*-* xfail for
9526         "print 'scope0.c'::filelocal_ro" and
9527         "print 'scope1.c'::filelocal" and
9528         "print 'scope1.c'::filelocal_bss" and
9529         "print 'scope1.c'::filelocal_ro" and
9530         "print 'scope1.c'::foo::funclocal" and
9531         "print 'scope1.c'::foo::funclocal_ro" and
9532         "print 'scope1.c'::bar::funclocal" and
9533         "print 'scope0.c'::filelocal_ro" and
9534         "print 'scope1.c'::filelocal at foo" and
9535         "print 'scope1.c'::filelocal_bss at foo" and
9536         "print 'scope1.c'::filelocal_ro at foo" and
9537         "print 'scope1.c'::foo::funclocal at foo" and
9538         "print 'scope1.c'::foo::funclocal_bss at foo" and
9539         "print 'scope1.c'::foo::funclocal_ro at foo" and
9540         "print 'scope1.c'::bar::funclocal at foo" and
9541         "print 'scope0.c'::filelocal_ro" and
9542         "print 'scope1.c'::filelocal" and
9543         "print 'scope1.c'::filelocal_bss" and
9544         "print 'scope1.c'::filelocal_ro" and
9545         "print 'scope1.c'::foo::funclocal" and
9546         "print 'scope1.c'::foo::funclocal_bss" and
9547         "print 'scope1.c'::foo::funclocal_ro" and
9548         "print 'scope1.c'::bar::funclocal" and
9549         "print 'scope1.c'::bar::funclocal_bss"
9550         to only be xfail'd when not compiled with gcc.
9551         Add rs6000-*-* xfail for
9552         "print 'scope0.c'::filelocal_bss before run"
9553         when compiled with gcc.
9554         (test_at_main): Add rs6000-*-* xfail for
9555         "print filelocal_ro in test_at_main"
9556         when compiled with gcc.
9557         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
9558         Add rs6000-*-aix* xfail for
9559         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9560         "ptype t_char_array",  not compiled with gcc.
9561         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
9562         xfail for "list foo (in include file)" when gcc compiled.
9563         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9564         (integral_args): Add rs6000-*-* xfail for
9565         "run to call0a" if not compiled with gcc.
9566         (unsigned_integral_args): Add rs6000-*-* xfail for
9567         "run to call1a" if not compiled with gcc.
9568         (float_and_integral_args):  Add rs6000-*-* xfail for
9569         "run to call2a" if not compiled with gcc and for
9570         "continue to call2b" for any compiler.
9571         Add rs6000-*-* xfail to
9572         "print f1 after run to call2a" for gcc compiled.
9573         (discard_and_shuffle): Add rs6000-*-* xfail for
9574         "run to call6a".
9575         (shuffle_round_robin): Add rs6000-*-* xfail for
9576         "backtrace from call7a" if not compiled with gcc.
9577         Add rs6000-*-* xfail for
9578         "backtrace from call7b" if compiled with gcc.
9579         (call_after_alloca): Add rs6000-*-* xfail for
9580         "print c in call_after_alloca" and
9581         "print s in call_after_alloca" and
9582         "backtrace from call_after_alloca_subr"
9583         if not compiled with gcc.
9584         (localvars_in_indirect_call): Add rs6000-*-* xfail for
9585         "print c in localvars_in_indirect_call" and
9586         "print c in localvars_in_indirect_call" and
9587         "backtrace in indirectly called function" and
9588         "stepping into indirectly called function"
9589         if not compiled with gcc.
9590         (localvars_after_alloca): Add rs6000-*-* xfail for
9591         "print c after runto localvars_after_alloca" and
9592         "print s after runto localvars_after_alloca" and
9593         "print i after runto localvars_after_alloca" and
9594         "print l after runto localvars_after_alloca"
9595         for all compilers.
9596         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9597         than whatis-info.exp.
9598         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9599         than opaque-info.exp.
9600         Setup rs6000-*-* xfail for
9601         "ptype on opaque struct pointer (statically)" and
9602         "ptype on opaque struct pointer (dynamically)" when
9603         not compiled with gcc.
9604         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9605         rather than callf-info.exp.
9606         (do_function_calls):  Add clear_xfail for rs6000-*-* for
9607         "p t_float_values2(3.14159,float_val2)".  Seems to work
9608         fine there, both with xlc and gcc.  Need to find out what
9609         it is doing right and fix other platforms.
9610         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9611         "call inferior func with struct - returns int",
9612         "call inferior func with struct - returns long",
9613         "call inferior func with struct - returns float",
9614         "call inferior func with struct - returns double",
9615         "call inferior func with struct - returns char *",
9616         but only if not gcc compiled (presumes xlc compiled).
9617         Change rs6000-*-* xfails for
9618         "call inferior func with struct - returns char" and
9619         " call inferior func with struct -  returns short" to only
9620         xfail if not using gcc.
9621         (clean mostlyclean):  Remove *.ci and *.tmp files.
9622         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9623         than templ-info.exp.
9624         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
9625         Add rs6000-*-* xfail for "up to foo in langs.exp"
9626         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9627         when not gcc compiled.
9628
9629 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
9630
9631         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9632         * gdb.base/corefile.exp: Likewise.
9633         * gdb.base/list.exp: Likewise.
9634         * gdb.base/scope.exp: Likewise.
9635         * gdb.base/siganls.exp: Likewise.
9636
9637         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
9638         compiler output.
9639         * gdb.base/whatis.exp: Likewise.
9640
9641 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
9642
9643         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9644         failure (opcode table has been fixed to match reality).
9645
9646 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
9647
9648         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9649         "call inferior func with struct - returns char",
9650         "call inferior func with struct - returns short"
9651
9652         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9653         "print 'scope0.c'::filelocal at main",
9654         "print 'scope0.c'::filelocal_bss in test_at_main",
9655         "print 'scope0.c'::filelocal at foo",
9656         "print 'scope0.c'::filelocal_bss in test_at_foo",
9657         "print 'scope0.c'::filelocal at bar",
9658         "print 'scope0.c'::filelocal_bss in test_at_bar"
9659
9660         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9661         in source file 1".  This bug seems to have been fixed with both
9662         gcc and native cc (was native assembler bug?).
9663
9664 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
9665
9666         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9667         "backtrace through signal handler" to "i*86-*-sysv4*".
9668         * gdb.base/signals.exp: Add xfail for "'next' behaved as
9669         continue" case.  Add "known SVR4 bug" to fail message.
9670         Add "i*86-*-bsdi2.0" xfail for "handle all print".
9671         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9672         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9673         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9674         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9675         "up to foo in langs.exp", "show language at foo in
9676         langs.exp", "up to cppsub_ in langs.exp", "show
9677         language at cppsub_ in langs.exp", "up to fsub in
9678         langs.exp", and "show language at fsub in langs.exp".
9679         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9680         "bactrace in corefile.exp".
9681         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9682         "call inferior function with struct - returns float" and
9683         "call inferior function with struct - returns double".
9684
9685 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
9686
9687         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9688         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9689         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9690         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9691
9692 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
9693
9694         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9695         (or overriden) "CHILL" macro rather then bare "gcc".
9696         Also look for ../../gcc/xgcc since that is what we will
9697         actually need, not "Makefile".  Remove following assignment
9698         of CHILL to CHILL_FOR_TARGET because that results in
9699         recursive definition.
9700
9701 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
9702
9703         * gdb.base/corefile.exp:  Change xfail for backtrace in
9704         corefile.exp from linuxaout to all linux.
9705         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
9706         cases where we miss the breakpoint at the signal handler
9707         for some reason.  Setup xfail for linuxoldld/linuxaout and
9708         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
9709         hitting SIGURG breakpoint.
9710         * gdb.base/signals.exp:  Setup xfail for "next" acting like
9711         continue to add linuxoldld.  Setup xfail for all linux for
9712         "next to handler in signals_tests_1", "backtrace in
9713         signals_tests_1", "continue to func1", "pass SIGUSR1",
9714         and continue to handler".
9715
9716 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
9717
9718         * Update all FSF addresses except those in COPYING* files.
9719
9720 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
9721
9722         * gdb.base/a2-run.exp: Change messages to be more explicit about
9723         the status of args, and quote binfile in results.
9724
9725 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
9726
9727         * gdb.base/callfuncs.exp: Add tests for passing structs to
9728         inferior functions and return various types.
9729         * gdb.base/callfuncs.c: Add functions to receive a struct
9730         and return a member of the struct, in various types.
9731
9732 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9733
9734         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
9735
9736 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
9737
9738         * config/vxworks29k.exp: New file, sources vxworks.exp.
9739
9740 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
9741
9742         * config/gdbremote.exp: New file.  Testing framework using
9743         gdbserver.
9744
9745 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
9746
9747         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9748         "call function when asleep" and "send end of file".
9749         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9750         for "backtrace in corefile.exp".
9751         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9752         for "backtrace through signal handler".
9753         * gdb.base/corefile.exp: Make sure we actually generate a core file
9754         before trying the core tests.  Some systems allow the user to suppress
9755         generation of core files and default to that (linux for example).
9756         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9757         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
9758
9759 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
9760
9761         * gdb.threads: New directory with some crude multi-threaded
9762         gdb tests (step.exp and step2.exp).
9763         * config/mt-lynx (STEP_EXECUTABLE): Define.
9764         (THREADFLAGS): Define.
9765
9766 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
9767
9768         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9769
9770         * gdb.base/signals.exp: Disable whole file for lynx until
9771         further notice.
9772
9773         * gdb.base/signals.exp: xfail test where "next" acts like
9774         "continue" for lynx.
9775
9776         * gdb.base/interrupt.exp: xfail test for calling function while
9777         inferior is asleep for lynx.
9778
9779         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9780         than one cr-lf  after each command.
9781
9782 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9783
9784         * configure.in:  Reinstate setting of stabsdirs variable, fix
9785         typo in setting up configdirs for native builds.
9786
9787         * gdb.base/return.exp:  Fix typo in return double test.
9788         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
9789         compiler from optimizing them away.
9790
9791 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
9792
9793         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9794         sequences to be echo'd by gdb when using gdb_test.
9795         * gdb.chill/chexp.exp: Likewise.
9796         * gdb.fortran/exprs.exp: Likewise
9797
9798 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
9799
9800         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9801         after the inferior gdb has started.
9802
9803         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9804         after each command.
9805         * gdb.base/funcargs.exp: Likewise.
9806         * gdb.base/gdbvars.exp: Likewise.
9807         * gdb.base/interrupt.exp: Likewise.
9808         * gdb.base/list.exp: Likewise.
9809         * gdb.base/watchpoint.exp: Likewise.
9810         * gdb.c++/demangle.exp: Likewise.
9811         * gdb.c++/inherit.exp: Likewise.
9812         * gdb.chill/chexp.exp: Likewise.
9813         * gdb.fortran/exprs.exp: Likewise.
9814
9815         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9816         test if we can't handle IO to/from the inferior.
9817
9818         * gdb.c++/misc.exp: Always check for a program already being
9819         started after sending a "run" command to gdb.
9820
9821         * gdb.base/twice.exp: Start with a fresh gdb.
9822
9823         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9824         only depend on gdb's expression code, not the chill runtime.
9825
9826         * gdb.base/return.c: Put return values into variables so we
9827         can have gdb print them rather than depending on the program
9828         to print them.
9829         * gdb.base/return.exp: Corresponding changes.
9830
9831         * lib/gdb.exp: Provide default value for noinferiorio.
9832         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9833         the inferior.
9834
9835         * gdb.base/break.exp: Always check for a program already being
9836         started after sending a "run" command to gdb.
9837         (text_next_with_recursion): Don't check the output from the
9838         program's printf statement.  Instead just make sure the program
9839         exited.
9840
9841         * gdb.base/commands.exp: Protect tests which need arguments with
9842         $noargs conditionals.
9843
9844 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9845
9846         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
9847         of structure member arrays to match gdb/valops.c:value_addr change.
9848
9849 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
9850
9851         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9852         cases.
9853
9854 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
9855
9856         * configure.in (configdirs):  Remove gdb.chill from default list
9857         of subdirs and then add it back in only if doing a native build.
9858         The current chill compiler does not yet work in any cross build.
9859         * Revert all signal changes from Jul 6.
9860         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
9861         for sh-hms targets, allowing these tests to link, with no other
9862         changes.  Testing is suppressed by setting "nosignals" in site.exp.
9863
9864 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
9865
9866         * configure.in (signaldirs): Define and add to configdirs for all
9867         targets except some specific ones that are known to not support signals.
9868         Also clean up formatting.
9869         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
9870         (signals, sigall):  Remove rules to build.
9871         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9872         Moved to new gdb.signals directory.
9873         * gdb.signals: New test directory.
9874         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9875         signals.c signals.exp}:  New or moved files.
9876
9877 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
9878
9879         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9880
9881 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
9882
9883         * gdb.base/return.exp:  Xfail `return double' test failure
9884         on at least Solaris 2.3 and handle future/past versions on
9885         a case by case basis as appropriate.  Also update message
9886         to include i*86 failures.
9887
9888 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9889
9890         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9891
9892         * lib/gdb.exp: Fix comment which erroneously identified
9893         gdb_file_cmd as gdb_load (the 19 May change was in fact to
9894         gdb_file_cmd not gdb_load).
9895         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9896
9897         * gdb.base/setvar.exp: Make test names consistent between pass and
9898         fail cases.  Use gdb_test more.
9899
9900 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9901
9902         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9903
9904 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
9905
9906         * gdb.base/help.exp:  Fix expected help string for `show commands'.
9907
9908 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
9909
9910         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9911
9912         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9913         of a text section.
9914
9915 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
9916
9917         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
9918         that loop eventually terminates.  Fix Connection refused logic so
9919         that testsuite will expire nicely.
9920
9921 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
9922
9923         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9924         config/rom68k.exp:  New tcl glue for the appropriate monitors.
9925         These all just end up calling monitor.exp.
9926         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
9927         refused' by retrying.  Cleanup some timeout issues.
9928         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
9929         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
9930         callers don't have to set/restore global timeout variable.
9931
9932         * The following set of changes centralizes management of the global
9933         timeout variable.  This way, it can be set in one target dependent
9934         place instead of dozens of places scattered throughout the test suite.
9935         If you need to lengthen a timeout, then you should either set timeout
9936         in one of the config/{target}.exp files, or multiply it by a factor.
9937         Setting it to an absolute value is always going to lose for some
9938         targets.
9939         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
9940         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
9941         * gdb.base/funcargs.exp:  Don't set timeout.
9942         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
9943         * gdb.base/printcmds.exp (test_print_string_constants
9944         test_print_array_constants):  Don't set timeout.
9945         * gdb.base/ptype.exp:  Don't set timeout.
9946         * gdb.base/recurse.exp:  Don't set timeout.
9947         * gdb.base/return.exp:  Don't set timeout.
9948         * gdb.base/watchpoint.exp:  Don't set timeout.
9949         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
9950         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
9951
9952 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
9953
9954         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9955
9956 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9957
9958         * lib/gdb.exp: Disable chill tests for irix5.
9959
9960 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9961
9962         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
9963         each test pass or fail.
9964
9965 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9966
9967         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9968         xlc not gcc.
9969
9970 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
9971
9972         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
9973
9974 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
9975
9976         * config/est.exp:  Fix copyright and comments.  Remove dead code.
9977         Use targetname, serialport and baud variables instead of fixed
9978         constants.
9979         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
9980         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
9981
9982 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9983
9984         * gdb.base/watchpoint.exp: Don't run
9985         test_watchpoint_triggered_in_syscall for sunos.
9986
9987 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9988
9989         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9990         they don't seem to exist.  Do include stdio.h.
9991
9992 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9993
9994         * gdb.base/a1-selftest.exp: Add alpha xfail.
9995
9996 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
9997
9998         * gdb.base/watchpoint.c (main): Prompt before calling read().
9999         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10000         Revise accordingly.  Remove cruft about sending "123" several
10001         times, until it gets noticed.  Clean up the "print buf[0]" stuff
10002         so that it passes or fails, and waits for prompts in the usual way.
10003
10004 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10005
10006         * gdb.base/recurse.exp: Fix comment.
10007
10008         * TODO: Remove item about printing variables in nodebug.exp.  Add
10009         item about enabling tests which are only run on some targets.
10010
10011         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10012         fail, make test names unique, use new gdb_test convention
10013         regarding pattern, use gdb_test more, etc.).
10014
10015         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10016         fail, make test names unique, etc.).
10017
10018 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10019
10020         * gdb.base/nodebug.c:  Change return type of top and middle to
10021         short.
10022         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
10023         are fixed by the recent mdebugread.c changes. Allow `short ()'
10024         as type for top and middle.
10025
10026 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10027
10028         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
10029         nearly as I can tell, the whole thing was an accident in Stu's
10030         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10031         to replace a send/expect pair with gdb_test, but ended up only
10032         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
10033         of 30 Mar 1995 took care of it, but left this vestigial comment
10034         which I am now nuking.
10035
10036 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10037
10038         * gdb.base/break.exp: Look for different line number for
10039         breakpoint at main depending on usestubs.
10040
10041 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10042
10043         * gdb.base/list.exp:  Adjust some alternate expect patterns to
10044         match recent list0.c change. Add alternate expect pattern for
10045         output from `list default lines around main' for optimizing
10046         compilers.
10047
10048 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10049
10050         * lib/gdb.exp: If nosignals is not set, set it to 0.
10051
10052 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
10053
10054         * config/slite-gdb.exp: Responds to load symbol table prompt.
10055         * gdb.base/break.exp: Adjust line number, fix rerun.
10056         * gdb.base/langs0.c: Add #ifdef usestubs.
10057
10058 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
10059
10060         * gdb.base/list.exp: Adjust line contents after adding new lines in
10061         list0.c. Also fix a syntax error.
10062
10063         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10064         * gdb.base/break.exp: ditto.
10065         * gdb.base/list.exp: ditto.
10066         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10067         * gdb.base/run.c: ditto.
10068         * gdb.base/list0.c: ditto.
10069         * gdb.base/funcargs.c: ditto.
10070
10071 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
10072
10073         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
10074         $targetname, $serialport and $baud instead of hardwired variables.
10075         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
10076         target doesn't support signals.
10077
10078 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
10079
10080         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10081
10082 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10083
10084         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
10085         Don't rely on the value of an auto variable before it has been
10086         initialized.  Use gdb_test more.
10087
10088 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10089
10090         * lib/gdb.exp (default_gdb_version): A version number must start
10091         with a digit, but other than that contains all characters up to
10092         the first whitespace character.
10093
10094 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10095
10096         * gdb.base/commands.exp (breakpoint_command_test): New tests.
10097
10098 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10099
10100         * gdb.c++/*.exp: Warn if executable does not exist.  The original
10101         reason for skipping the warning was that configure.in sometimes
10102         intentionally skipped building the executables but the tcl code
10103         had no way of knowing.  That (a) was always bogus with respect to
10104         error handling, (b) is no longer true (right now there is no way
10105         to skip C++ tests).
10106
10107         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10108
10109 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10110
10111         * gdb.base/list.exp:  Add expect patterns for output from
10112         SunPRO compiled executables.
10113         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
10114         types.
10115
10116 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10117
10118         * gdb.base/break.exp (test_next_with_recursion): Accept any line
10119         number (we are already testing that the correct source line text
10120         gets printed).
10121
10122         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
10123         that is what is intended, but something needed to be done to get
10124         sunos4 native working again.
10125
10126         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10127
10128         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10129         apparently went with a (very) old xfail.
10130
10131 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
10132
10133         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10134         runto_main is a proc in gdb.exp that will do 'step' for target use
10135         stubs.
10136         * gdb.base/exprs.exp: ditto.
10137         * gdb.base/interrupt.exp: ditto.
10138         * gdb.base/opaque.exp: ditto.
10139         * gdb.base/printcmds.exp: ditto.
10140         * gdb.base/ptype.exp: ditto.
10141         * gdb.base/scope.exp: ditto.
10142         * gdb.base/setvar.exp: ditto.
10143         * gdb.base/signals.exp: ditto.
10144         * gdb.base/twice.exp: ditto.
10145         * gdb.c++/classes.exp: ditto.
10146         * gdb.c++/inherit.exp: ditto.
10147         * gdb.c++/templates.exp: ditto.
10148         * gdb.base/break.exp: no run and hit main for stubs. Change line
10149         numbers for breakpoints and info breakpoint.
10150         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10151         breakpoint().
10152         * gdb.base/callfuncs.c: ditto.
10153         * gdb.base/exprs: ditto.
10154         * gdb.base/interrupt.c: ditto.
10155         * gdb.base/opaque0.c: ditto.
10156         * gdb.base/printcmds.c: ditto.
10157         * gdb.base/ptype.c: ditto.
10158         * gdb.base/scope0.c: ditto.
10159         * gdb.base/setvar.c: ditto.
10160         * gdb.base/signals.c: ditto.
10161         * gdb.base/twice.c: ditto.
10162         * gdb.c++/misc.cc: ditto.
10163         * gdb.c++/templates.cc: ditto.
10164
10165 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10166
10167         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10168
10169         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10170         somewhere between `read' and `main.c'.  I'm pretty sure the
10171         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10172         and it isn't particularly useful.
10173
10174         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
10175
10176 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10177
10178         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10179
10180 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
10181
10182         * config/mt-slite: add LIBS and -nostdlib.
10183         * config/slite-gdb.exp: add this new file to support sparclite target.
10184
10185 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
10186
10187         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10188
10189         * gdb.base/a2-run.exp: Change argument to istarget from
10190         "*-*-vxworks" to "*-*-vxworks*".
10191         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10192
10193 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
10194
10195         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10196         will not runto main but do a 'step' to step out of breakpoint().
10197         * config/mt-slite: add -Dusestubs.
10198
10199 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10200
10201         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10202         instead of just @.
10203
10204         * gdb.base/signals.exp: Add test for "handle all print".
10205         * TODO: Remove "handle all print".  Also remove item about
10206         checking copyright date (I don't like the idea of a spurious FAIL
10207         based on when we run the tests).
10208
10209         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
10210         for SunOS4 (reason for failure not investigated).  Remove
10211         redundant test for $binfile.
10212
10213         * gdb.base/nodebug.c (array_index): Call malloc.
10214
10215         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10216
10217 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
10218
10219         * gdb.base/recurse.exp: Update gdb_test invocation to use new
10220         conventions and slightly simplify the matching regexp.
10221
10222 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10223
10224         * gdb.base/break.exp: Update gdb_test invocation to use new
10225         convention.
10226
10227         * lib/gdb.exp: If noargs is not set, set it to 0.
10228
10229         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
10230         tests unique.
10231
10232         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10233
10234 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10235
10236         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10237         one argument of type "<non-float parameter>".
10238
10239 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
10240
10241         * config/rom68k.exp:  New file to support Motorola IDP board.
10242         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
10243         * gdb.base/break.c:  Change things around so that this program
10244         doesn't depend upon args.  This is necessary to make remote
10245         targets work (in general, they can't take args).
10246         * gdb.base/break.exp:  Don't try to send args to program.  Don't
10247         expect output.  Also, replace lots of code with gdb_test.
10248
10249 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10250
10251         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10252         printing of '\'' (which is what the comment says we are testing,
10253         even though we were not), not '''.
10254         (test_integer_literals_rejected): Test that printing ''' is an error.
10255
10256         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10257         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10258         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10259         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10260         Use gdb_test not test_print_accept.
10261         * lib/gdb.exp: Remove test_print_accept.
10262
10263         * gdb.base/signals.exp (signal_tests_1): Make pass message
10264         consistent with fail message.
10265
10266         * gdb.base/whatis.exp: Remove xfails for printing char vs.
10267         unsigned char; the bug (PR 1821) is fixed.
10268
10269         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10270
10271         * gdb.base/scope.exp (test_at_localscopes): Call pass for
10272         successful tests--makes xfailing them work right.
10273
10274 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10275
10276         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10277         only \r\n, not .*.  The test can pass .* as the last thing in
10278         $pattern if that is what it wants.  In addition to providing this
10279         flexibility, this change should speed up pattern matching in cases
10280         where the pattern already ended with .* (there were a number of
10281         them).  This change also helps catch bad patterns--in the old
10282         scheme the typo "char \*" instead of "char \\*" would pass.  Now
10283         it is caught.
10284         * Many .exp files: Update callers.
10285
10286         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
10287         clearer and does not spuriously match multiple ('s.  Likewise for
10288         ) and *.
10289
10290         * gdb.base/nodebug.exp: Test ability to call a function and pass
10291         it a string (even with no debugging info).
10292
10293         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10294         "p '\'", which is the same as "p ''" once tcl gets done with
10295         quoting, to "p '\\'", which I suspect is what is intended (one
10296         backslash gets sent to GDB).
10297
10298         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10299
10300 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10301
10302         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
10303         1817) was fixed literally years ago.
10304
10305 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10306
10307         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
10308         test, it causes stepping out of call_after_alloca_subr with
10309         optimizing compilers.
10310         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
10311         fails.
10312
10313         * gdb.c++/templates.exp:  Source templ-info.exp only if
10314         the templates executable exists.
10315
10316         * gdb.c++/misc.cc (class Contains_static_instance,
10317         class Contains_nested_static_instance),
10318         gdb.c++/classes.exp (test_static_members):  Test printing of
10319         a class that contains a static instance of the class.
10320
10321 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10322
10323         * gdb.base/langs2.c (cppsub_): Don't prototype.
10324         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10325         only, I believe).
10326
10327 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10328
10329         * lib/gdb.exp (skip_chill_tests): New procedure.
10330
10331         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10332
10333 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
10334
10335         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10336         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
10337
10338 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10339
10340         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10341
10342         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10343         disassemble 8, not 16, instructions for part 4.
10344
10345         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
10346         support the latter anymore.
10347
10348         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10349         -DNO_PROTOTYPES.
10350         * gdb.base/callfuncs.c: Control use of prototypes based on
10351         NO_PROTOTYPES, not __STDC__.
10352         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10353         t_float_values2 tests if prototypes in use.
10354
10355         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10356         t_double_values):  When checking differences against DELTA, check
10357         that difference is within the range (-DELTA,DELTA), not just
10358         (-infinity,DELTA).
10359
10360 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
10361
10362         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10363         'file' command firts, then 'target', then 'load', this is due to gdb
10364         target set up.
10365         * config/mips-gdb.exp: Fix a couple regular exp bugs.
10366
10367 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
10368
10369         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10370         FP load/store variants.
10371         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10372
10373 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
10374
10375         * gdb.base/term.exp: Do not give a warning if not native, it is
10376         not an abnormal condition.
10377
10378 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
10379
10380         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10381         t_char_array".
10382
10383 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
10384
10385         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10386         are getting the version number.
10387
10388         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10389         if not native, it is not an abnormal condition.
10390
10391 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10392
10393         * lib/gdb.exp: Just use "file exists", rather than undocumented
10394         dejagnu procedure "findfile".
10395
10396 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
10397
10398         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
10399           (LDFLAGS): Set to -Xlinker -Ur.
10400
10401         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10402           Removed, these values are set by lib/gdb.exp.
10403
10404         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10405
10406 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
10407
10408         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10409           of replicating gdb startup code.
10410
10411         * config/mt-vxworks (LDFLAGS): Set to -r.
10412           (CFLAGS_FOR_TARGET): Removed.
10413
10414         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10415           (gdb) and gdb for vxworks uses (vxgdb).
10416
10417         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10418           executable is not in the tree and host != target, use sed and
10419           program_transform_name to determine the gdb name used by the
10420           target.
10421
10422         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10423           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10424
10425 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10426
10427         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10428         floats, chars, and shorts where there are ANSI-style function
10429         definitions.
10430
10431         * gdb.base/langs.exp, gdb.base/langs*: New test.
10432         * gdb.base/Makefile.in: Build it.
10433         * TODO: Remove item about checking that C names don't get C++
10434         demangling applied; this test tests it.
10435
10436 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10437
10438         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10439         went with the const70 xfail.  The xfail went away a year ago.
10440
10441         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10442
10443         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
10444         for hp300.
10445
10446         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10447
10448         * gdb.base/a1-selftest.exp: Don't run on hp300.
10449
10450 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10451
10452         * Makefile.in (site.exp): Set host_alias and target_alias as well
10453         as host_triplet and target_triplet.
10454
10455 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10456
10457         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10458
10459         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10460         places as other ecoff systems).
10461
10462         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10463         ultrix.
10464
10465 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10466
10467         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10468         remove them.
10469         * gdb.base/nodebug.exp: Accept "function" in addition to "text
10470         variable and "variable" in addition to "data variable".
10471         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10472
10473         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10474         2.
10475         * gdb.base/list1.c (long_line): Add additional statement at start
10476         of function.
10477         * gdb.base/list.exp (test_forward_search): Update line number to
10478         reflect new statement.
10479
10480 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10481
10482         * gdb.base/signals.exp:  Reinitialize searched source directories
10483         after gdb_start call.
10484
10485 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
10486
10487         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10488         * gdb.stabs/Makefile.in: Likewise.
10489
10490         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10491         change.  Instead split the tests into smaller pieces.
10492         * gdb.disasm/hppa.s: Corresponding changes.
10493
10494 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10495
10496         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10497         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
10498
10499         * gdb.base/funcargs.exp: Modify many tests so that every test
10500         either passes or fails.  Make some test names unique.
10501
10502 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10503
10504         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10505         Call stty to set interrupt character.
10506
10507         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10508         for HP assembler versus GNU assembler based on actual behavior of
10509         $(CC), rather than assuming that $(AS) is always the GNU assembler.
10510
10511         * TODO: Suggest a few more stepping tests.
10512
10513 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
10514
10515         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10516         restart GDB for h8300 after a continue.
10517         (return): Add pattern to match a29k-udi behavior.
10518         * gdb.base/nodebug.exp: Remove obsolete comment.
10519         * gdb.base/regs.exp: New file, testing of register displays.
10520         * gdb.base/return.exp: Fix typo in reference to $objdir.
10521         * gdb.base/whatis.exp: Always start with a fresh GDB.
10522
10523 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10524
10525         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10526         higher, these tests generate a lot of output.
10527
10528 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10529
10530         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
10531         code following the catch silently ignored some errors; without the
10532         catch they should be thrown like any other tcl error.  Also, the
10533         catch used "" instead of {} which meant all the callers who wanted
10534         to include one of the characters "[]$ had to quote it an extra time.
10535         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10536         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10537         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10538         Remove extra quoting.
10539
10540 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
10541
10542         * gdb.base/commands.exp: Make test names unique; every test either
10543         passes or fails.  Update some comments.
10544
10545         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10546
10547 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10548
10549         The following fixes a FAIL caused by the fact that the alpha stabs
10550         configuration didn't use the ".if alpha" code in weird.def.
10551         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10552         bit pointer, so the 32 bit version works even on the alpha.
10553         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10554         Remove the stuff which allowed us to have separate versions for
10555         alpha and everything else.
10556
10557         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10558         regexp which "info func operator\[\](" is supposed to match.  Fix
10559         string to send to GDB.  Note that GDB still doesn't work right.  Add a
10560         new test for "info func .perator\[\](" which GDB does handle correctly.
10561
10562         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10563
10564 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10565
10566         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10567         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10568         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10569         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10570         it makes the tests harder to understand and confuses test-o-matic.
10571         The preferred style is that each test provides a PASS or a FAIL,
10572         and has a unique message (e.g. "continue #54" not just "continue")
10573         which is the same for the pass and the fail.
10574         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10575         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10576         to lib/gdb.exp.
10577         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
10578         prt_accept which was basically the same thing.  Likewise for
10579         test_print_reject and prt_reject.
10580         * lib/gdb.exp (test_print_reject): Add some more error message
10581         patterns to match from the former printcmds.exp (prt_reject).
10582         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10583         One defect of the passcount stuff is that some of it failed to
10584         report XPASS where appropriate.
10585         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10586         stuff before and after arg in expected pattern.
10587         (test_paddr_operator_functions): Re-do test without print_addr_of;
10588         this is the only test which seems to want extra stuff there.
10589
10590 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10591
10592         * gdb.base/nodebug.exp: Update new tests to reflect improved
10593         wording of gdb output.
10594
10595         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10596         and "ptype" work on variables in files compiled without -g.
10597         Replaces commented out "maint print msymbol" tests.
10598
10599 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10600
10601         * gdb.base/setvar.c (dummy): Call malloc.
10602
10603         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10604         losing with the irix4 sed.
10605
10606         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10607         ALRM" on irix4.
10608
10609 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10610
10611         * TODO: Remove items about corefile.exp testing new exec-file and
10612         backtrace; both are now done.  Add items about printing enums.
10613
10614 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10615
10616         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10617         "get signal $thissig" test fails.
10618
10619         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10620
10621 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10622
10623         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10624         compiler warning with dec alpha compiler.
10625
10626         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10627         extra \n from gdb_test call (this explains why the prompt test
10628         that I removed yesterday was there).
10629         (user_defined_command_test): Remove extra \n and prompt test.
10630
10631         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10632         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10633         doesn't exist.
10634         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10635         Also remove alpha workaround, which turns out to be because
10636         SIGABRT == SIGLOST.
10637
10638         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10639
10640         * gdb.base/help.exp: Don't test "help show".
10641
10642 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10643
10644         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10645         "set print address" is on.
10646         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10647         pass prompt to gdb_test; gdb_test already looks for the prompt.
10648
10649         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10650
10651         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
10652         was a vestige of the manual TESTSTRATEGY, and the purpose of it
10653         was to make sure that gdb can read a core file.  But (a) the "read
10654         the corefile" part didn't make it to a1-selftest.exp, we just
10655         delete the corefile after creating it, and (b) we test reading
10656         corefiles in corefile.exp anyway.  Also, this test left around a
10657         xgdb process on Solaris.
10658
10659         * gdb.base/corefile.exp: Also test backtrace.
10660
10661 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
10662
10663         * gdb.base/commands.exp: Test a simple user defined command with
10664         arguments and if/while statements; verify the full user command is
10665         printed by "show user".
10666
10667         * gdb.base/commands.exp: Test if/while commands as part of a
10668         breakpoint command list; verify they appear in breakpoint
10669         information.
10670
10671 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10672
10673         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10674         than by dividing by zero.
10675
10676 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
10677
10678         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10679         performing an inferior call with watchpoints enabled.
10680         * gdb.base/watchpoint.c (main): Delete second unnecessary read
10681         call.
10682
10683 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10684
10685         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10686         of "file" command.
10687
10688         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10689         Add additional pattern for when "int operator int(void);" appears
10690         in a different order.
10691
10692 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
10693
10694         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10695
10696         * gdb.base/help.exp: Replace most of docstrings for "info signals"
10697         and "signal" with ".*".
10698
10699 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
10700
10701         * TODO: Add note about "handle all nostop".
10702
10703         * gdb.base/{sigall.c, sigall.exp}: New test.
10704         * gdb.base/Makefile.in: Add it.
10705
10706 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
10707
10708         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10709         when invoking GDB, suppresses any windowing interface.
10710
10711 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
10712
10713         * config/sim-gdb: New file, simulator testing support.
10714
10715 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
10716
10717         * gdb.base/interrupt.exp: Test calling func1 twice.
10718
10719 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
10720
10721         * gdb.base/list.exp (test_forward_search): Set timeout higher
10722         when we'll be getting lots of output from gdb.
10723
10724         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10725         "init_malloc" to after the expect statement.  Run it if that
10726         regexp is taken, but also for two others which happen if source
10727         cannot be found.
10728
10729 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10730
10731         * gdb.base/printcmds.exp: New test, for printing register before
10732         program is running.
10733
10734 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10735
10736         * gdb.base/list.exp:  Correct some alternate expect patterns
10737         to reflect changes in list1.c.
10738
10739 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10740
10741         * TODO: Add item regarding large frames.
10742
10743         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10744
10745         * TODO: Remove item about enabling return.exp; it
10746         is enabled.  Suggest a few more "return" tests.
10747
10748 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10749
10750         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
10751         anonymous unions.
10752
10753 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10754
10755         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10756         and pr-5646.o, so "make" is the same as "make all", not "make
10757         pr-4975.o".
10758
10759 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
10760
10761         * gdb.base/list.exp: Adjust expectations to reflect changes in
10762         list1.c.
10763         (test_forward_search): New test proc.
10764         * gdb.base/list1.c (long_line): New function, has long source line.
10765
10766 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
10767
10768         * gdb.base/a1-selftest.exp: Change initial stepping to know about
10769         additional line of code that was added.
10770
10771 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
10772
10773         * gdb.disasm/hppa.s: Break the large branching tests into smaller
10774         tests so as not to overflow expect's input buffers.
10775         * gdb.disasm/hppa.exp: Corresponding changes.
10776
10777 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10778
10779         Beginnings of template debugging tests.
10780         * gdb.c++/templ-info.cc:  New file to test for template
10781         debugging capability of the compiler.
10782         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
10783         templ-info.cc.
10784         * gdb.c++/templates.cc:  Add explicit template instantiations
10785         to enable compiling with -fno-implicit-templates. Add destructor
10786         and 'value' method to T5 class for template tests.
10787         * gdb.c++/templates.exp:  Add testcases for printing of template
10788         types, setting breakpoints on template methods and calling a
10789         template method.
10790
10791 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
10792
10793         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10794         branch target since some assemblers (gas-2.5)  may emit a
10795         relocation for the branch instead of resolving it in the
10796         assembler.
10797
10798 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10799
10800         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
10801         through signal handler.
10802
10803 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10804
10805         * configure.in (*-*-netware): Use config/mt-netware.
10806
10807         * config/mt-netware: New file.
10808         * config/mt-i386-netware: Removed, separate configs for different
10809           netware architectures are no longer needed now that we have
10810           --with-headers.
10811
10812 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10813
10814         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
10815         by the recent changes to use ANSI C arithmetic conversions.
10816
10817 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10818
10819         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10820         bug involving using inferior_pid to figure out whether to select a
10821         frame.
10822
10823 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
10824
10825         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10826         match the current disassembler output.
10827
10828 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
10829
10830         * gdb.fortran/exprs.exp: Expect VOID instead of void.
10831         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10832         types, expect "int" as type of integer values (for now).
10833
10834 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
10835
10836         * gdb.base/commands.exp: New tests for if/while commands.
10837
10838 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
10839
10840         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
10841         by .*, since hex values have different syntax in Chill mode.
10842
10843 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10844
10845         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
10846         linefeed from expect pattern for repeated types with indices > 9.
10847
10848 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
10849
10850         First part of Fortran test suite.
10851         * gdb.fortran: New directory.
10852         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10853
10854 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10855
10856         * gdb.base/default.exp:  Update expect pattern for load command
10857         without arguments.
10858
10859 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
10860
10861         * configure.in: Change i386 to i[345]86.
10862         * gdb.base/configure.in: Likewise.
10863         * gdb.c++/configure.in: Likewise.
10864         * gdb.chill/configure.in: Likewise.
10865
10866 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
10867
10868         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10869         patterns, since that is not a valid context for comments.
10870
10871 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
10872
10873         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10874         repeated types and repeated types with indices > 9.
10875
10876 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
10877
10878         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10879         2417; old bug has been fixed.
10880
10881 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
10882
10883         * gdb.base/interrupt.exp: When trying to wake up the inferior,
10884         send the newline ourselves instead of assuming gdb_test will do
10885         so when passed an empty input string.
10886
10887         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10888         stabs testcode.
10889
10890 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10891
10892         * lib/gdb.exp (gdb_test): Don't send anything if the first
10893           argument is an empty string.  This makes cases where we want to
10894           match output that is already in expect's buffers (for example,
10895           matching a breakpoint after gdb_run_cmd has been called) work
10896           reliably.
10897
10898 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10899
10900         * config/netware.exp: New file.
10901
10902 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10903
10904         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10905           the -B and -L prefixes so we can find the debugging stub.
10906
10907         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10908           there and we are using the gcc from the tree.
10909
10910         * gdb.base/types.c: Removed.
10911
10912         * gdb.base/configure.in: Look for makefile fragments in ../config.
10913           Recognize i386-*-netware.
10914         * gdb.c++/configure.in: Likewise.
10915
10916 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
10917
10918         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
10919         the correct TCL syntax.
10920
10921 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10922
10923         * gdb.base/opaque.exp: use runto instead of messing around with
10924           breakpoints.  Simplify by using gdb_test.
10925
10926         * gdb.base/bitfields.exp: restart between tests on netware targets
10927           because breakpoints aren't relocated after target death.  Run
10928           processes to completion.
10929
10930         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10931
10932 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
10933
10934         * Makefile.in:  Remove extra tabs that confuse some versions
10935         of "make".  Use the newly built gdb to test with by default,
10936         rather than the first one in the tester's search path.
10937
10938 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
10939
10940         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10941
10942         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10943         condition help.
10944
10945 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10946
10947         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10948
10949         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10950           running.
10951         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10952         * gdb.base/funcargs.exp: Likewise.
10953
10954         * gdb.base/bitfields.exp: Simplify by using gdb_test.
10955         * gdb.base/funcargs.exp: Likewise.
10956
10957         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10958           message is "".
10959
10960 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10961
10962         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10963           return,signals,twice}.exp: Handle non-existant binaries
10964           consistantly.
10965
10966         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10967         * gdb.base/Makefile.in: Don't try to generate a core dump, we
10968           might testing a cross development system.
10969
10970 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10971
10972         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10973           runtest script is relative to ${srcdir}, not ${rootdir}.
10974
10975 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
10976
10977         * gdb.base/signals.exp: Allow for optionality of breakpoint
10978         address.
10979
10980 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
10981
10982         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10983
10984 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
10985
10986         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10987           for size_t definition.
10988         * gdb.c++/templates.cc: Likewise
10989
10990         * config/mt-i386-netware: New file.
10991
10992         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10993           defined.
10994
10995         * gdb.base/Makefile.in: Added support for systems that name core
10996           files by appending "core" to the program name.
10997         * gdb.base/a1-selftest.exp: Likewise.
10998
10999 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11000
11001         * gdb.base/return.exp:  Add comment and message for `return double'
11002         test failure on Sparc Solaris.
11003
11004 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
11005
11006         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11007
11008 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11009
11010         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
11011         from optimizing them away.
11012         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
11013         patterns to include default constructors and assignment operators,
11014         to match gcc versions beyond 2.5.8. Accept any cplus demangling
11015         character in the output of the virtual base pointer.
11016
11017 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11018
11019         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
11020         expression match in print_addr_of to avoid unintented matches.
11021         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
11022         versions up to 2.5.8.
11023
11024 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11025
11026         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
11027         included file to run under newer versions of expect.
11028         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
11029         consecutive >'s in templates to accomodate recent cplus-dem.c change.
11030         Remove xfail for the virtual table of BDDHookV.
11031
11032 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
11033
11034         * lib/gdb.exp (string_to_regexp): Set a default result.
11035         (default_gdb_start): Fix misleading message.
11036
11037 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
11038
11039         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11040         Remove all CC, etc definitions.
11041         * config/mt-hpux: New file.
11042         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11043         (CFLAGS, LDFLAGS): Define.
11044         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11045
11046         * Makefile.in (site.exp): Don't insert host_os, etc.
11047         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11048         (distclean): Check existence of subdir.
11049         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11050         * gdb.base/Makefile.in: General cleanup and simplification.
11051         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11052         to build executables.   Use default rule to build .o files.
11053         (EXPECT, RUNTEST, CC): Fix relative pathname.
11054         (site.exp): Don't insert host_os, etc.
11055         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11056         and/or SIGUSR1 defined.
11057         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11058         * gdb.c++/Makefile.in: General cleanup and simplification.
11059         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11060         (CFLAGS): Remove.
11061         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11062
11063 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
11064
11065         * gdb.base/recurse.exp: Misc changes to get tests running again
11066         after Kung's changes to the watchpoint code.
11067         * gdb.base/watchpoint.exp: Likewise.
11068
11069 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
11070
11071         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
11072
11073 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
11074
11075         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11076         * lib/gdb.exp (default_gdb_start): Define.
11077         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11078         gdb.base/funcargs.exp, gdb.base/opaque.exp,
11079         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11080         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11081         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11082         Don't call gdb_target_udi in between tests.
11083
11084 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11085
11086         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11087         (which was basically just a local version of the same thing).  In
11088         addition to avoiding duplication, gdb_test_exact is faster.
11089         * lib/gdb.exp (gdb_test_exact): Fix typo.
11090
11091         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11092         don't give an error.
11093
11094         * gdb.base/term.exp: Call delete_breakpoints before starting.
11095
11096         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11097         (t10): Add comment.
11098
11099 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
11100
11101         Reorganization of the GDB Test Suite.
11102
11103         * gdb.base: New directory, contains all the basic tests.
11104         * gdb.c++: New directory, tests specific to C++.
11105         * gdb.chill: New directory, tests specific to Chill.
11106         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11107         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11108         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11109         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11110         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11111         t30-31 to chill).
11112         * */gdbme.*: Rename to match appropriate expect scripts.
11113         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11114         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11115         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11116         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11117         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11118         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11119         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11120         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11121         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11122         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11123         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11124         gdb.c++/virtfunc.cc: New names of C++ files.
11125         * gdb.chill/chillvars.ch: New name of Chill file.
11126         * gdb.base/configure.in, gdb.c++/configure.in,
11127         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11128         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11129         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11130         * configure.in (configdirs): Update to reflect directory changes.
11131         (target_abbrev): No longer define for any configuration.
11132         * Makefile.in: Cosmetic improvements to header comments.
11133
11134 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
11135
11136         Various changes to gdb.t31:
11137
11138         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
11139         * gdbme.ch:  Make all key-words and predefineds be upper-case.
11140         * chillvars.exp:  Expect key-words and predefinds in upper-case.
11141
11142         * chillvars.exp:  Use gdb_test_exact many places.
11143         Change expected output for arrays (which now includes index labels).
11144
11145         * pr-5020.exp, gdme.ch (module PR_5020):
11146         New test, for PR-5020.
11147
11148 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
11149
11150         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
11151         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
11152
11153 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
11154
11155         * Makefile.in:  Fix bit-rot in definitions of CHILL,
11156         CHILL_FOR_TARGET and Chill_LIB.
11157         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
11158         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
11159         CHILL, and CHILL_LIB.
11160
11161 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
11162
11163         * Revert the previous changes.  Please see Rob's directory
11164           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11165
11166 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
11167
11168         * Makefile.in, configure.in, config/mips-gdb.exp,
11169           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11170           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11171           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11172           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11173           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11174           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11175           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11176           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11177           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11178           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11179           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11180           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11181           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11182           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11183           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
11184           changes from 94Q1.
11185
11186 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
11187
11188         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11189           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11190           Rob's new testing fragments.
11191
11192 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
11193
11194         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11195           lib/gdb.exp: Replace error proc calls with perror.
11196
11197 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
11198
11199         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11200         version also, match on casted version strings, and match on
11201         gdb startup case where the line numbers might be messed up.
11202
11203 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
11204
11205         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11206           (CFLAGS): Delete it from here.
11207
11208 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
11209
11210         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11211
11212 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
11213
11214         * Makefile.in (RUNTEST): Default to just "runtest".
11215
11216 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11217
11218         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11219         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11220         the code has been restructured.
11221
11222 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11223
11224         * gdb.t00/default.exp (set write): Allow any number of \r and/or
11225         \n, not just one of each.
11226
11227         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11228         /bin/cc gives a warning if you do.
11229
11230 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
11231
11232         * gdb.t24/demangle.exp: change expect pattern of
11233         __t10ListS_link1ZUiRCUiPT0
11234
11235 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11236
11237         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11238         on local variables in recursive functions.
11239
11240         * gdb.t07/Makefile.in: Build the new test.
11241
11242 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11243
11244         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11245         directly.  Instead compare the return values from actual calls.
11246
11247 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
11248
11249         * Makefile.in (check): Set TCL_LIBRARY for runtest.
11250
11251 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11252
11253         * From Peter Schauer with minor modifications.
11254         * gdb.t15/return.exp (return_tests): Handle targets where "return"
11255         stops in mid-line in the caller.  Add xfail for returning a float
11256         value on X86 targets.
11257
11258 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11259
11260         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11261         to avoid expect lossage.
11262         (fmem_LRbug_tests): Likewise.
11263         * gdb.disasm/hppa.s: Corresponding changes.
11264
11265         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11266         conditions to work with latest dejagnu/expect.
11267
11268         * gdb.t15/funcargs.exp (finish from indirect call): No longer
11269         expected to fail on the PA.
11270         (backtrace in call with trampolines): Explicitly require main
11271         to be frame #1 (no trampolines should show up in backtrace).
11272
11273         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11274         "continue -expect".
11275         * gdb.t06/break.exp: Likewise.
11276         * gdb.t07/watchpoint.exp: Likewise.
11277         * gdb.t13/bitfields.exp: Likewise.
11278         * gdb.t15/{funcargs,return}.exp: Likewise.
11279         * gdb.stabs/weird.exp: Likewise.
11280         * config/{mips,udi}-gdb.exp: Likewise.
11281
11282         * hppa.sed: Enclose comments within a sed command to avoid
11283         losing with the old OSF1 sed.
11284
11285 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11286
11287         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
11288         sequent dynix.
11289         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
11290         * gdb.t15/funcargs.exp:  Conditionally step again to really
11291         finish from marker_call_with_trampolines. Handle the case where
11292         the first step from within call_with_trampolines already steps
11293         us back to main.
11294         * gdb.t15/gdbme.c:  Add comment to closing brace of
11295         call_with_trampolines for funcargs.exp.
11296
11297 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11298
11299         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
11300         Fix typo(s).
11301
11302 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11303
11304         * gdb.t07/gdbme.c: More code for watchpoint testing.
11305
11306         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11307         "Hardware watchpoint" throughout file.
11308         (test_watchpoint_triggered_in_syscall): New test.
11309         (test_complex_watchpoint): New test.
11310
11311 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11312
11313         * gdbme.c (call_with_trampolines): New function to try and step
11314         into.  Tests trampoline problems on the PA.
11315
11316         * funcargs.exp (localvars_in_indirect_call): No longer expect
11317         stepping into indirect call to fail on PAs.
11318         (test_stepping_over_trampolines): New test.
11319
11320 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11321
11322         * TODO: Add suggestions for static member function tests, and
11323         completion tests.
11324
11325 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11326
11327         * TODO: Add suggestions for "p/a" tests.
11328
11329         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11330         (default_gdb_exit): Replace all the hair with sending "quit" to
11331         the process with a simple close.
11332
11333 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11334
11335         * TODO: Add suggestions for shared library tests.
11336
11337 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11338
11339         * TODO: Add suggestions for x/s tests.
11340
11341 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11342
11343         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11344         "enable once", and "enable breakpoints once" with ".*".
11345
11346 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11347
11348         * TODO: Add suggestions about structure passing tests.
11349
11350 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11351
11352         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
11353         the primary1 test, use work around if __GNUC__ < 2.
11354         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
11355         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
11356         Test for bad output rather than waiting for timeout.  Issue
11357         second continue only if first continue failed.
11358
11359 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
11360
11361         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11362         operator[] test with gdb_test because the old code didn't seem to
11363         be getting the quoting right with the new dejagnu.
11364
11365 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
11366
11367         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11368         one from the path.
11369         * Makefile.in: Use a fresh expect if there is one, use runtest
11370         from the src tree if there is one.
11371
11372 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
11373
11374         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11375         next over recursive call.  Revise the tests from that point on
11376         (which had been skipped) to match GDB's actual (correct) output.
11377
11378         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11379         with next over a breakpoint whose condition is false.
11380
11381         * gdb.t00/help.exp: Comment out "help set print" tests just like
11382         (and for same reason as) "help set" test.
11383
11384 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11385
11386         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11387         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11388
11389 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11390
11391         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11392         necessary gdb_target_udi.
11393
11394         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11395
11396         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11397         1838 and 2417; they are fixed.
11398
11399         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11400         gdb.t03/ptype.exp (ptype structure, ptype union):
11401         Remove xfails; the test is looser than when the xfails were added.
11402
11403         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11404         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11405
11406         * gdb.t01/run.exp: Only run shell test if isnative.
11407
11408         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11409         since "run" automatically loads if necessary.  Call gdb_target_udi
11410         after the "file" since "file" kills any execution target.
11411
11412         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11413         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
11414         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11415         argument for UDI.
11416
11417 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
11418
11419         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11420
11421         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11422
11423 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11424
11425         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11426         properly quoting regexps.  This makes the second argument to
11427         demangle a fixed string, which matches the callers, instead of a
11428         shell-style pattern which is what the previous implementation
11429         used.  Update some of the callers.
11430
11431 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11432
11433         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11434         (comib_nullified_tests): Fix typo.
11435         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11436         strings.  No longer expected to fail.
11437
11438         * gdb.disasm/hppa.s (addib_tests): Fix typo.
11439         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11440         strings.  No longer expected to fail.
11441
11442         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11443         string.  No longer expected to fail.
11444
11445 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11446
11447         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11448         No longer expected to fail.
11449
11450         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11451         string.  No longer expected to fail.
11452
11453 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11454
11455         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11456         only in the names (I probably got most of them).  I was even
11457         generous with some which differed in underscores in names, and
11458         probably missed a few, and I *still* was able to remove almost a
11459         third of the file with almost no impact on testsuite coverage.
11460
11461 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11462
11463         * gdb.t00/default.exp: Match udi_attach error message as well as
11464         the one from child_attach.
11465
11466         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11467
11468         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11469
11470         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11471         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11472
11473         * Move test with enums and partial symbols back to
11474         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11475         Reverts the change of 26 May 93.  Per today's change to
11476         stabs.texinfo, the behavior that weird.exp was expecting was
11477         unreasonable; what is important is that the compiler+gdb get
11478         things right, which happens with a recent gcc.  Also fix the test
11479         to deal with native compilers which put out the stab gdb can't
11480         deal with.
11481
11482 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11483
11484         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11485         in the names.  The main thing these accomplish is to slow things down.
11486         Many more such duplicates surely remain.
11487
11488         * gdb.t00/help.exp: Comment out "help support" test just like
11489         (and for same reason as) "help set" test.
11490
11491 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
11492
11493         * gdb.t06/break.exp:  Remove setup_xfails for
11494         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11495         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
11496         about known bug in gcc to include up through 2.5.8.
11497         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
11498         well as "_vb$".
11499         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11500         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11501         with latest gcc and gdb.
11502         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
11503         well as "_vb$".
11504
11505 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11506
11507         * configure.in (hppa*-*-*): Also configure and build stabs-only
11508         tests.
11509
11510 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11511
11512         * gdb.t10/hppa.mt: A makefile fragment for the PA.
11513         * gdb.t10/configure.in (hppa*-*-*): Use it.
11514
11515 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11516
11517         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
11518
11519 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11520
11521         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
11522         versions prior to 1.13.5.
11523
11524 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11525
11526         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11527         the prompt is at the start of a line.
11528
11529 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
11530
11531         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11532         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
11533         in the copr tests now.
11534         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
11535         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
11536         expected to fail.
11537
11538 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
11539
11540         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11541         gdb.t31/chillvars.exp, lib/gdb.exp:
11542         Tweak to run under either version of expect.
11543         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11544         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11545         * gdb.t11/list.exp: Remove extraneous whitespace.
11546
11547 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11548
11549         * gdb.t16/printcmds.exp (test_print_strings): Accept
11550         "(unsigned char *) " before the string.
11551
11552         * TODO: Add notes about printing of fancy types and GDB expressions.
11553
11554 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
11555
11556         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11557         * gdb.t06/configure.in: Don't try to compile signals test program
11558         if doing mips-idt-ecoff.
11559
11560 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
11561
11562         * Most .exp files: Tweak to run under either version of expect.
11563
11564 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11565
11566         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
11567         xfails; I'm not sure why they are failing, but not because of PR 1806.
11568
11569 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
11570
11571         * config/unix-gdb.exp: Remove gdb_unload cause it's already
11572         defined in lib/gdb.exp.
11573
11574 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11575
11576         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
11577         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11578         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
11579         have to be typeless.
11580
11581 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
11582
11583         * TODO: Add suggestion for copyright year test.
11584
11585 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
11586
11587         * configure.in (*-*-lynxos*): Add stabs tests.
11588
11589 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
11590
11591         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11592         so insert a tab before any assembler directive in column zero.
11593
11594         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11595         stores.
11596         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11597         stores.
11598         (fpu_short_memory_tests): Likewise.
11599
11600 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11601
11602         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
11603         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
11604         .stabs directives in comments.
11605
11606 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11607
11608         * TODO: New file, describing tests we could write.
11609         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11610
11611 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11612
11613         * gdb.t06/signals.exp: Add kludge to force re-sync.
11614
11615         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11616         to xgdb instead of gdb, get out of gdb.
11617
11618 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
11619
11620         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11621         for info.
11622
11623 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
11624
11625         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11626         * gdb.stabs/configure.in (hppa*-*-*): Use it.
11627         * gdb.stabs/hppa.sed: New sed script for the PA.
11628
11629 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11630
11631         * gdb.stabs: Re-write weird.def and configuration to use sed
11632         instead of cpp.  sed is portable and POSIX; cpp is neither.
11633
11634 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11635
11636         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11637
11638 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11639
11640         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11641
11642 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11643
11644         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11645         "_vb$".
11646         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11647         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11648
11649 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11650
11651         * lib/gdb.exp: Comment out code which depends on non-existent
11652         `transform' procedure.
11653
11654 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
11655
11656         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11657         * lib/gdb.exp: Transform tool name.
11658         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11659         1.1's new error handling system.
11660
11661 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11662
11663         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11664
11665 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11666
11667         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11668         They made pattern matching so slow that timeouts happened on
11669         heavily loaded systems.  Now any output from "show print" which
11670         gets us back to the GDB prompt is a PASS.
11671
11672 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
11673
11674         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
11675
11676 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11677
11678         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11679
11680         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11681         It is not from PR 3220.
11682
11683 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11684
11685         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11686         just started failing because they depended on the order the
11687         subcommands are presented, or exact docstring text.  This kind of
11688         test is a pain and has minimal benefit.
11689
11690 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11691
11692         * gdb.t09/corefile.exp: At end of test, use "core" command with
11693         no arguments.
11694
11695 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
11696
11697         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11698         17}/Makefile.in:  Make it possible to run the testsuite with Sun
11699         make and CC = cross gcc by adding explicit build rules for .o
11700         files.
11701
11702 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11703
11704         * gdb.t15/funcargs.exp: Don't put comments on same line as
11705         setup_xfail (@#$*%& tcl braindamage!).
11706
11707 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11708
11709         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11710
11711 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
11712
11713         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11714         * gdb.t20/inherit.exp: remove three dumplicate entries.
11715
11716 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11717
11718         * gdb.t06/break.exp: For "next over recursive call", fail on any
11719         incorrect output, not just on "factorial (value=2)".
11720
11721 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11722
11723         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
11724         working now. Add an xfail if accesing a bss variable causes
11725         a memory error if the target is not yet run.
11726
11727 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11728
11729         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11730         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11731         name of __st* demangling (2 strings).  Did Kung really get the
11732         more than 95 others right without testing them?
11733
11734 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
11735
11736         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11737
11738 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
11739
11740         * configure.in (configdirs): Add gdb.disasm
11741         * gdb.disasm: New directory for GDB disassembler tests.
11742         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11743
11744 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11745
11746         * gdb.t00/help.exp: Don't test "help set".
11747
11748         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11749         from within expect statements.  None of these happen anymore and
11750         they cause regressions to be silently unnoticed.
11751
11752         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11753         messages) about known failures with gcc cygnus-2.4.5-930417.
11754
11755         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11756         comp-info.exp so it gets built if it doesn't exist.
11757
11758         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11759         it is no longer used.
11760         * gdb.t13/comp-info.c: Removed.
11761
11762 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
11763
11764         * gdb.t06/signals.exp: Add xfail for sun3.
11765
11766 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11767
11768         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11769         relevant because ^C doesn't get sent but failure can be reproduced
11770         interactively).
11771
11772 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11773
11774         * gdb.stabs/alpha.mt:  New configuration file for alpha.
11775         * gdb.stabs/configure.in:  Use it.
11776         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
11777         sharing with alpha.mt, redefine long to word via preprocessor.
11778         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
11779         for alpha.
11780         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
11781         native cc.
11782         * gdb.t00/teststrategy.exp:  Change expect string so that we
11783         consume the `(xgdb)' from the command echo and from the gdb prompt.
11784         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
11785         gdb currently compares all values as long, so this failure probably
11786         applies to any configuration where LONGEST is bigger than a target int.
11787         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
11788         with gcc.
11789         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
11790         to handle opaque pointers, gcc is.
11791         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
11792         as first argument. Include <sys/types.h> and change all operator
11793         new definitions to use size_t.
11794         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
11795         now that we use size_t.
11796
11797 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11798
11799         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
11800         a long or float array cast all array members to the same type.
11801         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
11802         with 64 bit longs.
11803         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
11804         on alpha.
11805         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
11806
11807 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11808
11809         * gdb.t24 (demangle.exp): Constructors of templates have names like
11810         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
11811         section 14.6 of the ARM.
11812
11813         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11814         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11815         accomplish little and slow down the testsuite.
11816
11817         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11818         Accept spaces various places.
11819
11820 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11821
11822         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11823         with watchpoint enabled.
11824
11825         * Makefile.in: Remove definition of CC and remove the second
11826         definition of CXX (the "CXX = gcc" one remains).  These definitions
11827         were causing backquotes to be expanded within backquotes, which
11828         doesn't work.
11829
11830 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
11831
11832         * gdb.t17/callfuncs.exp: Add "return 0" to end.
11833
11834 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11835
11836         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
11837         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
11838         by mips cc and contains no stabs entries.
11839
11840 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
11841
11842         * config/vx-gdb.exp: Use fake device to load files rather than
11843         NFS.
11844         * lib/gdb.exp: New proc to do "file" command.
11845         * config/unix-gdb.exp: Use new "file" proc.
11846
11847 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
11848
11849         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11850         Rework board rebooting slightly.
11851         (gdb_exit): Don't exit from the remote shell; there isn't one.
11852         * gdb.stabs/weird.exp: If a program is being debugged already,
11853         kill it.
11854         * gdb.t04/setvar.exp: Stop and restart gdb.
11855         * gdb.t05/expr.exp: Likewise.
11856         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11857         restart gdb and reload the program.
11858         * gdb.t08/opaque.exp: Likewise.
11859         * gdb.t12/scope.exp: Likewise.
11860         * gdb.t13/bitfields.exp: Likewise.
11861         * gdb.t15/funcargs.exp: Likewise.
11862         * gdb.t20/classes.exp: Likewise.
11863         * gdb.t03/ptype.exp: Increase timeout.
11864         * gdb.t16/printcmds.exp (test_print_string_constants,
11865         test_print_array_constants): Likewise.
11866         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11867         * gdb.t20/classes.exp (do_tests): Likewise.
11868         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11869
11870 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
11871
11872         * gdb.stabs: Renamed *wierd* to *weird*.
11873
11874 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
11875
11876         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11877         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
11878
11879 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
11880
11881         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11882         (do_tests): Remove xfail for whatis on one_var and two_var.
11883
11884 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
11885
11886         * Makefile.in: Made cross building work better by adding
11887         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11888
11889 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11890
11891         * gdb.t15/{return.c,return.exp,Makefile.in}:
11892         New test, currently commented out.
11893
11894 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
11895
11896         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11897         still running and removes the leftover named socket so GDb can do
11898         clean restarts.
11899
11900 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
11901
11902         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11903         console, not GDB.
11904         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11905         cross testing works better with "make check"
11906         * config/unix-gdb: Use default procedures for exit and version.
11907         * config/vx-gdb.exp: Cleaned up and massaged back to working order
11908         with the newest VxWorks.
11909
11910 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11911
11912         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11913         old form.
11914
11915         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11916         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11917
11918         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11919
11920         * config/unix-gdb.exp: Remove this version of gdb_exit
11921         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11922         Rob says he'll look at it when he gets back to testing boards.
11923
11924 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
11925
11926         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
11927         an expected fail for certain ptype commands.
11928
11929         * gdb.t20/classes.exp:  Update expected results of "ptype class
11930         Base1" to account for the constructor that now appears in the type.
11931
11932 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
11933
11934         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
11935         disappeared from list.
11936         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
11937         "alldone" proc with call to cleanup and exit.
11938         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11939         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11940         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11941         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11942         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
11943         "alldone" proc with simple returns that suppress remaining
11944         tests.  The alldone proc went away many months ago.
11945
11946 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11947
11948         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11949
11950         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11951
11952 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11953
11954         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
11955         as vax gdb will display them.
11956
11957 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11958
11959         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11960         optimizers.
11961
11962         * scope.exp: Change "bad value for localval" messages so each one
11963         is unique.
11964
11965         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11966         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11967
11968         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11969
11970 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11971
11972         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11973         doesn't exist (due to optimization).
11974
11975 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
11976
11977         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11978         contains \r because the filename is long.
11979
11980         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11981         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11982
11983 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
11984
11985         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11986         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
11987         Ultrix.
11988         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
11989         int tests.
11990         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
11991
11992 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
11993
11994         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
11995
11996         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
11997         to match does not match the passing case but still matches the
11998         failing case.
11999
12000 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12001
12002         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12003
12004 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
12005
12006         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
12007         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12008         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12009         Remove various versions of gdb_exit.
12010         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
12011         gdb_exit.
12012         * config/unix-gdb.exp:  gdb_exit remains here, and should override
12013         the generic version, since it's doing a lot of wierd stuff that
12014         the other versions aren't.  FIXME, fold it in, or abandon this
12015         version.
12016
12017 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12018
12019         * gdb.t24/demangle.exp: Add tests for PR 3220.
12020
12021 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12022
12023         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12024
12025 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
12026
12027         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
12028         "i386-*-*".  Works for i486 as well.
12029
12030         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
12031         bug, and expand domain of xfail to all SVR4 systems, since the
12032         actual problem is likely to be in generic SVR4 /proc support.
12033
12034 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12035
12036         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12037
12038 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
12039
12040         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
12041         xfails for other systems.  Match a missing 'Continuing.' as an
12042         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12043
12044         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12045         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12046         Only issue warning for missing executables if -all option is used.
12047
12048         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
12049         file if -all option is used.  It's like an unpredictable XFAIL.
12050
12051 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12052
12053         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12054         for dynamically linked binaries.
12055
12056         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12057
12058 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12059
12060         * gdb.t20/inherit.exp: Change message for "print tagless struct"
12061         to state that this is a known bug in old versions of g++.
12062
12063 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12064
12065         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
12066         while waiting for `Continuing'.
12067
12068 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
12069
12070         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
12071         in text, data, and bss.
12072         * gdb.t10/nodebug.c:  Add local and global test variables for
12073         initialized and uninitialized data.
12074
12075 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12076
12077         * config/unix-gdb.exp (gdb_exit): Add "wait".
12078
12079 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12080
12081         * gdb.t06/signals.exp:  xfail the continue from the handler for all
12082         targets.
12083
12084         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
12085         function with watchpoints enabled, the i386 call dummy starts with
12086         a call.
12087
12088         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
12089         386 bsd names its corefiles.
12090
12091 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
12092
12093         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
12094         compilers don't grok it.
12095         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
12096         with small octal ints rather than character constants, which
12097         are signed and might not fit if first promoted to int.
12098
12099 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
12100
12101         * gdb.t09/Makefile.in (clean):  Remove corefile.
12102
12103 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12104
12105         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12106
12107 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12108                           and Jim Kingdon (kingdon@cygnus.com)
12109
12110         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12111         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
12112         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12113
12114 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12115
12116         * gdb.t17/interrupt.exp: Add xfail for hppa.
12117
12118 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12119
12120         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12121         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
12122         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
12123         to determine signed-ness of bitfields and use the result to setup
12124         the xfail.
12125         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
12126         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
12127         call line is reached if necessary.
12128
12129 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12130
12131         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12132
12133 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12134
12135         * gdb.t06/break.exp: Also test `clear' command.
12136
12137 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
12138
12139         * gdb.t00/teststrategy.exp: Remove extra quote.
12140
12141         * gdb.t07/watchpoint.exp: Change xfail for calling function with
12142         watchpoint enabled to be for all non-68k machines.
12143
12144         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12145
12146 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12147
12148         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12149         targets use aout.mt instead of ecoff.mt as gas understands
12150         standard aout format.
12151
12152 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
12153
12154         * lib/gdb.exp (runto): Don't insist that function we are running to
12155         was compiled with -g.
12156
12157         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12158
12159         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12160         to get back into the read system call.
12161         Accept leading newline in case where we woke it up.
12162
12163 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12164
12165         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
12166         to make the stabs test work on ecoff systems using gcc and -with-stabs.
12167         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
12168         enable ecoff configuration.
12169
12170 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12171
12172         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12173
12174 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12175
12176         * gdb.t16/printcmds.exp: Add another printf test.
12177
12178 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
12179
12180         * configure.in: If configured -with-stabs on any target, add
12181         stabsdirs to configdirs.
12182
12183 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12184
12185         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12186         fun" so pattern does not match the command itself.
12187
12188 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12189
12190         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12191
12192 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12193
12194         * gdb.t17/interrupt.exp: Test for more things.
12195
12196 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12197
12198         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12199         compiler arranges the code and line numbers.
12200
12201         * gdb.t17/interrupt.exp: Don't send \n after ^C.
12202
12203 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12204
12205         * gdb.t00/help.exp:  Increase expect input buffer size.
12206
12207 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12208
12209         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12210
12211         * gdb.t07/watchpoint.exp: Add xfail for hppa.
12212
12213         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12214
12215         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12216         [0-9]*, not just [0-9].
12217
12218 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12219
12220         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12221
12222         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12223
12224 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12225
12226         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12227
12228 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12229
12230         * gdb.t06/signals.c: Add xfails for sun3.
12231
12232         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12233
12234         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
12235         test_stepping tests.
12236
12237 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12238
12239         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12240
12241         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12242
12243         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12244         rather than actually putting it through cpp twice.
12245
12246         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12247
12248 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
12249
12250         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12251         no longer needed.
12252
12253 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12254
12255         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12256
12257         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12258         C++ features prints as "struct", make it a pass, not an xfail.
12259
12260 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12261
12262         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12263         Don't require VA to print as "class" rather than "struct".
12264
12265 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
12266
12267         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12268
12269 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12270
12271         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12272
12273 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12274
12275         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
12276         order.
12277
12278 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12279
12280         * gdb.t16/printcmds.exp: Add printf tests.
12281
12282         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12283
12284         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12285
12286 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
12287
12288         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
12289         pass counts, to counteract any existing or future setup_xfails.
12290
12291 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12292
12293         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12294         {BEGIN,END}_COMMON for common block instead of STAB.
12295         * gdb.stabs/wierd.exp: Add xfail for rs6000.
12296
12297         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12298         intp_var should be N_GSYM not N_LSYM.
12299         wierd-aout.S: Use a label for the value of the N_SO.
12300         wierd.def: Remove all backslashes.
12301         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12302
12303 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12304
12305         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12306         get the expected next to inheritance3.
12307
12308 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12309
12310         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12311         now that gcc-2.4 gets it right.
12312
12313 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12314
12315         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12316
12317         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12318         generating comp-info.exp which works for cross-compilation.
12319
12320 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
12321
12322         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
12323         "*-*-sysv4.*".
12324
12325 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
12326
12327         * gdb.t01/run.exp:  Start with a fresh gdb.
12328         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
12329         SVR4.x.
12330
12331 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
12332
12333         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12334         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12335         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12336         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
12337         things to remove.
12338
12339 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
12340
12341         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
12342         test cases from bug reports.
12343
12344 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
12345
12346         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
12347         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
12348           avoid spurious xfails.
12349         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
12350         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
12351         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
12352
12353 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
12354
12355         * gdb.t00/teststrategy.exp:  Rework to provide more useful
12356         description of each test, fix problem with systems that define
12357         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
12358         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
12359         results for "next over recursive call" so timeouts aren't taken
12360         by error.
12361
12362 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
12363
12364         * gdb.t12/scope.exp: Test printing of variables before run.
12365
12366         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12367         printed in wrong order due to sorting.
12368
12369 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
12370
12371         * gdb.t00/teststrategy.exp:  Fix expected results for printing
12372         user entered string constant.  Is array of char, prints with no
12373         address.
12374
12375         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
12376         commands.
12377         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
12378         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
12379         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
12380         of struct of char arrays.
12381         * gdb.t00/radix.exp:  New tests for radix commands.
12382
12383 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
12384
12385         * gdb.t16/printcmd.exp: Print a variable before running program
12386         (with xfail for AIX).
12387
12388 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
12389
12390         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12391
12392         * gdb.t16/printcmd.exp: Don't print variables before running program.
12393
12394         * gdb.t06/break.exp: Don't require envp argument to main.
12395
12396         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12397
12398         * gdb.t02/whatis.exp, gdb.t11/list.exp:
12399         Add xfails for rs6000.
12400
12401         * gdb.t02/whatis.exp: Change other tests not to re-test something
12402         we already tested.
12403
12404         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12405         each type used has a variable of that type.
12406
12407 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
12408
12409         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12410
12411 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
12412
12413         * configure.in: change srctrigger to be a file, not a directory
12414
12415 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
12416
12417         * configure.in (mips-idt-ecoff*): Added trailing '*'.
12418
12419         * gdb.t11/list.exp: Fixed a couple of typos.
12420
12421 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
12422
12423         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
12424         is fixed and PR is closed.
12425         * gdb.t16 (gdbme.c):  Add simple test string variable.
12426         * gdb.t16 (printcmds.exp):  Add tests with simple test string
12427         variable, primarily for boundaries on "set print elements".
12428
12429 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
12430
12431         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12432         Make leading 0's optional and don't expect a tab in the middle
12433         of the number.
12434
12435         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12436
12437         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12438         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
12439         don't end command passed to gdb_test with newline.
12440
12441         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12442         signed keyword away, don't expect signed bitfields to be signed.
12443
12444         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12445         printing with only as many 1's as are in the field as well as printing
12446         with 32 1's (see comment).
12447
12448 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
12449
12450         * gdb.t00/default.exp:  Start with a fresh gdb.
12451         * configure.in (configdirs):  Remove gdb.t31 until the chill
12452         compiler works again.  It no longer is able to find chillrt0
12453         since it isn't in libchill.a anymore.
12454         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
12455         wierd.o, make more modular.
12456         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
12457         spurious newlines that caused problems.
12458
12459 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12460
12461         * Move test with enums and partial symbols from gdb.t03/ptype.exp
12462         to gdb.stabs/wierd.exp since GCC has worked around the bug.
12463         gdb.stabs/wierd.{exp,def}: Many new tests.
12464
12465         * gdb.t00/default.exp: update info line for new message.
12466
12467         * gdb.t02/{whatis.exp,gdbme.c}:
12468         Test that "char *" doesn't print as "caddr_t".
12469
12470 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12471
12472         * gdb.t00/help.exp: Use .* in place of some help messages which
12473         just changed.
12474         gdb.t00/default.exp: Update "info frame" test for new message.
12475         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12476         Remove some xfails
12477
12478 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12479
12480         * gdb.t03/{gdbme.c,ptype.exp}:
12481         Add tests for typedef'd struct and union without tags.
12482         Also check "whatis" on a variable of a typedef'd enum without a tag.
12483
12484         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12485         PRMS 1823; the bug still exists but isn't reproduced by this test
12486         anymore), and remove rs6000 XFAIL (the bug is fixed).
12487
12488         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12489         duplicated from whatis.exp.  For those that are left, accept
12490         "long", "long int", or "int" for long variables (whatis.exp already
12491         has an XFAIL for "int", so no need to fail it here).
12492
12493         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12494         Deal with GCC's names for types now that GDB uses the compiler's names.
12495
12496         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
12497         setup_xfail's for sunos4.  If we #defined the signed keyword away,
12498         don't expect GDB to know that char it is signed.
12499
12500         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12501
12502 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
12503
12504         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
12505         should work on any system, regardless of debugging format.
12506         * gdb.t21/demangle.exp:  Move to gdb.t24.
12507         * gdb.t24/demangle.exp:  Move from gdb.t21.
12508         * gdb.t24/{Makefile.in, configure.in}:  New files.
12509
12510 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12511
12512         * configure.in: Do gdb.stabs and C++ tests only for stabs.
12513         * gdb.stabs: New directory.
12514
12515 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
12516
12517         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12518         not just "Quit anyway?".
12519
12520 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
12521
12522         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
12523         that all setup_xfails are immediately followed by clear_xfails.
12524
12525 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
12526
12527         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12528         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12529         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12530         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12531         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12532         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12533         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12534         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12535         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12536         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12537         gdb.t31/chillvars.exp, lib/gdb.exp:
12538         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12539         bug-gdb@prep.ai.mit.edu.
12540
12541 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
12542
12543         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
12544         with 0.0, not integer 0.
12545
12546 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
12547
12548         * gdb.t06/break.exp: Update for "Kill the program" message change.
12549
12550 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
12551
12552         * Makefile.in (GDBFLAGS):  Set to -nx.
12553         * Makefile.in (site.exp):  Use GDBFLAGS.
12554
12555 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
12556
12557         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12558           Makefiles.
12559           (check): depend on just-check.
12560           (just-check): added so that tests can be run without a noop
12561           build pass.
12562
12563 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
12564
12565         Switch to using configure's configdirs.
12566         * Makefile.in (Makefile): add configure.in dependency.
12567           (SUBDIRS): removed redundant assignment.
12568         * configure.in: switch subdirs assignment to configdirs.
12569         * gdb.t*/configure.in: new files.
12570
12571 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
12572
12573         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12574         works.
12575
12576 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
12577
12578         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
12579         in explicit rules.  Apparently this is not supported by some makes.
12580
12581 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
12582
12583         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
12584
12585 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12586
12587         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
12588         disappeared.
12589
12590 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
12591
12592         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
12593
12594 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
12595
12596         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
12597         watchpoint problem that is now fixed.
12598         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
12599         uninitialized convenience variables.
12600         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
12601         structures.
12602
12603 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12604
12605         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12606         which causes expect to get out of sync with gdb on long output
12607         from help set.
12608         * gdb.t09/corefile.exp: Make expected pattern for core file
12609         failing signal and frame output format less sun specific.
12610
12611 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
12612
12613         * gdb.t31/chillvars.exp:  Add and remove initial dummy
12614         breakpoint, so that symbol table is forced in.
12615         (Needed at least on Sunos4, though it seems not SVR4.)
12616         * gdb.t31/chillvars.exp:  Update for changed output format.
12617
12618 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
12619
12620         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12621
12622 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
12623
12624         * Makefile.in: Added --srcdir when invoking runtest, removed the
12625         need for a local config file. (optional now)
12626
12627 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
12628
12629         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
12630         failure count used to force early termination.  Add some more
12631         expected failures for gnu style demangling.
12632
12633 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12634
12635         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12636         pmi variable from gdb.t20/gdbme to get optimized away.
12637         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12638         Check for written corefile upon timeout _and_ eof.
12639
12640 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12641
12642         * config/unix-gdb.exp:  Add missing return 0.
12643
12644 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
12645
12646         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
12647         test termination.
12648
12649 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
12650
12651         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
12652         disappeared.
12653
12654 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
12655
12656         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
12657         time as i860 support works.
12658
12659         * gdb.t15/funcargs.exp:  Fix expected outputs to include
12660         "backtrace 100\r" rather than just "backtrace\r", to match last
12661         change.
12662
12663 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
12664
12665         * config/udi-gdb.exp (gdb_exit): Remove close command.
12666         (gdb_target_udi): New procedure to set the UDI target.
12667         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
12668         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12669         Added waits for prompts after several question responses.  Added
12670         some more responses used by a29k-amd-udi-gdb.
12671         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12672         pass different arguments, restart UDI connection after program
12673         completion.
12674         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12675         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12676         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12677         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12678         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12679         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12680         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12681         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12682         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12683         after program completion.
12684         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12685         compiled with a SELECT_VECS setting.
12686         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12687         infinite recursion.
12688
12689         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12690         Added checks for COFF results, and made them expected failures for
12691         all targets.  It would be better to make them expected failures
12692         for COFF targets only.
12693
12694 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
12695
12696         * Makefile.in: add null dvi target, don't bother to recurse
12697         through test directories for info and install-info; rename
12698         $(datadir) to be dejagnu instead of deja-gnu
12699
12700 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
12701
12702         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
12703         compiler to coredump.
12704         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
12705         code.
12706
12707 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
12708
12709         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
12710         coredump.
12711         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
12712         code.
12713
12714 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
12715
12716         * gdb.t03/ptype.exp: tests for return code from gdb_test.
12717         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12718         which in a shell. Deletes xgdb when done.
12719         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12720         Tests the return from the "set height" or "set width" commands.
12721         Added a few return codes where needed.
12722
12723 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
12724
12725         * Makefile.in (SUBDIRS):  Add gdb.t17.
12726         * configure.in (subdirs):  Add gdb.t17.
12727         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
12728         files to test gdb's calling of functions in the inferior with
12729         the correct arguments and gdb's ability to retrieve any
12730         result returned.
12731
12732 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
12733
12734         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
12735         may be called after gdb goes away.  Previous versions of expect
12736         needed these to avoid file descriptor leaks, but they cause
12737         errors with the current revision of expect.
12738         * gdb.t00/gdbvars.exp:  Use -re on expected output after
12739         setting sevenbit-strings.
12740         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
12741         to set sevenbit-strings consistent across tests.
12742         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
12743         set sevenbit-strings consistent across tests.
12744
12745 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
12746
12747         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
12748         expected output to match current "expect" expectations.
12749
12750 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
12751
12752         * gdb.t00/default.exp:  Change expected output for default "source"
12753         command, to match new gdb behavior which requires a filename to
12754         source.
12755
12756 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
12757
12758         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
12759         expected fail for i486-*-* that misses the marker2 function.
12760         * gdb.t10/crossload.exp (bfddefault):  Allow successful
12761         recognition of a format to pass even if no symbols are found.
12762         Explicitly catch failures where the format is not recognized
12763         or is ambiguous, and add the reason to the fail message.
12764         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
12765         the cause is and invalid target and add reason to failure message.
12766         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
12767         elf32-i386, elf32-sparc, and elf32-i860.
12768         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12769         Set up expected failure for 'filename'::variable scope resolution,
12770         which is now apparently broken on all targets.
12771         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12772         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12773         gdb.t23/templates.exp:   Change failure for missing binfile into
12774         just a warning.
12775         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
12776         references.
12777
12778 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
12779
12780         * gdb.t00/default.exp:  Add expected output for default "source"
12781         command, to match new gdb behavior.
12782         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
12783
12784 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
12785
12786         * config/*-gdb.exp: returns an error, rather than exiting on
12787         internal errors.
12788
12789 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
12790
12791         * gdb.t03/gdbme.c:  Add pointer to struct variable.
12792         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
12793         referencing struct members.
12794
12795 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
12796
12797         * configure.in (mips-idt-ecoff): New target.
12798         * config/mips-gdb.exp: New file for remote board using MIPS remote
12799         debugging protocol.
12800
12801         * Redid configuration scheme.  Removed gdb.t*/configure.in.
12802         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
12803         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
12804         distclean targets.  Built executables via .o files.  Adjusted
12805         tests to account for source files in $(srcdir) rather than
12806         $(objdir).
12807         * lib/gdb.exp (runto): Don't expect () after the function name,
12808         because it may have arguments.
12809
12810 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
12811
12812         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12813         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12814         expected failures for mips-idt-* and mips-sgi-*.
12815         * gdb.t00/default.exp (attach): Kill process if requested.
12816         * gdb.t00/help.exp (help target core, help target): Accept a gdb
12817         that does not read core files.
12818         * gdb.t01/run.exp: Removed checks for exit status code.
12819         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12820         it is linked in.
12821         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12822         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12823         appropriate, rather than doing it by hand.
12824         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12825         execution.
12826         * gdb.t10/crossload.exp: Kill existing program if needed.
12827         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12828         appropriate, rather than doing it by hand.  Always increase
12829         timeout for this test, not just for VxWorks.
12830
12831 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
12832
12833         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
12834         of Chill STRUCT types and STRUCT values.
12835         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
12836         than "char".
12837         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
12838         struct2):  New struct definitions and initializations to test
12839         simple Chill STRUCT types.
12840
12841 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
12842
12843         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
12844         the null byte at the end of strings.
12845         * gdb.t00/default.exp:  Make show version insensitive to copyright
12846         date.
12847         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
12848         to avoid dependencies on target char signedness.
12849         * gdb.t16/printcmds.exp:  Update expected results for explicitly
12850         unsigned char.
12851         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
12852         now work.
12853         * gdb.t21/demangle.exp:  Add many more patterns for template
12854         demangling, most of them being expected failures.
12855         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
12856         string we are matching for, to match on the whole string.
12857         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
12858         and fix a whole bunch that had incorrect expected output but were
12859         passing anyway because of the bug in "proc demangle".
12860         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
12861         type.
12862         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
12863
12864 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
12865
12866         * gdb/testsuite: made modifications to testcases, etc., to allow
12867         them to work properly  given the reorganization of deja-gnu and the
12868         relocation of the testcases from deja-gnu to a "tool" subdirectory.
12869
12870 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
12871
12872         * gdb/testsuite: Initial creation of gdb/testsuite.
12873         Migrated dejagnu testcases and support files for testing nm to
12874         gdb/testsuite from deja-gnu.  These files were moved "as is"
12875         with no modifications.  This migration is part of a major overhaul
12876         of dejagnu.  The modifications to these testcases, etc., which
12877         will allow them to work with the new version of dejagnu will be
12878         made in a future update.
12879
12880  For additional changes see gdb.mi/ChangeLog-1999-2003.
12881 \f
12882 ;; Local Variables:
12883 ;; mode: change-log
12884 ;; left-margin: 8
12885 ;; fill-column: 74
12886 ;; version-control: never
12887 ;; End:
12888
12889     Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
12890     2003, 2004 Free Software Foundation, Inc.
12891   Copying and distribution of this file, with or without modification,
12892   are permitted provided the copyright notice and this notice are preserved.