ChangeLog:
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
2
3         * gdb.base/info-proc.exp: Also run on remote targets.  Main
4         "info proc" command is now always present; whether target supports
5         actual info proc operation is detected when attempting to issue
6         the command.
7
8 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
9
10         * .gdbinit: Remove.
11
12 2012-01-19  Pedro Alves  <palves@redhat.com>
13
14         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
15         look at the funtions' returns.
16         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
17         (jprint.print(int, int)): Change return type to int.  Adjust.
18
19 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20
21         PR gdb/9538
22         * gdb.base/sepdebug.exp: New test.
23
24 2012-01-18  Pedro Alves  <palves@redhat.com>
25
26         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
27         Allow output before ^done.
28
29 2012-01-16  Tom Tromey  <tromey@redhat.com>
30
31         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
32         Add tests for relative directory.
33
34 2012-01-16  Tom Tromey  <tromey@redhat.com>
35
36         * gdb.base/printcmds.c (enum flag_enum): New.
37         (three): New global.
38         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
39         enum printing.
40         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
41         FlagEnumerationPrinter.
42         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
43         * gdb.python/py-pp-maint.c (enum flag_enum): New.
44         (fval): New global.
45
46 2012-01-16  Pedro Alves  <palves@redhat.com>
47
48         * lib/gdb.exp (banned_procedures): New variable.
49         (banned_variables_traced): Rename to ...
50         (banned_traced): ... this.
51         (gdb_init): Also trace banned procedures.
52         (gdb_finish): Also untrace banned procedures.
53
54 2012-01-16  Pedro Alves  <palves@redhat.com>
55
56         Remove all calls to strace.
57
58 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
59
60         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
61         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
62
63 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64
65         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
66         * gdb.base/pie-execl.exp: Likewise.
67
68 2012-01-12  Keith Seitz  <keiths@redhat.com>
69
70         PR mi/10586
71         * gdb.mi/var-cmd.c (struct anonymous): New structure.
72         (do_anonymous_type_tests): New function.
73         (main): Call do_anonymous_type_tests.
74         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
75         (verify_everything): New procedure.
76         * gdb.mi/mi-var-cp.cc (class A): New class.
77         (anonymous_structs_and_unions): New function.
78         (main): Call anonymous_structs_and_unions.
79         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
80         (verify_everything): New procedure.
81
82 2012-01-12  Keith Seitz  <keiths@redhat.com>
83
84         * lib/mi-support.exp: Expand comments about PATH_EXPR.
85         (varobj_tree::get_path_expr): Assume that all varobjs are
86         compound unless they are known simple types.
87         Adjust path expressions based on parent type, path parent type,
88         and tree language.
89         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
90         the root varobj.
91         (mi_walk_varobj_tree): Add LANGUAGE parameter.
92
93 2012-01-11  Pedro Alves  <palves@redhat.com>
94
95         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
96         core files on this machine" anymore.
97
98 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
99
100         * gdb.base/watchpoint.c (recurser): Initialize local_x.
101         (main): Repeat recurser call.
102         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
103         equivalent to 'local_x'.
104
105 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
106             Joel Brobecker <brobecker@adacore.com>
107
108         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
109
110 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
111
112         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
113         * gdb.python/py-events.c (first): Add bits for new "step N" test.
114         * gdb.python/py-events.exp: Test that "step N" tripping on a
115         breakpoint emits a breakpoint event.
116
117 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
118
119         * gdb.base/auxv.exp: Reformat the copyright notice.
120
121 2012-01-03  Yao Qi  <yao@codesourcery.com>
122
123         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
124         (strace_trace_on_diff_addr): New.
125         * gdb.trace/strace.c: (main): Add two local variables.
126
127 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
128
129         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
130         * gdb.cell/gcore.exp: Likewise.
131         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
132         to verify the correct instance of main is selected.
133
134 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
135
136         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
137         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
138         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
139         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
140         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
141         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
142         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
143         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
144         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
145         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
146         gdb.threads/thread_check.c: Reformat copyright header.
147
148 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
149
150         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
151         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
152         is not enabled.
153
154 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
155
156         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
157         parameter to self_exec, adjust the function.
158         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
159         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
160         (set var do_exit = 0): Remove test.
161         (newline at end of file): Add one.
162
163 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
164
165         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
166         New files.
167
168 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
169
170         Fix racy FAILs.
171         * gdb.threads/fork-thread-pending.c (barrier): New variable.
172         (thread_function, thread_forker): Call pthread_barrier_wait for it.
173         (main): Call pthread_barrier_init for it.
174
175 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
176
177         Fix double send_gdb leading to racy FAILs.
178         * gdb.base/break.exp (set silent break bp_location1): Replace
179         3x send_gdb and gdb_expect by gdb_test.
180         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
181         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
182         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
183         instead of send_gdb.  Twice.
184         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
185         3x send_gdb and gdb_expect by gdb_test.
186         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
187
188 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
189
190         * gdb.linespec/linespec.exp: Compile using {c++}.
191
192 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
193
194         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
195         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
196         (verify GCC PR debug/51668): New test.
197
198 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
199
200         Introduce gdb.FinishBreakpoint in Python.
201         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
202         py-finish-breakpoint2
203         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
204         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
205         instead of line number.
206         * gdb.python/py-finish-breakpoint.c: New file.
207         * gdb.python/py-finish-breakpoint.exp: New file.
208         * gdb.python/py-finish-breakpoint.py: New file.
209         * gdb.python/py-finish-breakpoint2.cc: New file.
210         * gdb.python/py-finish-breakpoint2.exp: New file.
211         * gdb.python/py-finish-breakpoint2.py: New file.
212
213 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
214
215         Partial fix of compatibility with gcc-4.7.
216         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
217         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
218         Add comment to add a PASS case in the future.
219
220         Fix compatibility with gcc-4.7.
221         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
222
223 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
224
225         PR tdep/12797
226         * gdb.base/callfuncs.exp: Remove KFAIL.
227
228 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
229
230         * gdb.ada/task_bp: New testcase.
231
232 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
233
234         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
235         -DNO_SECTIONS.
236         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
237
238 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
239
240         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
241         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
242         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
243         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
244         conditional for gcc <= 4.5.
245
246 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
247
248         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
249         by XFAIL.
250         * gdb.cp/static-method.exp (info addr A::func())
251         (list static-method.cc:xxx::(anonymous namespace)::A::func)
252         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
253         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
254         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
255         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
256         (test value of F in k3_m): Likewise.
257         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
258         Likewise.
259
260 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
261
262         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
263         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
264         Remove.
265         * gdb.threads/attachstop-mt.c: Remove.
266         * gdb.threads/attachstop-mt.exp: Remove.
267
268 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
269
270         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
271
272 2011-12-16  Doug Evans  <dje@google.com>
273
274         * boards/native-stdio-gdbserver.exp: New file.
275         * boards/native-gdbserver.exp: New file.
276
277         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
278         gdbserver output.
279         (gdbserver_default_get_remote_address): New function.
280         (gdbserver_start): Call gdb,get_remote_address to compute argument
281         to "target remote" command.
282
283 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
284
285         * gdb.python/py-function.exp: Change "on" to "full" for
286         python print-stack.  Add set/show python print-stack
287         off|full|message tests.
288
289 2011-12-15  Yao Qi  <yao@codesourcery.com>
290
291         * gdb.trace/strace.c: New
292         * gdb.trace/strace.exp: New.
293
294 2011-12-14  Tom Tromey  <tromey@redhat.com>
295
296         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
297
298 2011-12-14  Doug Evans  <dje@google.com>
299
300         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
301
302 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
303
304         PR threads/10729
305
306         * gdb.mi/watch-nonstop.c: New file.
307         * gdb.mi/mi-watch-nonstop.exp: New file.
308
309 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
310             Doug Evans  <dje@google.com>
311
312         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
313         (clean_restart): Remove references to the gdb_stub target board
314         variable.
315         (gdb_step_for_stub): Delete.
316
317         * gdb.base/annota1.exp: Remove all references to [target_info
318         exists gdb_stub], gdb_step_for_stub and usestubs.
319         * gdb.base/annota3.exp: Ditto.
320         * gdb.base/async.exp: Ditto.
321         * gdb.base/break.exp: Ditto.
322         * gdb.base/code-expr.exp: Ditto.
323         * gdb.base/commands.exp: Ditto.
324         * gdb.base/completion.exp: Ditto.
325         * gdb.base/condbreak.exp: Ditto.
326         * gdb.base/consecutive.exp: Ditto.
327         * gdb.base/cvexpr.exp: Ditto.
328         * gdb.base/define.exp: Ditto.
329         * gdb.base/display.exp: Ditto.
330         * gdb.base/ena-dis-br.exp: Ditto.
331         * gdb.base/environ.exp: Ditto.
332         * gdb.base/gnu-ifunc.exp: Ditto.
333         * gdb.base/maint.exp: Ditto.
334         * gdb.base/pending.exp: Ditto.
335         * gdb.base/sect-cmd.exp: Ditto.
336         * gdb.base/sepdebug.exp: Ditto.
337         * gdb.base/unload.exp: Ditto.
338         * gdb.base/watchpoint-solib.exp: Ditto.
339         * gdb.cp/annota2.exp: Ditto.
340         * gdb.cp/annota3.exp: Ditto.
341         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
342         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
343         * gdb.mi/mi-pending.exp: Ditto.
344         * gdb.trace/circ.exp: Ditto.
345         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
346         * gdb.base/list.exp: Ditto.
347
348         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
349         breakpoint function and all references to the usestubs macro.
350         * gdb.base/exprs.c: Ditto.
351         * gdb.base/freebpcmd.c: Ditto.
352         * gdb.base/bitfields.c: Ditto.
353         * gdb.base/bitfields2.c: Ditto.
354         * gdb.base/break.c: Ditto.
355         * gdb.base/call-sc.c: Ditto.
356         * gdb.base/call-signals.c: Ditto.
357         * gdb.base/callfuncs.c: Ditto.
358         * gdb.base/charset.c: Ditto.
359         * gdb.base/consecutive.c: Ditto.
360         * gdb.base/constvars.c: Ditto.
361         * gdb.base/funcargs.c: Ditto.
362         * gdb.base/int-type.c: Ditto.
363         * gdb.base/interrupt.c: Ditto.
364         * gdb.base/langs0.c: Ditto.
365         * gdb.base/list0.c: Ditto.
366         * gdb.base/mips_pro.c: Ditto.
367         * gdb.base/miscexprs.c: Ditto.
368         * gdb.base/nodebug.c: Ditto.
369         * gdb.base/opaque0.c: Ditto.
370         * gdb.base/pointers.c: Ditto.
371         * gdb.base/printcmds.c: Ditto.
372         * gdb.base/ptype.c: Ditto.
373         * gdb.base/recurse.c: Ditto.
374         * gdb.base/reread1.c: Ditto.
375         * gdb.base/reread2.c: Ditto.
376         * gdb.base/restore.c: Ditto.
377         * gdb.base/return.c: Ditto.
378         * gdb.base/run.c: Ditto.
379         * gdb.base/scope0.c: Ditto.
380         * gdb.base/sepdebug.c: Ditto.
381         * gdb.base/setshow.c: Ditto.
382         * gdb.base/setvar.c: Ditto.
383         * gdb.base/sigall.c: Ditto.
384         * gdb.base/signals.c: Ditto.
385         * gdb.base/structs.c: Ditto.
386         * gdb.base/structs2.c: Ditto.
387         * gdb.base/testenv.c: Ditto.
388         * gdb.base/twice.c: Ditto.
389         * gdb.base/unwindonsignal.c: Ditto.
390         * gdb.base/watchpoint.c: Ditto.
391         * gdb.base/watchpoints.c: Ditto.
392         * gdb.base/whatis.c: Ditto.
393         * gdb.cp/classes.cc: Ditto.
394         * gdb.cp/cplusfuncs.cc: Ditto.
395         * gdb.cp/derivation.cc: Ditto.
396         * gdb.cp/formatted-ref.cc: Ditto.
397         * gdb.cp/misc.cc: Ditto.
398         * gdb.cp/overload.cc: Ditto.
399         * gdb.cp/ovldbreak.cc: Ditto.
400         * gdb.cp/ref-params.cc: Ditto.
401         * gdb.cp/ref-types.cc: Ditto.
402         * gdb.cp/templates.cc: Ditto.
403         * gdb.cp/virtfunc.cc: Ditto.
404         * gdb.hp/gdb.aCC/run.c: Ditto.
405         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
406         * gdb.hp/gdb.compat/xdb0.c: Ditto.
407         * gdb.reverse/consecutive-reverse.c: Ditto.
408         * gdb.reverse/sigall-reverse.c: Ditto.
409         * gdb.reverse/until-reverse.c: Ditto.
410         * gdb.reverse/watch-reverse.c: Ditto.
411         * gdb.trace/actions.c: Ditto.
412         * gdb.trace/circ.c: Ditto.
413         * gdb.trace/collection.c: Ditto.
414
415 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
416
417         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
418         (func6, func7): New.
419         (main): Call func6 and func7.
420         * gdb.base/watchpoint.exp (test_wide_location_1)
421         (test_wide_location_2): New.
422         (top level): Re-enable hardware watchpoints if necessary.  Call
423         test_wide_location_1 and test_wide_location_2.
424
425 2011-12-11  Yao Qi  <yao@codesourcery.com>
426
427         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
428
429 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
430
431         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
432         expected output for unsupported case.
433
434 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
435
436         PR testsuite/12649
437         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
438         Protect gdb_test_multiple by final $gdb_prompt match.
439
440 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
441
442         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
443         New variable, new test.
444         (list static-method.cc:xxx::(anonymous namespace)::A::func)
445         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
446         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
447         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
448         them if HAVE_GCC_45682_FIXED is not set.
449
450 2011-12-10  Yao Qi  <yao@codesourcery.com>
451
452         * gdb.trace/status-stop.exp: New.
453         * gdb.trace/status-stop.c: New.
454
455 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
456
457         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
458         timeout.
459
460 2011-12-08  Tom Tromey  <tromey@redhat.com>
461
462         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
463         condition.
464
465 2011-12-07  Stan Shebs  <stan@codesourcery.com>
466
467         * gdb.trace/tfind.exp: Update for output changes.
468
469 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
470
471         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
472         throws "Cannot insert catchpoints in this configuration".
473         * gdb.ada/mi_catch_ex.exp: Likewise.
474
475 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
476
477         * gdb.base/break-always.exp: Test changing memory at addresses
478         with breakpoints inserted.
479
480 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
481
482         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
483         involving a fully qualified function name.
484
485 2011-12-06  Tom Tromey  <tromey@redhat.com>
486
487         * gdb.ada/homonym.exp: Add three breakpoint tests.
488
489 2011-12-06  Tom Tromey  <tromey@redhat.com>
490
491         * gdb.base/solib-weak.exp (do_test): Remove kfail.
492         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
493         * gdb.objc/objcdecode.exp: Update for output changes.
494         * gdb.linespec/linespec.exp: New file.
495         * gdb.linespec/lspec.cc: New file.
496         * gdb.linespec/lspec.h: New file.
497         * gdb.linespec/body.h: New file.
498         * gdb.linespec/base/two/thefile.cc: New file.
499         * gdb.linespec/base/one/thefile.cc: New file.
500         * gdb.linespec/Makefile.in: New file.
501         * gdb.cp/templates.exp (test_template_breakpoints): Update for
502         output changes.
503         * gdb.cp/re-set-overloaded.exp: Remove kfail.
504         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
505         makes one breakpoint.
506         * gdb.cp/method2.exp (test_break): Update for output changes.
507         * gdb.cp/mb-templates.exp: Update for output changes.
508         * gdb.cp/mb-inline.exp: Update for output changes.
509         * gdb.cp/mb-ctor.exp: Update for output changes.
510         * gdb.cp/ovsrch.exp: Use fully-qualified names.
511         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
512         has multiple matches.
513         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
514         error message change.
515         * gdb.base/list.exp (test_list_filename_and_number): Update for
516         error message change.
517         * gdb.base/break.exp: Disable pending breakpoints.  Update for
518         output changes.
519         * configure.ac: Add gdb.linespec.
520         * configure: Rebuild.
521         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
522
523 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
524
525         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
526         last_break register on s390*-*-* targets.
527
528 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
529
530         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
531         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
532         of parameter X in procedure Foo.
533
534 2011-12-05  Stan Shebs  <stan@codesourcery.com>
535
536         * gdb.trace/tfind.exp: Update help string matches.
537
538 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
539
540         * gdb.server/ext-run.exp (get process list): Accept also systemd
541         as PID 1.
542
543 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
544             Pedro Alves  <pedro@codesourcery.com>
545
546         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
547         starting GDB.
548         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
549         $use_gdb_stub.
550         * gdb.base/display.exp: Likewise.
551         * gdb.base/ending-run.exp: Likewise.
552         * gdb.base/list.exp (test_listsize): Likewise.
553         * gdb.base/setshow.exp: Likewise.
554         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
555         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
556         check by global $use_gdb_stub.
557         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
558         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
559         (default_gdb_init): Unset global $use_gdb_stub.
560         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
561         by global $use_gdb_stub.
562         * lib/gdbserver-support.exp: Extend comments for set_board_info
563         gdb_protocol and gdb,socketport.
564         (gdbserver_start_extended): Set global gdbserver_protocol and
565         gdbserver_gdbport.  Clear global use_gdb_stub.
566         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
567         from target use_gdb_stub.
568         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
569
570 2011-12-03  Doug Evans  <dje@google.com>
571
572         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
573         (gdb_step_for_stub): Add comments.
574
575 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
576
577         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
578         to the caller.
579         (gdb_test_multiple): Likewise.
580
581 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
582
583         Fix gdb.mi/mi-solib.exp without system debug info installed.
584         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
585         expect attribute, return 0 for it.  Update comments.
586
587 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
588
589         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
590         (corrupted list): Adjust the expectation.
591
592 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
593
594         PR threads/13448
595         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
596         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
597         * gdb.threads/tls-var-main.c: New file.
598         * gdb.threads/tls-var.c: New file.
599         * gdb.threads/tls-var.exp: New file.
600
601 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
602
603         PR testsuite/12649
604         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
605         Protect gdb_test_multiple by final $gdb_prompt match.
606         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
607         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
608         (test_tracepoints): Likewise.
609
610 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
611
612         PR breakpoints/13346
613         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
614         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
615         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
616
617 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
618
619         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
620         * gdb.ada/homonym/homonym.adb: For use of all types defined
621         locally inside both Get_Value subprograms.
622
623 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
624
625         Fix racy FAILs.
626         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
627         of send_gdb.
628
629 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
630
631         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
632         environment variable after test completed.
633
634 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
635
636         * gdb.base/solib-nodir.exp: Skip if remote target.
637         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
638         application.  Call gdb_load_shlibs.
639         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
640
641 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
642
643         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
644
645 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
646
647         * gdb.ada/fullname_bp: New testcase.
648
649 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
650
651         PR testsuite/12649
652         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
653         Wrap send_gdb into a new gdb_test.
654
655         Code cleanup.
656         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
657         Convert send_gdb and gdb_expect to gdb_test_multiple.
658
659 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
660
661         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
662
663 2011-11-23  Keith Seitz  <keiths@redhat.com>
664
665         * lib/mi-support.exp (varobj_tree): New namespace and procs.
666         (mi_varobj_tree_test_children_callback): New proc.
667         (mi_walk_varobj_tree): New proc.
668
669 2011-11-22  Tom Tromey  <tromey@redhat.com>
670
671         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
672         Add "use_mi_command" argument.
673         (mi_run_cmd, mi_run_with_cli): New procs.
674         * gdb.mi/solib-lib.c: New file.
675         * gdb.mi/solib-main.c: New file.
676         * gdb.mi/mi-solib.exp: New file.
677
678 2011-11-21  Doug Evans  <dje@google.com>
679
680         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
681         _Unwind_DebugHook is missing.
682
683 2011-11-20  Stan Shebs  <stan@codesourcery.com>
684
685         * gdb.trace/tstatus.exp: New.
686         * gdb.trace/actions.c: Include string.h.
687
688 2011-11-18  Yao Qi  <yao@codesourcery.com>
689
690         * gdb.trace/pending.exp: New.
691         * gdb.trace/pending.c: New.
692         * gdb.trace/pendshr1.c: New.
693         * gdb.trace/pendshr2.c: New.
694         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
695         tracepoint location becomes pending.
696         (tracepoint_change_loc_2): New.
697
698 2011-11-16  David S. Miller  <davem@davemloft.net>
699
700         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
701         target is sparc*-*-linux*
702
703 2011-11-15  Paul Koning  <paul_koning@dell.com>
704
705         * gdb.python/py-type.exp: New testcases for exceptions on scalar
706         types.
707
708 2011-11-14  Doug Evans  <dje@google.com>
709
710         * gdb.base/shell.exp: New file.
711
712 2011-11-14  Stan Shebs  <stan@codesourcery.com>
713
714         * gdb.trace/ftrace.c: New.
715         * gdb.trace/ftrace.exp: New.
716
717 2011-11-14  Yao Qi  <yao@codesourcery.com>
718
719         * gdb.trace/change-loc-1.c: New.
720         * gdb.trace/change-loc-2.c: New.
721         * gdb.trace/change-loc.c: New.
722         * gdb.trace/change-loc.exp:  New.
723         * gdb.trace/change-loc.h:  New.
724         * gdb.trace/trace-break.c (marker): Define new symbol.
725         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
726         New.
727         (break_trace_same_addr_6): New.
728
729 2011-11-12  Matt Rice  <ratmice@gmail.com>
730
731         * gdb.base/info-macros.exp: Make tests for info definitions
732         test info macro.  Add tests for info macro argument processing.
733         Rename a few tests.
734
735 2011-11-11  Keith Seitz  <keiths@redhat.com>
736
737         PR gdb/12843
738         * gdb.base/linespecs.exp: New file.
739
740 2011-11-11  Doug Evans  <dje@google.com>
741
742         * gdb.threads/print-threads.exp: Extend timeout for slower
743         tests.
744
745 2011-11-10  Doug Evans  <dje@google.com>
746
747         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
748         "record to end of main" test.
749
750         * gdb.python/py-type.c (TS): New typedef.
751         (ts): New global.
752         * gdb.python/py-type.exp: Test field list of typedef.
753
754 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
755
756         * gdb.ada/small_reg_param: New testcase.
757
758 2011-11-09  Tom Tromey  <tromey@redhat.com>
759
760         * gdb.cp/destrprint.exp: New file.
761         * gdb.cp/destrprint.cc: New file.
762
763 2011-11-08  Meador Inge  <meadori@codesourcery.com>
764
765         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
766         (switch_stack_to_other): New test function.
767         * gdb.arch/thumb-prologue.exp: New test cases.
768
769 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
770
771         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
772
773 2011-11-08  Yao Qi  <yao@codesourcery.com>
774
775         * gdb.exp (supports_process_record): New.
776         (supports_reverse): New.
777         * gdb.reverse/break-precsave.exp: Call support_process_record
778         to run test conditionally.
779         * gdb.reverse/consecutive-precsave.exp: Likewise.
780         * gdb.reverse/i386-precsave.exp: Likewise.
781         * gdb.reverse/machinestate-precsave.exp: Likewise.
782         * gdb.reverse/solib-precsave.exp: Likewise.
783         * gdb.reverse/step-precsave.exp: Likewise.
784         * gdb.reverse/until-precsave.exp: Likewise.
785         * gdb.reverse/watch-precsave.exp: Likewise.
786         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
787         test conditionally.
788         * gdb.reverse/consecutive-reverse.exp: Likewise.
789         * gdb.reverse/finish-precsave.exp: Likewise.
790         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
791         * gdb.reverse/finish-reverse.exp: Likewise.
792         * gdb.reverse/i386-reverse.exp: Likewise.
793         * gdb.reverse/i386-sse-reverse.exp: Likewise.
794         * gdb.reverse/machinestate.exp: Likewise.
795         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
796         * gdb.reverse/sigall-precsave.exp: Likewise.
797         * gdb.reverse/sigall-reverse.exp: Likewise.
798         * gdb.reverse/solib-reverse.exp: Likewise.
799         * gdb.reverse/step-reverse.exp: Likewise.
800         * gdb.reverse/until-reverse.exp: Likewise.
801         * gdb.reverse/watch-reverse.exp: Likewise.
802
803 2011-11-05  Yao Qi  <yao@codesourcery.com>
804
805         * gdb.trace/trace-break.exp: Add test on setting two
806         fast tracepoints at the same address.
807
808 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
809
810         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
811
812 2011-11-02  Stan Shebs  <stan@codesourcery.com>
813
814         * gdb.trace/collection.c: Add code using strings.
815         * gdb.trace/collection.exp: Add tests of string collection.
816
817 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
818
819         * gdb.base/skip-solib.exp (executable_main): New variable.
820         (binfile_main): Base it on that.
821         Use $executable_main in clean_restart calls.  Drop gdb_exit and
822         gdb_start calls.
823
824 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
825
826         Fix racy FAILs.
827         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
828         breakpoint_re globals import by async.  Set string_regex to .* for
829         async.  Remove the optional thread_selected_re and breakpoint_re
830         globals expectations.
831
832 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
833
834         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
835         well as Cygwin.
836
837 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
838
839         Add tests for skip command.
840         * gdb.base/skip-solib-lib.c: New
841         * gdb.base/skip-solib-main.c: New
842         * gdb.base/skip-solib.exp: New
843         * gdb.base/skip.c: New
844         * gdb.base/skip.exp: New
845         * gdb.base/skip1.c: New
846         * gdb.base/Makefile.in: Adding new files.
847
848 2011-10-31  Yao Qi  <yao@codesourcery.com>
849             Pedro Alves  <pedro@codesourcery.com>
850
851         * gdb.trace/trace-break.c: New.
852         * gdb.trace/trace-break.exp: New.
853
854 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
855
856         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
857         break-here-2.
858
859 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
860
861         * gdb.threads/no-unwaited-for-left.c: New.
862         * gdb.threads/no-unwaited-for-left.exp: New.
863         * gdb.threads/non-ldr-exc-1.c: New.
864         * gdb.threads/non-ldr-exc-1.exp: New.
865         * gdb.threads/non-ldr-exc-2.c: New.
866         * gdb.threads/non-ldr-exc-2.exp: New.
867         * gdb.threads/non-ldr-exc-3.c: New.
868         * gdb.threads/non-ldr-exc-3.exp: New.
869         * gdb.threads/non-ldr-exc-4.c: New.
870         * gdb.threads/non-ldr-exc-4.exp: New.
871
872 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
873
874         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
875         * gdb.base/attach-pie-misread.exp: Likewise.
876         * gdb.base/break-interp.exp: Likewise.
877         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
878         testcases for use_gdb_stub.
879         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
880         (continue): New testcase.
881         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
882         * gdb.threads/attach-into-signal.exp: Likewise.
883         * gdb.threads/attach-stopped.exp: Likewise.
884         * gdb.threads/attachstop-mt.exp: Likewise.
885
886 2011-10-28  Paul Koning  <paul_koning@dell.com>
887
888         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
889
890 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
891
892         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
893         (mi_gdb_test): Import globals thread_selected_re
894         and breakpoint_re.  Expect them optionally at the regex start.
895
896 2011-10-27  Doug Evans  <dje@google.com>
897
898         * gdb.python/python.exp: Test source -s.
899
900 2011-10-26  Paul Koning  <paul_koning@dell.com>
901
902         * gdb.python/lib-types.cc (struct A): New structure.
903         * gdb.python/lib-types.exp (deepitems): New tests.
904
905 2011-10-25  Paul Koning  <paul_koning@dell.com>
906
907         PR python/13327
908
909         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
910         fetch_lazy method.
911
912 2011-10-24  Yao Qi  <yao@codesourcery.com>
913
914         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
915         target is tic6x-*-*.
916
917 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
918
919         * gdb.ada/mi_task_info/task_switch.adb: New file.
920         * gdb.ada/mi_task_info.exp: New file.
921
922 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
923
924         * gdb.cp/expand-psymtabs-cxx.exp: New file.
925         * gdb.cp/expand-psymtabs-cxx.cc: New file.
926
927 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
928
929         PR python/12656
930
931         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
932         global_block tests.
933
934 2011-10-18  Tom Tromey  <tromey@redhat.com>
935
936         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
937
938 2011-10-18  Tom Tromey  <tromey@redhat.com>
939
940         * gdb.base/source.exp: Don't include full file name in test name.
941         * gdb.python/python.exp: Don't include full file name in test
942         name.
943
944 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
945
946         * gdb.base/attach-pie-noexec.c: New files.
947         * gdb.base/attach-pie-noexec.exp: New files.
948
949 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
950
951         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
952         prompt for each extra line in command.
953
954 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
955
956         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
957         Revert the part of:
958         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
959         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
960         Change the expected string.
961
962 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
963
964         Fix results with system glibc debug info installed.
965         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
966         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
967         Accept also __libc_ symbol prefix and no prefix.
968
969 2011-10-14  Keith Seitz  <keiths@redhat.com>
970
971         PR c++/13225
972         * gdb.cp/converts.cc (foo3_1): New function.
973         (foo3_2): New functions.
974         * gdb.cp/converts.exp: Add tests for int to pointer conversion
975         and null pointer conversions of integer constant zero.
976         Add test to check if all arguments are checked for incompatible
977         conversion BADNESS.
978
979 2011-10-14  Tom Tromey  <tromey@redhat.com>
980
981         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
982         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
983         linespec.
984
985 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
986
987         Fix internal error regression.
988         * gdb.dwarf2/implptr-optimized-out.S: New file.
989         * gdb.dwarf2/implptr-optimized-out.exp: New file.
990
991 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
992
993         Fix empty DWARF expressions DATA vs. SIZE conditionals.
994         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
995         (loclist): New.
996         (4): New abbrev.
997         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
998         Use prepare_for_testing, remove clean_restart.
999         (p arraynoloc, p arraycallnoloc): New tests.
1000
1001 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1002
1003         * gdb.cp/namespace-enum.exp (executable): New variable.
1004         (binfile): Use ${objdir}/${subdir}/ prefix.
1005         Use ${executable} for clean_restart.
1006
1007 2011-10-11  Sterling Augustine  <saugustine@google.com>
1008
1009         * gdb.cp/Makefile.in: Add namespace-enum test.
1010         * gdb.cp/namespace-enum.exp: New file.
1011         * gdb.cp/namespace-enum.c: New file.
1012         * gdb.cp/namespace-enum-main.c: New file.
1013
1014 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
1015
1016         * gdb.python/py-shared.exp: Relax filename check to handle remote:
1017         sysroot.
1018
1019 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1020
1021         Reimplement @entry in input expressions.
1022         * gdb.base/exprs.c (v_int_array_init): New variable.
1023         * gdb.base/exprs.exp (print v_int_array_init)
1024         (print *v_int_array_init@1, print *v_int_array_init@2)
1025         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1026         (print v_int_array_init[1]@1): New tests.
1027
1028 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
1029
1030         * gdb.cp/gdb2495.exp: Do not include directories in filename in
1031         expected message.
1032
1033 2011-10-09  Doug Evans  <dje@google.com>
1034
1035         * gdb.base/alias.exp: Add tests for alias command.
1036
1037 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1038
1039         * gdb.arch/amd64-entry-value.s: New file.
1040         * gdb.mi/mi2-amd64-entry-value.s: New file.
1041
1042 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1043
1044         Display @entry parameter values even for references.
1045         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1046         functions.
1047         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
1048         reference and datap_input.
1049         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1050         breakpoints.
1051         (continue to breakpoint: entry_reference: reference)
1052         (entry_reference: bt at entry)
1053         (continue to breakpoint: entry_reference: breakhere_reference)
1054         (entry_reference: bt, entry_reference: ptype regparam)
1055         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1056         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1057         (entry_reference: p regcopy, entry_reference: p nodataparam)
1058         (entry_reference: p nodataparam@entry): New tests.
1059
1060 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1061
1062         Support @entry in input expressions.
1063         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1064         (entry_stack: p s1@entry, entry_stack: p s2@entry)
1065         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1066         (tailcall: p j@entry): New tests.
1067         * gdb.cp/koenig.cc (A::entry): New function.
1068         (main): Call it.
1069         * gdb.cp/koenig.exp (p entry (c)): New test.
1070
1071 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1072
1073         Display @entry parameter values (without references).
1074         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1075         (different, validity, invalid): New functions.
1076         (main): Call them.
1077         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1078         stacktest, breakhere_stacktest, different, breakhere_different,
1079         breakhere_validity and breakhere_invalid.
1080         (entry: bt): Update for @entry.
1081         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1082         (entry_validity: *, entry_invalid: *): Many new tests.
1083         * gdb.base/break.exp
1084         (run until breakpoint set at small function, optimized file): Accept
1085         also the @entry suffix.
1086         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1087         * gdb.mi/mi2-amd64-entry-value.c: New files.
1088         * gdb.mi/mi2-amd64-entry-value.exp: New files.
1089
1090 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1091
1092         Protect entry values against self tail calls.
1093         * gdb.arch/amd64-entry-value.cc (self2, self): New.
1094         (main): Call self.
1095         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1096         (set debug entry-values 1, self: bt debug entry-values): New tests.
1097
1098 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1099
1100         Recognize virtual tail call frames.
1101         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1102         (amb_b, amb_a): New.
1103         (main): Call a and b.
1104         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1105         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1106         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1107         New tests.
1108
1109 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1110
1111         Implement basic support for DW_TAG_GNU_call_site.
1112         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1113         * gdb.arch/amd64-entry-value.cc: New file.
1114         * gdb.arch/amd64-entry-value.exp: New file.
1115
1116 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1117
1118         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1119         * gdb.dwarf2/implptr-64bit.S: New file.
1120         * gdb.dwarf2/implptr-64bit.exp: New file.
1121
1122 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1123
1124         Fix initial language detection with -readnow.
1125         * gdb.cp/readnow-language.cc: New file.
1126         * gdb.cp/readnow-language.exp: New file.
1127
1128 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1129
1130         Fix printed anonymous struct name.
1131         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1132
1133 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
1134
1135         * gdb.base/solib-symbol.exp: Do not include directories in
1136         filenames in expected messages.
1137
1138 2011-10-07  Doug Evans  <dje@google.com>
1139
1140         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1141
1142 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
1143
1144         Allow Python notification of new object-file loadings.
1145         * gdb.python/py-events.exp: Test newobjfile event.
1146         * gdb.python/py-events.py: Register newobjfile callback.
1147         * gdb.python/py-events.c: Add call to shared library
1148         * gdb.python/py-events-shlib.c: New file.
1149
1150 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
1151
1152         * gdb.base/fixsection.exp: Do not include directories in filename
1153         in expected message.
1154
1155 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
1156
1157         Add tests for passing of environment variables to inferior.
1158         * gdb.base/testenv.c: New test source.
1159         * gdb.base/testenv.exp: New expect test.
1160
1161 2011-10-04  Paul Koning  <paul_koning@dell.com>
1162
1163         * gdb.python/py-value.c (main): Break before return.
1164
1165 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
1166
1167         PR python/12691: Add the inferior to Python exited event
1168         * gdb.python/py-events.exp: Test the inferior attribute of exited
1169         event with a fork.
1170         * gdb.python/py-events.py: Print inferior number on exit.
1171         * gdb.python/py-events.c: Fork the inferior.
1172
1173 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1174
1175         * gdb.base/jit.exp: Add testcase name to log message
1176
1177 2011-10-03  Paul Koning  <paul_koning@dell.com>
1178             Jan Kratochvil  <jan.kratochvil@redhat.com>
1179
1180         * gdb.python/py-value.exp
1181         (python inval = gdb.parse_and_eval('*(int*)0'))
1182         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1183         (set argc=2, python print argc_lazy): New tests.
1184
1185 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
1186
1187         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1188
1189 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1190             Pedro Alves  <pedro@codesourcery.com>
1191
1192         * gdb.python/py-value.exp (test_value_in_inferior): New variable
1193         can_read_0, test for it.
1194         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1195         (parse_and_eval with memory error): ... here, make it untested if
1196         can_read_0.
1197
1198 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
1199
1200         * gdb.python/python.exp (verify pagination beforehand)
1201         (verify pagination afterwards): Fix race by splitting the line.
1202
1203 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
1204
1205         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1206         for 64-bit multilibs from i?86-* targets.
1207
1208 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
1209
1210         * lib/gdb.exp: Fix a typo in one of the comments.
1211
1212 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
1213
1214         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1215         matching pattern.
1216
1217 2011-09-28  Paul Koning  <paul_koning@dell.com>
1218
1219         * gdb.python/py-type.c (enum E): New.
1220         * gdb.python/py-type.exp (test_fields): Add tests for Python
1221         mapping access to fields.
1222         (test_enums): New test for field access on enums.
1223
1224 2011-09-27  Stan Shebs  <stan@codesourcery.com>
1225
1226         * gdb.trace/collection.exp: Test collection of $_ret.
1227
1228 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
1229
1230         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1231         list of compilation switches for <*-*-freebsd*>.
1232
1233 2011-09-19  Stan Shebs  <stan@codesourcery.com>
1234
1235         * gdb.trace/tspeed.exp: New file.
1236         * gdb.trace/tspeed.c: New file.
1237
1238 2011-09-18  Yao Qi  <yao@codesourcery.com>
1239
1240         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1241         instructions.
1242         (test_adr_32bit, test_pop_pc): Likewise.
1243         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1244         Thumb instructions.
1245         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1246         in gdb_test_multiple.
1247         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1248
1249 2011-09-17  Yao Qi  <yao@codesourcery.com>
1250
1251         * lib/gdb.exp (can_single_step_to_signal_handler): New.
1252         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
1253         support single step to signal handler.
1254
1255 2011-09-17  Yao Qi  <yao@codesourcery.com>
1256
1257         * gdb.base/disp-step-fork.c: New.
1258         * gdb.base/disp-step-syscall.exp: New.
1259         * gdb.base/disp-step-vfork.c: New.
1260
1261 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
1262
1263         * gdb.ada/tasks.exp: Make the expected output for
1264         the `info tasks' tests more resilient to spacing
1265         changes.
1266
1267 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1268
1269         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1270         (reached breakpoint 2, reached breakpoint 3): Update expected output.
1271
1272 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
1273
1274         PR Python/12692 Add gdb.selected_inferior() to Python interface.
1275         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1276
1277 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
1278
1279         Handle multiple breakpoint hits in Python interface:
1280         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1281         presence.
1282         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1283         breakpoint hits.
1284
1285 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
1286             Jan Kratochvil  <jan.kratochvil@redhat.com>
1287
1288         * gdb.python/py-events.exp: Remove pretty printing comment.
1289         * gdb.python/py-evsignal.exp: New file.
1290         * gdb.python/py-evthreads.c: Include signal.h.
1291         (thread3): Remove variable count3.  Remove variable bad and use raise
1292         instead.
1293         (thread2): Remove variable count2.  Move thread3 pthread_create here,
1294         merge pthread_join to a single line.
1295         (main): Remove variable count1.  Merge pthread_join with pthread_create
1296         to a single line.
1297         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
1298         KFAIL python/12966 for gdbserver.  Test return value of
1299         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
1300         gdb_expect by gdb_test and gdb_test_multiple.
1301         (thread 2, thread 3): New tests.
1302
1303 2011-09-12  Matt Rice  <ratmice@gmail.com>
1304             Pedro Alves  <pedro@codesourcery.com>
1305
1306         PR gdb/13175
1307
1308         * gdb.base/interp.exp: New tests.
1309         * gdb.base/interp.c: New file.
1310
1311 2011-09-12  Doug Evans  <dje@google.com>
1312
1313         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1314         * gdb.dwarf2/typeddwarf.exp: Ditto.
1315
1316 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1317
1318         Fix compatibility with x32 arch.
1319         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1320         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1321         is_x86_like_target.
1322         * testsuite/gdb.trace/collection.exp: Likewise.
1323         * testsuite/gdb.trace/report.exp: Likewise.
1324         * testsuite/gdb.trace/unavailable.exp: Likewise.
1325         * testsuite/gdb.trace/while-dyn.exp: Likewise.
1326         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1327         (is_x86_like_target): Check also is_amd64_regs_target.
1328
1329 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1330
1331         PR breakpoints/12435
1332         * gdb.arch/amd64-prologue-xmm.c: New file.
1333         * gdb.arch/amd64-prologue-xmm.exp: New file.
1334         * gdb.arch/amd64-prologue-xmm.s: New file.
1335
1336 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1337
1338         * gdb.dwarf2/dw2-param-error-main.c: New file.
1339         * gdb.dwarf2/dw2-param-error.S: New file.
1340         * gdb.dwarf2/dw2-param-error.exp: New file.
1341
1342 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
1343
1344         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1345         inferior's pid and look for a core dump named core.$pid.  Use
1346         `remote_file' commands on the host instead of hand coding shell
1347         commands on the build.
1348         * gdb.base/valgrind-db-attach.exp: Kill the program before
1349         finishing the test.
1350
1351 2011-09-02  Matt Rice  <ratmice@gmail.com>
1352
1353         * lib/prompt.exp: New file for testing the first prompt.
1354         * gdb.python/py-prompt.exp: Ditto.
1355         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1356
1357 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
1358
1359         * gdb.threads/gcore-thread.exp: Set the global core_supported to
1360         0, before testing gcore.
1361
1362 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1363
1364         * dw2-ifort-parameter-debug.S: Update copyright year.
1365         * dw2-ifort-parameter.c: Update copyright year.
1366         * dw2-ifort-parameter.exp: Update copyright year.
1367
1368         * dw2-ifort-parameter-debug.S: New file.
1369         * dw2-ifort-parameter.c: New file.
1370         * dw2-ifort-parameter.exp: New file.
1371
1372 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1373
1374         * gdb.base/commands.exp (error_clears_commands_left): New function.
1375         (): Call it.
1376
1377 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1378
1379         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1380         (C): Initialize `a'.
1381         * gdb.mi/mi-inheritance-syntax-error.exp
1382         (-data-evaluate-expression $path):  Expect `a' as 5.
1383
1384 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
1385
1386         PR mi/11912
1387         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1388         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1389         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1390         keyword in output of -var-info-path-expression.
1391
1392 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1393
1394         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1395         * gdb.trace/collection.exp: Likewise.
1396         * gdb.trace/report.exp: Likewise.
1397         * gdb.trace/unavailable.exp: Likewise.
1398         * gdb.trace/while-dyn.exp: Likewise.
1399
1400 2011-08-18  Keith Seitz  <keiths@redhat.com>
1401
1402         PR c++/12266
1403         * gdb.cp/meth-typedefs.cc: New file.
1404         * gdb.cp/meth-typedefs.exp: New file.
1405
1406 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
1407
1408         * gdb.python/python.exp: Add extended-prompt tests.
1409
1410 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1411
1412         * gdb.arch/i386-dr3-watch.exp
1413         (watchpoint on gap1 does not fit debug registers)
1414         (delete all watchpoints): Fix racy expect strings.
1415
1416 2011-08-14  Yao Qi  <yao@codesourcery.com>
1417
1418         * gdb.base/maint.exp: set data_section to ".neardata".
1419         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1420         * gdb.base/savedregs.exp: Handle SIGILL.
1421         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1422         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1423
1424 2011-08-12  Doug Evans  <dje@google.com>
1425
1426         * gdb.python/py-symbol.exp: Add test for symbol.type.
1427
1428 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
1429
1430         * gdb.threads/pthreads.exp: Enable on non-native configurations.
1431         * gdb.mi/mi-pthreads.exp: Likewise.
1432         * gdb.mi/mi2-pthreads.exp: Likewise.
1433         * gdb.mi/gdb669.exp.exp: Likewise.
1434
1435 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1436
1437         * lib/mi-support.exp (detect_async): Rename to...
1438         (mi_detect_async): ... this.
1439         * gdb.mi/mi-nonstop-exit.exp: Adjust.
1440         * gdb.mi/mi-nonstop.exp: Adjust.
1441         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1442         * gdb.mi/mi-nsintrall.exp: Adjust.
1443         * gdb.mi/mi-nsmoribund.exp: Adjust.
1444         * gdb.mi/mi-nsthrexec.exp: Adjust.
1445
1446 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1447
1448         * gdb.base/display.c (do_loops): New `p_i' local.
1449         * gdb.base/display.exp: Test displaying a variable that is
1450         temporarily at a bad address.
1451
1452 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1453
1454         * gdb.dwarf2/dw2-op-stack-value.S: New file.
1455         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1456
1457 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1458
1459         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1460         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1461         (p fuNC_symtab): Permit also ppc64 leading dot.
1462
1463 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
1464
1465         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1466         procedure.
1467         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1468
1469 2011-08-05  Yao Qi  <yao@codesourcery.com>
1470
1471         * gdb.base/callfuncs.exp: Set language after main.
1472         * gdb.cp/cplusfuncs.exp: Likewise.
1473         * gdb.cp/inherit.exp: Likewise.
1474
1475 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1476
1477         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1478         * gdb.base/watch-vfork.exp: Skip on remote targets.
1479
1480 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1481
1482         * gdb.threads/thread-find.exp: Support remote targets.
1483
1484 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1485
1486         * gdb.base/jit.exp: Download solib_binfile to target.
1487         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
1488         and call dlopen without full path name.
1489         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1490         dlopen without full path name.
1491
1492 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1493
1494         * gdb.base/break-always.exp: Complete the test
1495         with duplicated breakpoints and enabling/disabling them.
1496
1497 2011-08-02  Tom Tromey  <tromey@redhat.com>
1498
1499         PR gdb/11289:
1500         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
1501
1502 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1503
1504         PR gdb/13045
1505         * gdb.base/float.exp: Add new test case for PR gdb/13045
1506         * gdb.base/float.c: New file.
1507
1508 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
1509
1510         * gdb.python/py-mi.exp: Test printers returning string hint, and
1511         also not returning a value.
1512         * gdb.python/py-prettyprint.c: Add testcase for above.
1513         * gdb.python/py-prettyprint.py: Add test printer for above.
1514
1515 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1516
1517         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1518         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1519         (.Ldie30) Add as field "data4".
1520         (.Ldie32) Rename field "b" to "shl".
1521         (abbrev4) Change for the "data4" field.
1522         (abbrev5, abbrev6) Remove.
1523         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1524         (p &s.shl): ... here.  Add comment.
1525         (p &s.data4): New.
1526
1527 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1528
1529         Fix crash on lval_computed values.
1530         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1531
1532 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1533
1534         * gdb.base/help.exp (help whatis): Update the expected string.
1535
1536 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1537
1538         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1539         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1540         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1541         Change the expected string.
1542
1543 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
1544
1545         * gdb.base/watchpoint.exp
1546         (test_disable_enable_software_watchpoint): New procedure.
1547         (top level): Run it.
1548
1549 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
1550
1551         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
1552         executable file "${binfile}", C++ version "${binfile}-cxx".
1553         * gdb.python/py-prettyprint.exp: Likewise.
1554         * gdb.python/py-symbol.exp: Likewise.
1555         * gdb.python/py-type.exp: Likewise.
1556         * gdb.python/py-value.exp: Likewise.
1557         * gdb.python/py-template.exp (test_template_arg): Pass full executable
1558         file name instead of just suffix.
1559
1560 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1561
1562         Fix implicit pointer offsets.
1563         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1564         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1565         (continue to breakpoint: continue to baz breakpoint for implptr)
1566         (sanity check element 0, sanity check element 1)
1567         (enter the inlined function, check element 0 for the offset)
1568         (check element 1 for the offset)
1569         (continue to breakpoint: ignore the second baz breakpoint): New tests.
1570         (set foo breakpoint for implptr): Update the breakpoint number.
1571
1572 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1573
1574         * gdb.python/py-mi.exp: Use different file names for different
1575         versions of the executable under test.
1576         * gdb.python/py-prettyprint.exp: Likewise.
1577         * gdb.python/py-symbol.exp: Likewise.
1578         * gdb.python/py-template.exp: Likewise.
1579         * gdb.python/py-type.exp: Likewise.
1580         * gdb.python/py-value.exp: Likewise.
1581
1582 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1583
1584         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1585         flag after restarting GDB if necessary.
1586
1587 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1588
1589         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1590
1591 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
1592
1593         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1594         backend doesn't leave used debug registers behind.
1595
1596 2011-07-22  Tom Tromey  <tromey@redhat.com>
1597
1598         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1599         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1600         argument.
1601         * gdb.dwarf2/typeddwarf-amd64.S: New file.
1602
1603 2011-07-21  Matt Rice  <ratmice@gmail.com>
1604
1605         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1606         in mostlyclean rule.  Add files ending in .core.
1607
1608 2011-07-21  Matt Rice  <ratmice@gmail.com>
1609
1610         PR macros/12999
1611         * gdb.base/info-macros.c: New test sources.
1612         * gdb.base/info-macros.exp: New tests.
1613
1614 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
1615
1616         * gdb.python/python.exp: Add prompt substitution tests.
1617
1618 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1619
1620         Fix crash if referenced CU is aged out.
1621         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1622         New.
1623         * gdb.dwarf2/implptr.exp: Likewise.
1624
1625 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1626
1627         * gdb.dwarf2/implptr.S: Rebuilt.
1628         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1629         (bar): Use them for j, k, l.
1630         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
1631         COMPILE.
1632         (print j in implptr:bar): Update for the intp typedef.
1633         (print p[0].x in implptr:foo): Use more exact regex.
1634
1635 2011-07-18  Tom Tromey  <tromey@redhat.com>
1636
1637         * gdb.cp/static-method.exp: Add missing single quote.
1638
1639 2011-07-18  Yao Qi  <yao@codesourcery.com>
1640
1641         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1642         supported.
1643         * gdb.mi/mi-nonstop-exit.exp: Likewise.
1644         * gdb.mi/mi-nonstop.exp: Likewise.
1645         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1646         * gdb.mi/mi-nsintrall.exp: Likewise.
1647         * gdb.mi/mi-nsmoribund.exp: Likewise.
1648         * gdb.mi/mi-nsthrexec.exp: Likewise.
1649         * gdb.python/py-evthreads.exp: Likewise.
1650
1651 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1652
1653         Code cleanup.
1654         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
1655         it.  Substitute it instead of test_compiler_info everywhere.
1656
1657 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1658
1659         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
1660         remote targets as well.
1661
1662 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1663
1664         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1665         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
1666
1667 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1668
1669         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1670         a remote machine, not the host.
1671         (gdb_compile_shlib): Set soname if target is remote.
1672
1673 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1674
1675         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1676
1677 2011-07-13  Matt Rice <ratmice@gmail.com>
1678
1679         * gdb.python/py-objfile-script-gdb.py: Renamed to
1680         py-objfile-script-gdb.py.in.
1681         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1682         py-objfile-script-gdb.py.
1683         * gdb.python/py-objfile-script.exp: Update reference to
1684         py-objfile-script-gdb.py.
1685
1686 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1687
1688         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1689         reference undefined label.
1690
1691 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1692
1693         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1694         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1695         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1696         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1697
1698 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
1699
1700         PR python/12438
1701         * gdb.python/python.exp: Add maint set/show python print-stack
1702           deprecated tests.  Add set/show python print-backtrace tests.
1703
1704 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1705
1706         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1707         debug info.
1708
1709 2011-07-06  Matt Rice  <ratmice@gmail.com>
1710
1711         * gdb.python/python.exp: Update filename paths.
1712         * gdb.python/py-symtab.exp: Ditto.
1713
1714 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1715
1716         * gdb.python/py-evthreads.exp: Add missing `$'.
1717
1718 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
1719
1720         * config/bfin.exp: New file.
1721         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1722         * gdb.asm/bfin.inc: New file.
1723
1724 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1725
1726         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1727         the whole output.
1728
1729 2011-07-05  Tom Tromey  <tromey@redhat.com>
1730
1731         * gdb.java/jprint.java (jprint.hi): New field.
1732         * gdb.java/jprint.exp: Print string.
1733
1734 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
1735
1736         * gdb.base/call-sc.c: Fix typos.
1737         * gdb.base/ifelse.exp: Likewise.
1738         * gdb.base/structs.c: Likewise.
1739
1740 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1741
1742         * gdb.base/jit-so.exp: New test.
1743         * gdb.base/jit-dlmain.c: New file.
1744         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1745
1746 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1747
1748         * gdb.cp/m-static.exp: Call get_compiler_info.
1749         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1750         * gdb.cp/pr9167.exp (p b): Likewise.
1751         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1752         (test value of P in inner_m, test type of Z in inner_m): Call
1753         setup_xfail for gcc <= 4.5.
1754
1755 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1756
1757         * gdb.cp/paren-type.cc: New files.
1758         * gdb.cp/paren-type.exp: New files.
1759
1760 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1761
1762         Stop on first linespec terminator instead of eating what we can.
1763         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1764         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1765         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1766         (break C::f()): ... this one.
1767         (break C::operator()()): New test.
1768         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1769         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1770         test.
1771
1772 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1773
1774         Fall back linespec to minimal symbols.
1775         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1776         error message.
1777         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1778         * gdb.cp/minsym-fallback-main.cc: New file.
1779         * gdb.cp/minsym-fallback.cc: New file.
1780         * gdb.cp/minsym-fallback.exp: New file.
1781         * gdb.cp/minsym-fallback.h: New file.
1782
1783 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1784
1785         * gdb.cp/no-dmgl-verbose.cc: New file.
1786         * gdb.cp/no-dmgl-verbose.exp: New file.
1787
1788 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1789
1790         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1791         __GI_.
1792         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1793         (f): New function.
1794         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1795         (complete p 'func<short>(): ... here.
1796         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1797         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1798         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1799         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1800         Make them KFAIL gcc/49546.
1801
1802 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1803
1804         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1805
1806 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1807
1808         Test GCC PR debug/49546.
1809         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1810         (test type of F in k3_m, test value of F in k3_m): New.
1811         * gdb.cp/temargs.cc (struct S3, struct K3): New.
1812         (main): New variable k3.  Call k3.k3_m.
1813
1814 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1815
1816         * gdb.ada/packed_array.exp: Fix expected outout.
1817
1818 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1819
1820         * gdb.ada/packed_array.exp: fixed expected output.
1821
1822 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1823
1824         * gdb.ada/same_enum: New testcase.
1825
1826 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1827
1828         * gdb.ada/ptr_typedef: New testcase.
1829
1830 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1831
1832         * gdb.ada/arrayptr.exp: Add ptype test.
1833
1834 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1835
1836         * gdb.ada/char_enum: New testcase.
1837
1838 2011-07-01  Yao Qi  <yao@codesourcery.com>
1839
1840         * gdb.base/dump.exp (capture_pointer_with_type): New.
1841         Get value from address instead of name.
1842         Start GDB once, and do `dump' and `restore'
1843         tests together.
1844
1845 2011-06-30  Jie Zhang <jie.zhang@analog.com>
1846             Mike Frysinger  <vapier@gentoo.org>
1847
1848         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1849         helper functions for getting/setting remotetimeout variable.
1850         * lib/gdb.exp (gdb_load): If the target is remote, set
1851         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1852         with $loadtimeout.  Set $load_ok to 0 before doing the load.
1853         Instead of returning, immediately, set $load_ok to 0.  Call
1854         set_remotetimeout with $oldremotetimeout, and then return if
1855         $load_ok is 1.
1856
1857 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
1858
1859         * gdb.python/py-template.exp: Don't run this test if the target
1860         does not support c++ tests.
1861
1862 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1863
1864         Fix non-only rename list for Fortran modules import.
1865         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1866         tests.
1867         * gdb.fortran/module.f90 (module moduse): New.
1868         (program module): use moduse, test var_x, var_y and var_z.
1869
1870 2011-06-29  Tom Tromey  <tromey@redhat.com>
1871
1872         PR testsuite/12040:
1873         * gdb.fortran/array-element.exp: Use f90, not f77.
1874         * gdb.fortran/complex.exp: Use f90, not f77.
1875         * gdb.fortran/derived-type.exp: Use f90, not f77.
1876         * gdb.fortran/library-module.exp: Use f90, not f77.
1877         * gdb.fortran/logical.exp: Use f90, not f77.
1878         * gdb.fortran/module.exp: Use f90, not f77.
1879         * gdb.fortran/multi-dim.exp: Use f90, not f77.
1880         * gdb.fortran/subarray.exp: Use f90, not f77.
1881
1882 2011-06-29  Tom Tromey  <tromey@redhat.com>
1883
1884         * gdb.fortran/charset.exp: New file.
1885         * gdb.fortran/charset.f90: New file.
1886
1887 2011-06-29  Tom Tromey  <tromey@redhat.com>
1888
1889         PR testsuite/12040:
1890         * lib/future.exp: New file, mostly extracted from ada.exp.
1891         Rewrote compatibility code to use rename.
1892         (gdb_find_gfortran): New proc.
1893         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1894         gfortran patch.
1895         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1896         Move to future.exp.
1897         * lib/gdb.exp: Always load future.exp.
1898
1899 2011-06-28  Yao Qi  <yao@codesourcery.com>
1900
1901         * gdb.cp/exception.cc: Don't include iostream.
1902         (bar): Remove print statement.
1903         (catcher): New.
1904         (main): Remove print statements.  Call function catcher.
1905         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1906         Set breakpoint on catcher, and check the value of parameter.
1907
1908 2011-06-23  Yao Qi  <yao@codesourcery.com>
1909
1910         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1911         1.2 is disabled.  KFAIL for uclinux.
1912
1913 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1914
1915         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1916         mi_gdb_test.
1917
1918 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1919
1920         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1921
1922 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1923
1924         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1925
1926 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1927
1928         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
1929         `test_exec_and_symbol_mi_operatons' return value.
1930         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1931         gdb_test_multiple.
1932         (test_exec_and_symbol_mi_operatons): Likewise.
1933         (test_path_specification): Likewise.
1934
1935 2011-06-23  Yao Qi  <yao@codesourcery.com>
1936
1937         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1938         supported.
1939         * lib/gdb.exp (support_displaced_stepping): New.
1940
1941 2011-06-23  Yao Qi  <yao@codesourcery.com>
1942
1943         * gdb.threads/execl.exp: Skip on remote target.
1944
1945 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
1946
1947         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
1948         mi_gdb_test.
1949
1950 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1951
1952         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1953
1954 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1955
1956         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
1957         mi_gdb_test.
1958
1959 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1960
1961         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1962
1963 2011-06-14  Yao Qi  <yao@codesourcery.com>
1964
1965         gdb/testsuite/
1966         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1967
1968 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1969
1970         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1971
1972 2011-06-10  Tom Tromey  <tromey@redhat.com>
1973
1974         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1975         Add tests for pointer-to-member-function.
1976         * gdb.cp/temargs.cc (S::somefunc): New function.
1977         (K2): New class.
1978         (main): Instantiate K2; call method.
1979
1980 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
1981
1982         * gdb.python/py-inferior.c (f2): Make str an array rather
1983         than a pointer.
1984         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1985
1986 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1987
1988         * gdb.base/async-shell.c: New file.
1989         * gdb.base/async-shell.exp: New file.
1990
1991 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
1992
1993         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1994
1995 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
1996
1997         From Stephen Kitt  <steve@sk2.org>
1998         * gdb.base/help.exp: Adjust following some spelling corrections
1999         in GDB.
2000
2001 2011-06-01  Yao Qi  <yao@codesourcery.com>
2002
2003         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2004
2005 2010-05-31  Keith Seitz  <keiths@redhat.com>
2006
2007         PR c++/12750
2008         * gdb.cp/static-method.cc: New file.
2009         * gdb.cp/static-method.exp: New file.
2010
2011 2010-05-31  Keith Seitz  <keiths@redhat.com>
2012
2013         PR symtab/12704
2014         * gdb.cp/anon-ns.cc: New file.
2015         * gdb.cp/anon-ns.exp: New file.
2016
2017 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
2018
2019         * gdb.arch/i386-dr3-watch.c: New file.
2020         * gdb.arch/i386-dr3-watch.exp: New file.
2021
2022 2011-05-30  Yao Qi  <yao@codesourcery.com>
2023
2024         * gdb.base/callfuncs.c (t_structs_fc): New.
2025         (t_structs_dc, t_structs_ldc): New.
2026         (t_double_many_args):
2027         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2028         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2029         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2030         * gdb.base/callfuncs.exp: Call new functions.
2031
2032 2011-05-30  Yao Qi  <yao@codesourcery.com>
2033
2034         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2035         Call rerun_and_prepare for each test to isolate effects.
2036
2037 2011-05-30  Yao Qi  <yao@codesourcery.com>
2038
2039         * gdb.base/varargs.c (find_max_float_real): New.
2040         (find_max_double_real, find_max_long_double_real): New.
2041         * gdb.base/varargs.exp: Call these new added functions.
2042         * lib/gdb.exp (setup_kfail_for_target): New.
2043
2044 2011-05-30  Yao Qi  <yao@codesourcery.com>
2045
2046         * gdb.base/funcargs.c (callca, callcb, callcc): New.
2047         (callcd, callce, callcf, callc1a, callc1b): New.
2048         (callc2a, callc2b): New.
2049         * gdb.base/funcargs.exp (complex_args): New.
2050         (complex_integral_args, complex_float_integral_args): New.
2051         * lib/gdb.exp (support_complex_tests): New.  Determine
2052         whether to run test cases on _Complex types.
2053
2054 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2055
2056         * gdb.threads/leader-exit.c: New file.
2057         * gdb.threads/leader-exit.exp: New file.
2058
2059 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
2060
2061         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2062
2063 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
2064
2065         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2066         remove the `supported' variable.
2067         * gdb.mi/mi-nonstop.exp: Likewise.
2068         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2069         * gdb.mi/mi-nsintrall.exp: Likewise.
2070         * gdb.mi/mi-nsmoribund.exp: Likewise.
2071         * gdb.mi/mi-nsthrexec.exp: Likewise.
2072
2073 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
2074
2075         * gdb.reverse/finish-reverse-bkpt.exp: New test.
2076
2077 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
2078
2079         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2080
2081 2011-05-24  Keith Seitz  <keiths@redhat.com>
2082
2083         PR breakpoint/12803
2084         * gdb.cp/cmpd-minsyms.cc (a): New method.
2085         (b): New method.
2086         (c): New method.
2087         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2088
2089 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
2090
2091         * gdb.base/commands.exp (watchpoint_command_test): Check that the
2092         watchpoint's command list didn't execute when the watchpoint went
2093         out of scope.
2094
2095 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
2096
2097         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2098         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2099         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2100         * gdb.arch/i386-gnu-cfi.exp: Likewise.
2101         * gdb.arch/i386-permbkpt.exp: Likewise.
2102         * gdb.arch/i386-prologue.exp: Likewise.
2103         * gdb.arch/i386-size-overlap.exp: Likewise.
2104         * gdb.arch/i386-size.exp: Likewise.
2105         * gdb.arch/i386-unwind.exp: Likewise.
2106         * gdb.reverse/i386-precsave.exp: Likewise.
2107         * gdb.reverse/i386-reverse.exp: Likewise.
2108         * gdb.reverse/i386-sse-reverse.exp: Likewise.
2109         * gdb.reverse/i387-env-reverse.exp: Likewise.
2110         * gdb.reverse/i387-stack-reverse.exp: Likewise.
2111
2112 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
2113
2114         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2115         file doesn't error, using MI.
2116
2117 2011-05-23  Tom Tromey  <tromey@redhat.com>
2118
2119         * gdb.base/charset.exp (string_display): Add tests to assign to
2120         arrays.
2121         * gdb.base/charset.c (short_array, int_array, long_array): New.
2122
2123 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
2124
2125         Cope with async mode.
2126
2127         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2128         into gdb_test + mi_expect_stop.
2129
2130 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
2131
2132         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2133         (callme): Remove printf call.
2134
2135 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
2136
2137         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2138         quote pattern to avoid problems with Cygwin/mingw expect versions.
2139         * gdb.base/default.exp (show convenience): Use double
2140         quote pattern for regular expressions.
2141
2142 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2143
2144         Fix -readnow for -gdwarf-4 unused type units.
2145         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2146         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2147
2148 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2149
2150         * gdb.base/kill-after-signal.c: New file.
2151         * gdb.base/kill-after-signal.exp: New file.
2152
2153 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
2154
2155         * gdb.ada/start.exp: Call untested with the correct test filename.
2156         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2157         test filename.  Make the test's binary unique.
2158         * gdb.arch/i386-signal.exp: Call untested with the correct test
2159         filename.
2160         * gdb.arch/i386-size-overlap.exp: Ditto.
2161         * gdb.arch/Makefile.in (EXECUTABLES): Update.
2162         * gdb.base/gcore-buffer-overflow.exp: Ditto.
2163         * gdb.cp/call-c.exp: Ditto.
2164         * gdb.mi/mi-reverse.exp: Call untested with the correct test
2165         filename.  Make the test's binary unique.
2166         * gdb.mi/Makefile.in (EXECUTABLES): Update.
2167         * gdb.python/py-mi.exp: Ditto.
2168         * gdb.python/Makefile.in (EXECUTABLES): Update.
2169         * gdb.reverse/i386-precsave.exp: Ditto.
2170         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2171         test filename.
2172         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2173         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
2174         unique.
2175         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2176         test filename.
2177         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2178         * gdb.trace/tfile.exp: Ditto.
2179
2180 2011-05-14  Yao Qi  <yao@codesourcery.com>
2181
2182         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2183         type.
2184
2185 2011-05-13  Doug Evans  <dje@google.com>
2186
2187         * gdb.python/py-objfile-script.exp: New file.
2188         * gdb.python/py-objfile-script.c: New file.
2189         * gdb.python/py-objfile-script-gdb.py: New file.
2190         * testsuite/gdb.python/py-section-script.exp: Test
2191         "info auto-load-scripts".
2192
2193 2011-05-13  Tom Tromey  <tromey@redhat.com>
2194
2195         * gdb.dwarf2/clztest.exp: New file.
2196         * gdb.dwarf2/clztest.c: New file.
2197         * gdb.dwarf2/clztest.S: New file.
2198
2199 2011-05-13  Doug Evans  <dje@google.com>
2200
2201         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2202         String16 tests.
2203
2204 2011-05-13  Tom Tromey  <tromey@redhat.com>
2205
2206         * lib/gdb.exp (is_x86_like_target): New proc.
2207         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2208         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2209         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
2210         -nostdlib to compiler.
2211         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2212         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2213         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2214         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2215         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2216
2217 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2218
2219         * gdb.python/py-function.exp: Test setting a value from a function
2220         which executes a command.
2221
2222 2011-05-12  Tom Tromey  <tromey@redhat.com>
2223
2224         * gdb.dwarf2/typeddwarf.S: New file.
2225         * gdb.dwarf2/typeddwarf.c: New file.
2226         * gdb.dwarf2/typeddwarf.exp: New file.
2227
2228 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
2229
2230         * gdb.mi/mi-basics.exp: Fix races.  Honour the
2231         `test_exec_and_symbol_mi_operatons' return value.
2232         (test_mi_interpreter_selection): Use mi_gdb_test instead of
2233         gdb_test_multiple.
2234         (test_exec_and_symbol_mi_operatons): Likewise.
2235         (test_path_specification): Likewise.
2236
2237 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2238
2239         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2240         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
2241         Replace `file copy' and `file rename' by `file mtime'.  Twice.
2242
2243 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2244
2245         * gdb.base/readline-ask.c: New file.
2246         * gdb.base/readline-ask.exp: New file.
2247         * gdb.base/readline-ask.inputrc: New file.
2248
2249 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2250
2251         * gdb.cell/bt.exp: Delete breakpoints before running to signal
2252         to avoid race condition.
2253         * gdb.cell/coremaker.c: Use small stack size.
2254         * gdb.cell/ea-standalone.exp: Use file name without path as
2255         argument to c_to.
2256         * gdb.cell/fork.exp: Allow other output when continuing to end.
2257
2258 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2259
2260         * gdb.threads/corethreads.c: New file.
2261         * gdb.threads/corethreads.exp: New file.
2262
2263 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2264
2265         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2266         Try to compile the test using -Wl,-z,norelro first.
2267         (load_core): New variable libthread_db_seen, initialize it.
2268         (zeroed-threads cannot be listed): Protect it by XFAIL on
2269         !$libthread_db_seen.
2270
2271 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2272
2273         PR 12573
2274         * gdb.dwarf2/dw2-skip-prologue.S: New file.
2275         * gdb.dwarf2/dw2-skip-prologue.c: New file.
2276         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2277
2278 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2279
2280         * gdb.cp/psymtab-parameter.cc: New file.
2281         * gdb.cp/psymtab-parameter.exp: New file.
2282
2283 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2284
2285         Fix a race.
2286         * gdb.cp/static-print-quit.exp (print c): Split to ...
2287         (print c - <return>, print c - q <return>, print c - to quit):
2288         ... these.  Make the testfile untested on gdb-7.1.
2289
2290 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
2291
2292         * lib/gdb.exp (exec_target_file, exec_symbol_file,
2293         gdb_rename_execfile, gdb_touch_execfile): New.
2294         * gdb.base/reread.exp: Use new procs to handle multiple
2295         exec files.
2296
2297 2011-05-05  Yao Qi  <yao@codesourcery.com>
2298
2299         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2300         (test_adr_32bit, test_pop_pc): New.
2301         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2302         (test_adr_32bit, test_pop_pc): New.
2303
2304 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
2305
2306         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2307         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2308         targets.
2309         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2310         handle targets.
2311
2312 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2313
2314         * gdb.base/completion.exp (complete help info wat): Rename to ...
2315         (complete 'help info wat'): ... here.
2316         Remove all `-re ".*' and `-re "^.*' redundant regexes.
2317         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2318
2319 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
2320
2321         * gdb.base/completion.exp: Use gdb_test_multiple instead of
2322         gdb_test and explicit $gdb_prompt/timeout matches.
2323
2324 2011-05-04  Yao Qi  <yao@codesourcery.com>
2325
2326         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2327         and __thumb2__.
2328
2329 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
2330
2331         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2332         in place of `gdb_test "delete breakpoints"'.  This eliminates two
2333         testcases.
2334
2335 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
2336
2337         PR testsuite/12649
2338         Fix races.
2339
2340         * gdb.base/completion.exp: Remove all sleep calls.  Remove
2341         unnecessary regexs.  Don't explicitly expect anything after the
2342         prompt.  Eat the prompt if necessary.
2343
2344 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2345
2346         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2347         accept to show the caller line again as well as the line after.
2348
2349 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
2350
2351         PR mi/12531
2352
2353         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2354         compile target.
2355         * gdb.python/py-prettyprint.exp: Add C++ object for
2356         CPLUS_FAKE_CHILD test.
2357
2358 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
2359
2360         * gdb.base/signest.exp: New file.
2361         * gdb.base/signest.c: Likewise.
2362
2363 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2364
2365         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2366         thread and breakpoint notifications.
2367
2368 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2369
2370         * gdb.base/fortran-sym-case.c: New file.
2371         * gdb.base/fortran-sym-case.exp: New file.
2372         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2373         * gdb.dwarf2/dw2-case-insensitive.c: New file.
2374         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2375
2376 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2377
2378         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2379         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2380         false #1', `if true else false #2' and `if true else false #3'.
2381
2382 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
2383
2384         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2385         while delivering signal.
2386
2387 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
2388
2389         MI breakpoint notifications.
2390
2391         * testsuite/gdb.mi/mi-cli.exp: Adust.
2392         * testsuite/gdb.mi/mi2-cli.exp: Adust.
2393         * testsuite/gdb.mi/mi-watch.exp: Adust.
2394         * testsuite/gdb.mi/mi2-watch.exp: Adust.
2395         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2396         notifications.
2397
2398 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2399
2400         * gdb.base/gdbindex-stabs-dwarf.c: New file.
2401         * gdb.base/gdbindex-stabs.c: New file.
2402         * gdb.base/gdbindex-stabs.exp: New file.
2403
2404 2011-04-25  Yao Qi  <yao@codesourcery.com>
2405
2406         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2407         with /*...*/.
2408         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2409
2410 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2411
2412         * gdb.python/py-value.exp (test_objfiles): Name the first test
2413         `py-value in file.filename'.
2414
2415 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2416
2417         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2418         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2419         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2420         !gdbserver_reconnect_p..
2421         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2422
2423 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2424
2425         * gdb.cp/cpcompletion.exp (complete class methods)
2426         (complete class methods beginning with F): Move them above runto.  New
2427         comment about the runto delimiter.
2428
2429 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
2430
2431         * gdb.base/maint.exp: Test that "maint print registers" works
2432         without a running program.
2433
2434 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
2435
2436         * gdb.base/setshow.exp: Fix racy tests.
2437         ($old_gdb_prompt): New variable.
2438
2439 2011-04-19  Tom Tromey  <tromey@redhat.com>
2440
2441         * gdb.mi/mi-nsmoribund.exp:
2442         * gdb.hp/gdb.objdbg/objdbg01.exp:
2443         * gdb.base/structs.exp (test_struct_returns):
2444         * gdb.base/call-sc.exp (test_scalar_returns):
2445         * gdb.base/bigcore.exp: Remove duplicate words.
2446
2447 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2448
2449         * gdb.base/break-interp-lib.c (v, vptr): New variables.
2450         * gdb.base/break-interp.exp (test_attach): New comment.
2451
2452 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2453
2454         * gdb.threads/gcore-thread.exp ($core0file): New variable.
2455         (clear __stack_user.next, clear stack_used.next)
2456         (save a zeroed-threads corefile): New test.
2457         Call core_load for $core0file.
2458         (zeroed-threads cannot be listed): New test.
2459
2460 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2461
2462         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2463         filename.
2464         ($srcfile): Preserve the original value.
2465         ($testfile): Match it the .exp filename.
2466         ($corefile): New variable.  Substitute it around.
2467         Use clean_restart.
2468         ($prev_timeout): Remove.
2469         (load_core): Move core loading into this proc.
2470         Fix restore of $timeout if load_core fails.
2471
2472 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2473
2474         * gdb.base/eu-strip-infcall.c: New file.
2475         * gdb.base/eu-strip-infcall.exp: New file.
2476
2477 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2478
2479         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2480         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2481
2482 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2483
2484         Fix Python access to inlined frames.
2485         * gdb.python/py-frame-inline.c: New file.
2486         * gdb.python/py-frame-inline.exp: New file.
2487
2488 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2489
2490         * gdb.base/gdb1090.exp: Change breakpoint location to read the
2491         content of 's24' correctly (avoiding "optimized out").
2492         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2493
2494 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2495
2496         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2497
2498 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2499
2500         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2501         expect a colon in watch -location output.
2502
2503 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
2504
2505         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2506         New testcase `expect response to define backtrace'.  Also remove
2507         redundant `default' block.
2508
2509 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2510
2511         * gdb.python/py-prettyprint.c (struct hint_error): New.
2512         (main): New variable hint_error.
2513         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2514         "print hint_error".
2515         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2516         (register_pretty_printers): Register it.
2517
2518 2011-04-04  Tom Tromey  <tromey@redhat.com>
2519
2520         * gdb.cp/maint.exp (test_help): Update.
2521         (test_namespace): Likewise.
2522
2523 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2524
2525         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2526         * gdb.ada/arrayptr.exp: Add new tests.
2527
2528 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2529
2530         * gdb.ada/mi_catch_ex: New testcase.
2531
2532 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
2533
2534         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2535         base::overload(void) method without specifying "const".
2536
2537 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2538
2539         * gdb.arch/thumb-singlestep.S: New file.
2540         * gdb.arch/thumb-singlestep.exp: Likewise.
2541
2542 2011-03-31  Tom Tromey  <tromey@redhat.com>
2543
2544         * gdb.python/py-prettyprint.py (exception_flag): New global.
2545         (NoStringContainerPrinter._iterator.next): Check it.
2546         * gdb.python/py-prettyprint.c (main): New variable nstype2.
2547         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2548
2549 2011-03-29  Tom Tromey  <tromey@redhat.com>
2550
2551         * gdb.cp/anon-struct.cc: New file.
2552         * gdb.cp/anon-struct.exp: New file.
2553
2554 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2555
2556         Test STT_GNU_IFUNC support.
2557         * gdb.base/gnu-ifunc-lib.c: New file.
2558         * gdb.base/gnu-ifunc.c: New file.
2559         * gdb.base/gnu-ifunc.exp: New file.
2560
2561 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2562
2563         Support a ring of related breakpoints.
2564         * gdb.base/watchpoint-delete.c: New file.
2565         * gdb.base/watchpoint-delete.exp: New file.
2566
2567 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2568
2569         * gdb.ada/arrayparam.exp (print first after function call): Use
2570         explicit package name.  Add a comment
2571         (print lasta after function call): Rename ...
2572         (print last after function call): ... it and use explicit package
2573         name.
2574         (print length after function call): Use explicit package name.
2575         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2576         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2577         (multiple matches for symbol i): Rename ...
2578         (multiple matches for symbol integervar): ... it.
2579         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2580         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2581
2582 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
2583
2584         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2585         environment variable to make grep output more predictable. Move
2586         all the environment setup into gdb_init so it's done once per test
2587         case rather than each time we start gdb.
2588
2589 2011-03-24  Tom Tromey  <tromey@redhat.com>
2590
2591         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
2592         test.
2593
2594 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2595
2596         * gdb.dwarf2/dw2-entry-value-main.c: New file.
2597         * gdb.dwarf2/dw2-entry-value.S: New file.
2598         * gdb.dwarf2/dw2-entry-value.exp: New file.
2599
2600 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
2601
2602         PR python/12183
2603
2604         * gdb.python/py-function.exp: Add GdbError tests.
2605
2606 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2607
2608         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2609         (reglocal_test_func, statlocal_test_func): New functions.
2610         (globals_test_func): Call new functions.
2611         * gdb.trace/unavailable.exp (gdb_collect_args_test)
2612         (gdb_collect_locals_test): New procedure.
2613         (gdb_trace_collection_test): Call new procedures.
2614
2615 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2616
2617         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2618         (test_register, test_register_unavailable): New procedures.
2619         (gdb_unavailable_registers_test): New procedure.
2620         (gdb_trace_collection_test): Call it.
2621
2622 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
2623
2624         PR python/12149
2625
2626         * gdb.python/python.exp: Add gdb.write tests.
2627
2628 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
2629
2630         * gdb.python/Makefile.in: Add py-objfile.
2631         * gdb.python/py-objfile.exp: New file.
2632         * gdb.python/py-objfile.c: New file.
2633         * gdb.python/py-block.exp: Add is_valid tests.
2634         * gdb.python/py-inferior.exp: Ditto.
2635         * gdb.python/py-infthread.exp: Ditto.
2636         * gdb.python/py-symbol.exp: Ditto.
2637         * gdb.python/py-symtab.exp: Ditto.
2638
2639 2011-03-16  Keith Seitz  <keiths@redhat.com>
2640
2641         PR c++/12273
2642         * gdb.cp/cmpd-minsyms.exp: New test.
2643         * gdb.cp/cmpd-minsyms.cc: New file.
2644
2645         PR c++/11734
2646         * gdb.cp/ovsrch.exp: New test.
2647         * gdb.cp/ovsrch.h: New file.
2648         * gdb.cp/ovsrch1.cc: New file.
2649         * gdb.cp/ovsrch2.cc: New file.
2650         * gdb.cp/ovsrch3.cc: New file.
2651         * gdb.cp/ovsrch4.cc: New file.
2652
2653 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2654
2655         PR gdb/12528
2656         * gdb.base/Makefile.in: Adjust EXECUTABLES.
2657         * gdb.base/break-on-linker-gcd-function.exp: New test.
2658         * gdb.base/break-on-linker-gcd-function.cc: New file.
2659
2660 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
2661
2662         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2663
2664 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
2665
2666         * lib/gdb.exp (gdb_unload): Add another termination case.
2667
2668 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2669
2670         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2671         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2672         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2673         Provide a stub byte there.
2674         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2675         DW_AT_entry_pc.
2676         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2677
2678 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
2679
2680         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2681         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
2682         "generic ABI, auto".
2683         (altivec_abi_tests): Accept vectors returned by reference.
2684
2685 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
2686
2687         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2688
2689 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
2690
2691         * gdb.python/py-section-script.exp: Skip test if no Python support.
2692
2693 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2694
2695         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2696
2697 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
2698
2699         * gdb.python/py-parameter.exp: Update tests to the new Python
2700         parameter API. Add "no documentation" test.  Add deprecated API
2701         backward compatibility test.
2702
2703 2011-03-09  Tom Tromey  <tromey@redhat.com>
2704
2705         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2706         gdb_continue_to_end.
2707
2708 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
2709
2710         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2711         tabs.
2712
2713 2011-03-09  Tom Tromey  <tromey@redhat.com>
2714
2715         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
2716         parentheses.
2717         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
2718         $command.
2719         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2720         argument to gdb_continue_to_end.
2721         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2722         argument to gdb_continue_to_end.
2723         * gdb.cp/annota3.exp: Fix regex.
2724         * gdb.cp/annota2.exp: Fix regex.
2725         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2726         gdb_continue_to_end.
2727         * gdb.base/call-signal-resume.exp: Revert earlier patch.
2728         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2729         gdb_continue_to_end.
2730
2731 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2732
2733         * gdb.server/ext-run.exp
2734         (load new file without any gdbserver inferior): New test.
2735
2736 2011-03-07  Tom Tromey  <tromey@redhat.com>
2737
2738         * Makefile.in (TAGS): Rewrite.
2739
2740 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2741
2742         * gdb.trace/report.exp (12.1: trace report #1): New match for the
2743         initial commands echo.  New match for `Found trace'.  Anchor all the
2744         other matches.  Anchor and match for `No trace frame found' the final
2745         match.
2746
2747 2011-03-07  Tom Tromey  <tromey@redhat.com>
2748
2749         * Makefile.in (TAGS): New target.
2750
2751 2011-03-07  Tom Tromey  <tromey@redhat.com>
2752
2753         * lib/opencl.exp (skip_opencl_tests): Update for exit message
2754         change.
2755         * lib/mi-support.exp (mi_gdb_test): Update for exit message
2756         change.
2757         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
2758         exit message change.
2759         (skip_altivec_tests): Update for exit message change.
2760         (skip_vsx_tests): Likewise.
2761         (gdb_continue_to_end): Likewise.  Add 'command' argument.
2762         * lib/cell.exp (skip_cell_tests): Update for exit message change.
2763         * gdb.threads/tls.exp: Update for exit message change.
2764         * gdb.threads/thread-unwindonsignal.exp: Use
2765         gdb_continue_to_end.
2766         * gdb.threads/step.exp (step_it): Update for exit message change.
2767         (continue_all): Likewise.
2768         * gdb.threads/print-threads.exp (test_all_threads): Update for
2769         exit message change.
2770         * gdb.threads/interrupted-hand-call.exp: Use
2771         gdb_continue_to_end.
2772         * gdb.threads/execl.exp: Use gdb_continue_to_end.
2773         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2774         gdb_continue_to_end.
2775         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2776         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2777         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2778         * gdb.cp/method.exp: Update for exit message change.
2779         * gdb.cp/mb-templates.exp: Update for exit message change.
2780         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2781         * gdb.cp/annota3.exp: Update for exit message change.
2782         * gdb.cp/annota2.exp: Update for exit message change.
2783         * gdb.cell/fork.exp: Use gdb_continue_to_end.
2784         * gdb.base/term.exp: Update for exit message change.
2785         * gdb.base/step-test.exp (test_i): Update for exit message change.
2786         * gdb.base/sigstep.exp (advance): Update for exit message change.
2787         (advancei): Likewise.
2788         * gdb.base/siginfo.exp: Update for exit message change.
2789         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2790         * gdb.base/reread.exp: Use gdb_continue_to_end.
2791         * gdb.base/langs.exp: Use gdb_continue_to_end.
2792         * gdb.base/interrupt.exp: Update for exit message change.
2793         * gdb.base/gdb1555.exp: Update for exit message change.
2794         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2795         * gdb.base/ending-run.exp: Update for exit message change.
2796         * gdb.base/chng-syms.exp: Update for exit message change.
2797         * gdb.base/checkpoint.exp: Update for exit message change.
2798         * gdb.base/catch-syscall.exp (check_for_program_end): Use
2799         gdb_continue_to_end.
2800         (test_catch_syscall_with_wrong_args): Likewise.
2801         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2802         * gdb.base/break-interp.exp (test_ld): Update for exit message
2803         change.
2804         * gdb.base/bang.exp: Update for exit message change.
2805         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2806         (do_call_attach_tests): Likewise.
2807         * gdb.base/a2-run.exp: Update for exit message change.
2808         * gdb.arch/ppc-dfp.exp: Update for exit message change.
2809         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2810         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2811
2812 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2813
2814         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2815
2816 2011-03-03  Tom Tromey  <tromey@redhat.com>
2817
2818         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2819         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2820         * gdb.hp/gdb.aCC/configure.ac: Remove.
2821         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2822         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2823         * gdb.hp/gdb.base-hp/configure.ac: Remove.
2824         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2825         * gdb.hp/gdb.compat/configure (Makefile): Remove.
2826         * gdb.hp/gdb.compat/configure.ac: Remove.
2827         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2828         * gdb.hp/gdb.defects/configure (Makefile): Remove.
2829         * gdb.hp/gdb.defects/configure.ac: Remove.
2830         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2831         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2832         * gdb.hp/gdb.objdbg/configure.ac: Remove.
2833         * gdb.hp/configure.ac: Remove.
2834         * gdb.hp/configure: Remove.
2835         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2836         substitution.
2837         (Makefile): Remove rule.
2838         * gdb.cell/configure.ac: Remove.
2839         * gdb.cell/configure: Remove.
2840         * gdb.stabs/Makefile.in (Makefile): Remove.
2841         (distclean): Don't remove config.status or config.log.
2842         * gdb.stabs/configure (Makefile): Remove.
2843         * gdb.stabs/configure.ac: Remove.
2844         * configure: Rebuild.
2845         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2846         Remove stabs- and cell-specific logic.  Test for existence of
2847         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
2848         subdirectories, gdb.cell, and and gdb.stabs.
2849         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2850
2851 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
2852
2853         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2854         end of buffer.
2855
2856 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
2857
2858         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2859         gdb_test when running a test where we expected no output back.
2860
2861 2011-02-28  Michael Snyder  <msnyder@vmware.com>
2862
2863         * gdb.cp/overload.cc: Change initializer value to integer.
2864
2865 2011-02-27  Michael Snyder  <msnyder@vmware.com>
2866
2867         * gdb.multi/base.exp: Add test for remove-inferiors.
2868
2869 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
2870
2871         * gdb.python/py-frame.exp: Simplify the initialization phase
2872         using prepare_for_testing.
2873
2874 2011-02-25  Michael Snyder  <msnyder@vmware.com>
2875
2876         * gdb.multi/base.exp: Add tests for info inferiors with args.
2877
2878 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2879
2880         * gdb.dwarf2/dw2-ranges.S: Rename to ...
2881         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2882         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2883         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2884         asmfile3.  Comment the STABS (#3) file compilation.  Compile
2885         everything through assembler.  Provide KFAIL for symtab/12497.
2886         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2887         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2888         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2889         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2890
2891 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2892
2893         * gdb.base/break.exp: Add tests for delete breakpoints using
2894         convenience variables and value history references.
2895
2896 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2897
2898         * gdb.base/break.exp: Remove debugging 'printf' accidentally
2899         left behind in previous check-in.
2900
2901 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2902
2903         * gdb.base/break.exp: Add tests for "info break" with arguments.
2904         * gdb.trace/infotrace.exp: Update patterns for error and help.
2905         * gdb.base/completion.exp: Update pattern.
2906         * gdb.base/ena-dis-br.exp: Update pattern.
2907         * gdb.base/help.exp: Update patterns.
2908
2909 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2910
2911         * gdb.base/memattr.exp: New test.
2912         * gdb.base/memattr.c: Test load for memattr.exp.
2913
2914 2011-02-22  Doug Evans  <dje@google.com>
2915
2916         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2917
2918 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2919
2920         * Makefile.in: Make more clean.
2921         * gdb.ada/Makefile.in: Ditto.
2922         * gdb.arch/Makefile.in: Ditto.
2923         * gdb.asm/Makefile.in: Ditto.
2924         * gdb.base/Makefile.in: Ditto.
2925         * gdb.cp/Makefile.in: Ditto.
2926         * gdb.dwarf2/Makefile.in: Ditto.
2927         * gdb.java/Makefile.in: Ditto.
2928         * gdb.mi/Makefile.in: Ditto.
2929         * gdb.modula2/Makefile.in: Ditto.
2930         * gdb.python/Makefile.in: Ditto.
2931         * gdb.server/Makefile.in: Ditto.
2932         * gdb.stabs/Makefile.in: Ditto.
2933         * gdb.threads/Makefile.in: Ditto.
2934         * gdb.trace/Makefile.in: Ditto.
2935
2936 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2937
2938         * gdb.threads/thread-find.exp: Add tests for bad input to
2939         info threads.
2940
2941 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2942
2943         * gdb.python/py-breakpoint.exp: Fix the expected output of
2944         one of the "maint info breakpoints" tests to accept the output
2945         generated on platforms that do not have hardware watchpoints.
2946
2947 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2948
2949         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2950         clean_restart.  Be a little stricter in the expected output
2951         for one of the tests.  Fix a typo in one of the comments.
2952
2953 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2954
2955         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2956         Delete variable binfile, no longer use.  Add or modify test
2957         comments to make them unique.
2958
2959 2011-02-21  Michael Snyder  <msnyder@vmware.com>
2960
2961         * Makefile.in: Update for make clean.
2962         * gdb.ada/Makefile.in: Ditto.
2963         * gdb.arch/Makefile.in: Ditto.
2964         * gdb.asm/Makefile.in: Ditto.
2965         * gdb.base/Makefile.in: Ditto.
2966         * gdb.cp/Makefile.in: Ditto.
2967         * gdb.dwarf2/Makefile.in: Ditto.
2968         * gdb.java/Makefile.in: Ditto.
2969         * gdb.mi/Makefile.in: Ditto.
2970         * gdb.modula2/Makefile.in: Ditto.
2971         * gdb.python/Makefile.in: Ditto.
2972         * gdb.server/Makefile.in: Ditto.
2973         * gdb.stabs/Makefile.in: Ditto.
2974         * gdb.threads/Makefile.in: Ditto.
2975         * gdb.trace/Makefile.in: Ditto.
2976
2977 2011-02-21  Michael Snyder  <msnyder@vmware.com>
2978
2979         * gdb.threads/thread-find.exp: Update patterns for changes in
2980         output of "info threads" command.
2981
2982 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2983             Ulrich Weigand  <uweigand@de.ibm.com>
2984
2985         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2986         (skip_hw_watchpoint_tests): Likewise.
2987         (skip_hw_watchpoint_multi_tests): Likewise.
2988
2989 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
2990
2991         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2992         (skip_hw_watchpoint_tests): Likewise.
2993         (skip_hw_watchpoint_multi_tests): Likewise.
2994         (skip_hw_watchpoint_access_tests): Likewise.
2995
2996         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2997         * gdb.base/pr11022.exp: Likewise.
2998         * gdb.base/watch-read.exp: Likewise.
2999         * gdb.base/watch_thread_num.exp: Likewise.
3000         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3001         * gdb.base/watchpoint-hw.exp: Likewise.
3002         * gdb.base/watchpoint.exp: Likewise.
3003         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3004         * gdb.threads/watchthreads-reorder.exp: Likewise.
3005         * gdb.threads/watchthreads.exp: Likewise.
3006         * gdb.threads/watchthreads2.exp: Likewise.
3007
3008 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
3009
3010         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3011         the debugger is unable to find the array bounds.
3012
3013 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3014
3015         * gdb.cp/typedef-operator.exp: New file.
3016         * gdb.cp/typedef-operator.cc: New file.
3017
3018 2011-02-17  Michael Snyder  <msnyder@vmware.com>
3019
3020         * gdb.threads/thread-find.exp: Fix regular expressions.
3021
3022 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
3023
3024         * gdb.ada/packed_array: Expand testcase to test printing of
3025         unconstrained packed array.
3026
3027 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
3028
3029         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3030
3031 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
3032
3033         * gdb.trace/collection.c (globalarr3): New global.
3034         (main): Initialize it before collecting, and and clear it
3035         afterwards.
3036         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3037         collecting with '{type} addr', where the addr expression is not an
3038         rvalue.
3039
3040 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
3041
3042         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3043         a bool variable. Expect correct OpenCL names for vector types. Use the
3044         uc3 variable name instead of referring to the uchar3 built-in type.
3045         Escape the asterisk at the half pointer test.
3046
3047 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
3048
3049         * gdb.trace/collection.c (globalarr2): New global.
3050         (main): Initialize it before collecting, and and clear it
3051         afterwards.
3052         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3053         collecting overlapping memory ranges.
3054
3055 2011-02-15  Michael Snyder  <msnyder@vmware.com>
3056
3057         * gdb.base/default.exp: Add tests for thread commands.
3058         * gdb.base/help.exp: Add tests for thread commands.
3059         * gdb.threads/thread-find.exp: New test for thread find command.
3060
3061 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
3062
3063         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3064
3065 2011-02-15  Yao Qi  <yao@codesourcery.com>
3066
3067         PR tdep/12352
3068         * gdb.arch/arm-disp-step.S : New test for str instruction.
3069         * gdb.arch/arm-disp-step.exp : Likewise.
3070
3071 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3072
3073         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3074         "vector_register2_vr" test strings.  Test the extended floating
3075         point registers (F32~F63).
3076         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3077         IBM XL C compiler.  Make the test program use a register provided
3078         by the compiler for the lxvd2x instruction.
3079
3080 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3081
3082         * gdb.trace/unavailable.cc (class Base, class Middle, class
3083         Derived): New types.
3084         (derived_unavail, derived_partial, derived_whole): New globals.
3085         (virtual_partial): New global.
3086         (virtualp): Point at virtual_partial.
3087         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3088         related to unavailable vptr.
3089
3090 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3091
3092         * gdb.trace/unavailable.cc (a, b, c): New globals.
3093         (main): Set and clear them.
3094         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3095         `a' and `c', and check that `b' isn't collected, although `a' and
3096         `c' are.
3097
3098 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3099
3100         * gdb.trace/unavailable.cc (struct Virtual): New.
3101         (virtualp): New global pointer.
3102         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3103         printing a pointer to an object whose type has a vtable, with
3104         print object on.
3105
3106 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3107
3108         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3109         value repeat handles unavailableness.
3110
3111 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3112
3113         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3114         tests for building arrays from unavailable values, subscripting
3115         non-memory rvalue unvailable arrays, and accessing fields or
3116         baseclasses of non-lazy unavailable values,
3117         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3118         struct types.
3119         (g_smallstruct, g_smallstruct_b): New globals.
3120
3121 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3122
3123         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3124
3125 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3126
3127         Fix const/volatile qualifiers of C++ types, PR c++/12328.
3128         * gdb.cp/overload-const.exp: New file.
3129         * gdb.cp/overload-const.cc: New file.
3130
3131 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3132
3133         * gdb.opencl/callfuncs.cl: New file.
3134         * gdb.opencl/callfuncs.exp: New test.
3135         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3136
3137 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3138
3139         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3140         when computing result.
3141         * gdb.arch/altivec-abi.exp: Update expected results.
3142
3143 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3144
3145         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3146         * gdb.base/jit.exp: Likewise.
3147         * gdb.base/pie-execl.exp: Likewise.
3148         * gdb.base/solib-nodir.exp: Likewise.
3149         * gdb.base/solib-overlap.exp: Likewise.
3150
3151 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
3152
3153         * gdb.trace/collection.c (global_pieces): New.
3154         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3155         New procedure.
3156         (gdb_trace_collection_test): Call it.
3157
3158 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
3159
3160         * gdb.python/py-evthreads.c: New file.
3161         * gdb.python/py-evthreads.exp: New file.
3162         * gdb.python/py-events.py: New file.
3163         * gdb.python/py-events.exp: New file.
3164         * gdb.python/py-events.c: New file.
3165
3166 2011-02-04 David Daney <ddaney@caviumnetworks.com>
3167
3168         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3169
3170 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
3171
3172         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3173         gdb.base/disasm-end-cu.exp: New test for disassembling over the
3174         boundary between two compilation units.
3175
3176 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
3177
3178         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3179         (Virtual): New structs.
3180         (virtual_o, virtual_middle_b): New globals.
3181         * gdb.cp/virtbase.exp: New tests.
3182
3183 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
3184
3185         * gdb.base/jit.exp: New file.
3186         * gdb.base/jit-main.c: New file.
3187         * gdb.base/jit-solib.c: New file.
3188
3189 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
3190
3191         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3192         proceed to initial kernel entry point.
3193         * gdb.opencl/datatypes.exp: Likewise.
3194         * gdb.opencl/operators.exp: Likewise.
3195         * gdb.opencl/vec_comps.exp: Likewise.
3196
3197 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
3198
3199         * gdb.cp/nsnested.cc: New.
3200         * gdb.cp/nsnested.exp: New.
3201         * gdb.cp/nsnoimports.exp: New.
3202         * gdb.cp/nsnoimports.cc: New.
3203
3204 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
3205
3206         * gdb.base/interact.exp: Add extra tests that verify that
3207         the value of the interactive-mode setting does not change
3208         after the script is sourced.
3209
3210 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3211
3212         * gdb.cp/noparam.exp: New file.
3213         * gdb.cp/noparam.cc: New file.
3214
3215 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
3216
3217         * gdb.trace/tfile.exp: Test that with no traceframe selected,
3218         there's no stack or registers.
3219
3220 2011-01-26  Tom Tromey  <tromey@redhat.com>
3221
3222         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3223         space before string output.  Add test for "set print pretty off"
3224         case.
3225
3226 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
3227
3228         * gdb.base/frame-args.exp: Adjust.
3229         * gdb.dwarf2/dw2-noloc.exp: Adjust.
3230         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3231         * gdb.dwarf2/pieces.exp: Adjust.
3232         * gdb.opt/clobbered-registers-O2.exp: Adjust.
3233         * gdb.opt/inline-locals.exp: Adjust.
3234         * gdb.threads/fork-child-threads.exp: Adjust.
3235
3236 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
3237
3238         * gdb.opencl/convs_casts.cl: Move program scope variables into the
3239         OpenCL kernel function. Add a comment as marker. Add address space
3240         qualifiers for the remaining program scope variables.
3241         * gdb.opencl/datatypes.cl: Likewise.
3242         * gdb.opencl/operators.cl: Likewise.
3243         * gdb.opencl/vec_comps.cl: Likewise.
3244         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3245         Add breakpoint at the marker comment.
3246         * gdb.opencl/datatypes.exp: Likewise.
3247         * gdb.opencl/operators.exp: Likewise.
3248         * gdb.opencl/vec_comps.exp: Likewise.
3249
3250 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
3251
3252         * gdb.base/printcmds.c (some_struct): New struct and instance.
3253         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3254         procedure.
3255         <global scope>: Call it.
3256
3257 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
3258
3259         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3260         argument to the gdb_compile_opencl_hostapp call.
3261
3262 2011-01-19  Yao Qi  <yao@codesourcery.com>
3263
3264         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3265         positve list.
3266
3267 2011-01-19  Yao Qi  <yao@codesourcery.com>
3268
3269         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3270         canonical form.
3271         Remove "xscale-*-*"
3272         * gdb.xml/tdesc-regs.exp: Likewise.
3273         * gdb.python/py-section-script.exp: Replace ARM target triplet
3274         with canonical form.
3275         Match arm*-*-symbianelf*.
3276         * gdb.base/dup-sect.exp: Likewise.
3277         * lib/dwarf.exp: New.
3278         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3279         dwarf2_support.
3280         * gdb.dwarf2/dup-psym.exp: Likewise.
3281         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3282         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3283         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3284         * gdb.dwarf2/dw2-basic.exp: Likewise.
3285         * gdb.dwarf2/dw2-compressed.exp: Likewise.
3286         * gdb.dwarf2/dw2-const.exp: Likewise.
3287         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3288         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3289         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3290         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3291         * gdb.dwarf2/dw2-filename.exp: Likewise.
3292         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3293         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3294         * gdb.dwarf2/dw2-intercu.exp: Likewise.
3295         * gdb.dwarf2/dw2-intermix.exp: Likewise.
3296         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3297         * gdb.dwarf2/dw2-noloc.exp: Likewise.
3298         * gdb.dwarf2/dw2-op-call.exp: Likewise.
3299         * gdb.dwarf2/dw2-producer.exp: Likewise.
3300         * gdb.dwarf2/dw2-ranges.exp: Likewise.
3301         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3302         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3303         * gdb.dwarf2/dw2-strp.exp: Likewise.
3304         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3305         * gdb.dwarf2/implptr.exp: Likewise.
3306         * gdb.dwarf2/mac-fileno.exp: Likewise.
3307         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3308         * gdb.dwarf2/pieces.exp: Likewise.
3309         * gdb.dwarf2/pr11465.exp: Likewise.
3310         * gdb.dwarf2/valop.exp: Likewise.
3311         * gdb.dwarf2/watch-notconst.exp: Likewise.
3312         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3313
3314 2011-01-19  Tom Tromey  <tromey@redhat.com>
3315
3316         * gdb.python/py-infthread.exp: Add thread tests.
3317
3318 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3319
3320         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3321
3322 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3323
3324         * gdb.ada/widewide: New testcase.
3325
3326 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
3327
3328         * gdb.base/interact.exp: New testcase.
3329
3330 2011-01-12  Tom Tromey  <tromey@redhat.com>
3331
3332         * gdb.mi/gdb2549.exp: Update for error message changes.
3333         * gdb.mi/mi-cli.exp: Likewise.
3334         * gdb.mi/mi-disassemble.exp: Likewise.
3335         * gdb.mi/mi-pthreads.exp: Likewise.
3336         * gdb.mi/mi-regs.exp: Likewise.
3337         * gdb.mi/mi-stack.exp: Likewise.
3338         * gdb.mi/mi-var-block.exp: Likewise.
3339         * gdb.mi/mi-var-cmd.exp: Likewise.
3340         * gdb.mi/mi2-cli.exp: Likewise.
3341         * gdb.mi/mi2-disassemble.exp: Likewise.
3342         * gdb.mi/mi2-pthreads.exp: Likewise.
3343         * gdb.mi/mi2-regs.exp: Likewise.
3344         * gdb.mi/mi2-stack.exp: Likewise.
3345         * gdb.mi/mi2-var-block.exp: Likewise.
3346         * gdb.mi/mi2-var-cmd.exp: Likewise.
3347
3348 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3349             Jan Kratochvil  <jan.kratochvil@redhat.com>
3350
3351         PR fortran/11104 and DWARF unbound arrays detection.
3352         * gdb.fortran/multi-dim.exp: New file.
3353         * gdb.fortran/multi-dim.f90: New file.
3354
3355 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3356
3357         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3358         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3359         add new tests for opcode dumping.
3360
3361 2011-01-11  Tom Tromey  <tromey@redhat.com>
3362
3363         * gdb.python/py-infthread.exp: Load gdb-python.exp.
3364
3365 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3366
3367         Convert hardware watchpoints to use breakpoint_ops.
3368         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3369         type is not supported.
3370         * gdb.base/foll-fork.exp: Likewise.
3371         * gdb.base/foll-vfork.exp: Likewise.
3372
3373 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
3374
3375         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3376         Use load_lib gdb-python.exp.
3377         * gdb.python/python.exp: Ditto.
3378         * gdb.python/py-function.exp: Ditto.
3379
3380 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
3381
3382         * gdb.threads/tls.exp ("info address me"): Fix expected output.
3383
3384 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3385
3386         * configure: Regenerate.
3387
3388 2011-01-06  Tom Tromey  <tromey@redhat.com>
3389
3390         * gdb.python/py-frame.exp: Test gdb.newest_frame.
3391
3392 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3393
3394         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3395         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3396         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3397         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3398         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3399         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3400         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3401         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3402         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3403         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3404         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3405         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3406         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3407         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3408         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3409         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3410         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3411         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3412         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3413         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3414         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3415         gdb.ada/uninitialized_vars.exp,
3416         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3417         Simplify by using clean_restart.
3418
3419 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3420
3421         Add marker to be used as anchor for inserting breakpoints.
3422         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3423         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3424         Likewise.
3425
3426         Remove uses of gdb_start_cmd.
3427         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3428         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3429
3430         Do not run testcase if testing with GDBserver.
3431         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3432         if testing with GDBserver.
3433
3434 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3435
3436         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3437         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3438         copyright header.
3439
3440 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3441
3442         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3443         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3444         testsuite/gdb.fortran/complex.f,
3445         testsuite/gdb.fortran/derived-type.f90,
3446         testsuite/gdb.fortran/library-module-lib.f90,
3447         testsuite/gdb.fortran/library-module-main.f90,
3448         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3449         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3450         Copyright year update.
3451
3452 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3453
3454         * gdb.base/langs1.f: Add copyright header.
3455
3456 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3457
3458         * gdb.base/morestack.exp: New file.
3459         * gdb.base/morestack.c: New file.
3460
3461 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3462
3463         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3464
3465 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3466
3467         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3468         * gdb.ada/arrayptr.exp: Add test printing that new variable.
3469
3470 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3471
3472         * gdb.ada/lang_switch.exp: Correct expected parameter value.
3473
3474 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
3475
3476         * gdb.threads/tls.exp: Fix typo.
3477
3478         * gdb.threads/thread-specific.exp (get_thread_list): Update.
3479         * gdb.threads/execl.exp: Update.
3480
3481 2010-12-23  Yao Qi  <yao@codesourcery.com>
3482
3483         * gdb.arch/arm-disp-step.exp: New.
3484         * gdb.arch/arm-disp-step.S: New.
3485
3486 2010-12-21  Tom Tromey  <tromey@redhat.com>
3487
3488         * gdb.threads/execl.exp: Update.
3489         * gdb.threads/linux-dp.exp: Update.
3490         * gdb.threads/manythreads.exp: Update.
3491         * gdb.threads/tls.exp: Update.
3492
3493 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3494
3495         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3496         (NextOverThrowDerivates) <resumebpt>: New.
3497         (resumebpt_test): New.
3498         (main): Call resumebpt_test.
3499         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3500
3501 2010-12-12  Stan Shebs  <stan@codesourcery.com>
3502
3503         * gdb.trace/tsv.exp: Test print command on trace state variables.
3504
3505 2010-12-09  Tom Tromey  <tromey@redhat.com>
3506
3507         * gdb.base/interp.exp: Add regression test.
3508
3509 2010-12-09  Tom Tromey  <tromey@redhat.com>
3510
3511         * gdb.java/jnpe.java: New file.
3512         * gdb.java/jnpe.exp: New file.
3513         * gdb.cp/nextoverthrow.exp: New file.
3514         * gdb.cp/nextoverthrow.cc: New file.
3515
3516 2010-12-07  Doug Evans  <dje@google.com>
3517
3518         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3519         of data-directory.
3520         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3521         updated.
3522         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3523
3524 2010-11-29  Michael Snyder  <msnyder@vmware.com>
3525
3526         * gdb.base/callfuncs.exp: Test for skip_float_tests.
3527         * gdb.base/call-sc.exp: Ditto.
3528         * gdb.base/finish.exp: Ditto.
3529         * gdb.base/return.exp: Ditto.
3530         * gdb.base/return2.exp: Ditto.
3531
3532 2010-11-30  Doug Evans  <dje@google.com>
3533
3534         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3535         (gdb_expect_list): Fix spelling errors in comments.
3536         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3537         send_gdb/gdb_expect_list where applicable.
3538         * gdb.base/call-ar-st.exp: Ditto.
3539         * gdb.base/funcargs.exp: Ditto.
3540         * gdb.base/gcore.exp: Ditto.
3541         * gdb.base/page.exp: Ditto.
3542         * gdb.base/sigaltstack.exp: Ditto.
3543         * gdb.base/siginfo.exp: Ditto.
3544         * gdb.base/sigstep.exp: Ditto.
3545         * gdb.base/trace-commands.exp: Ditto.
3546
3547 2010-11-29  Doug Evans  <dje@google.com>
3548
3549         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3550         printer-name;subprinter-name.
3551
3552 2010-11-29  Tom Tromey  <tromey@redhat.com>
3553
3554         * gdb.dwarf2/implptr.exp: New file.
3555         * gdb.dwarf2/implptr.c: New file.
3556         * gdb.dwarf2/implptr.S: New file.
3557
3558 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3559
3560         PR python/12199
3561
3562         * gdb.python/py-breakpoint.exp: Test the delete method.
3563
3564 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3565
3566         Fix step_resume_breakpoint unsaved during an infcall.
3567         * gdb.base/step-resume-infcall.exp: New file.
3568         * gdb.base/step-resume-infcall.c: New file.
3569
3570 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3571
3572         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3573
3574 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3575
3576         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3577         on ppc64's symbols; "finish" and "return" commands must accept to
3578         show the caller line again as well as the line after.
3579         * gdb.asm/powerpc64.inc: New file.
3580
3581 2010-11-23  Doug Evans  <dje@google.com>
3582
3583         * lib/gdb.exp (gdb_test_sequence): New function.
3584         (gdb_expect_list): Add verbose -log call for each pattern.
3585         * gdb.base/signals.exp (test_handle_all_print): Call it.
3586         Reduce timeout increment from 6 minutes to 1 minute.
3587         * gdb.server/ext-run.exp: Call it.
3588
3589 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
3590
3591         PR python/12212
3592
3593         * gdb.python/python.exp: Check that selected_thread raises an
3594         error when no inferior is loaded.
3595
3596 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3597
3598         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3599         * gdb.dwarf2/dw2-stack-boundary.S: New file.
3600
3601 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3602
3603         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3604         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3605
3606 2010-11-18  Doug Evans  <dje@google.com>
3607
3608         * gdb.server/ext-run.exp: Fix intermittent failures.
3609
3610 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3611
3612         * gdb.stabs/gdb11479.exp: Use runto_main.
3613
3614 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3615
3616         * gdb.base/break-entry.exp: Skip if using a stub.
3617
3618 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3619
3620         * gdb.python/py-inferior.exp: Pack values in target endianness.
3621
3622 2010-11-12  Tom Tromey  <tromey@redhat.com>
3623
3624         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3625         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3626         MemoryError.
3627         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3628         type.
3629         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3630         MemoryError.
3631         (test_subscript_regression): Update exception type.
3632
3633 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
3634
3635         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3636         breakpoint tests.
3637
3638 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
3639
3640         * gdb.base/watchpoint.exp: Test "watch -location" with an
3641         innacessible location.
3642
3643 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
3644             Luis Machado  <luisgpm@br.ibm.com>
3645
3646         * gdb.base/maint.exp: Expect "." prefix.
3647         * gdb.base/nodebug.exp: Expect "." Likewise.
3648         * gdb.base/sepsymtab.exp: Expect "." Likewise.
3649         * gdb.base/watchpoint-cond-gone.exp: Likewise.
3650         * gdb.base/watchpoint.exp: Expect a software watch to be created for
3651         POWER server processors.
3652
3653 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
3654             Luis Machado  <luisgpm@br.ibm.com>
3655
3656         * gdb.base/break-entry.exp: convert entry point for
3657         ppc64 and expect leading `.' on ppc64's symbols
3658
3659 2010-11-05  Doug Evans  <dje@google.com>
3660
3661         * gdb.base/help.exp: Update expected output.
3662         * gdb.python/py-param.exp: Delete, contents moved to ...
3663         * gdb.python/py-parameter.exp: ... here.  New file.
3664         Add test for gdb.parameter ("directories").
3665
3666 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
3667
3668         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3669         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3670         * configure: Regenerate.
3671         * gdb.opencl/Makefile.in: New File.
3672         * gdb.opencl/datatypes.exp: Likewise.
3673         * gdb.opencl/datatypes.cl: Likewise.
3674         * gdb.opencl/operators.exp: Likewise.
3675         * gdb.opencl/operators.cl: Likewise.
3676         * gdb.opencl/vec_comps.exp: Likewise.
3677         * gdb.opencl/vec_comps.cl: Likewise.
3678         * gdb.opencl/convs_casts.exp: Likewise.
3679         * gdb.opencl/convs_casts.cl: Likewise.
3680         * lib/opencl.exp: Likewise.
3681         * lib/opencl_hostapp.c: Likewise.
3682         * lib/opencl_kernel.cl: Likewise.
3683         * lib/cl_util.c: Likewise.
3684         * lib/cl_util.c: Likewise.
3685         * gdb.base/default.exp (set language): Add "opencl" to the list of
3686         languages.
3687
3688 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
3689
3690         * gdb.cp/overload.exp: Added test for inheritance overload.
3691         * gdb.cp/overload.cc: Ditto.
3692         * gdb.cp/oranking.exp: Removed releveant kfails.
3693
3694 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3695             Joel Brobecker  <brobecker@adacore.com>
3696
3697         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3698         check test_compiler_info.
3699
3700 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3701
3702         * gdb.base/gnu_vector.exp: Adjust expect messages.
3703
3704 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3705
3706         * gdb.base/gnu_vector.exp: Add unary operator tests.
3707
3708 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3709
3710         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3711
3712 2010-11-02  Doug Evans  <dje@google.com>
3713
3714         * gdb.python/py-pp-maint.c: New file.
3715         * gdb.python/py-pp-maint.exp: New file.
3716         * gdb.python/py-pp-maint.py: New file.
3717
3718 2010-11-02  Tom Tromey  <tromey@redhat.com>
3719
3720         * gdb.base/default.exp: Remove "scheme" from language list.
3721
3722 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3723
3724         Revert:
3725         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3726         * gdb.threads/sigstep-threads.exp: New file.
3727         * gdb.threads/sigstep-threads.c: New file.
3728
3729 2010-10-20  Michael Snyder  <msnyder@vmware.com>
3730
3731         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3732
3733 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3734
3735         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3736         Skip test completely if gdb,no_hardware_watchpoints.
3737
3738 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3739
3740         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3741         strict, but do not check for any particular function name within libc.
3742
3743 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3744
3745         * gdb.cp/smartp.exp: New test.
3746         * gdb.cp/smartp.cc : New test.
3747
3748 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3749
3750         * gdb.cp/converts.exp: Test pointer to bool conversion.
3751         Test pointer to long conversion.
3752         * gdb.cp/oranking.exp: Removed relevant kfail.
3753
3754 2010-10-18  Tom Tromey  <tromey@redhat.com>
3755
3756         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3757         argument to lazy_string.
3758         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3759         (pp_ls.to_string): Use it.
3760         * gdb.python/py-prettyprint.c (main): Move declarations to top.
3761         Add "estring2" local.
3762
3763 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3764
3765         Fix s390x compatibility.
3766         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
3767         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3768
3769 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3770
3771         * gdb.threads/sigstep-threads.exp: New file.
3772         * gdb.threads/sigstep-threads.c: New file.
3773
3774 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3775
3776         * gdb.base/pie-execl.exp: New file.
3777         * gdb.base/pie-execl.c: New file.
3778
3779 2010-10-13  Doug Evans  <dje@google.com>
3780             Jan Kratochvil  <jan.kratochvil@redhat.com>
3781
3782         PR exp/12117
3783         * gdb.cp/ptype-cv-cp.cc: New file.
3784         * gdb.cp/ptype-cv-cp.exp: New file.
3785
3786 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
3787
3788         * gdb.cp/converts.cc: New test program.
3789         * gdb.cp/converts.exp: New test.
3790         * gdb.cp/overload.exp: Added test for void* vs int*.
3791         * gdb.cp/overload.exp: Ditto.
3792         * gdb.cp/oranking.exp: Removed related kfail.
3793
3794 2010-10-13  Doug Evans  <dje@google.com>
3795
3796         * lib/gdb-python.exp (gdb_check_python_config): New function.
3797         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3798         * gdb.python/lib-types.cc: New file.
3799         * gdb.python/lib-types.exp: New file.
3800
3801 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3802
3803         * gdb.python/py-error.exp: New file.
3804         * gdb.python/py-error.py: New file.
3805
3806 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3807
3808         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3809         gdb_test_multiple.
3810
3811 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3812
3813         * gdb.base/break-interp.exp: Use ldlags for linking flags.
3814         * gdb.base/prelink.exp: Likewise.
3815         * gdb.base/solib-nodir.exp: Likewise.
3816         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3817         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3818         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3819
3820 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
3821
3822         * break-interp.exp (test_ld): Use two separate gdb_expect statements
3823         for the "info files" test to avoid timeouts on slow machines.
3824
3825 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3826
3827         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3828         (main): Make openlib dummy call.
3829
3830 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3831
3832         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3833         * break-interp.exp (reach): Move the core body ...
3834         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
3835         (test_ld): Provide always real argument, even to the linker.  Replace
3836         dl_main by _dl_debug_state.
3837
3838 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3839
3840         Fix results of prelinked PIEs on ppc*.
3841         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3842         Accept also DISPLACEMENT "PRESENT".
3843         (main): Replace "ZERO" displacements by "PRESENT".
3844
3845 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
3846
3847         * gdb.cp/oranking.exp: New test.
3848         * gdb.cp/oranking.cc: New test program.
3849
3850 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
3851
3852         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3853         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3854
3855 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3856
3857         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3858         lush, lynx) New constant.
3859         * gdb.base/constvars.exp: Test const array types.
3860         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3861
3862 2010-10-06  Doug Evans  <dje@google.com>
3863
3864         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3865         of syscall staging area.
3866
3867 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3868
3869         * gdb.base/gnu_vector.c: Add variable c4.
3870         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3871         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3872
3873 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
3874
3875         * gdb.arch/altivec-abi.exp: Fix a typo.
3876
3877 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
3878
3879         * lib/mi-support.exp (thread_selected_re): Correct pattern used
3880         to match a thread ID.
3881
3882 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3883
3884         Fix s390x testcase compatibility.
3885         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3886
3887 2010-10-01  Doug Evans  <dje@google.com>
3888
3889         * lib/gdb-python.exp: New file.
3890         * gdb.python/py-block.exp: Use it.
3891         * gdb.python/py-breakpoint.exp: Ditto.
3892         * gdb.python/py-frame.exp: Ditto.
3893         * gdb.python/py-inferior.exp: Ditto.
3894         * gdb.python/py-param.exp: Ditto.
3895         * gdb.python/py-prettyprint.exp: Ditto.
3896         * gdb.python/py-shared.exp: Ditto.
3897         * gdb.python/py-symbol.exp: Ditto.
3898         * gdb.python/py-symtab.exp: Ditto.
3899         * gdb.python/py-type.exp: Ditto.
3900         * gdb.python/py-value.exp: Ditto.
3901         * gdb.python/python.exp: Ditto.
3902
3903 2010-09-30  Tom Tromey  <tromey@redhat.com>
3904
3905         * gdb.base/anon.exp: New file.
3906         * gdb.base/anon.c: New file.
3907
3908 2010-09-30  Tom Tromey  <tromey@redhat.com>
3909
3910         * gdb.base/completion.exp: Test completion through anonymous
3911         union.
3912         * gdb.base/break1.c (struct some_struct): Add anonymous union.
3913
3914 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3915
3916         Fix printing parameters of inlined functions.
3917         * gdb.dwarf2/dw2-inline-param.exp: New file.
3918         * gdb.dwarf2/dw2-inline-param-main.c: New file.
3919         * gdb.dwarf2/dw2-inline-param.S: New file.
3920
3921 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3922
3923         PR corefiles/12071.
3924         * gdb.base/corefile.exp (quit with a process, no question: load core)
3925         (quit with a core file): New tests.
3926
3927 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3928
3929         Fix GDB crash on inferior calls with self-referencing classes.
3930         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3931         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3932         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3933
3934 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3935
3936         Fix lost siginfo_t for inferior calls.
3937         * gdb.base/siginfo-infcall.exp: New file.
3938         * gdb.base/siginfo-infcall.c: New file.
3939
3940 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3941
3942         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3943
3944 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3945
3946         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3947         New test.
3948         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3949
3950 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3951
3952         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3953         type of our const type.
3954
3955 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
3956
3957         * gdb.cp/pr12028.cc: New.
3958         * gdb.cp/pr12028.exp: New.
3959
3960 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3961
3962         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3963
3964 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
3965             Jan Kratochvil  <jan.kratochvil@redhat.com>
3966
3967         PR mi/11407
3968         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3969         * gdb.mi/dw2-ref-missing-frame-main.c New File.
3970         * gdb.mi/dw2-ref-missing-frame.S New File.
3971         * gdb.mi/dw2-ref-missing-frame.exp New File.
3972
3973 2010-09-14  Tom Tromey  <tromey@redhat.com>
3974
3975         PR symtab/8399:
3976         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
3977
3978 2010-09-14  Tom Tromey  <tromey@redhat.com>
3979
3980         PR exp/11803:
3981         * gdb.threads/tls.exp: Use C++.
3982         (check_thread_local): Use K::another_thread_local.
3983         * gdb.threads/tls.c (class K): New.
3984         (another_thread_local): Now a member of K.
3985         (spin): Update.  No longer K&R C.
3986
3987 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
3988
3989         * gdb.cp/koenig.cc: created class for testing member lookup.
3990         * gdb.cp/koenig.exp: Added test for member lookup.
3991
3992 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3993
3994         Fix false FAILs on sourcetree topdir directory containing "kill".
3995         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3996         source line matching regexp.
3997
3998 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3999
4000         * gdb.python/python.exp (set height 0, collect help from uiout)
4001         (verify help to uiout): New tests.
4002
4003 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4004
4005         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4006         is_lp64_target to check 64bit target.
4007
4008 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4009
4010         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4011         (test_ld) <powerpc64-*>: New.
4012
4013 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4014
4015         * gdb.cp/templates.exp (test_template_args): Allow "struct".
4016
4017 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4018
4019         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4020         (FunctionArg::method): New function.
4021         (empty, arg): New variables.
4022         (main): Call arg.method.
4023         * gdb.cp/templates.exp (test_template_args): New function.
4024         (do_tests): Call it.
4025
4026 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
4027
4028         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4029         of "next" to proceed over pthread_exit call.
4030
4031 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
4032
4033         * gdb.base/maint.exp: Avoid wildcards against potentially very long
4034         "maint print statistics" output to prevent expect timeouts.
4035
4036 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4037
4038         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4039         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4040         (test_float_rejected): ... here.
4041         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4042         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4043         (test_float_rejected): ... here.
4044         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4045         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4046         (test_float_rejected): ... here.
4047         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4048         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4049         (test_float_rejected): ... here.
4050
4051 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
4052
4053         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4054         before disabling hardware watchpoints.
4055         (test_inaccessible_watchpoint): Check that hardware watchpoints
4056         are used.  Test for watchpoints on a constant address.
4057
4058 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4059
4060         * gdb.base/ui-redirect.exp: New file.
4061
4062 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4063             Joel Brobecker  <brobecker@adacore.com>
4064
4065         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4066
4067 2010-08-31  Doug Evans  <dje@google.com>
4068
4069         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4070
4071 2010-08-30  Tom Tromey  <tromey@redhat.com>
4072
4073         PR python/11792:
4074         * gdb.python/py-value.exp (test_subscript_regression): Add
4075         dynamic_type test.
4076
4077 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
4078
4079         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4080         instead of running to main.  Do not test the main function.
4081         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4082         Add new main.
4083
4084 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
4085
4086         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4087         one test.
4088
4089 2010-08-24  Doug Evans  <dje@google.com>
4090
4091         PR symtab/11942
4092         * gdb.dwarf2/dw4-sig-types.cc: New file.
4093         * gdb.dwarf2/dw4-sig-types.h: New file.
4094         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4095         * gdb.dwarf2/dw4-sig-types.exp: New file.
4096
4097 2010-08-23  Tom Tromey  <tromey@redhat.com>
4098
4099         PR python/11145:
4100         * gdb.python/py-value.c (Base, Derived): New types.
4101         (base): New global.
4102         * gdb.python/py-value.exp (test_subscript_regression): Add
4103         dynamic_cast test.
4104
4105 2010-08-23  Tom Tromey  <tromey@redhat.com>
4106
4107         PR python/10676:
4108         * gdb.python/py-type.exp (test_fields): Add tests for type
4109         equality.
4110
4111 2010-08-23  Tom Tromey  <tromey@redhat.com>
4112
4113         PR python/11915:
4114         * gdb.python/py-type.exp (test_fields): Add tests for array.
4115
4116 2010-08-23  Keith Seitz  <keiths@redhat.com>
4117
4118         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4119         have any children. Create a new abbrev for it.
4120         Add missing terminal sequence to .debug_abbrev.
4121
4122 2010-08-20  Keith Seitz  <keiths@redhat.com>
4123
4124         PR symtab/11465:
4125         * gdb.dwarf2/pr11465.exp: New test.
4126         * gdb.dwarf2/pr11465.S: New file.
4127         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4128         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4129
4130 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4131
4132         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4133         registers.  Update data sets with the new v2_double element in the
4134         VSX register union.  Add vector_register3_vr data set for the AltiVec
4135         registers.  Use gdb_test_no_output instead of send_gdb.
4136
4137 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
4138
4139         * gdb.python/py-shared.exp: New file, factored out from
4140         python.exp.
4141         * gdb.python/py-shared.c: New file.
4142         * gdb.python/py-shared-sl.c: New file.
4143         * gdb.python/python-1.c: New file.
4144         * gdb.python/python-sl.c: Delete.
4145         * gdb.python/python.c: Mention python-1.c.
4146         * gdb.python/python.exp: Move shared library tests to
4147         py-shared.exp.
4148         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4149         (MISCELLANEOUS): New.
4150         (clean mostlyclean): Also remove $MISCELLANEOUS.
4151
4152 2010-08-19  Doug Evans  <dje@google.com>
4153
4154         PR exp/11926
4155         * gdb.base/printcmds.exp (test_float_accepted): New function.
4156         Move existing float tests there.  Add tests for floats with suffixes.
4157         (test_float_rejected): New function.
4158         * gdb.java/jv-print.exp (test_float_accepted): New function.
4159         (test_float_rejected): New function.
4160         * gdb.objc/print.exp: New file.
4161         * gdb.pascal/print.exp: New file.
4162         * lib/objc.exp: New file.
4163
4164 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
4165
4166         * gdb.base/default.exp (info set): Avoid full buffer error and force
4167         reading up to final gdb prompt.
4168         (show): Likewise.
4169
4170 2010-08-18  Tom Tromey  <tromey@redhat.com>
4171
4172         PR symtab/11919:
4173         * gdb.base/completion.exp: Add test.
4174
4175 2010-08-18  Doug Evans  <dje@google.com>
4176
4177         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4178         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4179         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4180         Simplify, early exit if runto_main fails.
4181         * gdb.fortran/exprs.exp: load_lib fortran.exp.
4182         (set_lang_fortran): Moved to lib/fortran.exp.
4183         * gdb.fortran/types.exp: load_lib fortran.exp.
4184         (set_lang_fortran): Moved to lib/fortran.exp.
4185         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4186         * gdb.java/jprint.exp (set_lang_java): Ditto.
4187         * gdb.java/jv-exp.exp: load_lib java.exp.
4188         If set_lang_java fails, issue a warning instead of failure to be
4189         consistent with other set_lang_foo uses.
4190         (set_lang_java): Moved to lib/java.exp.
4191         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4192         If set_lang_java fails, issue a warning instead of failure to be
4193         consistent with other set_lang_foo uses.
4194         * gdb.pascal/types.exp: load_lib pascal.exp.
4195         (set_lang_pascal): Moved to lib/pascal.exp.
4196         * lib/fortran.exp: New file.
4197         * lib/java.exp (set_lang_java): New function.
4198         * lib/pascal.exp (set_lang_pascal): New function.
4199
4200 2010-08-18  Yao Qi  <yao@codesourcery.com
4201
4202         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4203         func_nofb_start and func_loopfb_start, so that address of functions
4204         is equal to these labels on Thumb.
4205
4206 2010-08-18  Yao Qi  <yao@codesourcery.com>
4207
4208         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4209         to reflect latest c source file.
4210
4211 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4212
4213         * gdb.cp/infcall-dlopen.exp: New file.
4214         * gdb.cp/infcall-dlopen.cc: New file.
4215         * gdb.cp/infcall-dlopen-lib.cc: New file.
4216
4217 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4218             Pedro Alves  <pedro@codesourcery.com>
4219
4220         PR breakpoints/11371
4221
4222         * gdb.base/watch-cond-infcall.exp: New file.
4223         * gdb.base/watch-cond-infcall.c: New file.
4224
4225 2010-08-16  Tom Tromey  <tromey@redhat.com>
4226
4227         * gdb.base/help.exp: Update.
4228         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4229         watchpoint.
4230         (test_watch_location): New proc.
4231         (test_watchpoint_in_big_blob): Delete watchpoint.
4232         * gdb.base/watchpoint.c (func5): New function.
4233         (main): Call it.
4234
4235 2010-08-16  Doug Evans  <dje@google.com>
4236
4237         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4238
4239 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
4240
4241         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4242         tests.
4243
4244 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
4245
4246         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4247         * gdb.base/gnu_vector.c: New File.
4248         * gdb.base/gnu_vector.exp: Likewise.
4249
4250 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
4251
4252         * gdb.python/python.c: New File.
4253         * gdb.python/python-sl.c: New File.
4254         * gdb.python/python.exp: Test solib_address and decode_line
4255         * functions.
4256
4257 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4258
4259         * gdb.python/python.exp (show height, set height 10)
4260         (verify pagination beforehand, verify pagination beforehand: q)
4261         (gdb.execute does not page, verify pagination afterwards)
4262         (verify pagination afterwards: q): New.
4263
4264 2010-08-02  Doug Evans  <dje@google.com>
4265
4266         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4267         because of an older gcc, change test2
4268         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4269         to unsupported.
4270
4271 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
4272
4273         * gdb.base/break-always.exp: Do not expect full paths to file
4274         names.
4275         * gdb.base/commands.exp: Likewise.
4276
4277 2010-07-30  Doug Evans  <dje@google.com>
4278
4279         * gdb.cp/temargs.exp: For new tests that require newer gccs,
4280         xfail them when run with older gccs.
4281
4282         * lib/gdb.exp (build_executable): Forward "c++" option to
4283         get_compiler_info.
4284
4285         * gdb.python/py-type.exp (test_template): Mark as xfail tests
4286         "python print ttype.template_argument(1)" and
4287         "python print isinstance(ttype.template_argument(1), gdb.Value)"
4288         if using gcc 4.4 or earlier.
4289
4290         * gdb.base/valgrind-db-attach.exp: Use unique test name for
4291         attach-to-debugger handling.
4292
4293 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4294
4295         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4296         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4297         (main): Use copyreloc.
4298         * gdb.base/prelink.exp (split debug of executable)
4299         (.dynbss vs. .bss address shift): New tests.
4300
4301 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
4302
4303         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4304         in gdb_test_multiple.
4305
4306 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
4307
4308         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4309         environment.
4310
4311 2010-07-28  Tom Tromey  <tromey@redhat.com>
4312
4313         PR python/11060:
4314         * gdb.python/py-type.c (Temargs): New template.
4315         (temvar): New variable.
4316         * gdb.python/py-type.exp (test_template): New proc.
4317
4318 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
4319
4320         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4321         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4322
4323 2010-07-28  Tom Tromey  <tromey@redhat.com>
4324
4325         PR c++/9946:
4326         * gdb.cp/temargs.exp: New file.
4327         * gdb.cp/temargs.cc: New file.
4328
4329 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4330
4331         * gdb.base/help.exp (help disassemble): Update the content.
4332
4333 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4334
4335         * gdb.threads/ia64-sigill.exp: New file.
4336         * gdb.threads/ia64-sigill.c: New file.
4337
4338 2010-07-27  Tom Tromey  <tromey@redhat.com>
4339
4340         * gdb.opt/inline-cmds.c (ATTR): New define.
4341         (func1): Use it.
4342         (func2): Likewise.
4343         (func3): Likewise.
4344         (outer_inline1): Likewise.
4345         (outer_inline2): Likewise.
4346         * gdb.opt/inline-bt.c (ATTR): New define.
4347         (func1): Use it.
4348         (func2): Likewise.
4349         * gdb.opt/inline-locals.c (ATTR): New define.
4350         (func1): Use it.
4351         (func2): Likewise.
4352
4353 2010-07-27  Tom Tromey  <tromey@redhat.com>
4354
4355         * gdb.stabs/gdb11479.c (hack): New function.
4356         (test): Use it.
4357         (test2): Use it.
4358         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4359         (int32_search_buf, int64_search_buf): No longer static.
4360         (x): Remove.
4361         * gdb.base/relocate.c (hack): New function.
4362
4363 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
4364
4365         * gdb.python/py-value.exp (test_inferior_function_call): New function.
4366         * gdb.python/py-value.c (func1): New function.
4367         (func2): Likewise.
4368
4369 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
4370
4371         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4372         as not to clash with .data section.
4373
4374 2010-07-26  Jerome Guitton  <guitton@adacore.com>
4375
4376         * gdb.base/code_elim.exp: New file.
4377         * gdb.base/code_elim1.c: New file.
4378         * gdb.base/code_elim2.c: New file.
4379
4380 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
4381
4382         PR symtab/11827
4383
4384         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4385         (some_volatile_enum): New variable.
4386         * gdb.base/printcmds.exp (test_print_enums): New.
4387         <top level>: Call it.
4388
4389 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
4390
4391         * gdb.cp/fpointer.cc: New test.
4392         * gdb.cp/fpointer.exp: New test.
4393
4394 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4395
4396         * gdb.base/solib-nodir.exp: New file.
4397         * lib/gdb.exp (runto): New case for a GDB internal error.
4398
4399 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4400             Ulrich Weigand  <uweigand@de.ibm.com>
4401             Tom Tromey  <tromey@redhat.com>
4402
4403         * gdb.base/charset-malloc.c: New file.
4404         * gdb.base/charset.c (malloc_stub): New prototype.
4405         (main): Call it instead of malloc itself.
4406         * gdb.base/charset.exp: Use only prepare_for_testing.
4407         (binfile): Remove the variable.
4408
4409 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4410
4411         Make core files the process_stratum.
4412         * gdb.base/corefile.exp (run: load core again)
4413         (run: sanity check we see the core file, run: with core)
4414         (run: core file is cleared, attach: load core again)
4415         (attach: sanity check we see the core file, attach: with core)
4416         (attach: core file is cleared): New tests.
4417         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
4418
4419 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
4420
4421         * gdb.arch/altivec-abi.exp: New tests.
4422
4423 2010-07-13  Tom Tromey  <tromey@redhat.com>
4424
4425         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4426         (main): Use it.
4427         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4428
4429 2010-07-13  Tom Tromey  <tromey@redhat.com>
4430
4431         * gdb.base/label.exp: New file.
4432         * gdb.base/label.c: New file.
4433
4434 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
4435             H.J. Lu  <hongjiu.lu@intel.com>
4436
4437         * lib/gdb.exp (is_ilp32_target): New.
4438         (is_lp64_target): Likewise.
4439
4440         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4441         target.
4442         * gdb.arch/amd64-disp-step.exp: Likewise.
4443         * gdb.arch/amd64-dword.exp: Likewise.
4444         * gdb.arch/amd64-i386-address.exp: Likewise.
4445         * gdb.arch/amd64-word.exp: Likewise.
4446
4447         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4448         target.
4449         * gdb.arch/i386-bp_permanent.exp: Likewise.
4450         * gdb.arch/i386-byte.exp: Likewise.
4451         * gdb.arch/i386-disp-step.exp: Likewise.
4452         * gdb.arch/i386-gnu-cfi.exp: Likewise.
4453         * gdb.arch/i386-prologue.exp: Likewise.
4454         * gdb.arch/i386-size-overlap.exp: Likewise.
4455         * gdb.arch/i386-size.exp: Likewise.
4456         * gdb.arch/i386-sse.exp: Likewise.
4457         * gdb.arch/i386-unwind.exp: Likewise.
4458         * gdb.arch/i386-word.exp: Likewise.
4459
4460         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4461         test only when building 64-bit executables.  Do not hard-code
4462         -m64 option.
4463
4464 2010-07-07  Doug Evans  <dje@google.com>
4465
4466         * lib/gdb.exp (gdb_test_list_exact): New function.
4467         * gdb.base/default.exp (show convenience): Call it, add tests for
4468         $_sdata = void, $_thread = 0.
4469
4470 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4471             Joel Brobecker  <brobecker@adacore.com>
4472
4473         Fix re-run of PIE executable, PR shlibs/11776.
4474         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4475         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
4476         and re-"run" of the inferior.
4477
4478 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4479             Joel Brobecker  <brobecker@adacore.com>
4480
4481         Cope with missing /usr/sbin/prelink.
4482         * lib/prelink-support.exp (prelink_no):
4483         <result == 1 && $output is "no such file or directory">: New.
4484         (prelink_yes): Likewise.  Return on failed prelink_no.
4485
4486 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4487             Joel Brobecker  <brobecker@adacore.com>
4488
4489         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
4490         build_executable by build_executable_own_libs.  Replace "prelink -R"
4491         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
4492         change.
4493         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
4494         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
4495         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4496         Replace build_executable by build_executable_own_libs's function
4497         build_executable_own_libs.
4498         (prelinkNO): Create new stub to call prelink_no.
4499         (prelinkYES): Create new stub to call prelink_yes.
4500         (test_attach): Rename calls of copy to file_copy.
4501         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4502         (copy): Move to ...
4503         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
4504         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4505         * gdb.base/prelink.exp: Disable testcase also for is_remote and
4506         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
4507         special flags by gdb_compile_shlib.  Replace second gdb_compile by
4508         build_executable_own_libs.  Replace "prelink -R" execution by a call of
4509         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
4510         a second call of prelink_yes.  Replace restart commands by
4511         clean_restart.
4512         (prelink): Rename to ...
4513         (seen displacement message): ... this test.  Extend its expectation
4514         strictness.
4515
4516 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4517
4518         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4519         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4520         displacement message exactly once.
4521
4522 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4523             Joel Brobecker  <brobecker@adacore.com>
4524
4525         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
4526         its restore after the <$relink_args != ""> loop.  new comment.
4527
4528 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4529             Joel Brobecker  <brobecker@adacore.com>
4530
4531         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4532         code for it.  New variable relink_args.
4533         (prelinkYES): Call prelinkNO.
4534         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
4535         in such case.  Move the core code to ...
4536         (test_attach_gdb): ... a new function.  Send GDB command "file".
4537         Extend expected "Attaching to " string.
4538
4539 2010-07-02  Tom Tromey  <tromey@redhat.com>
4540
4541         * gdb.base/bitops.exp: Remove extraneous "pass".
4542
4543 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
4544
4545         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4546
4547 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4548
4549         * gdb.base/help.exp: Adjust expected output.
4550
4551 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4552
4553         * gdb.base/help.exp: Adjust expected output.
4554
4555 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4556
4557         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4558         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4559         c++/11702.
4560
4561 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4562             Doug Evans  <dje@google.com>
4563
4564         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4565         add .dynamic entry'.
4566
4567 2010-06-29  Doug Evans  <dje@google.com>
4568
4569         Test PR c++/11702.
4570         * gdb.cp/m-static.exp: Add testcase.
4571         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4572
4573 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
4574             Tom Tromey  <tromey@redhat.com>
4575             Thiago Jung Bauermann  <bauerman@br.ibm.com>
4576
4577         * gdb.python/py-inferior.c: New File.
4578         * gdb.python/py-infthread.c: New File.
4579         * gdb.python/py-inferior.exp: New File.
4580         * gdb.python/py-infthread.exp: New File.
4581
4582 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4583
4584         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4585         (ptype ::C::OtherFileClass typedefs): New.
4586         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4587         (C::OtherFileClass::cOtherFileClassVar2): New.
4588         (C::OtherFileClass::cOtherFileClassVar_use): Use also
4589         cOtherFileClassVar2.
4590         (C::cOtherFileType2, C::cOtherFileVar2): New.
4591         (C::cOtherFileVar_use): use also cOtherFileVar2.
4592         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4593
4594 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4595
4596         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4597         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4598         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4599         (print ::C::cOtherFileVar)
4600         (whatis C::OtherFileClass::cOtherFileClassType)
4601         (whatis ::C::OtherFileClass::cOtherFileClassType)
4602         (print C::OtherFileClass::cOtherFileClassVar)
4603         (print ::cOtherFileClassVar)
4604         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4605         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4606         trailing content.
4607         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4608         (C::OtherFileClass::cOtherFileClassVar)
4609         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4610         (C::cOtherFileVar, C::cOtherFileVar_use): New.
4611
4612 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4613
4614         Test PR c++/11703 and PR gdb/1448.
4615         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4616         gdb/1448.
4617
4618 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4619
4620         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4621         (main) <rtti_data>: New.
4622         * gdb.cp/virtbase.exp (print rtti_data): New.
4623
4624 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4625             Joel Brobecker  <brobecker@adacore.com>
4626
4627         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4628
4629 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4630
4631         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4632
4633 2010-06-28  Doug Evans  <dje@google.com>
4634
4635         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4636
4637 2010-06-27  Doug Evans  <dje@google.com>
4638
4639         * gdb.cp/m-static.exp: Update expected test output.
4640
4641 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
4642
4643         * gdb.gdb/selftest.exp: Adjust expected message for
4644         capturing start-up runtime.
4645
4646 2010-06-25  Tom Tromey  <tromey@redhat.com>
4647
4648         PR python/10808:
4649         * gdb.python/python.exp: Add new tests.
4650
4651 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
4652
4653         * gdb.cp/operator.cc: Created an import loop.
4654         * gdb.cp/operator.exp: Added testcase for import loop.
4655
4656 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4657
4658         Test PR python/11407.
4659         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4660         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4661         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4662         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4663         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
4664         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4665         binfile.  Call gdb_compile with clean_restart twice.
4666         (func_nofb print, func_nofb backtrace, func_loopfb print)
4667         (func_loopfb backtrace): New.
4668
4669 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4670
4671         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4672         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4673         by a hand made one.
4674         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
4675         i?86 requirement.  Remove variables srcfile and binfile.  New variable
4676         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
4677
4678 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4679
4680         * gdb.cell/dwarfaddr.exp: New file.
4681         * gdb.cell/dwarfaddr.S: New file.
4682
4683 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4684
4685         Test PR 9436.
4686         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4687
4688 2010-06-24  Hui Zhu  <teawater@gmail.com>
4689
4690         * gdb.base/eval.exp: New file.
4691
4692 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4693
4694         * gdb.cell/fork.exp: New file.
4695         * gdb.cell/fork.c: Likewise.
4696         * gdb.cell/fork-spu.c: Likewise.
4697
4698 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
4699
4700         * lib/gdb.exp (banned_variables_traced): New global variable.
4701         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4702         (gdb_init): Use `trace add variable' instead of obsolete
4703         `trace variable'.
4704
4705 2010-06-21  Doug Evans  <dje@google.com>
4706
4707         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4708
4709 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4710
4711         * gdb.arch/spu-ls.exp: New file.
4712         * gdb.arch/spu-ls.c: Likewise.
4713
4714 2010-06-18  Stan Shebs  <stan@codesourcery.com>
4715
4716         * gdb.threads/thread-specific.exp: Add tests of $_thread.
4717
4718 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4719
4720         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4721         * gdb.base/watch-cond.exp: Likewise.
4722         * gdb.python/py-breakpoint.exp: Likewise.
4723
4724 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
4725
4726         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4727         clean_restart, make sure every test has a distinct message, and
4728         that messages don't include the executable' full path.
4729
4730 2010-06-17  Doug Evans  <dje@google.com>
4731
4732         * gdb.arch/i386-size.exp: Updated expected output for
4733         DISASSEMBLY_OMIT_FNAME.
4734
4735 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4736             Sergio Durigan Junior  <sergiodj@redhat.com>
4737
4738         * gdb.base/watch-notconst.c: New file.
4739         * gdb.base/watch-notconst.S: New file.
4740         * gdb.base/watch-notconst2.c: New file.
4741         * gdb.base/watch-notconst2.S: New file.
4742         * gdb.base/watch-notconst.exp: New file.
4743         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4744         (func4): Add operations on `global_ptr_ptr'.
4745         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4746         routine to test watchpoints created with a constant expression.
4747         (test_inaccessible_watchpoint): Include tests for watchpoints
4748         created with a constant expression.
4749
4750 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
4751
4752         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4753         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4754         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4755         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4756         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4757         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4758         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4759         of `_start'.
4760
4761 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4762
4763         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4764         not supported on the target.
4765         * gdb.mi/mi-nonstop-exit.exp: Likewise.
4766         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4767         * gdb.mi/mi-nsintrall.exp: Likewise.
4768         * gdb.mi/mi-nsmoribund.exp: Likewise.
4769         * gdb.mi/mi-nsthrexec.exp: Likewise.
4770
4771 2010-06-11  Stan Shebs  <stan@codesourcery.com>
4772
4773         * gdb.base/permissions.exp: New file.
4774
4775 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4776
4777         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4778         does not support ELF executable class.
4779
4780 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4781
4782         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4783
4784 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4785
4786         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4787         (runto): Catch "The target does not support running in non-stop mode.".
4788
4789 2010-06-11  Michael Snyder  <msnyder@vmware.com>
4790
4791         * gdb.base/setshow.exp (set language asm): Don't use
4792         gdb_test_no_output, fails on some targets.
4793
4794 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4795
4796         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4797         * gdb.cp/pr9167.exp: Likewise.
4798
4799 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4800
4801         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4802
4803 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4804
4805         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4806
4807 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4808
4809         * gdb.base/charset.c (main): Make sure malloc gets linked in.
4810
4811 2010-06-11  Tom Tromey  <tromey@redhat.com>
4812
4813         PR gdb/9977, PR exp/11636::
4814         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4815         (pieces_test_f6): Update expected output.
4816
4817 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4818
4819         * gdb.base/moribund-step.exp: New.
4820
4821 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4822
4823         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4824         * gdb.ada/boolean_expr.exp:
4825         * gdb.ada/frame_args.exp: Ditto.
4826         * gdb.ada/lang_switch.exp: Ditto.
4827         * gdb.ada/ptype_arith_binop.exp: Ditto.
4828         * gdb.ada/ref_param.exp: Ditto.
4829         * gdb.ada/type_coercion.exp:Ditto.
4830
4831         * gdb.asm/asm-source.exp: Ditto.
4832
4833         * gdb.base/attach.exp: Ditto.
4834         * gdb.base/bitfields2.exp: Ditto.
4835         * gdb.base/call-signal-resume.exp: Ditto.
4836         * gdb.base/callfuncs.exp: Ditto.
4837         * gdb.base/commands.exp: Ditto.
4838         * gdb.base/dbx.exp: Ditto.
4839         * gdb.base/default.exp: Ditto.
4840         * gdb.base/dump.exp: Ditto.
4841         * gdb.base/exprs.exp: Ditto.
4842         * gdb.base/freebpcmd.exp: Ditto.
4843         * gdb.base/interrupt.exp: Ditto.
4844         * gdb.base/list.exp: Ditto.
4845         * gdb.base/long_long.exp: Ditto.
4846         * gdb.base/maint.exp: Ditto.
4847         * gdb.base/ptype.exp: Ditto.
4848         * gdb.base/return.exp: Ditto.
4849         * gdb.base/setshow.exp: Ditto.
4850         * gdb.base/sigbpt.exp: Ditto.
4851         * gdb.base/sigrepeat.exp: Ditto.
4852
4853         * gdb.cp/classes.exp: Ditto.
4854
4855         * gdb.dwarf2/dw2-restore.exp: Ditto.
4856
4857         * gdb.gdb/selftest.exp: Ditto.
4858
4859         * gdb.multi/base.exp: Ditto.
4860         * gdb.multi/bkpt-multi-exec.exp: Ditto.
4861
4862         * gdb.python/py-block.exp: Ditto.
4863         * gdb.python/py-prettyprint.exp: Ditto.
4864         * gdb.python/py-template.exp: Ditto.
4865
4866         * gdb.server/ext-attach.exp: Ditto.
4867         * gdb.server/ext-run.exp: Ditto.
4868         * gdb.server/server-mon.exp: Ditto.
4869
4870         * gdb.threads/fork-thread-pending.exp: Ditto.
4871         * gdb.threads/hand-call-in-threads.exp: Ditto.
4872         * gdb.threads/interrupted-hand-call.exp: Ditto.
4873         * gdb.threads/linux-dp.exp: Ditto.
4874         * gdb.threads/manythreads.exp: Ditto.
4875         * gdb.threads/print-threads.exp: Ditto.
4876         * gdb.threads/pthreads.exp: Ditto.
4877         * gdb.threads/schedlock.exp: Ditto.
4878         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4879         * gdb.threads/threadapply.exp: Ditto.
4880
4881 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4882
4883         * gdb.ada/exec_changed.exp:
4884         Use ".*" instead of "" as wildcard regexp.
4885
4886         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4887         * gdb.base/call-ar-st.exp: Ditto.
4888         * gdb.base/checkpoint.exp: Ditto.
4889         * gdb.base/default.exp: Ditto.
4890         * gdb.base/dump.exp: Ditto.
4891         * gdb.base/ending-run.exp: Ditto.
4892         * gdb.base/fileio.exp: Ditto.
4893         * gdb.base/miscexprs.exp: Ditto.
4894         * gdb.base/pointers.exp: Ditto.
4895         * gdb.base/readline.exp: Ditto.
4896         * gdb.base/reread.exp: Ditto.
4897         * gdb.base/restore.exp: Ditto.
4898         * gdb.base/shlib-call.exp: Ditto.
4899         * gdb.base/valgrind-db-attach.exp: Ditto.
4900         * gdb.base/volatile.exp: Ditto.
4901         * gdb.base/watchpoints.exp: Ditto.
4902
4903         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4904
4905         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4906         * gdb.python/py-value.exp: Ditto.
4907
4908         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4909         * gdb.trace/circ.exp: Ditto.
4910         * gdb.trace/collection.exp: Ditto.
4911         * gdb.trace/packetlen.exp: Ditto.
4912         * gdb.trace/passc-dyn.exp: Ditto.
4913         * gdb.trace/report.exp: Ditto.
4914         * gdb.trace/tfile.exp: Ditto.
4915         * gdb.trace/tfind.exp: Ditto.
4916         * gdb.trace/while-dyn.exp: Ditto.
4917
4918 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4919
4920         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4921
4922 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4923
4924         Test PR 10640.
4925         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4926
4927 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
4928
4929         * gdb.cp/koenig.exp: Test for ADL operators.
4930         * gdb.cp/koenig.cc: Added ADL operators.
4931         * gdb.cp/operator.exp: New test.
4932         * gdb.cp/operator.cc: New test.
4933
4934 2010-06-04  Michael Snyder  <msnyder@vmware.com>
4935
4936         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4937         * gdb.base/pending.exp: Ditto.
4938
4939         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4940
4941 2010-06-04  Doug Evans  <dje@google.com>
4942
4943         * gdb.python/py-prettyprint.exp: Add new test for enabled and
4944         disabled printers.
4945         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4946         (enable_lookup_function): New function.
4947
4948 2010-06-04  Tom Tromey  <tromey@redhat.com>
4949
4950         * gdb.python/py-value.exp (test_value_hash): Don't test equality
4951         of hash and id.
4952
4953 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
4954
4955         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4956         newline.
4957         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4958         (empty verbose non-noisy clear, empty verbose noisy clear)
4959         (empty non-verbose noisy clear): Likewise.
4960
4961 2010-06-03  Michael Snyder  <msnyder@vmware.com>
4962
4963         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4964         * gdb.base/display.exp: Ditto.
4965         * gdb.base/find.exp: Ditto.
4966         * gdb.base/ifelse.exp: Ditto.
4967         * gdb.base/multi-forks.exp: Ditto.
4968         * gdb.base/recurse.exp: Ditto.
4969         * gdb.base/setshow.exp: Ditto.
4970         * gdb.base/value-double-free.exp: Ditto.
4971         * gdb.base/watch-vfork.exp: Ditto.
4972         * gdb.base/watch_thread_num.exp: Ditto.
4973         * gdb.base/watchpoint-solib.exp: Ditto.
4974         * gdb.base/watchpoint.exp: Ditto.
4975         * gdb.base/watchpoints.exp: Ditto.
4976
4977         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4978         * gdb.cp/overload.exp: Ditto.
4979         * gdb.cp/virtfunc.exp: Ditto.
4980
4981         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4982
4983         * gdb.reverse/watch-precsave.exp:
4984         Replace gdb_test with gdb_test_no_output.
4985
4986         * gdb.threads/attach-into-signal.exp:
4987         Replace gdb_test with gdb_test_no_output.
4988         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4989         * gdb.threads/watchthreads.exp: Ditto.
4990         * gdb.threads/watchthreads2.exp: Ditto.
4991
4992         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4993         * gdb.trace/tfind.exp: Ditto.
4994
4995 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
4996
4997         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4998         successful test if message is the empty string.
4999
5000 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5001
5002         * gdb.fortran/module.exp (stopped language detection): New test.
5003
5004 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5005
5006         Support DW_TAG_module as separate namespaces.
5007         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5008         gdb.fortran/library-module-lib.f90: New.
5009         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5010         (print i): Remove.
5011         (continue to breakpoint: i-is-1, print var_i value 1)
5012         (continue to breakpoint: i-is-2, print var_i value 2)
5013         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5014         (print var_d, print var_i value 14, ptype modmany, complete `modm)
5015         (complete `modmany, complete `modmany`, complete `modmany`var)
5016         (show language, setting breakpoint at module): New tests.
5017         * gdb.fortran/module.f90 (module mod): Remove.
5018         (module mod1, module mod2, module modmany, subroutine sub1)
5019         (subroutine sub2, program module): New.
5020
5021 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5022
5023         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5024         (print value of rUC, print value of rI, print value of UI): ... here.
5025         * gdb.cp/anon-union.exp (pass): Rename to ...
5026         (print z 2): ... here.
5027
5028 2010-06-02  Michael Snyder  <msnyder@vmware.com>
5029
5030         * gdb.trace/actions.exp: Use gdb_test_no_output.
5031         * gdb.trace/circ.exp: Ditto.
5032         * gdb.trace/packetlen.exp: Ditto.
5033         * gdb.trace/save-trace.exp: Ditto.
5034         * gdb.trace/tracecmd.exp: Ditto.
5035         * gdb.trace/tsv.exp: Ditto.
5036
5037         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5038         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5039         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5040         * gdb.threads/manythreads.exp: Ditto.
5041         * gdb.threads/print-threads.exp: Ditto.
5042         * gdb.threads/pthreads.exp: Ditto.
5043         * gdb.threads/schedlock.exp: Ditto.
5044         * gdb.threads/staticthreads.exp: Ditto.
5045         * gdb.threads/thread-specific.exp: Ditto.
5046         * gdb.threads/thread-unwindonsignal.exp: Ditto.
5047         * gdb.threads/threadapply.exp: Ditto.
5048         * gdb.threads/watchthreads.exp: Ditto.
5049         * gdb.threads/watchthreads2.exp: Ditto.
5050
5051         * gdb.python/py-block.exp: Use gdb_test_no_output.
5052         * gdb.python/py-prettyprint.exp: Ditto.
5053         * gdb.python/py-template.exp: Ditto.
5054         * gdb.python/py-value.exp: Ditto.
5055
5056         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5057         * gdb.reverse/watch-reverse.exp: Ditto.
5058
5059         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5060         * gdb.server/ext-run.exp: Ditto.
5061
5062         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5063         * gdb.dwarf2/dw2-compressed.exp: Ditto.
5064         * gdb.dwarf2/dw2-intercu.exp: Ditto.
5065         * gdb.dwarf2/dw2-intermix.exp: Ditto.
5066         * gdb.dwarf2/dw2-producer.exp: Ditto.
5067         * gdb.dwarf2/mac-fileno.exp: Ditto.
5068
5069         * gdb.gdb/observer.exp: Use gdb_test_no_output.
5070         * gdb.gdb/selftest.exp: Ditto.
5071
5072         * gdb.multi/base.exp: Use gdb_test_no_output.
5073
5074         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5075
5076 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5077
5078         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5079
5080 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
5081
5082         * gdb.cp/class2.exp: Use gdb_test_no_output.
5083         * gdb.cp/classes.exp: Ditto.
5084         * gdb.cp/extern-c.exp: Ditto.
5085         * gdb.cp/inherit.exp: Ditto.
5086         * gdb.cp/maint.exp: Ditto.
5087         * gdb.cp/mb-inline.exp: Ditto.
5088         * gdb.cp/mb-templates.exp: Ditto.
5089         * gdb.cp/method2.exp: Ditto.
5090         * gdb.cp/misc.exp: Ditto.
5091         * gdb.cp/ovldbreak.exp: Ditto.
5092         * gdb.cp/punctuator.exp: Ditto.
5093         * gdb.cp/templates.exp: Ditto.
5094         * gdb.cp/virtbase.exp: Ditto.
5095
5096         * gdb.threads/attach-stopped.exp:
5097         Replace uses of send_gdb / gdb_expect.
5098         * gdb.threads/attachstop-mt.exp:
5099         Replace uses of send_gdb / gdb_expect.
5100         * gdb.threads/gcore-thread.exp:
5101         Replace uses of send_gdb / gdb_expect.
5102         * gdb.threads/hand-call-in-threads.exp:
5103         Replace uses of send_gdb / gdb_expect.
5104         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5105         * gdb.threads/print-threads.exp:
5106         Replace uses of send_gdb / gdb_expect.
5107         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5108         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5109         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5110
5111         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5112         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5113         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5114         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5115         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5116         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5117         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5118         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5119         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5120         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5121         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5122
5123 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5124
5125         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5126
5127 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
5128
5129         * gdb.cp/koenig.exp: Added new test case.
5130         * gdb.cp/koenig.cc: Ditto.
5131
5132 2010-06-01  Michael Snyder  <msnyder@vmware.com>
5133
5134         * gdb.base/arithmet.exp: Use gdb_test_no_output.
5135         * gdb.base/arrayidx.exp: Ditto.
5136         * gdb.base/attach.exp: Ditto.
5137         * gdb.base/auxv.exp: Ditto.
5138         * gdb.base/bigcre.exp: Ditto.
5139         * gdb.base/break-always.exp: Ditto.
5140         * gdb.base/break-interp.exp: Ditto.
5141         * gdb.base/break.exp: Ditto.
5142         * gdb.base/breakpoint-shadow.exp: Ditto.
5143         * gdb.base/call-ar-st.exp: Ditto.
5144         * gdb.base/call-sc.exp: Ditto.
5145         * gdb.base/call-signal-resume.exp: Ditto.
5146         * gdb.base/callfuncs.exp: Ditto.
5147         * gdb.base/catch-syscall.exp: Ditto.
5148         * gdb.base/charset.exp: Ditto.
5149         * gdb.base/code-expr.exp: Ditto.
5150         * gdb.base/commands.exp: Ditto.
5151         * gdb.base/cond-expr.exp: Ditto.
5152         * gdb.base/condbreak.exp: Ditto.
5153         * gdb.base/cursal.exp: Ditto.
5154         * gdb.base/cvexpr.exp: Ditto.
5155         * gdb.base/default.exp: Ditto.
5156         * gdb.base/del.exp: Ditto.
5157         * gdb.base/detach.exp: Ditto.
5158         * gdb.base/display.exp: Ditto.
5159         * gdb.base/ena-dis-br.exp: Ditto.
5160         * gdb.base/eval-skip.exp: Ditto.
5161         * gdb.base/foll-fork.exp: Ditto.
5162         * gdb.base/foll-vfork.exp: Ditto.
5163         * gdb.base/frame-args.exp: Ditto.
5164         * gdb.base/funcargs.exp: Ditto.
5165         * gdb.base/gcore-buffer-overflow.exp: Ditto.
5166         * gdb.base/gdbvars.exp: Ditto.
5167         * gdb.base/help.exp: Ditto.
5168         * gdb.base/ifelse.exp: Ditto.
5169         * gdb.base/included.exp: Ditto.
5170         * gdb.base/list.exp: Ditto.
5171         * gdb.base/macscp.exp: Ditto.
5172         * gdb.base/maint.exp: Ditto.
5173         * gdb.base/multi-fork.exp: Ditto.
5174         * gdb.base/overlays.exp: Ditto.
5175         * gdb.base/page.exp: Ditto.
5176         * gdb.base/pending.exp: Ditto.
5177         * gdb.base/pointers.exp: Ditto.
5178         * gdb.base/pr11022.exp: Ditto.
5179         * gdb.base/prelink.exp: Ditto.
5180         * gdb.base/printcmds.exp: Ditto.
5181         * gdb.base/psymtab.exp: Ditto.
5182         * gdb.base/randomize.exp: Ditto.
5183         * gdb.base/relational.exp: Ditto.
5184         * gdb.base/relocate.exp: Ditto.
5185         * gdb.base/remote.exp: Ditto.
5186         * gdb.base/sepdebug.exp: Ditto.
5187         * gdb.base/set-lang-auto.exp: Ditto.
5188         * gdb.base/setshow.exp: Ditto.
5189         * gdb.base/setvar.exp: Ditto.
5190         * gdb.base/signals.exp: Ditto.
5191         * gdb.base/signull.exp: Ditto.
5192         * gdb.base/sigstep.exp: Ditto.
5193         * gdb.base/sizeof.exp: Ditto.
5194         * gdb.base/solib-disc.exp: Ditto.
5195         * gdb.base/store.exp: Ditto.
5196         * gdb.base/structs.exp: Ditto.
5197         * gdb.base/structs2.exp: Ditto.
5198         * gdb.base/subst.exp: Ditto.
5199         * gdb.base/term.exp: Ditto.
5200         * gdb.base/trace-commands.exp: Ditto.
5201         * gdb.base/unwindonsignal.exp: Ditto.
5202         * gdb.base/valgrind-db-attach.exp: Ditto.
5203         * gdb.base/varargs.exp: Ditto.
5204         * gdb.base/watch-cond.exp: Ditto.
5205         * gdb.base/watch_thread_num.exp: Ditto.
5206         * gdb.base/watchpoint-cond-gone.exp: Ditto.
5207         * gdb.base/watchpoint.exp: Ditto.
5208         * gdb.base/whatis-exp.exp: Ditto.
5209
5210 2010-06-01  Michael Snyder  <msnyder@vmware.com>
5211
5212         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5213         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5214         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5215         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5216         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5217         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5218         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5219         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5220         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5221         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5222         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5223         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5224         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5225         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5226         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5227
5228 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5229
5230         * gdb.base/commands.exp (begin commands on watch): Remove excessive
5231         trailing newline.
5232         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5233         * gdb.java/jmisc.exp (p *args\n): Rename to ...
5234         (p *args): ... here and remove excessive trailing newline.
5235
5236 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
5237
5238         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5239
5240 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5241
5242         Accept the new Linux kernel "t (tracing stop)" string.
5243         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5244         Update comment.
5245         (state_wait) <T (tracing stop)>: New.
5246         (main): Update the state_wait expect string.
5247
5248 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
5249
5250         * limits.c, limits.exp: Delete files.
5251         * Makefile.in (clean mostlyclean): Adjust.
5252         * tracecmd.exp: Adjust.
5253
5254 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5255
5256         * gdb.base/tui-layout.exp: New.
5257
5258 2010-05-28  Michael Snyder  <msnyder@vmware.com>
5259
5260         * gdb.reverse/break-precsave.exp:
5261         Replace uses of send_gdb / gdb_expect.
5262         * gdb.reverse/break-reverse.exp:
5263         Replace uses of send_gdb / gdb_expect.
5264         * gdb.reverse/consecutive-precsave.exp:
5265         Replace uses of send_gdb / gdb_expect.
5266         * gdb.reverse/consecutive-reverse.exp:
5267         Replace uses of send_gdb / gdb_expect.
5268         * gdb.reverse/finish-precsave.exp:
5269         Replace uses of send_gdb / gdb_expect.
5270         * gdb.reverse/finish-reverse.exp:
5271         Replace uses of send_gdb / gdb_expect.
5272         * gdb.reverse/i386-precsave.exp:
5273         Replace uses of send_gdb / gdb_expect.
5274         * gdb.reverse/i386-reverse.exp:
5275         Replace uses of send_gdb / gdb_expect.
5276         * gdb.reverse/i386-sse-reverse.exp:
5277         Replace uses of send_gdb / gdb_expect.
5278         * gdb.reverse/i387-env-reverse.exp:
5279         Replace uses of send_gdb / gdb_expect.
5280         * gdb.reverse/i387-stack-reverse.exp:
5281         Replace uses of send_gdb / gdb_expect.
5282         * gdb.reverse/machinestate-precsave.exp:
5283         Replace uses of send_gdb / gdb_expect.
5284         * gdb.reverse/machinestate.exp:
5285         Replace uses of send_gdb / gdb_expect.
5286         * gdb.reverse/sigall-precsave.exp:
5287         Replace uses of send_gdb / gdb_expect.
5288         * gdb.reverse/sigall-reverse.exp:
5289         Replace uses of send_gdb / gdb_expect.
5290         * gdb.reverse/solib-precsave.exp:
5291         Replace uses of send_gdb / gdb_expect.
5292         * gdb.reverse/solib-reverse.exp:
5293         Replace uses of send_gdb / gdb_expect.
5294         * gdb.reverse/step-precsave.exp:
5295         Replace uses of send_gdb / gdb_expect.
5296         * gdb.reverse/step-reverse.exp:
5297         Replace uses of send_gdb / gdb_expect.
5298         * gdb.reverse/until-precsave.exp:
5299         Replace uses of send_gdb / gdb_expect.
5300         * gdb.reverse/until-reverse.exp:
5301         Replace uses of send_gdb / gdb_expect.
5302         * gdb.reverse/watch-precsave.exp:
5303         Replace uses of send_gdb / gdb_expect.
5304         * gdb.reverse/watch-reverse.exp:
5305         Replace uses of send_gdb / gdb_expect.
5306
5307 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5308
5309         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5310         excessive newline.
5311
5312 2010-05-27  Michael Snyder  <msnyder@vmware.com>
5313
5314         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5315         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5316         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5317         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5318         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5319         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5320         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5321         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5322         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5323         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5324         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5325         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5326         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5327         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5328         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5329         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5330         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5331         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5332         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5333
5334 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5335
5336         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5337         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5338
5339         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5340         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5341         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5342
5343         * gdb.reverse/consecutive-reverse.exp:
5344         Replace uses of send_gdb / gdb_expect.
5345         * gdb.reverse/consecutive-precsave.exp:
5346         Replace uses of send_gdb / gdb_expect.
5347
5348         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5349         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5350         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5351         * gdb.mi/mi-ns-stale-regcache.exp:
5352         Replace uses of send_gdb / gdb_expect.
5353         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5354         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5355         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5356         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5357         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5358         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5359         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5360         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5361         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5362
5363 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5364
5365         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5366
5367         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5368
5369         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5370         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5371         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5372         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5373         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5374         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5375         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5376         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5377         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5378
5379 2010-05-25  Tom Tromey  <tromey@redhat.com>
5380
5381         * gdb.base/macscp.exp: Add missing space after setup_kfail.
5382
5383 2010-05-25  Tom Tromey  <tromey@redhat.com>
5384
5385         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5386         argument order.
5387         * gdb.base/macscp.exp: Fix setup_kfail argument order.
5388         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5389         order.
5390         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5391         order.
5392         * gdb.base/call-sc.exp (setup_kfails): Remove.
5393         (setup_compiler_kfails): Remove.
5394         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5395         argument order.
5396         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5397         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5398         (advancei): Fix setup_kfail argument order.
5399         * gdb.base/radix.exp: Fix setup_kfail argument order.
5400         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5401         order.
5402         * gdb.base/structs.exp (setup_kfails): Remove.
5403         (setup_compiler_kfails): Fix setup_kfail argument order.
5404         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5405         order.
5406         * gdb.java/jmain.exp: Fix setup_kfail argument order.
5407         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5408         setup_kfail argument order.
5409         * gdb.cp/overload.exp: Fix setup_kfail argument order.
5410
5411 2010-05-25  Tom Tromey  <tromey@redhat.com>
5412
5413         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5414
5415 2010-05-25  Michael Snyder  <msnyder@vmware.com>
5416
5417         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5418         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5419         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5420         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5421         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5422         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5423         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5424         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5425         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
5426         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5427         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5428         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5429         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5430         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5431         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5432         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5433         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5434         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5435         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5436         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5437         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5438         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5439         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
5440         * gdb.base/default.exp: Replace send_gdb with gdb_test.
5441         * gdb.base/define.exp: Replace send_gdb with gdb_test.
5442         * gdb.base/display.exp: Replace send_gdb with gdb_test.
5443         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5444         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5445         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5446         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5447         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5448         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5449         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5450         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5451         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5452         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5453         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5454         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5455         * gdb.base/help.exp: Replace send_gdb with gdb_test.
5456         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5457         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5458         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5459         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5460         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5461         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5462         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5463         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5464         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5465
5466 2010-05-25  Doug Evans  <dje@google.com>
5467
5468         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5469         gdb.string_to_argv.
5470
5471 2010-05-21  Tom Tromey  <tromey@redhat.com>
5472
5473         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5474         Call it.
5475         * gdb.dwarf2/pieces.S: Update.
5476         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5477
5478 2010-05-21  Tom Tromey  <tromey@redhat.com>
5479
5480         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5481         Call it.
5482         * gdb.dwarf2/pieces.c (struct C): New.
5483         (f6): New function.
5484         * gdb.dwarf2/pieces.S: Replace.
5485
5486 2010-05-21  Tom Tromey  <tromey@redhat.com>
5487
5488         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5489         Call it.
5490
5491 2010-05-21  Tom Tromey  <tromey@redhat.com>
5492
5493         * gdb.dwarf2.pieces.exp: New file.
5494         * gdb.dwarf2.pieces.S: New file.
5495         * gdb.dwarf2.pieces.c: New file.
5496
5497 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
5498             Joel Brobecker  <brobecker@adacore.com>
5499
5500         * lib/gdb.exp (gdb_test_no_output): New function.
5501         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5502         when testing commands that should produce no output.
5503
5504 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5505
5506         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5507         parameter that we want to watch being a constant.
5508
5509 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5510
5511         * gdb.ada/cond_lang: New testcase.
5512
5513 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5514
5515         * lib/gdb.exp (banned_variables): New variable/constant.
5516         (gdb_init): Add write trace on variables listed in banned_variables.
5517         (gdb_finish): Remove write traces on variables listed in
5518         banned_variables.
5519
5520 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5521
5522         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5523         * gdb.cp/koenig.exp: Likewise.
5524
5525 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
5526
5527         PR python/11482
5528
5529         * gdb.python/py-value.exp (test_value_hash): New function.
5530
5531 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
5532
5533         PR exp/11530.
5534         * gdb.base/gdb11530.c: New file.
5535         * gdb.base/gdb11530.exp: New file.
5536
5537 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5538
5539         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5540         * gdb.dwarf2/dw2-modula2-self-type.S: New.
5541
5542 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
5543
5544         * gdb.cp/koenig.exp: New test.
5545         * gdb.cp/koenig.cc: New test program.
5546
5547 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
5548
5549         Remove the use of prms_id and bug_id throughout the testsuite.
5550
5551 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
5552
5553         PR exp/11349.
5554         * testsuite/gdb.cp/ref-types.exp: Add test to examine
5555         use a reference local variable.
5556
5557 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5558
5559         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5560         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
5561         variable different_dir. Move debugfile into a full directory pathname
5562         under DIFFERENT_DIR.
5563         * lib/gdb.exp (separate_debug_filename): Remove.
5564         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
5565         variable debug_dir and mkdir of it.  Update function comments.
5566
5567 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
5568
5569         PR gdb/11557
5570
5571         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5572         files.
5573
5574 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
5575
5576         * gdb.python/py-param.exp: New File.
5577
5578 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
5579
5580         * gdb.base/default.exp: Fix "set language" test.
5581
5582 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
5583
5584         PR breakpoints/11531.
5585         * gdb.base/gdb11531.c: New file.
5586         * gdb.base/gdb11531.exp: New file.
5587
5588 2010-04-26  Tom Tromey  <tromey@redhat.com>
5589
5590         * gdb.base/completion.exp: Add tests for completion and deprecated
5591         commands.
5592
5593 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5594
5595         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5596         (print /x char_array): Escape curly brackets.
5597
5598 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5599
5600         Fix deadlock on looped list of loaded shared objects.
5601         * gdb.base/solib-corrupted.exp: New.
5602
5603 2010-04-23  Doug Evans  <dje@google.com>
5604
5605         * gdb.python/py-section-script.c: New file.
5606         * gdb.python/py-section-script.exp: New file.
5607         * gdb.python/py-section-script.py: New file.
5608
5609 2010-04-20  Chris Moller  <cmoller@redhat.com>
5610
5611         PR 10179
5612
5613         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5614         * gdb.base/pr10179-a.c:
5615         * gdb.base/pr10179-b.c:
5616         * gdb.base/pr10179.exp: New files.
5617
5618 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5619
5620         Fix crashes on dangling display expressions.
5621         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5622         is SEP.
5623         (lib_flags): Remove the "debug" keyword.
5624         (libsepdebug): New variable for iterating new loop.
5625         (save_pf_prefix): New variable wrapping the loop.
5626         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
5627         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5628
5629 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5630
5631         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5632
5633 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5634
5635         PR stabs/11479.
5636         * gdb.stabs/gdb11479.exp: New file.
5637         * gdb.stabs/gdb11479.c: New file.
5638
5639 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5640
5641         * gdb.base/charset.c (Strin16, String32): New variables.
5642         * gdb.base/charset.exp (gdb_test): Test correct display
5643         of 16 or 32 bit strings.
5644
5645 2010-04-21  Chris Moller  <cmoller@redhat.com>
5646
5647         PR 9167
5648         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5649         * gdb.cp/pr9167.cc: New file.
5650         * gdb.cp/pr9167.exp: New file.
5651
5652
5653 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
5654
5655         PR pascal/11492.
5656         * gdb.pascal/gdb11492.pas: New file.
5657         * gdb.pascal/gdb11492.exp: New file.
5658
5659 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5660
5661         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5662
5663 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5664
5665         * gdb.ada/dyn_loc: New testcase.
5666
5667 2010-04-20  Chris Moller  <cmoller@redhat.com>
5668
5669         PR 10867
5670
5671         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
5672         * gdb.cp/pr10687.cc: New file.
5673         * gdb.cp/pr10687.exp: New file.
5674
5675
5676 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5677             Sergio Durigan Junior  <sergiodj@redhat.com>
5678
5679         * gdb.fortran/logical.exp: New testcase.
5680         * gdb.fortran/logical.f90: New file.
5681
5682 2010-04-19  Doug Evans  <dje@google.com>
5683
5684         * gdb.base/help.exp (help source): Update expected output.
5685
5686 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5687
5688         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5689         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
5690         gdb_exit and return.
5691         (executable): New variable.
5692         (binfile): Use it.
5693
5694 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
5695
5696         PR breakpoints/8554.
5697
5698         * gdb.trace/save-trace.exp: Adjust.
5699
5700 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5701
5702         PR corefiles/11511
5703         * gdb.arch/system-gcore.exp: New.
5704         * gdb.arch/gcore.c: Likewise.
5705
5706 2010-04-15  Doug Evans  <dje@google.com>
5707
5708         * gdb.python/py-progspace.c: New file.
5709         * gdb.python/py-progspace.exp: New file.
5710
5711         * gdb.base/source.exp: Add tests for "source -s".
5712
5713 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
5714
5715         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5716         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5717         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5718         * gdb.python/py-mi.exp: New test for to_string returning None.
5719
5720 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
5721
5722         * gdb.python/py-breakpoint.c: Make result global.
5723
5724 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5725
5726         Fix non-GNU make compatibility.
5727         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5728
5729 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
5730
5731         * gdb.python/py-breakpoint.exp: New File.
5732         * gdb.python/py-breakpoint.C: Ditto.
5733
5734 2010-04-08  Stan Shebs  <stan@codesourcery.com>
5735
5736         * gdb.trace/actions.exp: Clear default-collect.
5737         * gdb.trace/save-trace.exp: Clear default-collect.
5738
5739 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
5740
5741         * gdb.python/py-value: Add null string variable.
5742           (test_lazy_string): Test zero length, NULL address lazy
5743           strings.
5744
5745 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5746
5747         * gdb.arch/i386-avx.c: New.
5748         * gdb.arch/i386-avx.exp: Likewise.
5749
5750         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5751
5752 2010-04-06  Doug Evans  <dje@google.com>
5753
5754         * gdb.base/source-test.gdb: New file.
5755         * gdb.base/source.exp: Test source -v.
5756
5757 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5758
5759         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5760
5761 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
5762
5763         * gdb.stabs/aout.sed: Convert all backslash to double backslash
5764         within one line, unless it is followed by a double quote.
5765         * gdb.stabs/hppa.sed: Idem.
5766         * gdb.stabs/weird.def: Add char and String constants
5767         * gdb.stabs/weird.exp: Check for correct parsing of
5768         char and string constants.
5769         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5770         in .stabs to .stabx substitution.
5771
5772 2010-04-05  Stan Shebs  <stan@codesourcery.com>
5773
5774         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5775         constant global.
5776         * gdb.trace/tfile.exp: Try to print them.
5777
5778 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5779
5780         * gdb.base/completion.exp: Update for new "info watchpoints".
5781         * gdb.base/default.exp: Ditto.
5782         * gdb.base/help.exp: Ditto.
5783         * gdb.base/watchpoint.exp: Ditto.
5784         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5785
5786 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5787
5788         * gdb.trace/tfile.exp: Sharpen tfind test.
5789
5790 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5791
5792         * gdb.base/break-entry.exp: New.
5793
5794 2010-04-02  Hui Zhu  <teawater@gmail.com>
5795             Michael Snyder <msnyder@vmware.com>
5796
5797         * gdb.reverse/i386-sse-reverse.exp: New file.
5798         * gdb.reverse/i386-sse-reverse.c: New file.
5799
5800 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
5801
5802         * gdb.trace/tfind.exp: Adjust expected disassembly output.
5803
5804 2010-04-01  Stan Shebs  <stan@codesourcery.com>
5805
5806         * gdb.trace/actions.exp: Tweak expected output.
5807         * gdb.trace/while-stepping.exp: Tweak expected output.
5808
5809 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
5810
5811         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5812
5813 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5814
5815         * gdb.base/commands.exp: Adjust.
5816         * gdb.cp/extern-c.exp: Adjust.
5817
5818 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5819
5820         * gdb.trace/collection.c (local_test_func): Define a local struct,
5821         and instanciate it.
5822
5823 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5824
5825         * gdb.trace/collection.exp (gdb_collect_args_test)
5826         (gdb_collect_argarray_test): XFAIL the tests that assume the
5827         argarray argument's elements are collected.
5828
5829 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5830
5831         * gdb.dwarf2/dw2-bad-parameter-type.exp,
5832         gdb.dwarf2/dw2-bad-parameter-type.S: New.
5833
5834 2010-03-31  Stan Shebs  <stan@codesourcery.com>
5835
5836         * gdb.trace/save-trace.exp: Test save/restore of default-collect
5837         and tracepoint conditionals.
5838         (gdb_verify_tracepoints): Delete unused return.
5839
5840 2010-03-26  Keith Seitz  <keiths@redhat.com>
5841
5842         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5843         appear in the output before main.
5844         Remove KFAIL for gdb/2215 aka bz 9320.
5845
5846 2010-03-30  Doug Evans  <dje@google.com>
5847
5848         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5849         by dejagnu.
5850         * gdb.arch/amd64-dword.exp: Ditto.
5851
5852         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5853         match.
5854         (break printf): Ditto.
5855
5856 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
5857
5858         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5859         gcc < 4.4.
5860         * gdb.cp/shadow.exp: Ditto.
5861
5862 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5863
5864         * gdb.trace/collection.exp (run_trace_experiment): Make sure
5865         "tstart" is silent.
5866
5867 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5868
5869         * gdb.trace/collection.exp (executable): New.
5870         (binfile): Use it.
5871         (fpreg, spreg, pcreg): New.
5872         (test_register): Use gdb_test_multiple.  Pass /x to print.
5873         (prepare_for_trace_test): New.
5874         (run_trace_experiment): Use "continue", not gdb_run_cmd.
5875         (gdb_collect_args_test, gdb_collect_argstruct_test)
5876         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5877         prepare_for_trace_test.
5878         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
5879         fpreg, spreg and pcreg.
5880         (gdb_collect_expression_test, gdb_collect_globals_test): Use
5881         prepare_for_trace_test.
5882         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
5883         try to detect tracing support here.  Don't set breakpoints at
5884         `begin' or `end' here.
5885         <global scope>: Use clean_restart.  Run to main before checking
5886         for tracing support.  Check for for tracing support here.
5887
5888 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5889
5890         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5891         " as $displacement" to "seen displacement message".
5892
5893 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
5894
5895         * gdb.trace/while-dyn.exp (executable): New variable.
5896         (binfile): Use it.
5897         (test_while_stepping): New function.  Move most tests here.  Call
5898         it once for each of the while-stepping, stepping and ws aliases.
5899
5900 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5901
5902         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5903         that do not provide the tagless_struct type name at all.
5904         (test_print_anon_union): Do not check value of uninitialized
5905         union member.  Do not use cp_test_ptype_class, so we can accept
5906         "long" as well as "long int".
5907
5908 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
5909
5910         * gdb.trace/tfile.c (tohex, bin2hex): New.
5911         (write_error_trace_file): Hexify error description.
5912
5913 2010-03-25  Stan Shebs  <stan@codesourcery.com>
5914
5915         * gdb.trace/tfile.c: Generate an additional trace file, improve
5916         portability.
5917         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5918         files in a better way.
5919
5920 2010-03-25  Keith Seitz  <keiths@redhat.com>
5921
5922         * gdb.java/jprint.exp: XFAIL printing of static class members
5923         because of GCC debuginfo problem.
5924
5925 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5926
5927         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5928
5929 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5930
5931         * gdb.base/completion.exp: Allow long instead of long int.
5932         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5933         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
5934         variable p.
5935         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5936         * gdb.base/pointers.exp: Allow long instead of long int.
5937         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5938         * gdb.base/step-line.exp: Allow a directory before the source file name.
5939
5940 2010-03-24  Tom Tromey  <tromey@redhat.com>
5941
5942         PR breakpoints/9352:
5943         * gdb.base/default.exp: Update.
5944         * gdb.base/commands.exp: Update.
5945         * gdb.cp/extern-c.exp: Test setting commands on multiple
5946         breakpoints at once.
5947
5948 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5949
5950         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5951         if gdb,nosignals.
5952         * gdb.base/watchpoints.c: Do not include unnecessary headers.
5953         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5954         exited".
5955
5956 2010-03-24  Stan Shebs  <stan@codesourcery.com>
5957
5958         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5959
5960 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5961
5962         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5963         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5964         argument.  Handle "short" and "long".
5965         (Top level): Pass overprototyped output for old_fptr and xptr.
5966
5967 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
5968
5969         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5970         format strings and add casts to avoid compiler warnings.
5971
5972 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
5973
5974         * lib/trace-support.exp (gdb_trace_setactions):
5975         Don't expect whitespace after ">" prompt.
5976         * gdb.trace/actions.exp: Adjust for output changes.
5977         * gdb.trace/while-stepping.exp: Likewise.
5978
5979 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5980
5981         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5982         and r157645).
5983
5984 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5985
5986         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5987         New.
5988
5989 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
5990
5991         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5992         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5993
5994 2010-03-19  Stan Shebs  <stan@codesourcery.com>
5995
5996         * gdb.trace/ax.exp: New file.
5997
5998 2010-03-19  Doug Evans  <dje@google.com>
5999
6000         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6001         output from gcc.
6002
6003         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6004         named /usr/sbin/prelink<foo>.
6005
6006 2010-03-18  Stan Shebs  <stan@codesourcery.com>
6007
6008         * gdb.trace/circ.exp: Test circular-trace-buffer.
6009         * gdb.trace/tfile.exp: Update tstatus test.
6010
6011 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
6012
6013         * gdb.dwarf2/dw2-anonymous-func.S: New file.
6014         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6015
6016 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6017
6018         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6019
6020 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
6021
6022         * gdb.base/default.exp: Adjust the expected output of the finish
6023         and until commands when the inferior is not being run.
6024
6025 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
6026
6027         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6028         * gdb.cp/nsusing.exp: Ditto.
6029
6030 2010-03-15  Tom Tromey  <tromey@redhat.com>
6031
6032         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6033         * gdb.cp/userdef.cc (operator==): New function.
6034         (main): New locals mem1, mem2.
6035
6036 2010-03-15  Jie Zhang  <jie@codesourcery.com>
6037
6038         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6039         Declare and use new loadtimeout variable.
6040
6041 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
6042
6043         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6044         Use gdb_load later.
6045
6046 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
6047
6048         * gdb.base/solib-disc.c (main): Make format of fprintf a string
6049         literal.  Add missing endlines to prints to stderr.
6050
6051 2010-03-12  Tom Tromey  <tromey@redhat.com>
6052
6053         PR c++/9708:
6054         * gdb.cp/m-static.exp: Add regression test.
6055         * gdb.cp/m-static.cc (method): New method.
6056         (main): Call it.
6057
6058 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
6059
6060         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6061         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6062
6063 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
6064
6065         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6066
6067 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
6068
6069         * lib/gdb.exp (skip_stl_tests): New.
6070         (gdb_compile): Symbian needs -ldl.
6071         (shlib_target_file): New.
6072         (shlib_symbol_file): New.
6073         (gdb_load_shlibs): Use shlib_target_file.
6074         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6075         * gdb.cp/exception.exp: Use skip_stl_tests.
6076         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
6077         * gdb.cp/try_catch.exp: Use skip_stl_tests.
6078         * gdb.cp/mb-templates.exp: Ditto.
6079         * gdb.base/commands.exp: Relax regexes.
6080         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
6081         shlib_target_file and shlib_symbol_file.
6082         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
6083         sections.
6084         * gdb.base/ending-run.exp: Accept E32Main for symbian.
6085         * gdb.base/solib-disc.exp: Use
6086         shlib_target_file and shlib_symbol_file.
6087         * gdb.base/unload.exp: Don't skip on symbian.  Use
6088         shlib_target_file and shlib_symbol_file.
6089         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6090
6091 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
6092
6093         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6094         * gdb.trace/report.exp: Adjust for x86 and x86_64.
6095         Issue a tfind end before looking for a tracepoint frame.
6096         * gdb.trace/tfind.exp: Adjust tstatus output.
6097         Adjust disassembly output.
6098         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6099
6100 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6101
6102         * gdb.base/break-interp.exp: Create new displacement parameter value
6103         for the test_ld calls.
6104         (reach): New parameter displacement, verify its content.  New push of
6105         pf_prefix "reach-$func:".  Import global expect_out.
6106         (test_core): New parameter displacement, verify its content.  New push
6107         of pf_prefix "core:".  New command "set verbose on".  Import global
6108         expect_out.
6109         (test_attach): New parameter displacement, verify its content.  New
6110         push of pf_prefix "attach:".  New command "set verbose on".  Import
6111         global expect_out.
6112         (test_ld): New parameter displacement, pass it to the reach, test_core
6113         and test_attach calls and verify its content in the "ld.so exit" test.
6114         * gdb.base/prelink.exp: Remove gdb_exit and final return.
6115         (prelink): Update expected text, use gdb_test.
6116
6117 2010-03-10  Doug Evans  <dje@google.com>
6118
6119         * gdb.base/checkpoint.exp: Fix comment.
6120         Lengthen timeout while doing >600 checkpoints test.
6121         Rename duplicate "kill all one" test to keep test names unique.
6122
6123 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
6124
6125         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6126
6127 2010-03-08  Keith Seitz  <keiths@redhat.com>
6128
6129         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6130         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6131         (dm_type_long): New function.
6132         (dm_type_unsigned_short): New function.
6133         (dm_type_unsigned_long): New function.
6134         (myint): New typedef.
6135         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6136         long, unsigned shor and long, operator char*, and typedef.
6137         (test_lookup_operator_functions): Add operator char* test.
6138         (test_paddr_operator_functions): Likewise.
6139         (test_paddr_overloaded_functions): Use probe values for
6140         short, long, and unsigned short and long.
6141         (test_paddr_hairy_functions): If the demangler probe detected
6142         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6143         demangler.
6144         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6145         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6146         and "print null_pmf".
6147         Add test "ptype a.*pmf".
6148         * gdb.cp/overload.exp: Allow optional "int" to appear with
6149         "short" and "long".
6150         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6151         long expect value for men_overload1arg.
6152         Allow "int" to appear with "short" and "long".
6153         When testing "info break", add argument for main (void).
6154         Also allow "int" to appear with "short" and "long".
6155         Ditto with "unsigned" and "long long".
6156         * gdb.java/jmain.exp: Do not enclose methods names in single
6157         quotes.
6158         * gdb.java/jmisc.exp: Likewise.
6159         * gdb.java/jprint.exp: Likewise.
6160         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6161
6162         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
6163         * gdb.cp/exception.exp (backtrace after first throw)
6164         (backtrace after second throw): Allow a namespace before __cxa_throw.
6165         (backtrace after first catch, backtrace after second catch): Allow
6166         a namespace before __cxa_begin_catch.
6167
6168         * gdb.cp/cpexprs.exp: New file.
6169         * gdb.cp/cpexprs.cc: New file.
6170
6171         From Daniel Jacobowitz  <dan@codesourcery.com>
6172         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
6173         to use string_to_regexp.
6174         (ctor, dtor): New functions.  Use them to match constructor
6175         and destructor function types.
6176         (Top level): Use runto_main.
6177
6178 2010-03-05  Tom Tromey  <tromey@redhat.com>
6179
6180         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6181         gdb.target_charset.
6182         (pp_ns.to_string): Likewise.
6183
6184 2010-03-04  Keith Seitz  <keiths@redhat.com>
6185
6186         * gdb.cp/overload.exp: Test that the filename portion of a linespec
6187         can be quoted.  Test that both the filename and function/line
6188         portions can be quoted at the same time.
6189
6190 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
6191
6192         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6193
6194 2010-03-03  Doug Evans  <dje@google.com>
6195
6196         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6197         libc contains libpthread.
6198
6199         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6200         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6201         of gdb_compile.  Add another pattern to match android backtrace.
6202
6203 2010-03-03  Tom Tromey  <tromey@redhat.com>
6204
6205         PR gdb/11345:
6206         * gdb.base/printcmds.exp (test_printf): Add test.
6207
6208 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
6209
6210         * gdb.arch/amd64-byte.exp: New.
6211         * gdb.arch/amd64-dword.exp: Likewise.
6212         * gdb.arch/amd64-pseudo.c: Likewise.
6213         * gdb.arch/amd64-word.exp: Likewise.
6214         * gdb.arch/i386-byte.exp: Likewise.
6215         * gdb.arch/i386-pseudo.c: Likewise.
6216         * gdb.arch/i386-word.exp: Likewise.
6217
6218 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
6219
6220         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6221         types.  Add structreg, bitfields, and flags registers.
6222         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6223         registers.
6224
6225 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6226
6227         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
6228         (load_description): Set architecture if defined.
6229
6230 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
6231
6232         * gdb.python/py-frame.exp: Add read_var block tests.
6233         * gdb.python/py-frame.c (block): New function.
6234
6235 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6236             Daniel Jacobowitz  <dan@codesourcery.com>
6237
6238         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
6239
6240 2010-02-25  David S. Miller  <davem@davemloft.net>
6241
6242         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6243         fix logic for setting all_syscalls_numbers.
6244
6245 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
6246
6247         * Makefile.in: Add py-block and py-symbol.
6248         * gdb.python/py-symbol.exp: New File.
6249         * gdb.python/py-symtab.exp: New File.
6250         * gdb.python/py-block.exp: New File.
6251         * gdb.python/py-symbol.c: New File.
6252         * gdb.python/py-block.c: New File.
6253
6254 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
6255
6256         PR python/11314
6257         * lib/gdb.exp (skip_python_tests): New function.
6258         * gdb.python/py-cmd.exp: Use skip_python_tests.
6259         * gdb.python/py-frame.exp: Likewise.
6260         * gdb.python/py-function.exp: Likewise.
6261         * gdb.python/py-prettyprint.exp: Likewise.
6262         * gdb.python/py-template.exp: Likewise.
6263         * gdb.python/py-type.exp: Likewise.
6264         * gdb.python/py-value.exp: Likewise.
6265
6266 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
6267
6268         PR9605
6269
6270         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6271
6272 2010-02-19  Tom Tromey  <tromey@redhat.com>
6273
6274         PR c++/8693, PR c++/9496:
6275         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
6276         regression tests.
6277
6278 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6279
6280         Fix compatibility with m68k as.
6281         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
6282         Use only /* comments */.
6283
6284 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6285
6286         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6287         * configure: Regenerate.
6288
6289 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
6290
6291         * gdb.python/py-type.exp: Check for Python support.
6292
6293 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6294
6295         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6296         `regsub' syntax available.
6297
6298 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6299
6300         * gdb.base/shmain.c (main): Remove printf call.
6301         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6302         * gdb.base/unload.c (main): Make format of fprintf a string
6303         literal.  Add missing endlines to prints to stderr.
6304         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6305
6306 2010-02-17  Tom Tromey  <tromey@redhat.com>
6307
6308         * gdb.java/jprint.java (jprint.props): New field.
6309         * gdb.java/jprint.exp (set_lang_java): Add regression test.
6310
6311 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6312
6313         * gdb.base/charset.exp: Don't assume new `regsub' syntax
6314         available.
6315
6316 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6317
6318         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6319         creation to support remote host testing.
6320
6321 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6322
6323         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6324         Recognize "command not found".
6325
6326 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6327
6328         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6329         single-stepping.
6330
6331 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6332
6333         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6334         if arguments are not supported.
6335
6336 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6337
6338         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6339         be const or non-const.
6340
6341 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6342
6343         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6344         mi_send_resuming_command to send -exec-continue.
6345
6346 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6347
6348         * gdb.base/list.exp (test_list_filename_and_function): Add test
6349         with single quotes.
6350         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6351         matching.
6352         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6353         Add KFAIL'd tests for PR gdb/11289.
6354
6355 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6356
6357         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6358
6359 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6360
6361         * gdb.base/comp-dir/subdir/dummy.txt: New file.
6362         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6363         a temporary directory.
6364
6365 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6366
6367         * gdb.base/charset.exp: Use a single regular expression to match
6368         show host-charset and show target-charset output.
6369
6370 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6371
6372         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6373         "Illegal process-id" expect string more exact.
6374         (attach to digits-starting nonsense is prohibited): New.
6375
6376 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6377
6378         * gdb.base/prelink.exp (set verbose on): New.
6379
6380 2010-02-12  Tomas Holmberg  <th@virtutech.com>
6381
6382         * mi-reverse.exp: New file. Test for reverse option to the
6383         following MI commands: exec-continue, exec-finish, exec-next,
6384         exec-step, exec-next-instruction, exec-step-instruction.
6385
6386 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
6387
6388         * gdb.ada/ptype_tagged_param: New testcase.
6389
6390 2010-02-08  Tom Tromey  <tromey@redhat.com>
6391
6392         PR c++/8017:
6393         * gdb.cp/overload.exp: Add tests.
6394         * gdb.cp/overload.cc (struct K): New.
6395         (namespace N): New.
6396         (main): Call new functions.
6397         (K::staticoverload): Define.
6398
6399 2010-02-08  Chris Moller  <moller@mollerware.com>
6400
6401         PR gdb/10728
6402         * gdb.cp/pr10728-x.h: New file.
6403         * gdb.cp/pr10728-x.cc: New file.
6404         * gdb.cp/pr10728-y.cc: New file.
6405         * gdb.cp/pr10728.exp: New file.
6406         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6407
6408 2010-02-08  Chris Moller  <moller@mollerware.com>
6409
6410         PR gdb/9067
6411         * gdb.cp/pr9067.exp:  New
6412         * gdb.cp/pr9067.cc:   New
6413         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6414
6415 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
6416
6417         * lib/gdb.exp (gdb_test_timeout): New global variable.
6418         Set it to timeout if not already set.
6419         (gdb_init): Reset the value of timeout to gdb_test_timeout.
6420
6421 2010-02-05  Doug Evans  <dje@google.com>
6422
6423         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6424         user.
6425
6426 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
6427
6428         PR c++/7935:
6429         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6430
6431 2010-02-04  Tom Tromey  <tromey@redhat.com>
6432
6433         * gdb.cp/virtbase.exp: Make test case names unique.
6434
6435 2010-02-02  Tom Tromey  <tromey@redhat.com>
6436
6437         * gdb.cp/virtbase.exp: Add regression tests.
6438         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6439         (main): Instantiate RHC.
6440
6441 2010-02-02  Tom Tromey  <tromey@redhat.com>
6442
6443         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6444         type-printing change.
6445
6446 2010-02-02  Tom Tromey  <tromey@redhat.com>
6447
6448         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6449         * gdb.cp/virtbase.cc: New file.
6450         * gdb.cp/virtbase.exp: New file.
6451         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6452
6453 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6454
6455         PR libc/11214:
6456         * gdb.threads/current-lwp-dead.c: Include features.h.
6457         (HAS_NOMMU): New.
6458         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6459
6460 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6461
6462         * gdb.base/symbol-without-target_section.exp,
6463         gdb.base/symbol-without-target_section.c: New.
6464
6465 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6466
6467         * gdb.base/bigcore.exp: Reset increased timeout.
6468         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6469
6470 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6471
6472         * gdb.base/gcore.exp (capture_command_output): Use
6473         gdb_test_multiple.
6474
6475 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6476
6477         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6478         * gdb.arch/thumb2-it.exp (test_it_break): New function.
6479         (Top level): Call it.
6480
6481 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6482
6483         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6484
6485 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
6486
6487         * gdb.base/call-strs.exp, gdb.base/default.exp,
6488         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6489         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6490         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6491         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6492         gdb.base/watchpoint-solib.exp: Save and restore timeout.
6493         * gdb.base/ending-run.exp: Correct restore of timeout.
6494         * gdb.base/page.exp: Remove unnecessary timeout setting.
6495
6496 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6497
6498         * gdb.ada/rec_return: New testcase.
6499
6500 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6501
6502         * gdb.ada/call_pn: New testcase.
6503
6504 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6505
6506         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6507         (Top level): Use it to resume.
6508         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6509         the Thumb mode displaced stepping error as unsupported.
6510
6511 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
6512
6513         * gdb.cp/nsusing.exp: Added more tests.
6514         * gdb.cp/nsrecurs.exp: Ditto.
6515         * gdb.cp/nsusing.cc: Added test functions.
6516         * gdb.cp/nsrecurs.cc: Ditto.
6517
6518 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6519
6520         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6521         absolute directory pathnames in gdb.sum file.
6522
6523 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
6524
6525         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6526         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6527
6528 2010-01-26  Tom Tromey  <tromey@redhat.com>
6529
6530         PR exp/7643:
6531         * gdb.base/printcmds.exp (test_print_string_constants): Remove
6532         setup_kfail.
6533
6534 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
6535
6536         * gdb.cp/nsrecurs.exp: New test.
6537         * gdb.cp/nsrecurs.cc: New test program.
6538         * gdb.cp/nsstress.exp: New test.
6539         * gdb.cp/nsstress.cc: New test program.
6540         * gdb.cp/nsdecl.exp: New test.
6541         * gdb.cp/nsdecl.cc: New test program.
6542
6543 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
6544
6545         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6546         imported into file scope.
6547         Marked test as xfail.
6548         * gdb.cp/namespace-using.cc (marker5): New function.
6549         * gdb.cp/shadow.exp: New test.
6550         * gdb.cp/shadow.cc: New test program.
6551         * gdb.cp/nsimport.exp: New test.
6552         * gdb.cp/nsimport.cc: New test program.
6553
6554 2010-01-25  Tom Tromey  <tromey@redhat.com>
6555
6556         PR gdb/11049:
6557         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6558         with "set print null-stop on".
6559
6560 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6561
6562         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6563         Adjust it for DISASSEMBLY_OMIT_FNAME.
6564
6565 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6566
6567         PR symtab/11199:
6568         * gdb.dwarf2/member-ptr-forwardref.exp,
6569         gdb.dwarf2/member-ptr-forwardref.S: New.
6570
6571 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6572
6573         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6574         (thread1_func): Protect thread1_tid with thread1_tid_cond by
6575         thread1_tid_mutex.  Remove gdbstop_mutex handling.
6576         (thread2_func): Protect thread2_tid with thread2_tid_cond by
6577         thread2_tid_mutex.  Remove gdbstop_mutex handling.
6578         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6579         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
6580         pthread_cond_wait conditionalizations by while loops.
6581
6582 2010-01-20  Tom Tromey  <tromey@redhat.com>
6583
6584         PR backtrace/10770:
6585         * gdb.dwarf2/pr10770.exp: New file.
6586         * gdb.dwarf2/pr10770.c: New file.
6587         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6588
6589 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
6590
6591         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6592         that target was removed, and the test always runs native anyway.
6593
6594 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6595
6596         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6597         gdb.base/watchpoint-cond-gone-stripped.c: New.
6598
6599 2010-01-19  Tom Tromey  <tromey@redhat.com>
6600
6601         PR c++/8000:
6602         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
6603         existing tests.
6604         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6605         (main): Use AAA::SomeEnum.
6606
6607 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6608
6609         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6610         (test_ignore_count): Declare line_callme_body global.
6611         (run to breakpoint with ignore count): Use line_callme_body.
6612         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6613         (set line_main_hello, set line_main_return): Reindent.
6614         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6615         New.
6616         (continue to callee4): Use line_callee4_body.
6617         (check *stopped from CLI command): Use line_callee4_next.
6618         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6619         (set line_main_hello, set line_main_return): Reindent.
6620         (set line_callee4_head, set line_callee4_body): New.
6621         (continue to callee4): Use line_callee4_body.
6622
6623 2010-01-18  Tom Tromey  <tromey@redhat.com>
6624
6625         PR c++/9680:
6626         * gdb.cp/casts.cc: Add new classes and variables.
6627         * gdb.cp/casts.exp: Test new operators.
6628
6629 2010-01-18  Tom Tromey  <tromey@redhat.com>
6630             Thiago Jung Bauermann  <bauerman@br.ibm.com>
6631
6632         * gdb.python/source2.py: New file.
6633         * gdb.python/source1: New file.
6634         * gdb.python/python.exp: Test "source" command.
6635
6636 2010-01-15  Stan Shebs  <stan@codesourcery.com>
6637
6638         * gdb.trace/tfile.c: New file.
6639         * gdb.trace/tfile.exp: New file.
6640
6641 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6642
6643         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6644
6645 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6646
6647         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6648
6649 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6650
6651         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6652         (libfunc): New parameter action.  Implement also selectable "sleep".
6653         * gdb.base/break-interp-main.c: Include assert.h.
6654         (libfunc): New parameter action.
6655         (main): New parameters argc and argv.  Assert argc.  Pass argv.
6656         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6657         (test_attach): New proc.
6658         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
6659         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
6660
6661 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6662
6663         * gdb.base/break-interp.exp (test_core): New proc.
6664         (test_ld): Call it.
6665
6666 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6667
6668         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6669         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
6670         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
6671         and gdb_compile_shlib.  Use new -Wl compiler options.
6672         (dl bt, main bt): New tests.
6673
6674 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6675
6676         Support PIEs with no symfile_objfile.
6677         * gdb.base/break-interp.exp: New argument at the test_ld calls.
6678         (test_ld): New parameter trynosym.
6679         (test_ld <$trynosym>): New block.
6680
6681 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6682
6683         * gdb.base/break-interp.exp: New file.
6684
6685 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
6686
6687         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6688         * gdb.python/py-prettyprint.py (pp_ls): New printer.
6689         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6690         test.
6691         * gdb.python/py-prettyprint.c: Define lazystring test structure.
6692         * gdb.python/py-mi.exp: Add lazy string test.
6693
6694 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
6695
6696         * lib/mi-support.exp (mi_check_thread_states): Handle
6697         core number in thread listing.
6698
6699 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
6700
6701         * gdb.base/maint.exp: Adjust the expected output for the
6702         "maint print type" test. Use gdb_test_multiple instead of
6703         gdb_sent/gdb_expect.
6704
6705 2010-01-11  Doug Evans  <dje@google.com>
6706
6707         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6708         from gdbserver_download.  All callers updated.
6709
6710         * gdb.server/ext-run.exp: "info os processes" requires xml support.
6711
6712 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6713
6714         Implement binary numbers parsing.
6715         * gdb.base/printcmds.exp (test_integer_literals_accepted)
6716         (test_integer_literals_rejected): New binary tests.
6717
6718 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6719
6720         * gdb.cell/configure: Regenerate.
6721
6722 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6723
6724         * gdb.base/corefile.exp: Move the core finding block out and call it as
6725         core_find, new variable $corefile, replace corefile by $corefile and
6726         [file tail $corefile] for usage vs. test names resp.
6727         * lib/gdb.exp (core_find): Move it as a new function here.  New
6728         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
6729         $destcore.  Return "" on error.
6730
6731 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6732
6733         Workaround PR binutils/10802.
6734         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6735         (twice).
6736
6737 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
6738
6739         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6740
6741 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
6742
6743         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6744         call, to avoid interruption.
6745
6746 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6747
6748         * gdb.stabs/weird.def (args93): New.
6749
6750 2010-01-07  Doug Evans  <dje@google.com>
6751
6752         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6753
6754 2010-01-07  Tom Tromey  <tromey@redhat.com>
6755
6756         * gdb.base/source.exp: Use correct line number.
6757
6758 2010-01-05  Stan Shebs  <stan@codesourcery.com>
6759
6760         * gdb.trace/tracecmd.exp: Test ftrace.
6761
6762 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6763
6764         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6765
6766 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6767
6768         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6769         "uint_for_mi_testing".
6770
6771 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6772
6773         Test indented comment in file being sourced.
6774         * gdb.base/commands.exp: Test indented comment in file being sourced.
6775
6776 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6777
6778         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6779         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6780         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6781         notice.
6782
6783 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6784
6785         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6786         notice.
6787
6788 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6789
6790         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6791         missing $after_stopped and comma (,) expectation.
6792
6793 2009-12-31  Stan Shebs  <stan@codesourcery.com>
6794
6795         * gdb.trace/actions.exp: Test teval action.
6796
6797 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6798
6799         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6800         (top level): Call test_watchpoint_in_big_blob.
6801         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6802         watchpoints.
6803         (func3): Write to buf.
6804
6805 2009-12-29  Stan Shebs  <stan@codesourcery.com>
6806
6807         * gdb.trace/actions.exp: Test default-collect.
6808
6809 2009-12-28  Stan Shebs  <stan@codesourcery.com>
6810
6811         * gdb.trace/tsv.exp: New file.
6812         * gdb.base/completion.exp: Update ambiguous info output.
6813
6814 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
6815
6816         * gdb.base/find.c (main): Reference search buffers.
6817         * gdb.base/included.c (main): Reference integer.
6818         * gdb.base/ptype.c (charfoo): Declare.
6819         (intfoo): Call charfoo.
6820         * gdb.base/scope0.c (useitp): New function.
6821         (usestatics): Use useitp.
6822         (useit): Add a type for val.
6823         * gdb.base/scope1.c (useit1): Take a pointer argument.
6824         (usestatics1): Update calls to useit1.
6825         * gdb.cp/call-c.cc: Declare foo.
6826         (main): Call foo.
6827         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6828         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6829         (main): Call C::ensureRefs and ensureOtherRefs.
6830         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6831         variables.
6832         (ensureOtherRefs): New function.
6833         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6834         * gdb.cp/templates.cc (main): Call t5i.value.
6835
6836 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6837
6838         Fix compatibility with G++-4.5.
6839         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6840         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6841         (uncaught return): Remove.
6842
6843 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6844             Phil Muldoon  <pmuldoon@redhat.com>
6845
6846         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6847         (bp_location13, bp_location14, bp_location17, bp_location18)
6848         (marker3_proto, marker4_proto): New variables.
6849         (breakpoint info): Update output.
6850         (run until breakpoint at marker3, run until breakpoint at marker4): New
6851         tests.
6852
6853 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6854
6855         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6856         Replace the printf call of Y by provided "y-set-1" label.  New block
6857         for the second shared library.
6858         * gdb.base/unload.exp: Compile also the second library, call
6859         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
6860         (single pending breakpoint info): Rename to ...
6861         (pending breakpoint info before run): ... this extended test.
6862         (libfile2, libname2, libsrcfile2, libsrc2)
6863         (lib_sl2): New variables.
6864         (exec_opts): Set also SHLIB_NAME2.
6865         (pending breakpoint info on first run at shrfunc1)
6866         (pending breakpoint info on second run at shrfunc1)
6867         (pending breakpoint info on second run at shrfunc2)
6868         (print y from libfile, print y from libfile2): New tests.
6869         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6870         * gdb.base/unloadshr2.c: New.
6871
6872 2009-12-22  Hui Zhu  <teawater@gmail.com>
6873
6874         * gdb.reverse/sigall-reverse.exp: Adjust.
6875
6876 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
6877
6878         PR gdb/10884
6879
6880         * gdb.mi/var-cmd.c (do_bitfield_tests): New
6881         (main): Call do_bitfield_tests.
6882         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6883
6884 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
6885
6886         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6887         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6888         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6889         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6890         gdb.modula2/unbounded1.c: Update copyright header.
6891
6892 2009-12-10  Chris Moller  <moller@mollerware.com>
6893
6894         PR gdb/9399
6895         * gdb.cp/virtfunc2.exp: New tests
6896         * gdb.cp/virtfunc2.cc: New tests
6897         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6898
6899 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
6900
6901         * gdb.reverse/i387-env-reverse.c: New file.
6902         * gdb.reverse/i387-env-reverse.exp: New file.
6903         * gdb.reverse/i387-stack-reverse.c: New file.
6904         * gdb.reverse/i387-stack-reverse.exp: New file.
6905
6906 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
6907
6908         * gdb.python/py-type.exp (test_range): New test.
6909
6910 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
6911
6912         PR python/10805
6913
6914         * gdb.python/py-type.exp: New file.
6915         * gdb.python/py-type.c: New file.
6916         * Makefile.in: Add py-type.
6917
6918 2009-12-03  Tom Tromey  <tromey@redhat.com>
6919
6920         * gdb.python/py-value.exp (test_parse_and_eval): New
6921         function.
6922
6923 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6924
6925        PR gdb/11022
6926
6927        * gdb.base/pr11022.exp: New test.
6928        * gdb.base/pr11022.c: New test.
6929
6930 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6931
6932         Fix spurious false FAILs.
6933         * gdb.base/structs.c (chartest): New.
6934         (main): Fill-in chartest.
6935         * gdb.base/structs.exp (anychar_re, first): New.
6936         (start_structs_test): Import global anychar_re and first.
6937         New gdb_test call "set print elements 300; ${testfile}"
6938         (start_structs_test <$first>): New block.
6939         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
6940
6941 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6942
6943         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6944
6945 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6946
6947         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6948         Force $srcfile file.
6949         * gdb.base/foll-fork.c (callee): Comment out the printf call.
6950
6951 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6952
6953         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6954         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6955         * gdb.threads/watchthreads-reorder.exp: Likewise.
6956
6957 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
6958
6959         PR gdb/8704
6960
6961         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6962         "if", and "thread".  Correct matching in the previous test.
6963
6964 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
6965
6966         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6967
6968 2009-11-23  Michael Snyder  <msnyder@vmware.com>
6969
6970         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6971         * gdb.reverse-watch-precsave.exp: Ditto.
6972
6973 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
6974
6975         * gdb.asm/asm-source.exp: Adjust.
6976         * gdb.base/help.exp: Adjust.
6977
6978 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
6979
6980         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6981         (do_syscall_tests_without_xml): Set data-directory to
6982         /the/path/to/nowhere.
6983
6984 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
6985
6986         * gdb.threads/local-watch-wrong-thread.c,
6987         gdb.threads/local-watch-wrong-thread.exp: New files.
6988
6989 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
6990
6991         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6992         assume new `regsub' syntax available.
6993
6994 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6995
6996         * gdb.base/watchpoint-hw-hit-once.exp,
6997         gdb.base/watchpoint-hw-hit-once.c: New.
6998
6999 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7000
7001         * gdb.threads/watchthreads-reorder.exp,
7002         gdb.threads/watchthreads-reorder.c: New.
7003
7004 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
7005
7006         * gdb.xml/tdesc-regs.exp: Use for m68k.
7007
7008 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
7009
7010         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7011
7012 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7013
7014         * lib/gdb.exp (current_target_name): New procedure.
7015         (gdb_wrapper_target): New variable.
7016         (gdb_wrapper_init): Set gdb_wrapper_target.
7017         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7018         wrapper.
7019
7020 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7021
7022         * gdb.base/remote.exp: Delete the slowest load test.
7023         Do not load with fixed packet sizes.
7024
7025 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7026
7027         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7028
7029 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7030
7031         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
7032         srcfile when setting a breakpoint.
7033
7034 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
7035
7036         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7037         macros.
7038
7039 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7040
7041         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7042         to be in memory.
7043         * gdb.base/display.c (force_mem): New.
7044         (do_loops): Use it.  Add breakpoint comments.
7045         (do_vars): Add a breakpoint comment.
7046         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
7047         line numbers.
7048
7049 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
7050
7051         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7052         instead of a bare "run".
7053
7054 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7055
7056         * gdb.python/py-prettyprint.exp: Adjust.
7057
7058 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7059
7060         * lib/cell.exp (skip_cell_tests): Clean up test files before
7061         returning.
7062
7063 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7064
7065         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7066         and the breakpoint menu.  Do not call perror if a prompt is seen.
7067         Consume the following GDB prompt.
7068         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7069         * gdb.cp/namespace.exp: Use gdb_test.
7070         * gdb.cp/templates.exp: Use gdb_test.
7071         (test_template_breakpoints): Use gdb_test_multiple.
7072
7073 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7074
7075         * gdb.base/break1.c (struct some_struct, values): Move earlier.
7076         (marker4): Reference values.
7077
7078 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7079
7080         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7081         is missing.
7082
7083 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7084
7085         * gdb.base/break.c (need_malloc): New.
7086         * gdb.base/constvars.c (main): Reference crass and crisp.
7087         * gdb.base/gdb1821.c (main): Reference bar.
7088         * gdb.cp/gdb1355.cc (main): Reference s1.
7089         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7090         (main): Call them.
7091         * gdb.cp/hang2.cc (dummy2): Define.
7092         * gdb.cp/hang3.cc (dummy3): Define.
7093         * gdb.cp/m-data.cc (main): Reference shadow.
7094
7095 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7096             Nathan Froyd  <froydnj@codesourcery.com>
7097
7098         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7099         remote host.
7100
7101 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
7102
7103         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7104         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7105         * gdb.dwarf2/dw2-compressed.exp: Likewise.
7106         * gdb.dwarf2/dw2-intercu.exp: Likewise.
7107         * gdb.dwarf2/dw2-intermix.exp: Likewise.
7108         * gdb.dwarf2/dw2-producer.exp: Likewise.
7109         * gdb.dwarf2/mac-fileno.exp: Likewise.
7110         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7111         py-prettyprint.py to the remote host.
7112         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7113
7114 2009-11-11  Keith Seitz  <keiths@redhat.com>
7115
7116         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7117         use it instead of "Foo".
7118         * gdb.cp/classes.exp (do_tests): Add a test to access
7119         a method through a typedef'd class name.
7120
7121 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
7122
7123         * gdb.base/long_long.exp: Permit leading zeros on floating-point
7124         exponents.
7125         * gdb.base/pointers.exp: Likewise.
7126         * gdb.cp/ref-types.exp: Likewise.
7127
7128 2009-11-11  Keith Seitz  <keiths@redhat.com>
7129
7130         * gdb.cp/cplusfuncs.cc (class foo): Add operators
7131         new[] and delete[].
7132         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7133         "void".
7134         (probe_demangler): Remove all single-quoting of
7135         method and variable names.
7136         (info_func_regexp): Remove the word "void" from any
7137         occurrence of "(void)".
7138         (print_addr_2): Remove all single-quoting of
7139         method names.
7140         (print_addr_2_kfail): Likewise.
7141         (print_addr): Single-quote C function names before
7142         passing to print_addr_2.
7143         (test_paddr_operator_functions): Remove single-quoting
7144         for method names.
7145         Add tests for operator new[] and operator delete[].
7146
7147 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7148
7149         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7150
7151 2009-11-09  Keith Seitz  <keiths@redhat.com>
7152
7153         * gdb.cp/overload.exp: Add tests for resolving overloaded
7154         methods in expression parsing/evaluation.
7155
7156 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
7157
7158         * lib/gdb.exp (default_gdb_version): Use --version instead of
7159         --command.
7160
7161 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
7162
7163         * lib/gdb.exp (gdb_compile_test): New.
7164         (skip_ada_tests, skip_java_tests): New.
7165         (gdb_compile): Use gdb_compile_test for f77.
7166         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7167         * lib/java.exp (compile_java_from_source): Remove runtests check,
7168         use gdb_compile_test to record result.
7169         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7170         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7171         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7172         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7173         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7174         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7175         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7176         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7177         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7178         adjust gdb_compile invocations.
7179
7180 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7181
7182         * Makefile.in (abs_builddir): New.
7183         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
7184         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7185         `$(abs_builddir)/site.exp'.
7186
7187 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
7188
7189         * config/m68k-emc.exp, lib/emc-support.exp,
7190         gdb.trace/gdb_c_test.c: Delete.
7191         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7192         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7193         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7194         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7195         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7196         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7197         casing for m68k-*-elf.
7198
7199 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
7200
7201         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7202         * gdb.arch/i386-prologue.exp: Likewise.
7203         * gdb.arch/i386-unwind.exp: Likewise.
7204
7205 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7206
7207         * lib/gdb.exp (gdb_expect): Fix timeout typo.
7208
7209 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7210
7211         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7212
7213 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7214
7215         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7216
7217 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7218
7219         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7220
7221 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7222
7223         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7224         * gdb.base/sepdebug2.c: New file.
7225
7226 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7227
7228         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7229         the modified warnings for catch syscall.  Verify if GDB was compiled
7230         with support for lib expat, and choose which tests to run depending
7231         on this.
7232
7233 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
7234
7235         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7236         that composite commands are parsed OK. And also test
7237         that breakpoint commands do work.
7238
7239 2009-10-23  Michael Snyder  <msnyder@vmware.com>
7240
7241         gdb.reverse/consecutive-precsave.exp: Change expect pattern
7242         to allow for new disassembly style.
7243
7244 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7245
7246         * gdb.asm/asm-source.exp: Adjust.
7247
7248 2009-10-22  Michael Snyder  <msnyder@vmware.com>
7249
7250         * gdb.reverse/break-precsave.exp: New test.
7251         * gdb.reverse/consecutive-precsave.exp: Ditto.
7252         * gdb.reverse/finish-precsave.exp: Ditto.
7253         * gdb.reverse/i386-precsave.exp: Ditto.
7254         * gdb.reverse/machinestate-precsave.exp: Ditto.
7255         * gdb.reverse/sigall-precsave.exp: Ditto.
7256         * gdb.reverse/solilb-precsave.exp: Ditto.
7257         * gdb.reverse/step-precsave.exp: Ditto.
7258         * gdb.reverse/until-precsave.exp: Ditto.
7259         * gdb.reverse/watch-precsave.exp: Ditto.
7260
7261 2009-10-22  Michael Snyder  <msnyder@vmware.com>
7262
7263         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7264         for gdb_expect.  Adjust one test's expect strings for the new
7265         format of disassemble.
7266         * gdb.reverse/finish-reverse.exp: Delete 'return'.
7267         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7268         gdb_test_multiple.
7269         * gdb.reverse/step-reverse.exp: Delete 'return'.
7270         * gdb.reverse/until-reverse.exp: Delete blank lines.
7271         * gdb.reverse/watch-reverse.exp: Delete blank lines.
7272
7273 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
7274
7275         * gdb.base/consecutive.exp: Adjust.
7276         * gdb.base/display.exp: Likewise.
7277         * gdb.base/pc-fp.exp: Likewise.
7278         * gdb.base/sigbpt.exp: Likewise.
7279
7280 2009-10-19  Michael Snyder  <msnyder@vmware.com>
7281
7282         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7283         * gdb.reverse/finish-reverse.c: Ditto.
7284         * gdb.reverse/sigall-reverse.c: Ditto.
7285         * gdb.reverse/solib-reverse.c: Ditto.
7286         * gdb.reverse/step-reverse.c: Ditto.
7287         * gdb.reverse/watch-reverse.c: Ditto.
7288
7289 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
7290             Stan Shebs  <stan@codesourcery.com>
7291
7292         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7293         * gdb.base/foll-exec.exp: Adjust to expect a process id before
7294         "Executing new program".
7295         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7296         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
7297         left listed after having been killed.
7298         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7299         * gdb.base/maint.exp: Adjust test.
7300
7301         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7302         * gdb.multi/Makefile.in: New.
7303         * gdb.multi/base.exp: New.
7304         * gdb.multi/goodbye.c: New.
7305         * gdb.multi/hangout.c: New.
7306         * gdb.multi/hello.c: New.
7307         * gdb.multi/bkpt-multi-exec.c: New.
7308         * gdb.multi/bkpt-multi-exec.exp: New.
7309         * gdb.multi/crashme.c: New.
7310
7311 2009-10-13  Tristan Gingold  <gingold@adacore.com>
7312
7313         * gdb.base/sepdebug.exp: Check debug info are found.
7314
7315 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
7316
7317         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7318         bits.
7319
7320 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7321
7322         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7323
7324 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
7325
7326         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
7327         of the comments.
7328
7329 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
7330
7331         * gdb.base/annota1.exp: Remove obsolete match_max increase.
7332         * gdb.base/annota3.exp: Idem.
7333         * gdb.base/maint.exp: Idem.
7334
7335 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
7336
7337         * lib/gdb.exp (default_gdb_init): Set current value of match_max
7338         to default.
7339
7340 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7341
7342         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7343         mingw and cygwin targets.
7344
7345 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7346             Pedro Alves  <pedro@codesourcery.com>
7347
7348         * lib/gdb.exp (gdb_compile): Avoid adding
7349         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7350
7351 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7352
7353         * gdb.base/shr1.c: Use %p in format string.
7354         * gdb.base/unload.c: Avoid warning in fprintf.
7355         * gdb.base/watchpoint-solib.c: Idem.
7356
7357 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7358
7359         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7360         long type.
7361         (test_unlink): Correct printf string.
7362         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7363         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7364
7365 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7366
7367         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7368         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7369         * gdb.arch/ia64-breakpoint-shadow.S: New file.
7370
7371 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7372
7373         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7374         * gdb.objc/nondebug.exp: Likewise.
7375
7376 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7377
7378         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7379         target_info setting.
7380
7381         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7382         that detect new threads during "info threads".
7383
7384 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7385
7386         * gdb.threads/manythreads.c (main): Increase thread stack size
7387         to 2*PTHREAD_STACK_MIN.
7388         * gdb.threads/multi-create.c (main): Likewise.
7389         (create_function): Likewise.
7390
7391 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7392
7393         * gdb.base/dump.exp: Pass difference of pointer types instead
7394         of integer types as offset to restore in intarr3.srec case.
7395
7396 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7397
7398         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7399
7400 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7401
7402         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7403
7404 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7405
7406         New test for two watchpoints, with disabling of
7407         the first inserted.
7408         * testsuite/gdb.base/watchpoints.c: New file.
7409         * testsuite/gdb.base/watchpoints.exp: New file.
7410
7411 2009-09-25  Tom Tromey  <tromey@redhat.com>
7412
7413         * gdb.base/charset.exp: Test utf-16 strings with Python.
7414
7415 2009-09-25  Tom Tromey  <tromey@redhat.com>
7416
7417         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7418         UCS-4.
7419         * gdb.base/charset.c (utf_32_string): Rename.
7420         (init_utf32): Rename.
7421         (main): Update.
7422
7423 2009-09-22  Tom Tromey  <tromey@redhat.com>
7424
7425         * gdb.python/py-function.exp: Add regression tests.
7426
7427 2009-09-21  Keith Seitz  <keiths@redhat.com>
7428
7429         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7430         with invalid operator.
7431
7432 2009-09-21  Keith Seitz  <keiths@redhat.com>
7433
7434         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7435         and destructor using typedef name of class.
7436         * gdb.cp/classes.cc (class Base1): Add a destructor.
7437         (base1): New typedef.
7438         (use_methods): Instanitate an object of type base1.
7439         * gdb.cp/templates.exp (test_template_typedef): New procedure.
7440         (do_tests): Call test_template_typedef.
7441         * gdb.cp/templates.cc (Baz::~Baz): New method.
7442         (intBazOne): New typedef.
7443         (main): Instantiate intBazOne.
7444
7445 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7446
7447         PR python/10633
7448
7449         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7450         Function.
7451         (run_lang_tests): Add print elements test.
7452
7453 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7454
7455         * gdb.python/py-value.exp (test_subscript_regression): New
7456         function.  Test for invalid subscripts.
7457         * gdb.python/py-value.c (main): Add test array, and pointer to it.
7458         (ptr_ref): New function.
7459
7460 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7461
7462         * gdb.base/default.exp: Fix "show convenience".
7463
7464 2009-09-15  Tom Tromey  <tromey@redhat.com>
7465
7466         * lib/mi-support.exp (mi_create_varobj): Update.
7467         (mi_create_floating_varobj): Likewise.
7468         (mi_create_dynamic_varobj): New proc.
7469         (mi_varobj_update): Update.
7470         (mi_varobj_update_with_type_change): Likewise.
7471         (mi_varobj_update_kv_helper): New proc.
7472         (mi_varobj_update_dynamic_helper): Rewrite.
7473         (mi_varobj_update_dynamic): New proc.
7474         (mi_list_varobj_children): Update.
7475         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7476         * gdb.python/python-prettyprint.py (pp_outer): New class.
7477         (pp_nullstr): Likewise.
7478         (lookup_function): Register new printers.
7479         * gdb.python/python-prettyprint.c (struct substruct): New type.
7480         (struct outerstruct): Likewise.
7481         (substruct_test): New function.
7482         (struct nullstr): New type.
7483         (string_1, string_2): New globals.
7484         (main): Add new tests.
7485         * gdb.python/python-mi.exp: Added regression tests.
7486         * gdb.mi/mi2-var-display.exp: Update.
7487         * gdb.mi/mi2-var-cmd.exp: Update.
7488         * gdb.mi/mi2-var-child.exp: Update.
7489         * gdb.mi/mi2-var-block.exp: Update.
7490         * gdb.mi/mi-var-invalidate.exp: Update.
7491         * gdb.mi/mi-var-display.exp: Update.
7492         * gdb.mi/mi-var-cmd.exp: Update.
7493         * gdb.mi/mi-var-child.exp: Update.
7494         * gdb.mi/mi-var-block.exp: Update.
7495         * gdb.mi/mi-break.exp: Update.
7496         * gdb.mi/gdb701.exp: Update.
7497
7498 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7499
7500         * Makefile.in: Inclusion of catch-syscall object.
7501         * gdb.base/catch-syscall.c: New file.
7502         * gdb.base/catch-syscall.exp: New file.
7503
7504 2009-09-12  Michael Snyder  <msnyder@vmware.com>
7505
7506         * gdb.reverse/step-reverse.exp: Explicitly check for targets
7507         that can support reverse debuggnig.
7508
7509 2009-09-11  Tom Tromey  <tromey@redhat.com>
7510
7511         * gdb.dwarf2/valop.S: New file.
7512         * gdb.dwarf2/valop.exp: New file.
7513
7514 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
7515
7516         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7517
7518 2009-09-10  Doug Evans  <dje@google.com>
7519
7520         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7521         Add $gdb_prompt to second breakpoint regexp.
7522
7523 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
7524
7525         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7526         names, add missing ones.
7527         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7528         * gdb.python/py-frame.c: Rename from python-frame.c.
7529         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
7530         testfile name.
7531         * gdb.python/py-function.exp: Rename from python-function.exp.
7532         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
7533         testfile name.
7534         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7535         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7536         Adjust testfile name.
7537         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7538         * gdb.python/py-template.cc: Rename from python-template.cc.
7539         * gdb.python/py-template.exp: Rename from python-template.exp.
7540         Adjust testfile name.
7541         * gdb.python/py-value.c: Rename from python-value.c.
7542         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
7543         testfile name.
7544
7545 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7546
7547         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7548         $bpt2address.
7549         (Second breakpoint address is valid on ia64)
7550         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7551
7552 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
7553
7554         * gdb.base/ending-run.exp: Restrict regular expression matching
7555         line number to require closing brace following.
7556
7557 2009-09-03  Doug Evans  <dje@google.com>
7558
7559         * gdb.base/store.exp (check_set): Fix typo in expected value message.
7560
7561 2009-09-02  Tom Tromey  <tromey@redhat.com>
7562
7563         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7564
7565 2009-09-02  Tom Tromey  <tromey@redhat.com>
7566
7567         * gdb.dwarf2/callframecfa.exp: New file.
7568         * gdb.dwarf2/callframecfa.S: New file.
7569
7570 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7571
7572         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7573         gdb.base/solib-overlap-main.c: New.
7574
7575 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
7576
7577         PR gdb/10565
7578
7579         * gdb.base/bitfields.c (struct container, container): New.
7580         (main): Initialize it and call break5.
7581         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7582
7583 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7584
7585         Support constant DW_AT_data_member_location by GCC PR debug/40659.
7586         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7587
7588 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7589
7590         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7591
7592 2009-08-26  Michael Snyder  <msnyder@vmware.com>
7593
7594         * gdb.base/i386-reverse.c: New file.
7595         * gdb.base/i386-reverse.exp: New file.
7596         * gdb.base/Makefile.in: Add new files to be removed.
7597
7598 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
7599
7600         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7601         environment-pwd for remote host.
7602         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7603
7604 2009-08-24  Keith Seitz  <keiths@redhat.com>
7605
7606         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7607         Add two new C++ completer tests which limit the output to a
7608         given class.
7609
7610 2009-08-24  Michael Snyder  <msnyder@vmware.com>
7611
7612         * gdb.base/del.exp: Fix typo in comment.
7613         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7614
7615 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7616
7617         * configure: Regenerate.
7618         * gdb.hp/configure: Likewise.
7619         * gdb.hp/gdb.aCC/configure: Likewise.
7620         * gdb.hp/gdb.base-hp/configure: Likewise.
7621         * gdb.hp/gdb.compat/configure: Likewise.
7622         * gdb.hp/gdb.defects/configure: Likewise.
7623         * gdb.hp/gdb.objdbg/configure: Likewise.
7624         * gdb.stabs/configure: Likewise.
7625
7626 2009-08-19  Doug Evans  <dje@google.com>
7627
7628         * gdb.base/gdbvars.c: New file.
7629         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7630
7631 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
7632
7633         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7634         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7635
7636 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
7637
7638         * gdb.base/default.exp: Adjust "set language test": it's now an
7639         enum command.  Larger help string moved to "help set language".
7640         * gdb.base/help.exp: Adjust "help set language" expected output,
7641         now lists all known languages.
7642
7643 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
7644
7645         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7646         all frame arguments.
7647         * gdb.arch/altivec-regs.exp: Likewise.
7648
7649 2009-08-07  Tom Tromey  <tromey@redhat.com>
7650
7651         * gdb.base/setshow.exp: Add tests for changes to set language, set
7652         check range, and set check type.
7653
7654 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
7655
7656         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7657         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7658         Call it.
7659
7660 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7661
7662         * configure.ac: Run gdb.cell tests when appropriate.
7663         * configure: Regenerate.
7664         * lib/cell.exp: New file.
7665         * gdb.cell: New directory.
7666         * gdb.cell/configure.ac: New file.
7667         * gdb.cell/configure: New file.
7668         * gdb.cell/Makefile.in: New file.
7669         * gdb.cell/arch.exp: New file.
7670         * gdb.cell/break.c: New file.
7671         * gdb.cell/break.exp: New file.
7672         * gdb.cell/break-spu.c: New file.
7673         * gdb.cell/bt.c: New file.
7674         * gdb.cell/bt2-spu.c: New file.
7675         * gdb.cell/bt-spu.c: New file.
7676         * gdb.cell/bt.exp: New file.
7677         * gdb.cell/coremaker.c: New file.
7678         * gdb.cell/coremaker-spu.c: New file.
7679         * gdb.cell/core.exp: New file.
7680         * gdb.cell/gcore.exp: New file.
7681         * gdb.cell/data.c: New file.
7682         * gdb.cell/data.exp: New file.
7683         * gdb.cell/data-spu.c: New file.
7684         * gdb.cell/ea-cache.exp: New file.
7685         * gdb.cell/ea-cache.c: New file.
7686         * gdb.cell/ea-cache-spu.c: New file.
7687         * gdb.cell/ea-standalone.c: New file.
7688         * gdb.cell/ea-standalone.exp: New file.
7689         * gdb.cell/ea-test.c: New file.
7690         * gdb.cell/ea-test.exp: New file.
7691         * gdb.cell/f-regs.exp: New file.
7692         * gdb.cell/mem-access.c: New file.
7693         * gdb.cell/mem-access.exp: New file.
7694         * gdb.cell/mem-access-spu.c: New file.
7695         * gdb.cell/ptype.exp: New file.
7696         * gdb.cell/registers.exp: New file.
7697         * gdb.cell/size.c: New file.
7698         * gdb.cell/sizeof.exp: New file.
7699         * gdb.cell/size-spu.c: New file.
7700         * gdb.cell/solib.exp: New file.
7701         * gdb.cell/solib-symbol.exp: New file.
7702
7703 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7704
7705         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7706
7707 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
7708
7709         * gdb.base/float.exp: Handle VFP registers.
7710
7711 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7712
7713         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7714         to bring gdb to the beginning of the calling line.
7715
7716         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7717         confusing the i386 epilogue unwinder.
7718
7719 2009-07-14  Stan Shebs  <stan@codesourcery.com>
7720
7721         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7722
7723 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7724
7725         * gdb.reverse/step-reverse.exp (stepi into function call):
7726         Call instruction may not be first instruction in the line.
7727         (reverse stepi from a function call): Used wrong line number.
7728
7729 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7730
7731         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7732
7733 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7734
7735         Fix gdb.base/macscp.exp when using custom inputrc.
7736         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7737         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
7738         env(TERM) set.
7739         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7740         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7741
7742 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7743
7744         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7745         * gdb.base/annota1.exp (thread_test): Import global $testfile.
7746         Change the compilation target to match the testcase name.
7747         * gdb.base/sect-cmd.exp: Change the compilation target to match the
7748         testcase name.
7749         * a2-run.exp: Use for setup prepare_for_testing.  Change the
7750         compilation target to match the testcase name.
7751         * gdb.base/commands.exp: Likewise.
7752         * gdb.base/finish.exp: Likewise.
7753         * gdb.base/float.exp: Likewise.
7754         * gdb.base/info-target.exp: Likewise.
7755         * gdb.base/relational.exp: Likewise.
7756         * gdb.base/term.exp: Likewise.
7757         * gdb.base/until.exp: Likewise.
7758         * gdb.base/volatile.exp: Likewise.
7759         * gdb.base/whatis-exp.exp: Likewise.
7760
7761 2009-07-11  Hui Zhu  <teawater@gmail.com>
7762
7763         * gdb.base/help.exp (disassemble): Update expected help text.
7764
7765 2009-07-09  Tom Tromey  <tromey@redhat.com>
7766
7767         * lib/gdb.exp: Handle TRANSCRIPT.
7768         (remote_spawn, remote_close, send_gdb): New procs.
7769
7770 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
7771
7772         * gdb.python/python-prettyprint.c: Add counted null string
7773         structure.
7774         * gdb.python/python-prettyprint.exp: Print null string. Test for
7775         embedded nulls.
7776         * gdb.python/python-prettyprint.py (pp_ns): New Function.
7777         * gdb.python/python-value.exp (test_value_in_inferior): Add
7778         variable length string fetch tests.
7779         * gdb.python/python-value.c (main): Add strings for string fetch tests.
7780
7781 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7782
7783         * gdb.base/dump.exp (inaccessible memory is reported): New test.
7784
7785 2009-07-07  Tom Tromey  <tromey@redhat.com>
7786
7787         * gdb.base/call-rt-st.exp: Update for change to escape output.
7788         * gdb.base/callfuncs.exp: Likewise.
7789         * gdb.base/charset.exp: Likewise.
7790         * gdb.base/constvars.exp: Likewise.
7791         * gdb.base/long_long.exp: Likewise.
7792         * gdb.base/pointers.exp: Likewise.
7793         * gdb.base/printcmds.exp: Likewise.
7794         * gdb.base/setvar.exp: Likewise.
7795         * gdb.base/store.exp: Likewise.
7796         * gdb.cp/ref-types.exp: Likewise.
7797         * gdb.mi/mi-var-child.exp: Likewise.
7798         * gdb.mi/mi-var-display.exp: Likewise.
7799         * gdb.mi/mi2-var-display.exp: Likewise.
7800         * gdb.base/charset.exp: Test octal escape sequence length.
7801         Update for change to escape output.
7802
7803 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7804
7805         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7806
7807 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
7808
7809         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7810
7811 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7812
7813         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7814         gdbserver increasing $portnum if "Can't bind address" has been seen.
7815
7816 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7817
7818         * gdb.base/ending-run.exp: Add "step out of main" pattern for
7819         mingw32ce.
7820
7821 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7822
7823         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7824         VFP format.
7825
7826 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
7827
7828         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7829         linux.  Adjust to use "inferior", "info inferiors", "detach
7830         inferior" and "kill inferior" instead of "restart", "info fork",
7831         "detach fork" and "delete fork".
7832         * gdb.base/ending-run.exp: Spell out "info".
7833         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7834         the "kill" command.
7835
7836 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7837
7838         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7839         change to prefix TLS offset in hex with 0x.
7840
7841 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7842
7843         * gdb.base/default.exp: Update test case for "x" changes.
7844
7845 2009-07-01  Tristan Gingold  <gingold@adacore.com>
7846
7847         * gdb.base/bigcore.exp: Make darwin untested.
7848
7849 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7850
7851         * gdb.base/completion.exp (directory completion): Create the directory.
7852         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7853         escapeuniquesub.
7854         (directory completion 2): Expect now ${escapeuniquesub}.
7855         (Glob remaining of directory test): Remove one excessive newline.
7856         Expect the real output.
7857
7858 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7859
7860         Fix `make check//%' target after `make check' has been ran.
7861         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
7862         a mkdir call.
7863         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7864         (%/.dir): Remove.
7865
7866 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7867
7868         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7869         the expected result record.
7870
7871 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7872
7873         Remove racy FAILs relying just on the timeouts.
7874         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7875         (annotation_level 2): Remove racy FAILs.
7876
7877 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7878
7879         gdb/10275
7880         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7881
7882 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
7883
7884         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7885
7886 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
7887
7888         * gdb.mi/mi-stack.exp: Testing symbolic options
7889         to -stack-list-locals and -stack-list-arguments.
7890
7891 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7892
7893         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7894
7895 2009-06-29  Tom Tromey  <tromey@redhat.com>
7896
7897         * dg-extract-results.sh: New file.
7898         * Makefile.in (FORCE_PARALLEL): New variable.
7899         (CHECK_TARGET): New conditional variable.
7900         (check): Use CHECK_TARGET.
7901         (DO_RUNTEST): New variable.
7902         (check-single): New target.
7903         (TEST_DIRS): New variable.
7904         (TEST_TARGETS): Likewise.
7905         (check-parallel): New target.
7906         (check-gdb.%): New pattern.
7907         (BASE1_FILES): New variable.
7908         (BASE2_FILES): Likewise.
7909         (check-gdb.base%): New pattern.
7910         (%/.dir): New pattern.
7911         * configure: Rebuild.
7912         * aclocal.m4 (AM_CONDITIONAL): New defun.
7913         * configure.ac: Check whether user is using GNU make.
7914         (GMAKE): New conditional.
7915
7916 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
7917
7918         * gdb.cp/namespace-nested-import.cc: New test.
7919         * gdb.cp/namespace-nested-import.exp: New test.
7920
7921 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
7922
7923         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7924         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7925         * gdb.opt/Makefile.in (EXECUTABLES): Update.
7926         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7927         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7928         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7929         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7930         gdb.opt/inline-markers.c: New files.
7931         * lib/gdb.exp (skip_inline_frame_tests): New function.
7932         (skip_inline_var_tests): New function.
7933
7934 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
7935
7936         * gdb.cp/exception.exp: Don't require $hex before inner frame in
7937         backtrace.
7938
7939 2009-06-27  Michael Snyder  <msnyder@vmware.com>
7940
7941         * gdb.reverse: New directory.
7942         * gdb.reverse/break-reverse.c: New test.
7943         * gdb.reverse/break-reverse.exp: New test.
7944         * gdb.reverse/consecutive-reverse.c: New test.
7945         * gdb.reverse/consecutive-reverse.exp: New test.
7946         * gdb.reverse/finish-reverse.c: New test.
7947         * gdb.reverse/finish-reverse.exp: New test.
7948         * gdb.reverse/machinestate.c: New test.
7949         * gdb.reverse/ms1.c: New test.
7950         * gdb.reverse/machinestate.exp: New test.
7951         * gdb.reverse/Makefile.in: New file.
7952         * gdb.reverse/shr2.c: New test.
7953         * gdb.reverse/solib-reverse.c: New test.
7954         * gdb.reverse/solib-reverse.exp: New test.
7955         * gdb.reverse/step-reverse.c: New test.
7956         * gdb.reverse/step-reverse.exp: New test.
7957         * gdb.reverse/until-reverse.c: New test.
7958         * gdb.reverse/ur1.c: New test.
7959         * gdb.reverse/until-reverse.exp: New test.
7960         * gdb.reverse/watch-reverse.c: New test.
7961         * gdb.reverse/watch-reverse.exp: New test.
7962         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7963         * configure: Regenerate.
7964
7965 2009-06-26  Doug Evans  <dje@google.com>
7966
7967         * gdb.base/psymtab.exp: Turn off pending breakpoints.
7968
7969 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7970
7971         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7972         windows problem for 'file delete $binfile'.
7973
7974 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
7975
7976         * gdb.cp/namespace-using.exp: New test.
7977         * gdb.cp/namespace-using.cc: New test.
7978
7979 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
7980
7981         * gdb.ada/variant_record_packed_array: New testcase.
7982
7983 2009-06-23  Tom Tromey  <tromey@redhat.com>
7984
7985         * gdb.base/charset.exp (test_combination): Regression test.
7986         * gdb.base/charset.c (my_wchar_t): New typedef.
7987         (myvar): New global.
7988         (main): Set myvar.
7989
7990 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
7991
7992         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7993         target.
7994
7995 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7996
7997         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7998
7999 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8000
8001         * gdb.mi/gdb680.exp: Update test for error message.
8002
8003 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8004
8005         * gdb.base/annota1.exp: Allow multiple occurrences of the
8006         frames-invalid annotation.
8007         * gdb.cp/annota2.exp: Likewise.
8008
8009 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
8010
8011         * gdb.cp/gdb2495.cc: New file.
8012         * gdb.cp/gdb2495.exp: New file.
8013
8014 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8015
8016         Report error on GDB crash during runto.
8017         * lib/gdb.exp (runto <eof>): New.
8018
8019 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
8020
8021         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8022         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8023         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8024         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8025         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8026         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8027         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8028         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8029         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8030         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8031         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8032         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8033         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8034         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8035         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8036         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8037         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8038         gdb.server/server-mon.exp, gdb.server/server-run.exp,
8039         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8040         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8041         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8042         gdb.trace/passcount.exp, gdb.trace/report.exp,
8043         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8044         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8045         gdb.trace/while-stepping.exp: Use a unique name for the compiled
8046         executable.
8047
8048 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
8049
8050         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8051         defined before referencing it.
8052
8053 2009-06-03  Doug Evans  <dje@google.com>
8054
8055         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8056         * gdb.arch/i386-see.c: Ditto.
8057
8058 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
8059
8060         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8061         (check_macro): Return 1 if undefined.
8062         If first test fails, check if macro debug information is available,
8063         and report unsupported test if no macro information is found.
8064
8065 2009-05-29  Doug Evans  <dje@google.com>
8066
8067         * gdb.threads/hand-call-in-threads.exp: New.
8068         * gdb.threads/hand-call-in-threads.c: New.
8069
8070 2009-05-29  Michael Snyder  <msnyder@vmware.com>
8071
8072         * gdb.base/break-always.exp: Change "1" to "on".
8073         Add confirmation check.
8074
8075 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
8076
8077         * gdb.threads/threxit-hop-specific.c: New.
8078         * gdb.threads/threxit-hop-specific.exp: New.
8079         * gdb.threads/thread-execl.c: New.
8080         * gdb.threads/thread-execl.exp: New.
8081
8082 2009-05-27  Tom Tromey  <tromey@redhat.com>
8083             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8084
8085         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8086         (mi_child_regexp): Likewise.
8087         (mi_list_varobj_children_range): Likewise.
8088         (mi_get_features): Likewise.
8089         (mi_list_varobj_children): Rewrite.
8090         * gdb.python/python-mi.exp: New file.
8091
8092 2009-05-27  Tom Tromey  <tromey@redhat.com>
8093             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8094             Phil Muldoon  <pmuldoon@redhat.com>
8095             Paul Pluzhnikov  <ppluzhnikov@google.com>
8096
8097         * gdb.python/python-prettyprint.exp: New file.
8098         * gdb.python/python-prettyprint.c: New file.
8099         * gdb.python/python-prettyprint.py: New file.
8100         * gdb.base/display.exp: print/r is now valid.
8101
8102 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8103             Tom Tromey  <tromey@redhat.com>
8104             Pedro Alves  <pedro@codesourcery.com>
8105             Paul Pluzhnikov  <ppluzhnikov@google.com>
8106
8107         * gdb.python/python-template.exp: New file.
8108         * gdb.python/python-template.cc: New file.
8109         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8110         tests.
8111         * gdb.python/python-value.exp (py_objfile_tests): New proc.
8112         Call it.
8113         (test_value_after_death): New proc.
8114         * gdb.python/python-value.c (PTR): New typedef.
8115         (main): New variable 'x'.
8116
8117 2009-05-27  Tom Tromey  <tromey@redhat.com>
8118
8119         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8120         tests.
8121         * gdb.python/python-value.exp (py_objfile_tests): New proc.
8122         Call it.
8123
8124 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
8125
8126         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8127
8128 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
8129
8130         * gdb.threads/fork-thread-pending.c: New.
8131         * gdb.threads/fork-thread-pending.exp: New.
8132
8133 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8134
8135         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8136         * gdb.dwarf2/dw2-strp.S (a_string2): New.
8137
8138 2009-05-18  Jon Beniston  <jon@beniston.com>
8139
8140         * gdb.asm/asm-source.exp: Add lm32 target.
8141
8142 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
8143
8144         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
8145         `gdb_get_line_number'.  Call `callee' in both parent and child.
8146         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8147         `gdb_get_line_number' instead of hardcoding line numbers.
8148         (catch_fork_unpatch_child): New procedure to test detaching
8149         breakpoints from child fork.
8150         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8151         hardcoding line numbers.
8152         (do_fork_tests): Run `catch_fork_unpatch_child'.
8153
8154 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
8155
8156         * gdb.mi/mi-cmd-var.exp: Check that when varobj
8157         of structure type enters or leaves the scope, it
8158         is reported by -var-update.
8159
8160 2009-05-11  Doug Evans  <dje@sebabeach.org>
8161
8162         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
8163         * gdb.threads/pending-step.c (main): Fix off-by-one error.
8164         * gdb.threads/schedlock.c (main): Fix off-by-one error.
8165
8166 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8167
8168         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8169
8170 2009-04-30  Doug Evans  <dje@google.com>
8171
8172         * gdb.threads/watchthreads2.exp: New testcase.
8173         * gdb.threads/watchthreads2.c: New testcase.
8174
8175 2009-04-29  Doug Evans  <dje@google.com>
8176
8177         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8178         * gdb.cp/mb-ctor.cc: Ditto.
8179         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8180         * gdb.cp/mb-inline.h (multi_line_foo): New function.
8181         * gdb.cp/mb-inline1.cc: Call it.
8182         * gdb.cp/mb-inline2.cc: Ditto.
8183         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8184         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8185
8186 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8187
8188         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8189         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
8190         Replace all uses of `decimal' by `nonzero'.
8191         (info macro FROM_COMMANDLINE): New test.
8192
8193 2009-04-27  Tom Tromey  <tromey@redhat.com>
8194
8195         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8196
8197 2009-04-27  Doug Evans  <dje@google.com>
8198
8199         * gdb.threads/watchthreads.c (main): Initialize args before starting
8200         the threads.  Plus formatting cleanup.
8201         * gdb.threads/watchthreads.exp: Avoid errant failures due to
8202         biased scheduling of one thread.
8203
8204 2009-04-27  Jerome Guitton  <guitton@adacore.com>
8205
8206         * gdb.cp/templates.cc (GetMax): New template.
8207         (main): Declare two instances of GetMax.
8208         * gdb.cp/templates.exp: Add new test.
8209
8210 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8211
8212         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8213
8214 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
8215
8216         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8217
8218 2009-04-15  Tom Tromey  <tromey@redhat.com>
8219
8220         * gdb.base/charset.exp: Add regression test.
8221
8222 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
8223
8224         * gdb.base/exe-lock.exp: New testcase.
8225
8226 2009-04-13  Tom Tromey  <tromey@redhat.com>
8227
8228         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8229         operator on Frame.
8230
8231 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8232
8233         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8234         * gdb.server/ext-attach.exp: Likewise.
8235
8236 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
8237
8238         Eliminate some sleep usage.
8239
8240         * gdb.mi/basics.c (do_nothing): New.
8241         (main): Use do_nothing instead of printf, so that
8242         not to introduce race condition between output of
8243         inferiour and output of gdb. Do not use sleep as it
8244         is not generally available on embedded targets.
8245
8246 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8247
8248         * gdb.server/ext-attach.exp: Expect an optional process id after
8249         "Detached from remote process".
8250
8251 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8252
8253         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8254         gdb.dwarf2/dw2-unresolved.exp: New.
8255
8256 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8257
8258         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
8259         mi_run_to_main.
8260
8261 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8262
8263         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
8264         mi_run_to_main.  Skip thread exit test on remote targets.
8265         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
8266         mi_run_to_main.
8267         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
8268         mi_run_to_main.
8269         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8270         when expecting ^connected.  Detect when the target doesn't support
8271         non-stop mode.
8272         (mi_run_cmd): Detect if non-stop mode was requested by isn't
8273         supported.  Return -1 on error, 0 on success.
8274         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8275         (mi_runto): Return mi_runto_helper's result explicitly.
8276
8277 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
8278
8279         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8280
8281 2009-04-01  Tom Tromey  <tromey@redhat.com>
8282
8283         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8284         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8285         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8286         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8287
8288 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
8289             Jan Kratochvil  <jan.kratochvil@redhat.com>
8290
8291         PR gdb/931
8292         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8293         output.
8294         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
8295         for gdb/931.
8296         * dw2-strp.S (DW_AT_language): Change to C++.
8297         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8298
8299 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
8300
8301         * gdb.ada/tasks: New testcase.
8302
8303 2009-03-30  Stan Shebs  <stan@codesourcery.com>
8304
8305         * gdb.trace/actions.exp: Update to match new info trace format.
8306         * gdb.trace/deltrace.exp: Ditto.
8307         * gdb.trace/infotrace.exp: Ditto.
8308         * gdb.trace/passcount.exp: Ditto.
8309         * gdb.trace/save-trace.exp: Ditto.
8310         * gdb.trace/while-stepping.exp: Ditto.
8311         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8312
8313 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8314
8315         * gdb.python/python-frame.c: New file.
8316         * gdb.python/python-frame.exp: New file.
8317
8318 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8319
8320         * gdb.python/python-value.exp: Add tests for the address
8321         attribute.
8322
8323 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
8324
8325         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8326
8327 2009-03-26  Doug Evans  <dje@google.com>
8328
8329         * gdb.mi/mi-nonstop-exit.exp: New file.
8330         * gdb.mi/non-stop-exit.c: New file.
8331
8332 2009-03-26  Tom Tromey  <tromey@redhat.com>
8333
8334         Update for change to prologue skipping:
8335         * gdb.mi/mi2-simplerun.exp: Update.
8336         * gdb.mi/mi2-break.exp: Update.
8337         * gdb.mi/mi-simplerun.exp: Update.
8338         * gdb.mi/mi-break.exp: Update.
8339         * gdb.base/ending-run.exp: Update.
8340
8341 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8342
8343         * gdb.python/python-value.exp (test_value_in_inferior): Test
8344         gdb.Value.is_optimized_out attribute.
8345
8346 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8347
8348         * gdb.dwarf2/dw2-noloc-main.c: New file.
8349         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8350         (.text): Remove.
8351         (.data): New.
8352         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8353         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8354         (DW_TAG_subprogram func_cu1, noloc): Remove.
8355         (main): New.
8356         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8357         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
8358         (file_symbols): New procedure.
8359
8360 2009-03-25  Tom Tromey  <tromey@redhat.com>
8361
8362         * gdb.base/charset.exp (valid_target_charset): New proc.
8363         Use it to skip tests on invalid charsets.
8364
8365 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
8366
8367         * gdb.base/completion.exp: Add a test for directory completion.
8368
8369 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8370
8371         Fix a racy FAIL.
8372         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8373         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8374
8375 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8376
8377         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8378         * gdb.python/python-function.exp: Add test for function returning
8379         a GDB value.
8380
8381 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8382
8383         * gdb.python/python-function.exp: New file.
8384
8385 2009-03-20  Tom Tromey  <tromey@redhat.com>
8386
8387         * gdb.base/store.exp: Update for change to escape output.
8388         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8389         to escape output.
8390         * gdb.base/pointers.exp: Update for change to escape output.
8391         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8392         to escape output.
8393         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8394         escape output.
8395         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8396         to escape output.
8397         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8398         escape output.
8399         * gdb.base/setvar.exp: Update for change to escape output.
8400         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8401         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8402         to escape output.
8403         (test_print_string_constants): Likewise.
8404         * gdb.base/charset.exp (valid_host_charset): Check size of
8405         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
8406         cases.  Handle "auto"-related output.
8407         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8408         (uvar, Uvar): New globals.
8409
8410 2009-03-19  Jerome Guitton  <guitton@adacore.com>
8411
8412         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8413         deltas.
8414         * gdb.ada/fixed_points.exp: Ditto.
8415
8416 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
8417
8418         * return-nodebug.c: Don't include stdio.h.
8419         (init): Delete.
8420         (func): Delete definition and provide extern declaration.
8421         (t): New.
8422         (main): Don't call printf.  Call func and store its result in t.
8423         * return-nodebug1.c: New.
8424         * return-nodebug.exp: Don't expect stdio output.  Instead, print
8425         the global variable t.  Drop printf formatters and cast types from
8426         foreach loop.  Don't use prepare_for_testing.  Compile
8427         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
8428         define FORMAT or CAST.
8429
8430 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8431
8432         * gdb.base/solib-display.exp: Disable test for remote targers.
8433
8434 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8435
8436         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8437
8438 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8439
8440         Fix a racy FAIL.
8441         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8442         code from `follow parent, print pids'.
8443         (`follow child, print pids', `follow parent, print pids'): Call it.
8444         Replace `gdb_test "break..."' by gdb_breakpoint.
8445
8446 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
8447
8448         * gdb.mi/mi-cli.exp: Adjust for output difference in
8449         sync and async modes.
8450
8451 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8452
8453         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8454         that was checked in by mistake. Remove loading of ada.exp, since
8455         this is not necessary in this case.
8456
8457 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8458
8459         * gdb.ada/ptype_arith_binop.exp: New testcase.
8460
8461 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8462
8463         * gdb.ada/mod_from_name: New testcase.
8464
8465 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8466
8467         * gdb.ada/tick_last_segv: New testcase.
8468
8469 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8470
8471         * gdb.mi/mi-cli.exp: Remove debug print.
8472
8473 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8474
8475         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8476         include the token in ^running and frame info in *stopped.
8477
8478 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8479
8480         * solib-display.exp: New file.
8481         * solib-display-main.c: New file.
8482         * solib-display-lib.c: New file.
8483
8484 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
8485
8486         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8487
8488 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8489
8490         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8491         (list_and_check_macro): Use more specific test name.
8492         (next to definition): Make the test names unique.
8493
8494 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
8495
8496         * gdb.pascal/floats.exp: Accept approximate results everywhere.
8497
8498 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8499
8500         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8501         notifications.
8502         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8503         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8504         * lib/mi-support.exp (library_loaded_re): New.
8505         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8506
8507 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8508
8509         * gdb.gdb/observer.exp: Use test_notification observer, not
8510         normal_stop, everywhere.
8511         (test_normal_stop_notifications): Rename to...
8512         (test_notifications): ...this.
8513         (test_observer_normal_stop): Rename to...
8514         (test_observer): ...this.
8515
8516 2009-02-16  Doug Evans  <dje@google.com>
8517
8518         * gdb.arch/amd64-disp-step.S (test_int3): New test.
8519         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8520         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8521         (test_prefixed_syscall,test_int3): New tests.
8522         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8523         (test_prefixed_syscall,test_int3): New tests.
8524
8525 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
8526
8527         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8528         (mi_expect_interrupt): Likewise.
8529         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8530         response.
8531
8532 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8533
8534         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8535         * gdb.base/pc-fp.exp (get_valueofx): Remove.
8536         Replace calls to get_valueofx by get_hexadecimal_valueof.
8537
8538 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8539
8540         * lib/gdb.exp (get_valueof): Accept anything as a return value.
8541         (get_integer_valueof): New procedure.
8542         (get_sizeof): Use new get_integer_value_of.
8543         * gdb.base/sizeof.exp: Replace all uses of get_valueof
8544         by get_integer_valueof.
8545
8546 2009-02-13  Tom Tromey  <tromey@redhat.com>
8547
8548         * gdb.base/remote.exp (get_sizeof): Remove.
8549         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8550         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8551         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8552         * lib/gdb.exp (get_valueof): Move from long_long.exp.
8553         (get_sizeof): Likewise.
8554
8555 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8556
8557         PR fortran/9806
8558         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8559
8560 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8561
8562         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8563
8564 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
8565
8566         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8567
8568 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8569
8570         * gdb.python/python-cmd.exp: New file.
8571
8572 2009-02-06  Tristan Gingold  <gingold@adacore.com>
8573
8574         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8575
8576 2009-02-05  Tristan Gingold  <gingold@adacore.com>
8577
8578         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8579         pointer is dereferenced and use this signal name in regexp.
8580         * gdb.base/signull.exp: Ditto.
8581         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8582         * gdb.base/signull.c (main): Ditto.
8583
8584 2009-02-04  Tom Tromey  <tromey@redhat.com>
8585             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8586
8587         * gdb.python/python-value.exp: Use `gdb.history' instead of
8588         `gdb.value_from_history'.
8589         (test_value_numeric_ops): Add test for conversion of enum constant.
8590         * gdb.python/python-value.c (enum e): New type.
8591         (evalue): New global.
8592         (main): Use argv.
8593
8594 2009-02-04  Jerome Guitton  <guitton@adacore.com>
8595
8596         * gdb.ada/uninitialized_vars: New test program.
8597         * gdb.ada/uninitialized_vars.exp: New testcase.
8598
8599 2009-02-02  Tom Tromey  <tromey@redhat.com>
8600
8601         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8602         * gdb.cp/pr2489.cc: Rename...
8603         * gdb.cp/pr9594.cc: ... to this.
8604
8605 2009-02-02  Tom Tromey  <tromey@redhat.com>
8606
8607         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8608         * gdb.cp/pr2489.cc: New file.
8609         * gdb.cp/cpcompletion.exp: New file.
8610
8611 2009-02-02  Tom Tromey  <tromey@redhat.com>
8612
8613         PR exp/9059:
8614         * gdb.cp/call-c.exp: Add regression test.
8615         * gdb.cp/call-c.cc (FooHandle): New typedef.
8616         (main): New variable 'handle'.
8617
8618 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8619
8620         * lib/mi-support.exp (et_mi_thread_list)
8621         (check_mi_and_console_threads): Adjust for current thread in
8622         -thread-list-ids output.
8623
8624 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8625
8626         * gdb.mi/mi-break.exp (test_disabled_creation): New.
8627         Call it.
8628
8629 2009-01-28  Doug Evans  <dje@google.com>
8630
8631         * gdb.arch/amd64-disp-step.S: New file.
8632         * gdb.arch/amd64-disp-step.exp: New file.
8633         * gdb.arch/i386-disp-step.S: New file.
8634         * gdb.arch/i386-disp-step.exp: New file.
8635
8636 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
8637
8638         * gdb.base/find.exp: Set newline variable
8639         using quotes instead of braces to fix cygwin failures.
8640
8641 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8642
8643         * gdb.base/radix.exp: Add tests to ensure that that set
8644         input-radix 0 and set output-radix 0 are really rejected.
8645
8646 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8647
8648         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8649         copyright years.
8650
8651 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8652
8653         PR gdb/9664:
8654         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8655
8656 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
8657
8658         PR c++/9631:
8659         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8660
8661 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
8662
8663         * gdb.server/file-transfer.exp: Use EXEEXT variable for
8664         binfile definition to fix Windows OS failure.
8665
8666 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8667
8668         PR gdb/9346
8669         * gdb.base/interrupt.c (sigint_handler): New.
8670         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
8671         on error.
8672         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8673         Test "signal SIGINT".
8674
8675 2009-01-19  Doug Evans  <dje@google.com>
8676
8677         * gdb.base/break.exp: Update expected gdb output.
8678         * gdb.base/sepdebug.exp: Ditto.
8679         * gdb.mi/mi-syn-frame.exp: Ditto.
8680         * gdb.mi/mi2-syn-frame.exp: Ditto.
8681         * gdb.base/call-signal-resume.exp: New file.
8682         * gdb.base/call-signals.c: New file.
8683         * gdb.base/unwindonsignal.exp: New file.
8684         * gdb.base/unwindonsignal.c: New file.
8685         * gdb.threads/interrupted-hand-call.exp: New file.
8686         * gdb.threads/interrupted-hand-call.c: New file.
8687         * gdb.threads/thread-unwindonsignal.exp: New file.
8688
8689 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
8690
8691         * gdb.base/define.exp: Test defining and hooking prefix commands.
8692         * gdb.python/python.exp: Update test for "show user" output.
8693
8694 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8695
8696         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
8697         now the output exactly, using less wildcards.  Expect also the output
8698         of gfortran-4.3.  Update for the f-valprint.c modification from
8699         2008-04-22.
8700         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8701         Remove gdb_test test names where matching the command.
8702
8703 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
8704
8705         PR breakpoints/9681:
8706         * gdb.base/watchpoint.exp: Add regression test.
8707
8708 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8709
8710         * gdb.threads/attach-into-signal.exp: Don't use
8711         gdb_suppress_entire_file.
8712         * gdb.threads/attach-stopped.exp: Ditto.
8713         * gdb.threads/attachstop-mt.exp: Ditto.
8714
8715 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8716
8717         PR gdb/8812:
8718         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8719
8720 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
8721
8722         PR gdb/7536:
8723         * gdb.base/radix.exp: Add tests to ensure invalid input radices
8724         and unsupported output radices are really rejected.
8725
8726 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8727
8728         * gdb.cp/punctuator.exp: Backslash the '$' signs.
8729
8730 2008-12-22  Tom Tromey  <tromey@redhat.com>
8731
8732         * gdb.cp/punctuator.exp: New file.
8733
8734 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8735
8736         * gdb.base/completion.exp (Completing non-existing component): New test.
8737
8738 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8739
8740         Fix for PR gdb/8648.
8741         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8742         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8743         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8744         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8745
8746 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8747
8748         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8749
8750 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
8751
8752         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8753         compiler actually generate code at the expected line number.
8754
8755 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
8756
8757         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8758
8759 2008-12-12  Tom Tromey  <tromey@redhat.com>
8760
8761         * gdb.base/commands.exp (redefine_hook_test): New proc.
8762         Call it.
8763
8764 2008-12-11  Tom Tromey  <tromey@redhat.com>
8765
8766         * gdb.base/macscp.exp: New regression test.
8767
8768 2008-12-11  Tom Tromey  <tromey@redhat.com>
8769
8770         * gdb.base/macscp.exp: Print "address.addr".
8771         * gdb.base/macscp1.c (struct outer): New struct.
8772         (address): New global.
8773
8774 2008-12-09  Tom Tromey  <tromey@redhat.com>
8775
8776         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8777         Call it.
8778
8779 2008-12-04  Doug Evans  <dje@google.com>
8780
8781         * gdb.server/ext-run.exp: Relax regexp for init program.
8782
8783 2008-12-03  Tristan Gingold  <gingold@adacore.com>
8784
8785         * gdb.base/macscp.exp: Generate an object file during compilation
8786         to work around Darwin dsymutil limitations.
8787
8788 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8789
8790         Test resolving external references to TLS variables.
8791         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8792         FILE2_THREAD_LOCAL.
8793         (testfile2, srcfile2): New variables.
8794         * gdb.threads/tls.c (file2_thread_local)
8795         (function_referencing_file2_thread_local): New.
8796         * gdb.threads/tls2.c: New file.
8797
8798 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
8799
8800         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8801         rather than integer, as integer might not be big enough when
8802         on 64bit targets.
8803
8804 2008-11-27  Jerome Guitton  <guitton@adacore.com>
8805
8806         * gdb.cp/formatted-ref.exp: Add equality test.
8807         * gdb.ada/formatted_ref.exp: Ditto.
8808
8809 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8810
8811         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8812         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8813
8814 2008-11-20  Andreas Schwab  <schwab@suse.de>
8815
8816         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8817         matching syscall entry point.
8818         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8819         (tcatch_vfork_then_child_follow): Likewise.  Finish through
8820         vfork even if we stopped at the syscall trampoline.
8821
8822 2008-11-20  Doug Evans  <dje@google.com>
8823
8824         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8825
8826 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8827
8828         * gdb.arch/ppc-dfp.exp: New file.
8829         * gdb.arch/ppc-dfp.c: New file.
8830
8831 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8832
8833         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8834
8835 2008-11-17  Doug Evans  <dje@google.com>
8836
8837         * gdb.mi/mi-syn-frame.exp: Update expected output.
8838         * gdb.mi/mi2-syn-frame.exp: Update expected output.
8839
8840 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8841
8842         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8843         "thread N" results in =thread-selected.
8844         * lib/mi-support (mi_run_cmd, mi_expect_stop)
8845         (mi_send_resuming_command_raw): Be prepared for
8846         =thread-selected.
8847
8848 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8849
8850         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8851         * lib/mi-support.exp: Likewise.
8852
8853 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
8854
8855         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8856         commands from the expected output for "help catch".
8857
8858 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
8859
8860         * gdb.ada/int_deref.exp: New testcase.
8861
8862 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
8863
8864         * gdb.mi/gdb2549.exp: New file.
8865
8866 2008-11-11  Doug Evans  <dje@google.com>
8867
8868         * gdb.base/callexit.exp: New file.
8869         * gdb.base/callexit.c: New file.
8870
8871 2008-11-10  Doug Evans  <dje@google.com>
8872
8873         * lib/gdb.exp (GDBFLAGS): Move -nx ...
8874         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
8875         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8876         (default_gdb_start,default_gdb_exit): Ditto.
8877         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8878         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8879         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8880         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8881         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8882         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8883
8884 2008-11-03  Andreas Schwab  <schwab@suse.de>
8885
8886         * gdb.base/hashline2.exp: Fix typo.
8887         * gdb.base/hashline3.exp: Likewise.
8888
8889 2008-10-30  Tom Tromey  <tromey@redhat.com>
8890
8891         * gdb.base/pointers.exp: Add test.
8892         * gdb.base/pointers.c (k, S): New typedefs.
8893         (instance): New global.
8894
8895 2008-10-30  Andreas Schwab  <schwab@suse.de>
8896
8897         * gdb.base/args.exp: Add tests for newlines.
8898
8899 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
8900
8901         gdb.base/foll-exec.exp: Update the expected output of a couple
8902         of "info breakpoints" tests.
8903
8904 2008-10-28  Tom Tromey  <tromey@redhat.com>
8905
8906         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8907
8908 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
8909
8910         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8911         gdb_start_cmd.
8912         Use runto_main before any test that requires execution.
8913
8914 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
8915
8916         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8917         instead of SIGINT.
8918
8919 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
8920
8921         * gdb.base/completion.exp: Update expected output following
8922         the addition of the "info tasks" command.
8923
8924 2008-10-22  Tom Tromey  <tromey@redhat.com>
8925
8926         * gdb.base/exprs.exp (test_expr): Add test for string
8927         concatenation.
8928
8929 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
8930
8931         * configure.ac: Output gdb.python/Makefile.
8932         * configure: Regenerate.
8933         * gdb.python/Makefile.in: New.
8934
8935 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
8936
8937         * gdb.base/foll-fork.exp: Adjust the expected output to match
8938         the new description for fork/vfork catchpoints in the "info
8939         breakpoints" output.
8940
8941 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8942
8943         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8944
8945 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8946
8947         * gdb.python/python-value.c: New file.
8948         * gdb.python/python-value.exp: New file.
8949
8950 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
8951
8952         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8953
8954 2008-10-15  Denis Pilat  <denis.pilat@st.com>
8955
8956         * gdb.cp/mb-ctor.exp: Fix a typo.
8957
8958 2008-10-09  Tom Tromey  <tromey@redhat.com>
8959
8960         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8961         'fprintf' and 'stderr'.
8962
8963 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
8964
8965         * gdb.ada/ref_tick_size.exp: New testcase.
8966
8967 2008-10-06  Doug Evans  <dje@google.com>
8968
8969         * gdb.dwarf2/dw2-cu-size.exp: New file.
8970         * gdb.dwarf2/dw2-cu-size.S: New file.
8971
8972         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8973         .Ltype_int for clarity.
8974
8975 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8976
8977         PR gdb/2384:
8978         * gdb.cp/gdb2384.exp: Extended to test more cases.
8979         * gdb.cp/gdb2384.cc: Likewise.
8980         * gdb.cp/gdb2384-base.h: Likewise.
8981         * gdb.cp/gdb2384-base.cc: Likewise.
8982
8983 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8984
8985         * gdb.base/maint.exp (maint print type): Remove printing
8986         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8987
8988 2008-09-30  Tom Tromey  <tromey@redhat.com>
8989
8990         * gdb.base/macscp.exp: Add completion tests.
8991         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8992         (TWENTY_THREE): Likewise.
8993         (FORTY_EIGHT): Likewise.
8994
8995 2008-09-30  Tom Tromey  <tromey@redhat.com>
8996
8997         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8998         everywhere.
8999         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9000
9001 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9002
9003         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9004         testcase is derived from.  Fix racy dependency on an expected PID
9005         number.  No longer support the testcase on Linux kernel 2.4.x.
9006
9007 2008-09-27  Tom Tromey  <tromey@redhat.com>
9008
9009         * gdb.base/macscp.exp: Add tests for stringification, splicing,
9010         and varargs.
9011
9012 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
9013
9014         * lib/mi-support.exp (mi_expect_interrupt): New.
9015         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9016         from gdb.mi/mi-nonstop.exp.
9017         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9018         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9019         lib/mi-support.exp.
9020         Use mi_check_thread_states throughout.  Avoid ".*" and do not
9021         require an anchor after -exec-run.
9022
9023 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
9024
9025         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9026         stop is pending.  Avoid ".*" when two stops are pending.
9027         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9028         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9029         newlines in fullnames.
9030         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9031         (mi_expect_stop): Update comments.  Only anchor in sync mode.
9032         Do not match newlines.
9033         (mi_send_resuming_command_raw): Always return status.
9034         (mi_get_stop_line): Do not match more than one line by accident.
9035         Only anchor in sync mode.
9036         (mi_run_inline_test): If -exec-next fails, give up.
9037
9038 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9039
9040         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9041         on SPU.
9042
9043 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9044
9045         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9046
9047 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9048
9049         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9050         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9051         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9052         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9053         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9054         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9055         gdb.ada/interface.exp, gdb.ada/null_array.exp,
9056         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9057         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9058         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9059         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9060         Include the "= " sequence in the expected output of print tests.
9061
9062 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9063
9064         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9065         description for boolean types.
9066
9067 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
9068
9069         * gdb.base/hook-stop-continue.c: New.
9070         * gdb.base/hook-stop-continue.exp: New.
9071
9072 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9073
9074         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9075
9076 2008-09-08  Jerome Guitton  <guitton@adacore.com>
9077
9078         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9079         (stack_check_probe_2, stack_check_probe_loop_1)
9080         (stack_check_probe_loop_2): New functions.
9081         (main): Add call to these new functions.
9082         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9083         functions, check that the breakpoint is inserted at the appropriate
9084         location.
9085         (insert_breakpoint): Slightly refine this procedure so that it can
9086         be called several times in the test.
9087
9088 2008-09-08  Jerome Guitton  <guitton@adacore.com>
9089
9090         * gdb.base/stack-checking.c: New file.
9091         * gdb.base/stack-checking.exp: New file.
9092
9093 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9094
9095         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9096         * gdb.arch/altivec-regs.exp: Likewise.
9097         * gdb.arch/vsx-regs.exp: Likewise.
9098
9099 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9100
9101         * gdb.arch/ppc-fp.exp: New file.
9102         * gdb.arch/ppc-fp.c: New file.
9103
9104 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9105
9106         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9107         lest gcc-4.3.1 optimizes the whole thing away.
9108
9109 2008-09-04  Michael Snyder  <msnyder@vmware.com>
9110
9111         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9112         as "at" (for non-debug functions such as _start).
9113
9114 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9115
9116         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9117         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
9118         software watchpoints.
9119         * gdb.base/watch_thread_num.exp: Likewise.
9120
9121 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
9122
9123         * gdb.arch/i386-bp_permanent.exp: New test.
9124
9125 2008-08-24  Tom Tromey  <tromey@redhat.com>
9126
9127         * gdb.base/maint.exp: Update "maint print type".
9128
9129 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
9130
9131         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9132         support.  Adjust the order of "*running" notifications.
9133         * gdb.mi/non-stop.c: Don't cast from int to void* and
9134         back.
9135
9136 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
9137
9138         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9139         expect to find it in the "info frame" output.
9140
9141 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
9142
9143         * gdb.base/interp.exp: Always consume both prompts.
9144
9145 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
9146
9147         * gdb.base/pending.exp: Test pending breakpoints without symbols
9148         loaded.
9149
9150 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
9151
9152         * lib/mi-support.exp (mi_expect_stop): Produce
9153         more details on failures.
9154         * gdb.mi/mi-nonstop.exp: New.
9155         * gdb.mi/non-stop.c: New.
9156
9157 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
9158
9159         * gdb.mi/mi-async.exp: Use 'set target-async'.
9160         * lib/mi-support.exp: Use 'set/show target-async'.
9161
9162 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
9163
9164         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9165
9166 2008-08-17  Tom Tromey  <tromey@redhat.com>
9167
9168         * gdb.base/help.exp (help catch): Rewrite.
9169
9170 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9171
9172         * gdb.base/define.exp: Test indented command documentation.
9173         * gdb.python/python.exp: Test indented multi-line command.
9174
9175 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
9176
9177         * testsuite/gdb.arch/vsx-regs.c: New source file.
9178         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9179         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9180
9181 2008-08-14  Tom Tromey  <tromey@redhat.com>
9182
9183         * gdb.base/macscp.exp: Add regression test for "macro define" or
9184         "macro undef" with no arguments.
9185
9186 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9187
9188         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9189
9190 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9191
9192         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9193
9194 2008-08-06  Tom Tromey  <tromey@redhat.com>
9195
9196         * gdb.python/python.exp: New file.
9197
9198 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
9199
9200         Fix for PR gdb/1543.
9201         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9202         $LOCATION.
9203         (location): New variable.
9204         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9205         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9206         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9207         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9208         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9209         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9210         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9211         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9212         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9213         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9214         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9215         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9216         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9217         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9218         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9219         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9220         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9221         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9222         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9223         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9224         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9225         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9226         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9227         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9228         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9229         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9230         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9231         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9232         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9233         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9234         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9235         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9236         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9237         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9238         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9239         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9240         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9241         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9242         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9243         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9244         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9245         gdb.base/type-opaque.exp, gdb.base/until.exp,
9246         gdb.base/value-double-free.c, gdb.base/varargs.exp,
9247         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9248         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9249         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9250         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9251         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9252         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9253         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9254         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9255         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9256         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9257         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9258         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9259         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9260         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9261         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9262         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9263         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9264         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9265         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9266         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9267         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9268         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9269         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9270         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9271         gdb.pascal/types.exp, gdb.stabs/weird.exp,
9272         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9273         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9274         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9275         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9276         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9277         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9278         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9279         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9280         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9281         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9282         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9283         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9284         lib/mi-support.exp, lib/trace-support.exp: Remove reference
9285         to bug-gdb@prep.ai.mit.edu .
9286
9287 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
9288
9289         * lib/mi-support.exp (mi_load_shlibs): New.
9290         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9291
9292 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
9293
9294         * lib/mi-support.exp (get_mi_thread_list)
9295         (check_mi_and_console_threads): New, moved from ...
9296         * gdb.mi/mi-pthread.exp: ...here.
9297         * gdb.mi/gdb669.exp (get_mi_thread_list)
9298         (check_mi_and_console_threads): Delete.
9299         * gdb.mi/mi2-pthread.exp: Likewise.
9300
9301 2008-07-28  Tom Tromey  <tromey@redhat.com>
9302
9303         * Makefile.in (just-check): Remove.  Move body to...
9304         (check): ... here.
9305
9306 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9307
9308         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9309         Add a test for duplicated SIGINTs.
9310
9311 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9312
9313         * gdb.threads/schedlock.exp (get_args): Update to work for any
9314         value of NUM.
9315         (Top level): Report the number of threads that did not resume.
9316
9317 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9318
9319         * gdb.dwarf2/dw2-compressed.S: Also define __start.
9320
9321 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9322
9323         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9324         non-MI prompt.
9325
9326 2008-07-26  Tom Tromey  <tromey@redhat.com>
9327
9328         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9329         (function_struct, function_struct_ptr): New globals.
9330         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9331         function pointer in a struct.
9332
9333 2008-07-26  Tom Tromey  <tromey@redhat.com>
9334
9335         * gdb.base/macscp.exp: Add test for macro lexing bug.
9336
9337 2008-07-18  Tom Tromey  <tromey@redhat.com>
9338
9339         * gdb.base/macscp.exp: Add macro tests.
9340
9341 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9342
9343         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9344
9345 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9346
9347         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9348
9349 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9350
9351         * gdb.cp/class2.exp: fix for failure on spu-elf
9352
9353 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9354
9355         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9356
9357 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9358
9359         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9360
9361 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
9362
9363         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9364
9365 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
9366
9367         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9368         of regexp to account for changes made to GDB in the printing of
9369         byte vectors.
9370
9371 2008-07-11  Tom Tromey  <tromey@redhat.com>
9372
9373         * gdb.base/completion.exp: Add 'help' completion test.
9374
9375 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9376
9377         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9378
9379 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9380
9381         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9382
9383 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9384
9385         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9386
9387 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9388
9389         * gdb.base/fullname.exp: Restore pwd if compiling failed.
9390
9391 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9392
9393         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9394
9395 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9396
9397         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9398         previous commit.  Add a comment.
9399
9400 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
9401
9402         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9403
9404 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9405
9406         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9407
9408 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
9409
9410         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9411         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9412         compiling an executable, link in an object that forces unbuffered
9413         output.
9414         * lib/set_unbuffered_mode.c: New file.
9415
9416 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9417
9418         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9419
9420 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
9421
9422         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9423         mi_expect_stop.
9424         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9425         Demand that *running is output.
9426         (detect_async): Perform checking every time.
9427         (mi_send_resuming_command): Extract everything into...
9428         (mi_send_resuming_command_raw): ...this.
9429         (mi_expect_stop): Don't accept any output before *stopped.
9430
9431 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
9432
9433         Robustify mi-simplerun.
9434         * gdb.mi/basics.c (main): Add a call to sleep.
9435         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9436         * gdb.mi/mi2-cli.exp: Likewise.
9437         * gdb.mi/mi-break.exp: Likewise.
9438
9439 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
9440
9441         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9442
9443 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9444
9445         * gdb.mi/mi-console.exp: Adjust.
9446         * gdb.mi/mi-syn-frame.exp: Adjust.
9447         * gdb.mi/mi2-console.exp: Adjust.
9448         * gdb.mi/mi2-syn-frame.exp: Adjust.
9449         * lib/mi-support.exp (mi_run_cmd): Adjust.
9450         (mi_send_resuming_command): Adjust.
9451
9452 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9453
9454         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9455         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9456         testing of stopped.
9457         * gdb.mi/mi2-syn-frame.exp: Likewise.
9458         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9459         (async, detect_async): New.
9460         (mi_expect_stop, mi_continue_to_line): Adjust expectation
9461         depending on if we're running in sync or async mode.
9462
9463 2008-06-09  Tom Tromey  <tromey@redhat.com>
9464
9465         * gdb.base/completion.exp: New tests for field name completion
9466         with spaces, and field name completion with '->'.
9467
9468 2008-06-06  Tom Tromey  <tromey@redhat.com>
9469
9470         * gdb.base/break1.c (struct some_struct): New struct.
9471         (values): New global.
9472         * gdb.base/completion.exp: Add field name completion test.
9473
9474 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9475
9476         * gdb.cp/call-c.exp: Test for incorrect handling of reference
9477         to pointer.
9478         * gdb.cp/call-c.cc: Likewise.
9479
9480 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
9481
9482         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9483         annotation.
9484
9485 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9486             Pedro Alves  <pedro@codesourcery.com>
9487
9488         * gdb.threads/execl.c, gdb.threads/execl1.c,
9489         gdb.threads/execl.exp: New tests.
9490
9491 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
9492             Daniel Jacobowitz  <dan@codesourcery.com>
9493
9494         * gdb.cp/exception.exp: Activate test, make it work with pending
9495         catchpoints.
9496
9497 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9498
9499         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9500
9501 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
9502
9503         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9504         now printed.
9505         * gdb.mi/mi2-var-cmd.exp: Likewise.
9506
9507 2008-05-27  Andreas Schwab  <schwab@suse.de>
9508
9509         * gdb.base/frame-args.exp: Handle arguments that are optimized
9510         out.
9511
9512 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
9513
9514         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9515         quiet for ppc32 and group options into a single variable.
9516
9517 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
9518
9519         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9520         of zero-size elements.
9521         * gdb.ada/null_array.exp: Test printing this new array.
9522
9523 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9524
9525         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9526
9527 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
9528
9529         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9530         of the "finish" command.
9531
9532 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
9533
9534         * gdb.base/annota1.exp: Test for new annotation.
9535
9536 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
9537
9538         * gdb.base/fixsection.exp: New file.
9539         * gdb.base/fixsection0.c: New file.
9540         * gdb.base/fixsection1.c: New file.
9541
9542 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9543
9544         * gdb.base/annota1.exp: Accept printf@... in place of printf.
9545         * gdb.base/annota3.exp: Likewise.
9546
9547 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
9548
9549         * gdb.base/watch_thread_num.exp: Don't run tests that require
9550         watchpoints if the target doesn't support them.
9551
9552 2008-05-12  Doug Evans  <dje@google.com>
9553
9554         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9555
9556 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
9557
9558         * gdb.ada/assign_1.exp: New testcase.
9559
9560 2008-05-09  Doug Evans  <dje@google.com>
9561
9562         * gdb.base/find.exp: New file.
9563         * gdb.base/find.c: New file.
9564
9565 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
9566
9567         * gdb.base/commands.exp (watchpoint_command_test): Handle
9568         gdb,no_hardware_watchpoints.
9569         * gdb.base/float.exp: Allow ARM targets without floating point.
9570         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9571
9572 2008-05-06  Jerome Guitton  <guitton@adacore.com>
9573             Joel Brobecker  <brobecker@adacore.com>
9574
9575         * gdb.ada/lang_switch: New test program.
9576         * gdb.ada/lang_switch.exp: New testcase.
9577
9578 2008-05-05  Doug Evans  <dje@google.com>
9579
9580         * gdb.base/help.exp (disassemble): Update expected help text.
9581
9582 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9583
9584         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9585
9586 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9587
9588         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9589         different times.
9590
9591 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9592
9593         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9594         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9595         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9596         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9597
9598 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
9599
9600         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9601         notification to appear.
9602
9603 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
9604
9605         * gdb.base/fullname.c: New file.
9606         * gdb.base/fullname.exp: New file.
9607         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9608
9609 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
9610
9611         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9612         expressions with macros.
9613
9614 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9615
9616         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9617
9618 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
9619
9620         * gdb.base/completion.exp: Handle lack of other symbols beginning
9621         with "a".
9622
9623         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9624
9625 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
9626
9627         * gdb.asm/asmsrc1.s: Add scratch space.
9628
9629 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9630             Daniel Jacobowitz  <dan@codesourcery.com>
9631
9632         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9633         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9634         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9635
9636 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
9637
9638         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9639
9640 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
9641
9642         * gdb.base/info-target.exp: New testcase.
9643
9644 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9645
9646         * gdb.cp/hang.exp: Use .cc instead of .C.
9647         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9648         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9649
9650 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9651
9652         * gdb.base/gdb1250.exp: Remove perror.
9653         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9654
9655 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
9656
9657         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9658         .2byte.
9659
9660 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
9661
9662         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
9663         (maybe_kfail): New.
9664
9665 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
9666
9667         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9668
9669 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9670
9671         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9672         * gdb.mi/mi2-syn-frame.exp: Likewise.
9673         * lib/mi-support.exp: Likewise.
9674
9675 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9676
9677         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9678         to specify regexp for the location to stop at.
9679         * gdb.base/break-always.c: New.
9680         * gdb.base/break-always.exp: New.
9681
9682 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9683
9684         * lib/mi-support.exp (mi_runto_helper): Adjust
9685         for the original-location field.
9686         (mi_create_breakpoint, mi_list_breakpoints): New.
9687         * gdb.mi/mi-break.exp: Adjust.
9688         * gdb.mi/mi2-break.exp: Adjust.
9689         * gdb.mi/mi-pending.exp: Adjust.
9690         * gdb.mi/mi-simplerun.exp: Adjust.
9691         * gdb.mi/mi2-simplerun.exp: Adjust.
9692         * gdb.mi/mi-syn-frame.exp: Adjust.
9693         * gdb.mi/mi2-syn-frame.exp: Adjust.
9694         * gdb.mi/mi-until.exp: Adjust.
9695         * gdb.mi/mi2-until.exp: Adjust.
9696         * gdb.mi/mi-var-display.exp: Adjust.
9697         * gdb.mi/mi2-var-display.exp: Adjust.
9698         * gdb.mi/mi-watch.exp: Adjust.
9699         * gdb.mi/mi2-watch.exp: Adjust.
9700
9701 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
9702
9703         * aclocal.m4: Add override.m4.
9704         * configure: Regenerate.
9705
9706 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
9707
9708         * gdb.mi/var-cmd.c (do_at_tests): Verify that
9709         '-var-update --all-values' reports new value even the type
9710         of a variable object has changed.
9711
9712 2008-04-18  Craig Silverstein  <csilvers@google.com>
9713
9714         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9715         files.
9716
9717 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
9718
9719         * gdb.ada/atomic_enum: New test program.
9720         * gdb.ada/atomic_enum.exp: New testcase.
9721
9722 2008-04-17  Doug Evans  <dje@google.com>
9723
9724         * gdb.opt/Makefile.in: Fix whitespace.
9725
9726 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
9727
9728         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9729
9730 2008-04-17  Doug Evans  <dje@google.com>
9731
9732         * gdb.base/hashline1.exp: New testcase.
9733         * gdb.base/hashline2.exp: New testcase.
9734         * gdb.base/hashline2.exp: New testcase.
9735
9736 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
9737
9738         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9739
9740 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
9741
9742         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9743         temporary breakpoint to match "Temporary breakpoint".
9744         * gdb.base/break.exp (delete_breakpoints): Likewise.
9745         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9746         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9747         * gdb.base/display.exp: Likewise.
9748         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9749         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9750         * gdb.base/restore.exp (restore_tests): Likewise.
9751         * gdb.base/sepdebug.exp: Likewise.
9752         * gdb.base/watchpoint.exp: Likewise.
9753         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9754         * gdb.mi/mi-pending.exp: Likewise.
9755         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9756         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9757         * gdb.mi/mi-var-cmd.exp: Likewise.
9758         * gdb.mi/mi-var-display.exp: Likewise.
9759         * gdb.mi/mi2-cli.exp: Likewise.
9760         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9761         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9762         * gdb.mi/mi2-var-display.exp: Likewise.
9763         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9764         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9765         new "disp" field.
9766         (mi_expect_stop): Move after_reason argument to be really after
9767         reason. This is to support fix for PR2424.
9768
9769 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9770
9771         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9772
9773 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
9774
9775         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9776         field.  Add more floating varobj tests.
9777         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9778         field.
9779         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9780         (main): Call do_at_tests.
9781         * lib/mi-support.exp (mi_create_floating_varobj)
9782         (mi_varobj_update_with_type_change): New.
9783
9784 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
9785
9786         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9787         option of -var-evaluate-expression.
9788         * gdb.mi/mi2-var-display.exp: Likewise.
9789
9790 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
9791
9792         Introduce test setup helpers.
9793         * lib/gdb.exp (build_executable, clean_restart)
9794         (prepare_for_testing): New.
9795         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9796         * gdb.base/return.exp: Likewise.
9797         * gdb.base/ending-run.exp: Likewise.
9798
9799 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
9800
9801         * gdb.mi/mi-async.exp: New test for asynchronous Machine
9802         Interface (MI) responses.
9803
9804 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
9805
9806         * gdb.cp/breakpoint.cc: New code to test conditions involving
9807         member variables.
9808         * gdb.cp/breakpoint.exp: Test condition involving member
9809         variables.
9810
9811 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
9812
9813         * lib/mi-support.exp (mi_expect_stop): New.
9814         (mi_run_cmd): Change the
9815         token.  Use mi_send_resuming_command, use
9816         mi_expect_stop.
9817         (mi_execute_to_helper): Rename to mi_execute_to.
9818         (mi_send_resuming_command): Add more error patterns.
9819         (mi_wait_for_stop): Renamed to...
9820         (mi_get_stop_line): ...this.
9821         (mi_run_inline_test): Adjust.
9822
9823         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9824         * gdb.mi/mi-console.exp: Likewise.
9825         * gdb.mi/mi-pending.exp: Likewise.
9826         * gdb.mi/mi-simplerun.exp: Likewise.
9827         * gdb.mi/mi-stack.exp: Likewise.
9828         * gdb.mi/mi-stepi.exp: Likewise.
9829         * gdb.mi/mi-syn-frame.exp: Add comment.
9830         * gdb.mi/mi-until.exp: Likewise.
9831         * gdb.mi/mi-var-display.exp: Likewise.
9832         * gdb.mi/mi-watch.exp: Likewise.
9833         * gdb.mi/mi2-cli.exp: Likewise.
9834         * gdb.mi/mi2-console.exp: Likewise.
9835         * gdb.mi/mi2-simplerun.exp: Likewise.
9836         * gdb.mi/mi2-stack.exp: Likewise.
9837         * gdb.mi/mi2-stepi.exp: Likewise.
9838         * gdb.mi/mi2-until.exp: Likewise.
9839         * gdb.mi/mi2-var-display.exp: Likewise.
9840         * gdb.mi/mi2-watch.exp: Likewise.
9841
9842 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9843
9844         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9845
9846         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9847
9848 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
9849
9850         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9851         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9852         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9853         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9854         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9855         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9856         expect an mi error duplicated in stderr.
9857
9858 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
9859
9860         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9861         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9862         Add a couple of tests that verify the behavior when the new setting
9863         is set to "cancel" and "all".
9864         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9865         "ask" before we start the testing.
9866
9867 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
9868
9869         * gdb.cp/casts.cc: Add class reference variables.
9870         * gdb.cp/casts.exp: New test cases for up/down casting references.
9871
9872 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
9873
9874         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9875         instead of beginning to make an extra test pass.
9876         * gdb.mi/mi2-var-display.exp: Likewise.
9877
9878 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
9879
9880         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
9881
9882 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
9883             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9884
9885         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9886         value.  Add xfail for older kernels.
9887
9888 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
9889
9890         Bring mi-support in line with gdb.exp.
9891         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9892         (mi_gdb_start): New function.
9893
9894 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
9895
9896         * gdb.mi/mi-var-cmd.exp: Fix a typo.
9897
9898 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9899
9900         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9901         * gdb.mi/mi2-var-display.exp: Likewise.
9902
9903 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9904
9905         * lib/mi-support.exp (mi_create_varobj_checked): New.
9906         (mi_list_varobj_children): Allow to check for a
9907         value.
9908         (mi_list_array_varobj_children): New.
9909
9910         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9911         and mi_list_varobj_children, as opposed to hardcoding
9912         expected strings.
9913         * gdb.mi/gdb701.exp: Likewise.
9914         * gdb.mi/gdb792.exp: Likewise.
9915         * gdb.mi/mi-var-block.exp: Likewise.
9916         * gdb.mi/mi-var-cmd.exp: Likewise.
9917         * gdb.mi/mi-var-invalidate.exp: Likewise.
9918         * gdb.mi/mi2-var-block.exp: Likewise.
9919         * gdb.mi/mi2-var-child.exp: Likewise.
9920         * gdb.mi/mi2-var-cmd.exp: Likewise.
9921         * gdb.mi/mi2-var-display.exp: Likewise.
9922
9923 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9924
9925         Fix random false FAILs on i386.
9926         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9927
9928 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9929
9930         PR gdb/544
9931         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9932
9933 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9934
9935         PR gdb/544
9936         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9937
9938 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9939
9940         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9941         fixed PR gdb/544.
9942
9943 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
9944
9945         * gdb.threads/fork-child-threads.exp: Test next over fork.
9946
9947 2008-03-21  Chris Demetriou  <cgd@google.com>
9948
9949         * gdb.base/break.exp (rbreak junk): New test for rbreak
9950         "Junk at end of arguments" issue.
9951
9952 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9953
9954         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9955         *& to work on created array elements.
9956         (Top level): Test print $pc with a file.  Test string operations
9957         without a target.
9958         * gdb.base/ptype.exp: Do not expect *& to work on created array
9959         elements.
9960
9961 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9962
9963         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9964         gdb.threads/staticthreads.exp: Update exit query.
9965
9966 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
9967
9968         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9969
9970 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
9971
9972         * gdb.base/watchpoint.c (global_ptr, func4): New.
9973         (main): Call func4.
9974         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9975         (test_inaccessible_watchpoint): New.
9976
9977 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
9978
9979         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9980         select the largest.
9981
9982 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
9983
9984         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9985         frames-invalid annotations.
9986
9987 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
9988
9989         * gdb.base/assign.exp: avoid same output for different tests.
9990
9991 2008-02-27  Doug Evans  <dje@google.com>
9992
9993         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9994         for bug 1738.
9995         (breakpoint_to_handler_entry): Ditto.
9996
9997 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
9998
9999         * gdb.base/ending-run.exp: Use the first line of code inside
10000         function body to test breakpoints.
10001         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10002         location where the breakpoint is inserted when using the line
10003         where a function is declared. Fix typo in the description of
10004         one of the tests.
10005         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10006
10007 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
10008
10009         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10010         tests.
10011
10012 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
10013
10014         * gdb.base/args.exp: avoid same output for tests
10015         with single quotes.
10016
10017 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
10018
10019         * gdb.base/annota1.exp: Adjust for 'info break'
10020         format changes.
10021         * gdb.base/annota3.exp: Likewise.
10022         * gdb.base/break.exp: Likewise.
10023         * gdb.base/condbreak.exp: Likewise.
10024         * gdb.base/pending.exp: Likewise.
10025         * gdb.base/sepdebug.exp: Likewise.
10026         * gdb.base/unload.exp: Likewise.
10027         * gdb.cp/ovldbreak.exp: Likewise.
10028         * gdb.mi/mi-pending.exp: Likewise.
10029
10030 2008-02-07  Doug Evans  <dje@google.com>
10031
10032         * gdb.cp/mb-inline.exp: New.
10033         * gdb.cp/mb-inline.h: New.
10034         * gdb.cp/mb-inline1.cc: New.
10035         * gdb.cp/mb-inline2.cc: New.
10036
10037 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
10038
10039         * gdb.pascal/floats.pas: New test program.
10040         * gdb.pascal/floats.exp: New testcase.
10041
10042 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10043
10044         * gdb.base/callfuncs.c (t_float_many_args): New function.
10045         (t_double_many_args): New function.
10046         * gdb.base/callfuncs.exp: Add tests for exceeding float
10047         and double parameters passed through the stack.
10048
10049 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
10050
10051         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10052         gdb.ada/complete/foo.adb: New files.
10053         * gdb.ada/complete.exp: New testcase.
10054
10055 2008-02-03  Doug Evans  <dje@google.com>
10056
10057         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10058
10059         * gdb.cp/gdb2384.exp: New file.
10060         * gdb.cp/gdb2384.cc: New file.
10061         * gdb.cp/gdb2384-base.h: New file.
10062         * gdb.cp/gdb2384-base.cc: New file.
10063
10064 2008-02-02  Doug Evans  <dje@google.com>
10065
10066         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10067
10068 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
10069
10070         * gdb.ada/sym_print_name: New test program.
10071         * gdb.ada/sym_print_name.exp: New testcase.
10072
10073 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
10074
10075         * gdb.ada/nested/hello.adb: New file.
10076         * gdb.ada/nested.exp: New testcase.
10077         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10078
10079 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
10080
10081         * gdb.mi/basic.c (return_1): New function.
10082         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10083         don't cause future evaluations of function to report
10084         creation of internal breakpoints.
10085
10086 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
10087
10088         * gdb.mi/mi-break.exp (test_error): New.
10089         Call it.
10090
10091 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
10092
10093         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10094         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10095
10096 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
10097
10098         * gdb.pascal/integers.pas: New test program.
10099         * gdb.pascal/integers.exp: New testcase.
10100
10101 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
10102
10103         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10104
10105 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
10106
10107         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10108         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10109
10110 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
10111
10112         * gdb.ada/formatted_ref: New test program.
10113         * gdb.ada/formatted_ref.exp: New testcase.
10114
10115         * gdb.cp/formatted-ref.cc: New file.
10116         * gdb.cp/formatted-ref.exp: New testcase.
10117
10118 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
10119
10120         * gdb.base/ptype.exp: Add testing of "ptype $pc".
10121
10122 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
10123
10124         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10125         (test_file_list_exec_source_file): Update to new macro-info field.
10126
10127 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
10128
10129         * gdb.ada/exprs: New test program.
10130         * gdb.ada/exprs.exp: New testcase.
10131
10132 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10133
10134         * dfp-test.c (DELTA, DELTA_B): New definitions.
10135         (double_val1, double_val2, double_val3, double_val4, double_val5,
10136         double_val6, double_val7, double_val8, double_val9, double_val10,
10137         double_val11, double_val12, double_val13, double_val14, dec32_val1,
10138         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10139         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10140         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10141         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10142         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10143         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10144         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10145         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10146         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10147         dec128_val16): New global variables.
10148         (decimal_dec128_align): New function.
10149         (decimal_mixed): Likewise.
10150         (decimal_many_args_dec32): Likewise.
10151         (decimal_many_args_dec64): Likewise.
10152         (decimal_many_args_dec128): Likewise.
10153         (decimal_many_args_mixed): Likewise.
10154         * dfp-test.exp: Add tests calling new inferior functions.
10155
10156 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10157
10158         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10159         gdb.server/ext-run.exp: New files.
10160         * lib/gdbserver-support.exp (gdbserver_download): New.
10161         (gdbserver_start): New.  Update gdbserver expected
10162         output.
10163         (gdbserver_spawn): Use them.
10164         (gdbserver_start_extended): New.
10165
10166 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10167
10168         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
10169         Run on GNU/Linux.
10170         (do_exec_tests): Check for systems which do not support catchpoints.
10171         Do not match START.
10172         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
10173         Run on GNU/Linux.  Enable verbose output.
10174         (check_fork_catchpoints): New.
10175         (explicit_fork_child_follow, catch_fork_child_follow)
10176         (tcatch_fork_parent_follow): Update expected messages.
10177         (do_fork_tests): Use check_fork_catchpoints.
10178         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
10179         Run on GNU/Linux.  Enable verbose output.
10180         (check_vfork_catchpoints): New.
10181         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10182         expected messages.
10183         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10184
10185 2008-01-29  Jim Blandy  <jimb@red-bean.com>
10186
10187         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10188         host' errors.
10189         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10190
10191 2008-01-29  Jim Blandy  <jimb@red-bean.com>
10192
10193         * gdb.threads/sigthread.c: Use barriers to ensure that
10194         child_thread and child_thread_two are always initialized before we
10195         start to use them.
10196
10197 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
10198
10199         * gdb.base/watchpoint-solib.exp: New.
10200         * gdb.base/watchpoint-solib.c: New.
10201         * gdb.base/watchpoint-solib-shr.c: New.
10202
10203 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
10204
10205         * gdb.base/gdb1056.exp: Add unsigned integer test.
10206
10207 2008-01-28  Doug Evans  <dje@google.com>
10208
10209         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10210
10211 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
10212
10213         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10214
10215         * gdb.base/expand-psymtabs.exp: Doc fix.
10216
10217 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
10218
10219         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10220
10221 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
10222
10223         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10224         -var-set-format.
10225
10226 2008-01-23  Chris Demetriou  <cgd@google.com>
10227
10228         * gdb.threads/thread_events.c: New testcase source file.
10229         * gdb.threads/thread_events.exp: New testcase expect file.
10230
10231 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
10232
10233         * lib/gdb.exp: Add the variable octal.
10234
10235         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10236         -var-set-format.
10237
10238 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
10239             Vladimir Prus  <vladimir@codesourcery.com>
10240
10241         * gdb.base/float.exp: Allow missing floating point for m68k and
10242         PowerPC.
10243
10244 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
10245
10246         * gdb.mi/basics.c: Setup for testing breakpoints
10247         ignore count.
10248         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10249         * gdb.mi/mi-cli.exp: Adjust.
10250         * gdb.mi/mi2-cli.exp: Adjust.
10251
10252 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
10253
10254         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10255         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
10256         with dummy_ptr's address.
10257         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10258         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10259         all targets.
10260         * gdb.mi/mi2-var-child.exp: Likewise.
10261
10262 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
10263
10264         * gdb.ada/null_array: New test program.
10265         * gdb.ada/null_array.exp: New testcase.
10266
10267 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
10268
10269         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10270         with required float modifiers.
10271
10272 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10273
10274         * gdb.ada/funcall_param: New test program.
10275         * gdb.ada/funcall_param.exp: New testcase.
10276
10277 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10278
10279         * gdb.ada/arrayparam: New test program.
10280         * gdb.ada/arrayparam.exp: New testcase.
10281
10282 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10283
10284         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10285         landed.  Should also fix random failures in the test following it.
10286
10287 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10288
10289         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10290         for expressions with decimal float values.
10291         (test_dfp_conversions): New function to test casts to and from
10292         decimal float types.
10293         Call test_dfp_conversions.
10294         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10295         elements.
10296         (main): Initialize ds.float4 and ds.double8 elements.
10297         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
10298         string to new error message.
10299         (d64_set_tests): Likewise.
10300         (d128_set_tests): Likewise.
10301         Add tests for expressions with decimal float variables.  Add tests for
10302         conversions to and from decimal float types.
10303
10304 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
10305
10306         * gdb.ada/packed_tagged/comp_bug.adb: New file.
10307         * gdb.ada/packed_tagged.exp: New testcase.
10308
10309 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10310
10311         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10312         gdb.ada/homonym/homonym_main.adb: New files.
10313         * gdb.ada/homonym.exp: New testcase.
10314
10315 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10316
10317         * gdb.ada/packed_array.exp: Add testing of references to
10318         a packed array.
10319
10320 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10321
10322         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10323         New files.
10324         * gdb.ada/type_coercion.exp: New testcase.
10325
10326 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10327
10328         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10329         gdb.ada/tagged/foo.adb: New file.
10330         * gdb.ada/tagged.exp: New testcase.
10331
10332 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10333
10334         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10335         gdb.ada/ptype_field/foo.adb: New files.
10336         * gdb.ada/ptype_field.exp: New testcase.
10337
10338 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10339
10340         * gdb.ada/print_pc.exp: New testcase.
10341
10342 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10343
10344         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10345         gdb.ada/taft_type/p.adb: New files.
10346         * gdb.ada/taft_type.exp: New testcase.
10347
10348 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10349
10350         * gdb.ada/array_bounds/bar.adb: New file.
10351         * gdb.ada/array_bounds.exp: New testcase.
10352
10353 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10354
10355         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10356         gdb.ada/arrayptr/foo.adb: New files.
10357         * gdb.ada/arrayptr.exp: New testcase.
10358
10359 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10360
10361         * gdb.base/set-lang-auto.exp: New testcase.
10362
10363 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10364
10365         * gdb.ada/fun_addr/foo.adb: New file.
10366         * gdb.ada/fun_addr.exp: New testcase.
10367
10368 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10369
10370         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10371         New files
10372
10373 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10374
10375         * array_subscript_addr/p.adb: New file.
10376         * array_subscript_addr.exp: New testcase.
10377
10378 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10379
10380         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10381         New files.
10382         * gdb.ada/str_cmp_ref.exp: New testcase.
10383
10384 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10385
10386         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10387         gdb.ada/fun_in_declare/foo.adb: New files.
10388         * gdb.ada/fun_in_declare.exp: New testcase.
10389
10390 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10391
10392         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10393         gdb.ada/ref_param/pck.ads: New files.
10394         * gdb.ada/ref_param.exp: New testcase.
10395
10396 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10397
10398         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10399         gdb.ada/interface/foo.adb: New files.
10400         * gdb.ada/interface.exp: New testcase.
10401
10402 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
10403
10404         * gdb.base/multi-forks.exp: Consume all output from child
10405         processes before proceeding to next test.
10406
10407 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
10408
10409         * configure: Regenerated.
10410
10411 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10412
10413         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10414         gdb.ada/fixed_cmp/fixed.adb: New files.
10415         * gdb.ada/fixed_cmp.exp: New testcase.
10416
10417 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10418
10419         * gdb.ada/boolean_expr.exp: New testcase.
10420
10421 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
10422
10423         * gdb.base/multi-forks.exp: Doc fix.
10424
10425 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
10426
10427         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10428         * gdb.ada/char_param.exp: Do not compile our test program with
10429         -gnata, this is unnecessary.
10430         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10431
10432 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10433
10434         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10435         gdb.ada/print_chars/foo.adb: New files.
10436         * gdb.ada/print_chars.exp: New testcase.
10437
10438 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10439
10440         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10441         gdb.ada/char_param/foo.adb: New files.
10442         * gdb.ada/char_param.exp: New testcase.
10443
10444 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
10445
10446         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10447         hard-coding source line numbers into the test.
10448         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10449         gdb_get_line_number to find.
10450
10451 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
10452
10453         * gdb.base/ptype.c (highest): New struct type.
10454         (the_highest): New variable of that type.
10455         (main): Add dummy assignment to a field of variable the_highest.
10456         * gdb.base/ptype.exp: Test type printing of our new variable.
10457
10458 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
10459
10460         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10461         and record first explicitly generated thread number.
10462         Use that thread number for thread specific watchpoint test.
10463         Add iteration number to repetitive tests.
10464
10465 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10466             Jim Blandy  <jimb@codesourcery.com>
10467
10468         * gdb.base/expand-psymtabs.c: New testcase
10469         source file.
10470         * gdb.base/expand-psymtabs.exp: New testcase
10471         expect file.
10472
10473 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
10474
10475         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10476         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10477
10478 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10479
10480         * gdb.ada/frame_args/foo.adb: New file.
10481         * gdb.ada/frame_args/pck.ads: New file.
10482         * gdb.ada/frame_args/pck.adb: New file.
10483         * gdb.ada/frame_args.exp: New testcase.
10484
10485 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10486
10487         * gdb.base/frame-args.c: New file.
10488         * gdb.base/frame-args.exp: New testcase.
10489
10490 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
10491             Joseph Myers  <joseph@codesourcery.com>
10492
10493         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10494
10495 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
10496
10497         * gdb.mi/mi-pending.exp: New.
10498         * gdb.mi/mi-pending.c: New.
10499         * gdb.mi/mi-pendshr.c: New.
10500
10501 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
10502
10503         * gdb.base/default.exp: Update expected output for 'info catch'.
10504
10505 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10506
10507         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10508         must be set to binary.
10509
10510 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10511
10512         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10513
10514 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
10515
10516         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10517         gdb.mi/mi-file-transfer.exp: New.
10518
10519 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10520
10521         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10522
10523 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
10524
10525         * gdb.trace/backtrace.exp: Fix a typo.
10526         * gdb.trace/circ.exp: Likewise.
10527         * gdb.trace/collection.exp: Likewise.
10528         * gdb.trace/limits.exp: Likewise.
10529         * gdb.trace/report.exp: Likewise.
10530         * gdb.trace/tfind.exp: Likewise.
10531         * gdb.trace/while-dyn.exp: Likewise.
10532
10533 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
10534
10535         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10536         objects of pointers that can't be dereferenced are now
10537         "noneditable".
10538
10539 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10540
10541         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10542         (target_cpu): Remove.
10543
10544 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
10545
10546         * gdb.base/ending-run.exp: Expect the list of cleared
10547         breakpoint to come in natural order, not the reversed one.
10548
10549 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
10550
10551         * gdb.mi/mi-var-child.c (do_child_deletion): New.
10552         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10553
10554 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
10555
10556         * gdb.base/printcmds.exp: New function
10557         test_printf_with_dfp.
10558
10559 2007-11-02  Doug Evans  <dje@google.com>
10560
10561         * gdb.disasm/t01_mov.s: Remove carriage returns.
10562         * gdb.disasm/t02_mova.s: Ditto.
10563         * gdb.disasm/t03_add.s: Ditto.
10564         * gdb.disasm/t04_sub.s: Ditto.
10565         * gdb.disasm/t05_cmp.s: Ditto.
10566         * gdb.disasm/t06_ari2.s: Ditto.
10567         * gdb.disasm/t07_ari3.s: Ditto.
10568         * gdb.disasm/t08_or.s: Ditto.
10569         * gdb.disasm/t09_xor.s: Ditto.
10570         * gdb.disasm/t10_and.s: Ditto.
10571         * gdb.disasm/t11_logs.s: Ditto.
10572         * gdb.disasm/t12_bit.s: Ditto.
10573         * gdb.disasm/t13_otr.s: Ditto.
10574
10575 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10576
10577         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10578
10579 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10580
10581         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10582         provide DFP support.
10583
10584 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
10585
10586         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10587         Test "set powerpc vector-abi".  Skip auto-detection tests for old
10588         toolchains.
10589
10590 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10591
10592         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10593         with [string compare].
10594
10595 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10596
10597         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10598         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10599
10600 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
10601
10602         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10603         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10604         * gdb.opt/Makefile.in: New makefile.
10605         * Makefile.in: Create new directory "gdb.opt".
10606         * configure.ac: Add "gdb.opt" directory.
10607         * configure: Regenerated.
10608
10609 2007-10-25  Doug Evans  <dje@google.com>
10610
10611         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10612         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10613
10614 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
10615             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10616
10617         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10618         Floating Point expressions.
10619         * gdb.base/dfp-test.exp: new file adding tests for Decimal
10620         Floating Point variables.
10621         * gdb.base/dfp-test.c: new file containing program with Decimal
10622         Floating variables, used by gdb.base/dfp-test.exp.
10623
10624 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
10625
10626         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10627
10628 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10629
10630         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10631         compiling test case with GCC.
10632         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10633
10634 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10635
10636         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10637         format changes.
10638
10639 2007-10-18  Michael Snyder  <msnyder@specifix.com>
10640
10641         * gdb.base/dbx.exp: Add missing "-re " operator.
10642
10643 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
10644
10645         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10646         * configure.ac: Removed trailing spaces after backslash.
10647         * gdb.modula2: New directory.
10648         * gdb.modula2/Makefile.in: New file.
10649         * gdb.modula2/unbounded-array.exp: New file.
10650         * gdb.modula2/unbounded1.c: New file.
10651
10652 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
10653
10654         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10655
10656 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
10657
10658         * gdb.base/sigstep.c (main): Add checks for
10659         return values for setitimer call.
10660         Call setitimer again with itimer = ITIMER_REAL
10661         if first call to setitimer fails.
10662
10663 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
10664
10665         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10666         of $timeout.
10667
10668 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
10669
10670         * gdb.server/server-run.exp: Test for dynamic linker symbols.
10671
10672 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
10673
10674         * lib/gdb.exp (gdb_run_cmd): Move comment outside
10675         of gdb_expect call, to avoid interruption.
10676
10677 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10678
10679         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10680         (v_unsigned_long_long, v_long_long_array)
10681         (v_signed_long_long_array, v_unsigned_long_long_array)
10682         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10683         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10684         [!NO_LONG_LONG]: New.
10685         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10686         v_long_long_member.
10687
10688         (v_long_long_func, v_signed_long_long_func)
10689         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10690         (main) [!NO_LONG_LONG]: Initialize long long variants.
10691
10692         * gdb.base/whatis.exp: If board file requests no_long_long, build
10693         test with NO_LONG_LONG defined.  Test long long, signed long long,
10694         and unsigned long long variants but only if board file doesn't
10695         disable it.
10696
10697 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
10698             Daniel Jacobowitz  <dan@codesourcery.com>
10699
10700         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10701         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10702         * configure: Regenerated.
10703         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10704         gdb.pascal/types.exp, lib/pascal.exp: New files.
10705
10706 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
10707
10708         * gdb.cp/classes.exp (do_tests): Always step to the line after the
10709         call.
10710         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10711         to return to the call.
10712         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10713         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10714         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10715         * gdb.mi/mi-until.exp (test_until): Likewise.
10716         * gdb.mi/mi2-until.exp (test_until): Likewise.
10717
10718 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
10719
10720         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10721         two-char array.
10722         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10723
10724 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
10725
10726         * gdb.threads/watchthreads.c (thread_function): Sleep between
10727         iterations.
10728         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10729         at once for S/390.  Generate matching fails and passes.
10730
10731 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
10732
10733         * gdb.mi/var-cmd.c (do_children_tests): Initialize
10734         the 'struct_declarations' variable to zeros.
10735
10736 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
10737
10738         * gdb.cp/mb-ctor.cc: New.
10739         * gdb.cp/mb-ctor.exp: New.
10740         * gdb.cp/mb-templates.cc: New.
10741         * gdb.cp/mb-templates.exp: New.
10742
10743 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
10744
10745         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10746
10747 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
10748
10749         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10750         targets.
10751         * configure: Regenerate.
10752
10753 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
10754
10755         * gdb.base/annota1.exp: Adjust for 'info break'
10756         format changes.
10757         * gdb.base/annota3.exp: Likewise.
10758         * gdb.base/break.exp: Likewise.
10759         * gdb.base/condbreak.exp: Likewise.
10760         * gdb.base/pending.exp: Likewise.
10761         * gdb.base/sepdebug.exp: Likewise.
10762         * gdb.base/unload.exp: Likewise.
10763         * gdb.base/ovldbreak.exp: Likewise.
10764
10765 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
10766
10767         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10768         messages.
10769         * gdb.base/chng-syms.exp: Likewise.
10770         * gdb.base/unload.exp: Likewise.
10771
10772 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
10773
10774         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10775
10776 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
10777
10778         * schedlock.c (NUM): Change to 1.
10779         (main): Use args[0] for the main thread.
10780         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
10781         regardless of the number of threads.
10782
10783 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10784
10785         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10786         type down.
10787         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10788         test.
10789         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10790         watchpoint type down.
10791         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10792         test.
10793
10794 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10795
10796         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10797         Move all the tests here and run them twice, once using software
10798         watchpoints and once using hardware watchpoints.
10799         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10800
10801 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
10802
10803         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10804         test.
10805
10806 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
10807
10808         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10809         build-id.
10810
10811         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10812         know about $ORIGIN.  Calculate output dir from $dest instead of
10813         using ${objdir}/{$subdir}.
10814
10815 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
10816
10817         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10818         gcore, before continuing with the test.
10819
10820 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
10821
10822         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10823         * gdb.mi/mi-watch.exp: Likewise.
10824
10825 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10826             Jim Blandy  <jimb@codesourcery.com>
10827
10828         * gdb.arch/i386-sse.exp: Do not expect character constants.
10829         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10830         * gdb.base/display.exp: Allow print/s.
10831         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10832         and unsigned char array changes.
10833
10834 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10835
10836         * gdb.base/display.exp: Add tests for printf %p.
10837
10838 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
10839
10840         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10841         the dll name to unicode.
10842
10843 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10844
10845         * gdb.base/default.exp (show version): Update the version text.
10846         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10847
10848 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10849
10850         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10851         New files.
10852
10853 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10854
10855         * lib/gdb.exp (build_id_debug_filename_get): New function.
10856         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10857         Remove the generate DEBUG file for the future testcase runs.
10858         New testcase for the NT_GNU_BUILD_ID retrieval.
10859         Move the final testing step to ...
10860         (test_different_dir): ... a new function.
10861         New parameter XFAIL to XFAIL all the tests performed.
10862         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10863         New parameter TYPE to PF_PREFIX all the tests performed.
10864
10865 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
10866
10867         * gdb.mi/mi-var-cp.cc (path_expression): New
10868         function.
10869         * gdb.mi/mi-var-cp.exp: Run path exression tests.
10870
10871 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
10872
10873         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10874         to fit into SPU Local Store memory.
10875
10876 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10877
10878         * gdb.base/default.exp: Adjust the expected output of "info
10879         warranty" after the switch to GPLv3.
10880
10881 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10882
10883         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10884         to 30000 (from 20000).
10885
10886 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10887
10888         Switch the license of all .exp files to GPLv3.
10889         Switch the license of all .f and .f90 files to GPLv3.
10890         Switch the license of all .s and .S files to GPLv3.
10891
10892 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10893
10894         * configure.ac: Switch license to GPLv3.
10895
10896 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10897
10898         Switch the licensing to GPLv3 for all .ads and .adb files.
10899
10900 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
10901
10902         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10903         and t_int_double.
10904         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10905
10906 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10907
10908         * gdb.base/step-line.c: Switch license to GPL version 3, and
10909         update copyright year.
10910         * gdb.base/step-line.inp: Likewise.
10911
10912 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10913
10914         * gdb.base/gdb1555.exp: Make expected output immune to formatting
10915         changes inside gdb1555.c.
10916         * gdb.base/pending.exp: Likewise.
10917
10918 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
10919
10920         * config/default.exp: New file.
10921
10922 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10923
10924         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10925         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10926
10927 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
10928
10929         * gdb.base/dump.exp: Force the correct endianness for binary
10930         formats not carrying this information.
10931
10932 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10933
10934         * gdb.threads/staticthreads.exp: Match .*sem_post.
10935
10936 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10937
10938         * gdb.base/readline.exp (operate_and_get_next): Match the final
10939         prompt.
10940
10941 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
10942
10943         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10944         to restarting SID.
10945
10946 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10947
10948         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10949         prior to `gdb_start'.
10950
10951 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10952
10953         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
10954         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10955         Remove call to gdb_unload.
10956
10957 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
10958             Daniel Jacobowitz  <dan@codesourcery.com>
10959
10960         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10961         for __WIN32__.
10962         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
10963         * gdb.base/unload.exp: Use shared library test routines.
10964
10965 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
10966
10967         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10968         * gdb.base/solib-symbol-lib.c: Likewise.
10969         * gdb.base/solib-symbol-main.c: Likewise.
10970
10971 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
10972
10973         * config/gdbserver.exp (gdb_reconnect): New.
10974         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10975         gdb.base/solib-disc.exp: New files.
10976         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10977         remote debugging".
10978         (gdb_compile): Add shlib_load flag.
10979         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10980         port.
10981         (gdbserver_reconnect): New.
10982
10983 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
10984             Daniel Jacobowitz  <dan@codesourcery.com>
10985
10986         * gdb.base/annota3.exp: Test for if construct.
10987
10988 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
10989
10990         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10991
10992 2007-06-21  Chris Dearman  <chris@mips.com>
10993             Maciej W. Rozycki  <macro@mips.com>
10994
10995         * gdb.base/display.exp: Allow a newline after display/i.
10996         * gdb.base/pc-fp.exp: Likewise.
10997         * gdb.base/sigbpt.exp: Likewise.
10998
10999 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
11000
11001         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
11002         required features to be included.
11003
11004 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
11005
11006         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11007         in info threads output.
11008
11009 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11010             Markus Deuling  <deuling@de.ibm.com>
11011
11012         * gdb.arch/spu-info.exp: New testcase.
11013         * gdb.arch/spu-info.c: New file.
11014
11015 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
11016
11017         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11018         tpcs_offset.  Restore lr after the call.
11019         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11020
11021 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
11022
11023         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11024         (gdbserver_run): Kill any running gdbserver.
11025         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11026
11027 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
11028
11029         * gdb.base/sigbpt.exp: Preset segv_addr.
11030
11031 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
11032
11033         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11034         (gdb_compile_shlib): Likewise.
11035         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11036         (default_gdb_init): Clear cleanfiles.
11037         (gdb_finish): Delete recorded cleanfiles.
11038         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11039
11040         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11041         Do not use isnative.
11042         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11043         gdb.base/so-impl-ld.exp: Likewise.
11044         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
11045         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
11046         gdb_compile.
11047
11048 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
11049
11050         * config/unknown.exp: Remove.
11051
11052 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
11053
11054         * gdb.base/info-proc.exp: Check is_remote.
11055
11056 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
11057
11058         * gdb.base/gcore.exp: Initialize variable core_supported.
11059
11060 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11061
11062         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11063
11064 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11065
11066         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11067         * gdb.threads/print-threads.exp (test_all_threads): Allow
11068         negative and hexadecimal thread IDs.
11069
11070 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11071
11072         * gdb.java/jprint.java (public): Avoid invalid call to static
11073         method.
11074
11075 2007-05-14  Denis Pilat  <denis.pilat@st.com>
11076
11077         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11078         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11079         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11080         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11081         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11082
11083 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11084
11085         * gdb.base/overlays.exp: Add support for targets with only code
11086         overlay support, not data overlay.  Support spu-*-* target in
11087         this mode.
11088         * gdb.base/ovlymgr.c: Provide stubs for spu target.
11089         * gdb.base/spu.ld: New file.
11090
11091 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
11092
11093         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11094
11095 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
11096
11097         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11098
11099 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
11100
11101         * gdb.java/jmain.exp: Handle demangled names with and without method
11102         signatures.
11103
11104 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
11105
11106         * gdb.mi/mi-syn-frame.c (main, foo, bar)
11107         (have_a_very_merry_interrupt): Remove calls to puts.
11108         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11109         inferior output.
11110         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
11111         test names.
11112
11113 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
11114             Daniel Jacobowitz  <dan@codesourcery.com>
11115
11116         * gdb.base/auxv.exp (core_works): Also check is_remote.
11117         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11118
11119 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
11120
11121         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11122         message, not the undefined 'module' variable.
11123         * gdb.base/siginfo.exp: Likewise.
11124         * gdb.base/sigstep.exp: Likewise.
11125         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11126         serialport.
11127         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11128
11129 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
11130
11131         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11132         target sim fails.  Return 0 otherwise.
11133         (gdb_load): Return prematurely if gdb_target_sim fails.
11134
11135 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11136
11137         * gdb.base/setshow.exp: Reset height after having set it to 100.
11138
11139 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11140
11141         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11142
11143 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11144
11145         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11146
11147 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
11148
11149         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11150         tests. Run the frozen varobjs test.
11151         * gdb.mi/var-cmd.c (do_frozen_tests): New.
11152         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
11153
11154 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11155
11156         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11157         gdb.base/type-opaque.exp: New files.
11158
11159 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
11160
11161         * gdb.mi/mi-var-child.c
11162         (do_children_tests): User char[2] instead of
11163         char so that automatic printing of pointers to char
11164         don't give unpredicable result.
11165         * gdb.mi/var-cmd.c (do_locals_test): Initialize
11166         local variables.
11167         * gdb.mi/mi-var-child.exp: Step to right line
11168         of do_children_tests.
11169         * gdb.mi/mi2-var-child.exp: Likewise.
11170         * gdb.mi/mi-var-cmd.exp: Step to right line of
11171         do_locals_tests.
11172         (do_children_tests): User char[2] instead of
11173         char so that automatic printing of pointers to char
11174         don't give unpredicable result.
11175         * gdb.mi/mi2-var-cmd.exp: Likewise.
11176         * lib/mi-support.exp (mi_continue_to_line):
11177         Pass test name to mi_wait_for_stop.
11178
11179 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11180
11181         * gdb.asm/asm-source.exp: Remove d10v case.
11182         * lib/gdb.exp (skip_cplus_tests): Likewise.
11183         * gdb.asm/d10v.inc: Deleted.
11184
11185 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11186
11187         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11188
11189 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11190
11191         * config/netware.exp: Delete file.
11192
11193 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
11194
11195         * gdb.dwarf2/dw2-noloc.S: New file.
11196         * gdb.dwarf2/dw2-noloc.exp: New file.
11197
11198 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
11199
11200         * gdb.cp/method2.cc: New test.
11201         * gdb.cp/method2.exp: New test.
11202         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11203
11204 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
11205
11206         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11207
11208 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
11209
11210         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11211
11212 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
11213
11214         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11215         (gdb_load): Delete, replace with...
11216         (gdb_reload): ...this.
11217         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11218         * gdb.server/server-mon.exp: Likewise.
11219         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11220         (gdb_start_cmd): New.
11221         (gdb_file_cmd): Save the last loaded file.
11222         (gdb_reload): New.
11223         (gdb_gnu_strip_debug): Use transform.
11224         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11225         support here.  Use new $last_loaded_file.  Check mtime.
11226         (gdb_target_cmd): Handle ObjC failure case.
11227         (infer_host_exec): Delete.
11228         (gdbserver_load): Rename to...
11229         (gdbserver_run): ...this.  Simplify.
11230         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11231         (mi_gdb_load): Move most contents to a new function...
11232         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
11233         (mi_run_cmd): Use mi_gdb_target_load.
11234         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11235         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11236         Use gdb_run_cmd.
11237         * gdb.base/charsign.exp: Remove incorrect comment.
11238         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11239         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11240         gdb.base/start.exp: Use gdb_start_cmd.
11241
11242 2007-03-23  Nigel Stephens  <nigel@mips.com>
11243             Maciej W. Rozycki  <macro@mips.com>
11244
11245         * gdb.base/sigbpt.exp: Fix the message when skipping test.
11246         * gdb.base/signull.exp: Similarly.
11247
11248 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11249
11250         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11251         messages available to test cases (like chng-sym.exp).
11252
11253 2007-03-14  Andreas Schwab  <schwab@suse.de>
11254
11255         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11256         format changes.
11257
11258 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
11259
11260         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11261         (optimized_1): New.
11262         (main): Call optimized_1.
11263         (gdb2029): Correct typos.  Call gdb2029_marker.
11264         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
11265         for gdb2029.
11266
11267 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
11268
11269         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11270         as tabs.  Remove redundant test pattern.
11271
11272 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11273
11274         * gdb.base/long_long.exp: Accept optional symbol name in <...>
11275         for /a format output.
11276
11277 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
11278
11279         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11280         collect output incrementally.
11281
11282 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11283
11284         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11285         for -var-create lpcharacter test.
11286         * gdb.mi/mi2-var-cmd.exp: Likewise.
11287
11288 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11289
11290         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11291         pass on targets where address zero is readable.
11292
11293 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11294
11295         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11296         just a single architecture.
11297
11298 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11299
11300         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11301         (fetch_all_registers): New function, uses gdb_test_multiple and
11302         exp_continue to fetch inferior output line-by-line.
11303         Replace all uses of do_get_all_registers by fetch_all_registers.
11304
11305 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11306
11307         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11308         in target_info.
11309
11310 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11311
11312         * gdb.threads/manythreads.exp: Use $message string for
11313         consistancy; add a default (timeout) case.
11314
11315 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11316
11317         * gdb.base/watchpoint.exp: Fix truncated comment.
11318
11319 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11320
11321         * Makefile.in: Remove spurious single-quotes from sed command.
11322
11323 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
11324
11325         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
11326         func.
11327         * gdb.mi/mi2-var-cmd.exp: Likewise.
11328
11329 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11330
11331         * gdb.dwarf2/dw2-producer.S: New file.
11332         * gdb.dwarf2/dw2-producer.exp: New testcase.
11333
11334 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
11335
11336         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11337         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11338         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11339         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11340         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11341         Revert tests to use mi_gdb_test and include value field in output
11342         of -var-create.
11343
11344 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11345
11346         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11347
11348 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11349
11350         * gdb.base/maint.exp: Remove full paths from test names.
11351         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11352         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11353
11354 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11355
11356         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11357
11358 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11359
11360         * gdb.server/server-mon.exp: New test.
11361
11362 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11363
11364         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11365
11366 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11367
11368         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11369         register capitalization.
11370
11371 2007-02-13  Denis Pilat  <denis.pilat@st.com>
11372
11373         * gdb.mi/mi-var-invalidate.exp: New file.
11374
11375 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11376
11377         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11378
11379 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11380
11381         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11382
11383 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11384
11385         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11386         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11387
11388 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
11389
11390         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11391         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11392         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11393         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11394         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11395         * gdb.mi/gdb792.exp, lib/mi-support.exp:
11396         Update tests to include value field in output of -var-create.
11397
11398 2007-02-08  Andreas Schwab  <schwab@suse.de>
11399
11400         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11401
11402 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
11403
11404         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11405         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11406
11407 2007-02-02  Denis Pilat  <denis.pilat@st.com>
11408
11409         * gdb.threads/threadapply.exp: check that frame is not changed by
11410         the thread apply all command.
11411
11412 2007-01-31  Andreas Schwab  <schwab@suse.de>
11413
11414         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11415
11416         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11417         in the dwarf sections.
11418         * gdb.dwarf2/mac-fileno.S: Likewise.
11419
11420         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11421         bspstore register on ia64.
11422
11423 2007-01-29  Andreas Schwab  <schwab@suse.de>
11424
11425         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11426         "frame-begin" annotation.
11427
11428         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11429         number of "frames-invalid" annotations.
11430
11431 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11432
11433         * gdb.base/commands.exp: Call if_commands_test.
11434         (gdb_test_no_prompt, if_commands_test): New.
11435
11436 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
11437
11438         * gdb.threads/sigthread.c (NSIGS): Make bigger.
11439
11440 2007-01-27  Andreas Schwab  <schwab@suse.de>
11441
11442         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11443         .short/.int/.quad in the dwarf sections.
11444         * gdb.dwarf2/dw2-intercu.S: Likewise.
11445         * gdb.dwarf2/dw2-intermix.S: Likewise.
11446
11447 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
11448
11449         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
11450         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11451         array.
11452         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11453         * gdb.base/setvar.exp: Likewise.
11454
11455 2007-01-26  Andreas Schwab  <schwab@suse.de>
11456
11457         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11458         test.
11459
11460         * gdb.base/multi-forks.exp ("restart $i"): Also match
11461         __kernel_syscall_via_break.
11462
11463 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
11464
11465         * lib/mi-support.exp (mi_delete_varobj): New.
11466         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11467         testcase.
11468         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11469         (main): Call the above.
11470         (reference_update_test, base_in_reference_test)
11471         (reference_to_pointer): Delete the created varobjs.
11472
11473 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
11474
11475         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11476         * configure: Regenerated.
11477         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11478         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11479         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11480         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11481         * lib/gdb.exp (gdb_skip_xml_test): New function.
11482
11483 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
11484
11485         * gdb.base/sigrepeat.exp: Correct error message.
11486
11487 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11488             Daniel Jacobowitz  <dan@codesourcery.com>
11489
11490         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11491         gdb.arch/i386-gnu-cfi-asm.S: New files.
11492
11493 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11494
11495         * lib/gdb.exp: Abort on missing `site.exp'.
11496
11497 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11498             Daniel Jacobowitz  <dan@codesourcery.com>
11499
11500         * gdb.base/included.c, gdb.base/included.exp,
11501         gdb.base/included.h: New files.
11502
11503 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
11504
11505         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11506         (maximize_rlimit): Reduce limits on 64-bit systems.
11507
11508 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
11509
11510         From Marcus Deuling <deuling@de.ibm.com>:
11511         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11512         every case.
11513
11514 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
11515
11516         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11517         (test_path_specification): Use objdir instead of srcdir to always
11518         get an absolute filename.
11519
11520 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
11521
11522         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11523
11524 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
11525
11526         * gdb.mi/mi-var-cp.cc (reference_update_tests):
11527         Make sure the variable we're using is in scope.
11528         (reference_to_pointer): Likewise.
11529
11530 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11531
11532         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11533         has no debug information.
11534
11535 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11536
11537         * gdb.base/annota1.exp: Remove extra send_gdb.
11538
11539 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11540
11541         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11542
11543 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11544
11545         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11546
11547 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
11548             Daniel Jacobowitz  <dan@codesourcery.com>
11549
11550         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11551         lcharacter or linteger change.  Correct duplicated test name.
11552         * gdb.mi/mi2-var-cmd.exp: Likewise.
11553
11554 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
11555
11556         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11557
11558 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
11559
11560         * gdb.base/nofield.c: New file.
11561         * gdb.base/nofield.exp: New testcase.
11562
11563 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
11564
11565         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11566
11567         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11568          test.
11569
11570 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11571
11572         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11573
11574 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11575
11576         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11577         when continuing.
11578
11579 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11580
11581         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11582         Expect ".exe" extension.
11583
11584 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11585
11586         * gdb.base/charset.exp: Add explicit filename to break.
11587         * gdb.base/dbx.exp: Add explicit filename to breaks.
11588
11589 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11590
11591         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11592         * gdb.mi/mi2-file.exp: Likewise.
11593
11594 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11595
11596         Implement specification of MI tests as comments
11597         in C and C++ sources.
11598         * lib/mi-support.exp (mi_autotest_data): New variable.
11599         (mi_autotest_source): New variable.
11600         (count_newlines, mi_prepare_inline_tests)
11601         (mi_get_inline_test, mi_continue_to_line)
11602         (mi_run_inline_test, mi_tbreak)
11603         (mi_send_resuming_command, mi_wait_for_stop): New functions.
11604         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11605         Run inline tests.
11606         * gdb.mi/mi-var-cp.cc: Define tests here.
11607
11608 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11609
11610         Simplify usage of mi_continue_to.
11611         * lib/mi-support.exp (mi_runto_helper): Renamed
11612         from mi_runto, added new parameter 'run_or_continue'.
11613         (mi_runto): Use mi_runto_helper.
11614         (mi_continue_to): Accept just function name as parameter.
11615         Use mi_runto_helper.
11616         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11617         * gdb.mi/mi2-var-cmd.exp: Likewise.
11618
11619 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11620
11621         Make this testcase a bit more realistic. The current code
11622         is too simplistic, and allows the compiler to optimize out
11623         some of the entities we need for this testcase.
11624         * gdb.ada/null_record/bar.ads (Void_Star): New type.
11625         (Do_Nothing): Add extra parameter.
11626         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11627         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11628         by using a variable of type Void_Star.
11629
11630 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11631
11632         * gdb.ada/catch_ex/foo.adb: New file.
11633         * gdb.ada/catch_ex.exp: New testcase.
11634
11635 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
11636
11637         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11638         pass --image-base to linker.
11639
11640 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11641             Daniel Jacobowitz  <dan@codesourcery.com>
11642
11643         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
11644         secondary prompts.
11645
11646 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11647
11648         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11649         output.  Test the types of members and member pointers.
11650         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11651         gdb/2092.
11652         * gdb.cp/member-ptr.exp: Search for a comment instead of a
11653         statement.  Enable for GCC.  Update expected output for some tests
11654         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
11655         layout.
11656         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11657         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11658         (Diamond::vget_base): New.
11659         (main): Add new tests.
11660         * gdb.cp/printmethod.exp: Update expected output for member functions.
11661         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11662         print pEe->D::vg().
11663
11664 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11665
11666         * gdb.threads/tls.exp: Allow stops in sem_post.
11667
11668 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
11669
11670         * gdb.base/annota1.exp: Allow .*printf in backtraces.
11671         * gdb.base/annota3.exp: Likewise.
11672         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11673         again (instead of timing out).
11674         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11675         GCC bug 26475.
11676         * gdb.java/jmisc.exp: Adjust to work with method signatures including
11677         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
11678         test from jmisc1.exp.
11679         * gdb.java/jmisc1.exp: Delete.
11680         * gdb.java/jprint.exp: Adjust to work with method signatures including
11681         return types.
11682         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11683         * gdb.threads/linux-dp.exp: Don't be confused by program output.
11684         * lib/java.exp (compile_java_from_source): Pass the correct type
11685         to target_compile.
11686
11687 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
11688
11689         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11690         (stack_align_edx): New function.
11691         (stack_align_eax): New function.
11692         (main): Add calls to stack_align_edx and stack_align_eax.
11693         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11694         Add testing for the cases where the register used during a stack
11695         realignment is edx. Same for eax.
11696
11697 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11698
11699         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11700         and generic PE targets.
11701
11702 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
11703
11704         * gdb.ada/array_return.exp: Update copyright date list.
11705
11706 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
11707
11708         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11709         (Create_Small_Float_Vector): New function.
11710         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11711         function body.
11712         * gdb.ada/array_return/p.adb: Use new type and function from
11713         package Pck.
11714         * gdb.ada/array_return.exp: Add a test verifying that GDB is
11715         able to print the value returned by a function returning an
11716         array of float.
11717
11718 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
11719
11720         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11721         The associated tests should be PASSing.
11722
11723 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11724
11725         Test for base in references.
11726         * gdb.mi/mi-var-cp.cc: Add test code.
11727         * gdb.mi/mi-var-cp.exp: Test for bases in references.
11728         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11729         * gdb.mi/mi2-watch.exp: Likewise.
11730         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11731         (mi_list_varobj_children): New function.
11732
11733 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11734
11735         * lib/mi-support.exp
11736         (mi_runto): Accept "()" after function name.
11737         (mi_create_varobj): New function.
11738         (mi_varobj_update): New function.
11739         (mi_Check_varobj_value): New function.
11740         * gdb.mi/mi-var-cp.exp: New file.
11741         * gdb.mi/mi-var-cp.cc: New file.
11742
11743 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
11744
11745         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11746         gdb.base/weaklib2.c: New files.
11747
11748 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
11749
11750         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11751         info.  Adjust test names.
11752
11753         * gdb.base/break.c (main): Move position of malloc.
11754         * gdb.base/break.exp: Revert mistaken checkin.
11755
11756 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
11757
11758         * gdb.mi/mi-var-cmd.exp: Check -var-update after
11759         assignement of arrays and function pointers.
11760         * gdb.mi/var-cmd.c: Add declaration necessary for above
11761         tests.
11762
11763 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11764
11765         * gdb.base/break.c (main): Call malloc.
11766
11767         * gdb.threads/linux-dp.exp: Read thread table before and after
11768         creating each philosopher and verify it.
11769
11770 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11771             Paul Brook  <paul@codesourcery.com>
11772             Daniel Jacobowitz  <dan@codesourcery.com>
11773
11774         * gdb.base/ending-run.exp: Flatten expect script stepping out of
11775         main to remove duplication.  Add start function of the form
11776         '_*start[1-9]*'. Add RVDS start function.
11777
11778 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11779
11780         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11781
11782 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11783
11784         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11785         * gdb.asm/spu.inc: New file.
11786         * gdb.base/term.exp: Disable if [target_info exists noargs].
11787         * gdb.gdb/complaints.exp: Disable if ![isnative].
11788         * gdb.gdb/selftest.exp: Likewise.
11789         * gdb.gdb/observer.exp: Likewise.
11790         * gdb.gdb/xfullpath.exp: Likewise.
11791         * gdb.base/attach.exp: Disable on SPU target.
11792         * gdb.cp/bs145503.exp: Likewise.
11793         * gdb.cp/exception.exp: Likewise.
11794         * gdb.cp/userdef.exp: Likewise.
11795
11796 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11797
11798         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11799
11800 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
11801
11802         * gdb.base/completion.exp: Fix completion tests for
11803         'info' and 'info '.
11804         * gdb.base/help.exp (help_test_raw, test_class_help)
11805         (test_prefix_command_help): Move...
11806         * lib/gdb.exp: Here.
11807         * gdb.base/main.exp: Adjust.
11808         * gdb.cp/maint.exp: Adjust.
11809         * gdb.trace/tracecmd.exp: Use test_help_class.
11810
11811 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11812
11813         * gdb.stabs/weird.exp (print_weird_var): Use
11814         gdb_test_multiple instead of gdb_expect.
11815
11816 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11817
11818         * gdb.base/help.exp (help_test_raw): New.
11819         (test_class_help): New.
11820         (test_prefix_command_help): New.
11821         Adjust testcases.
11822
11823 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
11824
11825         * gdb.base/constvars.c (main): Write to crass and crips, so that
11826         they are allocated by the compiler.
11827
11828 2006-10-27  Andreas Schwab  <schwab@suse.de>
11829
11830         * gdb.base/multi-forks.exp: Use "detach fork" instead of
11831         "detach-fork".
11832
11833 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
11834
11835         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11836         of patterns.
11837
11838 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11839
11840         * gdb.base/sepdebug.exp: Remove debug format test.
11841         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11842         Handle no-symtab.
11843         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11844
11845 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11846
11847         * gdb.threads/manythreads.c (thread_function, main): Don't cast
11848         int to pointer or pointer to int.
11849         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11850
11851 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
11852
11853         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11854
11855 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11856
11857         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11858
11859 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
11860
11861         PR c++/2116
11862         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11863
11864 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11865
11866         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11867         the corresponding bug has been fixed in GDB (PR/2018).
11868
11869 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11870
11871         * gdb.base/subst.exp: New testcase.
11872
11873 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11874
11875         * gdb.ada/array_return/pck.ads: Add copyright notice.
11876         * gdb.ada/array_return/pck.adb: Likewise.
11877         * gdb.ada/array_return/p.adb: Likewise.
11878         * gdb.ada/exec_changed/first.adb: Likewise.
11879         * gdb.ada/exec_changed/second.adb: Likewise.
11880
11881 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11882
11883         * gdb.ada/watch_arg/watch.adb: New file.
11884         * gdb.ada/watch_arg.exp: New testcase.
11885
11886 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
11887
11888         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11889         via string_to_regexp.
11890         * gdb.mi/mi2-basics.exp: Likewise.
11891
11892 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
11893
11894         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11895         Remove unused / obsolete files.
11896
11897 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
11898
11899         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11900
11901 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
11902
11903         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11904         HIGH_FRAME argument to -stack-list-arguments can be larger than
11905         the number of frames.
11906
11907 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
11908
11909         * gdb.base/args.c (main): Add breakpoint marker.
11910         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
11911         really test empty arguments.
11912         (args_load): Delete.
11913         (args_test): New.
11914
11915 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
11916
11917         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11918         check for one file.
11919
11920 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
11921
11922         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11923         HIGH_FRAME argument to -stack-list-locals can be larger than
11924         the number of frames.
11925
11926 2006-08-18  Fred Fish  <fnf@specifix.com>
11927
11928         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11929         '$' in front of skip_vmx_tests_saved when setting that.
11930
11931 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
11932
11933         * gdb.base/trace-commands.exp: New file.
11934
11935 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
11936             Daniel Jacobowitz  <dan@codesourcery.com>
11937
11938         * gdb.base/step-bt.exp: Make hexadecimal address optional in
11939         expected output of the backtrace commands.
11940
11941 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
11942
11943         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11944         untested followed by return combination.
11945         * gdb.arch/altivec-regs.exp: Likewise.
11946         * gdb.arch/e500-abi.exp: Likewise.
11947         * gdb.arch/e500-regs.exp: Likewise.
11948         * gdb.arch/gdb1291.exp: Likewise.
11949         * gdb.arch/gdb1431.exp: Likewise.
11950         * gdb.arch/gdb1558.exp: Likewise.
11951         * gdb.arch/i386-prologue.exp: Likewise.
11952         * gdb.arch/i386-unwind.exp: Likewise.
11953         * gdb.asm/asm-source.exp: Likewise.
11954         * gdb.base/a2-run.exp: Likewise.
11955         * gdb.base/advance.exp: Likewise.
11956         * gdb.base/all-bin.exp: Likewise.
11957         * gdb.base/annota1.exp: Likewise.
11958         * gdb.base/annota3.exp: Likewise.
11959         * gdb.base/args.exp: Likewise.
11960         * gdb.base/arithmet.exp: Likewise.
11961         * gdb.base/assign.exp: Likewise.
11962         * gdb.base/async.exp: Likewise.
11963         * gdb.base/attach.exp: Likewise.
11964         * gdb.base/bang.exp: Likewise.
11965         * gdb.base/bigcore.exp: Likewise.
11966         * gdb.base/bitfields.exp: Likewise.
11967         * gdb.base/bitfields2.exp: Likewise.
11968         * gdb.base/break.exp: Likewise.
11969         * gdb.base/call-sc.exp: Likewise.
11970         * gdb.base/call-strs.exp: Likewise.
11971         * gdb.base/callfuncs.exp: Likewise.
11972         * gdb.base/checkpoint.exp: Likewise.
11973         * gdb.base/chng-syms.exp: Likewise.
11974         * gdb.base/code-expr.exp: Likewise.
11975         * gdb.base/commands.exp: Likewise.
11976         * gdb.base/completion.exp: Likewise.
11977         * gdb.base/cond-expr.exp: Likewise.
11978         * gdb.base/condbreak.exp: Likewise.
11979         * gdb.base/consecutive.exp: Likewise.
11980         * gdb.base/constvars.exp: Likewise.
11981         * gdb.base/corefile.exp: Likewise.
11982         * gdb.base/cvexpr.exp: Likewise.
11983         * gdb.base/dbx.exp: Likewise.
11984         * gdb.base/define.exp: Likewise.
11985         * gdb.base/detach.exp: Likewise.
11986         * gdb.base/display.exp: Likewise.
11987         * gdb.base/dump.exp: Likewise.
11988         * gdb.base/ena-dis-br.exp: Likewise.
11989         * gdb.base/ending-run.exp: Likewise.
11990         * gdb.base/environ.exp: Likewise.
11991         * gdb.base/eval-skip.exp: Likewise.
11992         * gdb.base/exprs.exp: Likewise.
11993         * gdb.base/fileio.exp: Likewise.
11994         * gdb.base/finish.exp: Likewise.
11995         * gdb.base/float.exp: Likewise.
11996         * gdb.base/foll-exec.exp: Likewise.
11997         * gdb.base/foll-fork.exp: Likewise.
11998         * gdb.base/foll-vfork.exp: Likewise.
11999         * gdb.base/freebpcmd.exp: Likewise.
12000         * gdb.base/funcargs.exp: Likewise.
12001         * gdb.base/gcore.exp: Likewise.
12002         * gdb.base/gdb1090.exp: Likewise.
12003         * gdb.base/gdb1250.exp: Likewise.
12004         * gdb.base/huge.exp: Likewise.
12005         * gdb.base/info-proc.exp: Likewise.
12006         * gdb.base/interrupt.exp: Likewise.
12007         * gdb.base/jump.exp: Likewise.
12008         * gdb.base/langs.exp: Likewise.
12009         * gdb.base/lineinc.exp: Likewise.
12010         * gdb.base/list.exp: Likewise.
12011         * gdb.base/logical.exp: Likewise.
12012         * gdb.base/long_long.exp: Likewise.
12013         * gdb.base/macscp.exp: Likewise.
12014         * gdb.base/maint.exp: Likewise.
12015         * gdb.base/mips_pro.exp: Likewise.
12016         * gdb.base/miscexprs.exp: Likewise.
12017         * gdb.base/multi-forks.exp: Likewise.
12018         * gdb.base/opaque.exp: Likewise.
12019         * gdb.base/overlays.exp: Likewise.
12020         * gdb.base/pc-fp.exp: Likewise.
12021         * gdb.base/pointers.exp: Likewise.
12022         * gdb.base/printcmds.exp: Likewise.
12023         * gdb.base/psymtab.exp: Likewise.
12024         * gdb.base/ptype.exp: Likewise.
12025         * gdb.base/recurse.exp: Likewise.
12026         * gdb.base/relational.exp: Likewise.
12027         * gdb.base/relocate.exp: Likewise.
12028         * gdb.base/remote.exp: Likewise.
12029         * gdb.base/reread.exp: Likewise.
12030         * gdb.base/restore.exp: Likewise.
12031         * gdb.base/return.exp: Likewise.
12032         * gdb.base/return2.exp: Likewise.
12033         * gdb.base/scope.exp: Likewise.
12034         * gdb.base/sect-cmd.exp: Likewise.
12035         * gdb.base/sep.exp: Likewise.
12036         * gdb.base/sepdebug.exp: Likewise.
12037         * gdb.base/setshow.exp: Likewise.
12038         * gdb.base/setvar.exp: Likewise.
12039         * gdb.base/sigall.exp: Likewise.
12040         * gdb.base/sigbpt.exp: Likewise.
12041         * gdb.base/signals.exp: Likewise.
12042         * gdb.base/signull.exp: Likewise.
12043         * gdb.base/sizeof.exp: Likewise.
12044         * gdb.base/solib.exp: Likewise.
12045         * gdb.base/step-line.exp: Likewise.
12046         * gdb.base/step-test.exp: Likewise.
12047         * gdb.base/structs.exp: Likewise.
12048         * gdb.base/structs2.exp: Likewise.
12049         * gdb.base/term.exp: Likewise.
12050         * gdb.base/twice.exp: Likewise.
12051         * gdb.base/until.exp: Likewise.
12052         * gdb.base/varargs.exp: Likewise.
12053         * gdb.base/volatile.exp: Likewise.
12054         * gdb.base/watchpoint.exp: Likewise.
12055         * gdb.base/whatis-exp.exp: Likewise.
12056         * gdb.base/whatis.exp: Likewise.
12057         * gdb.cp/ambiguous.exp: Likewise.
12058         * gdb.cp/annota2.exp: Likewise.
12059         * gdb.cp/annota3.exp: Likewise.
12060         * gdb.cp/bool.exp: Likewise.
12061         * gdb.cp/breakpoint.exp: Likewise.
12062         * gdb.cp/casts.exp: Likewise.
12063         * gdb.cp/class2.exp: Likewise.
12064         * gdb.cp/classes.exp: Likewise.
12065         * gdb.cp/cplusfuncs.exp: Likewise.
12066         * gdb.cp/ctti.exp: Likewise.
12067         * gdb.cp/derivation.exp: Likewise.
12068         * gdb.cp/exception.exp: Likewise.
12069         * gdb.cp/gdb1355.exp: Likewise.
12070         * gdb.cp/hang.exp: Likewise.
12071         * gdb.cp/inherit.exp: Likewise.
12072         * gdb.cp/local.exp: Likewise.
12073         * gdb.cp/m-data.exp: Likewise.
12074         * gdb.cp/m-static.exp: Likewise.
12075         * gdb.cp/member-ptr.exp: Likewise.
12076         * gdb.cp/method.exp: Likewise.
12077         * gdb.cp/misc.exp: Likewise.
12078         * gdb.cp/namespace.exp: Likewise.
12079         * gdb.cp/overload.exp: Likewise.
12080         * gdb.cp/ovldbreak.exp: Likewise.
12081         * gdb.cp/pr-1023.exp: Likewise.
12082         * gdb.cp/pr-1210.exp: Likewise.
12083         * gdb.cp/pr-574.exp: Likewise.
12084         * gdb.cp/printmethod.exp: Likewise.
12085         * gdb.cp/psmang.exp: Likewise.
12086         * gdb.cp/ref-params.exp: Likewise.
12087         * gdb.cp/ref-types.exp: Likewise.
12088         * gdb.cp/rtti.exp: Likewise.
12089         * gdb.cp/templates.exp: Likewise.
12090         * gdb.cp/try_catch.exp: Likewise.
12091         * gdb.cp/userdef.exp: Likewise.
12092         * gdb.cp/virtfunc.exp: Likewise.
12093         * gdb.disasm/am33.exp: Likewise.
12094         * gdb.disasm/h8300s.exp: Likewise.
12095         * gdb.disasm/mn10300.exp: Likewise.
12096         * gdb.disasm/sh3.exp: Likewise.
12097         * gdb.disasm/t01_mov.exp: Likewise.
12098         * gdb.disasm/t02_mova.exp: Likewise.
12099         * gdb.disasm/t03_add.exp: Likewise.
12100         * gdb.disasm/t04_sub.exp: Likewise.
12101         * gdb.disasm/t05_cmp.exp: Likewise.
12102         * gdb.disasm/t06_ari2.exp: Likewise.
12103         * gdb.disasm/t07_ari3.exp: Likewise.
12104         * gdb.disasm/t08_or.exp: Likewise.
12105         * gdb.disasm/t09_xor.exp: Likewise.
12106         * gdb.disasm/t10_and.exp: Likewise.
12107         * gdb.disasm/t11_logs.exp: Likewise.
12108         * gdb.disasm/t12_bit.exp: Likewise.
12109         * gdb.disasm/t13_otr.exp: Likewise.
12110         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12111         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12112         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12113         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12114         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12115         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12116         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12117         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12118         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12119         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12120         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12121         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12122         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12123         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12124         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12125         * gdb.mi/gdb701.exp: Likewise.
12126         * gdb.mi/gdb792.exp: Likewise.
12127         * gdb.mi/mi-basics.exp: Likewise.
12128         * gdb.mi/mi-break.exp: Likewise.
12129         * gdb.mi/mi-cli.exp: Likewise.
12130         * gdb.mi/mi-console.exp: Likewise.
12131         * gdb.mi/mi-disassemble.exp: Likewise.
12132         * gdb.mi/mi-eval.exp: Likewise.
12133         * gdb.mi/mi-file.exp: Likewise.
12134         * gdb.mi/mi-read-memory.exp: Likewise.
12135         * gdb.mi/mi-regs.exp: Likewise.
12136         * gdb.mi/mi-return.exp: Likewise.
12137         * gdb.mi/mi-simplerun.exp: Likewise.
12138         * gdb.mi/mi-stack.exp: Likewise.
12139         * gdb.mi/mi-stepi.exp: Likewise.
12140         * gdb.mi/mi-syn-frame.exp: Likewise.
12141         * gdb.mi/mi-until.exp: Likewise.
12142         * gdb.mi/mi-var-block.exp: Likewise.
12143         * gdb.mi/mi-var-child.exp: Likewise.
12144         * gdb.mi/mi-var-cmd.exp: Likewise.
12145         * gdb.mi/mi-var-display.exp: Likewise.
12146         * gdb.mi/mi-watch.exp: Likewise.
12147         * gdb.mi/mi2-basics.exp: Likewise.
12148         * gdb.mi/mi2-break.exp: Likewise.
12149         * gdb.mi/mi2-cli.exp: Likewise.
12150         * gdb.mi/mi2-console.exp: Likewise.
12151         * gdb.mi/mi2-disassemble.exp: Likewise.
12152         * gdb.mi/mi2-eval.exp: Likewise.
12153         * gdb.mi/mi2-file.exp: Likewise.
12154         * gdb.mi/mi2-read-memory.exp: Likewise.
12155         * gdb.mi/mi2-regs.exp: Likewise.
12156         * gdb.mi/mi2-return.exp: Likewise.
12157         * gdb.mi/mi2-simplerun.exp: Likewise.
12158         * gdb.mi/mi2-stack.exp: Likewise.
12159         * gdb.mi/mi2-stepi.exp: Likewise.
12160         * gdb.mi/mi2-syn-frame.exp: Likewise.
12161         * gdb.mi/mi2-until.exp: Likewise.
12162         * gdb.mi/mi2-var-block.exp: Likewise.
12163         * gdb.mi/mi2-var-child.exp: Likewise.
12164         * gdb.mi/mi2-var-cmd.exp: Likewise.
12165         * gdb.mi/mi2-var-display.exp: Likewise.
12166         * gdb.mi/mi2-watch.exp: Likewise.
12167         * gdb.stabs/exclfwd.exp: Likewise.
12168         * gdb.stabs/weird.exp: Likewise.
12169         * gdb.threads/gcore-thread.exp: Likewise.
12170         * gdb.trace/actions.exp: Likewise.
12171         * gdb.trace/backtrace.exp: Likewise.
12172         * gdb.trace/circ.exp: Likewise.
12173         * gdb.trace/collection.exp: Likewise.
12174         * gdb.trace/deltrace.exp: Likewise.
12175         * gdb.trace/infotrace.exp: Likewise.
12176         * gdb.trace/limits.exp: Likewise.
12177         * gdb.trace/packetlen.exp: Likewise.
12178         * gdb.trace/passc-dyn.exp: Likewise.
12179         * gdb.trace/passcount.exp: Likewise.
12180         * gdb.trace/report.exp: Likewise.
12181         * gdb.trace/save-trace.exp: Likewise.
12182         * gdb.trace/tfind.exp: Likewise.
12183         * gdb.trace/tracecmd.exp: Likewise.
12184         * gdb.trace/while-dyn.exp: Likewise.
12185         * gdb.trace/while-stepping.exp: Likewise.
12186
12187 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
12188
12189         * gdb.base/step-bt.c: New file.
12190         * gdb.base/step-bt.exp: New testcase.
12191
12192 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
12193
12194         * config/monitor.exp (gdb_load): Remove support for obsolete
12195         download-write-size.
12196         * gdb.base/remote.exp: Likewise.  Update all callers of
12197         gdb_timed_load.
12198
12199 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
12200
12201         * cursal.exp: Pass binfile to gdb_load.
12202
12203 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
12204
12205         * gdb.base/cursal.exp: Add "" to gdb_load call.
12206
12207 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
12208
12209         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12210         NetBSD/ELF targets.
12211
12212 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
12213
12214         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12215         operator*.
12216
12217 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
12218
12219         * gdb.base/completion.exp: Update for change in "file" behavior.
12220         * gdb.stabs/weird.exp: Likewise.
12221         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12222         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
12223
12224 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
12225
12226         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12227         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12228
12229 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
12230
12231         * gdb.base/default.exp: Update source command error message.
12232         * gdb.base/help.exp: Update 'help source' message.
12233
12234 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
12235
12236         * gdb.cp/bs15503.exp: Update comment for no longer crashing
12237         test.
12238
12239 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
12240
12241         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12242
12243 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
12244
12245         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12246
12247 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
12248
12249         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12250
12251 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
12252
12253         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12254         *-*-openbsd* from targets for wich we expect ARM FPA floating
12255         point format.
12256
12257 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
12258
12259         * gdb.cp/annota3.exp: Expect frame-begin annotation.
12260
12261 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
12262
12263         * gdb.base/annota3.exp: Expect frame-begin annotation.
12264
12265 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
12266
12267         * gdb.base/help.exp: Adjust "help unset" test to accept
12268         any list of unset commands.
12269
12270 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
12271             Daniel Jacobowitz  <dan@codesourcery.com>
12272
12273         * gdb.cp/ref-params.exp: New test.
12274         * gdb.cp/ref-params.cc: New source file.
12275         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12276
12277 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
12278
12279         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12280         spaces/tabs in regular expressions since they might not be there.
12281
12282 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
12283
12284         * gdb.base/ifelse.exp: New file.
12285
12286 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
12287
12288         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12289         line.
12290         * gdb.base/huge.exp: Loop over compilation to find a size that
12291         is acceptable.
12292         * gdb.base/remote.exp: Correct expected strings.
12293         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12294
12295 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12296
12297         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12298
12299 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12300
12301         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
12302         native.
12303
12304 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12305
12306         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12307         enable stabs testing.
12308
12309 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12310
12311         * gdb.base/auxv.exp: Intercept undefined command messages before
12312         gdb_test_multiple does.
12313
12314 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12315
12316         * Makefile.in (host_alias): Remove.
12317         (target_alias): Use @target_noncanonical@.
12318         (site.exp): Don't set host_alias.
12319         * aclocal.m4: Remove contents.  Include acx.m4.
12320         * configure: Regenerated.
12321         * configure.ac: Use ACX_NONCANONICAL_TARGET.
12322
12323 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
12324
12325         * lib/gdb.exp (gdb_load_cmd): New.
12326
12327         * gdb.base/fileio.c: Add system(NULL) test.
12328         * gdb.base/fileio.exp: Check it.
12329
12330         * gdb.base/break.c: Add 10a breakpoint at }
12331         * gdb.base/break.exp: Add test for breakpoint at }
12332         * gdb.cp/anon-union.cc: Add code at end of function.
12333         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12334         * gdb.mi/var-cmd.c: Add code at end of function.
12335         * gdb.mi/mi-var-display.exp: Adjust end of next.
12336         * gdb.mi/mi2-var-display.exp: Likewise.
12337         * gdb.base/fileio.c: Add stop function and insert calls at
12338         stopping places.
12339         * gdb.base/fileio.exp: Breakpoint stop function and remove
12340         explicit line number references.
12341
12342 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
12343
12344         * gdb.base/del.exp (test_delete_alias): New function.
12345         Now check that both "del" and "d" work as aliases for "delete".
12346
12347 2006-05-18  Fred Fish  <fnf@specifix.com>
12348
12349         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12350         required.  Check for spurious output after program exits normally.
12351
12352 2006-05-17  Fred Fish  <fnf@specifix.com>
12353
12354         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12355         gdb_load, so it works in the simulator.
12356
12357 2006-05-11  Fred Fish  <fnf@specifix.com>
12358
12359         * gdb.base/bang.exp: Ignore unexpected output between the
12360         "program exited normally" and the gdb prompt, as many other
12361         tests do.
12362
12363 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
12364
12365         * gdb.base/help.exp: Make "delete checkpoint" part option for
12366         "help d" and "help delete" tests.
12367
12368 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12369
12370         * gdb.mi/mi-basics.exp: Add missing serial number to
12371         expected output in some mi_gdb_test statements.
12372         * gdb.mi/mi2-basics.exp: Likewise.
12373
12374 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
12375
12376         * gdb.base/del.c: New file.
12377         * gdb.base/del.exp: New testcase.
12378
12379 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
12380
12381         * gdb.base/break.exp: Do not assume a breakpoint on
12382         main will actually be in $srcfile when optimizing.
12383         * gdb.base/savedregs.exp: Do not require that the dummy
12384         frame location match up to a symbol and source file location.
12385         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12386         will get printed without a mi_cmd_data_list_register_values prefix.
12387         (*-data-list-register-*): Correct regular expressions to expect the new
12388         pseudo d? floating point registers.
12389         * gdb.mi/mi2-regs.exp: Likewise.
12390
12391 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
12392
12393         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12394         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12395         is allocated by the compiler.
12396         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12397         anons, e, anone to force their allocation by the compiler.
12398
12399 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
12400
12401         * gdb.base/help.exp: Update expected text for help d and
12402         help delete.
12403
12404 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
12405
12406         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12407         NetBSD/ELF targets.
12408
12409 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
12410
12411         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12412         single-step breakpoint fails; make this a KFAIL on
12413         sparc*-*-openbsd*.
12414         * gdb.base/siginfo.exp: Likewise.
12415         * gdb.base/sigstep.exp (advance, advancei): Likewise.
12416
12417 2006-04-26  Michael Snyder  <msnyder@redhat.com>
12418
12419         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12420         which may have to consume output from other forks.
12421         Add tests to make sure that "delete fork" succeeded.
12422
12423 2006-04-20  Michael Snyder  <msnyder@redhat.com>
12424
12425         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
12426         Add support for the Renesas M32C and M16C.
12427
12428         * gdb.asm/asm-source.exp: Add m32c target.
12429         * gdb.asm/m32c.inc: Support for m32c target.
12430
12431 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
12432
12433         * gdb.base/commands.exp (recursive_source_test): New test.
12434
12435 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
12436
12437         * gdb.base/float.exp: Add pattern for sparc targets.
12438
12439 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12440
12441         * gdb.base/commands.exp (stray_arg0_test): New test.
12442
12443 2006-03-30  Paul Brook  <paul@codesourcery.com>
12444
12445         * gdb.mi/mi-until.exp: kfail broken until command.
12446         * gdb.mi/mi2-until.exp: Ditto.
12447
12448 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
12449
12450         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12451
12452 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
12453
12454         * gdb.base/prelink.exp: Anchor tested-for regular expression
12455         on gdb prompt.
12456
12457 2006-03-07  Paul Brook  <paul@codesourcery.com>
12458
12459         * gdb.base/assign.exp: Correct fail message.
12460
12461 2006-03-07  Paul Brook  <paul@codesourcery.com>
12462
12463         * lib/compiler.c: Extract armcc version number.
12464         * lib/compiler.cc: Ditto.
12465
12466 2006-03-07  Paul Brook  <paul@codesourcery.com>
12467
12468         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12469         additional_flags=-w.
12470         * gdb.arch/altivec-regs.exp: Ditto.
12471         * gdb.arch/e500-abi.exp: Ditto.
12472         * gdb.arch/e500-regs.exp: Ditto.
12473         * gdb.base/all-bin.exp: Ditto.
12474         * gdb.base/annota1.exp: Ditto.
12475         * gdb.base/annota3.exp: Ditto.
12476         * gdb.base/args.exp: Ditto.
12477         * gdb.base/arithmet.exp: Ditto.
12478         * gdb.base/assign.exp: Ditto.
12479         * gdb.base/async.exp: Ditto.
12480         * gdb.base/bang.exp: Ditto.
12481         * gdb.base/break.exp: Ditto.
12482         * gdb.base/call-rt-st.exp: Ditto.
12483         * gdb.base/completion.exp: Ditto.
12484         * gdb.base/cond-expr.exp: Ditto.
12485         * gdb.base/condbreak.exp: Ditto.
12486         * gdb.base/consecutive.exp: Ditto.
12487         * gdb.base/define.exp: Ditto.
12488         * gdb.base/display.exp: Ditto.
12489         * gdb.base/ena-dis-br.exp: Ditto.
12490         * gdb.base/environ.exp: Ditto.
12491         * gdb.base/eval-skip.exp: Ditto.
12492         * gdb.base/info-proc.exp: Ditto.
12493         * gdb.base/jump.exp: Ditto.
12494         * gdb.base/logical.exp: Ditto.
12495         * gdb.base/long_long.exp: Ditto.
12496         * gdb.base/maint.exp: Ditto.
12497         * gdb.base/miscexprs.exp: Ditto.
12498         * gdb.base/pc-fp.exp: Ditto.
12499         * gdb.base/pointers.exp: Ditto.
12500         * gdb.base/relational.exp: Ditto.
12501         * gdb.base/reread.exp: Ditto.
12502         * gdb.base/sect-cmd.exp: Ditto.
12503         * gdb.base/sep.exp: Ditto.
12504         * gdb.base/sepdebug.exp: Ditto.
12505         * gdb.base/until.exp: Ditto.
12506         * gdb.base/whatis-exp.exp: Ditto.
12507         * gdb.cp/annota2.exp: Ditto.
12508         * gdb.cp/annota3.exp: Ditto.
12509         * gdb.trace/actions.exp: Ditto.
12510         * gdb.trace/backtrace.exp: Ditto.
12511         * gdb.trace/circ.exp: Ditto.
12512         * gdb.trace/collection.exp: Ditto.
12513         * gdb.trace/deltrace.exp: Ditto.
12514         * gdb.trace/infotrace.exp: Ditto.
12515         * gdb.trace/limits.exp: Ditto.
12516         * gdb.trace/packetlen.exp: Ditto.
12517         * gdb.trace/passc-dyn.exp: Ditto.
12518         * gdb.trace/passcount.exp: Ditto.
12519         * gdb.trace/report.exp: Ditto.
12520         * gdb.trace/save-trace.exp: Ditto.
12521         * gdb.trace/tfind.exp: Ditto.
12522         * gdb.trace/tracecmd.exp: Ditto.
12523         * gdb.trace/while-dyn.exp: Ditto.
12524         * gdb.trace/while-stepping.exp: Ditto.
12525         * lib/gdb.exp: Ditto.
12526         (gdb_compile): Handle nowarning option.
12527
12528 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
12529
12530         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12531         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
12532         Rename executable to prelinkt.  Don't re-prelink if we didn't
12533         get a core file.  Test prelink -u exit status to tell whether
12534         prelinking failed.  Use gdb_test_multiple.
12535
12536 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
12537
12538         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12539         (do_tests): Call it.
12540
12541 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
12542
12543         * gdb.base/prelink.exp: New test.
12544         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12545
12546 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
12547
12548         * gdb.fortran/derived-type.f90: New file.
12549         * gdb.fortran/derived-type.exp: New testcase.
12550
12551 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
12552
12553         * gdb.base/default.exp: Allow ';' as a directory separator.
12554
12555 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12556
12557         * gdb.base/help.exp (help add-symbol-file): Update.
12558
12559 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12560
12561         * gdb.base/help.exp (help load): Update expected results.
12562
12563 2006-02-19  Fred Fish  <fnf@specifix.com>
12564
12565         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12566         specifix hex value as part of results.
12567         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12568
12569 2006-02-16  Fred Fish  <fnf@specifix.com>
12570
12571         * gdb.base/whatis.c: Define variables using typedefs char_addr,
12572         ushort_addr, and slong_addr, so the typedefs are not optimized
12573         away.
12574         * gdb.base/whatis.exp: Add tests using type name for struct type,
12575         union type, enum type, and typedef.
12576
12577 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
12578
12579         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12580
12581 2006-02-13  Jim Blandy  <jimb@redhat.com>
12582
12583         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12584         case where it takes two "next" commands to skip past the init
12585         call.
12586
12587 2006-02-12  Fred Fish  <fnf@specifix.com>
12588
12589         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12590         to handle cases where it takes two "next" commands to skip
12591         past the init call.
12592
12593 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
12594
12595         * gdb.ada/array_return.exp: Mark the last test as expected to fail
12596         on hppa32 targets.
12597
12598 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
12599
12600         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12601         field.
12602
12603 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
12604
12605         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12606
12607 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
12608
12609         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12610         files.
12611
12612 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
12613
12614         * gdb.cp/maint.exp: Set complaints to a positive value.
12615
12616 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12617
12618         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
12619         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
12620         function name.
12621
12622 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12623
12624         * gdb.base/checkpoint.c: Update copyright notice.  Include
12625         <stdlib.h>.
12626
12627 2006-01-04  Jim Blandy  <jimb@redhat.com>
12628
12629         * gdb.asm/asm-source.exp: Independently provide default values for
12630         asm-flags and debug-flags.  Use 'string equal' to do the
12631         comparison, not the implicit expr's '==' operator.  Remove
12632         now-unneeded assignments to asm-flags.  In h8300 case, place
12633         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12634
12635 2006-01-04  Michael Snyder  <msnyder@redhat.com>
12636
12637         * gdb.base/checkpoint.c: New file.
12638         * gdb.base/checkpoint.exp: New file.
12639         * gdb.base/multi-fork.c: New file.
12640         * gdb.base/multi-fork.exp: New file.
12641         * gdb.base/pi.txt: New file (data for checkpoint.c test).
12642
12643 2006-01-04  Fred Fish  <fnf@specifix.com>
12644
12645         * gdb.base/ptype.c (foo): Add typedef.
12646         (intfoo): Add function.
12647         * gdb.base/ptype1.c: New file.
12648         * gdb.base/ptype.exp: Handle compilation and linking with two
12649         source files.  Test that proper type for "foo" is found based
12650         on source context rather than first match found in symtabs.
12651
12652 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
12653
12654         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12655         * gdb.asm/openbsd.inc: Indent commands.
12656
12657 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
12658
12659         * gdb.base/freebpcmd.exp: Increase timeout.
12660
12661         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12662
12663 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
12664
12665         * gdb.base/default.exp: Update check for "show version".
12666
12667 2005-12-09  Randolph Chung  <tausq@debian.org>
12668
12669         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12670         * gdb.asm/pa64.inc: New file.
12671
12672 2005-12-09  Randolph Chung  <tausq@debian.org>
12673
12674         * gdb.asm/common.inc: Indent commands.
12675         * gdb.asm/asmsrc1.s: Likewise.
12676         * gdb.asm/asmsrc2.s: Likewise.
12677
12678 2005-12-09  Randolph Chung  <tausq@debian.org>
12679
12680         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12681         (get_addr_of_sym): Remove duplicate print.
12682         (gen_core): xfail hppa*-*-hpux*, update expected output.
12683         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12684         * gdb.arch/pa64-nullify.s: New file.
12685
12686 2005-12-09  Randolph Chung  <tausq@debian.org>
12687
12688         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12689
12690 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
12691
12692         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12693         code generation for these functions.
12694         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12695         error message.
12696
12697 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
12698
12699         * gdb.base/help.exp (help b, help br, help bre, help brea)
12700         (help break): Update the expected message.
12701
12702 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
12703
12704         * gdb.asm/m68hc11.inc: Setup the data section.
12705         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12706         script for this test.
12707         (m6812-*-*): Likewise.
12708
12709 2005-11-09  Randolph Chung <tausq@debian.org>
12710
12711         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12712
12713 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
12714
12715         * gdb.base/break.exp: Fix a comment typo.
12716
12717 2005-11-03  Jim Blandy  <jimb@redhat.com>
12718
12719         Checked in by Elena Zannoni  <ezannoni@redhat.com>
12720
12721         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12722
12723 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
12724
12725         * gdb.arch/gdb1558.c: Include stdio.h.
12726
12727 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12728
12729         * gdb.asm/asm-source.exp: Use -e instead of --entry.
12730
12731 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12732
12733         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12734
12735 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
12736
12737         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12738         vscr" tests to better match output.
12739
12740 2005-10-12  Jim Blandy  <jimb@redhat.com>
12741
12742         * gdb.base/structs.exp (any): New function.
12743         (test_struct_returns): Don't make any assumptions at all about
12744         what value the function returns when GDB can't set the return
12745         value.
12746
12747 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12748
12749         * gdb.ada/arrayidx/p.adb: New file.
12750         * gdb.ada/arrayidx.exp: New testcase
12751
12752 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12753
12754         * gdb.ada/array_return/pck.ads: New file.
12755         * gdb.ada/array_return/pck.adb: New file.
12756         * gdb.ada/array_return/p.adb: New file.
12757         * gdb.ada/array_return.exp: New testcase.
12758
12759 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
12760
12761         * gdb.base/arrayidx.c: New file.
12762         * gdb.base/arrayidx.exp: New testcase.
12763
12764 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
12765
12766         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12767         frames-invalid and breakpoints-invalid are no longer generated
12768         with level 3 so don't expect them in the output.
12769
12770 2005-09-27  Bob Rossi  <bob@brasko.net>
12771
12772         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12773         from test.  Escape the | in mi_gdb_test call.
12774         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12775         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12776         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12777         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12778         expected regex's in mi_gdb_test calls.
12779         * lib/mi-support.exp: Remove arbitrary .* from tests.
12780         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12781         Fully anchor GDB/MI expected results in mi_gdb_test.
12782         * lib/gdb.exp (string_to_regexp): Escape the ] character.
12783         * gdb.base/sizeof.exp: Remove escape character. Correct test.
12784
12785 2005-09-26  Paul Brook  <paul@codesourcery.com>
12786
12787         * long_long.exp: Exclude eabi targets from arm FPA float format test.
12788
12789 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12790
12791         * bfp-test.c: New file.
12792         * bfp-test.exp: New testcase.
12793
12794 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12795
12796         * gdb.fortran/subarray.exp: New testcase to test the evaluation
12797         of subarray and substring variable.
12798         * gdb.fortran/subarray.f: New source file for the test of subarray
12799         and substring variable evaluation.
12800         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12801         of string constant.
12802
12803 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
12804
12805         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12806         copyright dates.
12807
12808 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
12809
12810         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12811         powerpc altivec' test with an almost identical 'info vector' test.
12812
12813 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12814
12815         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12816         vscr" tests to match output.
12817
12818 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12819
12820         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12821         output.
12822
12823 2005-09-11  Bob Rossi  <bob@brasko.net>
12824
12825         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12826         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12827         commands that return an MI output command and an asyncronous MI output
12828         command.
12829         * gdb.mi/mi-console.exp: Ditto.
12830
12831 2005-09-11  Bob Rossi  <bob@brasko.net>
12832
12833         * gdb.mi/mi-var-child.c: Include <string.h>.
12834
12835 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
12836
12837         * killed.exp: Correct gdb_expect syntax.
12838
12839 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
12840
12841         * lib/mi-support.exp (mi_gdb_load): Fix typo.
12842
12843 2005-08-02  Bob Rossi  <bob@brasko.net>
12844
12845         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12846         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12847         Change tests to inferior-tty-set/show.
12848         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12849         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12850         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12851         inferior.  Use mi_gdb_test to get GDB and Inferior output.
12852         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12853         descriptor.
12854         (mi_inferior_tty_name): Add inferior PTY file name.
12855         (mi_gdb_start): Add INFERIOR_PTY parameter.
12856         (mi_gdb_test): Add IPATTERN parameter.
12857
12858 2005-08-02   Bob Rossi  <bob@brasko.net>
12859
12860         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12861         parameter to mi_gdb_test.
12862         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12863
12864 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12865
12866         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12867         struct_declarations.
12868         * gdb.mi/mi-var-child.exp: Step over the initialization of
12869         struct_declarations.
12870
12871 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12872
12873         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12874         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12875         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12876         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12877         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12878         file.
12879
12880 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
12881
12882         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12883         (do_children_tests): Assign values to the extra elements.
12884
12885         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12886         them for tests for "-var-update --no-values" and
12887         "-var-update --all-values".
12888         Add test for "-var-list-children --simple-values".
12889
12890         * gdb.mi/basics.c (callee4): Add integer array D[3]...
12891
12892         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12893         "-stack-list-locals --simple-values"  Improve doc strings and
12894         comments.
12895
12896 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
12897
12898         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12899         *-*-openbsd*.
12900         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12901
12902         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12903         sigaltsatck'.
12904
12905 2005-07-14  Bob Rossi  <bob@brasko.net>
12906
12907         * gdb.base/default.exp (tty): Changed output of command.
12908         * gdb.base/help.exp (help tty): Ditto.
12909
12910 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
12911
12912         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12913
12914 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
12915
12916         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12917         -stack-select-frame without arguments.
12918         (test_stack_frame_listing): Add test for newly implemented command
12919         -stack-info-frame.
12920
12921 2005-07-06  Bob Rossi  <bob@brasko.net>
12922
12923         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12924         command.
12925         (Copyright): Update copyright.
12926
12927 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
12928
12929         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12930         tests to evaluate exponentiation expression.
12931
12932 2005-06-29  Andreas Schwab  <schwab@suse.de>
12933
12934         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12935         main to avoid warnings.
12936
12937         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12938
12939 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
12940
12941         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12942         -stack-select-frame without arguments.
12943         (test_stack_frame_listing): Add test for newly implemented command
12944         -stack-info-frame.
12945
12946 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
12947
12948         * gdb.fortran/array-element.f: New file.
12949         * gdb.fortran/array-element.exp: New testcase.
12950
12951 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12952
12953         * gdb.base/bigcore.exp: Correct checks for systems which can
12954         not dump a large core file.
12955
12956 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12957
12958         * gdb.base/relocate.c: Add a copyright notice.
12959         (dummy): Remove.
12960         * gdb.base/relocate.exp: Test printing the values of variables
12961         from a relocatable file.
12962
12963 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
12964
12965         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12966         excess MI output after an error.
12967
12968 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
12969
12970         * gdb.arch/alpha-step.c: New file.
12971         * gdb.arch/alpha-step.exp: New testcase.
12972
12973 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
12974             Dennis Brueni  <dennis@slickedit.com>
12975
12976         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12977         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12978         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12979         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12980         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12981         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12982         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12983
12984 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
12985             Wu Zhou  <woodzltc@cn.ibm.com>
12986
12987         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
12988         IBM's xlc compiler.
12989         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12990         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12991
12992 2005-05-13  Jim Blandy  <jimb@redhat.com>
12993
12994         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12995         calling gdb_suppress_entire_file.
12996         * gdb.base/charset.exp: Same.
12997         * gdb.base/call-rt-st.exp: Same.
12998
12999 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
13000
13001         * lib/gdb.exp (fullname_syntax): Added global regex.
13002         (fullname_syntax_POSIX): Ditto.
13003         (fullname_syntax_UNC): Ditto.
13004         (fullname_syntax_DOS_CASE): Ditto.
13005         (fullname_syntax_DOS): Ditto.
13006         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13007         fullname_syntax variable to scope and use it.
13008         (test_file_list_exec_source_files): Ditto.
13009         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13010
13011 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
13012
13013         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13014
13015 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
13016
13017         * lib/gdb.exp (skip_altivec_tests): New function, based on
13018         check_vmx_hw_available from the GCC testsuite.
13019         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13020         * lib/gdb.arch/altivec-regs.exp: Likewise.
13021
13022 2005-05-02  Jim Blandy  <jimb@redhat.com>
13023
13024         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13025         calling gdb_suppress_entire_file.
13026
13027 2005-04-30  Randolph Chung  <tausq@debian.org>
13028
13029         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13030         Slightly relax "sem_post" name checking.
13031
13032 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
13033
13034         * gdb.base/unload.exp: Use new shared library infrastructure.
13035
13036 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
13037
13038         * gdb.base/so-impl-ld.exp: Use new shared library
13039         infrastructure.
13040
13041 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
13042
13043         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13044         * gdb.asm/h8300.inc: New file.
13045
13046 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13047
13048         * gdb.base/shlib-call.exp: Change to use new shared library
13049         infrastructure.
13050
13051 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13052
13053         * gdb.base/pending.exp: Change to use new shared library
13054         infrastructure.
13055
13056 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13057
13058         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13059         use test_compiler_info instead of gcc_compiled, and update copyright.
13060
13061 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
13062
13063         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13064         shared objects being adjusted and update copyright years.
13065
13066 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
13067
13068         * ChangeLog: Correct some 2003-01-13 dates.
13069         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13070         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13071         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13072         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13073         gdb.trace/tfind.exp: Update copyright years.
13074
13075 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
13076             Daniel Jacobowitz  <dan@codesourcery.com>
13077
13078         * lib/gdb.exp (gdb_compile): Handle shlib=.
13079         (gdb_compile_shlib): New function.
13080
13081 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
13082
13083         * lib/gdb.exp (test_compiler_info): Give argument a default value.
13084
13085 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
13086
13087         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13088         gdb.server.
13089         * configure.ac: Likewise.
13090         * configure: Regenerated.
13091         * gdb.gdbserver/Makefile.in: Moved to...
13092         * gdb.server/Makefile.in: ... here.
13093         * gdb.gdbserver/server.c: Moved to...
13094         * gdb.server/server.c: ... here.
13095         * gdb.gdbserver/server-run.exp: Moved to...
13096         * gdb.server/server-run.exp: ... here.
13097
13098 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
13099
13100         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13101         * configure.ac: Create gdb.gdbserver/Makefile.
13102         * configure: Regenerated.
13103         * lib/gdbserver-support.exp: New file, derived from
13104         config/gdbserver.exp.
13105         * config/gdbserver.exp: Use gdbserver-support.exp.
13106         * gdb.gdbserver/Makefile.in: New file.
13107         * gdb.gdbserver/server.c: New file.
13108         * gdb.gdbserver/server-run.exp: New file.
13109
13110 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
13111
13112         * lib/gdb.exp (test_compiler_info): Return compiler_info
13113         if no arguments are given.
13114
13115 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
13116
13117         * gdb.arch/altivec-abi.exp: Check for compiler and set
13118         use altivec' flag accordingly.
13119         * gdb.arch/altivec-regs.exp: Likewise.
13120
13121 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
13122
13123         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13124
13125 2005-03-27  Andreas Schwab  <schwab@suse.de>
13126
13127         * gdb.base/bigcore.c (main): Add missing mode argument in open
13128         call.
13129
13130 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
13131
13132         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13133         downloads.
13134         * config/gdbserver.exp (gdb_load): Likewise.
13135
13136 2005-03-14  Paul Brook  <paul@codesourcery.com>
13137
13138         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13139         targets.
13140
13141 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
13142
13143         * gdb.dwarf2/dup-psym.S: New file.
13144         * gdb.dwarf2/dup-psym.exp: New testcase.
13145
13146 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
13147
13148         * gdb.ada/exec_changed/first.adb: New file.
13149         * gdb.ada/exec_changed/second.adb: New file.
13150         * gdb.ada/exec_changed.exp: New testcase.
13151
13152 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
13153
13154         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13155         (A2): New class.
13156         (main): Test operator+.
13157         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
13158         breakpoint test.
13159
13160         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13161         * gdb.base/signull.exp: Disable if gdb,nosignals.
13162         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13163         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13164         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13165         * gdb.mi/mi2-console.exp: Likewise.
13166         * gdb.trace/collection.exp (run_trace_experiment): Consume the
13167         continue output at start.
13168         (gdb_collect_locals_test): Robustify regexp.
13169         * gdb.trace/passc-dyn.exp: Fix comment typo.
13170         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13171
13172 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
13173
13174         * gdb.asm/asm-source.exp: Add iq2000 case.
13175         * gdb.asm/iq2000.inc: New file.
13176
13177 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
13178
13179         * gdb.base/command.exp: Change hardcoded value to regular expression.
13180         * gdb.base/float.exp: Add powerpc to the list of targets checked.
13181
13182 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
13183
13184         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13185         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13186         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13187         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13188         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13189
13190 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
13191
13192         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13193         changes.
13194
13195 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
13196
13197         * lib/compiler.c: Add test for IBM's xlc compiler.
13198         * lib/compiler.cc: Likewise.
13199
13200 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
13201
13202         * gdb.ada/fixed_points.exp: Create compilation object directory
13203         before running the test.
13204         * gdb.ada/null_record.exp: Likewise.
13205         * gdb.ada/packed_array.exp: Likewise.
13206         * gdb.ada/start.exp: Likewise.
13207
13208 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
13209
13210         * gdb.ada/packed_array/pa.adb: New file.
13211         * gdb.ada/packed_array.exp: New testcase.
13212
13213 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
13214
13215         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13216         files.
13217
13218         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13219         on *-*-openbsd*.  Correctly match whitespace in regukar
13220         expressions.
13221
13222 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
13223
13224         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13225         PR exp/1821
13226         * gdb.base/gdb1821.c: New test file.
13227         * gdb.base/gdb1821.exp: New test file.
13228
13229 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
13230
13231         * gdb.base/start.c: New file.
13232         * gdb.base/start.exp: New testcase.
13233
13234 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
13235
13236         * gdb.ada/start/dummy.adb: New file.
13237         * gdb.ada/start.exp: New testcase.
13238
13239 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
13240
13241         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13242         for printing symbols and statistics.
13243         Add test for using relative pathnames in "maint print msymbols" test.
13244         Mark "maint info sections DATA" XFAIL on Cygwin.
13245         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13246         tests.
13247
13248 2005-02-09  Andreas Schwab  <schwab@suse.de>
13249
13250         Committed by Andrew Cagney  <cagney@gnu.org>
13251         * gdb.base/remotetimeout.exp: New file.
13252
13253 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
13254
13255         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13256
13257 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
13258
13259         * gdb.ada/gnat_ada.gpr: New file.
13260         * gdb.ada/gnat_ada.gin: Delete, no longer used.
13261         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13262         * configure.ac: No longer generate gnat_ada.gpr.
13263         * configure: Regenerate.
13264         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13265         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13266         * gdb.ada/null_record/bar.ads: Likewise.
13267         * gdb.ada/null_record/bar.adb: Likewise.
13268         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13269         * gdb.ada/null_record.exp (testdir): New variable.
13270         (testfile): executable is now in testdir subdirectory.
13271         (srcfile): Use full path to the main compilation unit.
13272         * gdb.ada/fixed_points.exp: Same changes as above.
13273
13274 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
13275
13276         * gdb.base/interp.exp: New test.
13277
13278 2005-01-24  Andrew Cagney  <cagney@gnu.org>
13279
13280         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13281
13282 2005-01-19  Andrew Cagney  <cagney@gnu.org>
13283
13284         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13285         configure.ac not configure.in.
13286
13287         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13288         of powerpc*-*-*.
13289         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13290         * gdb.base/list.exp (test_list_function)
13291         (test_list_filename_and_function): Ditto.
13292         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13293
13294 2005-01-16  Andrew Cagney  <cagney@gnu.org>
13295
13296         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13297
13298         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13299
13300 2005-01-14  Andrew Cagney  <cagney@gnu.org>
13301
13302         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13303         * gdb.mi/mi2-var-cmd.exp: Ditto.
13304
13305 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
13306
13307         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13308
13309 2005-01-07  Andrew Cagney  <cagney@gnu.org>
13310
13311         * configure.ac: Rename configure.in, require autoconf 2.59.
13312         * configure: Re-generate.
13313         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13314         * gdb.stabs/configure: Re-generate.
13315         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13316         * gdb.hp/configure: Re-generate.
13317         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13318         autoconf 2.59.
13319         * gdb.hp/gdb.objdbg/configure: Re-generate.
13320         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13321         autoconf 2.59.
13322         * gdb.hp/gdb.defects/configure: Re-generate.
13323         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13324         autoconf 2.59.
13325         * gdb.hp/gdb.compat/configure: Re-generate.
13326         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13327         autoconf 2.59.
13328         * gdb.hp/gdb.base-hp/configure: Re-generate.
13329         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13330         autoconf 2.59.
13331         * gdb.hp/gdb.aCC/configure: Re-generate.
13332
13333 2004-12-15  Jim Blandy  <jimb@redhat.com>
13334
13335         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13336         under NPTL when there is debugging info available for libpthread.
13337
13338 2004-12-13  Jerome Guitton  <guitton@gnat.com>
13339
13340         * gdb.ada/fixed_points.c: New file.
13341         * gdb.ada/fixed_points.exp: New file.
13342
13343 2004-12-03  Randolph Chung  <tausq@debian.org>
13344
13345         * gdb.arch/pa-nullify.exp: New file.
13346         * gdb.arch/pa-nullify.s: New file.
13347
13348 2004-11-30  Randolph Chung  <tausq@debian.org>
13349
13350         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13351         instead of "tbug".  Fix regexp to work properly with gdb_test.
13352
13353 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
13354
13355         * gdb.base/bitfields2.exp: New test.
13356         * gdb.base/bitfields2.c: New file.
13357
13358 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
13359
13360         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13361
13362 2004-11-16  Randolph Chung  <tausq@debian.org>
13363
13364         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13365
13366 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
13367
13368         * gdb.threads/threadapply.exp: Correct "macro details" test.
13369
13370 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
13371
13372         * gdb.threads/threadapply.exp: New test.
13373         * gdb.threads/threadapply.c: New file.
13374
13375 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
13376
13377         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13378         frames.
13379
13380 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
13381
13382         * gdb.base/cursal.exp: New file.
13383         * gdb.base/cursal.c: New file.
13384
13385 2004-11-03  Andrew Cagney  <cagney@gnu.org>
13386
13387         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13388
13389 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
13390
13391         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13392         NetBSD/ELF targets.
13393
13394 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
13395
13396         * gdb.threads/bp_in_thread.c: New file, copied from
13397         pthread_cond_wait.c.
13398         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13399         file, rather than reusing the .c file from another testcase.
13400
13401 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
13402
13403         * gdb.ada/null_record.exp: Check where we stopped after
13404         sending the start command, instead of where the associated
13405         temporary breakpoint was inserted.
13406
13407 2004-10-14  Andrew Cagney  <cagney@gnu.org>
13408
13409         * gdb.mi/gdb701.c (main): Return 0.
13410
13411 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
13412
13413         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
13414
13415 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
13416
13417         * gdb.threads/schedlock.c: Add comment markers to use to find
13418         line numbers.
13419         * gdb.threads/schedlock.exp: Adjust regex to handle the new
13420         comments.
13421         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13422         breakpoint lines.
13423
13424 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13425
13426         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13427
13428 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13429
13430         * configure.in: Add gdb.dwarf2.
13431         * configure: Regenerated.
13432         * Makefile.in: Add gdb.dwarf2.
13433         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13434         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13435         gdb.dwarf2/file1.txt: New files.
13436
13437 2004-10-11  Orjan Friberg  <orjanf@axis.com>
13438
13439         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
13440         of "run", since the latter doesn't work with remote targets.  Adjust
13441         the breakpoint numbering accordingly.
13442         * gdb.threads/pthread_cond_wait.exp: Ditto.
13443
13444 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
13445
13446         * gdb.base/overlays.exp: Update copyright years.
13447
13448 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
13449
13450         * gdb.base/overlays.exp: Disable if target is Linux.
13451
13452 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
13453
13454         * config/gdbserver.exp (gdb_load): Use right filename on remote.
13455
13456 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
13457
13458         * gdb.asm/asm-source.exp: Add m32r-linux target.
13459         * gdb.asm/m32r-linux.inc: New file.
13460
13461 2004-09-24  Andrew Cagney  <cagney@redhat.com>
13462             David Anderson <anderson@redhat.com>
13463
13464         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13465         command fails, assume things will work.
13466         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13467         (_GNU_SOURCE): Define.
13468         (print_unsigned, print_hex): Change parameter to "long long".
13469         (print_byte_count): New function, use to print byte counts.
13470         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13471         O_LARGEFILE.
13472         (main): Compute an upper bound on a corefile in max_core_size.
13473         Limit memory chunk size to max_core_size.  Limit total memory
13474         allocated to max_core_size.
13475
13476 2004-09-23  Andrew Cagney  <cagney@gnu.org>
13477
13478         * gdb.base/bigcore.exp: Replace the code that creates a corefile
13479         from a separate process with code that creates a corefile by
13480         making the inferior dump core.
13481
13482 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
13483
13484         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13485         block.
13486
13487 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
13488
13489         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13490         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
13491         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13492         Likewise.
13493
13494 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
13495
13496         * gdb.java/jprint.exp: New test case for java inferior call.
13497         * gdb.java/jprint.java: Ditto.
13498
13499 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
13500
13501         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13502
13503 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13504
13505         * gdb.threads/killed.c: Include <stdlib.h>.
13506         * gdb.threads/pthreads.c: Likewise.
13507
13508 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13509
13510         * gdb.threads/killed.c: Add copyright notice.
13511
13512 2004-09-10  Jason Molenda  (jmolenda@apple.com)
13513
13514         * gdb.base/define.exp: Two new tests to verify zero space chars
13515         after 'if' and 'while' commands in a user-defined command is correctly
13516         parsed.
13517
13518 2004-09-08  Andrew Cagney  <cagney@gnu.org>
13519
13520         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
13521         delivery test with duplicate at end of file.
13522
13523 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
13524
13525         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13526
13527 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13528
13529         * config/hppro.exp: Removed.
13530
13531 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13532
13533         * config/sparclet.exp: Removed.
13534
13535 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13536
13537         * config/udi.exp: Removed.
13538
13539 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
13540
13541         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13542         of "exp_continue".
13543         (advancei): Likewise.
13544
13545 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13546
13547         * gdb.base/unload.exp: Fix so messages aren't duplicated.
13548
13549 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
13550
13551         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13552         to check for nodebug in executable.
13553         * gdb.gdb/observer.exp (setup_test): Likewise.
13554         * gdb.gdb/selftest.exp (test_with_self): Likewise.
13555         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13556
13557 2004-09-01  Andrew Cagney  <cagney@gnu.org>
13558
13559         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13560         files.
13561
13562 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13563
13564         * gdb.base/unload.exp: Fix expected warning message to match
13565         latest format.
13566
13567 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
13568
13569         * gdb.base/call-rt-st.exp: Fix typos.
13570
13571 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
13572
13573         * gdb.threads/thread_check.exp: New testcase.
13574         * gdb.threads/thread_check.c: New testcase.
13575
13576 2004-08-31  Andrew Cagney  <cagney@gnu.org>
13577
13578         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13579         (skip_to_handler_entry): New procedures.  Test stepping into a
13580         handler when the breakpoint is at the handler's entry point.
13581
13582 2004-08-30  Andrew Cagney  <cagney@gnu.org>
13583
13584         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13585         gdb/1757.
13586
13587 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13588
13589         With code from Manoj Iyer <manjo@austin.ibm.com>:
13590         * lib/gdb.exp (gdb_file_cmd): Return more information in the
13591         return value.  Add an arm for "no debugging symbols found".
13592         Change a stray "error" to "perror".
13593         (gdb_run_cmd): Adapt to new return value.
13594         * gdb.base/remote.exp: Adapt to new return value.
13595         * gdb.gdb/complaints.exp: Likewise.
13596         * gdb.gdb/observer.exp: Likewise.
13597         * gdb.gdb/selftest.exp: Likewise.
13598         * gdb.gdb/xfullpath.exp: Likewise.
13599
13600 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
13601
13602         * gdb.threads/bp_in_thread.exp: New testcase.
13603
13604 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13605
13606         Fix PR testsuite/1735.
13607         * gdb.threads/schedlock.c (thread_function): Add a cast
13608         to suppress a gcc warning.
13609         * gdb.threads/thread-specific.c (thread_function): Likewise.
13610
13611 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13612
13613         * gdb.base/unload.c: Include <stdlib.h>.
13614
13615 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13616
13617         From Paul Gilliam <pgilliam@us.ibm.com>:
13618         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13619         synchronized after the "return".
13620
13621 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13622
13623         * gdb.mi/basics.c: Include <stdio.h>.
13624         * gdb.mi/pthreads.c: Include <stdlib.h>.
13625         * gdb.mi/var-cmd.c: Include <stdlib.h>.
13626
13627 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13628
13629         * gdb.threads/schedlock.c: Add copyright notice.
13630
13631 2004-08-25  Andrew Cagney  <cagney@gnu.org>
13632
13633         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13634         (skip_over_handler, breakpoint_over_hander): New test procedures.
13635         (advance, advancei): Add a proper prefix, do not use
13636         rerun_to_main.
13637         * gdb.base/sigstep.c (main): Change to use an infinite loop.
13638
13639 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
13640
13641         * gdb.mi/basics.c: Add copyright notice.
13642         * gdb.mi/var-cmd.c: Add copyright notice.
13643
13644 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13645
13646         * lib/gdb.exp: Remove signed_keyword_not_used.
13647         * lib/compiler.c: Likewise.
13648         * lib/compiler.cc: Likewise.
13649
13650 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13651
13652         * gdb.base/whatis.c: Remove conditional disabling of "signed".
13653         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13654
13655 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13656
13657         * gdb.base/whatis.c: Add copyright notice.
13658
13659 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
13660
13661         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
13662         it to skip the breakpoints encoded in the inline assembly.
13663
13664 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13665
13666         * Makefile.in: Add gdb.fortran.
13667
13668 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13669
13670         * gdb.base/call-sc.exp (test_scalar_returns):
13671         Fix cut-and-paste glitch in "Make fun return now".
13672
13673 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13674
13675         * configure.in: Add gdb.fortran.
13676         * configure: Regenerate.
13677         * gdb.fortran/Makefile.in: New file.
13678         * lib/gdb.exp (skip_fortran_tests): New procedure.
13679
13680 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13681
13682         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
13683         reference to bug-gnu@prep.ai.mit.edu.
13684         * gdb.mi/mi-var-child.exp: Likewise.
13685         * gdb.mi/mi-var-cmd.exp: Likewise.
13686         * gdb.mi/mi-var-display.exp: Likewise.
13687         * gdb.mi/mi2-var-block.exp: Likewise.
13688         * gdb.mi/mi2-var-child.exp: Likewise.
13689         * gdb.mi/mi2-var-cmd.exp: Likewise.
13690         * gdb.mi/mi2-var-display.exp: Likewise.
13691
13692 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
13693
13694         * gdb.base/unload.c (main): Make local variable msg const.
13695
13696 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13697
13698         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
13699         to bug-gnu@prep.ai.mit.edu.
13700         * gdb.mi/mi-disassemble.exp: Likewise.
13701         * gdb.mi/mi-eval.exp: Likewise.
13702         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
13703         default line number.
13704         * gdb.mi/mi-return.exp: Likewise.
13705         * gdb.mi/mi-simplerun.exp: Likewise.
13706         * gdb.mi/mi-stack.exp: Likewise.
13707         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
13708         number with explicit range test.
13709         * gdb.mi/mi-watch.exp: Likewise.
13710         * gdb.mi/mi2-break.exp: Likewise.
13711         * gdb.mi/mi2-cli.exp: Likewise.
13712         * gdb.mi/mi2-disassemble.exp: Likewise.
13713         * gdb.mi/mi2-eval.exp: Likewise.
13714         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
13715         default line number.
13716         * gdb.mi/mi2-return.exp: Likewise.
13717         * gdb.mi/mi2-simplerun.exp: Likewise.
13718         * gdb.mi/mi2-stack.exp: Likewise.
13719         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
13720         number with explicit range test.
13721         * gdb.mi/mi2-watch.exp: Likewise.
13722
13723 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13724
13725         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13726         * gdb.cp/m-static.exp: Likewise.
13727         * gdb.cp/rtti.exp: Likewise.
13728
13729 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
13730
13731         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13732
13733 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
13734
13735         * ChangeLog: Prefix Local Variables with semi-colons and indent
13736         the reference to older ChangeLog files, to fix fontification in
13737         Emacs.
13738
13739 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13740
13741         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13742         * gdb.mi/mi2-break.exp: Likewise.
13743
13744 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13745
13746         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13747
13748 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13749
13750         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13751
13752 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13753
13754         * gdb.cp/classes.exp: Remove unused declarations.  Just let
13755         test names default instead of providing special names.  Remove
13756         extraneous demangler test.
13757
13758 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
13759
13760         * gdb.base/unload.exp: New test for breakpoints in dynamically
13761         loaded libraries.
13762         * gdb.base/unload.c: Ditto.
13763         * gdb.base/unloadshr.c: Ditto.
13764
13765 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
13766
13767         * gdb.cp/classes.exp (test_ptype_class_objects): Call
13768         cp_test_ptype_class.
13769         (test_enums): Likewise.
13770
13771 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13772
13773         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13774         files.
13775
13776 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13777
13778         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13779         init_malloc call.
13780
13781 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
13782
13783         * ChangeLog: Add copyright notice.  The notice is copied
13784         from emacs 21.3 top level ChangeLog.
13785
13786 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13787
13788         * lib/cp-support.exp: New file.
13789         * lib/cp-support.exp (cp_test_type_class): New function.
13790         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13791         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13792         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13793         cp_test_ptype_class.
13794
13795 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13796
13797         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13798         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13799         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13800         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13801         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13802         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13803         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13804         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13805         gdb.mi/mi2-watch.exp: Update copyright years.
13806
13807 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
13808
13809         * gdb.base/sigaltstack.exp: Provide proper anchoring.
13810
13811 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13812
13813         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13814         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13815         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13816         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13817         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13818         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13819         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13820         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13821         gdb.mi/mi-watch.exp: Update copyright years.
13822
13823 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13824
13825         PR gdb/1738
13826         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13827         from a breakpoint with a pending signal.
13828
13829 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13830
13831         PR gdb/1736
13832         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13833         * gdb.base/sigaltstack.exp (finish_test): Consume output until
13834         the prompt.
13835         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13836
13837 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13838
13839         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13840
13841 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13842
13843         PR gdb/1736
13844         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
13845         for i?86-*-linux*.
13846
13847 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13848
13849         * gdb.arch/i386-prologue.exp: Compile without debug information.
13850
13851 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
13852
13853         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13854         rather than asking gdb to search.
13855
13856 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13857
13858         * gdb.base/gcore.c: Include <string.h>.
13859
13860 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13861
13862         * gdb.base/gcore.c: Add copyright notice.
13863
13864 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13865
13866         * gdb.base/freebpcmd.c: Include <stdio.h>.
13867         * gdb.base/long_long.c: Include <string.h>.
13868         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13869         * gdb.base/siginfo.c: Include <string.h>.
13870         * gdb.base/sigstep.c: Include <string.h>.
13871
13872 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13873
13874         * gdb.base/complex.c: Include <stdlib.h>.
13875
13876 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13877
13878         * gdb.base/complex.c: Add copyright notice.
13879
13880 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13881
13882         * gdb.base/charset.c: Include <stdlib.h>.
13883
13884 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13885
13886         * gdb.base/auxv.c: Include <stdlib.h>.
13887
13888 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13889
13890         * gdb.base/auxv.c: Add copyright notice.
13891
13892 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13893
13894         * gdb.base/coremaker.c: Add copyright notice.
13895         * gdb.base/coremaker2.c: Add copyright notice.
13896
13897 2004-08-04  Andrew Cagney  <cagney@gnu.org>
13898
13899         * gdb.base/store.exp: Update copyright.
13900         (check_set, up_set, check_struct, up_struct): Add a prefix to test
13901         names, do not import gdb_prompt.
13902
13903 2004-08-01  Andrew Cagney  <cagney@gnu.org>
13904
13905         Fix PR testsuite/1729.
13906         * gdb.base/dump.exp: Add test name to callers of capture_value, do
13907         not use capture_value with value 4.
13908         (capture_value): Add optional test name parameter.
13909         (test_reload_saved_value, test_restore_saved_value): Use $msg as
13910         the prefix, pass to capture_value.
13911
13912 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
13913
13914         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13915         * gdb.arch/i386-prologue.c (standard): New prototype and function.
13916         (main): Call new function.
13917
13918 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13919
13920         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13921
13922 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13923
13924         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13925
13926 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13927
13928         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13929         Accept more values of vtbl pointer.  Remove some messages
13930         about "obsolete gcc or gdb".
13931
13932 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13933
13934         * gdb.cp/classes.exp: Accept more varieties of ptype output.
13935
13936 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13937
13938         * gdb.base/asm-source.exp: Properly convert target board
13939         debug flags from gcc format to binutils format.
13940
13941 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
13942
13943         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13944         gdb1718".  PR backtrace/1718 partially fixed.
13945
13946 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
13947
13948         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13949
13950 2004-07-26  Nick Clifton  <nickc@redhat.com>
13951
13952         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
13953         good default value for a specific architecture is available then
13954         set it to that value.  Otherwise default to the -gstabs switch.
13955         Remove the -g... switches from the asm-flags variable.  Allow the
13956         target board info to override the value if it wants to.  Pass the
13957         switch on the assembler command line.
13958
13959 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
13960
13961         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13962         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13963         (main): Call new function.
13964
13965 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
13966
13967         Test for PR exp/1715.
13968         * gdb.base/radix.exp: Refactor common procedures.  Make all
13969         test names unique.  Change XFAIL to KFAIL.
13970
13971 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
13972
13973         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13974         * gdb.ada/gnat_ada.gin: ... to here.
13975         * configure.in: Use gnat_ada.gin.
13976         * configure: Regenerate.
13977
13978 2004-07-20  Andrew Cagney  <cagney@gnu.org>
13979
13980         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13981         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
13982         XFAILs.  Clean up test messages and comments.  Check backtraces.
13983         Delete re-sync code.
13984
13985 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
13986
13987         Fix PR cli/740.
13988         * gdb.base/annota1.exp: Honor gdb,nosignals.
13989         * gdb.base/annota3.exp: Likewise.
13990
13991 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
13992
13993         * lib/java.exp: Update copyright notice.
13994
13995 2004-07-19  Andrew Cagney  <cagney@gnu.org>
13996
13997         * gdb.base/selftest.exp: Copy file from here ...
13998         * gdb.gdb/selftest.exp: ... to here.
13999
14000 2004-07-16  Andrew Cagney  <cagney@redhat.com>
14001
14002         * lib/insight-support.exp: Delete file.
14003         * lib/java.exp (java_init): Fix copyright.
14004
14005 2004-07-16  Andrew Cagney  <cagney@gnu.org>
14006
14007         * gdb.base/restore.c: Append "prologue" to comments marking the a
14008         function's prologue.
14009         * gdb.base/restore.exp: Update copyright, re-indent.
14010         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
14011         callerN" prefix where needed.  Update patterns that match a
14012         function's prologue.
14013
14014 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
14015
14016         * gdb.base/restore.c: Add copyright notice.
14017
14018 2004-07-16  Andrew Cagney  <cagney@gnu.org>
14019
14020         * gdb.base/logical.exp: Update copyright.
14021         (evaluate): New procedure.  Use to re-implement tests using
14022         several tables.
14023
14024 2004-07-14  Martin Hunt  <hunt@redhat.com>
14025
14026         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14027         which fixes some problems where init.tcl was not found.
14028
14029 2004-07-13  Andrew Cagney  <cagney@gnu.org>
14030
14031         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14032         (check_sizeof, check_valueof): Do not include the output in the
14033         test name.  Use gdb_test.
14034         (get_valueof): Use gdb_test_multiple.
14035
14036         * gdb.base/step-test.exp: Update copyright.  Use
14037         gdb_test_multiple.  Ensure that test names do not include
14038         architecture dependent output.
14039
14040         * gdb.gdb/observer.exp: Update copyright.
14041         (setup_test): Use gdb_test_multiple.
14042         (attach_first_observer, attach_second_observer)
14043         (attach_third_observer, detach_first_observer)
14044         (detach_second_observer, detach_third_observer)
14045         (reset_counters, check_counters): Make $message a prefix.
14046         (test_normal_stop_notifications): Add "args" parameter - a list of
14047         init functions to be called.  Make $message a prefix,
14048         (test_observer_normal_stop): Change the message prefixes so that
14049         they are unique, pass the attach / detach procedures to
14050         test_normal_stop_notifications.
14051
14052         * gdb.base/signull.exp (test_segv): Prefix all tests with
14053         "${name}".  Clean up test messages.
14054
14055         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14056
14057         * gdb.base/ena-dis-br.exp: Update copyright.
14058         (break_at): New function.  Replace send_gdb with gdb_test,
14059         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
14060         ignore count, not stopped at bpt", with KFAIL.
14061
14062 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
14063
14064         * gdb.base/attach.exp: Remove cleanupfile handling.
14065
14066 2004-07-12  Andrew Cagney  <cagney@gnu.org>
14067
14068         * gdb.base/annota1.exp: Cleanup corefile test name.
14069         * gdb.base/annota3.exp: Ditto.
14070
14071 2004-07-12  Andrew Cagney  <cagney@gnu.org>
14072
14073         * gdb.base/signals.exp: Clean up copyright, re-indent.
14074
14075         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14076         gdb_test and gdb_test_multiple.
14077
14078 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
14079
14080         * gdb.java/jmain.exp: Fix expected line number for main to
14081         break at.  Set XFAIL for break at main test since gcj does not
14082         provide line number info for first statement in main.
14083
14084 2004-07-08  Andrew Cagney  <cagney@gnu.org>
14085
14086         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
14087
14088         * gdb.base/sigbpt.exp: Make the common part of each test name a
14089         prefix instead of suffix.
14090
14091 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
14092
14093         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14094         test from test_tbreak_creation_and_listing to
14095         test_file_list_exec_source_file
14096         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14097         Changed name of test from test_tbreak_creation_and_listing to
14098         test_file_list_exec_source_file
14099
14100 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
14101
14102         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14103         the jmisc() constructor instead of <init>.
14104         * gdb.java/jmisc1.exp: Ditto.
14105
14106 2004-07-07  Andrew Cagney  <cagney@gnu.org>
14107
14108         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14109         corrupting the PC.
14110
14111 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
14112
14113         * gdb.cp/templates.exp: Accept whitespace change in demangler
14114         output.
14115
14116 2004-07-06  Andrew Cagney  <cagney@gnu.org>
14117
14118         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14119
14120 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
14121
14122         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14123         * lib/compiler.cc: Likewise.
14124
14125 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
14126
14127         * lib/compiler.cc: Work around string preprocessing problem
14128         with old hp c++ compiler.
14129         * lib/compiler.c: Likewise.
14130
14131 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
14132
14133         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
14134         directives to conditionalize symbol prefixing.
14135         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14136         additional_flags handling.  Add underscore prefix for Cygwin.
14137         * gdb.arch/i386-unwind.c: Use preprocessor directives to
14138         conditionalize symbol prefixing.
14139         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14140         additional_flags handling.  Add underscore prefix for Cygwin.
14141
14142 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
14143
14144         * gdb.base/bigcore.exp: Skip test on Cygwin.
14145
14146 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
14147
14148         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14149         formats for "info register".  Use gdb_test_multiple.  Fix
14150         the "invalid register" test.
14151
14152 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
14153
14154         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
14155         PID for Cygwin.  Add Cygwin specific strings to check for in some
14156         tests.
14157         (do_attach_tests): Add a test for user interaction when attaching
14158         to a process with no matching symbol table already loaded.
14159
14160 2004-06-26  Andrew Cagney  <cagney@gnu.org>
14161
14162         Test PR java/1567 and PR java/1565.
14163         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14164         * gdb.java/jmisc2.exp: Delete file.
14165
14166 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
14167
14168         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14169
14170 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
14171
14172         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14173         attach process.
14174
14175 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
14176
14177         * gdb.cp/pr-1553.exp: Remove.
14178
14179 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
14180
14181         * gdb.cp/pr-1553.cc: Remove.
14182         * gdb.cp/pr-1553.exp: Disable this test.
14183
14184 2004-06-20  Jim Blandy  <jimb@redhat.com>
14185
14186         Fix PR testsuite/1680.
14187         * gdb.arch/i386-sse.exp: Properly quote curly braces in
14188         regular expressions.
14189
14190 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
14191
14192         Fix PR testsuite/1679.
14193         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14194         Issue an UNSUPPORTED result instead.
14195
14196 2004-06-18  Jim Blandy  <jimb@redhat.com>
14197
14198         * gdb.base/charset.exp: Only send a control-C if we see a new
14199         prompt and incomplete command.
14200
14201 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
14202
14203         * gdb.cp/pr-574.cc: Add copyright notice.
14204
14205 2004-06-17  Jim Blandy  <jimb@redhat.com>
14206
14207         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14208         cases where the regexp has no groups; this grabs random text from
14209         the previous test suite, whatever that was.
14210
14211 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
14212
14213         * gdb.cp/printmethod.cc: Add copyright notice.
14214
14215 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
14216
14217         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14218
14219 2004-06-16  Andrew Cagney  <cagney@gnu.org>
14220
14221         * gdb.base/signull.c: Update copyright.  Include <string.h>.
14222         (bowler): Replace data_pointer with data_read
14223         and data_write cases.  Add code_descriptor case.
14224         (zero, desc): New array and pointer.
14225         (data, code): Change to simple pointers.
14226         * gdb.base/signull.exp: Fix probe pattern matching a function
14227         descriptor SIGSEGV.  Replace data_pointer with data_read and
14228         data_write tests.
14229
14230 2004-06-16  Andrew Cagney  <cagney@gnu.org>
14231
14232         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14233
14234 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
14235
14236         * gdb.base/long_long.c: Add copyright notice.
14237
14238 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
14239
14240         * gdb.base/long_long.exp: Remove reference to
14241         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
14242         to gdb_breakpoint and gdb_continue_to_breakpoint.
14243
14244 2004-06-14  Jim Blandy  <jimb@redhat.com>
14245
14246         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14247         endian case.
14248
14249 2004-06-14  Andrew Cagney  <cagney@gnu.org>
14250
14251         * gdb.base/gcore.exp (capture_command_output): Delete the always
14252         passing tests containing inferior values.
14253         * gdb.base/ending-run.exp: Do not include the breakpoint address
14254         in the test message.  Update copyright.
14255         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14256         size in the test name, use gdb_test_multiple.  Update copyright.
14257
14258 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
14259
14260         * gdb.cp/ref-types.cc: Add copyright notice.
14261
14262 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
14263
14264         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14265         hp_aCC_compiler.
14266         * lib/compiler.cc: Likewise.
14267         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14268         'set' commands.  Log diagnostics for other lines.  Set
14269         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14270
14271 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
14272
14273         * gdb.cp/try_catch.cc: Add copyright notice.
14274
14275 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
14276
14277         * gdb.cp/userdef.cc: Add copyright notice.
14278
14279 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
14280
14281         * gdb.cp/virtfunc.cc: Add copyright notice.
14282
14283 2004-06-11  Randolph Chung  <tausq@debian.org>
14284
14285         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14286         problem.
14287
14288 2004-06-10  Andrew Cagney  <cagney@gnu.org>
14289
14290         * lib/compiler.cc, lib/compiler.c: Append either
14291         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14292         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14293         instead of gcc-3-3.
14294
14295 2004-06-09  Andrew Cagney  <cagney@gnu.org>
14296
14297         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14298         gdb/1455, bug is specific to "long long" and "double".
14299
14300         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14301         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14302         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
14303         fixed.
14304
14305 2004-06-09  Andrew Cagney  <cagney@gnu.org>
14306
14307         * gdb.base/structs.exp (test_struct_returns): Replace
14308         "return_value_unknown" and "finish_value_unknown" by
14309         "return_value_known" and "finish_value_known".  Instead of
14310         "return_value_unknown" iff "finish_value_unknown", check
14311         "return_value_known" implies "finish_value_known".
14312
14313 2004-06-08  Martin Hunt  <hunt@redhat.com>
14314
14315         * gdb.base/float.exp: Add pattern for mips targets.
14316
14317 2004-06-08  Randolph Chung  <tausq@debian.org>
14318
14319         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14320         message for unknown architectures more clear.
14321
14322 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
14323
14324         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14325         start the execution of the program.
14326
14327 2004-06-07  Jim Blandy  <jimb@redhat.com>
14328
14329         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14330         * gdb.arch/i386-cpuid.h: New helper file.
14331
14332 2004-06-07  Randolph Chung  <tausq@debian.org>
14333
14334         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14335         has started.
14336
14337 2004-06-04  Roland McGrath  <roland@redhat.com>
14338
14339         Fix PR gdb/1647.
14340         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14341         differently to be robust to output buffering differences.
14342
14343 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
14344
14345         * gdb.threads/pthreads.exp: Update copyright years.
14346         (check_control_c): Change asynchronous 'after' to synchronous.
14347
14348 2004-06-04  Roland McGrath  <roland@redhat.com>
14349
14350         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14351         next gdb prompt.
14352
14353 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
14354
14355         Fix PR gdb/1636.
14356         * gdb.threads/manythreads.exp: Change asynchronous 'after'
14357         calls to synchronous.
14358
14359 2004-05-26  Jim Blandy  <jimb@redhat.com>
14360
14361         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14362
14363 2004-05-24  Randolph Chung  <tausq@debian.org>
14364
14365         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14366         * gdb.asm/pa.inc: New file.
14367
14368 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
14369
14370         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14371
14372 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
14373             Daniel Jacobowitz  <drow@mvista.com>
14374
14375         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14376         GDB prompt.
14377
14378 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14379
14380         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14381         setjmp/longjmp.  Use sigaction instead of signal.
14382
14383 2004-05-19  J. Brobecker  <brobecker@gnat.com>
14384             Michael Snyder  <msnyder@redhat.com>
14385
14386         * gdb.threads/pthread_cond_wait.c: New file.
14387         * gdb.threads/pthread_cond_wait.exp: New testcase.
14388
14389 2004-05-13  Andrew Cagney  <cagney@redhat.com>
14390
14391         * gdb.base/signull.exp, gdb.base/signull.c: New files.
14392         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14393
14394 2004-05-11  Andrew Cagney  <cagney@redhat.com>
14395
14396         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
14397         fixed but revealed gdb/1639.
14398
14399 2004-05-10  Andrew Cagney  <cagney@redhat.com>
14400
14401         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14402         func1" and "next to 2nd alarm", kernel bug avoided.
14403
14404 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
14405
14406         PR external/1568
14407         * gdb.base/bigcore.exp: Check the size of the dumped core file.
14408         XFAIL if it is smaller than bytes_allocated.
14409         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14410         (main): Make chunks_allocated unsigned.  Correct comment.
14411
14412 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
14413
14414         * gdb.arch/powerpc-aix-prologue.c: New file.
14415         * gdb.arch/powerpc-aix-prologue.exp: New file.
14416
14417 2004-05-07  Jim Blandy  <jimb@redhat.com>
14418
14419         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14420         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14421
14422 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
14423
14424         * gdb.base/sep.exp: No longer setup_kfail when the program was
14425         built with dwarf2.
14426
14427 2004-05-05  Jim Ingham  <jingham@apple.com>
14428
14429         * gdb.base/pending.exp: Make sure pending breakpoints
14430         preserve the ignore count.
14431
14432 2004-04-27  Jerome Guitton  <guitton@gnat.com>
14433
14434         * i386-prologue.exp: Add testcase for jump instruction as first
14435         instruction of the real code.
14436         * i386-prologue.c (jump_at_beginning): New function.
14437
14438 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14439
14440         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14441         x86_64-*-*.
14442
14443 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14444
14445         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14446         i*86-*-*.
14447
14448 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
14449
14450         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14451         expression that checks the return type.
14452
14453 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14454
14455         * gdb.base/call-sc.exp: New test of scalar call/return values.
14456         * gdb.base/call-sc.c: Ditto.
14457
14458 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14459
14460         * gdb.threads/manythreads.c: Reduce thread stack size.
14461
14462 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
14463
14464         * gdb.threads/manythreads.c: Add copyright notice.
14465
14466 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14467
14468         * gdb.base/siginfo.exp: Better handle step out of signal.
14469         * gdb.base/sigstep.exp: Ditto.
14470
14471 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
14472             Daniel Jacobowitz  <drow@mvista.com>
14473
14474         * gdb.threads/manythreads.c: New testcase.
14475         * gdb.threads/manythreads.exp: Ditto.
14476
14477 2004-04-22  Jim Blandy  <jimb@redhat.com>
14478
14479         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14480         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14481
14482 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
14483
14484         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14485
14486 2004-04-21  Andrew Cagney  <cagney@redhat.com>
14487
14488         * gdb.base/sigstep.c: New file.
14489         * gdb.base/sigstep.exp: New file.
14490
14491 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
14492
14493         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14494         call to observer_notify_normal_stop.
14495
14496 2004-04-15  Andrew Cagney  <cagney@redhat.com>
14497
14498         * gdb.base/siginfo.c: New file.
14499         * gdb.base/siginfo.exp: New file.
14500
14501 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14502
14503         * gdb.base/sep.exp: Fix typo in comment.
14504
14505 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14506
14507         * gdb.base/sep.c: New file.
14508         * gdb.base/sep-proc.c: New file.
14509         * gdb.base/sep.exp: New testcase.
14510
14511 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
14512
14513         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14514         support.
14515
14516 2004-04-05  Andrew Cagney  <cagney@redhat.com>
14517
14518         * gdb.base/sigaltstack.c: New file.
14519         * gdb.base/sigaltstack.exp: New file.
14520
14521 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
14522
14523         * gdb.base/foll-fork.exp: Update the expected output for
14524         "help set follow-fork-mode", to match a change that was made
14525         to the help of this variable on 2004-01-13.
14526
14527 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14528
14529         * lib/ada.exp: Add copyright notice.
14530         * bar.ads: Likewise.
14531         * bar.adb: Likewise.
14532         * null_record.adb: Likewise.
14533         * null_record.exp: Likewise.
14534         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14535
14536 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14537
14538         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14539         * configure: Regenerate.
14540
14541 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14542
14543         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14544         to build the application. Remove the message printed when in
14545         verbose mode, redundant with the UNSUPPORTED message above.
14546
14547 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14548
14549         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14550         * gdb.ada (null_record.exp): New testcase.
14551
14552 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14553
14554         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14555
14556 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14557
14558         * gdb.ada: New subdirectory.
14559         * gdb.ada/Makefile.in: New file.
14560         * gdb.ada/gnat_ada.gpr.in: New file.
14561
14562 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14563
14564         * lib/ada.exp: New file.
14565
14566 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
14567
14568         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14569         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14570
14571 2004-03-22  Andrew Cagney  <cagney@redhat.com>
14572
14573         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14574         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14575         Problem identified by Ulrich Weigand.
14576
14577 2004-03-17  David Carlton  <carlton@kealia.com>
14578
14579         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14580         PR c++/826.
14581
14582 2004-03-16  Roland McGrath  <roland@redhat.com>
14583
14584         * gdb.base/auxv.exp: New file.
14585         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14586
14587 2004-03-12  David Carlton  <carlton@kealia.com>
14588
14589         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
14590         * gdb.cp/pr-1553.cc: Ditto.
14591         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14592         pass branch.
14593
14594 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
14595
14596         * gdb.cp/templates.exp: Accept more template types.
14597
14598 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14599
14600         From Corinna Vinschen with modifications.
14601         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14602         local variable obj_with_enum.
14603         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14604         results with obj_with_enum.
14605
14606 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14607
14608         * gdb.cp/classes.cc: New file, copied from misc.cc.
14609         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14610
14611 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14612
14613         * gdb.cp/misc.cc: Add copyright notice.
14614
14615 2004-03-05  David Carlton  <carlton@kealia.com>
14616
14617         * gdb.cp/rtti.exp: Add 'print *obj3' test.
14618         * gdb.cp/rtti.h: Update copyright.
14619         (namespace n2::n3): New.
14620         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14621         (n2::n3::func3): New.
14622         (main): Call n2::n3::func3.
14623         * gdb.cp/rtti2.cc: Update copyright.
14624         (n2::create3): New.
14625
14626 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
14627
14628         * gdb.asm/openbsd.inc: Fix typo.
14629
14630 2004-03-03  Fred Fish  <fnf@redhat.com>
14631
14632         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14633         "val" instead of unused "size".  Update copyright year.
14634
14635 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14636
14637         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
14638         to use unsigned char.
14639         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14640         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14641
14642 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14643
14644         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14645         line of output.
14646
14647 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14648
14649         * gdb.base/relocate.c (dummy): Initialize.
14650
14651 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14652
14653         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
14654         a breakpoint at exit.
14655
14656 2004-02-27  Fred Fish  <fnf@redhat.com>
14657
14658         * gdb.base/chng-syms.exp: Add expect condition to match failing
14659         case that isn't a timeout.
14660
14661 2004-02-27  Andrew Cagney  <cagney@redhat.com>
14662
14663         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14664         support.
14665
14666 2004-02-26  Fred Fish  <fnf@redhat.com>
14667
14668         * gdb.arch/gdb1431.c: Remove.
14669         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14670         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14671         of "until" incorrectly.
14672
14673 2004-02-26  J. Brobecker  <brobecker@gnat.com>
14674
14675         * gdb.cp/class2.cc (empty): New class.
14676         (refer): New function.
14677         (main): Declare an object of type empty and use it.
14678         * gdb.cp/class2.exp: Print the value of an object of type empty.
14679
14680 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
14681
14682         * gdb.base/langs.exp: Update query string to match the
14683         new nquery format used for pending breakpoints.
14684
14685 2004-02-26  Andrew Cagney  <cagney@redhat.com>
14686
14687         Fix PR i18n/1570.
14688         * gdb.base/charset.c: Update copyright notice.
14689         (main, init_string): Remove the escape character '\e' tests.
14690         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14691         * gdb.base/charset.exp (valid_host_charset): Ditto.
14692         * gdb.base/setvar.exp: Ditto.
14693
14694 2004-02-24  Andrew Cagney  <cagney@redhat.com>
14695
14696         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14697         mmapped data in core file" PASS and FAIL messages consistent.
14698
14699         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14700         setting a breakpoint.  Work around PR java/1565.
14701
14702 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
14703
14704         * lib/gdb.exp (gdb_breakpoint): Update query string to match
14705         new nquery format.
14706         * gdb.base/pending.exp: Ditto.
14707
14708 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
14709
14710         * configure.in: Run stabs tests on *BSD.
14711         * configure: Regenerated.
14712
14713 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
14714
14715         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14716
14717 2004-02-20  Fred Fish  <fnf@redhat.com>
14718
14719         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14720         blank in test for "returns short", for consistency with other
14721         "returns xxx" tests.  Update copyright year.
14722
14723 2004-02-19  Fred Fish  <fnf@redhat.com>
14724
14725         New testcase for PR breakpoint/1558.
14726         * gdb.arch/gdb1558.exp: New file.
14727         * gdb.arch/gdb1558.c: New file.
14728
14729 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
14730
14731         * gdb.base/nodebug.exp: Fix typo.
14732
14733 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14734
14735         Committed by Jim Blandy  <jimb@redhat.com>.
14736
14737         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14738
14739         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14740
14741         * gdb.base/float.exp: Support s390*-*-* targets.
14742
14743 2004-02-17  Adam Fedor  <fedor@gnu.org>
14744
14745         * gdb.base/gdb1555.exp: New file.
14746         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14747
14748 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
14749
14750         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14751
14752 2004-02-16  Fred Fish  <fnf@redhat.com>
14753
14754         * gdb.arch/gdb1291.c: Remove
14755         * gdb.arch/gdb1291.s: New test input file.
14756         * gdb.arch/gdb1291.exp: Expand test to check case that should not
14757         fail.  Test for correct result, known incorrect result, other
14758         failures and timeouts.
14759
14760 2004-02-16  Andrew Cagney  <cagney@redhat.com>
14761
14762         * gdb.base/bigcore.exp: New file.
14763         * gdb.base/bigcore.c: New file.
14764
14765 2004-02-13  Andrew Cagney  <cagney@redhat.com>
14766
14767         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14768         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14769         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14770         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14771         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14772         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14773         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14774         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14775         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14776         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14777
14778 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
14779
14780         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14781         executed is an alloc instruction.
14782
14783 2004-02-11  David Carlton  <carlton@kealia.com>
14784
14785         * gdb.cp/breakpoint.exp: New.
14786         * gdb.cp/breakpoint.cc: New.
14787
14788 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
14789
14790         Partial fix for PR gdb/1543.
14791         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14792         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14793         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14794         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14795         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14796         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14797         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14798         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14799         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14800         to bug-gdb@prep.ai.mit.edu .
14801         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14802         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14803         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14804         Likewise.
14805
14806 2004-02-10  Andrew Cagney  <cagney@redhat.com>
14807
14808         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14809         using gdb_internal_error_resync.
14810
14811 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
14812
14813         * gdb.threads/thread-specific.exp: Stop early if no threads are
14814         found.
14815
14816 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
14817
14818         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14819
14820 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
14821
14822         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14823         breakpoints.
14824
14825 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
14826
14827         * config/sim.exp (gdb_load): Handle $arg == "".
14828         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14829         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14830
14831 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
14832
14833         * gdb.base/maint.exp: Update test to reflect
14834          obstack changes.
14835
14836 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
14837
14838         * gdb.base/pendshr.c (pendfunc): New function that calls
14839         pendfunc1.
14840         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14841
14842 2004-02-04  Fred Fish  <fnf@redhat.com>
14843
14844         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14845         function symbols and update copyright years.
14846         * gdb.arch/gdb1291.c: Ditto.
14847
14848 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14849
14850         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14851
14852 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14853
14854         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14855
14856 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14857
14858         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14859
14860 2004-02-02  Fred Fish  <fnf@redhat.com>
14861
14862         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14863         remote targets.  Update copyright years.
14864
14865 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
14866
14867         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14868         support.
14869         * gdb.base/langs.exp: Fix test which attempts to create
14870         breakpoint on non-existent function to handle new pending
14871         support.
14872         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14873         a breakpoint.
14874         * gdb.base/pending.exp: New test.
14875         * gdb.base/pending.c: New file.
14876         * gdb.base/pendshr.c: Ditto.
14877
14878 2004-02-02  David Carlton  <carlton@kealia.com>
14879
14880         * gdb.cp/overload.exp: Add overloadNamespace tests.
14881         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14882         (overloadNamespace, XXX): New.
14883         (main): Call XXX::marker2.
14884
14885 2004-02-01  Fred Fish  <fnf@redhat.com>
14886
14887         * gdb.base/dump.exp: Use runto_main instead of "runto main".
14888         * gdb.base/finish.exp: Ditto.
14889         * gdb.base/gcore.exp: Ditto.
14890         * gdb.base/huge.exp: Ditto.
14891         * gdb.base/info-proc.exp: Ditto.
14892         * gdb.base/return2.exp: Ditto.
14893         * gdb.threads/gcore-thread.exp: Ditto.
14894
14895 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14896
14897         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14898
14899 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14900
14901         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14902         that opening the file succeeds on OpenBSD.
14903
14904 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14905
14906         * gdb.threads/thread-specific.c: New file.
14907         * gdb.threads/threads-specific.exp: New test script.
14908         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14909         to expect_out.
14910
14911 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14912
14913         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
14914         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14915         only on the "print_small_structs from print_long_arg_list" test.
14916
14917 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14918
14919         * gdb.base/completion.exp: Kill a stray backslash.
14920
14921         From Jim Ingham <jingham@apple.com>:
14922         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14923         agrees with the result from sending a tab.
14924
14925 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
14926
14927         * gdb.base/chng-syms.exp: Remove stray newline.
14928
14929 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
14930
14931         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14932         *-*-openbsd*.
14933         * gdb.asm/openbsd.inc: New file.
14934
14935 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
14936
14937         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
14938         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14939         *-*solaris2*.  Remove commented out default settings for
14940         asm-flags.  Replace gdb_compile with target_link.
14941
14942 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
14943
14944         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
14945         for all tests.  Remove old hp-ux and cygnus xfail cases.
14946
14947 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
14948
14949         * gdb.base/chng-syms.exp: New file.
14950         * gdb.base/chng-syms.c: New file.
14951
14952 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14953
14954         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
14955         Provide arms for current output in all my configurations.
14956
14957 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14958
14959         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14960         * lib/compiler.cc: Likewise.
14961         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14962         get the right preprocessor.  Eval the output directly.  Remove
14963         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
14964         hp_f77_compiler and hp_f90_compiler completely.
14965         (gdb_preprocess): Delete.
14966         (get_compiler): Delete.
14967
14968 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
14969
14970         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14971         <string.h>.
14972
14973 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
14974
14975         * gdb.mi/mi-stack.exp: Update copyright.
14976
14977 2004-01-23  David Carlton  <carlton@kealia.com>
14978
14979         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
14980         test for cp_lookup_transparent_type.
14981         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
14982         call them.
14983
14984 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
14985
14986         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
14987         after -var-update.
14988
14989 2004-01-23  David Carlton  <carlton@kealia.com>
14990
14991         * gdb.cp/namespace.cc (C::ensureRefs): New.
14992         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14993
14994 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
14995
14996         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14997         case "-stack-list-locals 2".
14998         * gdb.mi/mi-var-child.exp: Test for case
14999         "-var-list-children --all-values NAME".
15000
15001 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
15002
15003         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15004
15005 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
15006
15007         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15008         used with gdb_test_multiple.
15009
15010         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15011         read at address 0.  This fixes PR testsuite/1504.
15012
15013 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
15014
15015         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15016         Remove downloading, guessing the host executable, the calls to
15017         gdb_file_cmd and gdb_target_cmd, and "load" support.
15018         (infer_host_exec): New function broken out from gdb_load.
15019         (gdb_load): New wrapper for gdbserver_gdb_load.
15020         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15021         gdb_target_cmd.  Use -target-select.
15022         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15023         Download binaries to the host.  Clear last_mi_remote_file when
15024         we load a new binary.
15025         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
15026         call gdbserver_gdb_load and mi_gdb_target_cmd.
15027
15028 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
15029
15030         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15031         type patterns.
15032
15033 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
15034
15035         * gdb.cp/templates.exp: Fix typo in test name of
15036         "print Foo<volatile char*>::foo".
15037
15038 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
15039
15040         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15041
15042 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
15043
15044         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15045         (clean mostlyclean): Remove empty rm.
15046
15047 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
15048
15049         * gdb.base/setvar.exp: Add copyright years.
15050
15051 2004-01-14  David Carlton  <carlton@bactrian.org>
15052
15053         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
15054         PR c++/1511 and update coment.
15055         * gdb.cp/templates.exp: Update patterns to match current output.
15056         If changes involve something other than whitespace, KFAIL
15057         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15058
15059 2004-01-14  David Carlton  <carlton@kealia.com>
15060
15061         * gdb.cp/namespace.exp: Add tests involving classes defined within
15062         namespaces.
15063         * gdb.cp/namespace.cc (C::CClass): New.
15064         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15065
15066 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
15067
15068         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15069         what debug info we have. Print a better message if something goes
15070         wrong while producing the separate debug info file.
15071
15072 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
15073
15074         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15075
15076 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
15077
15078         * gdb.base/callfuncs.c: Add copyright notice.
15079
15080 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
15081
15082         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15083         inheritance.  PR gdb/1498, PR gcc/13539.
15084
15085 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
15086
15087          * gdb.threads/gcore-thread.exp: Prefix name of binary with
15088          test specific name.
15089          * gdb.mi/gdb669.exp: Ditto.
15090          * gdb.mi/mi-pthreads.exp: Ditto.
15091          * gdb.mi/mi1-pthreads.exp: Ditto.
15092          * gdb.mi/mi2-pthreads.exp: Ditto.
15093
15094 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
15095
15096         * gdb.cp/member-ptr.cc: Add copyright notice.
15097
15098 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
15099
15100         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
15101         some patterns for recent versions of gcc and hpacc.  Delete
15102         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
15103         Delete tests that access a NULL pointer-to-member-data.  This
15104         script is still disabled for gcc.
15105
15106 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
15107
15108         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15109         escaped correctly.
15110
15111 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
15112
15113         * gdb.base/sepdebug.exp: New file.
15114         * gdb.base/sepdebug.c: New file.
15115         * lib/gdb.exp (separate_debug_filename): New procedure.
15116         (gdb_gnu_strip_debug): New procedure.
15117
15118 2004-01-12  Andrew Cagney  <cagney@redhat.com>
15119
15120         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
15121         * gdb.mi/ChangeLog-1999-2003: New file.
15122
15123 2004-01-12  Andrew Cagney  <cagney@redhat.com>
15124
15125         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
15126         "Renaming a directory to a non-empty directory returns ENOTEMPTY
15127         or EEXIST", treat EBUSY as an XFAIL.
15128
15129 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
15130
15131         * gdb.base/scope.exp: Remove obsolete setup_xfail for
15132         hp_cc_compiler.
15133
15134 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
15135
15136         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15137         decorations.
15138
15139 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
15140
15141         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15142         and "(aCC)" decorations.  Remove obsolete doco about old
15143         test results.
15144
15145 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15146
15147         * gdb.cp/exception.exp: Fix typo in doco.
15148
15149 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
15150
15151         * gdb.base/gdb1476.exp: Fix typo.
15152
15153 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15154
15155         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15156         file.
15157
15158 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15159
15160         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15161         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15162         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
15163         for recent version of gdb.  Delete second half, which was a copy
15164         of the first half with different build flags.  This test is
15165         still disabled because it is still not ready for production.
15166
15167 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15168
15169         * gdb.cp/exception.cc: Add copyright notice.
15170         * gdb.cp/exception.exp: Add a notice that this file is broken
15171         because of line number changes caused by addition of copyright
15172         notice.
15173
15174 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15175
15176         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15177         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15178
15179 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15180
15181         * gdb.cp/classes.exp: Accept gnu abi 2.
15182         * gdb.cp/derivation.exp: Likewise.
15183         * gdb.cp/overload.exp: Likewise.
15184         * gdb.cp/virtfunc.exp: Likewise.
15185
15186 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15187
15188         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15189         semicolon after end of function.
15190
15191 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15192
15193         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15194         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
15195         boilerplate code for compiling and running the program under
15196         test.  Add some string method tests.
15197
15198 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15199
15200         * gdb.cp/bs15503.cc: Add copyright notice.
15201         * gdb.cp/bs15503.exp: Adjust line number.
15202
15203 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15204
15205         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15206         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15207
15208 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15209
15210         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15211         hp_cc_compiler.
15212
15213 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15214
15215         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15216         * gdb.cp/ctti.exp: Use the marker instead of "next".
15217         With gcc, run further before bailing.
15218
15219 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15220
15221         * gdb.cp/cttiadd.cc: Add copyright notice.
15222         * gdb.cp/cttiadd1.cc: Likewise.
15223         * gdb.cp/cttiadd2.cc: Likewise.
15224         * gdb.cp/cttiadd3.cc: Likewise.
15225
15226 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15227
15228         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
15229         Use gdb_test, gdb_test_multiple.  Use floating-point values that
15230         have exact representations in IEEE-ish formats.
15231
15232 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15233
15234         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15235         compilers.  Delete duplicate call to get_compiler_info.
15236         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15237         * gdb.base/volatile.exp: Likewise.
15238
15239 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
15240
15241         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15242         memory at address 0.
15243
15244 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15245
15246         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15247         to test for hp-ux assembler.  Fix copyright years.
15248
15249 2004-01-07  Andrew Cagney  <cagney@redhat.com>
15250
15251         * gdb.base/fileio.c (strerrno): Add "EBUSY".
15252
15253 2004-01-07  Andrew Cagney  <cagney@redhat.com>
15254
15255         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15256         when creating the read-only file.  From analysis by Roland McGrath
15257         and Elena Zannoni.
15258
15259 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15260
15261         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15262
15263 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15264
15265         * gdb.base/cvexpr.c: Be type-safe with function pointers and
15266         data pointers.
15267
15268 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15269
15270         * gdb.cp/m-static.exp: Compile one source file at a time.
15271         Delete unused call to get_compiler_info.
15272
15273 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15274
15275         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15276         * gdb.base/call-rt-st.exp: Likewise.
15277         * gdb.base/nodebug.exp: Likewise.
15278         * gdb.base/volatile.exp: Likewise.
15279         * gdb.cp/ref-types.exp: Likewise.
15280         * gdb.cp/templates.exp: Likewise.
15281
15282 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
15283
15284         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15285
15286 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
15287
15288         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15289         hppa*-hp-hpux*.
15290
15291 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
15292
15293         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15294         x86_64-*-*.
15295
15296         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15297         sparc64-*-* and sparc*-solaris2*.
15298
15299 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
15300
15301         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15302         return ${tests}" test.  The ${tests} already mentions the
15303         filename.
15304
15305 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15306
15307         * gdb.cp/local.exp: Accept gcc abi 2.
15308
15309 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15310
15311         * gdb.cp/templates.exp: Accept gcc abi 2.
15312
15313 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15314
15315         * lib/compiler.cc: Remove supports_template_debugging.
15316         * gdb.cp/templates.exp: Do not test supports_template_debugging.
15317
15318 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15319
15320         * gdb.cp/namespace.exp: Accept gcc abi 2.
15321
15322 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15323
15324         * gdb.cp/method.exp: Accept gcc abi 2.
15325
15326 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15327
15328         * gdb.cp/classes.exp: Generate identical results as old version.
15329         * gdb.cp/derivation.exp: Likewise.
15330         * gdb.cp/overload.exp: Likewise.
15331         * gdb.cp/virtfunc.exp: Likewise.
15332
15333 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15334
15335         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15336         mysterious bug with sourceware version of expect.
15337
15338 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15339
15340         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
15341         current versions of gcc, including gcc abi 2.  Remove gratuitous
15342         restart of test program.  Use gdb_test_multiple and gdb_test for
15343         all tests.  Add patterns to xfail missing "const" in "const char *"
15344         and kfail PR gdb/1155.
15345
15346 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15347
15348         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
15349         current versions of gcc, including gcc abi 2.  Remove gratuitous
15350         restart of test program.  Use gdb_test_multiple and gdb_test for
15351         all tests.  Add patterns to kfail PR gdb/1498.
15352
15353 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15354
15355         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
15356         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15357         and "continue" instead of restarting the target program.  Use
15358         gdb_test_multiple and gdb_test for all tests.
15359
15360 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
15361
15362         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
15363         for *-*-solaris2*.
15364
15365 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15366
15367         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
15368         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15369         and "continue" instead of restarting the target program several
15370         times.  Use gdb_test_multiple and gdb_test for all tests.
15371
15372 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
15373
15374         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15375         source files.
15376
15377 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15378
15379         * gdb.base/environ.exp: Handle compiling test case from multiple
15380         source files.
15381
15382 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15383
15384         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15385
15386 2003-12-17  Jim Blandy  <jimb@redhat.com>
15387
15388         * gdb.base/freebpcmd.c: Add copyright notice.
15389
15390         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15391
15392 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15393
15394         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15395
15396 2003-12-13  Jim Blandy  <jimb@redhat.com>
15397
15398         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15399
15400 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
15401
15402         * gdb.asm/frv.inc: New file.
15403         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15404
15405 2003-12-09  Fred Fish  <fnf@redhat.com>
15406
15407         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15408         functions to break1.c and leave prototypes behind.  Add more
15409         "set breakpoint NN here" comments.
15410         * gdb.base/break1.c: New file.
15411
15412         * gdb.base/break.exp: Handle compiling test case from multiple
15413         source files and change source file references as needed.
15414         * gdb.base/completion.exp: Ditto.
15415         * gdb.base/condbreak.exp: Ditto.
15416         * gdb.base/define.exp: Ditto.
15417         * gdb.base/ena-dis-br.exp: Ditto.
15418         * gdb.base/info-proc.exp: Ditto.
15419         * gdb.base/maint.exp: Ditto.
15420         * gdb.base/until.exp: Ditto.
15421
15422         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15423         hardcoded line numbers.
15424         * gdb.base/define.exp: Ditto.
15425         * gdb.base/ena-dis-br.exp: Ditto.
15426         * gdb.base/maint.exp: Ditto.
15427         * gdb.base/until.exp: Ditto.
15428
15429         * gdb.base/completion.exp: Use "break1" for completion tests since
15430         "break" is no longer a unique prefix.
15431
15432 2003-12-06  Andrew Cagney  <cagney@redhat.com>
15433
15434         * gdb.base/structs.exp (test_struct_returns): When applicable, set
15435         "return_value_unimplemented".  When an unimplemented struct return
15436         architecture, report incorrect values as a KFAIL
15437
15438 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15439
15440         * gdb.cp/rtti.exp: Accept new wording of warning from
15441         cp_lookup_rtti_type.
15442
15443 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15444
15445         Partial fix for PR testsuite/1456.
15446         * gdb.base/scope.exp (test_at_main): Replace references to
15447         gcc_compiled with calls to test_compiler_info.
15448         (test_at_foo): Likewise.
15449         (test_at_bar): Likewise.
15450
15451 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
15452
15453         Partial fix for PR testsuite/1456.
15454         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15455         to test_compiler_info.
15456
15457 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
15458
15459         * gdb.base/so-impl-ld.exp: Update copyright notice.
15460
15461 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
15462
15463         Partial fix for PR testsuite/1456.
15464         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15465         to test_compiler_info.
15466
15467 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15468
15469         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15470         from current versions of gdb.  Clean up regular expressions.
15471         Delete redundant timeout case.
15472
15473 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15474
15475         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15476         from current versions of gdb.  Clean up regular expressions.
15477         Delete redundant timeout case.
15478
15479 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
15480
15481         Partial fix for PR testsuite/1456.
15482         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15483         gcc_compiled with call to test_compiler_info.
15484
15485 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
15486
15487         Partial fix for PR testsuite/1456.
15488         * gdb.base/list.exp (test_list_function): Delete unused declaration
15489         of gcc_compiled.
15490
15491 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
15492
15493         Partial fix for PR testsuite/1456.
15494         * gdb.base/complex.exp: Replace reference to gcc_compiled with
15495         call to test_compiler_info.
15496
15497 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
15498
15499         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
15500         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
15501         it to create the appropriate note.inc.
15502         * gdb.asm/asmsrc1.s: Include "note.inc".
15503         * gdb.asm/netbsd.inc: New file.
15504         * gdb.asm/empty.inc: New file.
15505
15506 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15507
15508         Partial fix for PR testsuite/1456.
15509         * gdb.base/constvars.exp: Replace references to gcc_compiled with
15510         calls to test_compiler_info.
15511
15512 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
15513
15514         Partial fix for PR testsuite/1456.
15515         * gdb.base/volatile.exp: Replace references to gcc_compiled with
15516         calls to test_compiler_info.
15517
15518 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
15519
15520         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15521         pattern for the KFAILs.
15522
15523 2003-11-25  Adam Fedor  <fedor@gnu.org>
15524
15525         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15526         * gdb.objc/objcdecode.m: New file.
15527
15528 2003-11-25  Adam Fedor  <fedor@gnu.org>
15529
15530         * gdb.objc/nondebug.exp: Test for PR objc/1236.
15531         * gdb.objc/nondebug.m: New file.
15532
15533 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
15534
15535         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15536         NetBSD as it does on FreeBSD.  Modelled on a similar change by
15537         Mark Kettenis on 2003-05-30.
15538         (link-flags): Set to "--entry _start" regardless of target.
15539         Special linker flags are to be appended to $link-flags.
15540         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15541
15542 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15543
15544         * gdb.cp/method.exp: Accept output of new demangler.
15545
15546 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15547
15548         * gdb/class2.exp: New file.
15549         * gdb/class2.cc: New file.
15550
15551 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15552
15553         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15554         of new demangler.
15555
15556 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15557
15558         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15559         of gdb_test "run".
15560
15561 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15562
15563         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
15564         "continue" into "run".
15565
15566 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15567
15568         Partial fix for PR testsuite/1456.
15569         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15570         call to test_compiler_info.
15571         * gdb.cp/ctti.exp: Likewise.
15572         * gdb.cp/derivation.exp: Likewise.
15573         * gdb.cp/member-ptr.exp: Likewise.
15574         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15575         reference to gcc_compiled.
15576
15577 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15578
15579         Fix PR testsuite/1463.
15580         * gdb.base/structs.exp (start_structs_test): Call
15581         get_debug_format before using the debug format.
15582
15583 2003-11-22  Andrew Cagney  <cagney@redhat.com>
15584
15585         * lib/gdb.exp (gdb_test_multiple): Add simple example.
15586         * gdb.base/structs.exp: Use gdb_test_multiple.
15587
15588 2003-11-20  Andrew Cagney  <cagney@redhat.com>
15589
15590         * gdb.base/structs.exp: Handle and recover from internal errors.
15591         Replace "foo${n}" with "foo<n>" in test messages.
15592
15593         * gdb.base/structs.exp: Update copyright.  Rewrite.
15594         * gdb.base/structs.c: Update copyright.  Rewrite.
15595
15596         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15597         resync count exceeded.
15598
15599         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15600         from the internal error.
15601         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15602         Original from Jim Blandy.
15603         (gdb_test_multiple): Use gdb_internal_error_resync.
15604
15605 2003-11-19  Andrew Cagney  <cagney@redhat.com>
15606
15607         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15608         KFAIL.
15609
15610 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
15611
15612         New testcase for PR backtrace/1435.
15613         * gdb.arch/i386-unwind.exp: New file.
15614         * gdb.arch/i386-unwind.c: New file.
15615
15616 2003-11-17  Andrew Cagney  <cagney@redhat.com>
15617
15618         * lib/gdb.exp (compiler_info): New global.
15619         (test_compiler_info): New function.
15620         (get_compiler_info): Set compiler_info.
15621         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
15622         "compiler_info" to gcc-<major>-<minor>.
15623
15624 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
15625
15626         * gdb.trace/configure: Remove.
15627
15628 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
15629
15630         * gdb.base/break.c: Add comments to aid finding line numbers for
15631         breakpoints.
15632         * gdb.base/break.exp: Remove all references to explicit line
15633         numbers.
15634
15635 2003-11-11  Nick Clifton  <nickc@redhat.com>
15636
15637         * gdb.base/shreloc.exp: Do not run for targets which do not
15638         support shared objects.
15639
15640 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
15641
15642         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15643         Don't run tests if nofileio flag is given.
15644
15645 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
15646
15647         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15648         as well as 'Watchpoint'.
15649
15650 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15651
15652         Reported by Jim Ingham <jingham@apple.com>:
15653         * gdb.base/annota1.exp: Match at least one occurrence of the
15654         signal handler annotation.
15655
15656 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15657
15658         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15659         as well as 'Watchpoint'.
15660
15661 2003-11-05  Michael Chastain  <mec@shout.net>
15662
15663         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15664
15665 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
15666
15667         * gdb.arch/gdb1291.c: New test file.
15668         * gdb.arch/gdb1291.exp: New test script.
15669         * gdb.arch/gdb1431.c: New test file.
15670         * gdb.arch/gdb1431.exp: New test script.
15671
15672 2003-10-22  Michael Chastain  <mec@shout.net>
15673
15674         * gdb.mi/pthreads.c: Add copyright notice.
15675
15676 2003-10-22  Michael Chastain  <mec@shout.net>
15677
15678         * gdb.threads/pthreads.c: Add copyright notice.
15679
15680 2003-10-20  Michael Chastain  <mec@shout.net>
15681
15682         * gdb.base/gdb1056.exp: New test script.
15683
15684 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15685
15686         * gdb.threads/killed.exp: Use gdb_run_cmd.
15687
15688 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15689
15690         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15691         create a core file.
15692         * gdb.threads/gcore-thread.exp: Likewise.
15693
15694 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
15695
15696         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15697         type, based on char type.
15698         (struct bit_flags_short_t): New bitfield type, based on short type.
15699         (init_bit_flags_char): New fuction.
15700         (init_bit_flags_short): Ditto.
15701         (print_bit_flags_char): Ditto.
15702         (print_bit_flags_short): Ditto.
15703         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15704
15705 2003-10-11  Michael Chastain  <mec@shout.net>
15706
15707         * gdb.base/call-rt-st.exp: Update copyright year.
15708
15709 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
15710
15711         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15712         * gdb.disasm/sh3.s: Ditto.
15713
15714 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
15715
15716         * gdb.threads/switch-threads.exp: New test.
15717         * gdb.threads/switch-threads.c: New source file.
15718
15719 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
15720
15721         * gdb.base/ending-run.exp: Add sh specific case.
15722
15723 2003-10-06  Andrew Cagney  <cagney@redhat.com>
15724
15725         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15726         * gdb.disasm/mn10200.exp: Delete obsolete file.
15727
15728 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
15729
15730         * ChangeLog: Correct an entry command.exp -> commands.exp.
15731         * gdb.base/commands.exp (bp_deleted_in_command_test)
15732         (temporary_breakpoint_commands): Check noargs.
15733
15734 2003-09-25  David Carlton  <carlton@kealia.com>
15735
15736         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
15737         of some print tests, where appropriate.  Add tests for C::D::cd,
15738         E::ce, F::cXfX, G::XgX.
15739         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15740
15741 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
15742
15743         * lib/java.exp (java_init): Import target_alias before using it.
15744
15745 2003-09-25  David Carlton  <carlton@kealia.com>
15746
15747         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15748
15749 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
15750
15751         * gdb.base/selftest.exp: Accomodate more instruction reordering
15752         weirdness.
15753
15754 2003-09-17  Michael Chastain  <mec@shout.net>
15755
15756         * gdb.cp/gdb1355.exp: New file.
15757         * gdb.cp/gdb1355.c: New file.
15758
15759 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
15760
15761         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15762         * gdb.asm/sh.inc: New file.
15763
15764 2003-09-11  David Carlton  <carlton@kealia.com>
15765
15766         * gdb.cp/namespace.exp: Add tests for namespace types.
15767         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15768         (test_namespace): New.
15769
15770 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
15771
15772         * gdb.base/relocate.exp: Handle new gdb output at startup.
15773         * gdb.stabs/weird.exp: Ditto.
15774
15775 2003-09-08  Michael Chastain  <mec@shout.net>
15776
15777         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15778
15779 2003-09-07  Michael Chastain  <mec@shout.net>
15780
15781         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15782         'parse error'.
15783
15784 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
15785
15786         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15787
15788 2003-08-30  Michael Chastain  <mec@shout.net>
15789
15790         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15791         * gdb.gdb/observer.exp: Ditto.
15792         * gdb.gdb/xfullpath.exp: Ditto.
15793
15794 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
15795
15796         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15797         *-*-*bsd*.
15798
15799 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
15800
15801         * gdb.base/dump.exp: Skip for ia64.
15802
15803 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
15804
15805         * gdb.asm/asm-source.exp: Add ia64 support.
15806         * gdb.asm/ia64.inc: New file.
15807
15808 2003-08-22  Michael Chastain  <mec@shout.net>
15809
15810         * gdb.cp: New directory.
15811         * gdb.cp/*: Copy from gdb.c++/*.
15812         * gdb.c++/*: Remove.
15813         * Makefile.in: Change gdb.c++ to gdb.cp.
15814         * configure.in:  Ditto.
15815         * configure: Regnerate.
15816
15817 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
15818
15819         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15820         * gdb.arch/i386-prologue.c (gdb1338): Add function.
15821
15822 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15823
15824         * mi-var-display.exp (-var-list-children weird): Accept function
15825         pointers with argument types.
15826         * mi1-var-display.exp (-var-list-children weird): Likewise.
15827         * mi2-var-display.exp (-var-list-children weird): Likewise.
15828
15829 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15830
15831         * gdb.base/annota3.exp: Add missing newline.
15832
15833 2003-08-06  Michael Chastain  <mec@shout.net>
15834
15835         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15836
15837 2003-08-12  Michael Snyder  <msnyder@redhat.com>
15838
15839         * gdb.base/float.exp: Add test for SH.
15840
15841 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
15842
15843         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15844
15845 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15846
15847        * gdb.base/completion.exp: Remove reduntant completion test
15848        on filename.
15849
15850 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15851
15852         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15853         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15854         gdb.trace/save-trace.exp: Make sure that full pathnames are
15855         escaped correctly.
15856
15857 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15858
15859         * configure.in: Don't generate config.h from config.hin.
15860         * configure: Regenerate.
15861         * config.hin: Remove file.
15862         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15863         * gdb.threads/pthreads.c: Ditto.
15864
15865 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
15866
15867         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15868         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15869         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15870         Replace ld24 with seth/add3.
15871
15872 2003-08-02  Andrew Cagney  <cagney@redhat.com>
15873
15874         * gdb.base/annota3.exp: New file.
15875         * gdb.base/annota3.c: New file.
15876         * gdb.c++/annota3.exp: New file.
15877         * gdb.c++/annota3.cc: New file.
15878
15879 2003-07-29  Michael Chastain  <mec@shout.net>
15880
15881         * gdb.threads/tls.c (spin): Check errno only if sem_wait
15882         actually failed.
15883         (do_pass): Likewise.
15884         * gdb.threads/tls.exp: Always initialize no_of_threads.
15885
15886 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
15887
15888         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15889         pattern.
15890         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15891         * gdb.threads/tls.exp: Recognize one case of the host library not
15892         supporting TLS.
15893
15894 2003-07-27  Andrew Cagney  <cagney@redhat.com>
15895
15896         * gdb.base/fileio.exp: Use SH when running commands using
15897         remote_exec.
15898
15899 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
15900
15901         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15902         * gdb.base/relocate.c (dummy): New padding array.
15903
15904 2003-07-22  Michael Snyder  <msnyder@redhat.com>
15905
15906         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15907
15908         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15909         patterns to be more general, accepting old and new output.
15910         Some output chars (such as '+') also must be quoted.
15911         Some addresses are displayed numerically instead of
15912         symbolically.
15913
15914 2003-07-23  Michael Snyder  <msnyder@redhat.com>
15915
15916         * gdb.base/return2.exp: Don't test long-long return.
15917
15918         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15919         * gdb.disasm/t01_mov.exp: Ditto.
15920         * gdb.disasm/t02_mova.s: Ditto.
15921         * gdb.disasm/t02_mova.exp: Ditto.
15922         * gdb.disasm/t03_add.s: Ditto.
15923         * gdb.disasm/t03_add.exp: Ditto.
15924         * gdb.disasm/t04_sub.s: Ditto.
15925         * gdb.disasm/t04_sub.exp: Ditto.
15926         * gdb.disasm/t05_cmp.s: Ditto.
15927         * gdb.disasm/t05_cmp.exp: Ditto.
15928         * gdb.disasm/t06_ari2.s: Ditto.
15929         * gdb.disasm/t06_ari2.exp: Ditto.
15930         * gdb.disasm/t07_ari3.s: Ditto.
15931         * gdb.disasm/t07_ari3.exp: Ditto.
15932         * gdb.disasm/t08_or.s: Ditto.
15933         * gdb.disasm/t08_or.exp: Ditto.
15934         * gdb.disasm/t09_xor.s: Ditto.
15935         * gdb.disasm/t09_xor.exp: Ditto.
15936         * gdb.disasm/t10_and.s: Ditto.
15937         * gdb.disasm/t10_and.exp: Ditto.
15938         * gdb.disasm/t11_logs.s: Ditto.
15939         * gdb.disasm/t11_logs.exp: Ditto.
15940         * gdb.disasm/t12_bit.s: Ditto.
15941         * gdb.disasm/t12_bit.exp: Ditto.
15942         * gdb.disasm/t13_otr.s: Ditto.
15943         * gdb.disasm/t13_otr.exp: Ditto.
15944
15945 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15946
15947         * gdb.threads/tls.exp :Add kfail for 'info address' case.
15948
15949 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15950
15951         * gdb.threads/tls.c : New file.
15952         * gdb.threads/tls.exp : New file.
15953         * gdb.threads/tls-main.c : New file.
15954         * gdb.threads/tls-shared.c : New file.
15955         * gdb.threads/tls-shared.exp : New file.
15956
15957 2003-07-22  Andreas Schwab  <schwab@suse.de>
15958
15959         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15960
15961 2003-07-20  Andreas Schwab  <schwab@suse.de>
15962
15963         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15964         due to insn reordering.
15965
15966 2003-07-15  Andrew Cagney  <cagney@redhat.com>
15967
15968         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15969
15970 2003-07-15  Michael Chastain  <mec@shout.net>
15971
15972         * gdb.base/gdb1250.exp: New file.
15973         * gdb.base/gdb1250.c: New file.
15974
15975 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
15976
15977         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15978         expansion of size_t to 'unsigned long', not only to 'unsigned'.
15979
15980 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
15981
15982         * gdb.threads/tls.c: New file.
15983         * gdb.threads/tls.exp: New file.
15984         * gdb.threads/tls-main.c: New file.
15985         * gdb.threads/tls-shared.c: New file.
15986         * gdb.threads/tls-shared.exp: New file.
15987
15988 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
15989
15990         * gdb.base/annota1.exp: Make sure that we properly escape the
15991         full path of the source file. Xfail more permissive patterns,
15992         due to a compiler debug info problem.
15993
15994 2003-07-07  Andreas Schwab  <schwab@suse.de>
15995
15996         * gdb.asm/m68k.inc: New file.
15997         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15998
15999         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16000         arguments"): Also match negative number.
16001
16002         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16003
16004 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
16005
16006         * gdb.base/store.c (charest): New typedef.
16007         (add_char): Rename to add_charest, update.
16008         (wack_char): Rename to wack_charest, update types.  Return l + r
16009         to keep r live across the call.
16010         (wack_short, wack_int, wack_long, wack_longest, wack_float)
16011         (wack_double, wack_doublest): Return l + r to keep r live across
16012         the call.
16013         * gdb.base/store.exp: Accomodate store.c changes.
16014
16015 2003-06-30  David Carlton  <carlton@kealia.com>
16016
16017         * gdb.c++/maint.exp (test_invalid_name): New.
16018         (test_first_component): Add tests for invalid names.
16019
16020 2003-06-29  Michael Chastain  <mec@shout.net>
16021
16022         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16023         output of '<VTT for class>' for virtual base classes.
16024
16025 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16026
16027         * gdb.base/completion.exp: Tab-complete "complet" instead of
16028         "compl".
16029         * gdb.base/complex.exp, gdb.base/complex.c: New files.
16030
16031 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16032
16033         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16034         * gdb.base/volatile.exp: Likewise.
16035
16036 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16037
16038         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16039         gdb/1265.
16040
16041 2003-06-28  Michael Chastain  <mec@shout.net>
16042             Daniel Jacobowitz  <drow@mvista.com>
16043
16044         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16045         initial line count of 'captured_main' from 26 to 32.
16046         (test_with_self): Allow xmalloc call to be interleaved with the
16047         preceding two lines.
16048
16049 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
16050
16051         * gdb.base/bang.exp: New testcase.
16052
16053 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
16054
16055         * gdb.base/langs.exp: Add some tests for the "minimal" language
16056         support.
16057
16058 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
16059
16060         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16061         the testcase.
16062
16063 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
16064
16065         * gdb.base/relocate.exp: Test add-symbol-file with a variable
16066         offset.
16067
16068 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
16069
16070         * gdb.c++/pr-1210.cc: New file.
16071         * gdb.c++/pr-1210.exp: New file.
16072
16073 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
16074
16075         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16076         000-exec-continue.
16077
16078 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
16079
16080         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16081         on *-*-*bsd* instead of *-*-freebsd*.
16082
16083 2003-06-14  Andrew Cagney  <cagney@redhat.com>
16084
16085         * gdb.base/store.exp: Test longest and doublest.  Test all
16086         parameters.  Weaken return statement match.
16087         * gdb.base/store.c: Add longest and doublest - aka long long and
16088         long double functions.  Put all parameters into local register
16089         variables.  Use negative values.
16090
16091 2003-06-14  Andrew Cagney  <cagney@redhat.com>
16092
16093         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
16094         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
16095         exit status.
16096         * gdb.base/fileio.exp: Disable target when nointerrupts and
16097         noinferiorio, instead of limiting it to remote.  Use remote_exec
16098         instead of system.
16099
16100 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
16101
16102         * gdb.base/float.exp: Add ia64 support.
16103
16104 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
16105
16106         * gdb.base/fileio.exp: Run only on remote targets.
16107
16108 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
16109
16110         * gdb.base/fileio.c: New file, testing File-I/O.
16111         * gdb.base/fileio.exp: Ditto.
16112
16113 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
16114
16115         * gdb.base/shreloc.exp: New file, check symbol values obtained from
16116         shared objects after relocation at load time (gdb PR/1132).
16117         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
16118         as above, part of the shared object relocation test.
16119
16120 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
16121
16122         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16123         fully filled history list.
16124         * gdb.base/gdb_history: New file.
16125
16126         * gdb.base/signals.exp: XFAIL "continue to func1" on
16127         i*86-*-freebsd*.
16128
16129         * gdb.base/attach.exp: When trying to attach to a nonexistent
16130         process, make it possible to specify the PID based on the target,
16131         and do so for *-*-freebsd*.
16132
16133 2003-06-02  Richard Henderson  <rth@redhat.com>
16134
16135         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16136
16137 2003-06-02  Richard Henderson  <rth@redhat.com>
16138
16139         * gdb.base/selftest.exp: Next over lim_at_start initialization.
16140
16141 2003-06-02  Richard Henderson  <rth@redhat.com>
16142
16143         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16144
16145 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
16146
16147         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16148         of globalvar.
16149
16150 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
16151
16152         * gdb.asm/asm-source.exp: Check for memory read errors in
16153         disassembler test on *BSD too.
16154
16155 2003-06-01  Richard Henderson  <rth@redhat.com>
16156
16157         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16158         for .frame.
16159         (gdbasm_call): Lose ldgp.
16160         (gdbasm_startup): Add frame information.
16161         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16162
16163 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
16164
16165         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16166         i?86-*-*.
16167
16168 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
16169
16170         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16171         FreeBSD.
16172
16173 2003-05-29  Richard Henderson  <rth@redhat.com>
16174
16175         * gdb.asm/alpha.inc: New file.
16176         * gdb.asm/asm-source.exp: Use it.
16177
16178 2003-05-29  Jim Blandy  <jimb@redhat.com>
16179
16180         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16181         'core.PID'.
16182
16183 2003-05-22  Jim Blandy  <jimb@redhat.com>
16184
16185         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16186         backtrace.
16187
16188 2003-05-20  David Carlton  <carlton@math.stanford.edu>
16189
16190         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16191         this time.
16192
16193 2003-05-19  David Carlton  <carlton@bactrian.org>
16194
16195         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16196         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16197
16198 2003-05-19  David Carlton  <carlton@bactrian.org>
16199
16200         * gdb.c++/namespace.exp: Add namespace scope and anonymous
16201         namespace tests.
16202         Bump copyright date.
16203         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16204         (main): Call C::D::marker2.
16205         * gdb.c++/namespace1.cc: New file.
16206
16207 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
16208
16209         Roland McGrath  <roland@redhat.com>
16210         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16211         there is no manager thread.
16212
16213 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
16214
16215         * gdb.threads/schedlock.exp: Remove assumption that all threads
16216         will run in a particular small time slice.  Also ensure we break
16217         in one of the child threads rather than the main thread.
16218
16219 2003-05-07  Jim Blandy  <jimb@redhat.com>
16220
16221         Add support for assembly source testing on the s390x.
16222         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16223         architecture.
16224         * gdb.asm/s390x.inc: New file.
16225
16226         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16227         succession of 'if' statements.
16228
16229 2003-05-05  Andrew Cagney  <cagney@redhat.com>
16230
16231         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16232
16233 2003-05-05  Andrew Cagney  <cagney@redhat.com>
16234
16235         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16236         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16237
16238 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
16239
16240         * gdb.base/charset.exp: Update based on new behavior of set/show
16241         charset commands.
16242
16243 2003-05-01  Andrew Cagney  <cagney@redhat.com>
16244
16245         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16246         variable do not give memory errors.
16247
16248 2003-04-30  Adam Fedor  <fedor@gnu.org>
16249
16250         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16251         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16252         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16253         gdb.objc/basicclass.m: : New files
16254
16255         * lib/gdb.exp (gdb_compile_objc): New procedure.
16256
16257 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
16258
16259         * gdb.base/signals.exp: Make backtrace tests more specific.
16260
16261 2003-04-23  David Carlton  <carlton@bactrian.org>
16262
16263         * gdb.c++/maint.exp (test_first_component): Add tests for
16264         'operator' in more locations.
16265
16266 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
16267
16268         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16269
16270 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
16271
16272         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16273         func marke' instead. Update test name.
16274
16275 2003-04-15  David Carlton  <carlton@math.stanford.edu>
16276
16277         * gdb.c++/maint.exp: New file.
16278
16279 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
16280
16281         * gdb.threads/schedlock.c: Change type of thread function argument
16282         to long, to avoid warnings on 64-bit platforms.
16283
16284 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
16285
16286         * gdb.base/attach.exp: Add new message from ptrace in case of
16287         attaching to nonexistent process.
16288
16289 2003-04-11  Jim Blandy  <jimb@redhat.com>
16290
16291         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16292         gdb.c++/userdef.cc: Place comments on the lines to which the
16293         marker function might return.
16294         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16295         gdb.c++/userdef.exp: Look for those comments to check that we've
16296         returned to the right place, instead of checking line numbers.
16297
16298 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
16299
16300         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16301         match on sourcefile name, instead of directory name.
16302
16303 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
16304
16305         * gdb.base/completion.exp: Use string_to_regexp to match the
16306         working directory name.
16307
16308 2003-04-09  Jim Blandy  <jimb@redhat.com>
16309
16310         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16311         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16312         after an inferior function call, report the failure, but allow the
16313         test to continue.
16314
16315 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
16316
16317         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16318         with -DPROTOTYPES.
16319
16320 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
16321
16322         * gdb.base/break.exp: Revert last patch.
16323
16324 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
16325
16326         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16327         with -DPROTOTYPES.
16328
16329 2003-04-02  Andrew Cagney  <cagney@redhat.com>
16330
16331         * gdb.base/callfuncs.exp: Make "print add" messages unique.
16332         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16333         matching directories by the name breakpoint.
16334         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16335         Make "continue to marker1" consistent.
16336         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16337         message consistent.
16338         * lib/gdb.exp: Put "the program is no longer running", and "the
16339         program exited" in parenthesis.
16340         * lib/mi-support.exp: Ditto.
16341
16342 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
16343
16344         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16345
16346 2003-03-29  Andrew Cagney  <cagney@redhat.com>
16347
16348         * gdb.base/sizeof.c (main): Print the value of '\377'.
16349         * gdb.base/sizeof.exp: Check the sign of '\377'.
16350
16351 2003-03-27  Michael Chastain  <mec@shout.net>
16352
16353         * gdb.base/gdb1090.exp: New file.
16354         * gdb.base/gdb1090.cc: New file.
16355
16356 2003-03-27  J. Brobecker  <brobecker@gnat.com>
16357
16358         * gdb.gdb/observer.exp: New regression test.
16359
16360 2003-03-27  Michael Chastain  <mec@shout.net>
16361
16362         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16363         * gdb.base/ptype.exp: Likewise.
16364
16365 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
16366
16367         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16368
16369 2003-03-26  Michael Chastain  <mec@shout.net>
16370
16371         * gdb.base/ptype.exp: Actually use some typedef'd types.
16372
16373 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
16374
16375         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16376         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16377
16378 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16379
16380         * gdb.base/default.exp: Fix regular expression.
16381
16382 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16383
16384         * gdb.base/args.exp: Fix regular expression.
16385
16386 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16387
16388         * gdb.base/help.exp: Allow Win32 child process.
16389
16390 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16391
16392         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16393         when stepping out of main().
16394
16395 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16396
16397         * gdb.base/default.exp: Check for win32 specific message when calling
16398         "run" without executable.
16399
16400 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16401
16402         * gdb.base/args.exp: Expect .exe in output.
16403
16404 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16405
16406         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16407         Cygwin native.
16408
16409 2003-03-17  Andrew Cagney  <cagney@redhat.com>
16410
16411         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
16412         vector registes.
16413         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16414         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16415
16416 2003-03-17  David Carlton  <carlton@math.stanford.edu>
16417
16418         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16419         test, for PR breakpoints/38.
16420         Call test_watchpoint_and_breakpoint.
16421         * gdb.base/watchpoint.c (func3): New function.
16422         (main): Call func3.
16423
16424 2003-03-04  David Carlton  <carlton@math.stanford.edu>
16425
16426         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16427         Garply<Garply<char> >:: garply".
16428         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16429         with respect to PR c++/1111; note also PR c++/1113.
16430         (test_template_breakpoints): KFAIL "constructor breakpoint" with
16431         respect to PR c++/1062.
16432         KFAIL "destructor breakpoint" with respect to PR c++/1112.
16433
16434 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16435
16436         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16437         with respect to PR c++/57.
16438         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16439         c++/826.
16440         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16441         respect to PR c++/57.
16442
16443 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16444
16445         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16446         respect to PR c++/33 into FAILs.
16447
16448 2003-03-03  Michael Chastain  <mec@shout.net>
16449
16450         * configure.in: Update copyright years.
16451
16452 2003-03-03  Michael Chastain  <mec@shout.net>
16453
16454         * Makefile.in: Update copyright years.
16455
16456 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16457
16458         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16459         print class instead of struct and/or superfluous protection
16460         specifiers, as long as the resulting output is equivalent to the
16461         source code.
16462         Delete FIXME from end of messages on tests that don't need
16463         fixing.
16464
16465 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16466
16467         * gdb.c++/templates.exp (do_tests): Allow const in the two
16468         Foo<volatile char *>::foo tests.
16469
16470 2003-02-27  Michael Snyder  <msnyder@redhat.com>
16471
16472         * gdb.base/restore.c (main): Return zero, so exit code
16473         will be consistant.
16474
16475 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16476
16477         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16478         char *>::foo" test with respect to PR c++/33.  Create a new test
16479         which is identical to that one except that it doesn't put the
16480         space between the "char" and the "*"; KFAIL it, too.
16481
16482 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16483
16484         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16485         template types into either PASSes or KFAILs (corresponding to PR
16486         c++/57).  Tweak indentation.  Update copyright.
16487
16488 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
16489
16490         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16491
16492 2003-02-13  Michael Chastain  <mec@shout.net>
16493
16494         * gdb.base/exprs.exp: Remove i960 remnants.
16495         * gdb.base/funcargs.exp: Likewise.
16496         * gdb.base/list.exp: Likewise.
16497         * gdb.base/ptype.exp: Likewise.
16498
16499 2003-02-14  David Carlton  <carlton@math.stanford.edu>
16500
16501         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16502         pEe->D::vg()" from XFAIL to KFAIL.
16503
16504 2003-02-13  Jason Molenda  (jmolenda@apple.com)
16505
16506         * gdb.base/maint.exp: Update maint print statistics regexp to include
16507         new entries.
16508
16509 2003-02-13  Michael Chastain  <mec@shout.net>
16510
16511         * gdb.c++/inherit.exp: Remove call to get_debug_format.
16512
16513 2003-02-12  Michael Chastain  <mec@shout.net>
16514
16515         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16516         * gdb.c++/inherit.exp: Likewise.
16517         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16518         * gdb.c++/templates.exp: Likewise.
16519         * gdb.c++/virtfunc.exp: Likewise.
16520
16521 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
16522
16523         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16524         why the code is written that way.
16525
16526 2003-02-05  Michael Chastain  <mec@shout.net>
16527
16528         * gdb.base/dump.exp: Add missing copyright line.
16529
16530 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
16531
16532         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16533         at the beginning so the breakpoint doesn't get set on the loop.
16534
16535 2003-02-05  Michael Chastain  <mec@shout.net>
16536
16537         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16538         output for configurations with gcc 2.95.3.
16539
16540 2003-02-05  Keith Seitz  <keiths@redhat.com>
16541             Andrew Cagney  <ac131313@redhat.com>
16542
16543         * gdb.mi/mi-cli.exp: New file.
16544
16545 2003-02-04  Michael Chastain  <mec@shout.net>
16546
16547         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16548         Call perror and then continue.
16549
16550 2003-02-03  Michael Chastain  <mec@shout.net>
16551
16552         * gdb.c++/pr-1023.cc: New file.
16553         * gdb.c++/pr-1023.exp: New file.
16554
16555 2003-02-05  Jim Blandy  <jimb@redhat.com>
16556
16557         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16558         it's local to foobar.  Check for it there, and check that it's not
16559         present in main.
16560         * gdb.c++/local.cc (marker2): New function.
16561         (foobar): Call marker1.
16562         (main): Call marker2 instead of marker1.
16563
16564 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
16565
16566         * gdb.disasm/mn10200.exp: Obsolete file.
16567         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16568         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16569         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16570
16571 2003-02-04  David Carlton  <carlton@math.stanford.edu>
16572
16573         * gdb.c++/overload.exp: Test intToChar(1).
16574         * gdb.c++/overload.cc (intToChar): New.
16575         (main): Call intToChar.
16576
16577 2003-02-03  David Carlton  <carlton@math.stanford.edu>
16578
16579         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16580         'might_kfail' arg.
16581         KFAIL some of the continue_to_bp_overloaded calls, according to
16582         PR c++/1025.
16583
16584 2003-02-01  Michael Chastain  <mec@shout.net>
16585
16586         * gdb.base/advance.c (marker1): New marker function.
16587         * gdb.base/advance.exp: When the 'advance' command lands on the
16588         return breakpoint, it can legitimately stop on either the
16589         current line or the next line.  Accommodate both outcomes.
16590         * gdb.base/until.exp: Likewise.
16591
16592 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
16593
16594         2002-11-10 Jason Molenda (jason-cl@molenda.com):
16595         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16596         now a list, not a tuple.
16597         * gdb.mi/mi-var-display.exp: Ditto.
16598         * gdb.mi/gdb792.exp: Ditto.
16599
16600 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
16601
16602         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16603         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16604         stack backtraces.
16605         * gdb.mi/mi-syn-frame.c: Part of same.
16606
16607 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
16608
16609         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16610         gdb.mi/mi1-pthreads.exp: Return instead of calling
16611         gdb_suppress_entire_file.
16612
16613 2003-02-01  Mark Salter  <msalter@redhat.com>
16614
16615         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16616
16617 2003-01-31  Mark Salter  <msalter@redhat.com>
16618
16619         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16620         Support empty arg.
16621
16622 2003-01-30  Michael Chastain  <mec@shout.net>
16623
16624         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16625         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
16626         has been fixed in gdb/readline on 2003-01-09.
16627
16628 2003-01-29  Michael Snyder  <msnyder@redhat.com>
16629
16630         * gdb.base/maint.exp: Allow for leading underscore in symbol.
16631         * gdb.base/display.exp: Allow for leading underscore in symbol.
16632         * gdb.base/args.exp: Skip if target does not support args passing.
16633
16634 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
16635
16636         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16637         gdb_test.  Accept a list of expect arguments as the third
16638         parameter.
16639         (gdb_test): Use it.
16640
16641 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
16642
16643         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16644         allow for different test tree configurations.  Update some
16645         tescases accordingly.
16646         * gdb.arch/altivec-regs.exp: Ditto.
16647         * gdb.asm/asm-source.exp: Ditto.
16648         * gdb.base/advance.exp: Ditto.
16649         * gdb.base/display.exp: Ditto.
16650         * gdb.base/long_long.exp: Ditto.
16651         * gdb.base/mips_pro.exp: Ditto.
16652         * gdb.base/overlays.exp: Ditto.
16653         * gdb.base/relocate.exp: Ditto.
16654         * gdb.base/setshow.exp: Ditto.
16655         * gdb.base/step-line.exp: Ditto.
16656         * gdb.base/step-test.exp: Ditto.
16657         * gdb.base/until.exp: Ditto.
16658         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16659
16660 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16661
16662         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16663         corresponding to PR c++/945.
16664         Update copyright.
16665
16666 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16667
16668         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16669         corresponding to PR c++/68.
16670
16671 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16672
16673         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16674         (test_paddr_hairy_functions): Call print_addr_2_kfail for
16675         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
16676
16677 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16678
16679         * gdb.base/break.exp: Fix change of default location, because of
16680         removal of until tests.
16681         * gdb.base/help.exp: Update test for new 'until' help message.
16682         Add test for help on 'advance'.
16683         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16684
16685 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
16686
16687         * gdb.base/default.exp: Adapt "info float" test for recent changes
16688         to that command.  Add test for "info vector".
16689         * gdb.base/float.exp: New file.  Add test for "info float" that
16690         resembles the old test in gdb.base/default.exp.
16691
16692 2003-01-15  David Carlton  <carlton@math.stanford.edu>
16693
16694         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16695
16696 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16697
16698         * gdb.base/break.exp: Move the tests of until command from here...
16699         * gdb.base/until.exp: ... to here. New file. Add other tests.
16700         * gdb.base/advance.c: New file.
16701         * gdb.base/advance.exp: New file.
16702
16703 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
16704
16705         * gdb.base/args.c: New file.
16706         * gdb.base/args.exp: New file.
16707
16708 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16709
16710         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16711
16712 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16713
16714         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16715
16716 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16717
16718         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
16719         dates.
16720
16721 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16722
16723         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16724
16725 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16726
16727         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16728         (ptype &*"foo").
16729         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16730
16731 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16732
16733         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16734         * gdb.mi/mi1-console.exp: Likewise.
16735
16736 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16737
16738         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16739         * gdb.mi/mi1-console.exp: Likewise.
16740
16741 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16742
16743         * gdb.c++/overload.exp: Remove some fixed XFAILs.
16744
16745 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16746
16747         * gdb.base/detach.exp: New test.
16748
16749 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16750
16751         * Makefile.in (ALL_SUBDIRS): New variable.
16752         (subdirs, clean, distclean): Use it.
16753         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
16754         regenerating Makefile, since it is generated from the top level.
16755         * gdb.asm/Makefile.in: Likewise.
16756         * gdb.base/Makefile.in: Likewise.
16757         * gdb.c++/Makefile.in: Likewise.
16758         * gdb.disasm/Makefile.in: Likewise.
16759         * gdb.java/Makefile.in: Likewise.
16760         * gdb.mi/Makefile.in: Likewise.
16761         * gdb.threads/Makefile.in: Likewise.
16762         * gdb.trace/Makefile.in: Likewise.
16763
16764 2003-01-09  David Carlton  <carlton@math.stanford.edu>
16765
16766         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16767         Add copyright year 2003.
16768
16769 2003-01-06  Michael Chastain  <mec@shout.net>
16770
16771         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16772         When selecting a thread, 'line' and 'file' are optional.
16773         * gdb.mi/mi1-pthreads.exp: Likewise.
16774
16775 2003-01-06  Andreas Schwab  <schwab@suse.de>
16776
16777         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16778         failures.
16779
16780 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16781
16782         Fix PR gdb/844
16783         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16784         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16785
16786         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
16787         instead of calling gdb_suppress_entire_file.
16788         * gdb.threads/print-threads.exp: Likewise.
16789         * gdb.threads/schedlock.exp: Likewise.
16790
16791         * gdb.threads/killed.exp: Return instead of calling
16792         gdb_suppress_entire_file.
16793         * gdb.threads/linux-dp.exp: Likewise.
16794         * gdb.threads/pthreads.exp: Likewise.
16795
16796 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16797
16798         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16799         stabs.
16800         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16801         * gdb.base/whatis.exp: Always allow (void) after function names.
16802
16803 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16804
16805         * gdb.c++/casts.exp: Correct regexp.
16806
16807 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
16808
16809         * configure.in: Call AC_CONFIG_HEADER.  Don't call
16810         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16811         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
16812         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
16813         aforementioned directories in the AC_OUPUT call.
16814         * config.hin: New file.
16815         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16816         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16817         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16818         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16819         pass -I$objdir instead of -I$objdir/$subdir in compilation.
16820         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16821         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16822         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16823         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16824         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16825         gdb.threads/configure.in, gdb.threads/configure,
16826         gdb.threads/config.in, gdb.trace/configure.in,
16827         gdb.trace/configure: Removed.
16828
16829 2003-01-03  Michael Chastain  <mec@shout.net>
16830
16831         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16832         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16833
16834 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
16835
16836         * gdb.base/store.exp: Fix regular expressions.
16837
16838 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
16839
16840         * configure.in: Rewrite.
16841         * configure: Regenerated.
16842
16843 2003-01-03  David Carlton  <carlton@math.stanford.edu>
16844
16845         * gdb.base/psymtab.exp: New file.
16846         * gdb.base/psymtab1.c: Ditto.
16847         * gdb.base/psymtab2.c: Ditto.
16848
16849 2002-12-23  Adam Fedor  <fedor@gnu.org>
16850
16851         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16852
16853 2002-12-23  David Carlton  <carlton@math.stanford.edu>
16854
16855         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16856         and current_directory initialization.
16857
16858 2002-12-22  Jim Blandy  <jimb@redhat.com>
16859
16860         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16861         rather than as part of the output file name.
16862
16863         * gdb.base/attach.exp: There's no need to copy the test program to
16864         /tmp; that was only ever necessary on HP/UX, and this test is
16865         entirely disabled there anyway.
16866
16867 2002-12-21  Jim Blandy  <jimb@redhat.com>
16868
16869         * gdb.c++/psmang.exp: Doc fix.
16870
16871         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16872         test.
16873
16874 2002-12-20  David Carlton  <carlton@math.stanford.edu>
16875
16876         * gdb.c++/annota2.exp: KFAIL annotate-quit.
16877
16878 2002-12-18  Michael Chastain  <mec@shout.net>
16879
16880         * gdb.c++/annota2.exp: Add copyright year 2002.
16881
16882 2002-12-17  David Carlton  <carlton@math.stanford.edu>
16883
16884         * gdb.c++/try_catch.cc: Add marker comments.
16885         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16886         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16887         * gdb.c++/m-static.cc: Ditto.
16888         * gdb.c++/m-static1.cc: Ditto.
16889         * gdb.c++/try_catch.cc: Ditto.
16890
16891 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
16892
16893         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16894         to see whether we are using the new -environment-directory
16895         command which resets via -r or the old version of the command
16896         which may prompt the user.  Part of fix for gdb/741.
16897
16898 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
16899
16900         * gdb.fortran/types.exp: Update obsolete comment.
16901         * gdb.fortran/exprs.exp: Ditto.
16902         * lib/gdb.exp: Delete obsolete code.
16903         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16904         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16905         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16906         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16907         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16908         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16909         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16910         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16911         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16912         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16913         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16914         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16915         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16916         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16917         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16918         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16919         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16920         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16921         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16922         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16923         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16924         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16925         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16926         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16927         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16928         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16929         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16930         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16931         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16932         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16933         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16934         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16935         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16936         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16937         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16938         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16939         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16940
16941 2002-12-11  David Carlton  <carlton@math.stanford.edu>
16942
16943         * gdb.c++/m-data.exp: Add test for members that shadow global
16944         variables: see PR gdb/804.
16945         * gdb.c++/m-data.cc: Ditto.
16946
16947 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
16948
16949         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16950
16951 2002-12-06  David Carlton  <carlton@math.stanford.edu>
16952
16953         * gdb.base/store.c: Don't declare functions static.
16954
16955 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
16956
16957         * gdb.base/store.exp, gdb.base/store.c: New files.
16958
16959 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16960
16961         * gdb.base/selftest.exp: Update for current gdb.
16962
16963 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16964
16965         * gdb.base/maint.exp: Only dump symbols from one source file
16966         or objfile.
16967
16968 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
16969
16970         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16971         function call.
16972
16973 2002-11-25  Jim Blandy  <jimb@redhat.com>
16974
16975         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16976         function appearing in error message.
16977
16978 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
16979
16980         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16981
16982 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
16983
16984         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16985         for mi1 and current mi is in correct format.  New mi startup message
16986         should be in mi console format.  This is part of fix for PR gdb/604.
16987
16988 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
16989
16990         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16991         which explicitly prints the zero offset as "+0".
16992
16993 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
16994
16995         * gdb.threads/schedlock.c (args): Make unsigned.
16996
16997 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
16998
16999         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
17000         numbers.  Allow "foo2|selected stack frame".
17001         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17002         * gdb.asm/asmsrc2.s: Likewise.
17003         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
17004         comments.
17005         * gdb.asm/mips.inc: New file.
17006
17007 2002-10-18  Adam Fedor  <fedor@gnu.org>
17008
17009         * gdb.base/default.exp: Update expected output to include 'ObjC'.
17010         * gdb.base/help.exp: Likewise.
17011
17012 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
17013
17014         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17015         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17016
17017 2002-10-02  Jim Blandy  <jimb@redhat.com>
17018
17019         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17020
17021 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
17022
17023         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17024         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17025         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17026         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17027         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17028         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17029         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17030
17031 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
17032
17033         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17034         * mi0-disassemble.exp, mi0-eval.exp: Delete.
17035         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17036         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17037         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17038         * mi0-var-block.exp, mi0-var-child.exp: Delete.
17039         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17040
17041 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
17042
17043         * gdb.base/annota1.exp (info break): Make directory components of
17044         path optional since not all compilers emit this debug information.
17045
17046         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17047         step ends up stepping out of the function instead of stopping on
17048         the epilogue.
17049
17050 2002-09-26  Keith Seitz  <keiths@redhat.com>
17051
17052         * lib/insight-support.exp (gdbtk_start): Figure out where
17053         the insight executable is based on where gdb is. Use this
17054         executable to start insight instead of gdb.
17055
17056 2002-09-25  Andrew Cagney  <cagney@redhat.com>
17057
17058         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17059
17060 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
17061
17062         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17063         test_isolated_complaints.
17064         (test_empty_complaint): New function.
17065         (test_empty_complaints): New function.  Check no output when no
17066         complaints.
17067
17068 2002-09-19  Jim Blandy  <jimb@redhat.com>
17069
17070         * gdb.base/charset.exp, gdb.base/charset.c: New files.
17071
17072 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
17073
17074         * gdb.gdb/complaints.exp: New file.
17075
17076 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
17077
17078         * gdb.base/maint.exp: Check `help maint internal-warning'.
17079
17080 2002-09-18  David Carlton  <carlton@math.stanford.edu>
17081
17082         * gdb.c++/m-static.exp: Remove breakpoints depending on line
17083         numbers, and replace them by a single breakpoint after the
17084         constructors are all finished.
17085         Add test 4.
17086         * gdb.c++/m-static.cc: Add test 4.
17087         * gdb.c++/m-static.h: New file.
17088         * gdb.c++/m-static1.cc: New file.
17089
17090         * gdb.c++/printmethod.exp: New file.
17091         * gdb.c++/printmethod.cc: New file.
17092
17093         * gdb.c++/pr-574.exp: New file.
17094         * gdb.c++/pr-574.cc: New file.
17095
17096 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17097
17098         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17099         embedded targets which never actually exit.
17100
17101 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
17102
17103         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17104         "don't step after run" as unresolved or unsupported, instead of xfail.
17105
17106 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17107
17108         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17109         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17110         Add newline to expected string in "step out of main (status wrapper)"
17111         case.
17112
17113 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17114
17115         * lib/gdb.exp (rerun_to_main): Allow restarting application.
17116         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17117
17118 2002-09-17  Tom Tromey  <tromey@redhat.com>
17119
17120         * gdb.base/printcmds.exp (test_print_string_constants): Expect
17121         \000, not \0, in double-quoted string.
17122
17123 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
17124
17125         * gdb.base/commands.exp: Don't expect a "Program exited normally"
17126         string after running the commands execution on breakpoint tests.
17127
17128 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
17129
17130         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17131
17132 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
17133
17134         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17135
17136 2002-09-10  Keith Seitz  <keiths@redhat.com>
17137
17138         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17139         runto proc.
17140         (mi_run_to_main): Use mi_runto.
17141         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17142
17143 2002-09-10  Keith Seitz  <keiths@redhat.com>
17144
17145         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17146         regexp for stopping at main. Could have multiple event notifications.
17147         Don't assume that main was declared with no parameters.
17148         (mi_next): Use mi_step_to.
17149         (mi_step): Use mi_next_to.
17150
17151 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
17152
17153         * gdb.base/default.exp: Fix expected string in `info float' test.
17154
17155 2002-09-09  Ben Elliston  <bje@redhat.com>
17156
17157         * config/mips.exp: Update comments.
17158         * config/mips-idt.exp: Likewise.
17159         * config/nind.exp: Likewise.
17160         * config/slite.exp: Likewise.
17161         * config/sparclet.exp: Likewise.
17162         * config/udi.exp: Likewise.
17163         * config/vx.exp: Likewise.
17164         * config/vxworks29k.exp: Likewise.
17165
17166 2002-09-05  Jim Blandy  <jimb@redhat.com>
17167
17168         * gdb.threads/killed.exp: Fix test failure message.
17169
17170 2002-09-04  Keith Seitz  <keiths@redhat.com>
17171
17172         * lib/mi-support.exp: Update copyright.
17173         (mi_gdb_test): Increase the priority of the expected pattern
17174         so that it matches gdb_test.
17175
17176 2002-09-03  Keith Seitz  <keiths@redhat.com>
17177
17178         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17179         Use integer comparison instead of string comparison for testing
17180         whether binary was built.
17181
17182 2002-09-03  Jim Blandy  <jimb@redhat.com>
17183
17184         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17185
17186 2002-08-29  Jim Blandy  <jimb@redhat.com>
17187
17188         * gdb.threads/pthreads.exp: Move the portable thread compilation
17189         code into a function in lib/gdb.exp, and call that from here.
17190         * lib/gdb.exp (gdb_compile_pthreads): New function.
17191
17192 2002-08-29  Keith Seitz  <keiths@redhat.com>
17193
17194         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17195         expect_out so that callers can get at it.
17196
17197 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
17198
17199         * gdb.threads/print-threads.c: New file.
17200         * gdb.threads/print-threads.exp: New file.
17201         * gdb.threads/schedlock.c: New file.
17202         * gdb.threads/schedlock.exp: New file.
17203
17204 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
17205
17206         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17207         not altivec.c.
17208
17209 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
17210
17211         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17212         targets.  The problem should be fixed now.
17213
17214 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
17215
17216         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17217         2002-07-24 change that removes final dots from error messages.
17218
17219 2002-08-13  Tom Tromey  <tromey@redhat.com>
17220
17221         * gdb.base/readline.exp: New file.
17222
17223 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
17224
17225         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17226         supress message.
17227
17228 2002-08-01  Andrew Cagney  <cagney@redhat.com>
17229
17230         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17231         CHILL_FOR_TARGET and CHILL_LIB.
17232         * configure.in (configdirs): Remove gdb.chill.
17233         * configure: Regenerate.
17234         * lib/gdb.exp: Obsolete references to chill.
17235         * gdb.fortran/types.exp: Ditto.
17236         * gdb.fortran/exprs.exp: Ditto.
17237
17238 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
17239
17240         * gdb.base/shlib-call.exp (additional_flags): Conditionally
17241         set Irix-specific compile and link flags.
17242
17243 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
17244
17245         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17246         source files.  The ``-o'' option doesn't work with the ``-E'' option
17247         when using the Irix compiler.
17248
17249 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
17250
17251         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17252         Improve support for reusing an exec file.  Copy exec file
17253         to target, and run gdbserver on the target instead of on the host.
17254
17255 2002-07-18  Jim Blandy  <jimb@redhat.com>
17256
17257         * gdb.base/ending-run.exp: Don't expect to see the program end in
17258         some orderly fashion when we're running on a real stand-alone
17259         board.
17260
17261         * gdb.base/interrupt.exp: Correct logic for skipping tests on
17262         targets that don't support interrupts.
17263
17264 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
17265
17266         * gdb.base/attach.exp: Add patterns to match output from /proc-based
17267         systems.
17268         Move comments in expect statements to inside the actions, so that they
17269         don't get matched against.
17270
17271 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
17272
17273         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17274         function when asleep" test.
17275
17276 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
17277
17278         * gdb.base/page.exp: Rewrite to handle problems with very long
17279         `info set' output.  Update copyright.
17280
17281 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
17282
17283         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17284         gdb.threads-hp.
17285         * gdb.hp/configure: Regenerate.
17286         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17287         * gdb.hp/gdb.threads-hp/configure: Delete file.
17288         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17289
17290 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
17291
17292         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17293         setlocale, bindtextdomain and textdomain.
17294
17295 2002-06-11  Jim Blandy  <jimb@redhat.com>
17296
17297         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17298         preprocessor macro information is present.
17299
17300         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17301         tests.
17302
17303 2002-06-06  Michael Snyder  <msnyder@redhat.com>
17304
17305         * gdb.base/overlays.exp: Record addresses of overlay
17306         functions in TCL variables rather than in GDB variables,
17307         to avoid having GDB convert them to pointers (with loss
17308         of information).
17309
17310         * gdb.base/d10v.ld: Merge in several years worth of
17311         default linker script changes.
17312         * gdb.base/long_long.exp: Add check for sizeof (long double).
17313
17314 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
17315
17316         * gdb.asm/asm-source.exp: Add x86-64 target.
17317         * gdb.asm/x86_64.inc: New.
17318
17319 2002-05-30  Michael Chastain  <mec@shout.net>
17320
17321         From Benjamin Kosnik <bkoz@redhat.com>:
17322         * gdb.c++/m-static.cc: New file.
17323         * gdb.c++/m-static.exp: New file.
17324
17325 2002-05-28  Michael Snyder  <msnyder@redhat.com>
17326
17327         * gdb.base/call-ar-st.exp: Allow for reduced floating point
17328         precision.
17329
17330 2002-05-27  Michael Chastain  <mec@shout.net>
17331
17332         From Benjamin Kosnik <bkoz@redhat.com>:
17333         * gdb.c++/m-data.cc: New file.
17334         * gdb.c++/m-data.exp: New file.
17335
17336 2002-05-27  Michael Chastain  <mec@shout.net>
17337
17338         From Benjamin Kosnik <bkoz@redhat.com>:
17339         * gdb.c++/try_catch.cc: New file.
17340         * gdb.c++/try_catch.exp: New file.
17341
17342 2002-05-27  Michael Chastain  <mec@shout.net>
17343
17344         * gdb.c++/local.exp: Accept more nested types in output.
17345
17346 2002-05-26  Michael Chastain  <mec@shout.net>
17347
17348         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17349
17350 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
17351
17352         * lib/gdb.exp (gdb_wrapper_init): Just because
17353         gdb_wrapper_file exists, this does not mean that the file
17354         should not be rebuilt.  That is what gdb_wrapper_initialized
17355         is for.
17356         (default_gdb_init): Reset gdb_wrapper_initialized.
17357
17358 2002-05-23  Michael Snyder  <msnyder@redhat.com>
17359
17360         * gdb.base/all-bin.exp: Revise previous patch by just reducing
17361         the precision of the floating point test results.
17362         * gdb.base/call-rt-st.exp: Ditto.
17363
17364         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17365         * gdb.base/call-rt-st.exp: Ditto.
17366
17367 2002-05-19  Michael Chastain  <mec@shout.net>
17368
17369         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17370
17371 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
17372
17373         * configure.in (configdirs): Add gdb.arch.
17374         * configure: Regenerate.
17375
17376 2002-05-17  Jim Blandy  <jimb@redhat.com>
17377
17378         * gdb.base/completion.exp: Recognize the more detailed error
17379         messages produced by the macro expander's lexical analyzer.
17380
17381 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17382
17383         * gdb.arch/altivec-abi.c: New file.
17384         * gdb.arch/altivec-abi.exp: New file.
17385         * gdb.arch/altivec-regs.c: New file.
17386         * gdb.arch/altivec-regs.exp: New file.
17387
17388 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
17389
17390         * gdb.base/maint.exp (maint print type): Update for new type
17391         structure.
17392
17393 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17394
17395         * gdb.arch: New directory.
17396         * gdb.arch/configure.in: New file.
17397         * gdb.arch/configure: New file.
17398         * gdb.arch/Makefile.in: New file.
17399
17400 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
17401
17402         * gdb.asm/asm-source.exp: Add v850 as supported target.
17403         * gdb.asm/v850.inc: New file.
17404
17405 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
17406
17407         * gdb.c++/annota2.exp (annotate-quit): Add comment.
17408
17409 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
17410
17411         * gdb.base/break.exp: Check 'break "marker2"'.
17412
17413 2002-05-10  Michael Snyder  <msnyder@redhat.com>
17414
17415         * gdb.base/long_long.exp: Fix typo.
17416
17417 2002-05-10  Jim Blandy  <jimb@redhat.com>
17418
17419         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
17420         a bug.
17421
17422         * gdb.base/printcmds.exp (test_integer_literals_rejected):
17423         Recognize more detailed error message produced by the macro
17424         expander's lexical analyzer.
17425         * lib/gdb.exp (test_print_reject): Same.
17426
17427 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
17428
17429         * gdb.c++/method.exp: Fix typo.
17430
17431 2002-05-08  Michael Snyder  <msnyder@redhat.com>
17432
17433         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17434         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
17435         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
17436         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17437         Add iftarget clause for strongarm.
17438
17439 2002-05-06  Michael Snyder  <msnyder@redhat.com>
17440
17441         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17442         (gdb_continue_to_end): Accept output from status wrapper.
17443         * gdb.base/ending-run.exp: Add case for output from status wrapper.
17444         Clean up fail messages to match pass messages.
17445
17446         Enable the "needs_status_wrapper" testsuite feature.
17447         * lib/gdb.exp (gdb_wrapper_init): New procedure.
17448         (gdb_compile): Conditionally call gdb_wrapper_init.
17449         * gdb.base/a2-run.exp: Recognize output from status wrapper.
17450         * gdb.c++/method.exp: Recognize output from status wrapper.
17451
17452 2002-05-06  Ben Elliston  <bje@redhat.com>
17453 From Graydon Hoare  <graydon@redhat.com>
17454
17455         * config/sid.exp: Include support for "rawsid" protocol.
17456
17457 2002-05-03  Jim Blandy  <jimb@redhat.com>
17458
17459         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17460         * gdb.c++/hang3.C: New file.
17461
17462 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
17463
17464         * gdb.base/default.exp: Remove obsolete code.
17465         * gdb.c++/misc.exp: Ditto.  Update copyright.
17466         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
17467         * gdb.base/whatis.exp: Ditto.  Update copyright.
17468         * gdb.base/scope.exp: Ditto.  Update copyright.
17469         * gdb.base/ptype.exp: Ditto.  Update copyright.
17470         * gdb.base/printcmds.exp: Ditto.  Update copyright.
17471         * gdb.base/opaque.exp: Ditto.  Update copyright.
17472         * gdb.base/list.exp: Ditto.
17473         * gdb.base/funcargs.exp: Ditto.  Update copyright.
17474         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17475         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17476         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17477         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17478         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17479         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17480
17481 2002-05-02  Michael Snyder  <msnyder@redhat.com>
17482
17483         * gdb.base/watchpoint.exp: Add xscale target.
17484         * gdb.base/long_long.exp: Add xscale target.
17485         * gdb.base/default.exp: Add xscale target.
17486
17487 2002-05-01  Jim Blandy  <jimb@redhat.com>
17488
17489         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17490         gdb.c++/hang.exp: New test.
17491
17492 2002-05-01  Fred Fish  <fnf@redhat.com>
17493
17494         * gdb.base/completion.exp: Handle completions of "./Make" for
17495         more than one completion possibility, as is the case when we
17496         build and test in the source tree.
17497
17498 2002-04-29  Anthony Green  <green@redhat.com>
17499
17500         * gdb.java/jmisc1.exp: New file.
17501         * gdb.java/jmisc2.exp: New file.
17502
17503 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
17504
17505         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17506
17507 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
17508
17509         * gdb.base/help.exp: Change 'help status' to allow for target
17510         dependent output differences.
17511
17512 2002-04-22  Michael Chastain  <mec@shout.net>
17513
17514         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17515
17516 2002-04-22  Michael Chastain  <mec@shout.net>
17517
17518         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17519
17520 2002-04-17  David S. Miller  <davem@redhat.com>
17521
17522         * gdb.asm/sparc64.inc: New file.
17523         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17524
17525 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
17526
17527         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17528         instruction file directly into the build tree.  Clean up at end of
17529         test.
17530
17531 2002-04-18  David S. Miller  <davem@redhat.com>
17532
17533         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17534         handle 64-bit platforms correctly.
17535         * gdb.base/maint.exp: Likewise.
17536
17537 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17538
17539         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17540         ``-fpic'' when compiling files comprising a shared library, but
17541         it does need additional linker flags in order to find shared
17542         libraries at run time.
17543
17544 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17545
17546         * gdb.base/cvexpr.c (use): New function.
17547         (main): Invoke use() on all global variables to prevent
17548         some linkers from deleting these otherwise unused symbols.
17549
17550 2002-04-17  Michael Chastain  <mec@shout.net>
17551 From David S. Miller  <davem@redhat.com>
17552
17553         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17554         handle 64-bit platforms correctly.
17555
17556 2002-04-12  Michael Snyder  <msnyder@redhat.com>
17557 From Jim Blandy  <jimb@redhat.com>
17558         * gdb.base/foo.c (foox): Remove section attribute; the linker
17559         script can handle this instead.
17560         * gdb.base/bar.c (barx): Same.
17561         * gdb.base/baz.c (bazx): Same.
17562         * gdb.base/grbx.c (grbxx): Same.
17563
17564         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17565         manager doesn't automatically unmap overlays unnecessarily.
17566
17567 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
17568
17569         * gdb.base/ending-run.exp: Fix pattern for Mips targets
17570         stepping out of main.
17571
17572 2002-04-09  Michael Chastain  <mec@shout.net>
17573
17574         * gdb.c++/local.cc (main): Move call to marker1() inside nested
17575         scope so that the nested scope tests will make sense.
17576         * gdb.c++/local.exp: Write patterns that actually work with gcc
17577         (the HP patterns "were never known to work with gcc").
17578         Keep the old aCC patterns too.
17579
17580 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
17581
17582         * gdb.base/attach.exp: Correct target board test.
17583
17584 2002-04-08  Michael Chastain  <mec@shout.net>
17585
17586         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17587         in a const method.  Add some xfail and fail cases for configurations
17588         that do not emit the "const ...".
17589
17590 2002-04-07  Michael Chastain  <mec@shout.net>
17591
17592         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17593         Accept "A * const" and "const A * const" as type of "this".
17594         Fix spelling of getFunky throughout.  Make messages uniform.
17595
17596 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17597
17598         Work around for PR gdb/285:
17599         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17600
17601 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17602
17603         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17604         instructions file at run time instead of configure time.
17605         Sometimes we run the test in a directory that is not the one we
17606         configured in.
17607         * gdb.asm/configure.in: Delete creation of symlink.
17608         * gdb.asm/configure: Regenerate.
17609
17610 2002-04-05  J. Brobecker  <brobecker@gnat.com>
17611
17612         * gdb.gdb/xfullpath.exp: New test, to exercise the new
17613         xfullpath () function.
17614
17615 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17616
17617         * gdb.asm/Makefile.in: Correct dependencies.
17618
17619         * gdb.asm/powerpc.inc: New file.
17620         * gdb.asm/asm-source.exp: Add PowerPC.
17621         * gdb.asm/configure.in: Likewise.
17622         * gdb.asm/configure: Regenerated.
17623
17624 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17625
17626         * gdb.base/relocate.exp: New file.
17627         * gdb.base/relocate.c: New file.
17628
17629 2002-04-04  Fred Fish  <fnf@redhat.com>
17630
17631         * gdb.base/step-test.exp: Update comment regarding stopping in
17632         memcpy/bcopy calls inserted as part of the compiler runtime.
17633
17634 2002-04-04  Michael Snyder  <msnyder@redhat.com>
17635
17636         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17637
17638 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
17639
17640         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17641         (gdb_expect): Remove $notransfer hack.
17642
17643 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
17644
17645         * gdb.c++/classes.exp ("calling method for small class"): Match
17646         updated register output.
17647
17648 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17649
17650         Fix PR gdb/452
17651         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17652         when finished.  Make gdb_file_cmd send "exec-file" when
17653         appropriate.
17654
17655 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17656
17657         * gdb.base/attach.exp: Remove extra setup_xfail.
17658
17659 2002-03-26  Michael Snyder  <msnyder@redhat.com>
17660
17661         * gdb.base/default.exp: Add tests for dump, append, and restore.
17662         * gdb.base/help.exp: Add tests for dump, append, and restore.
17663         * gdb.base/dump.exp: New file, test dump, append and restore.
17664         * gdb.base/dump.c: New file.
17665
17666 2002-03-27  Michael Snyder  <msnyder@redhat.com>
17667
17668         * gdb.base/help.exp: Modify expect strings to reflect
17669         clean-ups in help messages.
17670
17671 2002-03-26  Fred Fish  <fnf@redhat.com>
17672
17673         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17674         have debugging info for those functions and the compiler uses them
17675         internally to copy structs around.
17676
17677 2002-03-26  Fred Fish  <fnf@redhat.com>
17678
17679         * gdb.base/list.exp: Revert the change made yesterday and add note
17680         about why we don't list the default lines for remote targets.
17681
17682 2002-03-25  Michael Snyder  <msnyder@redhat.com>
17683
17684         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17685
17686 2002-03-25  Fred Fish  <fnf@redhat.com>
17687
17688         * gdb.base/list.exp: This test works on remote targets so remove
17689         the short circuit for remote targets.  Update copyright.
17690
17691 2002-03-25  Fred Fish  <fnf@redhat.com>
17692
17693         * gdb.base/attach.exp: Fix logic error that was suppressing this
17694         test for all non hppa*-*-hpux* targets, instead of the hp target.
17695         Move comments closer to the suppression point.  Also now need to
17696         check that we are running natively.
17697
17698 2002-03-22  Michael Snyder  <msnyder@redhat.com>
17699
17700         * gdb.base/default.exp: Add test for gcore.  Update copyright.
17701         * gdb.base/help.exp: Add test for gcore.  Update copyright.
17702
17703 2002-03-06  Fred Fish  <fnf@redhat.com>
17704
17705         * gdb.base/funcargs.c:  Remove extraneous ';' character.
17706         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17707
17708 2002-03-04  Michael Chastain  <mec@shout.net>
17709
17710         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17711         accommodate gcc v3 function signature.
17712         * gdb.mi/mi0-var-cmd-exp: Ditto.
17713
17714 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
17715
17716         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17717         ``GNU/Linux'' or ``Linux kernel''
17718         * testsuite/gdb.threads/pthreads.c: Ditto.
17719
17720 2002-02-24  Michael Chastain  <mec@shout.net>
17721
17722         * gdb.threads/pthreads.c (thread1): Add a return statement.
17723         (thread2): Likewise.
17724         (foo): Likewise.
17725
17726 2002-02-23  Michael Chastain  <mec@shout.net>
17727
17728         * gdb.threads/linux-dp.c (philosopher): Add a return statement
17729         to placate gcc.
17730
17731 2002-02-23  Michael Chastain  <mec@shout.net>
17732
17733         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17734         test "ptype bint".  The test passes on all my stabs configurations.
17735
17736 2002-02-21  Jim Blandy  <jimb@redhat.com>
17737
17738         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17739         filename at a time, and watch for the ones we want to see.
17740
17741         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17742         types of pointers to prototyped functions.
17743
17744 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
17745
17746         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
17747         signed, unsigned and straight char.
17748         (padding_char, padding_short, padding_int, padding_long,
17749         padding_long_long, padding_float, padding_double,
17750         padding_long_double): New global variables.
17751         (fill, fill_structs): New functions.
17752
17753         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
17754         for correctly sized writes.  Update copyright.
17755         (get_valueof): New procedure.
17756         (get_sizeof): Call get_valueof.
17757         (check_valueof): New procedure.
17758         (check_padding): New procedure.
17759
17760 2002-02-20  Michael Chastain  <mec@shout.net>
17761
17762         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17763         to setup_xfail.  Document some of the remaining calls.
17764
17765 2002-02-18  Michael Chastain  <mec@shout.net>
17766
17767         * gdb.c++/userdef.exp: Update copyright year.
17768
17769 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
17770
17771         * gdb.c++/userdef.exp: Test overloaded operators properly.
17772         Remove xfails.
17773
17774 2002-02-14  Michael Snyder  <msnyder@redhat.com>
17775
17776         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17777
17778 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
17779
17780         * gdb.base/a2-run.exp: Check for a remote target properly.
17781         * gdb.base/annota1.exp: Likewise.
17782         * gdb.base/list.exp: Likewise.
17783         * gdb.base/reread.exp: Likewise.
17784         * gdb.base/scope.exp: Likewise.
17785         * gdb.base/shlib-call.exp: Likewise.
17786         * gdb.base/term.exp: Likewise.
17787         * gdb.c++/annota2.exp: Likewise.
17788
17789 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
17790
17791         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17792
17793 2002-02-10  Michael Chastain  <mec@shout.net>
17794
17795         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17796         (call_after_alloca): Ditto.
17797
17798 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
17799
17800         * gdb.base/ending-run.exp: Guard "cont" test with
17801         gdb_skip_stdio_test.
17802
17803 2002-02-06  Jim Blandy  <jimb@redhat.com>
17804
17805         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17806         from here...
17807         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17808         To here.  Disable this test on non-HP platforms.  Add big comment.
17809
17810 2002-02-04  Michael Snyder  <msnyder@redhat.com>
17811
17812         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
17813           other than d10v and m32r.
17814
17815 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
17816
17817         * gdb.base/default.exp: Rewrite test patterns to reduce time
17818         taken to match them.
17819
17820 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17821
17822         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17823         Allow a start function above main.
17824         * gdb.threads/linux-dp.exp: Fix copyright date.
17825
17826 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17827
17828         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17829         (check_philosopher_stack): Check for manager thread before checking
17830         for a just-starting thread.
17831
17832 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17833
17834         From Neil Booth <neil@daikokuya.demon.co.uk>:
17835         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17836         warnings.
17837
17838 2002-01-21  Fred Fish  <fnf@redhat.com>
17839
17840         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17841         not caller.
17842
17843 2002-01-21  Jim Blandy  <jimb@redhat.com>
17844
17845         * gdb.base/reread.exp: Check that GDB properly re-reads the
17846         executable file when it changes while no inferior is running.
17847
17848 2002-01-21  Fred Fish  <fnf@redhat.com>
17849
17850         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17851         optionally accept the "shlib events" variation.
17852
17853 2002-01-21  Jim Blandy  <jimb@redhat.com>
17854
17855         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17856         call `fflush' after every `printf', so that the output is produced
17857         at predictable points, regardless of whatever buffering does (or
17858         doesn't) take place.
17859         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17860         at different points.
17861
17862 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17863
17864         * gdb.c++/inherit.exp: Update copyright years.
17865         * gdb.c++/method.exp: Likewise.
17866
17867 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17868
17869         * gdb.c++/classes.exp: Update for improved v3 support and skipping
17870         artificial methods/arguments.
17871         * gdb.c++/derivation.exp: Likewise.
17872         * gdb.c++/inherit.exp: Likewise.
17873         * gdb.c++/method.exp: Likewise.
17874         * gdb.c++/virtfunc.exp: Likewise.
17875
17876 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
17877
17878         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17879         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17880         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17881         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17882         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17883         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17884
17885 2002-01-17  Jim Blandy  <jimb@redhat.com>
17886
17887         * gdb.asm/asm-source.exp (info symbol): Take another shot at
17888         anchoring the pattern matching the entry point symbol's name.
17889
17890 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
17891
17892         * gdb.base/maint.exp: Update ``maint internal-error'' to match
17893         continue/quit query.  Update copyright.
17894
17895 2002-01-14  Michael Snyder  <msnyder@redhat.com>
17896
17897         * gdb.base/gcore.exp: Remove extra debugging output.
17898
17899 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17900
17901         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17902         for slightly dubious v2 mangled string.
17903
17904 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17905
17906         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17907
17908 2002-01-10  Jason Merrill  <jason@redhat.com>
17909
17910         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17911
17912         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17913         constructors.
17914         * gdb.c++/derivation.exp: Likewise.
17915         * gdb.c++/templates.exp: Likewise.
17916         * gdb.c++/virtfunc.exp: Likewise.
17917
17918 2002-01-10  Michael Snyder  <msnyder@redhat.com>
17919
17920         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17921
17922 2002-01-08  Michael Snyder  <msnyder@redhat.com>
17923
17924         * gdb.base/gcore.exp: New test for generate-core-file command.
17925         * gdb.base/gcore.c: Testcase for above.
17926         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17927
17928 2002-01-08  Jason Merrill  <jason@redhat.com>
17929
17930         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17931
17932 2002-01-07  Fred Fish  <fnf@redhat.com>
17933
17934         * gdb.c++/overload.exp: Remove unconditional xfails for:
17935         print foo_instance1.overloadargs(1)
17936         print foo_instance1.overloadargs(1, 2)
17937         print foo_instance1.overloadargs(1, 2, 3)
17938         print foo_instance1.overloadargs(1, 2, 3, 4)
17939         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17940         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17941         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17942         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17943         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17944         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17945         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17946         print foo_instance1.overload1arg()
17947         print foo_instance1.overload1arg((char)arg2)
17948         print foo_instance1.overload1arg((signed char)arg3)
17949         print foo_instance1.overload1arg((unsigned char)arg4)
17950         print foo_instance1.overload1arg((int)arg7)
17951         print foo_instance1.overload1arg((unsigned int)arg8)
17952         print foo_instance1.overload1arg((float)arg11)
17953         print foo_instance1.overload1arg((double)arg12)
17954
17955 2002-01-07  Michael Snyder  <msnyder@redhat.com>
17956
17957         * gdb.base/huge.exp: New test.  Print a very large target data object.
17958         (skip_huge_test): New test variable.  Define if you want to skip this
17959         test.  The test reads an 8 megabyte data object from the target, so it
17960         might be very time consuming on remote targets with a slow connection.
17961         * gdb.base/huge.c: New file.  Test case for above.
17962
17963 2002-01-07  Fred Fish  <fnf@redhat.com>
17964
17965         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17966         g_instance.bfoo, and g_instance.cfoo.
17967
17968 2002-01-07  Jeffrey A Law  <law@redhat.com>
17969
17970         * gdb.base/break.c (multi_line_if_conditional): New function.
17971         (multi_ilne_while_conditional): Likewise.
17972         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17973         IF or WHILE condition puts the breakpoint at the start of
17974         the condition.
17975
17976         * gdb.base/selftest.exp (backtrace through signal handler): Remove
17977         hppa*-*-hpux* expected failure.
17978         * gdb.base/structs.exp (do_function_calls): Similarly.
17979
17980         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17981         watchpoints.
17982
17983 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
17984
17985         Fix PR gdb/66.
17986         * gdb.base/structs.exp: Replace skip for a29k with skip for
17987         gdb,cannot_call_functions.
17988         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17989         * gdb.base/callfuncs.exp: Ditto.
17990         * gdb.base/call-rt-st.exp: Ditto.
17991         * gdb.base/call-strs.exp: Ditto.
17992         * gdb.base/callfwmall.exp: Ditto.
17993         * gdb.base/scope.exp: Obsolete xfail a29k.
17994         * gdb.c++/misc.exp: Ditto.
17995         * gdb.c++/cplusfuncs.exp: Ditto.
17996         * gdb.base/ptype.exp: Ditto.
17997         * gdb.base/printcmds.exp: Ditto.
17998         * gdb.base/opaque.exp: Ditto.
17999         * gdb.base/list.exp: Ditto.
18000         * gdb.base/funcargs.exp: Ditto.
18001         * gdb.base/default.exp: Ditto.
18002
18003 2002-01-04  Michael Snyder  <msnyder@redhat.com>
18004
18005         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18006         * gdb.base/maint.exp: Add tests for maint info sections options.
18007
18008 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
18009
18010         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18011
18012 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
18013
18014         * gdb.asm/arm.inc: New file.
18015         * gdb.asm/asm-source.exp: Add arm targets.
18016         * gdb.asm/configure.in: Ditto.
18017         * gdb.asm/configure: Recreated from configure.in.
18018
18019 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
18020
18021         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18022         with HP's compiler.
18023         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18024         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18025         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18026         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18027
18028         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18029         either HP's compilers or GCC.
18030
18031         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18032         a SIGBUS or SIGSEGV.
18033
18034         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18035
18036         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18037         can be compiled with either HP's compiler or GCC.
18038
18039         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18040         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18041         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18042
18043         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18044         to match current gdb output.  Update due to using auto-solib-limit
18045         for limiting instead of overloading auto-solib-add.
18046         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18047         test program.
18048
18049         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18050         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18051         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18052         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18053         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18054         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18055         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18056         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18057         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18058         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18059         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18060         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18061         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18062
18063         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18064         a SIGTRAP to the inferior.
18065
18066 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
18067
18068         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18069         Substitute call to target_link by call to gdb_compile.
18070
18071 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
18072
18073         * gdb.base/break.exp: Fix HP specific search string when testing
18074         backtracing in a called function.
18075
18076         * gdb.base/constvars.exp: Only set lang to C++ if we're
18077         compiling the test with HP's compilers.
18078         * gdb.base/volatile.exp: Similarly.
18079
18080 2001-12-19  Jim Blandy  <jimb@redhat.com>
18081
18082         * gdb.base/printcmds.exp: Expect the null character to be printed
18083         as '\0', and the '\013' to be printed as '\v'.
18084         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18085         * gdb.base/setvar.exp: Same.
18086
18087 2001-12-17  Jim Blandy  <jimb@redhat.com>
18088
18089         * gdb.base/completion.exp: Rather than completing very long
18090         filenames, which can make the readline library produce output we
18091         don't recognize, cd to the directory first, and then complete
18092         using nice, short relative paths.
18093
18094         * gdb.base/completion.exp: On some systems, there is, in fact, a
18095         variable named `b' in scope, since GDB treats all static
18096         variables as being in scope.  So use `no_var_named_this'
18097         instead of `b'.
18098
18099         * gdb.base/corefile.exp: Recognize the message saying that GDB
18100         can't find the core file's registers as a failure.
18101
18102 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
18103
18104         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18105         test expect string more specific.
18106
18107 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
18108
18109         * gdb.asm/asm-source.exp: Add support for xstormy16.
18110         * gdb.asm/configure.in: Ditto.
18111         * gdb.asm/configure: Rebuild.
18112         * gdb.asm/xstormy16.inc: New file.
18113
18114 2001-12-10  Fred Fish  <fnf@redhat.com>
18115
18116         * gdb.base/maint.exp: Update to match changes in type dumping code.
18117
18118 2001-12-10  Jim Blandy  <jimb@redhat.com>
18119
18120         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
18121         matching the entry point symbol's name at the beginning of the
18122         line.
18123
18124 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
18125
18126         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18127         gdb.c++/inherit.exp, gdb.c++/method.exp,
18128         gdb.c++/namespace.exp, gdb.c++/templates.exp,
18129         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18130         and class layout support.
18131
18132 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
18133
18134         * gdb.c++/classes.exp: Add test for static member function.
18135         * gdb.c++/misc.cc: Add class with static member function.
18136
18137 2001-12-07  Jim Blandy  <jimb@redhat.com>
18138
18139         If GDB says it can't find the struct the function returned, report
18140         those tests as `unsupported'.
18141         * gdb.base/call-rt-st.exp (print_struct_call): New function.
18142         Rewrite subsequent tests to use it.
18143
18144         If GDB says it can't find the struct the function returned, report
18145         those tests as `unsupported'.
18146         * gdb.base/structs.exp (call_struct_func): New function.
18147         (do_function_calls): Use call_struct_func to call the functions
18148         returning structs.
18149
18150         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18151         whether functions are prototyped or not, so we can't possibly pass
18152         arguments to t_float_values2 properly.
18153
18154         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18155         value of `timeout' for targets other than the mips*tx39-*.
18156
18157 2001-12-06  Michael Snyder  <msnyder@redhat.com>
18158
18159         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
18160         and detect whether the start symbol has a leading underscore.
18161
18162 2001-12-04  Jim Blandy  <jimb@redhat.com>
18163
18164         * gdb.base/completion.exp: Clarify indentation.
18165
18166 2001-12-03  Jim Blandy  <jimb@redhat.com>
18167
18168         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18169         variables on the S/390, not `.word'.
18170
18171 2001-11-30  Jim Blandy  <jimb@redhat.com>
18172
18173         Add assembly-source tests for s390-ibm-linux.
18174         * gdb.asm/s390.inc: New file.
18175         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18176         the S/390 architecture.
18177         * gdb.asm/configure: Regenerated.
18178
18179 2001-11-30  Michael Snyder  <msnyder@redhat.com>
18180
18181         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18182         next, info source, info sources, info line, global and static
18183         variables, and static functions.
18184         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18185         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18186         * gdb.asm/asmsrc1.s: Add a static function and some variables.
18187         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18188         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18189         (gdbasm_leave): Restore frame pointer.
18190         (gdbasm_startup): Copy stack set-up from crt0.S.
18191
18192 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
18193
18194         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
18195         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18196         to a local (non-static) variable. Copy tstruct.a to a static buffer
18197         and return a pointer to that buffer.
18198         * gdb.base/callfwmall.c (t_structs_a): Ditto.
18199
18200 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
18201
18202         * gdb.asm/configure.in: Fix recognition of ix86 target.
18203         * gdb.asm/configure: Regenerate.
18204
18205 2001-11-21  Michael Snyder  <msnyder@redhat.com>
18206
18207         * gdb.asm/sparc.inc: New file.
18208         * gdb.asm/asm-source.exp: Recognize sparc target.
18209         * gdb.asm/configure.in: Recognize sparc target.
18210         * gdb.asm/configure: Regenerate.
18211
18212 2001-11-21  Michael Snyder  <msnyder@redhat.com>
18213
18214         * gdb.asm/m32r.inc: New file.
18215         * gdb.asm/asm-source.exp: Recognize m32r target.
18216         * gdb.asm/configure.in: Recognize m32r target.
18217         * gdb.asm/configure: Regenerate.
18218
18219 2001-11-20  Michael Snyder  <msnyder@redhat.com>
18220
18221         * gdb.asm/i386.inc: New file.
18222         * gdb.asm/asm-source.exp: Recognize ix86 target.
18223         * gdb.asm/configure.in: Recognize ix86 target.
18224         * gdb.asm/configure: Regenerate.
18225
18226         * gdb.c++/namespace.exp: Fix quotes in output messages.
18227
18228 2001-11-14  Michael Snyder  <msnyder@redhat.com>
18229
18230         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
18231         qualifier in a type cast expression, to designate an address
18232         in the instruction space (Harvard architecture).
18233
18234 2001-11-13  Michael Snyder  <msnyder@redhat.com>
18235
18236         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18237         Tests for expressions using 'const' and 'volatile'.
18238
18239 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
18240
18241         * gdb.asm/asm-sources.exp: Allow defining linker flags.
18242
18243 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
18244
18245         * lib/mi-support.exp (mi_run_to_helper): Move comments
18246         outside of gdb_expect.
18247
18248 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
18249
18250         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18251         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18252         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18253         mi0_run_to): New functions.
18254         * gdb.mi/mi-simplerun.exp: Use them.
18255         * gdb.mi/mi0-simplerun.exp: Likewise.
18256         * gdb.mi/mi-var-cmd.exp: Likewise.
18257         * gdb.mi/mi0-var-cmd.exp: Likewise.
18258
18259 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
18260
18261         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18262         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18263
18264 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
18265
18266         * gdb.base/restore.exp: Include $expected value in restored test
18267         message.
18268
18269 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
18270
18271         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18272         implemented.
18273
18274 2001-11-08  Michael Snyder  <msnyder@redhat.com>
18275
18276         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18277         Add pass/fail message for stop at breakpoint in call dummy function.
18278
18279 2001-11-07  Michael Snyder  <msnyder@redhat.com>
18280
18281         * gdb.c++/templates.exp (test_template_breakpoints):
18282         If we get an overload menu, but it does not match what
18283         we expect, we still need to issue the "cancel" command.
18284         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18285         making the whitespace optional.  Argument for "new" may be
18286         "unsigned" as well as "unsigned int/long".
18287         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18288         making the whitespace optional.  Also replace "(void) with
18289         "((void|)), making the keyword "void" optional.
18290         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18291         making the whitespace optional.  Also replace "(void) with
18292         "((void|)), making the keyword "void" optional.
18293         * gdb.base/callfuncs.c (t_float_values): This function must
18294         _not_ be prototyped, and the following function (t_float_values2)
18295         must be prototyped (if the compiler supports it), so that GDB
18296         can be tested against both cases.  Usually one case involves
18297         promotion of float to double, while the other does not.
18298         * gdb.base/callfwmall.c: Ditto.
18299         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18300         includes a stack frame for "start".
18301
18302 2001-11-05  Jim Blandy  <jimb@redhat.com>
18303
18304         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
18305         pointers are 32 bits long, and that offsets of relocs are always
18306         stored in the data (REL-style), and not in the reloc entry itself
18307         (RELA-style).
18308         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18309         stabs.
18310
18311 2001-11-01  Michael Snyder  <msnyder@redhat.com>
18312
18313         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18314         and regular expression operators by using quoting.
18315
18316 2001-10-31  Michael Snyder  <msnyder@redhat.com>
18317
18318         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18319         depending on what the symbol table contains.
18320         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18321         the output of the ptype command.  Similarly, accept both "const &"
18322         and "const&".
18323
18324 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
18325
18326         * gdb.base/miscexprs.c (main): Add usage of preprocessor
18327         symbol `STORAGE' to allow to choose the storage class of
18328         the local datastructures.
18329         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18330         compiler directive.
18331
18332 2001-10-30  Michael Snyder  <msnyder@redhat.com>
18333
18334         * gdb.base/jump.exp: Allow it to run for all targets.
18335
18336 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18337
18338         * gdb.base/call-ar-st.c (print_double_array): Match for loop
18339         with new double_array size.
18340         (main): Change storage class of all local variables to static.
18341         Reduce size of double_array to 9.
18342         * gdb.base/call-ar-st.exp:  Increase timeout value.
18343         Change expected output for double array to match new size in
18344         call-ar-st.c.
18345
18346 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18347
18348         * gdb.base/ending-run.exp: Create identical output when passing
18349         `step to end of run' case.  Add regular expression branch satisfying
18350         Stormy16 target.
18351
18352 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
18353
18354         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18355         that we catch the expected failure under Linux/x86.
18356
18357 2001-10-29  Orjan Friberg  <orjanf@axis.com>
18358
18359         * gdb.base/setvar.exp: Escape curly braces.
18360         * gdb.stabs/weird.exp: Ditto.
18361
18362 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
18363
18364         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18365         * gdm.mi/mi0-hack-cli.exp: Likewise.
18366
18367 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
18368
18369         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18370         messages.
18371
18372 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
18373
18374         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18375         checking MI enabled.
18376
18377 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
18378
18379         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18380
18381 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
18382
18383         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18384         if gdb child process crashes, just signal an error.
18385
18386 2001-10-02  Jim Blandy  <jimb@redhat.com>
18387
18388         * lib/gdb.exp (test_xfail_format): Simplify.
18389
18390         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18391         front of the variable name `format'.  Simplify `if'.
18392
18393 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18394
18395         * gdb.threads/pthreads.exp: Wait for output and delay
18396         before sending ^C.
18397
18398 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18399
18400         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
18401         some incorrect output instead of timing out.
18402         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
18403
18404 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
18405
18406         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18407         check to allow additional `int'.
18408
18409 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
18410
18411         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18412         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18413
18414 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18415
18416         * lib/gdb.exp (test_debug_format): New proc.
18417         (setup_xfail_format): Use new proc test_debug_format.
18418         * gdb.base/constvars.exp (local_compiler_xfail_check): New
18419         proc; use new service proc test_debug_format.
18420         Replace all other "gcc_compiled" tests with this test.
18421         * gdb.base/volatile.exp (local_compiler_xfail_check): New
18422         proc; use new service proc test_debug_format.
18423         Replace all other "gcc_compiled" tests with this test.
18424
18425 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18426
18427         * gdb.base/cvexpr.exp: New file.
18428         * gdb.base/cvexpr.c: New file
18429         Test for expressions using const and volatile keywords.
18430
18431 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
18432
18433         * gdb.base/constvars.exp: Check for different orders of keywords
18434         and additional "int" strings in output.
18435
18436 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
18437
18438         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18439         responses from "help maint".
18440
18441 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
18442
18443         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18444         to localhost:NNN instead of :NNN, in case Xvfb is listening
18445         only on TCP.
18446
18447 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
18448
18449         * gdb.base/recurse.exp: When checking leaving the watchpoint
18450         scope, recognize when gdb is in function's epilogue and pass.
18451
18452 2001-09-18  Keith Seitz  <keiths@redhat.com>
18453
18454         * lib/insight-support.exp (_gdbtk_export_target_info): Add
18455         support for running tests against sid targets.
18456         (gdbtk_done): Ditto.
18457
18458 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
18459
18460         * gdb.base/ending-run.c (main): Set stdout buffersize
18461         to the same reasonable value for any target.
18462         * gdb.base/ending-run.exp: Add a regular expression
18463         to make testsuite happy on Sanyo Stormy16 target.
18464
18465 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
18466
18467         * gdb.base/display.c (do_loops): Add float variable `f'.
18468         Increment f in loop.
18469         * gdb.base/display.exp: Increment timeout by 60 seconds.
18470         Change float display test to use variable `f'.
18471
18472 2001-09-17  Jim Blandy  <jimb@redhat.com>
18473
18474         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18475         overflowing the limited breakpoint tables on some ROM monitors
18476         (like the ROM68K).
18477
18478 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
18479
18480         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18481         the "-ac" (disable access control) flag.
18482
18483 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
18484
18485         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18486         ints.
18487
18488 2001-08-30  Keith Seitz  <keiths@redhat.com>
18489
18490         * lib/gdb.exp: Move all insight-related functionality into
18491         separate file.
18492         * lib/insight-support.exp: New file.
18493
18494 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
18495
18496         * config/sid.exp (sid_start): Never set sid verbosity; disable
18497         expect_background {} that consumed its stdout; tolerate </dev/null.
18498         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
18499
18500 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18501
18502         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18503         CLI jump command to start it.
18504         (mi_run_to_main): Fail immediatly when unexpected output.
18505
18506 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18507
18508         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18509         beginning of function.  Fix PR gdb/191.
18510
18511 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
18512
18513         * config/sid.exp (sid_start): Don't warn if we cannot figure out
18514         what to force sid endianness to.
18515
18516 2001-08-15  Keith Seitz  <keiths@redhat.com>
18517
18518         * lib/gdb.exp (gdbtk_start): Don't set environment
18519         variables for TCL_LIBRARY and friends. Insight will
18520         now figure these out for itself.
18521
18522 2001-08-02  Michael Snyder  <msnyder@redhat.com>
18523
18524         * gdb.base/completion.exp: Remove the symbol "a64l" from
18525         the expect string; this is target-specific, and not related
18526         to what is being tested.
18527
18528 2001-08-02  Dave Brolley  <brolley@redhat.com>
18529
18530         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18531
18532 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18533
18534         * gdb.base/consecutive.exp: New file.  Test stepping over
18535         breakpoints on consecutive instructions.
18536         * gdb.base/consecutive.c: New file.
18537
18538         * gdb.base/call-rt-st.exp: Use double-backslash to quote
18539         curly braces in regular expressions.
18540
18541 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18542
18543         * gdb.base/ending-run.exp: Accept "Program exited normally" as
18544         legitimate output from stepping out of main.
18545
18546 2001-07-22  Keith Seitz  <keiths@redhat.com>
18547
18548         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18549         the empty string, do not run the tests.
18550
18551 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18552
18553         * gdb.base/long_long.exp: Detect size of pointer.  Take into
18554         account 2-byte pointers when testing for p/a results.
18555
18556 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18557
18558         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18559         and defined to 1K for m68hc11.
18560         (random_data): Reduce table to 1K for embedded platforms (68hc11).
18561         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18562         (sizeof_random_data): New variable to tell the size of the data table;
18563         don't test past this size; always run to main.
18564
18565 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18566
18567         * gdb.base/return2.exp: return of long long and double fails for
18568         68HC11; don't execute these tests on that platform.
18569         * gdb.base/return.exp: Return of a double fails for 68hc11.
18570
18571 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18572
18573         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18574         tests that print a float.
18575         * call-rt-st.exp: Likewise.
18576
18577 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
18578
18579         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18580         running this test on Linux.
18581
18582 2001-06-24  Michael Chastain  <chastain@redhat.com>
18583
18584         * gdb.base/arithmet.exp: Remove some tests to make all test names
18585         unique.
18586
18587 2001-07-03  Michael Snyder  <msnyder@redhat.com>
18588
18589         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18590         the output of the ptype command.
18591
18592 2001-07-02  Michael Snyder  <msnyder@redhat.com>
18593
18594         * gdb.base/completion.exp: Don't assume that break.c is the only
18595         source file that may contain functions named "marker".
18596         * gdb.base/corefile.exp: Quote the curly braces in regexp.
18597
18598 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
18599
18600         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18601         of files to delete.
18602
18603         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18604         * gdb.disasm/h8300s.exp: New file.
18605         gdb.disasm/h8300s.s: Likewise.
18606
18607 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
18608
18609         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18610         empty breakpoint tables.
18611
18612 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
18613
18614         * lib/mi-support.exp: Update args=... part of stop-reason
18615         patterns. Accept either a list or a tuple.
18616
18617 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
18618
18619         * lib/mi-support.exp: Remove local emacs variable defining
18620         change-log-default-name.
18621
18622 2001-06-22  Michael Chastain  <chastain@redhat.com>
18623
18624         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18625         This is operationally compatible with the previous version.
18626
18627 2001-06-13  Jim Blandy  <jimb@redhat.com>
18628
18629         * lib/gdb.exp (gdb_test): Doc fix.
18630
18631 2001-06-10  Michael Chastain  <chastain@redhat.com>
18632
18633         * gdb.base/exprs.exp: Remove a duplicate test.
18634
18635 2001-06-06  Jim Blandy  <jimb@redhat.com>
18636
18637         * gdb.base/return2.exp (main): Use values to test float and double
18638         returns that are not NaN's, to avoid being confused by IEEE
18639         comparison rules.
18640
18641 2001-06-04  Michael Snyder  <msnyder@redhat.com>
18642
18643         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18644         non-zero if control_c fails.  Terminate the test on failure,
18645         rather than wait for 12 more tests to time out.
18646
18647 2001-06-06  Jim Blandy  <jimb@redhat.com>
18648
18649         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18650         Don't forget to match the GDB prompt.
18651
18652         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18653
18654 2001-06-04  Jim Blandy  <jimb@redhat.com>
18655
18656         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18657         command.
18658
18659 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
18660
18661         * gdb.base/annota1.exp (info break): Match four or more spaces
18662         after "Address".
18663
18664 2001-05-31  Michael Chastain  <chastain@redhat.com>
18665
18666         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18667         (dm_type_int_star): Likewise.
18668         (dm_type_long_star): Likewise.
18669         (dm_type_void_star): Likewise.
18670
18671 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
18672
18673         * gdb.base/completion.exp (INPUTRC): Set this environment variable
18674         to a known value in order to get consistent results regardless
18675         of the setting of INPUTRC or the presence or contents of .inputrc.
18676
18677 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18678
18679         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18680         Don't require that the main thread and the manager thread are the
18681         first in the list.
18682
18683         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18684         debugging.  If test fails, issue an "unsupported" not a "fail".
18685
18686 2001-05-24  Jim Blandy  <jimb@redhat.com>
18687
18688         Don't assume that short is shorter than int.
18689         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18690         assume that shorts are smaller than ints.  On a 16-bit machine,
18691         this isn't true.
18692         ("print unsigned char == (~0)"): Add test that verifies that ~0,
18693         an int, is not equal to ~0 stored in an unsigned char.  This tests
18694         the same thing that the previous test meant to, but works on
18695         16-bit machines, too.
18696         ("print unsigned char != (~0)"): Same test, complemented.
18697
18698 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18699
18700         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18701         test for (full_coverage == 0).  This makes the test run faster,
18702         and prevents dejagnu getting out of step.
18703
18704 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
18705
18706         * gdb.base/finish.exp (finish_void): Revise pattern for
18707         stopping on the call statement to not permit stopping at
18708         the start of the instructions comprising the call sequence.
18709
18710 2001-05-19  Michael Chastain  <chastain@redhat.com>
18711
18712         * gdb.base/callfuncs.exp: Make all test names unique.
18713         * gdb.base/commands.exp: Make all test names unique.
18714         * gdb.base/condbreak.exp: Make all test names unique.
18715         * gdb.base/dbx.exp: Make all test names unique.
18716         * gdb.base/default.exp: Make all test names unique.
18717         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
18718         and TIMEOUT messages to their corresponding PASS message.
18719         * gdb.base/ending-run.exp: Make all test names unique.
18720         * gdb.base/long_long.exp: Remove duplicate test.
18721
18722 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
18723
18724         * gdb.base/finish.exp (finish_void): Allow "finish" command to
18725         stop on the call statement as well as the statement after the
18726         call.
18727
18728 2001-05-21  Michael Snyder  <msnyder@redhat.com>
18729
18730         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18731
18732 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18733
18734         * gdb.base/completion.exp: Revamp test. Make it execute on all
18735         platforms.
18736
18737 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18738
18739         * config/gdbserver.exp (gdb_load): Handle the case
18740         in which the arguments to gdbserver are given in the
18741         baseboard configuration file.
18742         Also handle the case in which the server needs to do a
18743         load.
18744
18745 2001-05-07  Keith Seitz <keiths@cygnus.com>
18746
18747         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18748         set up the display for testing.
18749         (gdbtk_start): Convert all paths to paths that tcl will like.
18750         Export target information to environment.
18751         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18752         necessary.
18753         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18754         (to_tcl_path): New proc to convert a given pathname into
18755         a path acceptible as an argument to a tcl command.
18756         (_gdbtk_export_target_info): New proc to export target info
18757         into the environment for gdbtk testing.
18758         (gdbtk_done): New proc to signal end-of-test.
18759
18760 2001-05-06  Jim Blandy  <jimb@redhat.com>
18761
18762         * restore.c: Make the code of caller0 correspond to its comment.
18763
18764 2001-05-03  Michael Snyder  <msnyder@redhat.com>
18765
18766         * config/sid.exp (gdb_target_sid): Check for error messages.
18767         On error or timeout, don't make expect exit (which will terminate
18768         all subsequent tests); instead just make gdb exit.
18769         (gdb_load): Check for error messages.  On error or timeout,
18770         return a negative value.
18771
18772 2001-04-24  Jim Blandy  <jimb@redhat.com>
18773
18774         * gdb.c++/templates.exp: If we see the prompt for the overload
18775         list, but we haven't recognized any of the longer patterns,
18776         arrange for this test to fail, not hang.
18777
18778         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18779         variations.
18780
18781 2001-04-22  Michael Chastain  <chastain@redhat.com>
18782
18783         * gdb.c++/local.exp: Use the 'runto' library function.
18784         * gdb.c++/namespace.exp: Likewise.
18785         * gdb.c++/overload.exp: Likewise.
18786
18787 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
18788
18789         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18790         * gdb.base/step-line.exp: New file.  Test step/next in presence of
18791         #line directives.
18792         * gdb.base/step-line.c: New file.  Test program for the above.
18793         * gdb.base/step-line.inp: New file.  We pretend that this file has
18794         been transformed by some other tool into step-line.c.
18795
18796 2001-03-21  Jim Blandy  <jimb@redhat.com>
18797
18798         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18799         unmangled operator names.
18800
18801 2001-03-20  Jim Blandy  <jimb@redhat.com>
18802
18803         * gdb.threads/linux-dp.exp: Recognize an additional message
18804         generated by GDB when it doesn't understand how to debug threads
18805         on the target system.
18806
18807 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
18808
18809         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18810
18811 2001-03-12  Michael Chastain  <chastain@redhat.com>
18812
18813         * gdb.c++/derivation.exp: Use the 'runto' library function.
18814
18815 2001-03-12  Michael Chastain  <chastain@redhat.com>
18816
18817         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18818
18819 2001-02-24  Michael Chastain  <chastain@redhat.com>
18820
18821         * gdb.c++/ref-types.exp: Change handwritten code to library
18822         function 'runto'.
18823
18824 2001-03-16  Orjan Friberg  <orjanf@axis.com>
18825
18826         * gdb.base/signals.exp: Set count to 0 explicitly.
18827
18828 2001-03-15  Mark Salter  <msalter@redhat.com>
18829
18830         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18831         (gdb_target_monitor): Add check of gdb_target_cmd return value.
18832         (gdb_load): Add support for additional target_info: gdb_download_size
18833         and gdb_load_timeout.
18834
18835 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
18836
18837         * gdb.base/annota1.exp: Move test of isnative to earlier in the
18838         file -- to prevent failing when the compile fails but we have no
18839         intention of running the tests anyway.
18840
18841         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18842         tests if set.
18843
18844         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18845         integers.
18846
18847         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18848         * gdb.c++/namespace.exp: Ditto.
18849
18850 2001-03-07  Orjan Friberg  <orjanf@axis.com>
18851
18852         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18853         * gdb.base/pointers.exp: Relax pattern match of decimals.
18854
18855 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
18856
18857         * Makefile.in, config/abug.exp, config/cfdbug.exp,
18858         config/cpu32bug.exp, config/dve.exp, config/est.exp,
18859         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18860         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18861         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18862         config/sh.exp, config/sid.exp, config/slite.exp,
18863         config/sparclet.exp, config/udi.exp, config/unknown.exp,
18864         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18865         config/vxworks.exp, config/vxworks29k.exp,
18866         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18867         gdb.base/all-bin.exp, gdb.base/annota1.exp,
18868         gdb.base/arithmet.exp, gdb.base/assign.exp,
18869         gdb.base/async.exp, gdb.base/attach.exp,
18870         gdb.base/bitfields.exp, gdb.base/bitops.exp,
18871         gdb.base/break.exp, gdb.base/call-ar-st.exp,
18872         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18873         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18874         gdb.base/commands.exp, gdb.base/completion.exp,
18875         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18876         gdb.base/constvars.exp, gdb.base/corefile.exp,
18877         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18878         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18879         gdb.base/ending-run.exp, gdb.base/environ.exp,
18880         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18881         gdb.base/finish.exp, gdb.base/foll-exec.exp,
18882         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18883         gdb.base/funcargs.exp, gdb.base/help.exp,
18884         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18885         gdb.base/logical.exp, gdb.base/long_long.exp,
18886         gdb.base/maint.exp, gdb.base/mips_pro.exp,
18887         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18888         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18889         gdb.base/pointers.exp, gdb.base/printcmds.exp,
18890         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18891         gdb.base/regs.exp, gdb.base/relational.exp,
18892         gdb.base/remote.exp, gdb.base/reread.exp,
18893         gdb.base/restore.exp, gdb.base/return2.exp,
18894         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18895         gdb.base/selftest.exp, gdb.base/setshow.exp,
18896         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18897         gdb.base/sigall.exp, gdb.base/signals.exp,
18898         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18899         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18900         gdb.base/step-test.exp, gdb.base/structs.c,
18901         gdb.base/structs.exp, gdb.base/structs2.exp,
18902         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18903         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18904         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18905         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18906         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18907         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18908         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18909         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18910         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18911         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18912         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18913         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18914         gdb.fortran/types.exp, gdb.java/jmisc.exp,
18915         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18916         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18917         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18918         gdb.trace/circ.exp, gdb.trace/collection.exp,
18919         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18920         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18921         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18922         gdb.trace/report.exp, gdb.trace/save-trace.exp,
18923         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18924         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18925         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18926         notices.
18927
18928 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
18929
18930         * gdb.base/varargs.c (find_max_double): Fix printf format string:
18931         first arg is int not float.
18932
18933 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
18934
18935         * gdb.base/reread.exp: Unsupported for non-native targets;
18936         doesn't work for remote debugging.
18937
18938 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
18939
18940         From  Drew Moseley  <dmoseley@redhat.com>
18941         * gdb.base/ending-run.exp: Properly handle the BSP state when
18942         stepping past the end of main.
18943
18944 2001-02-19  John Moore  <jmoore@redhat.com>
18945
18946         * gdb.base/commands.exp (infrun_breakpoint_command_test):
18947         Converted HPUX fix for non-expected items following multiple
18948         step commands into general solution for all platforms.
18949
18950 2001-02-18  Michael Chastain  <chastain@redhat.com>
18951
18952         * gdb.c++/classes.exp (do_tests): Change runto statements
18953         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
18954         statements demangler agnostic.
18955         * gdb.c++/virtfunc.exp (do_tests): Likewise.
18956         (gdb_virtfunc_restart): Likewise.
18957
18958 2001-02-14  Michael Chastain  <chastain@redhat.com>
18959
18960         * gdb.c++/inherit.exp (do_tests): Change runto statements
18961         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
18962         statements demangler agnostic.
18963
18964 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
18965
18966         * gdb.threads/pthreads.exp: Unify pass/fail messages for
18967         ``continue to bkpt at common_routine in thread 2'' and ``stopped
18968         before calling common_routine 15 times'' tests.
18969
18970 2001-02-11  Michael Chastain  <chastain@redhat.com>
18971
18972         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18973         Helps the test script figure out which demangler is in use.
18974         (dm_type_foo_ref): Ditto.
18975         (dm_type_int_star): Ditto.
18976         (dm_type_long_star): Ditto.
18977         (dm_type_unsigned_int): Ditto.
18978         (dm_type_void): Ditto.
18979         (dm_type_void_star): Ditto.
18980         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
18981         Probe the gdb demangler and set variables to accommodate
18982         formatting differences.
18983         (info_func_regexp): New function.  Same as info_func, but
18984         matches against a regexp.
18985         (info_func): Match against a literal string.
18986         (print_addr_2): New function.  Match against a literal string,
18987         which can be different from the input to gdb.
18988         (print_addr): Simply call print_addr_2 with the same argument twice.
18989         (test_lookup_operator_functions): Use demangler formatting variables.
18990         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
18991         the tests in the same order as the C++ class declaration.
18992         (test_paddr_operator_functions): Ditto.
18993         (test_paddr_overloaded_functions): Ditto.
18994         (test_paddr_hairy_functions): Use demangler formatting variables.
18995         Add reference to gdb/19 for related tests.
18996         (do_tests): Call probe_demangler.
18997
18998 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
18999
19000         * gdb.c++/templates.cc (printf): Remove unused function definition.
19001
19002 2001-01-26  Felix Lee  <flee@redhat.com>
19003
19004         * sid.exp (sid_exit): Pass host, not target, to remote_close.
19005
19006 2001-01-25  matthew green  <mrg@redhat.com>
19007
19008         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19009         up sid.
19010         (sid_exit): Call `remote_pop_conn' after GDB is gone.
19011
19012 2001-01-25  matthew green  <mrg@redhat.com>
19013
19014         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19015         Deprecate $sid_spawn_id.
19016         (sid_exit): Remove code necessary only for `spawn.'
19017
19018 2001-01-25  matthew green  <mrg@redhat.com>
19019
19020         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19021
19022 2001-01-28  Michael Chastain  <chastain@redhat.com>
19023
19024         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19025         to call when tests fail.  It takes gdb out of the overloaded
19026         function choice menu back to the main prompt, so that the test
19027         program stays synchronized.
19028         (set_bp_overloaded): New proc to collect all the common
19029         code for setting a breakpoint on an overloaded name.  Calls
19030         take_gdb_out_of_choice_menu when needed.
19031         (menu_overload1arg): New variable to collect the repeated
19032         instances of the expected menu for an overloaded name.  Change
19033         the regular expression to handle changes in g++ type encoding:
19034         "void" can be either "void" or "", and "unsigned int" can be
19035         either "unsigned int" or "unsigned".
19036         (continue_to_bp_overloaded): Change regular expressions to handle
19037         changes in g++ type encoding.
19038         (no proc): Call take_gdb_out_of_choice_menu when needed.
19039         Remove redundant calls to "info break".  Accept either "canceled"
19040         or "cancelled".  Change regular expressions in "info break"
19041         calls to handle changes in g++ type encoding.  Give all tests
19042         unique strings.
19043
19044 2001-01-17  Ben Elliston  <bje@redhat.com>
19045
19046         * config/sid.exp: New file.
19047
19048 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
19049
19050         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19051
19052 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
19053
19054         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19055         Add a RE to accept a non-ascii char if one is ever presented.
19056
19057 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
19058
19059         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19060
19061 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
19062
19063         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19064         in regexp.  One '\' does not suffice on Linux.
19065
19066 2000-12-09  Michael Chastain  <chastain@redhat.com>
19067
19068         * gdb.base/break.exp (test_clear_command): Use a marker function
19069         rather than 'main' for the test function.  Also move this
19070         test to an execution point where the marker function names are
19071         guaranteed to be bound to functions.  (Executing tests after a
19072         'finish' from main runs into name conflicts with local names
19073         in __libc_start_main).
19074
19075 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
19076
19077         * gdb.base/finish.exp: New test for gdb's "finish" command.
19078         * gdb.base/return2.exp: New test for gdb's "return" command.
19079         * gdb.base/return2.c: New source file for above.
19080
19081 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
19082
19083         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19084         * gdb.base/miscexprs.exp: Ditto.
19085         * gdb.base/pointers.exp:  Ditto.
19086         * gdb.c++/derivation.exp: Ditto.
19087         * gdb.c++/local.exp:      Ditto.
19088         * gdb.c++/namespace.exp:  Ditto.
19089         * gdb.c++/overload.exp:   Ditto.
19090         * gdb.c++/ref-types.exp:  Ditto.
19091
19092 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
19093
19094         * gdb.base/constvars.exp: Test result of "up" command.
19095         * gdb.base/miscexprs.exp: Ditto.
19096         * gdb.base/pointers.exp:  Ditto.
19097         * gdb.base/scope.exp:     Ditto.
19098         * gdb.c++/derivation.exp: Ditto.
19099         * gdb.c++/local.exp:      Ditto.
19100         * gdb.c++/namespace.exp:  Ditto.
19101         * gdb.c++/overload.exp:   Ditto.
19102         * gdb.c++/ref-types.exp:  Ditto.
19103
19104 2000-11-22  Michael Chastain  <chastain@redhat.com>
19105
19106         * mips_pro.exp: Accept either "middle -> top -> main" or
19107         "middle -> main" in the backtrace, because gcc can optimize
19108         tail calls to jumps.  Remove setup_xfail for the hppa case.
19109         Add a comment with the original warning messages from PR 3016,
19110         which was filed in 1993, to preserve them for posterity.
19111
19112 2000-11-17  Nick Duffek  <nsd@redhat.com>
19113
19114         * lib/gdb.exp (gdb_test): Override timeout with board info.
19115
19116 2000-11-17  Nick Duffek  <nsd@redhat.com>
19117
19118         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
19119         the second kill and detach messages.
19120
19121 2000-11-17  Nick Duffek  <nsd@redhat.com>
19122
19123         * configure.in: Add AC_EXEEXT.
19124         * configure: Regenerate.
19125         * Makefile.in (just-check): Export EXEEXT.
19126         * lib/gdb.exp ($EXEEXT): Import from environment.
19127         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
19128         expect "maint dump-me" on Cygwin.
19129         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19130         $EXEEXT.
19131
19132 2000-11-17  Nick Duffek  <nsd@redhat.com>
19133
19134         * gdb.base/break.exp: Test backtrace and finish from called
19135         function on all platforms, not just HP-UX.
19136
19137 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
19138
19139         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19140         code from gdb_target_monitor, so it can be used independantly
19141         for gdbserver.  Also comment out an unnecessary PUTS.
19142
19143 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
19144
19145         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19146         * gdb.base/corefile.exp: Expect the message "Program is being
19147         debugged already" when we send the "corefile" command, since
19148         the preceeding gdb_load may have connected gdb to a remote target.
19149         * gdb.base/display.exp: Disable hardware watchpoints if new
19150         board info variable "no_hardware_watchpoints" is true.
19151         Replace single-letter commands with more readable ones.
19152         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19153         if new board info variable "no_hardware_watchpoints" is true.
19154         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19155         to see if stdio (printf) testing is possible.
19156         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19157         board info variable "no_hardware_watchpoints" is true.  Use new
19158         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19159
19160 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
19161
19162         From Orjan Friberg  <orjanf@axis.com>:
19163         * gdb.base/printcmds.exp: Escape curly braces followed by a number
19164         in array print pattern match.
19165
19166 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
19167
19168         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19169         spelling "cancelled" to U.S. spelling "canceled" to match changes
19170         made to gdb.
19171         * gdb.c++/ovldbreak.exp: Ditto.
19172
19173 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
19174
19175         * gdb.base/callfuncs.c (main):  Moved to end of file, call
19176         t_double_values to initialize the FPU before inferior calls are made.
19177         * gdb.base/callfuncs.exp:  Test for register preservation after calling
19178         inferior functions.  Add tests for continuining, finishing and
19179         returning from a stop in a call dummy.
19180
19181 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
19182
19183         * gdb.base/commands.exp: Break up long lines, and re-indent.
19184
19185 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
19186
19187         * config/gdbserver.exp:  Rewritten from the ground up, to make it
19188         compatible with the current dejagnu tree, and to make it work with
19189         the new "gdbserver" in libremote.
19190
19191 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
19192
19193         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19194         * gdb.base/varargs.exp: Skip entire test if no printf support.
19195         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19196         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19197
19198 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
19199
19200         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
19201         no floating point support.
19202         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
19203         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19204         * gdb.base/call-rt-st.exp: Ditto.
19205         * gdb.base/call-strs.exp: Ditto.
19206
19207 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
19208
19209         * gdb.base/sizeof.c: include <stdio.h>.
19210
19211         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19212         'finish', otherwise uncaptured gdb_prompt would potentially
19213         throw remaining test points out of sync.
19214
19215 2000-07-26  Scott Bambrough <scottb@netwinder.org>
19216
19217         * gdb.base/recurse.exp: Run tests for all targets.
19218         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19219         gnu-oldld case on ARM.
19220         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19221         for ARM targets.
19222
19223 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
19224
19225         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19226         * gdb.java/configure: Rebuild.
19227
19228 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
19229
19230         * gdb.java/jv-exp.exp: New file.
19231
19232 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
19233
19234         * configure: Rebuilt.
19235         * configure.in (configdirs): Add gdb.java.
19236         * gdb.java/jmisc.java: New file.
19237         * gdb.java/jmisc.exp: New file.
19238         * gdb.java/Makefile.in: New file.
19239         * gdb.java/configure: Rebuilt.
19240         * gdb.java/configure.in: New file.
19241         * lib/java.exp: New file.
19242
19243 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19244
19245         * gdb.base/exprs.exp: Test casts to a pointer including over and
19246         underflow.
19247
19248 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19249
19250         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
19251         and the compilers sizes.
19252
19253 2000-07-09  Nick Duffek  <nsd@redhat.com>
19254
19255         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19256         (use_methods): New function.
19257         (main): Call use_methods().
19258         * gdb.c++/classes.exp (test_method_param_class): New procedure.
19259         (do_tests): Call test_method_param_class.
19260
19261 2000-07-09  Nick Duffek  <nsd@redhat.com>
19262
19263         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19264         spelling.
19265         (test_enums): New procedure.  Move enum tests from end of script
19266         to here.  Set breakpoint on function name instead of line number.
19267         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19268         (enums2): New marker function.
19269         (enums1): New function.
19270         (main): Call enums1().  Move enum tests to enums1().
19271
19272 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19273
19274         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19275         compile/link program.  Update line numbers.
19276         * gdb.asm/d10v.inc: Define ``startup''.
19277         * gdb.asm/asmsrc1.s: Add definition of _start.
19278
19279 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19280
19281         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19282
19283 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19284
19285         * gdb.base/maint.exp: Add 'maint print architecture' item to output
19286         of 'help maint print' command.
19287
19288 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19289
19290         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19291         they use gdb_expect_list.
19292
19293 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19294
19295         * gdb.base/commands.exp: Use ``set remote
19296         memory-read-packet-size'' instead of ``set endian big'' to test
19297         long commands.
19298
19299 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
19300
19301         * gdb.c++/templates.exp (do_tests): Make all of these work under
19302         g++, and stop skipping them.
19303
19304         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19305         work under g++.
19306
19307         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19308         initialization.
19309
19310 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19311
19312         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19313         the regular expression: accept an (almost) arbitrary sequence of
19314         "frames-invalid" and "breakpoints-invalid" messages both before
19315         and after the "starting" message.
19316
19317 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19318
19319         * gdb.c++/local.exp: This test has never been known to work with g++.
19320
19321 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
19322
19323         * gdb.base/annota1.exp (annotate-signal-handler-caller):
19324         Relax the regular expression a little, make it pass on Solaris 8.
19325
19326 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
19327
19328         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19329         a call, do not require that gdb stop on the line after the call.
19330         Instead, it is permissible for gdb to stop on the line of the
19331         call itself.
19332
19333 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
19334
19335         * gdb.base/break.exp (bp on small function, optimized file):
19336         Add a second pass pattern.  The behavior differs here between stabs
19337         and dwarf for one-line functions.  Stabs preserves two line symbols
19338         (one before the prologue and one after) with the same line number,
19339         but dwarf regards these as duplicates and discards one of them.
19340         Therefore the address after the prologue (where the breakpoint is)
19341         has no exactly matching line symbol, and GDB reports the breakpoint
19342         as if it were in the middle of a line rather than at the beginning.
19343
19344 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
19345
19346         * gdb.base/interrupt.exp: Make "pass" message say "send"
19347         rather than "send_gdb" (for consistancy).
19348
19349 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19350
19351         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
19352         * gdb.c++/templates.cc: Properly check for GCC version number.
19353         * lib/compiler.cc: Likewise
19354
19355 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
19356
19357         * gdb.base/break.exp: When compiled with -O2 optimization,
19358         gdb may not stop at the first line of main, due to code motion.
19359
19360 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
19361
19362         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19363         This test depends on parsing the printf output from the target.
19364         Since the sparclet stub doesn't do stdio, this will never work.
19365         * gdb.base/call-rt-st.exp: ditto.
19366         * gdb.base/call-strs: ditto.
19367
19368 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
19369
19370         * gdb.base/miscexprs.exp: make sizeof long array test portable.
19371
19372         * gdb.base/ending-run.exp: After connecting to a remote target,
19373         but before running, the target will appear to be in a random
19374         location.  Specify both a file and a line for breakpoints.
19375         Also, the function that calls main may be called 'init'
19376         rather than 'start'.
19377
19378 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19379
19380         * gdb.base/help.exp: Update output for add-symbol-file command.
19381
19382 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
19383
19384         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19385         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19386
19387 2000-04-07  J.T. Conklin  <jtc@redback.com>
19388
19389         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19390
19391         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19392
19393 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
19394
19395         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19396         values that can be represented exactly.
19397         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19398         above change, and to not check against the directory part of the source
19399         file name.
19400         (step into print_long_arg_list): Likewise.
19401         (print print_small_structs from print_long_arg_list): Likewise.
19402         (print print_long_arg_list): Likewise.
19403
19404 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19405
19406         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
19407
19408 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19409
19410         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19411
19412 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
19413
19414         * gdb.base/commands.exp (deprecated_command_test): Add test for
19415         deprecate with no arguments.
19416
19417 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
19418
19419         * gdb.base/break.exp: Add new test for setting breakpoints on
19420         optimized code so we can test breakpoints work even when function
19421         prologues may be optimized away
19422
19423 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19424
19425         From David Whedon <dwhedon@gordian.com>
19426         * gdb.base/commands.exp : Added command deprecator tests.
19427
19428 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
19429
19430        * gdb.base/help.exp: Added test for new apropos command.
19431
19432 2000-03-21  Kevin Buettner <kevinb@redhat.com>
19433
19434         * gdb.base/pointers.c (usevar): New function.
19435         (main): Make sure that global variables v_int_pointer2, rptr,
19436         and y are all referenced someplace in the program by calling
19437         usevar() on them.  [Some linkers delete symbols which are
19438         never referenced.  The space remains, but there's no way to
19439         get a (symbolic) handle on the variable from the debugger.]
19440
19441 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19442
19443         * gdb.base/printcmds.c: Add typedeffed arrays.
19444
19445         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
19446         procedure to test arrays that are typedef'd.
19447
19448 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
19449
19450         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
19451         the library directories.
19452
19453 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19454
19455         * configure.in (configdirs): Add sub directory gdb.mi.
19456         * configure: Re-generate.
19457
19458         * gdb.mi: New directory.
19459
19460 2000-02-25  Scott Bambrough <scottb@netwinder.org>
19461
19462         * gdb.base/long_long.exp: Correct test suite failure when printing
19463         a long long value as a double on ARM platforms.
19464
19465 2000-02-16  Jim Blandy  <jimb@redhat.com>
19466
19467         * gdb.base/break.exp ("breakpoint line number"): Make sure the
19468         default source file is set properly before running this test.
19469
19470 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19471
19472         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19473         gdbtk/library directory, not in gdbtcl2.
19474
19475 2000-02-04  Jim Blandy  <jimb@redhat.com>
19476
19477         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19478         backslash from regexp pattern.
19479
19480         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19481         procedure.  Use it to run all the "continue to bp overloaded"
19482         tests.  Note that this changes the names of the tests slightly.
19483         If the breakpoint hit message includes a hex PC value, because
19484         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19485         from the real source code, still consider that a pass.
19486
19487         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19488         XFAIL here if the breakpoint message contains a hex address.  Note
19489         similar change on 1999-11-02.
19490
19491         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19492
19493         * gdb.base/ptype.exp: Establish a default source file before
19494         calling get_debug_format.
19495
19496 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19497
19498         * gdb.base/watchpoint.exp: Remove duplication of test messages.
19499
19500 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19501
19502         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19503         of successive stepi commands -- while in the prologue we should see
19504         the function entry bracket.
19505
19506 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19507
19508         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19509         reach __change_mode() when stepping through the end of main().
19510
19511 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19512
19513         * gdb.base/default.exp: Fix expected pattern.
19514         * gdb.base/help.exp: Same.
19515
19516 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19517
19518         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19519         Don't use xfail's because that affects only the following test.
19520
19521         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19522         solaris or linux.
19523
19524         * gdb.base/selftest.exp: Update to reflect changes to main.c.
19525
19526 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
19527
19528         * gdb.base/display.exp: Some yacc parsers like to say
19529         "A syntax error" rather than "A parse error".  Accept both.
19530
19531 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19532
19533         * gdb.base/default.exp: Remove OS dependent string from "target
19534         remote" test.
19535         * gdb.base/help.exp: Same for "help target remote" test.
19536
19537 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19538
19539         From Jim Kingdon <kingdon@redhat.com>:
19540
19541         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19542         prompt (cleanup rather than necessity, but still might keep output
19543         from spilling to next test).
19544
19545 2000-01-02  Fred Fish  <fnf@cygnus.com>
19546
19547         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19548         AIX, which defines them in <sys/types.h>.
19549
19550 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
19551
19552         * gdb.base/default.exp: Match arm* etc instead of arm in "info
19553         float" test.
19554
19555 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
19556
19557         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19558
19559         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19560         outermost frame disallowed".
19561
19562 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19563
19564         * gdb.base/setvar.exp: New tests for setting the value of a struct
19565         with a constant list.
19566
19567 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19568
19569         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19570         require the user to type a cast before setting the value of a struct.
19571
19572 1999-12-06  Jim Blandy  <jimb@cygnus.com>
19573
19574         * gdb.base/default.exp: Expect the new 'info float' command on
19575         all i386 platforms.
19576
19577         * gdb.threads/linux-dp.exp: Expand our ability to recognize
19578         LinuxThreads libraries that don't support debugging.
19579
19580 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19581
19582         * gdb.base/remote.c: Fill the buffer with truely random data.
19583         Change the buffer type to ``unsigned char'' to simplify size
19584         arithmetic.
19585
19586         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
19587         stub only handles 400-1 byte packets.  Verify that the download
19588         worked.
19589
19590 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19591
19592         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19593         tests, using UNRESOLVED for the untested cases.  Also, does not wait
19594         for a timeout if the prompt was received before a recognizable pattern.
19595
19596 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19597
19598         * lib/gdb.exp (gdb_expect_list): Fix spelling.
19599
19600 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19601
19602         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19603         watchpoints.
19604
19605 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
19606
19607         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19608
19609         * gdb.c++/local.exp: Be more flexible in recognizing local class
19610         name mangling.  Don't allow horribly truncated method names.
19611         * gdb.c++/derivation.exp: Expect protected inheritance.
19612         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19613         * gdb.c++/virtfunc.exp: Likewise.
19614         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
19615         when printing a nested enum.
19616
19617 1999-11-22  Jim Blandy  <jimb@cygnus.com>
19618
19619         * gdb.base/step-test.exp: Properly await GDB's response to setting
19620         a breakpoint on the call to large_struct_by_value.
19621
19622         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19623         just because we have debug info for the `start' function.
19624
19625 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
19626
19627         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19628         "Unknown signal" messages, which indicate (on LinuxThreads) that
19629         GDB doesn't know how to debug threads on this system.  This is
19630         better than hanging while philosopher 0 dumps chatter into gdb.log.
19631
19632 1999-11-18  Tom Tromey  <tromey@cygnus.com>
19633
19634         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19635
19636 1999-11-18  Fred Fish  <fnf@cygnus.com>
19637
19638         * gdb.base/coremaker2.c: Add sample program for generating
19639         cores that is more self contained than coremaker.c.  Eventually
19640         I'll add more code to this and tie it into the testsuite.
19641
19642 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
19643
19644         * gdb.base/dollar.exp: Remove, now in gdb.hp.
19645
19646 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
19647
19648         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19649         from $srcdir/lib/.
19650         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19651         and gdb.c++/.
19652
19653         * gdb.c++/derivation.exp: remove redundant get compiler info code.
19654
19655         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19656         'continue with watch' test point.
19657
19658 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
19659
19660         Merged from p2linux-990323-branch:
19661
19662         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19663
19664 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19665
19666         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19667         {limit,fixed}''.  Test ``set download-write-size''.
19668
19669 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19670
19671         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19672         gdb_expect_list.
19673
19674 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19675
19676         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19677
19678 1999-11-03  Mark Salter  <msalter@cygnus.com>
19679
19680         * gdb.base/break.exp: Fix "stub continue" pattern.
19681
19682 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
19683
19684         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19685
19686 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
19687
19688         * gdb.base/display.exp ("finish"): Add timeout clause.
19689
19690         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19691         plain prompt clause, so this doesn't have to time out in order to
19692         fail.
19693
19694         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19695         breakpoint hit messages include an address.
19696
19697         * gdb.base/display.exp: Don't forget to escape parens in regular
19698         expressions.  Unix regexp notatation sucks.
19699
19700 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19701
19702         * gdb.base/annota1.exp: Test for annotate-signalled: change output
19703         order for 'signalled' message.
19704
19705 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
19706
19707         From Jimmy Guo  <guo@cup.hp.com>:
19708         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19709         * gdb.base/annota1.c: Add code for tests to work with.
19710
19711 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
19712
19713         * gdb.base/remote.exp: New test for remote downloading settings.
19714         * gdb.base/remote.c: New file with large .data.
19715
19716 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
19717
19718         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19719         for LinuxThreads support, merged from the Code Fusion branch.
19720
19721 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19722
19723         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19724         containing exp_continue into a while within an expect.  Don't
19725         attempt a start more than three times.  Check return value from
19726         gdb_load.
19727
19728 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19729
19730         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19731         a pass case.
19732
19733 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
19734
19735         * gdb.base/break.c (main): Added a statement that we can step
19736         off of.
19737         * gdb.base/break.exp: Added tests for setting a breakpoint
19738         at an offset and stepping onto a breakpoint.
19739
19740 1999-10-01  Fred Fish  <fnf@cygnus.com>
19741
19742         * gdb.base/help.exp (help add-symbol-file): Update to match current
19743         gdb output.
19744
19745 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
19746
19747         * gdb.base/break.exp: Code locations are in hex, don't forget!
19748         (For HP-UX.)
19749
19750 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
19751
19752         * condbreak.exp: Use break.c as test program.
19753         * condbreak.c: Remove, redundant with break.c.
19754
19755 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
19756
19757         * config/monitor.exp (gdb_target_monitor): Disable X- and
19758         Z-packets if the target needs it.
19759
19760 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
19761
19762         * gdb.c++/overload.exp: Added tests for listing overloaded
19763         functions with function pointers in the arg, explicitly calling
19764         out the version you want.
19765
19766 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
19767
19768         * long_long.exp: Add variations of test cases that work for
19769         targets with 16-bit ints and 32-bit doubles.
19770
19771 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
19772
19773         * break.c (main): Compare a possibly-uninitialized argc with an
19774         unlikely value that fits in 16 bits.
19775
19776 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
19777
19778         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19779         0xfeeb, don't want negative numbers if ints are 16 bits.
19780
19781         * lib/gdb.exp (skip_cplus_tests): New proc.
19782         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19783         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19784         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19785         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19786         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19787         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19788         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19789         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19790
19791         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19792
19793 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
19794
19795         * gdb.base/corefile.exp (up): Allow a parameter to appear
19796         in the frame that we're going up to.
19797
19798         From Jim Blandy <jimb@cygnus.com>:
19799
19800         * gdb.base/default.exp (info float): Expect some output now.
19801
19802         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19803         returning floating-point values to fail on the x86.
19804         * gdb.base/callfwmall.exp (do_function_calls): Same.
19805
19806         * gdb.base/list.exp (test_listsize): Correct expectations for
19807         listing line 1 with listsize 2.  Also, listing a single line
19808         works now, as does listing three lines.  [Kevin's note: There
19809         were a number of other cases fixed too where the expectations
19810         differed...]
19811
19812 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
19813
19814         * gdb.base/selftest.exp: Add case for when version prints as
19815         constant string instead of char pointer.
19816
19817 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
19818
19819         * gdb.base/ending-run.exp: Add Solaris case for what happens when
19820         stepping out of main.
19821
19822         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19823         G++ used.
19824
19825         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19826         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19827
19828         * gdb.c++/ovldbreak.exp: Update match string in test that
19829         includes a warning of multiple breakpoints.
19830
19831 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
19832
19833         * gdb.base/display.exp: Improve precision of step-after-finish
19834         added yesterday.
19835
19836         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19837         test.
19838
19839         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19840         configs when using G++, not just hppa*.
19841
19842 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19843
19844         * gdb.base/async.c: New file.
19845         * gdb.base/async.exp: New file.
19846
19847 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
19848
19849         * gdb.base/break.exp: Tweak PA specific tests to properly handle
19850         PA64.
19851
19852 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
19853
19854         * gdb.base/display.exp: "finish" can leave us mid-line on many
19855         targets, deal with it.  Add a small constant to main, instead of
19856         1000 since main+1000 may not be a valid address in the target.
19857
19858         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19859         on hpux11.
19860
19861         * gdb.base/attach.exp: Handle another hpux11 error message variant
19862         when attaching to a process that does not exist.
19863
19864 1999-08-19  J.T. Conklin  <jtc@redback.com>
19865
19866         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19867         characters in 'continue to 1241' test.
19868
19869 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
19870
19871         * gdb.base/call-ar-st.exp: Add a shorter match case for the
19872         stop in print_long_arg_list, define and use a whitespace
19873         variable in print_small_structs test, add an XFAIL for Solaris.
19874         * gdb.base/dbx.exp: XFAIL func commands until somebody is
19875         interested enough to fix.
19876
19877 1999-08-13  Keith Seitz  <keiths@cygnus.com>
19878
19879         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19880         (dbx_gdb_load): Remove. Use gdb_load instead, since that
19881         proc knows about targets other than the natives.
19882         (test_assign): Use "gdb_run_cmd" to "run" the target.
19883         Check that we've actually hit the breakpoint at main.
19884         When we attempt to assign a value to a local variable, check
19885         that the variable is in the current scope, i.e., don't use
19886         a test with an empty result.
19887
19888 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19889
19890         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19891         command.
19892
19893 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
19894
19895         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19896         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19897         gdb.compat, gdb.threads-hp.
19898         gdb.hp/configure, gdb.hp/configure.in: New files.
19899         gdb.hp/Makefile.in: Recurse into new subdirs.
19900         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19901         gdb.hp/gdb.objdbg: New directory, tests for debugging info
19902         in object files.
19903         gdb.hp/tools: New directory, aux tools for HP-specific tests.
19904
19905 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
19906
19907         * gdb.base/display.exp: Help expect by putting a newline in the
19908         funky printf, remove a bogus p/a test.
19909
19910 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19911
19912         * gdb.base/display.exp: Make sure that when we say 'run', we are
19913         connected to the target. This is necessary when running not
19914         natively.
19915
19916 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
19917
19918         * gdb.base/step-test.exp: Removed some extraneous messages.
19919
19920         * gdb.base/long_long.exp: Don't run memory examination tests
19921         on little-endian targets (they will need a different set of
19922         results to match).
19923
19924 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
19925
19926         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19927         until somebody decides to fix GDB.
19928
19929         * gdb.base/long_long.c: Stop compiler complaint by specifying long
19930         constant as "ULL".
19931         * gdb.base/long_long.exp: Loosen x/c test, add partial result
19932         matches for a couple x/2 commands.
19933
19934 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
19935
19936         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19937         by merging in ref-types2 tests.
19938         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19939
19940         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19941         * gdb.c++/Makefile.in: Add standard actions.
19942         (EXECUTABLES): Rename from PROGS, update list.
19943         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19944         from gdb.hp.
19945         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19946         foo and bar locals.
19947         * gdb.c++/anon-union.exp: Fix tests to match.
19948         * gdb.c++/classes.exp: Run if HP compiler used, add extra
19949         expect matches to handle output variations.
19950         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19951         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
19952         output, add HP alternatives for new and delete prints.
19953         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
19954         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
19955         * gdb.c++/demangle.exp: Use $style when reporting failure.
19956         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19957         * gdb.c++/inherit.exp: Run if HP compiler used, add some
19958         match alternatives.
19959         * gdb.c++/local.exp: Add match alternatives or xfails for HP
19960         compilers.
19961         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19962         * gdb.c++/method.exp: Add match alternatives.
19963         * gdb.c++/misc.cc: Add bool types.
19964         * gdb.c++/misc.exp: Add tests for bool types.
19965         * gdb.c++/overload.exp: Add xfails.
19966         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19967         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19968         add some more template parameter tests (only for HP currently).
19969         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19970         * gdb.c++/virtfunc.cc: Add return type and value for main.
19971         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19972         match alternatives.
19973
19974 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19975
19976         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19977
19978 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
19979
19980         * gdb.base/signals.exp: Don't expect getting a backtrace from
19981         within a signal handler to fail on Linux.
19982
19983 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
19984
19985         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19986         * lib/gdb.exp: Remove some gratuitious semicolons.
19987         (delete_breakpoints): Increase timeout.
19988         (gdb_expect): Add -notransfer option.
19989         (gdb_test): Use -notransfer option.
19990         (get_compiler_info): Add f77 case.
19991         (get_compiler): New proc, split out from gdb_preprocess, add f77
19992         case.
19993         (gdb_preprocess): Call get_compiler.
19994
19995         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19996         * gdb.base/attach.exp, gdb.base/display.exp,
19997         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19998         gdb.base/long_long.exp, gdb.base/printcmds.exp,
19999         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20000         third arg to gdb_test.
20001         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20002         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20003         HP-UX xfails, add others.
20004         * gdb.base/completion.exp: Reflect name change of self-test.
20005         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20006         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20007         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20008         HP failure number.
20009         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20010         useless HP-UX 10.30 references.
20011         * gdb.base/maint.exp: Loosen matches.
20012         * gdb.base/pointers.c (main): Declare more_code.
20013         * gdb.base/pointers.exp: Match on output of a `next'.
20014         * gdb.base/structs.c: Add prototypes.
20015         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20016         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20017
20018 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20019
20020         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20021         command.
20022
20023 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20024
20025         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20026         Fix run to main failures. Watchpoint can be hardware watchpoint.
20027
20028         * gdb.base/annota1.exp: Clean up some more, in case printf has
20029         debug info.  Deal with lack of signal hanlder info in stack.
20030
20031         From Jim Kingdon  <kingdon@redhat.com>:
20032         * gdb.base/annota1.exp: If printf has debug info, deal with it.
20033
20034 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
20035
20036         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20037         gdb.base/foll-vfork.exp: Don't run for crosses.
20038
20039 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20040
20041         * gdb.base/configure.in: Check for gdbvars.exp instead of
20042         a1-selftest.exp.
20043         * gdb.base/configure: Re-generate.
20044
20045 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
20046
20047         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20048         in trying to run first and name is too long.
20049
20050         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20051         pointers2.c and pointers2.exp, respectively.
20052         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20053         doschk happier.
20054
20055 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
20056
20057         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20058         callfuncs2.c and callfuncs2.exp.
20059
20060         * gdb.base/list.exp: Remove mistaken xfails.
20061         * gdb.base/list0.h: Add optional prototypes.
20062
20063 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
20064
20065         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20066         calling malloc.
20067         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20068         * ptype.exp: Move test for get_debug_format to before its first
20069         use.
20070
20071 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20072
20073         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20074         * gdb.base/annota2.cc, annota2.exp: Move from here.
20075         * gdb.c++/annota2.cc, annota2.exp: To here.
20076         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20077
20078 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20079
20080         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20081         a consistent format.
20082
20083 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
20084
20085         From Jimmy Guo <guo@cup.hp.com> and others at HP:
20086         * lib/gdb.exp (get_compiler_info): Add detection for assorted
20087         HP compilers, also set the globals $true and $false.
20088
20089         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20090         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20091         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20092         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20093         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20094         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20095         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20096         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20097         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20098         whatis.c} Add C++ compatible function definitions and return
20099         types, add includes for library functions.
20100         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20101         * gdb.base/step-test.c (myglob): Rename from glob.
20102         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20103         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20104         files, move here from gdb.hp.
20105         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20106         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20107         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20108         Adjust line numbers in regexps.
20109
20110         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20111         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20112         instead of 0/1.
20113
20114         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20115         foll-vfork.exp: New files, move here from gdb.hp.
20116         * gdb.base/page.exp: New file, test of pagination command.
20117
20118         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20119         recursion test.
20120         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20121
20122         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
20123         gdb.base/solib.exp: Fix compiler invocation process.
20124
20125         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
20126         HP-UX 11, turn off overload resolution explicitly.
20127         * gdb.base/commands.exp: Set argument list explicitly, add
20128         watchpoint test.
20129         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20130         them work.
20131         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20132         expressions properly.
20133         * gdb.base/corefile.exp: Loosen the match slightly.
20134         * gdb.base/default.exp: Allow "Error accessing memory" message
20135         also.
20136         * gdb.base/display.exp: Skip over x/0 j if PA64.
20137         * gdb.base/funcargs.exp: Add xfails for HP-UX.
20138         * gdb.base/interrupt.exp: Ditto.
20139         * gdb.base/langs.exp: Add symbolic matches governed by compiler
20140         in use.
20141         * gdb.base/list.exp: Add xfails for HP-UX.
20142         * gdb.base/long_long.exp: Refine some of the numeric matches.
20143         * gdb.base/mips_pro.exp: Xfail on HP-UX.
20144         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20145         * gdb.base/nodebug.exp: Succeed on more varieties of output.
20146         * gdb.base/opaque.exp: Remove some HP-UX xfails.
20147         * gdb.base/ptype.exp: Succeed on more varieties of output.
20148         * gdb.base/scope.exp: Add xfails for HP-UX.
20149         * gdb.base/sect-cmd.exp: Add more cases.
20150         * gdb.base/setvar.exp: Add xfails for HP-UX.
20151         * gdb.base/shlib-call.exp: Loosen some matches slightly.
20152         * gdb.base/signals.exp: Match on void symbolically.
20153         * gdb.base/step-test.exp: Add case for PA64.
20154         * gdb.base/term.exp: Add exit and restart.
20155         * gdb.base/twice.exp: Clean up after self.
20156         * gdb.base/varargs.exp: Disable overload resolution explicitly.
20157         * gdb.base/whatis.exp: Allow more ways to pass tests.
20158
20159         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
20160         no longer useful.
20161
20162 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20163
20164         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
20165         list of patterns.
20166         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
20167         print_double_array(double_array)", "continuing to breakpoint
20168         1018", "print print_double_array(array_d)" and "continuing to
20169         1034" tests.
20170
20171 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
20172
20173         * Makefile.in: Add empty html and install-html targets.
20174
20175 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
20176
20177         * config/mt-*: Remove, these haven't been used since 1996.
20178
20179 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
20180
20181         * gdb.base/call-strs.c, gdb.base/ending-run.c,
20182         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
20183         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20184
20185 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
20186
20187         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20188         simpler match case for the ptype of the big class.
20189
20190 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20191
20192         * gdb.exp: Fix test for gdb_prompt existence.
20193
20194 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20195
20196         * gdb.exp (gdb_test): Add fail after calls to perror.
20197
20198 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20199
20200         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20201
20202 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20203
20204         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20205
20206 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20207
20208         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
20209         malloc() is linked in.
20210
20211 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20212
20213         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20214         step at end.
20215
20216         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20217
20218 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20219
20220         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
20221
20222 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
20223
20224         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20225         * gdb.base/mips_pro.exp: Likewise.
20226
20227 1999-06-02  Keith Seitz  <keiths@cygnus.com>
20228
20229         * gdb.c++/templates.cc: Change all "new" operators to throw
20230         an exception.
20231         * gdb.c++/cplusfuncs.cc: Likewise.
20232
20233         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20234
20235 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20236
20237         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20238         * gdb.base/ending-run.exp: When stepping out of main, accept a
20239         step into an arbitrary assembler file.
20240
20241 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20242
20243         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20244         "breakpoint-invalid" to be printed.
20245         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20246         number of "frames-invalid" and "breakpoint-invalid" to be printed.
20247         * gdb.base/annota2.cc: Initialize a.x to 0.
20248
20249 1999-05-17  Keith Seitz  <keiths@cygnus.com>
20250
20251         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20252         when "skip_float_tests" set.
20253         Ditto for "print print_double_array(array_d)", "print print_small_structs",
20254         "print print_ten_doubles", and "step into print_long_arg_list".
20255         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20256         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20257         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20258         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20259         "skip_float_tests" is set.
20260         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20261         when "skip_float_tests" set.
20262
20263 1999-05-06  Keith Seitz  <keiths@cygnus.com>
20264
20265         * gdb.base/annota2.cc: Include stdio.h.
20266
20267 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
20268
20269         * gdb.base/crossload.exp: Remove, this has been disabled ever
20270         since BFD stopped including all targets, and cross-GDB gets
20271         plenty of testing anyway.
20272         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20273         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20274         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20275         * gdb.base/README: Remove, was doc for this.
20276         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20277         needed.
20278
20279 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20280
20281         * gdb.base/call-ar-st.exp: Fix one regular expression in test
20282         output.
20283
20284         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20285         * gdb.base/annota2.exp: New file. More annotation tests.
20286         * gdb.base/annota1.c: New file. Source file for annota1.exp.
20287         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20288
20289 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
20290
20291         * config/cfdbug.exp: New file.
20292
20293 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
20294
20295         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20296         Marcus Daniel's and Dale Hawkins's demangler crashes.
20297
20298         * gdb.c++/demangle.exp (test_gnu_style_demangling,
20299         test_lucid_style_demangling, test_arm_style_demangling,
20300         test_hp_style_demangling): Try Tom Tromey's core-dumping
20301         identifier under each demangling style.
20302
20303 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20304
20305         * gdb.c++/demangle.exp: Include the current demangling style
20306         in all test names.
20307         (current_demangling_style): New global variable.
20308         (set_demangling_style, test_demangling_core, test_demangling,
20309         test_demangling_exact): New functions.
20310         (test_gnu_style_demangling, test_lucid_style_demangling,
20311         test_arm_style_demangling, test_hp_style_demangling): Use those,
20312         instead of calling gdb_test and gdb_test_exact directly.
20313         (catch_demangling_errors): New function, which reports errors
20314         signalled by the demangling test functions in an orderly way.
20315         (do_tests): Use catch_demangling_errors.
20316
20317 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
20318
20319         * gdb.base/signals.exp (test_handle_all_print): Use () for
20320         grouping in expressions, not {}.
20321
20322         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
20323         initialized yet.
20324
20325 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
20326
20327         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20328         are listed.
20329
20330 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
20331
20332         * gdb.stabs/weird.exp: Test for CC being defined before
20333         looking at its value.
20334
20335 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
20336
20337         * gdb.base/call-ar-st.exp: Remove stray '#'.
20338         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20339         "short int" and "long int".
20340         * gdb.c++/overload.cc: Cast the string added in the previous
20341         change, to mollify finicky HP compiler.
20342         * gdb.hp/reg-test.exp (testfile): Fix file name.
20343         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20344
20345         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20346         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20347         alternate form of enum ptype.
20348
20349 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
20350
20351         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20352         * gdb.hp/*.exp: Change all to run compiler probe only after
20353         passing skip_hp_tests, so as not to waste time on guaranteed
20354         failure.
20355
20356         * gdb.c++/overload.cc: Pass string instead of char addr, always
20357         init ccpfoo.
20358         * gdb.c++/templates.cc: Fix syntax error.
20359
20360 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20361
20362         * gdb.base/commands.exp: Add test for correct position of '>'
20363         when issuing the 'commands' command after a 'while' or 'if'
20364         command.
20365
20366 1999-03-18  James Ingham  <jingham@cygnus.com>
20367
20368         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20369
20370         * gdb.c++/method.exp: It was testing an uninitialized int on the
20371         stack and assuming it was positive.
20372
20373         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20374
20375         * gdb.base/step-test.exp: Catch a case where finish is broken and
20376         keep it from killing the rest of the tests.
20377         Use gdb_continue_to_end.
20378
20379         * gdb.base/sigall.exp: use gdb_continue_to_end.
20380
20381         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20382
20383         * gdb.base/display.exp: use runto_main, not run.
20384
20385         * gdb.base/default.exp: Check for the current error message in the
20386         r abbreviation test.
20387         Add strongarm to the targets that know info float.
20388
20389         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20390         run which doesn't work with monitors.
20391
20392         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20393
20394         * gdb.base/break.exp: use the gdb_continue_to_end proc.
20395
20396         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20397         program.  Traps the case (in Cygmon) when the program never really
20398         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
20399         more places, so I used my name.  Sorry Mark...
20400
20401         * config/monitor.exp (gdb_target_monitor): added another
20402         target_info parameter: remotebinarydownload.  This will set the
20403         remotebinarydownload flag if this is causing some boards trouble.
20404
20405 1999-03-18  Mark Salter  <msalter@cygnus.com>
20406
20407         * lib/gdb.exp (continue_to_exit): New function.
20408
20409         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20410         * gdb.base/ending-run.exp: Ditto.
20411         * gdb.base/step-test.exp: Ditto.
20412
20413 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
20414
20415         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20416         (suggested by Art Haas <ahaas@neosoft.com>).
20417
20418 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
20419
20420         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
20421
20422 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
20423
20424         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
20425         descriptions of types (short unsigned int vs unsigned short, etc).
20426
20427 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
20428
20429         * gdb.base/call-strs.exp: Don't assume that `step' will step over
20430         a call to strlen; sometimes we do have sources.
20431
20432 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20433
20434         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
20435         character, so GDB won't print garbage after its end.
20436
20437         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20438         breakpoint there instead.  Sometimes GCC emits memcpy to handle
20439         the large structures being passed by value, so we step into that
20440         instead of sum_array_print, which obscures what we're really testing.
20441         * gdb.base/step-test.exp: However, we do want a test that notices
20442         the bizarre steps into memcpy, so do that here.  Add check for
20443         stepping into function calls that pass large structures by value.
20444         ("Is that a noun clause, or are you just happy to see me?")
20445         Remove all references to specific line numbers.
20446         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20447         New type and function.
20448         (main): Call large_struct_by_value, passing it a large struct by value.
20449         * lib/gdb.exp (gdb_get_line_number): New function.
20450
20451         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20452         more portable.
20453
20454 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20455
20456         * lib/gdb.exp: Doc fixes.
20457
20458 1999-03-05  Nick Clifton  <nickc@cygnus.com>
20459
20460         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20461
20462 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
20463
20464         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20465         commands.  They're not germane to this test, and they don't work
20466         that way on remote targets.
20467
20468 1999-03-01  James Ingham  <jingham@cygnus.com>
20469
20470         * Changelog entries merged over from gdb development branch.
20471
20472        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
20473
20474                * lib/gdb.exp (gdbtk_analyze_results): Generic function
20475                for outputting results of test run.
20476
20477         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
20478
20479                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20480
20481 1999-02-25  Felix Lee  <flee@cygnus.com>
20482
20483         * lib/gdb.exp (debug_format): initialize
20484
20485 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
20486
20487         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20488         * gdb.base/call-rt-st.c: Ditto.
20489
20490 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
20491
20492         * gdb.threads/pthreads.exp (horiz): New variable.
20493         (test_startup): Fix regexps that capture thread numbers.
20494
20495 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
20496
20497         * gdb.base/smoke.exp: Disambiguate two test case names (both
20498         called ``print'').
20499
20500 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20501
20502         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20503         compilation.
20504
20505 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20506
20507         * gdb.base/miscexprs.exp: Change patterns to match GDB's
20508         actual output formatting.
20509         * gdb.base/smoke.exp: GDB removes leading 0's.
20510         * gdb.base/volatile.exp: Don't check type of remuneration;
20511         that variable is no longer defined in constvars.c.
20512         * gdb.base/step-test.c (main): Exit with explicit exit code.
20513         * gdb.base/step-test.exp: Remove two nexti checks--they are
20514         not portable.
20515
20516 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20517
20518         * gdb.base/help.exp ("help delete display"): Fix test to match
20519         gdb's output.
20520
20521         * gdb.base/long_long.c (known_types): Initialize values to zero.
20522         * gdb.base/long_long.exp: Step one more line
20523         so 'dec' is initialized in "get to known place".  GDB removes
20524         leading zeros.  Explicitly ask for hex formatting.  Use
20525         unique test case names.
20526
20527 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20528
20529         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20530
20531         * gdb.c++/method.exp: Add missing close brace.
20532
20533 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
20534
20535         * gdb.base/maint.exp: Use 'set height 0' to disable page
20536         prompting, not 'set height 400'.
20537
20538         Fix a bunch of timeouts.
20539         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20540         four separate tests, so expect doesn't take forever to match a ton
20541         of text against a regexp with lots of .* forms.
20542         ("maint print psymbols", "maint print symbols"): Make some of
20543         these greps more selective, so that expect doesn't try to wade
20544         through huge piles of output and time out.
20545
20546         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20547
20548         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20549         tests: one which doesn't expect shlib events to be reported, and
20550         another which does, but is XFAIL for all platforms other than
20551         HP/UX.
20552
20553         * gdb.base/break.exp: Teach the test suite that the `catch
20554         fork', `catch vfork', and `catch exec' commands produce error
20555         messages on platforms that don't provide these features.
20556
20557 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20558
20559         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20560         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20561         (shortening names from solib_threshold.exp etc), won't run on
20562         anything but HP-UX for the foreseeable future.
20563         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20564         reflect move.
20565
20566 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
20567
20568         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20569         gdb.trace/Makefile.in (clean): Remove all test executables.
20570
20571 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
20572
20573         * gdb.base/shlib-call.exp: add test cases to verify that gdb
20574         successfully re-sets breakpoints in shared libraries.
20575         * gdb.base/shmain.c (main): return 0, don't fall off the end.
20576
20577 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20578
20579         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20580         and compiled w/o GCC.
20581
20582         * gdb.hp/watch-cmd.exp: ditto.
20583
20584         * gdb.hp/watch-hp.exp: ditto.
20585
20586         * gdb.hp/xdb1.exp: ditto.
20587
20588         * gdb.hp/xdb2.exp: ditto.
20589
20590         * gdb.hp/dbx.exp: ditto.
20591
20592 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
20593
20594         * constvars.c: Remove C++-isms.
20595         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20596         with GCC.
20597
20598 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
20599
20600         The following changes are part of the HP merge.
20601
20602         * gdb.base/break.exp: new tests to verify that catchpoints for
20603         fork, vfork, and exec don't trigger inappropriately.
20604
20605         * gdb.base/opaque.exp: compile one file at a time, then link.
20606
20607         * gdb.base/signals.exp: be more restrictive about which hppa
20608         systems receive a setup_xfail.  new tests.
20609
20610         * gdb.base/solib_threshold.build: new file.
20611         * gdb.base/solib_threshold.exp: new file.
20612         * gdb.base/solib_threshold.link_opts: new file.
20613         * gdb.base/solib_threshold.mk: new file.
20614         * gdb.base/gen_solib_threshold.c: new file.
20615
20616         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20617         tests.  New tests for enums inside classes.
20618
20619         * gdb.c++/compiler.cc: indicate support of template debugging.
20620
20621         * gdb.c++/demangle.exp: run hp style demangling tests.
20622
20623         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20624         tests.
20625
20626         * gdb.c++/misc.cc: changes to support new tests.
20627
20628         * gdb.c++/templates.cc: changes to support HP's compiler; changes
20629         to support new tests.
20630
20631         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20632         gcc, then skip these tests.
20633
20634 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
20635
20636         The following files are part of the HP merge; some had longer
20637         names at HP, but have been renamed to be no more than 14
20638         characters in length.
20639
20640         * gdb.hp/ambiguous.cc: new file.
20641         * gdb.hp/ambiguous.exp: new file.
20642         * gdb.hp/attach.exp: new file.
20643         * gdb.hp/attach2.exp: new file.
20644         * gdb.hp/classes-hp.exp: new file.
20645         * gdb.hp/ctti.exp: new file.
20646         * gdb.hp/ctti-add.cc: new file.
20647         * gdb.hp/ctti-add1.cc: new file.
20648         * gdb.hp/ctti-add2.cc: new file.
20649         * gdb.hp/ctti-add3.cc: new file.
20650         * gdb.hp/dbx.exp: new file.
20651         * gdb.hp/exception.cc: new file.
20652         * gdb.hp/exception.exp: new file.
20653         * gdb.hp/foll-exec.c: new file.
20654         * gdb.hp/foll-exec.exp: new file.
20655         * gdb.hp/foll-fork.c: new file.
20656         * gdb.hp/foll-fork.exp: new file.
20657         * gdb.hp/foll-vfork.c: new file.
20658         * gdb.hp/foll-vfork.exp: new file.
20659         * gdb.hp/inherit-hp.exp: new file.
20660         * gdb.hp/more-steps.exp: new file.
20661         * gdb.hp/namespace.cc: new file.
20662         * gdb.hp/namespace.exp: new file.
20663         * gdb.hp/optimize.exp: new file.
20664         * gdb.hp/pxdb.c: new file.
20665         * gdb.hp/pxdb.exp: new file.
20666         * gdb.hp/quicksort.exp: new file.
20667         * gdb.hp/reg-test.exp: new file.
20668         * gdb.hp/reg-test.s: new file.
20669         * gdb.hp/sized-enum.c: new file.
20670         * gdb.hp/sized-enum.exp: new file.
20671         * gdb.hp/start-stop.exp: new file.
20672         * gdb.hp/templ-hp.cc: new file.
20673         * gdb.hp/templ-hp.exp: new file.
20674         * gdb.hp/thr-lib.c: new file.
20675         * gdb.hp/thr-lib.exp: new file.
20676         * gdb.hp/thr-lib.h: new file.
20677         * gdb.hp/thr-liblib.c: new file.
20678         * gdb.hp/virtfun-hp.c: new file.
20679         * gdb.hp/virtfun-hp.exp: new file.
20680         * gdb.hp/watch-cmd.exp: new file.
20681         * gdb.hp/watch-hp.exp: new file.
20682         * gdb.hp/xdb1.exp: new file.
20683         * gdb.hp/xdb2.exp: new file.
20684         * gdb.hp/xdb3.exp: new file.
20685
20686 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
20687
20688         The following files are part of the HP merge; some had longer
20689         names at HP, but have been renamed to be no more than 14
20690         characters in length.
20691
20692         * gdb.base/ss.h: new file.
20693         * gdb.base/call-ar-st.c: new file.
20694         * gdb.base/call-ar-st.exp: new file.
20695         * gdb.base/call-rt-st.c: new file.
20696         * gdb.base/call-rt-st-exp: new file.
20697         * gdb.base/call-strs.exp: new file.
20698         * gdb.base/ena-dis-br.exp: new file.
20699         * gdb.base/environ.exp: new file.
20700         * gdb.base/long_long.exp: new file.
20701         * gdb.base/sect-cmd.exp: new file.
20702         * gdb.base/shlib-cl2.exp: new file.
20703         * gdb.base/smoke.exp: new file.
20704         * gdb.base/so-impl-ld.c: new file.
20705         * gdb.base/so-impl-ld.exp: new file.
20706         * gdb.base/so-indr-cl.c: new file.
20707         * gdb.base/so-indr-cl.exp: new file.
20708         * gdb.base/varargs.exp: new file.
20709         * gdb.base/volatile.exp: new file.
20710         * gdb.base/whatis-exp.exp: new file.
20711         * gdb.base/display.exp: new file.
20712         * gdb.c++/derivation.exp: new file.
20713         * gdb.c++/local.exp: new file.
20714         * gdb.c++/member-ptr.exp: new file.
20715         * gdb.c++/overload.exp: new file.
20716         * gdb.c++/ovldbreak.exp: new file.
20717         * gdb.c++/ref-types.exp: new file.
20718         * gdb.c++/ref-types2.exp: new file.
20719         * gdb.c++/userdef.exp: new file.
20720
20721 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
20722
20723         * gdb.base/default.exp: Reflect wording change in remote.c.
20724
20725 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
20726
20727         * gdb.base/help.exp: Update to reflect current text.
20728
20729 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
20730
20731         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20732         they're stack variables and contain garbage.
20733         * gdb.c++/anon-union.exp: new file.
20734
20735         The following changes were made by David Taylor
20736         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20737         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20738         in changes by HP.
20739
20740         * gdb.base/bitops.exp: new file.
20741         * gdb.base/default.exp: change expected messages for catch and
20742         info catch tests to reflect HP merge changes.
20743         * gdb.base/enable-disable-break.exp
20744         * gdb.base/ending-run.c: new file.
20745         * gdb.base/long_long.c: new file.
20746         * gdb.base/maint.exp: new file.
20747         * gdb.base/pointers2.exp: new file.
20748         * gdb.base/shlib-call2.exp: new file.
20749         * gdb.base/solib.exp: new file.
20750         * gdb.base/step-test.c: new file.
20751         * gdb.c++/anon-union.cc: new file.
20752         * gdb.c++/local.cc: new file.
20753         * gdb.c++/member-pointer.cc: new file.
20754         * gdb.c++/method.cc: new file.
20755         * gdb.c++/ref-types.cc: new file.
20756         * gdb.c++/ref-types2.cc: new file.
20757         * gdb.c++/userdef.cc: new file.
20758
20759         * gdb.base/scope.exp: compile one file at a time, then link.
20760         * gdb.base/langs.exp: ditto.
20761         * gdb.base/list.exp: ditto.
20762
20763 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
20764
20765         The following changes were made by David Taylor
20766         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20767         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20768         in changes by HP.
20769
20770         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20771         skip tests.  When compiling pass c++ flag to gdb_compile.
20772         * gdb.c++/
20773
20774         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20775         test for on hppa*-*-hpux*; use args to see if c++ was specified.
20776         (skip_hp_tests): new function.
20777         (gdb_preprocess): new function.
20778
20779         * configure.in (hpdir): decide whether to configure gdb.hp.
20780         * configure: regenerated.
20781
20782         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20783         to delete on clean.
20784         (EXECUTABLES): update to reflect new additions.
20785         * gdb.base/commands.exp: update message expected.
20786         * gdb.base/default.exp: add copyright notice.
20787         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20788         * gdb.base/help.exp: update messages to reflect current text.
20789         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20790         targets for recurse tests.
20791         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20792         skip this file.
20793
20794         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20795         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20796         compilation.
20797         * gdb.c++/misc.exp: ditto.
20798         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20799         run the tests.  tell gdb_compile that it's a c++ compilation.
20800
20801         * gdb.threads/pthreads.exp: fix typo in message.
20802
20803         * gdb.base/all-bin.exp: new file.
20804         * gdb.base/arithmet.exp: new file.
20805         * gdb.base/assign.exp: new file.
20806         * gdb.base/completion.exp: new file.
20807         * gdb.base/cond-expr.exp: new file.
20808         * gdb.base/condbreak.exp: new file.
20809         * gdb.base/define.exp: new file.
20810         * gdb.base/dollar.exp: new file.
20811         * gdb.base/environment.exp: new file.
20812         * gdb.base/eval-skip.exp: new file.
20813         * gdb.base/jump.exp: new file.
20814         * gdb.base/logical.exp: new file.
20815         * gdb.base/pointers.exp: new file.
20816         * gdb.base/relational.exp: new file.
20817         * gdb.base/section_command.exp: new file.
20818         * gdb.base/whatis-expr.exp: new file.
20819
20820         * gdb.base/all-types.c: new file.
20821         * gdb.base/call-array-struct.c: new file.
20822         * gdb.base/call-return-struct.c: new file.
20823         * gdb.base/call-strings.c: new file.
20824         * gdb.base/callfuncs2.c: new file.
20825         * gdb.base/condbreak.c: new file.
20826         * gdb.base/constvars.c: new file.
20827         * gdb.base/display.c: new file.
20828         * gdb.base/int-type.c: new file.
20829         * gdb.base/jump.c: new file.
20830         * gdb.base/miscexprs.c: new file.
20831         * gdb.base/pointers.c: new file.
20832         * gdb.base/pointers2.c: new file.
20833         * gdb.base/shmain.c: new file.
20834         * gdb.base/shr1.c: new file.
20835         * gdb.base/shr2.c: new file.
20836         * gdb.base/solib.c: new file.
20837         * gdb.base/solib1.c: new file.
20838         * gdb.base/solib2.c: new file.
20839         * gdb.base/varargs.c: new file.
20840         * gdb.c++/derivation.cc: new file.
20841         * gdb.c++/overload.cc: new file.
20842         * gdb.c++/ovldbreak.cc: new file.
20843         * gdb.hp/attach.c: new file.
20844         * gdb.hp/attach2.c: new file.
20845         * gdb.hp/average.c: new file.
20846         * gdb.hp/compiler.c: new file.
20847         * gdb.hp/compiler.cc: new file.
20848         * gdb.hp/execd-program.c: new file.
20849         * gdb.hp/follow-exec.c: new file.
20850         * gdb.hp/follow-fork.c: new file.
20851         * gdb.hp/follow-vfork-and-exec.c: new file.
20852         * gdb.hp/misc-hp.cc: new file.
20853         * gdb.hp/more-steps.c: new file.
20854         * gdb.hp/optimize.c: new file.
20855         * gdb.hp/quicksort.c: new file.
20856         * gdb.hp/run-hp.c: new file.
20857         * gdb.hp/start-stop.c: new file.
20858         * gdb.hp/sum.c: new file.
20859         * gdb.hp/templates-hp.cc: new file.
20860         * gdb.hp/thread-local-in-lib.c: new file.
20861         * gdb.hp/thread-local-in-lib.h: new file.
20862         * gdb.hp/thread-local-in-lib.lib.c: new file.
20863         * gdb.hp/vforked-program.c: new file.
20864         * gdb.hp/virtfunc-hp.cc: new file.
20865         * gdb.hp/watchpoint-hp.c: new file.
20866         * gdb.hp/xdb.c: new file.
20867         * gdb.hp/xdb0.c: new file.
20868         * gdb.hp/xdb0.h: new file.
20869         * gdb.hp/xdb1.c: new file.
20870
20871 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
20872
20873         The following change was made by Edith Epstein
20874         <eepstein@cygnus.com> as part of a project to merge in changes
20875         originally made by HP; HP did not create ChangeLog entries.
20876
20877         * gdb.c++/demangle.exp: changed the expected output for some
20878         ARM-style mangling -- removed second reference to datatype.
20879         For example, maint demangle __dt__11T1__pt__2_cFv
20880                      T1<char>::~T1<char>(void)
20881         becomes,
20882                      maint demangle __dt__11T1__pt__2_cFv
20883                      T1<char>::~T1(void)
20884
20885         (test_hp_style_demangling): new hp specific demangling test cases.
20886
20887 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
20888
20889         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20890         * gdb.trace/backtrace.exp: Likewise.
20891         * gdb.trace/circ.exp: Likewise.
20892         * gdb.trace/collection.exp: Likewise.
20893         * gdb.trace/deltrace.exp: Likewise.
20894         * gdb.trace/infotrace.exp: Likewise.
20895         * gdb.trace/limits.exp: Likewise.
20896         * gdb.trace/packetlen.exp: Likewise.
20897         * gdb.trace/passc-dyn.exp: Likewise.
20898         * gdb.trace/passcount.exp: Likewise.
20899         * gdb.trace/report.exp: Likewise.
20900         * gdb.trace/save-trace.exp: Likewise.
20901         * gdb.trace/tfind.exp: Likewise.
20902         * gdb.trace/tracecmd.exp: Likewise.
20903         * gdb.trace/while-dyn.exp: Likewise.
20904         * gdb.trace/while-stepping.exp: Likewise.
20905
20906 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20907
20908         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20909
20910 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
20911
20912         From Brendan Kehoe:
20913         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20914         int return types.
20915
20916 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
20917
20918         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20919         remote dos host testing right.
20920
20921 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
20922
20923         * gdb.base/corefile.exp: remove some xfails.
20924
20925 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20926
20927         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20928         have different timestamps.
20929
20930 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20931
20932         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20933         gdb.base/default.exp: Replace "exec" with "executable".
20934
20935 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20936
20937         * gdb.base/default.exp: Change else if to elseif from previous
20938         delta.
20939
20940 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
20941
20942         * gdb.base/default.exp: Add brace missing from previous delta.
20943
20944 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
20945
20946         * gdb.base/default.exp: Support test for info float for all
20947         varieties of arm toolchain.
20948
20949 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
20950
20951         * gdb.trace/*.exp: remove "remote_download" command.
20952
20953 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
20954
20955         * gdb.trace/*.exp: remove -gdwarf from compile.
20956
20957 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
20958
20959         * gdb.trace/configure.in(AC_INIT): typo
20960         * gdb.trace/configure: regenerated
20961
20962 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
20963
20964         * config/m68k-emc.exp: New file.
20965         * lib/<emc-support.exp trace-support.exp}: New files.
20966         * configure.in: add new test directory gdb.trace.
20967         * gdb.trace/{configure configure.in Makefile.in}: New files.
20968         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20969         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20970         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20971         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20972         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20973         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20974         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
20975
20976 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
20977
20978         * gdb.c++/classes.exp: Change all regular expressions to match
20979         arbitrary combinations of newline/carriage-return, so that they
20980         will work equally well on Unix and Windows.
20981         * gdb.c++/inherit.exp: ditto.
20982         * gdb.c++/virtfunc.exp: ditto.
20983
20984 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
20985
20986         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20987
20988 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
20989
20990         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20991         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
20992         to use a0-a3/d0-d3 as needed.
20993
20994 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
20995
20996         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20997         * gdb.disasm/am33.exp: Corresponding changes.
20998
20999 1998-07-11  Felix Lee  <flee@cygnus.com>
21000
21001         * gdb.base/callfuncs.exp: add cmp10 test.
21002         * gdb.base/callfuncs.c (cmp10): new function.
21003
21004 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
21005
21006         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21007         into two parts to get around a synchronization problem in expect.
21008
21009 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
21010
21011         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21012
21013         * configure.in: Add options for gdbtk testsuite.
21014
21015         * configure: Regenerate.
21016
21017         * gdb.gdbtk: New directory to hold gdbtk tests.
21018
21019 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
21020
21021         * gdb.fortran/types.exp:  Escape brackets in expect patterns
21022         for test_float_literal_types_accepted tests.
21023         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
21024         before run test.
21025
21026 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
21027
21028         * am33.exp: Just compile, do not link the testcase.
21029         * am33.s: Add ".am33" pseudoop to force am33 mode.
21030
21031 1998-06-25  Felix Lee  <flee@cygnus.com>
21032
21033         * gdb.base/setshow.exp: make sure $pc is sane.
21034
21035         * gdb.stabs/weird.exp: split expect patterns properly.
21036
21037 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
21038
21039         * gdb.disasm/am33.s: New disassembler testfile for the am33.
21040         * gdb.disasm/am33.exp: Run it.
21041
21042 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
21043
21044         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21045         match processing (and eliminate spurious timeouts when running).
21046
21047 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
21048
21049         * gdb.base/signals.exp (test_handle_all_print): put back Mach
21050         exception test, but conditionalize it on target [mach | gnu].
21051
21052 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
21053
21054         * gdb.base/overlays.exp: fixup compile line for linker script.
21055
21056 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
21057
21058         * gdb.fortran/types.exp: don't guess at float size.
21059
21060 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
21061
21062         * gdb.base/exprs.exp: delete test that depends on int size.
21063
21064 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
21065
21066         * config/sim.exp: Removed checks for target triplets.
21067         (gdb_target_sim): Use gdb,target_sim_options.
21068
21069 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
21070
21071         * gdb.base/reread.exp: New file.
21072         * gdb.base/reread1.c: New file.
21073         * gdb.base/reread2.c: New file.
21074
21075 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
21076
21077         * config/sim.exp: Use 'target sim -sparclite' when running
21078         SPARClite programs.
21079
21080 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
21081
21082         * gdb.base/structs2.exp: New file.
21083         * gdb.base/structs2.c: New file.
21084
21085 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
21086
21087         * gdb.asm/common.inc: New file.
21088         * gdb.asm/d10v.inc: New file.
21089         * asm-source.exp: Pass -I's to gas to find .inc files.
21090         Update line numbers in expected output.
21091         * asmsrc1.s: Rewrite.
21092         * asmsrc2.s: Rewrite.
21093         * configure.in: Create arch.inc symlink.
21094         * configure: Regenerate.
21095         * Makefile.in (distclean): Delete arch.inc.
21096
21097 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
21098
21099         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
21100         (t_enum_value2): ditto
21101         (t_enum_value3): ditto
21102         (main): ditto
21103 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
21104
21105         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
21106         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21107         change.
21108         Use gdb_test instead of send_gdb/gdb_expect sequences.
21109
21110 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
21111
21112         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21113         not void.
21114
21115 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
21116
21117         * gdb.base/branches.c: Code with lots of loops and
21118         subroutines. Used to test gdbs ability to single step through PC
21119         changes, especially to test mips-tdep.c:mips_next_pc
21120
21121 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21122
21123         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21124         more rigorous EGCS C++ error checking.
21125
21126 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21127
21128         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
21129         tests.
21130         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
21131         function when asleep.
21132         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
21133         for i*86 Linux and SVR4 signal handling problems.
21134         Remove linux xfail for `next to handler in signals_tests_1', fixed
21135         by recent infrun.c change.
21136         Limit backtrace to 10 frames to avoid timeout problems with infinite
21137         stack backtraces.
21138         Adjust expect pattern in `handle all print' test to match Apr 28 1997
21139         target.[ch] change.
21140
21141 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
21142
21143         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21144         for a newline from gdb before continuing.
21145         (default_gdb_exit): Just look for y or n.
21146         (gdb_test): Detect abnormal exit from GDB running on DOS; if
21147         it does, fail the rests of the tests in the file.
21148
21149 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
21150
21151         * config/cygmon.exp: New file.
21152
21153 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
21154
21155         * gdb.base/list.exp: Fix problem with "list default lines around
21156         main" test on remote targets.
21157
21158         * gdb.base/scope.exp: Fix problem with filelocal_bss before
21159         run test on remote targets.
21160
21161 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
21162
21163         * gdb.asm: New directory.
21164         * configure.in: Configure it.
21165         * configure: Regenerate.
21166         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21167         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21168
21169 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
21170
21171         * config/mn10300-eval.exp: New file to support MN10300 eval board.
21172
21173 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
21174
21175         * gdb.base/overlays (several files): Merge the two overlay
21176         managers into one.  Change variables (foox, barx, bazx, grbxx)
21177         back into ints but force them to load in their proper sections.
21178
21179 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21180
21181         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
21182         on-chip insn memory and IMAP1 to upper 128k.
21183         (D10VCopy): Handle memory regions crossing 16k boundaries.
21184         (D10VCopy): Transfer data in 32 bit chunks.
21185
21186 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21187
21188         * gdb.base/overlays.c (main): Exit normally when result is
21189         correct.
21190
21191         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21192         map.  Include space for printf in .text segment.
21193
21194         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21195         updated d10v memory VMA/LMA map.
21196         (D10VCopy): Call D10VTranslate.
21197
21198 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21199
21200         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21201
21202         * gdb.base/bar.c (barx, bar): Change variable to small array so
21203         that it won't be put into the .sdata - small data -
21204         section. Update reference.
21205         * gdb.base/baz.c (bazx, baz): Ditto.
21206         * gdb.base/foo.c (foox, foo): Ditto.
21207         * gdb.base/grbx.c (grbxx, grbx): Ditto.
21208
21209         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21210         to be arrays.
21211
21212 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
21213
21214         * gdb.base/overlays.exp: fix up and get working again.
21215         Add tests for backtraces from an overlay function.
21216
21217 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
21218
21219         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21220         "calling function with watchpoint enabled".
21221
21222 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
21223
21224         * gdb.base/break.exp (test_next_with_recursion): Remove
21225         gdb_suppress_tests for d10v-*-*.
21226         * lib/gdb.exp (gdb_suppress_tests): Disable this function
21227         pending review of whether it is useful or not.
21228
21229 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
21230
21231         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21232
21233 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
21234
21235         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21236         * config/dve.exp: New file to support Densan boards.
21237
21238 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21239
21240         * gdb.base/interrupt.exp: Document problem of simulators, signals,
21241         reads and BSD.
21242
21243 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21244
21245         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21246         response.
21247
21248         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21249
21250 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21251
21252         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21253         test.
21254
21255         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21256         target_sizeof_long and target_bigendian_p.
21257         (structs_by_value, structs_by_reference): Check values according
21258         to targets word size and endianess.
21259
21260 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21261
21262         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21263         output.
21264
21265 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
21266
21267         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21268         Update test of set args help to match source change.
21269
21270 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
21271
21272         * gdb.base/default.exp: Expect help system output to be in
21273         alphabetical order.
21274         * gdb.base/help.exp: Ditto.
21275
21276 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21277
21278         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21279         "i*86-pc-linux-gnu*".
21280         * gdb.base/interrupt.exp: Ditto.
21281         * gdb.base/corefile.exp: Ditto.
21282
21283         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21284         define vxworks when building the testcase.
21285
21286         * gdb.base/ptype.exp: Fix testnames to be unique.
21287         * gdb.base/radix.exp: Ditto.
21288         * gdb.base/term.exp: Ditto.
21289         * gdb.base/whatis.exp: Ditto.
21290         * gdb.c++/classes.exp: Ditto.
21291
21292 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
21293
21294         * gdb.base/callfuncs.exp: Fix indentation.
21295
21296         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21297         suppress_flag has been set.
21298         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21299         target feature.
21300
21301 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21302
21303         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21304         the testcase.
21305
21306         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21307         set_debug_traps() and breakpoint().
21308         * gdb.c++/misc.cc (main): Ditto.
21309         * gdb.c++/templates.cc (main): Ditto.
21310         * gdb.c++/virtfunc.cc (main): Ditto.
21311
21312 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
21313
21314         * lib/gdb.exp(gdb_step_for_stub): New function.
21315         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21316         exists, reload the executable and do a "continue" instead of
21317         doing a jump.
21318         (runto_main): Use gdb_step_for_stub.
21319
21320         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21321         tests to have unique names.
21322         * gdb.base/callfuncs.exp: Ditto.
21323         * gdb.base/commands.exp: Ditto.
21324         * gdb.base/default.exp: Ditto.
21325         * gdb.base/help.exp: Ditto.
21326         * gdb.base/list.exp: Ditto.
21327         * gdb.base/opaque.exp: Ditto.
21328         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21329         similar tests.
21330
21331         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21332         * gdb.c++/cplusfuncs.cc: Ditto.
21333         * gdb.c++/virtfunc.cc: Ditto.
21334
21335         * config/monitor.exp: Keep track of the last file we saw, rather
21336         than trying to get the info from gdb.
21337
21338         * gdb.fortran/types.exp: Move comment to previous line.
21339
21340 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
21341
21342         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21343         target mode.
21344
21345 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
21346
21347         From Bob Manson:
21348         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21349         string from GDB when it connects.
21350
21351         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21352
21353 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21354
21355         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21356         if we can't get a debug format from GDB (we may be testing an
21357         older GDB). Use a 10 second timeout when checking for the format.
21358
21359         * gdb.stabs/weird.exp: Fix quoting.
21360
21361         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21362
21363 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21364
21365         * config/arm-ice.exp: New file.
21366
21367 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21368
21369         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21370         until it has been modified to work with the new testsuite.
21371
21372         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21373         testcase won't compile, cause all of the testcases in the file to
21374         fail instead.
21375
21376         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21377         (gdb_clear_suppressed): New procedure.
21378         (gdb_stop_suppressing_tests): Only clear suppress_flag if
21379         it contains a positive value.
21380
21381 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
21382
21383         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21384
21385         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21386
21387 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
21388
21389         * lib/gdb.exp (setup_xfail_format): New function.
21390         (get_debug_format): New function to get debug format.
21391         (debug_format): New global variable to hold last value set
21392         by get_debug_format.
21393         * gdb.base/list.exp: Call get_debug_format and expect some
21394         tests to fail for DWARF 1 and COFF formats.
21395         * gdb.c++/ptype.exp: Ditto.
21396         * gdb.c++/classes.exp: Ditto.
21397         * gdb.c++/cplusfuncs.exp: Ditto.
21398         * gdb.c++/inherit.exp: Ditto.
21399         * gdb.c++/templates.exp: Ditto.
21400         * gdb.c++/virtfunc.exp: Ditto.
21401
21402 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
21403
21404         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21405         host doesn't have a currently-open connection.
21406
21407         * config/sparclet.exp: Cleanups and fixes to make it generic for
21408         any gdb stub target. Handle cases where gdb doesn't respond when
21409         interrupted in a sane fashion.
21410
21411         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
21412         same thing in a totally different way.
21413
21414         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
21415         setting "timeout".
21416         (gdb_start): We set the global gdb_prompt variable in
21417         default_gdb_init now.
21418
21419 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
21420
21421         * gdb.base/printcmds.exp: Fix "check for floating addition"
21422         regexp to accept results within approx +/- .01 of exact value.
21423         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21424
21425 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21426
21427         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
21428         properly.
21429         (gdb_expect): Add optional timeout parameter, and add timeout
21430         value to various calls.
21431         (gdb_suppress_tests): Only give one warning message per group.
21432
21433 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
21434
21435         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
21436         global variables. Handle getting a value for $timeout more
21437         gracefully.
21438
21439 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21440
21441         * lib/gdb.exp: Close connection to remote host if gdb doesn't
21442         initialize.
21443         (default_gdb_init): New procedure; allow gdb_init to be overridden
21444         by a target configuration file.
21445         (gdb_expect): Pass the timeout to remote_expect.
21446
21447         * config/monitor.exp(gdb_load): Fix typo in regexp.
21448
21449 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21450
21451         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21452
21453 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21454
21455         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21456         here. Call gdb_target_exec before rebooting the target, to make
21457         sure the connection to the target is closed.
21458         (gdb_load): Pass the name of the executable to gdb_target_monitor.
21459         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21460         Also detect "Timeout reading from remote" error.
21461
21462         * config/gdbserver.exp: Pass the executable being loaded to
21463         gdb_target_monitor. Don't call gdb_file_cmd here; let
21464         gdb_target_monitor do it.
21465
21466         * gdb.disasm/hppa.exp: Don't use exec_output.
21467
21468 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
21469
21470         * gdb.base/list.exp: If we're debugging a non-native target,
21471         try to set the pc register to point to the start of the
21472         program before doing the first list command.
21473
21474         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21475         test_calls after restarting.
21476
21477         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21478         reloading.
21479
21480         * gdb.base/watchpoint.exp: Fix typo.
21481
21482         * gdb.base/setshow.exp: Check for use_gdb_stub.
21483
21484         * gdb.base/break.exp: Fix continue until exit test for the gdb
21485         stub case.
21486         * gdb.base/langs.exp: Ditto.
21487
21488         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21489         gdb_load_offset. If we weren't given a file to load, figure out
21490         what the current file is and use it.
21491
21492         * config/i386-bozo.exp: New file.
21493
21494 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
21495
21496         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21497         feature.
21498
21499         * config/proelf.exp: New entry.
21500
21501 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
21502
21503         * lib/gdb.exp: Remove spurious .* patterns at the beginning
21504         of regexps.
21505
21506         * gdb.base/watchpoint.exp: Don't run the test_stepping
21507         tests if gdb can't call functions on the target.
21508
21509         * gdb.base/setshow.exp: Don't run the set prompt tests if
21510         the board has gdb_prompt set.
21511
21512 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
21513
21514         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21515         * gdb.base/commands.exp: Likewise.
21516         * gdb.base/setshow.exp: Likewise.
21517
21518 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21519
21520         * config/monitor.exp(gdb_start): Look for gdb_prompt target
21521         feature.
21522
21523         * config/i960.exp: New file.
21524
21525 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21526
21527         * gdb.base/funcargs.exp: Check for gdb,short_int target
21528         feature instead of looking for explicit target triplets.
21529
21530 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
21531
21532         * gdb.base/printcmds.exp: add a couple more tests a la
21533         "p 123DEADBEEF", to check parse_number.
21534         * top.c: change "to enable to enable" to "to enable" in a couple
21535         of help strings.
21536
21537 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
21538
21539         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21540         on the mn10300.
21541
21542 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
21543
21544         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21545         where the test executable is run with explicit args.
21546         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21547
21548 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
21549
21550         * gdb.base/run.c: Use FAKEARGV to build test executable that
21551         does not require a command line arg, since most simulators
21552         don't currently support passing such an arg into the simulated
21553         program.
21554         * gdb.base/commands.exp: Change tests to insert the proper
21555         value as the arg to the first recursive factorial call.  Change
21556         compilation line to define FAKEARGV at compile time.
21557
21558 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
21559
21560         * gdb.base/recurse.exp: Enable these tests for the mn10300.
21561         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21562         function with watchpoint enabled" test.
21563
21564 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21565
21566         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21567         Don't call gdb_test when the command doesn't return to a gdb prompt.
21568
21569         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21570         "Tests restarted" messages.
21571
21572 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
21573
21574         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21575
21576 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
21577
21578         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21579         for INFO SYMBOL; add help tests for OVERLAY commands.
21580         * gdb.base/default.exp: add tests for INFO SYMBOL command;
21581         add tests for OVERLAY commands
21582         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21583         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21584         * gdb.base/sigall.c: add usestubs code frag
21585         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21586
21587 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
21588
21589         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21590         failures.
21591         (gdb_stop_suppressing_tests): Note that tests have restarted.
21592
21593 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21594
21595         * config/h8300.exp: New file.
21596
21597 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21598
21599         * gdb.base/setshow.exp: Check for the existence of a
21600         feature, not its value.
21601
21602 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
21603
21604         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21605
21606         * gdb.base/scope.exp: It's now init0(), not init().
21607
21608         * gdb.base/scope0.c: For now, change init() to be init0().
21609
21610         * config/monitor.exp: Use gdb_serial in preference to serial
21611         or netport.
21612
21613         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21614         and it's not already set.
21615
21616 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21617
21618         * gdb.base/setshow.exp: Only test the run command if the target
21619         isn't using a stub and if it supports argument passing.
21620
21621 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21622
21623         * config/udi.exp(gdb_start): Make sure UDICONF is set
21624         properly before starting gdb.
21625
21626 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
21627
21628         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21629         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21630         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21631
21632 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21633
21634         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21635         specialized code to reboot the board, use remote_reboot instead.
21636
21637         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21638
21639         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21640
21641         * config/monitor.exp: Make sure we disconnect from the target.
21642         Also, try a reboot/reload cycle instead of failing if the
21643         load fails.
21644
21645 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21646
21647         * gdb.base/default.exp: Don't set match_max.
21648         * gdb.base/help.exp: Ditto.
21649         * gdb.base/list.exp: Ditto.
21650         * gdb.base/signals.exp: Ditto.
21651
21652         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21653         set, use remote_ld to download the testcase instead of
21654         the GDB loader.
21655
21656 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21657
21658         * config/vr5000.exp: New file.
21659
21660         * config/monitor.exp(gdb_target_monitor): Add pattern for
21661         "Ending remote" to detect errors in connecting.
21662
21663         * gdb.base/setshow.exp: Add .* within auto language test.
21664
21665         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21666         target feature.
21667
21668         * config/monitor.exp(gdb_load): Check for a failure when loading,
21669         and reboot the board if necessary.
21670
21671         * gdb.base/setvar.exp(test_set): Handle multiple prints within
21672         a set of tests. Remove print.* from the patterns being checked.
21673
21674 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21675
21676         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21677         refer to gdb_spawn_id.
21678
21679         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21680         longer used.
21681         * config/sparclet.exp: Ditto.
21682         * config/sparclet-old.exp: Ditto.
21683         * config/slite.exp: Ditto.
21684         * config/sim.exp: Ditto.
21685         * gdb.base/funcargs.exp: Ditto.
21686
21687         * lib/gdb.exp:Remove references to gdb_spawn_id.
21688         (gdb_expect): Move to remote.exp.
21689
21690 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21691
21692         * config/monitor.exp: Detect the "Couldn't establish connection"
21693         message from GDB.
21694
21695 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
21696
21697         * gdb.base/bitfields.exp: Use runto instead of explicit
21698         gdb_run_cmd/gdb_expect sequences.
21699
21700         * gdb.base/break.exp(text_next_with_recursion): Add match for
21701         gdb_expect call.
21702
21703         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21704         We also need to handle the "A program is being debugged already"
21705         prompt from gdb. Use gdb_test to set the baud rate.
21706
21707         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21708         to 20000. Really. I mean it.
21709
21710 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21711
21712         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21713         fails. If suppress_flag is set, skip perror message about not
21714         being able to send to GDB.
21715         (send_gdb): If suppress_flag is set, don't try to send commands to
21716         GDB.
21717         (gdb_expect): If suppress_flag is set, always fail immediately.
21718         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21719         (gdb_init): Call gdb_stop_suppressing_tests.
21720         (default_gdb_exit): Ditto.
21721         (default_gdb_start): Ditto.
21722
21723         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21724         gdb_stop_suppressing_tests as appropriate.
21725         * gdb.base/break.exp: Ditto.
21726         * gdb.base/callfuncs.exp: Ditto.
21727         * gdb.base/commands.exp: Ditto.
21728         * gdb.base/exprs.exp: Ditto.
21729         * gdb.base/funcargs.exp: Ditto.
21730         * gdb.base/list.exp: Ditto.
21731         * gdb.base/recurse.exp: Ditto.
21732         * gdb.base/scope.exp:  Ditto.
21733         * gdb.base/structs.exp: Ditto.
21734         * gdb.c++/inherit.exp: Ditto.
21735
21736 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
21737
21738         * config/vr4300.exp: New file.
21739
21740         * gdb.*/*.exp: Call gdb_expect instead of expect.
21741
21742         * lib/gdb.exp(gdb_expect): New function.
21743
21744 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21745
21746         * lib/gdb.exp(gdb_init): New function.
21747
21748         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21749         for each individual variable set.
21750
21751         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21752         name.
21753
21754         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21755
21756         * gdb.base/scope.exp: Use gdb_test.
21757
21758         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21759         aborting; the testsuite driver will do that for us (see
21760         gdb_finish). Also, use gdb_test in a few more places.
21761
21762 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
21763
21764         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21765
21766 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
21767
21768         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21769         and "add_tests" are not at the same address.
21770
21771 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
21772
21773         * gdb.base/ptype.exp: Use gdb_test.
21774
21775 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
21776
21777         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21778         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21779         left in.  No longer expect them to fail.
21780
21781         * gdb.stabs/*.mt; Deleted, no longer used.
21782         * gdb.stabs/configure.in: Remove references to target makefile
21783         frags.
21784         * gdb.stabs/configure: Rebuilt.
21785
21786         * gdb.disasm/*.mt: Deleted, no longer used.
21787         * gdb.disasm/configure.in: Remove references to target makefile
21788         frags.  Use "sh3.s" as the unique filename for this directory.
21789         * gdb.disasm/configure: Rebuilt.
21790
21791         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21792         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21793         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21794
21795 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21796
21797         * config/udi.exp: Use mondfe,name instead of remote_host.
21798
21799 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
21800
21801         * gdb.base/watchpoint.exp: Don't expect a failure when calling
21802         a function with a watchpoint enabled on the mn10200.
21803
21804         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21805         before trying to create it!
21806
21807 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
21808
21809         * config/vx.exp: Use hostname instead of netport.
21810
21811         * config/vxworks.exp: New file.
21812
21813         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21814
21815         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21816         gdb before assuming everything worked. Send a ^C if a timeout
21817         occurs.
21818
21819         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21820         $gdb_spawn_id directly.
21821         (gdb_run_cmd): Try _start as well as start. Use the target feature
21822         gdb,start_symbol as the symbol to start from when jumping.
21823
21824 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
21825
21826         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21827         redundant) test.
21828
21829         * gdb.base/recurse.exp: Relax final value test for 'b' so that
21830         it doesn't lose for 16bit integer systems.
21831
21832 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
21833
21834         * gdb.fortran/types.exp: If the target doesn't support "double"
21835         data types, then expect "real" types to only be 4 bytes.
21836
21837         * gdb.c++/virtfunc.exp: Expect failure for virtual function
21838         call tests if the target doesn't support inferior function calls.
21839
21840         * gdb.base/printcmds.exp: Allow minor deviation in FP values
21841         in printf tests.
21842
21843 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
21844
21845         * gdb.base/help.exp: Disable "help set", "help show", and
21846         "help support".  Simplify regexp for "help stack".
21847
21848         * gdb.base/default.exp: Set match_max to 5000 and the timeout
21849         to 60 seconds.  Temporarily set match_max to 15000 around the
21850         "info copying" test.
21851
21852         * gdb.base/nodebug.exp: Don't try to do an inferior function
21853         call if the target doesn't support them.
21854         * gdb.base/printcmds.exp: Likewise.
21855         * gdb.base/setvar.exp: Likewise.
21856         * gdb.base/structs.exp: Likewise.
21857         * gdb.c++/templates.exp: Likewise.
21858         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
21859
21860         * gdb.base/recurse.exp: Enable for the mn10200.
21861
21862         * configure.in: Do configure gdb.stabs directory for *-*-elf
21863         targets.
21864         * configure: Rebuilt.
21865
21866         * gdb.base/break.exp: Check for gdb,noresults before testing
21867         exit status and/or results from the target.
21868         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21869         * lib/gdb.exp: Remove old (now bogus) initialization of
21870         noinferior, noargs, noresults and nosignals.
21871
21872 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21873
21874         * config/sh.exp: New file.
21875
21876         * config/slite.exp: Try to connect multiple times to the board
21877         before rebooting. Only send a "monitor run" if need_monitor_run
21878         is set.
21879
21880         * gdb.base/break.exp: Don't do the "stub continue" test if
21881         the target has gdb_stub set.
21882
21883         * gdb.base/callfuncs.exp: Increase the timeout.
21884
21885         * gdb.base/interrupt.exp: Don't even try to compile the testcase
21886         if the target has gdb,noinferiorio set.
21887
21888         * gdb.base/list.exp: Increase match_max to 10000 characters.
21889
21890         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21891
21892         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21893         target.
21894
21895         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21896
21897 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
21898
21899         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21900         trying to delete the copy of gdb. Catch the file delete so we
21901         don't die if the delete fails; also, the file should be copied to
21902         the host, not to the build.
21903
21904 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21905
21906         * lib/gdb.exp(gdb_test): Surround the result pattern with
21907         parenthesis in case it contains multiple regexps separated
21908         with |.
21909
21910         * gdb.base/watchpoint.exp: Use gdb_test.
21911         * gdb.base/default.exp: Ditto.
21912
21913 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21914
21915         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21916
21917         * gdb.base/scope.exp: Use gdb_test.
21918         * gdb.c++/classes.exp: Ditto.
21919         * gdb.c++/inherit.exp: Ditto.
21920
21921 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21922
21923         * gdb.base/crossload.exp: Don't use execute_anywhere, use
21924         remote_exec instead.
21925         * gdb.base/corefile.exp: Don't be ridiculous.
21926         * gdb.base/*.c: Add missing stub invocations.
21927
21928 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21929
21930         * config/slite.exp: Miscellaneous fixes.
21931
21932         * lib/gdb.exp: Fix runto.
21933
21934         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21935         the target.
21936
21937         * gdb.base/watchpoint.exp: Fix regexp.
21938
21939         * lib/gdb.exp(default_gdb_exit): Add a catch to the
21940         close and wait commands, as the descriptor may now be
21941         invalid. Always call "remote_close host".
21942
21943 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
21944
21945            Major rewrite for testsuite revision.
21946
21947         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21948         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21949         instead of relying on spawn_id to always contain a valid
21950         spawn id.
21951         (get_compiler_info): New procedure to build the ${binfile}.ci
21952         file, instead of replicating this in N different places.
21953         (gdb_compile): New procedure.
21954
21955         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
21956         appropriate arguments) instead of compile. Use gdb_test in a lot
21957         more places.  Use send_gdb instead of send. Always run gdb_start
21958         at the start of a testcase, as this is no longer done magically.
21959
21960         config/*-gdb.exp: Rename without the -gdb suffix.
21961
21962         config/mips.exp: Use remote_close instead of exit_remote_shell.
21963         config/monitor.exp: Use target_info instead of looking at
21964         baud, timeout, etc.
21965         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21966
21967 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21968
21969         * gdb.c++/templates.exp (test_ptype_of_templates),
21970         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21971         Update expect patterns for destructors and assignment operators
21972         to match corresponding c-typeprint.c changes.
21973         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
21974         to destructor breakpoint test, GDB should be able to set the
21975         destructor breakpoint without specifying arguments.
21976
21977 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
21978
21979         * gdb.threads/pthreads.exp: Change result for failure to compile due
21980         to lack of pthreads runtime support from an error to simply an
21981         unsupported test, per dejagnu standards.
21982
21983 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21984
21985         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
21986         where GDB exits to reduce pattern match time.
21987         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
21988
21989         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
21990
21991 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
21992
21993         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21994         * gdb.base/default.exp:   ditto.
21995         * gdb.base/nodebug.exp:   ditto.
21996         * gdb.base/printcmds.exp: ditto.
21997         * gdb.base/ptype.exp:     ditto.
21998         * gdb.base/setvar.exp:    ditto.
21999         * gdb.base/structs.exp:   ditto.
22000         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
22001
22002 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
22003
22004         * configure, */configure: Rebuild with autoconf 2.12.
22005
22006 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
22007
22008         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22009         use new i*86-pc-linux*-gnu quads.
22010         * gdb.base/corefile.exp: Ditto.
22011         * gdb.base/signals.exp: Ditto.
22012         * gdb.base/sigall.exp: Ditto.
22013         * gdb.base/interrupt.exp: Ditto.
22014
22015         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22016         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
22017         RedHat 4.0.
22018
22019         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22020         linux.  This allows the test case to at least compile on latest
22021         linux, but still not run due to missing the threads runtime library.
22022
22023 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22024
22025         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
22026         directory to search gdb directory. Accept and step over conditional
22027         stack alignment code. Consume $prompt in failure cases.
22028         Reset timeout to $oldtimeout instead of some arbitrary value.
22029         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
22030         timeout problems with infinite stack backtraces.
22031         * gdb.base/ptype.exp (ptype struct link, union tu_link):
22032         Accept function parameters for linkfunc member.
22033
22034 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
22035
22036         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22037         (CXXFLAGS): Remove, unreferenced.
22038         (B_OPTIONS): Add for -B options and add code to initialize with
22039         previous -B options and also add -B option to pick up cross compiled
22040         runtime.
22041         (TARGET_INCLUDES): Add for -I options and add code to initialize when
22042         doing cross compiles.
22043         (target_alias): Declare global.
22044         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
22045         to verify that gcc exists in build tree, and if so set CC to that
22046         gcc and to use B_OPTIONS and TARGET_INCLUDES.
22047
22048 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
22049
22050         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22051         ptype test for anonymous union.  Fixup testcase to match
22052         current gcc debug output.
22053
22054 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
22055
22056         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22057         force argument to an unsigned long type.
22058
22059 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
22060
22061         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22062         tests and anonymous union print/ptype tests.
22063         * gdb.base/list.exp (test_forward-search): Increase timeout by
22064         5 minutes for the "search extremely long line" case.
22065         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22066         completely optional and that the pass/fail messages use the command as
22067         the message if that third arg is a null string.
22068         (gdb_test_exact):  Arrange that a null string pattern means match a
22069         null string output rather than any output, which might include random
22070         errors.
22071         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22072         backtrace test.
22073         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22074         always failing and failure is now exposed by gdb.exp changes.
22075
22076 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
22077
22078         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22079         weren't being noted.
22080
22081 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22082
22083         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
22084         * gdb.stabs/weird.exp:  Remove v_comb xfails.
22085
22086 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
22087
22088         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22089                     list.exp scope.exp watchpoint.exp]
22090           Make all timeout error msgs explicitly say "(timeout)".
22091
22092 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
22093
22094         * config/monitor.exp: Increase download timeout to 1000 seconds.
22095
22096 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
22097
22098         * config/m32r.exp: Increase timeout to 120 seconds.
22099
22100 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
22101
22102         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22103         and accept older ordering as obsolescent gcc or gdb.
22104         * gdb.c++/templates.exp: Ditto.
22105         * gdb.c++/virtfunc.exp: Ditto.
22106
22107 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
22108
22109         * gdb.base/coremaker.c: Add code to mmap some data so we
22110         can check that it ends up in the core file.
22111         * gdb.base/corefile.exp: Add test to read mmapped data
22112         from core file.
22113
22114 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
22115
22116         * config/m32r.exp: New file.
22117
22118 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
22119
22120         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
22121         that cflags can contains -gstabs, and work correctly for other tests.
22122
22123 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
22124
22125         * gdb.base/setshow.exp: New file, tests show and set.
22126         * gdb.base/setshow.c:   New file, tests show and set.
22127         * gdb.base/help.exp: Add test for help set|show annotate.
22128         * gdb.base/default.exp: Add test for set|show annotate.
22129
22130 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
22131
22132         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
22133         errors unique.
22134         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
22135         explicitly.
22136
22137 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
22138
22139         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
22140         and width commands.  This is done elsewhere.
22141         * (gdb_start):  Don't call gdb_start_sim here.  That's already
22142         done in gdb_load.  This fixes lots of failures in default.exp.
22143
22144 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
22145
22146         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22147         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22148         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22149         in the same we we treat other failures (since it may be an expected
22150         condition), rather than as an error.
22151         * gdb.base/signals.exp (test_handle_all_print): Revert back to
22152         old test format.
22153
22154 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
22155
22156         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22157         (distclean maintainer-clean realclean): No need to remove files
22158         twice.  Nuke the duplicates.
22159         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
22160         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
22161         Remove config.h along with other config files.
22162
22163 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
22164
22165         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22166         "p func1 ()" and note that rests of tests are skipped.
22167         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
22168         setup_xfails for "print func2::coremaker_local".
22169         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22170         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22171         affected by the previous run test.
22172         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22173         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22174         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22175         "pass int powerset tuple" and "pass modeless int powerset tuple".
22176         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22177         "real write 4" and "real write 8".
22178         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
22179         setup_xfails for "print vs1 after tuple assign 2",
22180         "print \$i after tuple assign 2", and
22181         "print vs2 after tuple assign 2".
22182         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22183         meaningful error message and return -1 so the caller can
22184         suppress further tests and avoid a cascade of errors.
22185
22186 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
22187
22188         * gdb.base/a1-selftest.exp: Tweak tests to account for new
22189         format for printing version.
22190         * gdb.base/default.exp: Ditto.
22191         * gdb.base/interrupt.exp: Fix problem with cascade of
22192         errors if child process dies while calling a function.
22193
22194 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
22195
22196         * Makefile.in (VPATH): Add
22197         * Makefile.in (Makefile, config.status): Fix rules so things get
22198         remade when necessary.
22199
22200 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
22201
22202         * Makefile.in (just-check): Add path to sibling expect dir
22203         to environment variable specified by RPATH_ENVVAR.
22204
22205 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
22206
22207         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22208         (just-check): Add shared library paths for libstdc++, tk,
22209         tcl, bfd, and opcodes to the environment variable specified
22210         in RPATH_ENVVAR.
22211         * configure.in: Add support to recognize --enable-shared flag
22212         and generate correct value for RPATH_ENVVAR.
22213         * configure: Regenerated with autoconf.
22214
22215 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
22216
22217         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22218         include all osf versions.
22219         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22220         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
22221         when target is linux.  When failing to build pthreads test
22222         executable, give more meaningful message.
22223         * gdb.threads/pthreads.c: Hpux also uses old definition of second
22224         arg for pthread_create.
22225
22226 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
22227
22228         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22229         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22230         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22231         and -lpthreads (everybody else).
22232         (test_startup): Fail gracefully if threads are not supported.
22233         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22234         "p/c array_index("abcdef",2)" when not gcc compiled.
22235         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22236         "print func2::coremaker_local" when not gcc compiled.
22237         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22238         "ptype on opaque struct tagname (statically)",
22239         "ptype on opaque struct tagname (dynamically) 1", and
22240         "ptype on opaque struct tagname (dynamically) 2"
22241         for not compiled with gcc.
22242         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22243         backtrace when compiled with gcc.
22244         * lib/gdb.exp (runto_main): Return result of "runto main" rather
22245         than always return success.
22246
22247 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
22248
22249         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22250
22251 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
22252
22253         * gdb.base/structs.exp: Undo last change.
22254
22255 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
22256
22257         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22258         encapsulate all the steps/nexts done during self test, starting
22259         at main, and makes them less sensitive to optimization issues.
22260         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22261         signal handler" test.
22262         * gdb.threads/pthreads.exp: Only run this for native configs.
22263         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22264         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22265         tests.
22266         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22267         for "runto test_calls(void)" test.
22268
22269 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
22270
22271         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22272         and don't expect address info in breakpoint confirmations.
22273
22274 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
22275
22276         * gdb.base/list.exp (test_forward_search): Increase timeout
22277         temporarily by 60 seconds for searching extremely long line,
22278         and then reset to old value when done.  Increase expect input
22279         buffer to 10000.
22280
22281 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
22282
22283         * gdb.base/list.exp (test_forward_search): Fix to handle very
22284         long source line without overflowing expect's input buffer.
22285
22286 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
22287
22288         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22289         "buffer_full".
22290
22291         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22292         "buffer_full".
22293
22294         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22295         "buffer_full".
22296
22297         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22298         "buffer_full".
22299
22300 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
22301
22302         * configure.in (configdirs): Add gdb.threads.
22303         * configure: Regenerated with autoconf.
22304         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22305         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22306         * gdb.threads/configure: New, generated with autoconf.
22307
22308 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
22309
22310         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22311
22312 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
22313
22314         * gdb.base/signals.exp (test_handle_all_print): Test separately for
22315         each signal's status in the output of "handle all print".
22316         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22317         the \r\n sequence that immediately precedes the gdb prompt.
22318         * gdb.base/a1-selftest.exp: Save original timeout and restore
22319         after test.
22320
22321 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
22322
22323         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22324         symbol.
22325
22326 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
22327
22328         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22329
22330 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
22331
22332         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22333         timeout by 60 seconds.
22334
22335 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
22336
22337         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22338         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22339         error return.
22340
22341 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
22342
22343         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22344         gdb initialization, also report how long dejagnu waited.  Restore
22345         old timeout before doing error return.  Temporarily increase timeout
22346         by 3 minutes to allow for slow startups over heavy NFS use.
22347
22348 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
22349
22350         * lib/gdb.exp: Report timeout value for verbosity level 2.
22351         * config/gdbserver.exp: Ditto.
22352         * config/hppro.exp: Ditto.
22353         * config/mips-gdb.exp: Ditto.
22354         * config/monitor.exp: Ditto.
22355         * config/netware.exp: Ditto.
22356         * config/sim-gdb.exp: Ditto.
22357         * config/slite-gdb.exp: Ditto.
22358         * config/udi-gdb.exp: Ditto.
22359         * config/unix-gdb.exp: Ditto.
22360         * config/vx-gdb.exp: Ditto.
22361         * gdb.base/a1-selftest.exp: Ditto.
22362         * gdb.base/a2-run.exp: Ditto.
22363         * gdb.base/break.exp: Ditto.
22364         * gdb.base/corefile.exp: Ditto.
22365         * gdb.base/list.exp: Ditto.
22366         * gdb.base/recurse.exp: Ditto.
22367         * gdb.base/scope.exp: Ditto.
22368         * gdb.base/signals.exp: Ditto.
22369
22370 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22371
22372         * gdb.threads/Makefile.in (docdir): Removed.
22373
22374 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22375
22376         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22377         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22378         @srcdir@.
22379         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22380         autoconf 2.5 or higher.
22381         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22382
22383 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
22384
22385         * configure: Regenerated.
22386         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22387         avoid name clashes with SunOS headers.
22388
22389 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
22390
22391         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22392
22393 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
22394
22395         * gdb.base/callfuncs.exp: Finish last change -- make sure the
22396         prototype information ends up in the compiler info file.
22397
22398 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
22399
22400         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22401         attempting to regenerate it.  Eliminate use of a temporary file
22402         and just generate the info file directly.  Source it immediately,
22403         for consistency of use.
22404         * gdb.base/corefile.exp: Ditto
22405         * gdb.base/exprs.exp: Ditto.
22406         * gdb.base/funcargs.exp: Ditto.
22407         * gdb.base/langs.exp: Ditto.
22408         * gdb.base/list.exp: Ditto.
22409         * gdb.base/mips_pro.exp: Ditto.
22410         * gdb.base/nodebug.exp: Ditto.
22411         * gdb.base/opaque.exp: Ditto.
22412         * gdb.base/ptype.exp: Ditto.
22413         * gdb.base/scope.exp: Ditto.
22414         * gdb.base/setvar.exp: Ditto.
22415         * gdb.base/signals.exp: Ditto.
22416         * gdb.base/whatis.exp: Ditto.
22417         * gdb.c++/templates.exp: Ditto.
22418         * gdb.c++/virtfunc.exp: Ditto.
22419         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
22420         whether or not to add -lstdc++ to the compile command line args.
22421
22422 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22423
22424         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
22425         it got fixed by the recent lookup_minimal_symbol_by_pc change.
22426         Increase timeout, a lot of single stepping might be needed if the
22427         target has no hardware watchpoints.
22428
22429 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
22430
22431         * gdb.base/break.exp: Ignore compiler warnings when compiling
22432         break.c.
22433         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22434         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
22435         from remote-sim.
22436         * gdb.base/exprs.exp: Add h8300 xfails.
22437         * gdb.base/funcargs.exp: Likewise.
22438         * gdb.base/nodebug.exp: Likewise.
22439         * gdb.base/printcmds.exp: Likewise.
22440         * gdb.base/ptype.exp: Likewise.
22441         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
22442         h8300 xfails.
22443         * gdb.base/return.exp: Handle float/double precision problems
22444         on the h8300.
22445         * gdb.base/funcargs.c: Explicitly make last constant argument to
22446         call_after_alloca_subr an unsigned long type.
22447         * gdb.base/return.c: Include stdio.h.
22448
22449 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
22450
22451         * config/abug.exp: New file for the older Motorola Bug monitor
22452         that runs on the mvme13x series VME boards.
22453         * config/monitor.exp: Use the new config array for target settings
22454         if they exist.
22455
22456 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
22457
22458         * sim-gdb.exp: Make the SH simulator allocate less space when
22459         it is targeted.
22460
22461 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
22462
22463         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22464         test.
22465
22466 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
22467
22468         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22469         "rs6000-*-*" for "list function in include file" when gcc compiled.
22470         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22471         for "p ctable1[120]".
22472         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22473         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22474         Remove setup_xfail for "rs6000-*-*" for
22475         "print 'scope0.c'::filelocal before run".
22476         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22477         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22478         since some compilers don't allow both options to be given
22479         on the same command line.  Create object file and move it.
22480
22481 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
22482
22483         * gdb.base/corefile.exp: Always regenerate the core file, since
22484         we always regenerate the coremaker program.  Detect special case
22485         where registers cannot be read from core file.
22486
22487 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
22488
22489         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22490         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22491         * gdb.c++/templates.exp: Only match on basename of file since
22492         some formats like xcoff don't encode directory information.
22493         * gdb.stabs/weird.exp: Use the right sed script for powerpc
22494         and rs6000 AIX xcoff targets.
22495         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22496         * configure: Regenerate.
22497         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22498         here, rather than in distclean.
22499
22500 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
22501
22502         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22503         defined, and use it to compile the test case with -O2.  The
22504         native compilation still uses no optimization.
22505         * gdb.base/mips_pro.c: Remove inline assembly code since
22506         it is compiled PIC by default, which results in assembler
22507         warnings that make the testsuite think the compilation
22508         was unsuccessful.
22509
22510 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
22511
22512         * gdb.c++/misc.exp: Add note to message for
22513         "print s.a for foo struct" that this is a known gcc 2.7.2
22514         and earlier bug.
22515
22516 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
22517
22518         * gdb.base/break.exp: Fix pattern for matching "Delete all
22519         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
22520         setup_xfail for deleting all breakpoints test.  Fix various
22521         timeout messages to include "(timeout)".
22522         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22523         for "p t_float_values2(3.14159,float_val2)".
22524         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22525         for "continue to call2g" when gcc compiled.
22526         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22527         "up to foo in langs.exp", "show language at foo in langs.exp",
22528         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22529         and "show language at fsub in langs.exp".
22530         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22531         "list line 1 in include file", "list message for lines past EOF",
22532         "list function in include file", "list list0.h:foo", and
22533         "list filename:function; nonexistant function".
22534         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22535         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22536         and "ptype t_char_array" to be for native cc only.
22537
22538 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
22539
22540         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22541         setup_xfail for "print coremaker_bss", "print coremaker_ro",
22542         "print func2::coremaker_local", and "backtrace in corefile.exp".
22543
22544 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
22545
22546         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22547         "bt in signals.exp".  This problem only appears when running
22548         the testsuite, and then only intermittently.
22549
22550 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
22551
22552         * gdb.base/return.exp (return_tests): Differentiate between
22553         two tests of continuing.
22554
22555 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
22556
22557         * */Makefile.in (maintainer-clean): Remove config.log.
22558         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22559         * gdb.c++/Makefile.in (PROGS): Add inherit.
22560         (clean): Remove *.ci.
22561
22562 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
22563
22564         * gdb.c++/misc.cc: Add test code from Mike Stump.
22565         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22566
22567 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
22568
22569         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22570         to "alpha-*-osf2*" and add comment.
22571         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22572         setup_xfail for "step over execarg initialization" and
22573         "step over corearg initialization".
22574         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22575         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22576         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22577         gcc compiled for "print coremaker_bss", "print coremaker_ro",
22578         "print func2::coremaker_local", and "backtrace in corefile.exp".
22579         * gdb.base/signals.exp: Build and source signals.ci.
22580         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22581         to be for gcc only.
22582         * lib/gdb.exp: Move verbose statements outside conditionals.
22583
22584 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22585
22586         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
22587         Feb 3 procfs.c change.
22588
22589 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
22590
22591         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22592
22593 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
22594
22595         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22596         from dejagnu's apparent default of 10 seconds, which gives random
22597         results when running the tests over NFS on moderately loaded systems.
22598         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22599
22600 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
22601
22602         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
22603         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22604         result reports.
22605
22606 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
22607
22608         * configure.in (CY_AC_PATH_TCLH): Remove.
22609         * configure: Regenerate.
22610
22611 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
22612
22613         * gdb.c++/Makefile.in (clean): Add missing '{'.
22614
22615 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
22616
22617         * lib/gdb.exp: Provide a default value for noinferior.
22618
22619         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22620         Load libgloss.exp.
22621
22622 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
22623
22624         * gdb.disasm/hppa.exp: Compile directly into an executable, use
22625         the executable, not the .o to run the tests from.
22626
22627 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
22628
22629         * gdb.base/break.exp: Don't test for program exit or exit status
22630         if $noresults if nonzero.
22631         * gdb.base/langs.exp: Likewise.
22632         * gdb.base/watchpoint.exp: Likewise.
22633
22634         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22635         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22636         trying to compile the testcase.
22637
22638 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
22639
22640         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22641         * gdb.base/signals.exp (continue to handler): Likewise.
22642
22643 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
22644
22645         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
22646
22647         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
22648
22649 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
22650
22651         * gdb.base/corefile.exp: Recognize "not found" as failure
22652         when trying to determine if a core file was generated.
22653         If no core file was generate the first time, try again without
22654         the ulimit -c to work around braindamaged shells.
22655
22656 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
22657
22658         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22659         [] tests with "test" and enclose string in quotes.
22660         * gdb.stabs/configure: Rebuild
22661
22662 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
22663
22664         Changes in sync with expect:
22665         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22666         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22667         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22668         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
22669         argument to AC_REQUIRE.
22670         * configure: Regenerated.
22671
22672 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
22673
22674         * gdb.base/corefile.exp: When generating a core, discard any
22675         error messages about ulimit not found and the "core dumped"
22676         message from the shell that runs the coredumper.
22677
22678 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
22679
22680         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22681
22682         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22683         which sed script to run.  Expect failure for v_comb test
22684         on PA targets too.
22685
22686 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
22687
22688         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22689         "print func2::coremaker_local" and for "backtrace in corefile.exp"
22690
22691 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
22692
22693         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22694         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22695         "sparc-sun-solaris*" xfails for "p v_comb".
22696         * lib/gdb.exp (default_gdb_start): Fix typo.
22697         * gdb.base/corefile.exp: Allow "Core was generated by ..."
22698         messages to not include the full program name that caused
22699         the core dump since some systems (such as solaris) apparently
22700         truncate this path to about 80 characters.
22701         When generating a core file first try increasing the core file
22702         size limit to unlimited since some systems may default it to
22703         zero, and it is harmless to try it.  Move the test for failing
22704         to generate a core file to where it will actually get executed.
22705         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22706         new gdb result from g++ debug info improvements and make old
22707         pattern obsolescent.  Also account for size_t differences
22708         (may be int or long).
22709         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22710         initialization before function call is placed in the delay slot
22711         and thus appears to be skipped over by commands such as "next".
22712
22713 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
22714
22715         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22716
22717 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
22718
22719         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22720         input source file; fix code to compile test to deal with this
22721         convention.
22722         * gdb.c++/*.exp: Likewise.
22723
22724 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
22725
22726         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22727         "bt in signals.exp".
22728
22729 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
22730
22731         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22732         "step over execarg initialization" and
22733         "step over corearg initialization".
22734
22735 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
22736
22737         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22738         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
22739
22740 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
22741
22742         From Rob Savoye  (rob@poseidon.cygnus.com)
22743         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22744         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22745         configure.in}, gdb.disasm/{Makefile.in, configure.in},
22746         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22747         configure.in}: Major reworking for autoconfig.
22748         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22749         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22750         New files.
22751         * config/unix-gdb.exp:  Make GDB global.
22752         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22753         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22754         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22755         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22756         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22757         term.exp, twice.exp, watchpoint.exp, whatis.exp},
22758         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22759         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22760         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22761         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22762         pr-8136.exp, result.exp, string.exp, tuples.exp},
22763         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22764         to returns as necessary, arrange for test to compile own testcase
22765         executable.
22766         * lib/gdb.exp: Changes for testsuite to compile own test cases.
22767
22768 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
22769
22770         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22771         clear_xfail at end of test which might not call either pass or fail.
22772         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22773         "backtrace through signal handler".
22774
22775 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22776
22777         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
22778         continuing from a job control stop signal.
22779         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
22780
22781 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
22782
22783         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22784         * gdb.base/corefile.exp: Likewise.
22785         * gdb.base/funcargs.exp: Likewise.
22786
22787 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
22788
22789         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
22790         * config/monitor.exp:  Add support for setting baud rate.
22791
22792 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
22793
22794         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22795         i*86-*-linux* xfails for "backtrace through signal handler".
22796         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22797         "print func2::coremaker_local".
22798         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22799         alpha-dec-osf2* xfail for
22800         "delete all breakpoints when none".
22801
22802 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
22803
22804         * gdb.base/break.exp: Change test that deletes all breakpoints
22805         when no user breakpoints are installed.  A post 4.15 change
22806         causes gdb to no longer prompt in this case.
22807
22808 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
22809
22810         * gdb.base/return.exp (return_tests):  Change xfail for test
22811         "correct value returned double test" to stop xfailing at
22812         Solaris 2.5.  Apparently the bug has been fixed.
22813
22814 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
22815
22816         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22817         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22818
22819 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
22820
22821         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22822         * gdb.disasm/hppa.s: Corresponding changes.
22823
22824 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
22825
22826         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22827         makefile fragment.
22828         * config/mt-hpux: Deleted.
22829
22830 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
22831
22832         * Many files: When warning about suppressed tests due to a
22833         nonexistant test binary, avoid incrementing the warning count.
22834
22835 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
22836
22837         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
22838
22839 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22840
22841         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
22842         "sparc-*-solaris2*".
22843
22844 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22845
22846         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
22847         Add global and local variables and initialize them.
22848         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
22849         by printing variables. Remove rs6000 and powerpc xfails, BFD now
22850         extracts the file name and terminating signal from the core file.
22851         * TODO:  Remove note about tests for correct mapping of corefile.
22852         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
22853         from optimizing it away.
22854         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
22855         handles common blocks.
22856
22857 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
22858
22859         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22860         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22861
22862 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
22863
22864         * Makefile.in (maintainer-clean): New target, synonym for
22865         realclean.
22866         * gdb.base/Makefile.in (maintainer-clean): Likewise.
22867         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22868         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22869         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22870         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22871         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22872
22873 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
22874
22875         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
22876         xfails when not gcc compiled for "print foo::funclocal".
22877         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22878         "print foo::funclocal at foo",
22879         "print 'scope1.c'::foo::funclocal at foo",
22880         "print foo::funclocal_bss at foo",
22881         "print 'scope1.c'::foo::funclocal_bss at foo",
22882         "print foo::funclocal_ro at foo",
22883         "print 'scope1.c'::foo::funclocal_ro at foo",
22884         "print bar::funclocal at foo" and
22885         "print 'scope1.c'::bar::funclocal at foo".
22886         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
22887         gcc compiled for "print foo::funclocal at bar".
22888         Expand all messages to ensure that they identify that
22889         the test is at bar().
22890         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22891         gcc compiled for:
22892         "ptype on opaque struct pointer (statically)",
22893         "ptype on opaque struct tagname (statically)",
22894         "ptype on opaque struct pointer (dynamically) 1",
22895         "ptype on opaque struct tagname (dynamically) 1",
22896         "ptype on opaque struct pointer (dynamically) 2" and
22897         "ptype on opaque struct tagname (dynamically) 2
22898         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22899         gcc compiled for:
22900         "p datalocal"
22901         "whatis datalocal",
22902         "ptype datalocal",
22903         "p bsslocal",
22904         "whatis bsslocal", and
22905         "ptype bsslocal".
22906         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22907         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22908         when not gcc compiled.
22909         * gdb.base/funcargs.exp (float_and_integral_args):  Add
22910         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22911         compiled.
22912         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
22913         "backtrace from call6a" when not gcc compiled.
22914         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22915         "backtrace from call7a" when not gcc compiled.
22916         * gdb.base/callfuncs.exp (do_function_calls):
22917         Add "hppa*-*-hpux*" xfail when not gcc compiled for
22918         "p t_char_array_values(char_array_val2,char_array_val1)",
22919         "p t_char_array_values(char_array_val1,char_array_val2)",
22920         "p t_char_array_values("carray 1","carray 2")",
22921         "p t_char_array_values("carray 1",char_array_val2)",
22922         "p t_char_array_values(char_array_val1,"carray 2")",
22923         "p sum_args(1,{2})",
22924         "p sum_args(2,{2,3})",
22925         "p sum_args(3,{2,3,4})",
22926         "p sum_args(4,{2,3,4,5})"
22927         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22928         "backtrace in corefile.exp" when not gcc compiled.
22929
22930 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22931
22932         * gdb.base/signals.exp:  Rewrite `handle all print' test as
22933         a procedure. Accept blanks or TABs as whitespace, increase
22934         timeout and expect input buffer size for the large output
22935         from the command. Remove "i*86-*-bsdi2.0" xfail.
22936
22937 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22938
22939         * gdb.base/setvar.exp:  Add new testcases for truncation when
22940         assigning invalid values to bitfields.
22941
22942 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
22943
22944         * gdb.base/callfuncs.exp (do_function_calls):  Remove
22945         mips-sgi-irix* xfail for
22946         "call inferior func with struct - returns char *"
22947         and fix test so that an optional (unsigned char *) cast is
22948         accepted in the result.
22949
22950 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
22951
22952         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
22953         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22954         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22955         * gdb.base/signals.exp: Remove duplicate "handle all print" test
22956         that accidentally got checked in.
22957
22958 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
22959
22960         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
22961         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22962         compiled test.
22963         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22964         Add mips-sgi-irix5* xfail for not gcc compiled.
22965         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
22966         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22967         "p top", "whatis top", "p middle", and "whatis middle".
22968         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22969         "whatis signed char" for not gcc compiled.
22970         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22971         "set variable signed char=-1 (-1)" and
22972         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22973         * gdb.base/funcargs.exp (float_and_integral_args):
22974         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22975         Add mips-sgi-irix* xfail when not gcc compiled for
22976         "continue to call2b".
22977         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22978         "continue to call2g".
22979         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22980         "backtrace from call6a"
22981         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22982         "backtrace from call7k".
22983         Add mips-sgi-irix5* xfail when not gcc compiled for
22984         "backtrace from call7a".
22985         (localvars_after_alloca):  Fix gdb_test cmds for
22986         "print * after runto ...".
22987         Remove rs6000-*-* xfails for
22988         "print i after runto localvars_after_alloca" and
22989         "print l after runto localvars_after_alloca"
22990         for all compilers.
22991         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
22992         when not compiled with gcc, for:
22993         "print signed char == (minus)",
22994         "print signed char != (minus)",
22995         "print signed char < (minus)",
22996         "print signed char > (minus)".
22997         * gdb.base/callfuncs.exp (do_function_calls):
22998         Add mips-sgi-irix* xfail, when compiled with native compiler, for
22999         "call inferior func with struct - returns char *".
23000         * gdb.base/return.exp (return_tests): Change xfail for
23001         "correct value returned double test" to include Solaris 2.4.
23002         * gdb.base/funcargs.exp (float_and_integral_args):
23003         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23004
23005 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23006
23007         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
23008         enumeration bitfields if compiling with GNU C.
23009         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
23010         to empty' prompt.
23011
23012 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
23013
23014         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23015         test for PRO targets.
23016
23017         * gdb.base/funcargs.exp: Avoid ever setting more than 8
23018         breakpoints in the inferior at any given time by making
23019         two groups of breakpoints for call2*, call6* and call7*
23020         tests.
23021
23022 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23023
23024         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
23025         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
23026         from optimizing it away.
23027         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
23028         "call inferior func with struct".
23029
23030 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
23031
23032         * configure.in: Only configure gdb.chill for particular targets.
23033
23034 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
23035
23036         * gdb.base/Makefile.in:  Add action to .c.o transformation
23037         rule that generates a .ci file for each .o file and remove
23038         explicit .c.o rules except for callfuncs.o.
23039         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
23040         generates a .ci file for each .o file and remove explicit
23041         .cc.o rules.
23042         (clean): Remove *.tmp *.ci files.
23043         (EXECUTABLES): Remove templ-info.exp.
23044         * gdb.base/compiler.c: New file.
23045         * gdb.c++/compiler.cc: New file
23046         * gdb.base/scope.exp: Source gdb.base/scope.ci.
23047         Change rs6000-*-* xfail for
23048         "print 'scope0.c'::filelocal_ro" and
23049         "print 'scope1.c'::filelocal" and
23050         "print 'scope1.c'::filelocal_bss" and
23051         "print 'scope1.c'::filelocal_ro" and
23052         "print 'scope1.c'::foo::funclocal" and
23053         "print 'scope1.c'::foo::funclocal_ro" and
23054         "print 'scope1.c'::bar::funclocal" and
23055         "print 'scope0.c'::filelocal_ro" and
23056         "print 'scope1.c'::filelocal at foo" and
23057         "print 'scope1.c'::filelocal_bss at foo" and
23058         "print 'scope1.c'::filelocal_ro at foo" and
23059         "print 'scope1.c'::foo::funclocal at foo" and
23060         "print 'scope1.c'::foo::funclocal_bss at foo" and
23061         "print 'scope1.c'::foo::funclocal_ro at foo" and
23062         "print 'scope1.c'::bar::funclocal at foo" and
23063         "print 'scope0.c'::filelocal_ro" and
23064         "print 'scope1.c'::filelocal" and
23065         "print 'scope1.c'::filelocal_bss" and
23066         "print 'scope1.c'::filelocal_ro" and
23067         "print 'scope1.c'::foo::funclocal" and
23068         "print 'scope1.c'::foo::funclocal_bss" and
23069         "print 'scope1.c'::foo::funclocal_ro" and
23070         "print 'scope1.c'::bar::funclocal" and
23071         "print 'scope1.c'::bar::funclocal_bss"
23072         to only be xfail'd when not compiled with gcc.
23073         Add rs6000-*-* xfail for
23074         "print 'scope0.c'::filelocal_bss before run"
23075         when compiled with gcc.
23076         (test_at_main): Add rs6000-*-* xfail for
23077         "print filelocal_ro in test_at_main"
23078         when compiled with gcc.
23079         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23080         Add rs6000-*-aix* xfail for
23081         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23082         "ptype t_char_array",  not compiled with gcc.
23083         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
23084         xfail for "list foo (in include file)" when gcc compiled.
23085         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23086         (integral_args): Add rs6000-*-* xfail for
23087         "run to call0a" if not compiled with gcc.
23088         (unsigned_integral_args): Add rs6000-*-* xfail for
23089         "run to call1a" if not compiled with gcc.
23090         (float_and_integral_args):  Add rs6000-*-* xfail for
23091         "run to call2a" if not compiled with gcc and for
23092         "continue to call2b" for any compiler.
23093         Add rs6000-*-* xfail to
23094         "print f1 after run to call2a" for gcc compiled.
23095         (discard_and_shuffle): Add rs6000-*-* xfail for
23096         "run to call6a".
23097         (shuffle_round_robin): Add rs6000-*-* xfail for
23098         "backtrace from call7a" if not compiled with gcc.
23099         Add rs6000-*-* xfail for
23100         "backtrace from call7b" if compiled with gcc.
23101         (call_after_alloca): Add rs6000-*-* xfail for
23102         "print c in call_after_alloca" and
23103         "print s in call_after_alloca" and
23104         "backtrace from call_after_alloca_subr"
23105         if not compiled with gcc.
23106         (localvars_in_indirect_call): Add rs6000-*-* xfail for
23107         "print c in localvars_in_indirect_call" and
23108         "print c in localvars_in_indirect_call" and
23109         "backtrace in indirectly called function" and
23110         "stepping into indirectly called function"
23111         if not compiled with gcc.
23112         (localvars_after_alloca): Add rs6000-*-* xfail for
23113         "print c after runto localvars_after_alloca" and
23114         "print s after runto localvars_after_alloca" and
23115         "print i after runto localvars_after_alloca" and
23116         "print l after runto localvars_after_alloca"
23117         for all compilers.
23118         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23119         than whatis-info.exp.
23120         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23121         than opaque-info.exp.
23122         Setup rs6000-*-* xfail for
23123         "ptype on opaque struct pointer (statically)" and
23124         "ptype on opaque struct pointer (dynamically)" when
23125         not compiled with gcc.
23126         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23127         rather than callf-info.exp.
23128         (do_function_calls):  Add clear_xfail for rs6000-*-* for
23129         "p t_float_values2(3.14159,float_val2)".  Seems to work
23130         fine there, both with xlc and gcc.  Need to find out what
23131         it is doing right and fix other platforms.
23132         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23133         "call inferior func with struct - returns int",
23134         "call inferior func with struct - returns long",
23135         "call inferior func with struct - returns float",
23136         "call inferior func with struct - returns double",
23137         "call inferior func with struct - returns char *",
23138         but only if not gcc compiled (presumes xlc compiled).
23139         Change rs6000-*-* xfails for
23140         "call inferior func with struct - returns char" and
23141         " call inferior func with struct -  returns short" to only
23142         xfail if not using gcc.
23143         (clean mostlyclean):  Remove *.ci and *.tmp files.
23144         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23145         than templ-info.exp.
23146         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
23147         Add rs6000-*-* xfail for "up to foo in langs.exp"
23148         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
23149         when not gcc compiled.
23150
23151 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23152
23153         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23154         * gdb.base/corefile.exp: Likewise.
23155         * gdb.base/list.exp: Likewise.
23156         * gdb.base/scope.exp: Likewise.
23157         * gdb.base/siganls.exp: Likewise.
23158
23159         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
23160         compiler output.
23161         * gdb.base/whatis.exp: Likewise.
23162
23163 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
23164
23165         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23166         failure (opcode table has been fixed to match reality).
23167
23168 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
23169
23170         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23171         "call inferior func with struct - returns char",
23172         "call inferior func with struct - returns short"
23173
23174         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23175         "print 'scope0.c'::filelocal at main",
23176         "print 'scope0.c'::filelocal_bss in test_at_main",
23177         "print 'scope0.c'::filelocal at foo",
23178         "print 'scope0.c'::filelocal_bss in test_at_foo",
23179         "print 'scope0.c'::filelocal at bar",
23180         "print 'scope0.c'::filelocal_bss in test_at_bar"
23181
23182         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23183         in source file 1".  This bug seems to have been fixed with both
23184         gcc and native cc (was native assembler bug?).
23185
23186 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
23187
23188         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23189         "backtrace through signal handler" to "i*86-*-sysv4*".
23190         * gdb.base/signals.exp: Add xfail for "'next' behaved as
23191         continue" case.  Add "known SVR4 bug" to fail message.
23192         Add "i*86-*-bsdi2.0" xfail for "handle all print".
23193         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23194         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23195         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23196         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23197         "up to foo in langs.exp", "show language at foo in
23198         langs.exp", "up to cppsub_ in langs.exp", "show
23199         language at cppsub_ in langs.exp", "up to fsub in
23200         langs.exp", and "show language at fsub in langs.exp".
23201         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23202         "bactrace in corefile.exp".
23203         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23204         "call inferior function with struct - returns float" and
23205         "call inferior function with struct - returns double".
23206
23207 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
23208
23209         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23210         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23211         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23212         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23213
23214 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
23215
23216         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23217         (or overriden) "CHILL" macro rather then bare "gcc".
23218         Also look for ../../gcc/xgcc since that is what we will
23219         actually need, not "Makefile".  Remove following assignment
23220         of CHILL to CHILL_FOR_TARGET because that results in
23221         recursive definition.
23222
23223 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
23224
23225         * gdb.base/corefile.exp:  Change xfail for backtrace in
23226         corefile.exp from linuxaout to all linux.
23227         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
23228         cases where we miss the breakpoint at the signal handler
23229         for some reason.  Setup xfail for linuxoldld/linuxaout and
23230         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
23231         hitting SIGURG breakpoint.
23232         * gdb.base/signals.exp:  Setup xfail for "next" acting like
23233         continue to add linuxoldld.  Setup xfail for all linux for
23234         "next to handler in signals_tests_1", "backtrace in
23235         signals_tests_1", "continue to func1", "pass SIGUSR1",
23236         and continue to handler".
23237
23238 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
23239
23240         * Update all FSF addresses except those in COPYING* files.
23241
23242 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
23243
23244         * gdb.base/a2-run.exp: Change messages to be more explicit about
23245         the status of args, and quote binfile in results.
23246
23247 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
23248
23249         * gdb.base/callfuncs.exp: Add tests for passing structs to
23250         inferior functions and return various types.
23251         * gdb.base/callfuncs.c: Add functions to receive a struct
23252         and return a member of the struct, in various types.
23253
23254 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23255
23256         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
23257
23258 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
23259
23260         * config/vxworks29k.exp: New file, sources vxworks.exp.
23261
23262 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23263
23264         * config/gdbremote.exp: New file.  Testing framework using
23265         gdbserver.
23266
23267 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
23268
23269         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23270         "call function when asleep" and "send end of file".
23271         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23272         for "backtrace in corefile.exp".
23273         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23274         for "backtrace through signal handler".
23275         * gdb.base/corefile.exp: Make sure we actually generate a core file
23276         before trying the core tests.  Some systems allow the user to suppress
23277         generation of core files and default to that (linux for example).
23278         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23279         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
23280
23281 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23282
23283         * gdb.threads: New directory with some crude multi-threaded
23284         gdb tests (step.exp and step2.exp).
23285         * config/mt-lynx (STEP_EXECUTABLE): Define.
23286         (THREADFLAGS): Define.
23287
23288 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
23289
23290         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23291
23292         * gdb.base/signals.exp: Disable whole file for lynx until
23293         further notice.
23294
23295         * gdb.base/signals.exp: xfail test where "next" acts like
23296         "continue" for lynx.
23297
23298         * gdb.base/interrupt.exp: xfail test for calling function while
23299         inferior is asleep for lynx.
23300
23301         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23302         than one cr-lf  after each command.
23303
23304 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23305
23306         * configure.in:  Reinstate setting of stabsdirs variable, fix
23307         typo in setting up configdirs for native builds.
23308
23309         * gdb.base/return.exp:  Fix typo in return double test.
23310         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
23311         compiler from optimizing them away.
23312
23313 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
23314
23315         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23316         sequences to be echo'd by gdb when using gdb_test.
23317         * gdb.chill/chexp.exp: Likewise.
23318         * gdb.fortran/exprs.exp: Likewise
23319
23320 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23321
23322         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23323         after the inferior gdb has started.
23324
23325         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23326         after each command.
23327         * gdb.base/funcargs.exp: Likewise.
23328         * gdb.base/gdbvars.exp: Likewise.
23329         * gdb.base/interrupt.exp: Likewise.
23330         * gdb.base/list.exp: Likewise.
23331         * gdb.base/watchpoint.exp: Likewise.
23332         * gdb.c++/demangle.exp: Likewise.
23333         * gdb.c++/inherit.exp: Likewise.
23334         * gdb.chill/chexp.exp: Likewise.
23335         * gdb.fortran/exprs.exp: Likewise.
23336
23337         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23338         test if we can't handle IO to/from the inferior.
23339
23340         * gdb.c++/misc.exp: Always check for a program already being
23341         started after sending a "run" command to gdb.
23342
23343         * gdb.base/twice.exp: Start with a fresh gdb.
23344
23345         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23346         only depend on gdb's expression code, not the chill runtime.
23347
23348         * gdb.base/return.c: Put return values into variables so we
23349         can have gdb print them rather than depending on the program
23350         to print them.
23351         * gdb.base/return.exp: Corresponding changes.
23352
23353         * lib/gdb.exp: Provide default value for noinferiorio.
23354         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23355         the inferior.
23356
23357         * gdb.base/break.exp: Always check for a program already being
23358         started after sending a "run" command to gdb.
23359         (text_next_with_recursion): Don't check the output from the
23360         program's printf statement.  Instead just make sure the program
23361         exited.
23362
23363         * gdb.base/commands.exp: Protect tests which need arguments with
23364         $noargs conditionals.
23365
23366 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23367
23368         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
23369         of structure member arrays to match gdb/valops.c:value_addr change.
23370
23371 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
23372
23373         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23374         cases.
23375
23376 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
23377
23378         * configure.in (configdirs):  Remove gdb.chill from default list
23379         of subdirs and then add it back in only if doing a native build.
23380         The current chill compiler does not yet work in any cross build.
23381         * Revert all signal changes from Jul 6.
23382         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
23383         for sh-hms targets, allowing these tests to link, with no other
23384         changes.  Testing is suppressed by setting "nosignals" in site.exp.
23385
23386 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
23387
23388         * configure.in (signaldirs): Define and add to configdirs for all
23389         targets except some specific ones that are known to not support signals.
23390         Also clean up formatting.
23391         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
23392         (signals, sigall):  Remove rules to build.
23393         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23394         Moved to new gdb.signals directory.
23395         * gdb.signals: New test directory.
23396         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23397         signals.c signals.exp}:  New or moved files.
23398
23399 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
23400
23401         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23402
23403 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
23404
23405         * gdb.base/return.exp:  Xfail `return double' test failure
23406         on at least Solaris 2.3 and handle future/past versions on
23407         a case by case basis as appropriate.  Also update message
23408         to include i*86 failures.
23409
23410 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23411
23412         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23413
23414         * lib/gdb.exp: Fix comment which erroneously identified
23415         gdb_file_cmd as gdb_load (the 19 May change was in fact to
23416         gdb_file_cmd not gdb_load).
23417         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23418
23419         * gdb.base/setvar.exp: Make test names consistent between pass and
23420         fail cases.  Use gdb_test more.
23421
23422 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23423
23424         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23425
23426 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23427
23428         * gdb.base/help.exp:  Fix expected help string for `show commands'.
23429
23430 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
23431
23432         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23433
23434         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23435         of a text section.
23436
23437 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
23438
23439         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
23440         that loop eventually terminates.  Fix Connection refused logic so
23441         that testsuite will expire nicely.
23442
23443 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
23444
23445         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23446         config/rom68k.exp:  New tcl glue for the appropriate monitors.
23447         These all just end up calling monitor.exp.
23448         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
23449         refused' by retrying.  Cleanup some timeout issues.
23450         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
23451         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
23452         callers don't have to set/restore global timeout variable.
23453
23454         * The following set of changes centralizes management of the global
23455         timeout variable.  This way, it can be set in one target dependent
23456         place instead of dozens of places scattered throughout the test suite.
23457         If you need to lengthen a timeout, then you should either set timeout
23458         in one of the config/{target}.exp files, or multiply it by a factor.
23459         Setting it to an absolute value is always going to lose for some
23460         targets.
23461         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
23462         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
23463         * gdb.base/funcargs.exp:  Don't set timeout.
23464         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
23465         * gdb.base/printcmds.exp (test_print_string_constants
23466         test_print_array_constants):  Don't set timeout.
23467         * gdb.base/ptype.exp:  Don't set timeout.
23468         * gdb.base/recurse.exp:  Don't set timeout.
23469         * gdb.base/return.exp:  Don't set timeout.
23470         * gdb.base/watchpoint.exp:  Don't set timeout.
23471         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
23472         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
23473
23474 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
23475
23476         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23477
23478 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23479
23480         * lib/gdb.exp: Disable chill tests for irix5.
23481
23482 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23483
23484         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
23485         each test pass or fail.
23486
23487 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23488
23489         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23490         xlc not gcc.
23491
23492 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
23493
23494         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
23495
23496 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
23497
23498         * config/est.exp:  Fix copyright and comments.  Remove dead code.
23499         Use targetname, serialport and baud variables instead of fixed
23500         constants.
23501         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
23502         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
23503
23504 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23505
23506         * gdb.base/watchpoint.exp: Don't run
23507         test_watchpoint_triggered_in_syscall for sunos.
23508
23509 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23510
23511         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23512         they don't seem to exist.  Do include stdio.h.
23513
23514 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23515
23516         * gdb.base/a1-selftest.exp: Add alpha xfail.
23517
23518 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23519
23520         * gdb.base/watchpoint.c (main): Prompt before calling read().
23521         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23522         Revise accordingly.  Remove cruft about sending "123" several
23523         times, until it gets noticed.  Clean up the "print buf[0]" stuff
23524         so that it passes or fails, and waits for prompts in the usual way.
23525
23526 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23527
23528         * gdb.base/recurse.exp: Fix comment.
23529
23530         * TODO: Remove item about printing variables in nodebug.exp.  Add
23531         item about enabling tests which are only run on some targets.
23532
23533         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23534         fail, make test names unique, use new gdb_test convention
23535         regarding pattern, use gdb_test more, etc.).
23536
23537         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23538         fail, make test names unique, etc.).
23539
23540 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23541
23542         * gdb.base/nodebug.c:  Change return type of top and middle to
23543         short.
23544         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
23545         are fixed by the recent mdebugread.c changes. Allow `short ()'
23546         as type for top and middle.
23547
23548 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23549
23550         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
23551         nearly as I can tell, the whole thing was an accident in Stu's
23552         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23553         to replace a send/expect pair with gdb_test, but ended up only
23554         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
23555         of 30 Mar 1995 took care of it, but left this vestigial comment
23556         which I am now nuking.
23557
23558 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23559
23560         * gdb.base/break.exp: Look for different line number for
23561         breakpoint at main depending on usestubs.
23562
23563 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23564
23565         * gdb.base/list.exp:  Adjust some alternate expect patterns to
23566         match recent list0.c change. Add alternate expect pattern for
23567         output from `list default lines around main' for optimizing
23568         compilers.
23569
23570 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23571
23572         * lib/gdb.exp: If nosignals is not set, set it to 0.
23573
23574 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
23575
23576         * config/slite-gdb.exp: Responds to load symbol table prompt.
23577         * gdb.base/break.exp: Adjust line number, fix rerun.
23578         * gdb.base/langs0.c: Add #ifdef usestubs.
23579
23580 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
23581
23582         * gdb.base/list.exp: Adjust line contents after adding new lines in
23583         list0.c. Also fix a syntax error.
23584
23585         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23586         * gdb.base/break.exp: ditto.
23587         * gdb.base/list.exp: ditto.
23588         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23589         * gdb.base/run.c: ditto.
23590         * gdb.base/list0.c: ditto.
23591         * gdb.base/funcargs.c: ditto.
23592
23593 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
23594
23595         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
23596         $targetname, $serialport and $baud instead of hardwired variables.
23597         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
23598         target doesn't support signals.
23599
23600 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
23601
23602         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23603
23604 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23605
23606         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
23607         Don't rely on the value of an auto variable before it has been
23608         initialized.  Use gdb_test more.
23609
23610 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23611
23612         * lib/gdb.exp (default_gdb_version): A version number must start
23613         with a digit, but other than that contains all characters up to
23614         the first whitespace character.
23615
23616 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23617
23618         * gdb.base/commands.exp (breakpoint_command_test): New tests.
23619
23620 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23621
23622         * gdb.c++/*.exp: Warn if executable does not exist.  The original
23623         reason for skipping the warning was that configure.in sometimes
23624         intentionally skipped building the executables but the tcl code
23625         had no way of knowing.  That (a) was always bogus with respect to
23626         error handling, (b) is no longer true (right now there is no way
23627         to skip C++ tests).
23628
23629         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23630
23631 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23632
23633         * gdb.base/list.exp:  Add expect patterns for output from
23634         SunPRO compiled executables.
23635         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
23636         types.
23637
23638 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23639
23640         * gdb.base/break.exp (test_next_with_recursion): Accept any line
23641         number (we are already testing that the correct source line text
23642         gets printed).
23643
23644         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
23645         that is what is intended, but something needed to be done to get
23646         sunos4 native working again.
23647
23648         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23649
23650         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23651         apparently went with a (very) old xfail.
23652
23653 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
23654
23655         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23656         runto_main is a proc in gdb.exp that will do 'step' for target use
23657         stubs.
23658         * gdb.base/exprs.exp: ditto.
23659         * gdb.base/interrupt.exp: ditto.
23660         * gdb.base/opaque.exp: ditto.
23661         * gdb.base/printcmds.exp: ditto.
23662         * gdb.base/ptype.exp: ditto.
23663         * gdb.base/scope.exp: ditto.
23664         * gdb.base/setvar.exp: ditto.
23665         * gdb.base/signals.exp: ditto.
23666         * gdb.base/twice.exp: ditto.
23667         * gdb.c++/classes.exp: ditto.
23668         * gdb.c++/inherit.exp: ditto.
23669         * gdb.c++/templates.exp: ditto.
23670         * gdb.base/break.exp: no run and hit main for stubs. Change line
23671         numbers for breakpoints and info breakpoint.
23672         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23673         breakpoint().
23674         * gdb.base/callfuncs.c: ditto.
23675         * gdb.base/exprs: ditto.
23676         * gdb.base/interrupt.c: ditto.
23677         * gdb.base/opaque0.c: ditto.
23678         * gdb.base/printcmds.c: ditto.
23679         * gdb.base/ptype.c: ditto.
23680         * gdb.base/scope0.c: ditto.
23681         * gdb.base/setvar.c: ditto.
23682         * gdb.base/signals.c: ditto.
23683         * gdb.base/twice.c: ditto.
23684         * gdb.c++/misc.cc: ditto.
23685         * gdb.c++/templates.cc: ditto.
23686
23687 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23688
23689         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23690
23691         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23692         somewhere between `read' and `main.c'.  I'm pretty sure the
23693         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23694         and it isn't particularly useful.
23695
23696         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
23697
23698 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23699
23700         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23701
23702 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
23703
23704         * config/mt-slite: add LIBS and -nostdlib.
23705         * config/slite-gdb.exp: add this new file to support sparclite target.
23706
23707 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
23708
23709         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23710
23711         * gdb.base/a2-run.exp: Change argument to istarget from
23712         "*-*-vxworks" to "*-*-vxworks*".
23713         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23714
23715 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
23716
23717         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23718         will not runto main but do a 'step' to step out of breakpoint().
23719         * config/mt-slite: add -Dusestubs.
23720
23721 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23722
23723         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23724         instead of just @.
23725
23726         * gdb.base/signals.exp: Add test for "handle all print".
23727         * TODO: Remove "handle all print".  Also remove item about
23728         checking copyright date (I don't like the idea of a spurious FAIL
23729         based on when we run the tests).
23730
23731         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
23732         for SunOS4 (reason for failure not investigated).  Remove
23733         redundant test for $binfile.
23734
23735         * gdb.base/nodebug.c (array_index): Call malloc.
23736
23737         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23738
23739 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
23740
23741         * gdb.base/recurse.exp: Update gdb_test invocation to use new
23742         conventions and slightly simplify the matching regexp.
23743
23744 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23745
23746         * gdb.base/break.exp: Update gdb_test invocation to use new
23747         convention.
23748
23749         * lib/gdb.exp: If noargs is not set, set it to 0.
23750
23751         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
23752         tests unique.
23753
23754         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23755
23756 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23757
23758         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23759         one argument of type "<non-float parameter>".
23760
23761 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
23762
23763         * config/rom68k.exp:  New file to support Motorola IDP board.
23764         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
23765         * gdb.base/break.c:  Change things around so that this program
23766         doesn't depend upon args.  This is necessary to make remote
23767         targets work (in general, they can't take args).
23768         * gdb.base/break.exp:  Don't try to send args to program.  Don't
23769         expect output.  Also, replace lots of code with gdb_test.
23770
23771 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23772
23773         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23774         printing of '\'' (which is what the comment says we are testing,
23775         even though we were not), not '''.
23776         (test_integer_literals_rejected): Test that printing ''' is an error.
23777
23778         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23779         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23780         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23781         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23782         Use gdb_test not test_print_accept.
23783         * lib/gdb.exp: Remove test_print_accept.
23784
23785         * gdb.base/signals.exp (signal_tests_1): Make pass message
23786         consistent with fail message.
23787
23788         * gdb.base/whatis.exp: Remove xfails for printing char vs.
23789         unsigned char; the bug (PR 1821) is fixed.
23790
23791         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23792
23793         * gdb.base/scope.exp (test_at_localscopes): Call pass for
23794         successful tests--makes xfailing them work right.
23795
23796 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23797
23798         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23799         only \r\n, not .*.  The test can pass .* as the last thing in
23800         $pattern if that is what it wants.  In addition to providing this
23801         flexibility, this change should speed up pattern matching in cases
23802         where the pattern already ended with .* (there were a number of
23803         them).  This change also helps catch bad patterns--in the old
23804         scheme the typo "char \*" instead of "char \\*" would pass.  Now
23805         it is caught.
23806         * Many .exp files: Update callers.
23807
23808         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
23809         clearer and does not spuriously match multiple ('s.  Likewise for
23810         ) and *.
23811
23812         * gdb.base/nodebug.exp: Test ability to call a function and pass
23813         it a string (even with no debugging info).
23814
23815         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23816         "p '\'", which is the same as "p ''" once tcl gets done with
23817         quoting, to "p '\\'", which I suspect is what is intended (one
23818         backslash gets sent to GDB).
23819
23820         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23821
23822 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23823
23824         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
23825         1817) was fixed literally years ago.
23826
23827 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23828
23829         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
23830         test, it causes stepping out of call_after_alloca_subr with
23831         optimizing compilers.
23832         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
23833         fails.
23834
23835         * gdb.c++/templates.exp:  Source templ-info.exp only if
23836         the templates executable exists.
23837
23838         * gdb.c++/misc.cc (class Contains_static_instance,
23839         class Contains_nested_static_instance),
23840         gdb.c++/classes.exp (test_static_members):  Test printing of
23841         a class that contains a static instance of the class.
23842
23843 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23844
23845         * gdb.base/langs2.c (cppsub_): Don't prototype.
23846         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23847         only, I believe).
23848
23849 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23850
23851         * lib/gdb.exp (skip_chill_tests): New procedure.
23852
23853         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23854
23855 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
23856
23857         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23858         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
23859
23860 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23861
23862         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23863
23864         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23865         disassemble 8, not 16, instructions for part 4.
23866
23867         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
23868         support the latter anymore.
23869
23870         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23871         -DNO_PROTOTYPES.
23872         * gdb.base/callfuncs.c: Control use of prototypes based on
23873         NO_PROTOTYPES, not __STDC__.
23874         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23875         t_float_values2 tests if prototypes in use.
23876
23877         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23878         t_double_values):  When checking differences against DELTA, check
23879         that difference is within the range (-DELTA,DELTA), not just
23880         (-infinity,DELTA).
23881
23882 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
23883
23884         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23885         'file' command firts, then 'target', then 'load', this is due to gdb
23886         target set up.
23887         * config/mips-gdb.exp: Fix a couple regular exp bugs.
23888
23889 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
23890
23891         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23892         FP load/store variants.
23893         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23894
23895 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23896
23897         * gdb.base/term.exp: Do not give a warning if not native, it is
23898         not an abnormal condition.
23899
23900 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
23901
23902         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23903         t_char_array".
23904
23905 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23906
23907         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23908         are getting the version number.
23909
23910         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23911         if not native, it is not an abnormal condition.
23912
23913 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23914
23915         * lib/gdb.exp: Just use "file exists", rather than undocumented
23916         dejagnu procedure "findfile".
23917
23918 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23919
23920         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23921           (LDFLAGS): Set to -Xlinker -Ur.
23922
23923         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23924           Removed, these values are set by lib/gdb.exp.
23925
23926         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23927
23928 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23929
23930         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23931           of replicating gdb startup code.
23932
23933         * config/mt-vxworks (LDFLAGS): Set to -r.
23934           (CFLAGS_FOR_TARGET): Removed.
23935
23936         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23937           (gdb) and gdb for vxworks uses (vxgdb).
23938
23939         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23940           executable is not in the tree and host != target, use sed and
23941           program_transform_name to determine the gdb name used by the
23942           target.
23943
23944         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23945           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23946
23947 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23948
23949         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23950         floats, chars, and shorts where there are ANSI-style function
23951         definitions.
23952
23953         * gdb.base/langs.exp, gdb.base/langs*: New test.
23954         * gdb.base/Makefile.in: Build it.
23955         * TODO: Remove item about checking that C names don't get C++
23956         demangling applied; this test tests it.
23957
23958 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23959
23960         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23961         went with the const70 xfail.  The xfail went away a year ago.
23962
23963         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23964
23965         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
23966         for hp300.
23967
23968         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23969
23970         * gdb.base/a1-selftest.exp: Don't run on hp300.
23971
23972 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23973
23974         * Makefile.in (site.exp): Set host_alias and target_alias as well
23975         as host_triplet and target_triplet.
23976
23977 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23978
23979         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23980
23981         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23982         places as other ecoff systems).
23983
23984         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23985         ultrix.
23986
23987 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23988
23989         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23990         remove them.
23991         * gdb.base/nodebug.exp: Accept "function" in addition to "text
23992         variable and "variable" in addition to "data variable".
23993         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23994
23995         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23996         2.
23997         * gdb.base/list1.c (long_line): Add additional statement at start
23998         of function.
23999         * gdb.base/list.exp (test_forward_search): Update line number to
24000         reflect new statement.
24001
24002 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24003
24004         * gdb.base/signals.exp:  Reinitialize searched source directories
24005         after gdb_start call.
24006
24007 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
24008
24009         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24010         * gdb.stabs/Makefile.in: Likewise.
24011
24012         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24013         change.  Instead split the tests into smaller pieces.
24014         * gdb.disasm/hppa.s: Corresponding changes.
24015
24016 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24017
24018         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24019         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
24020
24021         * gdb.base/funcargs.exp: Modify many tests so that every test
24022         either passes or fails.  Make some test names unique.
24023
24024 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24025
24026         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24027         Call stty to set interrupt character.
24028
24029         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24030         for HP assembler versus GNU assembler based on actual behavior of
24031         $(CC), rather than assuming that $(AS) is always the GNU assembler.
24032
24033         * TODO: Suggest a few more stepping tests.
24034
24035 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
24036
24037         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24038         restart GDB for h8300 after a continue.
24039         (return): Add pattern to match a29k-udi behavior.
24040         * gdb.base/nodebug.exp: Remove obsolete comment.
24041         * gdb.base/regs.exp: New file, testing of register displays.
24042         * gdb.base/return.exp: Fix typo in reference to $objdir.
24043         * gdb.base/whatis.exp: Always start with a fresh GDB.
24044
24045 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24046
24047         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24048         higher, these tests generate a lot of output.
24049
24050 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24051
24052         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
24053         code following the catch silently ignored some errors; without the
24054         catch they should be thrown like any other tcl error.  Also, the
24055         catch used "" instead of {} which meant all the callers who wanted
24056         to include one of the characters "[]$ had to quote it an extra time.
24057         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24058         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24059         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24060         Remove extra quoting.
24061
24062 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
24063
24064         * gdb.base/commands.exp: Make test names unique; every test either
24065         passes or fails.  Update some comments.
24066
24067         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24068
24069 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24070
24071         The following fixes a FAIL caused by the fact that the alpha stabs
24072         configuration didn't use the ".if alpha" code in weird.def.
24073         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24074         bit pointer, so the 32 bit version works even on the alpha.
24075         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24076         Remove the stuff which allowed us to have separate versions for
24077         alpha and everything else.
24078
24079         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24080         regexp which "info func operator\[\](" is supposed to match.  Fix
24081         string to send to GDB.  Note that GDB still doesn't work right.  Add a
24082         new test for "info func .perator\[\](" which GDB does handle correctly.
24083
24084         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24085
24086 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24087
24088         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24089         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24090         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24091         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24092         it makes the tests harder to understand and confuses test-o-matic.
24093         The preferred style is that each test provides a PASS or a FAIL,
24094         and has a unique message (e.g. "continue #54" not just "continue")
24095         which is the same for the pass and the fail.
24096         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24097         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24098         to lib/gdb.exp.
24099         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
24100         prt_accept which was basically the same thing.  Likewise for
24101         test_print_reject and prt_reject.
24102         * lib/gdb.exp (test_print_reject): Add some more error message
24103         patterns to match from the former printcmds.exp (prt_reject).
24104         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24105         One defect of the passcount stuff is that some of it failed to
24106         report XPASS where appropriate.
24107         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24108         stuff before and after arg in expected pattern.
24109         (test_paddr_operator_functions): Re-do test without print_addr_of;
24110         this is the only test which seems to want extra stuff there.
24111
24112 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24113
24114         * gdb.base/nodebug.exp: Update new tests to reflect improved
24115         wording of gdb output.
24116
24117         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24118         and "ptype" work on variables in files compiled without -g.
24119         Replaces commented out "maint print msymbol" tests.
24120
24121 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24122
24123         * gdb.base/setvar.c (dummy): Call malloc.
24124
24125         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24126         losing with the irix4 sed.
24127
24128         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24129         ALRM" on irix4.
24130
24131 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24132
24133         * TODO: Remove items about corefile.exp testing new exec-file and
24134         backtrace; both are now done.  Add items about printing enums.
24135
24136 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24137
24138         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24139         "get signal $thissig" test fails.
24140
24141         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24142
24143 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24144
24145         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24146         compiler warning with dec alpha compiler.
24147
24148         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24149         extra \n from gdb_test call (this explains why the prompt test
24150         that I removed yesterday was there).
24151         (user_defined_command_test): Remove extra \n and prompt test.
24152
24153         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24154         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24155         doesn't exist.
24156         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24157         Also remove alpha workaround, which turns out to be because
24158         SIGABRT == SIGLOST.
24159
24160         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24161
24162         * gdb.base/help.exp: Don't test "help show".
24163
24164 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24165
24166         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24167         "set print address" is on.
24168         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24169         pass prompt to gdb_test; gdb_test already looks for the prompt.
24170
24171         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24172
24173         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
24174         was a vestige of the manual TESTSTRATEGY, and the purpose of it
24175         was to make sure that gdb can read a core file.  But (a) the "read
24176         the corefile" part didn't make it to a1-selftest.exp, we just
24177         delete the corefile after creating it, and (b) we test reading
24178         corefiles in corefile.exp anyway.  Also, this test left around a
24179         xgdb process on Solaris.
24180
24181         * gdb.base/corefile.exp: Also test backtrace.
24182
24183 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
24184
24185         * gdb.base/commands.exp: Test a simple user defined command with
24186         arguments and if/while statements; verify the full user command is
24187         printed by "show user".
24188
24189         * gdb.base/commands.exp: Test if/while commands as part of a
24190         breakpoint command list; verify they appear in breakpoint
24191         information.
24192
24193 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24194
24195         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24196         than by dividing by zero.
24197
24198 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
24199
24200         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24201         performing an inferior call with watchpoints enabled.
24202         * gdb.base/watchpoint.c (main): Delete second unnecessary read
24203         call.
24204
24205 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24206
24207         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24208         of "file" command.
24209
24210         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24211         Add additional pattern for when "int operator int(void);" appears
24212         in a different order.
24213
24214 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24215
24216         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24217
24218         * gdb.base/help.exp: Replace most of docstrings for "info signals"
24219         and "signal" with ".*".
24220
24221 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24222
24223         * TODO: Add note about "handle all nostop".
24224
24225         * gdb.base/{sigall.c, sigall.exp}: New test.
24226         * gdb.base/Makefile.in: Add it.
24227
24228 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
24229
24230         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24231         when invoking GDB, suppresses any windowing interface.
24232
24233 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
24234
24235         * config/sim-gdb: New file, simulator testing support.
24236
24237 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
24238
24239         * gdb.base/interrupt.exp: Test calling func1 twice.
24240
24241 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
24242
24243         * gdb.base/list.exp (test_forward_search): Set timeout higher
24244         when we'll be getting lots of output from gdb.
24245
24246         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24247         "init_malloc" to after the expect statement.  Run it if that
24248         regexp is taken, but also for two others which happen if source
24249         cannot be found.
24250
24251 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24252
24253         * gdb.base/printcmds.exp: New test, for printing register before
24254         program is running.
24255
24256 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24257
24258         * gdb.base/list.exp:  Correct some alternate expect patterns
24259         to reflect changes in list1.c.
24260
24261 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24262
24263         * TODO: Add item regarding large frames.
24264
24265         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24266
24267         * TODO: Remove item about enabling return.exp; it
24268         is enabled.  Suggest a few more "return" tests.
24269
24270 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24271
24272         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
24273         anonymous unions.
24274
24275 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24276
24277         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24278         and pr-5646.o, so "make" is the same as "make all", not "make
24279         pr-4975.o".
24280
24281 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
24282
24283         * gdb.base/list.exp: Adjust expectations to reflect changes in
24284         list1.c.
24285         (test_forward_search): New test proc.
24286         * gdb.base/list1.c (long_line): New function, has long source line.
24287
24288 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
24289
24290         * gdb.base/a1-selftest.exp: Change initial stepping to know about
24291         additional line of code that was added.
24292
24293 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
24294
24295         * gdb.disasm/hppa.s: Break the large branching tests into smaller
24296         tests so as not to overflow expect's input buffers.
24297         * gdb.disasm/hppa.exp: Corresponding changes.
24298
24299 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24300
24301         Beginnings of template debugging tests.
24302         * gdb.c++/templ-info.cc:  New file to test for template
24303         debugging capability of the compiler.
24304         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
24305         templ-info.cc.
24306         * gdb.c++/templates.cc:  Add explicit template instantiations
24307         to enable compiling with -fno-implicit-templates. Add destructor
24308         and 'value' method to T5 class for template tests.
24309         * gdb.c++/templates.exp:  Add testcases for printing of template
24310         types, setting breakpoints on template methods and calling a
24311         template method.
24312
24313 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
24314
24315         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24316         branch target since some assemblers (gas-2.5)  may emit a
24317         relocation for the branch instead of resolving it in the
24318         assembler.
24319
24320 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24321
24322         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
24323         through signal handler.
24324
24325 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24326
24327         * configure.in (*-*-netware): Use config/mt-netware.
24328
24329         * config/mt-netware: New file.
24330         * config/mt-i386-netware: Removed, separate configs for different
24331           netware architectures are no longer needed now that we have
24332           --with-headers.
24333
24334 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24335
24336         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
24337         by the recent changes to use ANSI C arithmetic conversions.
24338
24339 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24340
24341         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24342         bug involving using inferior_pid to figure out whether to select a
24343         frame.
24344
24345 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
24346
24347         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24348         match the current disassembler output.
24349
24350 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
24351
24352         * gdb.fortran/exprs.exp: Expect VOID instead of void.
24353         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24354         types, expect "int" as type of integer values (for now).
24355
24356 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
24357
24358         * gdb.base/commands.exp: New tests for if/while commands.
24359
24360 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24361
24362         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
24363         by .*, since hex values have different syntax in Chill mode.
24364
24365 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24366
24367         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
24368         linefeed from expect pattern for repeated types with indices > 9.
24369
24370 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
24371
24372         First part of Fortran test suite.
24373         * gdb.fortran: New directory.
24374         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24375
24376 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24377
24378         * gdb.base/default.exp:  Update expect pattern for load command
24379         without arguments.
24380
24381 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
24382
24383         * configure.in: Change i386 to i[345]86.
24384         * gdb.base/configure.in: Likewise.
24385         * gdb.c++/configure.in: Likewise.
24386         * gdb.chill/configure.in: Likewise.
24387
24388 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
24389
24390         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24391         patterns, since that is not a valid context for comments.
24392
24393 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
24394
24395         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24396         repeated types and repeated types with indices > 9.
24397
24398 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
24399
24400         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24401         2417; old bug has been fixed.
24402
24403 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
24404
24405         * gdb.base/interrupt.exp: When trying to wake up the inferior,
24406         send the newline ourselves instead of assuming gdb_test will do
24407         so when passed an empty input string.
24408
24409         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24410         stabs testcode.
24411
24412 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24413
24414         * lib/gdb.exp (gdb_test): Don't send anything if the first
24415           argument is an empty string.  This makes cases where we want to
24416           match output that is already in expect's buffers (for example,
24417           matching a breakpoint after gdb_run_cmd has been called) work
24418           reliably.
24419
24420 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24421
24422         * config/netware.exp: New file.
24423
24424 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24425
24426         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24427           the -B and -L prefixes so we can find the debugging stub.
24428
24429         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24430           there and we are using the gcc from the tree.
24431
24432         * gdb.base/types.c: Removed.
24433
24434         * gdb.base/configure.in: Look for makefile fragments in ../config.
24435           Recognize i386-*-netware.
24436         * gdb.c++/configure.in: Likewise.
24437
24438 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24439
24440         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
24441         the correct TCL syntax.
24442
24443 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24444
24445         * gdb.base/opaque.exp: use runto instead of messing around with
24446           breakpoints.  Simplify by using gdb_test.
24447
24448         * gdb.base/bitfields.exp: restart between tests on netware targets
24449           because breakpoints aren't relocated after target death.  Run
24450           processes to completion.
24451
24452         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24453
24454 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
24455
24456         * Makefile.in:  Remove extra tabs that confuse some versions
24457         of "make".  Use the newly built gdb to test with by default,
24458         rather than the first one in the tester's search path.
24459
24460 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
24461
24462         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24463
24464         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24465         condition help.
24466
24467 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24468
24469         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24470
24471         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24472           running.
24473         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24474         * gdb.base/funcargs.exp: Likewise.
24475
24476         * gdb.base/bitfields.exp: Simplify by using gdb_test.
24477         * gdb.base/funcargs.exp: Likewise.
24478
24479         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24480           message is "".
24481
24482 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24483
24484         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24485           return,signals,twice}.exp: Handle non-existant binaries
24486           consistantly.
24487
24488         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24489         * gdb.base/Makefile.in: Don't try to generate a core dump, we
24490           might testing a cross development system.
24491
24492 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24493
24494         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24495           runtest script is relative to ${srcdir}, not ${rootdir}.
24496
24497 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
24498
24499         * gdb.base/signals.exp: Allow for optionality of breakpoint
24500         address.
24501
24502 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24503
24504         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24505
24506 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24507
24508         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24509           for size_t definition.
24510         * gdb.c++/templates.cc: Likewise
24511
24512         * config/mt-i386-netware: New file.
24513
24514         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24515           defined.
24516
24517         * gdb.base/Makefile.in: Added support for systems that name core
24518           files by appending "core" to the program name.
24519         * gdb.base/a1-selftest.exp: Likewise.
24520
24521 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24522
24523         * gdb.base/return.exp:  Add comment and message for `return double'
24524         test failure on Sparc Solaris.
24525
24526 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
24527
24528         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24529
24530 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24531
24532         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
24533         from optimizing them away.
24534         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
24535         patterns to include default constructors and assignment operators,
24536         to match gcc versions beyond 2.5.8. Accept any cplus demangling
24537         character in the output of the virtual base pointer.
24538
24539 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24540
24541         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
24542         expression match in print_addr_of to avoid unintented matches.
24543         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
24544         versions up to 2.5.8.
24545
24546 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24547
24548         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
24549         included file to run under newer versions of expect.
24550         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
24551         consecutive >'s in templates to accomodate recent cplus-dem.c change.
24552         Remove xfail for the virtual table of BDDHookV.
24553
24554 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
24555
24556         * lib/gdb.exp (string_to_regexp): Set a default result.
24557         (default_gdb_start): Fix misleading message.
24558
24559 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
24560
24561         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24562         Remove all CC, etc definitions.
24563         * config/mt-hpux: New file.
24564         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24565         (CFLAGS, LDFLAGS): Define.
24566         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24567
24568         * Makefile.in (site.exp): Don't insert host_os, etc.
24569         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24570         (distclean): Check existence of subdir.
24571         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24572         * gdb.base/Makefile.in: General cleanup and simplification.
24573         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24574         to build executables.   Use default rule to build .o files.
24575         (EXPECT, RUNTEST, CC): Fix relative pathname.
24576         (site.exp): Don't insert host_os, etc.
24577         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24578         and/or SIGUSR1 defined.
24579         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24580         * gdb.c++/Makefile.in: General cleanup and simplification.
24581         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24582         (CFLAGS): Remove.
24583         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24584
24585 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
24586
24587         * gdb.base/recurse.exp: Misc changes to get tests running again
24588         after Kung's changes to the watchpoint code.
24589         * gdb.base/watchpoint.exp: Likewise.
24590
24591 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24592
24593         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
24594
24595 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
24596
24597         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24598         * lib/gdb.exp (default_gdb_start): Define.
24599         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24600         gdb.base/funcargs.exp, gdb.base/opaque.exp,
24601         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24602         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24603         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24604         Don't call gdb_target_udi in between tests.
24605
24606 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24607
24608         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24609         (which was basically just a local version of the same thing).  In
24610         addition to avoiding duplication, gdb_test_exact is faster.
24611         * lib/gdb.exp (gdb_test_exact): Fix typo.
24612
24613         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24614         don't give an error.
24615
24616         * gdb.base/term.exp: Call delete_breakpoints before starting.
24617
24618         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24619         (t10): Add comment.
24620
24621 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24622
24623         Reorganization of the GDB Test Suite.
24624
24625         * gdb.base: New directory, contains all the basic tests.
24626         * gdb.c++: New directory, tests specific to C++.
24627         * gdb.chill: New directory, tests specific to Chill.
24628         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24629         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24630         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24631         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24632         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24633         t30-31 to chill).
24634         * */gdbme.*: Rename to match appropriate expect scripts.
24635         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24636         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24637         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24638         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24639         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24640         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24641         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24642         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24643         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24644         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24645         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24646         gdb.c++/virtfunc.cc: New names of C++ files.
24647         * gdb.chill/chillvars.ch: New name of Chill file.
24648         * gdb.base/configure.in, gdb.c++/configure.in,
24649         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24650         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24651         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24652         * configure.in (configdirs): Update to reflect directory changes.
24653         (target_abbrev): No longer define for any configuration.
24654         * Makefile.in: Cosmetic improvements to header comments.
24655
24656 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24657
24658         Various changes to gdb.t31:
24659
24660         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
24661         * gdbme.ch:  Make all key-words and predefineds be upper-case.
24662         * chillvars.exp:  Expect key-words and predefinds in upper-case.
24663
24664         * chillvars.exp:  Use gdb_test_exact many places.
24665         Change expected output for arrays (which now includes index labels).
24666
24667         * pr-5020.exp, gdme.ch (module PR_5020):
24668         New test, for PR-5020.
24669
24670 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24671
24672         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
24673         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
24674
24675 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24676
24677         * Makefile.in:  Fix bit-rot in definitions of CHILL,
24678         CHILL_FOR_TARGET and Chill_LIB.
24679         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
24680         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
24681         CHILL, and CHILL_LIB.
24682
24683 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
24684
24685         * Revert the previous changes.  Please see Rob's directory
24686           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24687
24688 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24689
24690         * Makefile.in, configure.in, config/mips-gdb.exp,
24691           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24692           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24693           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24694           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24695           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24696           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24697           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24698           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24699           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24700           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24701           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24702           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24703           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24704           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24705           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
24706           changes from 94Q1.
24707
24708 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
24709
24710         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24711           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24712           Rob's new testing fragments.
24713
24714 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
24715
24716         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24717           lib/gdb.exp: Replace error proc calls with perror.
24718
24719 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24720
24721         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24722         version also, match on casted version strings, and match on
24723         gdb startup case where the line numbers might be messed up.
24724
24725 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
24726
24727         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24728           (CFLAGS): Delete it from here.
24729
24730 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
24731
24732         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24733
24734 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
24735
24736         * Makefile.in (RUNTEST): Default to just "runtest".
24737
24738 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24739
24740         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24741         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24742         the code has been restructured.
24743
24744 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24745
24746         * gdb.t00/default.exp (set write): Allow any number of \r and/or
24747         \n, not just one of each.
24748
24749         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24750         /bin/cc gives a warning if you do.
24751
24752 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
24753
24754         * gdb.t24/demangle.exp: change expect pattern of
24755         __t10ListS_link1ZUiRCUiPT0
24756
24757 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24758
24759         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24760         on local variables in recursive functions.
24761
24762         * gdb.t07/Makefile.in: Build the new test.
24763
24764 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24765
24766         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24767         directly.  Instead compare the return values from actual calls.
24768
24769 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24770
24771         * Makefile.in (check): Set TCL_LIBRARY for runtest.
24772
24773 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24774
24775         * From Peter Schauer with minor modifications.
24776         * gdb.t15/return.exp (return_tests): Handle targets where "return"
24777         stops in mid-line in the caller.  Add xfail for returning a float
24778         value on X86 targets.
24779
24780 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24781
24782         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24783         to avoid expect lossage.
24784         (fmem_LRbug_tests): Likewise.
24785         * gdb.disasm/hppa.s: Corresponding changes.
24786
24787         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24788         conditions to work with latest dejagnu/expect.
24789
24790         * gdb.t15/funcargs.exp (finish from indirect call): No longer
24791         expected to fail on the PA.
24792         (backtrace in call with trampolines): Explicitly require main
24793         to be frame #1 (no trampolines should show up in backtrace).
24794
24795         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24796         "continue -expect".
24797         * gdb.t06/break.exp: Likewise.
24798         * gdb.t07/watchpoint.exp: Likewise.
24799         * gdb.t13/bitfields.exp: Likewise.
24800         * gdb.t15/{funcargs,return}.exp: Likewise.
24801         * gdb.stabs/weird.exp: Likewise.
24802         * config/{mips,udi}-gdb.exp: Likewise.
24803
24804         * hppa.sed: Enclose comments within a sed command to avoid
24805         losing with the old OSF1 sed.
24806
24807 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24808
24809         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
24810         sequent dynix.
24811         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
24812         * gdb.t15/funcargs.exp:  Conditionally step again to really
24813         finish from marker_call_with_trampolines. Handle the case where
24814         the first step from within call_with_trampolines already steps
24815         us back to main.
24816         * gdb.t15/gdbme.c:  Add comment to closing brace of
24817         call_with_trampolines for funcargs.exp.
24818
24819 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24820
24821         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24822         Fix typo(s).
24823
24824 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24825
24826         * gdb.t07/gdbme.c: More code for watchpoint testing.
24827
24828         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24829         "Hardware watchpoint" throughout file.
24830         (test_watchpoint_triggered_in_syscall): New test.
24831         (test_complex_watchpoint): New test.
24832
24833 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24834
24835         * gdbme.c (call_with_trampolines): New function to try and step
24836         into.  Tests trampoline problems on the PA.
24837
24838         * funcargs.exp (localvars_in_indirect_call): No longer expect
24839         stepping into indirect call to fail on PAs.
24840         (test_stepping_over_trampolines): New test.
24841
24842 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24843
24844         * TODO: Add suggestions for static member function tests, and
24845         completion tests.
24846
24847 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24848
24849         * TODO: Add suggestions for "p/a" tests.
24850
24851         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24852         (default_gdb_exit): Replace all the hair with sending "quit" to
24853         the process with a simple close.
24854
24855 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24856
24857         * TODO: Add suggestions for shared library tests.
24858
24859 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24860
24861         * TODO: Add suggestions for x/s tests.
24862
24863 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24864
24865         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24866         "enable once", and "enable breakpoints once" with ".*".
24867
24868 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24869
24870         * TODO: Add suggestions about structure passing tests.
24871
24872 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24873
24874         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
24875         the primary1 test, use work around if __GNUC__ < 2.
24876         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
24877         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
24878         Test for bad output rather than waiting for timeout.  Issue
24879         second continue only if first continue failed.
24880
24881 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24882
24883         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24884         operator[] test with gdb_test because the old code didn't seem to
24885         be getting the quoting right with the new dejagnu.
24886
24887 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
24888
24889         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24890         one from the path.
24891         * Makefile.in: Use a fresh expect if there is one, use runtest
24892         from the src tree if there is one.
24893
24894 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24895
24896         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24897         next over recursive call.  Revise the tests from that point on
24898         (which had been skipped) to match GDB's actual (correct) output.
24899
24900         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24901         with next over a breakpoint whose condition is false.
24902
24903         * gdb.t00/help.exp: Comment out "help set print" tests just like
24904         (and for same reason as) "help set" test.
24905
24906 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24907
24908         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24909         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24910
24911 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24912
24913         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24914         necessary gdb_target_udi.
24915
24916         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24917
24918         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24919         1838 and 2417; they are fixed.
24920
24921         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24922         gdb.t03/ptype.exp (ptype structure, ptype union):
24923         Remove xfails; the test is looser than when the xfails were added.
24924
24925         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24926         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24927
24928         * gdb.t01/run.exp: Only run shell test if isnative.
24929
24930         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24931         since "run" automatically loads if necessary.  Call gdb_target_udi
24932         after the "file" since "file" kills any execution target.
24933
24934         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24935         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
24936         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24937         argument for UDI.
24938
24939 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24940
24941         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24942
24943         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24944
24945 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24946
24947         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24948         properly quoting regexps.  This makes the second argument to
24949         demangle a fixed string, which matches the callers, instead of a
24950         shell-style pattern which is what the previous implementation
24951         used.  Update some of the callers.
24952
24953 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24954
24955         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24956         (comib_nullified_tests): Fix typo.
24957         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24958         strings.  No longer expected to fail.
24959
24960         * gdb.disasm/hppa.s (addib_tests): Fix typo.
24961         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24962         strings.  No longer expected to fail.
24963
24964         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24965         string.  No longer expected to fail.
24966
24967 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24968
24969         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24970         No longer expected to fail.
24971
24972         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24973         string.  No longer expected to fail.
24974
24975 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24976
24977         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24978         only in the names (I probably got most of them).  I was even
24979         generous with some which differed in underscores in names, and
24980         probably missed a few, and I *still* was able to remove almost a
24981         third of the file with almost no impact on testsuite coverage.
24982
24983 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24984
24985         * gdb.t00/default.exp: Match udi_attach error message as well as
24986         the one from child_attach.
24987
24988         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24989
24990         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24991
24992         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24993         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24994
24995         * Move test with enums and partial symbols back to
24996         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24997         Reverts the change of 26 May 93.  Per today's change to
24998         stabs.texinfo, the behavior that weird.exp was expecting was
24999         unreasonable; what is important is that the compiler+gdb get
25000         things right, which happens with a recent gcc.  Also fix the test
25001         to deal with native compilers which put out the stab gdb can't
25002         deal with.
25003
25004 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25005
25006         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25007         in the names.  The main thing these accomplish is to slow things down.
25008         Many more such duplicates surely remain.
25009
25010         * gdb.t00/help.exp: Comment out "help support" test just like
25011         (and for same reason as) "help set" test.
25012
25013 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
25014
25015         * gdb.t06/break.exp:  Remove setup_xfails for
25016         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25017         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
25018         about known bug in gcc to include up through 2.5.8.
25019         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
25020         well as "_vb$".
25021         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25022         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25023         with latest gcc and gdb.
25024         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
25025         well as "_vb$".
25026
25027 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25028
25029         * configure.in (hppa*-*-*): Also configure and build stabs-only
25030         tests.
25031
25032 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25033
25034         * gdb.t10/hppa.mt: A makefile fragment for the PA.
25035         * gdb.t10/configure.in (hppa*-*-*): Use it.
25036
25037 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25038
25039         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
25040
25041 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25042
25043         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
25044         versions prior to 1.13.5.
25045
25046 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25047
25048         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25049         the prompt is at the start of a line.
25050
25051 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25052
25053         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25054         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
25055         in the copr tests now.
25056         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
25057         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
25058         expected to fail.
25059
25060 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25061
25062         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25063         gdb.t31/chillvars.exp, lib/gdb.exp:
25064         Tweak to run under either version of expect.
25065         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25066         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25067         * gdb.t11/list.exp: Remove extraneous whitespace.
25068
25069 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25070
25071         * gdb.t16/printcmds.exp (test_print_strings): Accept
25072         "(unsigned char *) " before the string.
25073
25074         * TODO: Add notes about printing of fancy types and GDB expressions.
25075
25076 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
25077
25078         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25079         * gdb.t06/configure.in: Don't try to compile signals test program
25080         if doing mips-idt-ecoff.
25081
25082 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25083
25084         * Most .exp files: Tweak to run under either version of expect.
25085
25086 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25087
25088         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
25089         xfails; I'm not sure why they are failing, but not because of PR 1806.
25090
25091 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25092
25093         * config/unix-gdb.exp: Remove gdb_unload cause it's already
25094         defined in lib/gdb.exp.
25095
25096 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25097
25098         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
25099         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25100         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
25101         have to be typeless.
25102
25103 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25104
25105         * TODO: Add suggestion for copyright year test.
25106
25107 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
25108
25109         * configure.in (*-*-lynxos*): Add stabs tests.
25110
25111 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
25112
25113         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25114         so insert a tab before any assembler directive in column zero.
25115
25116         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25117         stores.
25118         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25119         stores.
25120         (fpu_short_memory_tests): Likewise.
25121
25122 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25123
25124         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
25125         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
25126         .stabs directives in comments.
25127
25128 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25129
25130         * TODO: New file, describing tests we could write.
25131         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25132
25133 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25134
25135         * gdb.t06/signals.exp: Add kludge to force re-sync.
25136
25137         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25138         to xgdb instead of gdb, get out of gdb.
25139
25140 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
25141
25142         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25143         for info.
25144
25145 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
25146
25147         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25148         * gdb.stabs/configure.in (hppa*-*-*): Use it.
25149         * gdb.stabs/hppa.sed: New sed script for the PA.
25150
25151 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25152
25153         * gdb.stabs: Re-write weird.def and configuration to use sed
25154         instead of cpp.  sed is portable and POSIX; cpp is neither.
25155
25156 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25157
25158         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25159
25160 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25161
25162         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25163
25164 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25165
25166         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25167         "_vb$".
25168         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25169         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25170
25171 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25172
25173         * lib/gdb.exp: Comment out code which depends on non-existent
25174         `transform' procedure.
25175
25176 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25177
25178         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25179         * lib/gdb.exp: Transform tool name.
25180         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25181         1.1's new error handling system.
25182
25183 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25184
25185         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25186
25187 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25188
25189         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25190         They made pattern matching so slow that timeouts happened on
25191         heavily loaded systems.  Now any output from "show print" which
25192         gets us back to the GDB prompt is a PASS.
25193
25194 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
25195
25196         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
25197
25198 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25199
25200         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25201
25202         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25203         It is not from PR 3220.
25204
25205 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25206
25207         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25208         just started failing because they depended on the order the
25209         subcommands are presented, or exact docstring text.  This kind of
25210         test is a pain and has minimal benefit.
25211
25212 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25213
25214         * gdb.t09/corefile.exp: At end of test, use "core" command with
25215         no arguments.
25216
25217 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
25218
25219         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25220         17}/Makefile.in:  Make it possible to run the testsuite with Sun
25221         make and CC = cross gcc by adding explicit build rules for .o
25222         files.
25223
25224 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25225
25226         * gdb.t15/funcargs.exp: Don't put comments on same line as
25227         setup_xfail (@#$*%& tcl braindamage!).
25228
25229 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25230
25231         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25232
25233 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
25234
25235         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25236         * gdb.t20/inherit.exp: remove three dumplicate entries.
25237
25238 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25239
25240         * gdb.t06/break.exp: For "next over recursive call", fail on any
25241         incorrect output, not just on "factorial (value=2)".
25242
25243 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25244
25245         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
25246         working now. Add an xfail if accesing a bss variable causes
25247         a memory error if the target is not yet run.
25248
25249 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25250
25251         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25252         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25253         name of __st* demangling (2 strings).  Did Kung really get the
25254         more than 95 others right without testing them?
25255
25256 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
25257
25258         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25259
25260 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
25261
25262         * configure.in (configdirs): Add gdb.disasm
25263         * gdb.disasm: New directory for GDB disassembler tests.
25264         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25265
25266 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25267
25268         * gdb.t00/help.exp: Don't test "help set".
25269
25270         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25271         from within expect statements.  None of these happen anymore and
25272         they cause regressions to be silently unnoticed.
25273
25274         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25275         messages) about known failures with gcc cygnus-2.4.5-930417.
25276
25277         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25278         comp-info.exp so it gets built if it doesn't exist.
25279
25280         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25281         it is no longer used.
25282         * gdb.t13/comp-info.c: Removed.
25283
25284 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25285
25286         * gdb.t06/signals.exp: Add xfail for sun3.
25287
25288 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25289
25290         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25291         relevant because ^C doesn't get sent but failure can be reproduced
25292         interactively).
25293
25294 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25295
25296         * gdb.stabs/alpha.mt:  New configuration file for alpha.
25297         * gdb.stabs/configure.in:  Use it.
25298         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
25299         sharing with alpha.mt, redefine long to word via preprocessor.
25300         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
25301         for alpha.
25302         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
25303         native cc.
25304         * gdb.t00/teststrategy.exp:  Change expect string so that we
25305         consume the `(xgdb)' from the command echo and from the gdb prompt.
25306         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
25307         gdb currently compares all values as long, so this failure probably
25308         applies to any configuration where LONGEST is bigger than a target int.
25309         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
25310         with gcc.
25311         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
25312         to handle opaque pointers, gcc is.
25313         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
25314         as first argument. Include <sys/types.h> and change all operator
25315         new definitions to use size_t.
25316         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
25317         now that we use size_t.
25318
25319 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25320
25321         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
25322         a long or float array cast all array members to the same type.
25323         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
25324         with 64 bit longs.
25325         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
25326         on alpha.
25327         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
25328
25329 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25330
25331         * gdb.t24 (demangle.exp): Constructors of templates have names like
25332         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
25333         section 14.6 of the ARM.
25334
25335         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25336         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25337         accomplish little and slow down the testsuite.
25338
25339         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25340         Accept spaces various places.
25341
25342 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25343
25344         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25345         with watchpoint enabled.
25346
25347         * Makefile.in: Remove definition of CC and remove the second
25348         definition of CXX (the "CXX = gcc" one remains).  These definitions
25349         were causing backquotes to be expanded within backquotes, which
25350         doesn't work.
25351
25352 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
25353
25354         * gdb.t17/callfuncs.exp: Add "return 0" to end.
25355
25356 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25357
25358         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
25359         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
25360         by mips cc and contains no stabs entries.
25361
25362 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25363
25364         * config/vx-gdb.exp: Use fake device to load files rather than
25365         NFS.
25366         * lib/gdb.exp: New proc to do "file" command.
25367         * config/unix-gdb.exp: Use new "file" proc.
25368
25369 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25370
25371         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25372         Rework board rebooting slightly.
25373         (gdb_exit): Don't exit from the remote shell; there isn't one.
25374         * gdb.stabs/weird.exp: If a program is being debugged already,
25375         kill it.
25376         * gdb.t04/setvar.exp: Stop and restart gdb.
25377         * gdb.t05/expr.exp: Likewise.
25378         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25379         restart gdb and reload the program.
25380         * gdb.t08/opaque.exp: Likewise.
25381         * gdb.t12/scope.exp: Likewise.
25382         * gdb.t13/bitfields.exp: Likewise.
25383         * gdb.t15/funcargs.exp: Likewise.
25384         * gdb.t20/classes.exp: Likewise.
25385         * gdb.t03/ptype.exp: Increase timeout.
25386         * gdb.t16/printcmds.exp (test_print_string_constants,
25387         test_print_array_constants): Likewise.
25388         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25389         * gdb.t20/classes.exp (do_tests): Likewise.
25390         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25391
25392 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
25393
25394         * gdb.stabs: Renamed *wierd* to *weird*.
25395
25396 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25397
25398         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25399         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
25400
25401 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25402
25403         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25404         (do_tests): Remove xfail for whatis on one_var and two_var.
25405
25406 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25407
25408         * Makefile.in: Made cross building work better by adding
25409         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25410
25411 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25412
25413         * gdb.t15/{return.c,return.exp,Makefile.in}:
25414         New test, currently commented out.
25415
25416 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25417
25418         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25419         still running and removes the leftover named socket so GDb can do
25420         clean restarts.
25421
25422 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25423
25424         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25425         console, not GDB.
25426         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25427         cross testing works better with "make check"
25428         * config/unix-gdb: Use default procedures for exit and version.
25429         * config/vx-gdb.exp: Cleaned up and massaged back to working order
25430         with the newest VxWorks.
25431
25432 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25433
25434         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25435         old form.
25436
25437         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25438         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25439
25440         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25441
25442         * config/unix-gdb.exp: Remove this version of gdb_exit
25443         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25444         Rob says he'll look at it when he gets back to testing boards.
25445
25446 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
25447
25448         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
25449         an expected fail for certain ptype commands.
25450
25451         * gdb.t20/classes.exp:  Update expected results of "ptype class
25452         Base1" to account for the constructor that now appears in the type.
25453
25454 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
25455
25456         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
25457         disappeared from list.
25458         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
25459         "alldone" proc with call to cleanup and exit.
25460         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25461         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25462         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25463         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25464         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
25465         "alldone" proc with simple returns that suppress remaining
25466         tests.  The alldone proc went away many months ago.
25467
25468 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25469
25470         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25471
25472         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25473
25474 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25475
25476         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
25477         as vax gdb will display them.
25478
25479 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25480
25481         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25482         optimizers.
25483
25484         * scope.exp: Change "bad value for localval" messages so each one
25485         is unique.
25486
25487         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25488         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25489
25490         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25491
25492 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25493
25494         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25495         doesn't exist (due to optimization).
25496
25497 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25498
25499         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25500         contains \r because the filename is long.
25501
25502         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25503         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25504
25505 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25506
25507         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25508         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
25509         Ultrix.
25510         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
25511         int tests.
25512         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
25513
25514 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
25515
25516         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
25517
25518         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
25519         to match does not match the passing case but still matches the
25520         failing case.
25521
25522 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25523
25524         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25525
25526 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
25527
25528         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
25529         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25530         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25531         Remove various versions of gdb_exit.
25532         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
25533         gdb_exit.
25534         * config/unix-gdb.exp:  gdb_exit remains here, and should override
25535         the generic version, since it's doing a lot of wierd stuff that
25536         the other versions aren't.  FIXME, fold it in, or abandon this
25537         version.
25538
25539 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25540
25541         * gdb.t24/demangle.exp: Add tests for PR 3220.
25542
25543 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25544
25545         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25546
25547 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
25548
25549         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
25550         "i386-*-*".  Works for i486 as well.
25551
25552         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
25553         bug, and expand domain of xfail to all SVR4 systems, since the
25554         actual problem is likely to be in generic SVR4 /proc support.
25555
25556 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25557
25558         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25559
25560 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
25561
25562         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
25563         xfails for other systems.  Match a missing 'Continuing.' as an
25564         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25565
25566         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25567         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25568         Only issue warning for missing executables if -all option is used.
25569
25570         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
25571         file if -all option is used.  It's like an unpredictable XFAIL.
25572
25573 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25574
25575         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25576         for dynamically linked binaries.
25577
25578         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25579
25580 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25581
25582         * gdb.t20/inherit.exp: Change message for "print tagless struct"
25583         to state that this is a known bug in old versions of g++.
25584
25585 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25586
25587         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
25588         while waiting for `Continuing'.
25589
25590 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
25591
25592         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
25593         in text, data, and bss.
25594         * gdb.t10/nodebug.c:  Add local and global test variables for
25595         initialized and uninitialized data.
25596
25597 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25598
25599         * config/unix-gdb.exp (gdb_exit): Add "wait".
25600
25601 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25602
25603         * gdb.t06/signals.exp:  xfail the continue from the handler for all
25604         targets.
25605
25606         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
25607         function with watchpoints enabled, the i386 call dummy starts with
25608         a call.
25609
25610         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
25611         386 bsd names its corefiles.
25612
25613 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
25614
25615         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
25616         compilers don't grok it.
25617         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
25618         with small octal ints rather than character constants, which
25619         are signed and might not fit if first promoted to int.
25620
25621 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
25622
25623         * gdb.t09/Makefile.in (clean):  Remove corefile.
25624
25625 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25626
25627         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25628
25629 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25630                           and Jim Kingdon (kingdon@cygnus.com)
25631
25632         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25633         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
25634         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25635
25636 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25637
25638         * gdb.t17/interrupt.exp: Add xfail for hppa.
25639
25640 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25641
25642         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25643         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
25644         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
25645         to determine signed-ness of bitfields and use the result to setup
25646         the xfail.
25647         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
25648         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
25649         call line is reached if necessary.
25650
25651 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25652
25653         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25654
25655 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25656
25657         * gdb.t06/break.exp: Also test `clear' command.
25658
25659 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25660
25661         * gdb.t00/teststrategy.exp: Remove extra quote.
25662
25663         * gdb.t07/watchpoint.exp: Change xfail for calling function with
25664         watchpoint enabled to be for all non-68k machines.
25665
25666         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25667
25668 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25669
25670         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25671         targets use aout.mt instead of ecoff.mt as gas understands
25672         standard aout format.
25673
25674 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25675
25676         * lib/gdb.exp (runto): Don't insist that function we are running to
25677         was compiled with -g.
25678
25679         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25680
25681         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25682         to get back into the read system call.
25683         Accept leading newline in case where we woke it up.
25684
25685 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25686
25687         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
25688         to make the stabs test work on ecoff systems using gcc and -with-stabs.
25689         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
25690         enable ecoff configuration.
25691
25692 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25693
25694         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25695
25696 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25697
25698         * gdb.t16/printcmds.exp: Add another printf test.
25699
25700 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
25701
25702         * configure.in: If configured -with-stabs on any target, add
25703         stabsdirs to configdirs.
25704
25705 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25706
25707         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25708         fun" so pattern does not match the command itself.
25709
25710 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25711
25712         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25713
25714 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25715
25716         * gdb.t17/interrupt.exp: Test for more things.
25717
25718 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25719
25720         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25721         compiler arranges the code and line numbers.
25722
25723         * gdb.t17/interrupt.exp: Don't send \n after ^C.
25724
25725 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25726
25727         * gdb.t00/help.exp:  Increase expect input buffer size.
25728
25729 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25730
25731         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25732
25733         * gdb.t07/watchpoint.exp: Add xfail for hppa.
25734
25735         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25736
25737         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25738         [0-9]*, not just [0-9].
25739
25740 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25741
25742         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25743
25744         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25745
25746 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25747
25748         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25749
25750 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25751
25752         * gdb.t06/signals.c: Add xfails for sun3.
25753
25754         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25755
25756         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
25757         test_stepping tests.
25758
25759 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25760
25761         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25762
25763         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25764
25765         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25766         rather than actually putting it through cpp twice.
25767
25768         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25769
25770 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
25771
25772         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25773         no longer needed.
25774
25775 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25776
25777         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25778
25779         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25780         C++ features prints as "struct", make it a pass, not an xfail.
25781
25782 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25783
25784         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25785         Don't require VA to print as "class" rather than "struct".
25786
25787 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
25788
25789         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25790
25791 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25792
25793         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25794
25795 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25796
25797         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
25798         order.
25799
25800 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25801
25802         * gdb.t16/printcmds.exp: Add printf tests.
25803
25804         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25805
25806         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25807
25808 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
25809
25810         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
25811         pass counts, to counteract any existing or future setup_xfails.
25812
25813 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25814
25815         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25816         {BEGIN,END}_COMMON for common block instead of STAB.
25817         * gdb.stabs/wierd.exp: Add xfail for rs6000.
25818
25819         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25820         intp_var should be N_GSYM not N_LSYM.
25821         wierd-aout.S: Use a label for the value of the N_SO.
25822         wierd.def: Remove all backslashes.
25823         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25824
25825 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25826
25827         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25828         get the expected next to inheritance3.
25829
25830 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25831
25832         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25833         now that gcc-2.4 gets it right.
25834
25835 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25836
25837         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25838
25839         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25840         generating comp-info.exp which works for cross-compilation.
25841
25842 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
25843
25844         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
25845         "*-*-sysv4.*".
25846
25847 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
25848
25849         * gdb.t01/run.exp:  Start with a fresh gdb.
25850         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
25851         SVR4.x.
25852
25853 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
25854
25855         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25856         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25857         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25858         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
25859         things to remove.
25860
25861 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
25862
25863         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
25864         test cases from bug reports.
25865
25866 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
25867
25868         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
25869         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
25870           avoid spurious xfails.
25871         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
25872         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
25873         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
25874
25875 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
25876
25877         * gdb.t00/teststrategy.exp:  Rework to provide more useful
25878         description of each test, fix problem with systems that define
25879         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25880         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
25881         results for "next over recursive call" so timeouts aren't taken
25882         by error.
25883
25884 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25885
25886         * gdb.t12/scope.exp: Test printing of variables before run.
25887
25888         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25889         printed in wrong order due to sorting.
25890
25891 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
25892
25893         * gdb.t00/teststrategy.exp:  Fix expected results for printing
25894         user entered string constant.  Is array of char, prints with no
25895         address.
25896
25897         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
25898         commands.
25899         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
25900         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
25901         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
25902         of struct of char arrays.
25903         * gdb.t00/radix.exp:  New tests for radix commands.
25904
25905 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
25906
25907         * gdb.t16/printcmd.exp: Print a variable before running program
25908         (with xfail for AIX).
25909
25910 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25911
25912         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25913
25914         * gdb.t16/printcmd.exp: Don't print variables before running program.
25915
25916         * gdb.t06/break.exp: Don't require envp argument to main.
25917
25918         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25919
25920         * gdb.t02/whatis.exp, gdb.t11/list.exp:
25921         Add xfails for rs6000.
25922
25923         * gdb.t02/whatis.exp: Change other tests not to re-test something
25924         we already tested.
25925
25926         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25927         each type used has a variable of that type.
25928
25929 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
25930
25931         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25932
25933 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
25934
25935         * configure.in: change srctrigger to be a file, not a directory
25936
25937 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
25938
25939         * configure.in (mips-idt-ecoff*): Added trailing '*'.
25940
25941         * gdb.t11/list.exp: Fixed a couple of typos.
25942
25943 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
25944
25945         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
25946         is fixed and PR is closed.
25947         * gdb.t16 (gdbme.c):  Add simple test string variable.
25948         * gdb.t16 (printcmds.exp):  Add tests with simple test string
25949         variable, primarily for boundaries on "set print elements".
25950
25951 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
25952
25953         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25954         Make leading 0's optional and don't expect a tab in the middle
25955         of the number.
25956
25957         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25958
25959         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25960         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
25961         don't end command passed to gdb_test with newline.
25962
25963         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25964         signed keyword away, don't expect signed bitfields to be signed.
25965
25966         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25967         printing with only as many 1's as are in the field as well as printing
25968         with 32 1's (see comment).
25969
25970 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
25971
25972         * gdb.t00/default.exp:  Start with a fresh gdb.
25973         * configure.in (configdirs):  Remove gdb.t31 until the chill
25974         compiler works again.  It no longer is able to find chillrt0
25975         since it isn't in libchill.a anymore.
25976         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
25977         wierd.o, make more modular.
25978         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
25979         spurious newlines that caused problems.
25980
25981 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25982
25983         * Move test with enums and partial symbols from gdb.t03/ptype.exp
25984         to gdb.stabs/wierd.exp since GCC has worked around the bug.
25985         gdb.stabs/wierd.{exp,def}: Many new tests.
25986
25987         * gdb.t00/default.exp: update info line for new message.
25988
25989         * gdb.t02/{whatis.exp,gdbme.c}:
25990         Test that "char *" doesn't print as "caddr_t".
25991
25992 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25993
25994         * gdb.t00/help.exp: Use .* in place of some help messages which
25995         just changed.
25996         gdb.t00/default.exp: Update "info frame" test for new message.
25997         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25998         Remove some xfails
25999
26000 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26001
26002         * gdb.t03/{gdbme.c,ptype.exp}:
26003         Add tests for typedef'd struct and union without tags.
26004         Also check "whatis" on a variable of a typedef'd enum without a tag.
26005
26006         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26007         PRMS 1823; the bug still exists but isn't reproduced by this test
26008         anymore), and remove rs6000 XFAIL (the bug is fixed).
26009
26010         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26011         duplicated from whatis.exp.  For those that are left, accept
26012         "long", "long int", or "int" for long variables (whatis.exp already
26013         has an XFAIL for "int", so no need to fail it here).
26014
26015         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26016         Deal with GCC's names for types now that GDB uses the compiler's names.
26017
26018         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
26019         setup_xfail's for sunos4.  If we #defined the signed keyword away,
26020         don't expect GDB to know that char it is signed.
26021
26022         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26023
26024 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
26025
26026         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
26027         should work on any system, regardless of debugging format.
26028         * gdb.t21/demangle.exp:  Move to gdb.t24.
26029         * gdb.t24/demangle.exp:  Move from gdb.t21.
26030         * gdb.t24/{Makefile.in, configure.in}:  New files.
26031
26032 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26033
26034         * configure.in: Do gdb.stabs and C++ tests only for stabs.
26035         * gdb.stabs: New directory.
26036
26037 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26038
26039         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26040         not just "Quit anyway?".
26041
26042 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
26043
26044         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
26045         that all setup_xfails are immediately followed by clear_xfails.
26046
26047 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
26048
26049         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26050         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26051         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26052         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26053         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26054         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26055         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26056         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26057         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26058         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26059         gdb.t31/chillvars.exp, lib/gdb.exp:
26060         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26061         bug-gdb@prep.ai.mit.edu.
26062
26063 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
26064
26065         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
26066         with 0.0, not integer 0.
26067
26068 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
26069
26070         * gdb.t06/break.exp: Update for "Kill the program" message change.
26071
26072 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
26073
26074         * Makefile.in (GDBFLAGS):  Set to -nx.
26075         * Makefile.in (site.exp):  Use GDBFLAGS.
26076
26077 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
26078
26079         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26080           Makefiles.
26081           (check): depend on just-check.
26082           (just-check): added so that tests can be run without a noop
26083           build pass.
26084
26085 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
26086
26087         Switch to using configure's configdirs.
26088         * Makefile.in (Makefile): add configure.in dependency.
26089           (SUBDIRS): removed redundant assignment.
26090         * configure.in: switch subdirs assignment to configdirs.
26091         * gdb.t*/configure.in: new files.
26092
26093 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
26094
26095         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26096         works.
26097
26098 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
26099
26100         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
26101         in explicit rules.  Apparently this is not supported by some makes.
26102
26103 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
26104
26105         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
26106
26107 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26108
26109         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
26110         disappeared.
26111
26112 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
26113
26114         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
26115
26116 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
26117
26118         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
26119         watchpoint problem that is now fixed.
26120         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
26121         uninitialized convenience variables.
26122         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
26123         structures.
26124
26125 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26126
26127         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26128         which causes expect to get out of sync with gdb on long output
26129         from help set.
26130         * gdb.t09/corefile.exp: Make expected pattern for core file
26131         failing signal and frame output format less sun specific.
26132
26133 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
26134
26135         * gdb.t31/chillvars.exp:  Add and remove initial dummy
26136         breakpoint, so that symbol table is forced in.
26137         (Needed at least on Sunos4, though it seems not SVR4.)
26138         * gdb.t31/chillvars.exp:  Update for changed output format.
26139
26140 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
26141
26142         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
26143
26144 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
26145
26146         * Makefile.in: Added --srcdir when invoking runtest, removed the
26147         need for a local config file. (optional now)
26148
26149 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
26150
26151         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
26152         failure count used to force early termination.  Add some more
26153         expected failures for gnu style demangling.
26154
26155 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26156
26157         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26158         pmi variable from gdb.t20/gdbme to get optimized away.
26159         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26160         Check for written corefile upon timeout _and_ eof.
26161
26162 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26163
26164         * config/unix-gdb.exp:  Add missing return 0.
26165
26166 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26167
26168         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
26169         test termination.
26170
26171 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
26172
26173         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
26174         disappeared.
26175
26176 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
26177
26178         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
26179         time as i860 support works.
26180
26181         * gdb.t15/funcargs.exp:  Fix expected outputs to include
26182         "backtrace 100\r" rather than just "backtrace\r", to match last
26183         change.
26184
26185 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
26186
26187         * config/udi-gdb.exp (gdb_exit): Remove close command.
26188         (gdb_target_udi): New procedure to set the UDI target.
26189         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
26190         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26191         Added waits for prompts after several question responses.  Added
26192         some more responses used by a29k-amd-udi-gdb.
26193         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26194         pass different arguments, restart UDI connection after program
26195         completion.
26196         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26197         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26198         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26199         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26200         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26201         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26202         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26203         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26204         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26205         after program completion.
26206         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26207         compiled with a SELECT_VECS setting.
26208         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26209         infinite recursion.
26210
26211         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26212         Added checks for COFF results, and made them expected failures for
26213         all targets.  It would be better to make them expected failures
26214         for COFF targets only.
26215
26216 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
26217
26218         * Makefile.in: add null dvi target, don't bother to recurse
26219         through test directories for info and install-info; rename
26220         $(datadir) to be dejagnu instead of deja-gnu
26221
26222 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
26223
26224         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
26225         compiler to coredump.
26226         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
26227         code.
26228
26229 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
26230
26231         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
26232         coredump.
26233         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
26234         code.
26235
26236 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
26237
26238         * gdb.t03/ptype.exp: tests for return code from gdb_test.
26239         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26240         which in a shell. Deletes xgdb when done.
26241         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26242         Tests the return from the "set height" or "set width" commands.
26243         Added a few return codes where needed.
26244
26245 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
26246
26247         * Makefile.in (SUBDIRS):  Add gdb.t17.
26248         * configure.in (subdirs):  Add gdb.t17.
26249         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
26250         files to test gdb's calling of functions in the inferior with
26251         the correct arguments and gdb's ability to retrieve any
26252         result returned.
26253
26254 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
26255
26256         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
26257         may be called after gdb goes away.  Previous versions of expect
26258         needed these to avoid file descriptor leaks, but they cause
26259         errors with the current revision of expect.
26260         * gdb.t00/gdbvars.exp:  Use -re on expected output after
26261         setting sevenbit-strings.
26262         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
26263         to set sevenbit-strings consistent across tests.
26264         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
26265         set sevenbit-strings consistent across tests.
26266
26267 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
26268
26269         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
26270         expected output to match current "expect" expectations.
26271
26272 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
26273
26274         * gdb.t00/default.exp:  Change expected output for default "source"
26275         command, to match new gdb behavior which requires a filename to
26276         source.
26277
26278 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
26279
26280         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
26281         expected fail for i486-*-* that misses the marker2 function.
26282         * gdb.t10/crossload.exp (bfddefault):  Allow successful
26283         recognition of a format to pass even if no symbols are found.
26284         Explicitly catch failures where the format is not recognized
26285         or is ambiguous, and add the reason to the fail message.
26286         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
26287         the cause is and invalid target and add reason to failure message.
26288         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
26289         elf32-i386, elf32-sparc, and elf32-i860.
26290         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26291         Set up expected failure for 'filename'::variable scope resolution,
26292         which is now apparently broken on all targets.
26293         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26294         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26295         gdb.t23/templates.exp:   Change failure for missing binfile into
26296         just a warning.
26297         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
26298         references.
26299
26300 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
26301
26302         * gdb.t00/default.exp:  Add expected output for default "source"
26303         command, to match new gdb behavior.
26304         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
26305
26306 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
26307
26308         * config/*-gdb.exp: returns an error, rather than exiting on
26309         internal errors.
26310
26311 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
26312
26313         * gdb.t03/gdbme.c:  Add pointer to struct variable.
26314         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
26315         referencing struct members.
26316
26317 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
26318
26319         * configure.in (mips-idt-ecoff): New target.
26320         * config/mips-gdb.exp: New file for remote board using MIPS remote
26321         debugging protocol.
26322
26323         * Redid configuration scheme.  Removed gdb.t*/configure.in.
26324         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
26325         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
26326         distclean targets.  Built executables via .o files.  Adjusted
26327         tests to account for source files in $(srcdir) rather than
26328         $(objdir).
26329         * lib/gdb.exp (runto): Don't expect () after the function name,
26330         because it may have arguments.
26331
26332 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
26333
26334         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26335         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26336         expected failures for mips-idt-* and mips-sgi-*.
26337         * gdb.t00/default.exp (attach): Kill process if requested.
26338         * gdb.t00/help.exp (help target core, help target): Accept a gdb
26339         that does not read core files.
26340         * gdb.t01/run.exp: Removed checks for exit status code.
26341         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26342         it is linked in.
26343         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26344         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26345         appropriate, rather than doing it by hand.
26346         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26347         execution.
26348         * gdb.t10/crossload.exp: Kill existing program if needed.
26349         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26350         appropriate, rather than doing it by hand.  Always increase
26351         timeout for this test, not just for VxWorks.
26352
26353 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
26354
26355         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
26356         of Chill STRUCT types and STRUCT values.
26357         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
26358         than "char".
26359         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26360         struct2):  New struct definitions and initializations to test
26361         simple Chill STRUCT types.
26362
26363 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
26364
26365         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
26366         the null byte at the end of strings.
26367         * gdb.t00/default.exp:  Make show version insensitive to copyright
26368         date.
26369         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
26370         to avoid dependencies on target char signedness.
26371         * gdb.t16/printcmds.exp:  Update expected results for explicitly
26372         unsigned char.
26373         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
26374         now work.
26375         * gdb.t21/demangle.exp:  Add many more patterns for template
26376         demangling, most of them being expected failures.
26377         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
26378         string we are matching for, to match on the whole string.
26379         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
26380         and fix a whole bunch that had incorrect expected output but were
26381         passing anyway because of the bug in "proc demangle".
26382         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
26383         type.
26384         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
26385
26386 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26387
26388         * gdb/testsuite: made modifications to testcases, etc., to allow
26389         them to work properly  given the reorganization of deja-gnu and the
26390         relocation of the testcases from deja-gnu to a "tool" subdirectory.
26391
26392 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26393
26394         * gdb/testsuite: Initial creation of gdb/testsuite.
26395         Migrated dejagnu testcases and support files for testing nm to
26396         gdb/testsuite from deja-gnu.  These files were moved "as is"
26397         with no modifications.  This migration is part of a major overhaul
26398         of dejagnu.  The modifications to these testcases, etc., which
26399         will allow them to work with the new version of dejagnu will be
26400         made in a future update.
26401
26402  For additional changes see gdb.mi/ChangeLog-1999-2003.
26403 \f
26404 ;; Local Variables:
26405 ;; mode: change-log
26406 ;; left-margin: 8
26407 ;; fill-column: 74
26408 ;; version-control: never
26409 ;; End:
26410
26411     Copyright 1993-2005, 2012 Free Software Foundation, Inc.
26412   Copying and distribution of this file, with or without modification,
26413   are permitted provided the copyright notice and this notice are preserved.