PR symtab/12406:
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2012-01-24  Tom Tromey  <tromey@redhat.com>
2
3         * lib/mi-support.exp (mi_expect_stop): Add special case for
4         solib-event.
5         * gdb.base/catch-load-so.c: New file.
6         * gdb.base/catch-load.exp: New file.
7         * gdb.base/catch-load.c: New file.
8         * gdb.base/break-interp.exp (reach_1): Update regexp.
9
10 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
11
12         Fix fuzzy results.
13         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
14         lpsimple and func.
15
16 2012-01-24  Gary Benson  <gbenson@redhat.com>
17
18         Delete #if 0'd out code.
19         * gdb.base/default.exp (info catch): Remove.
20         * gdb.base/gdb_history (info catch): Likewise.
21         * gdb.base/help.exp (info catch): Likewise.
22
23 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
24
25         Fix watchpoints to be specific for each inferior.
26         * gdb.multi/watchpoint-multi.c: New file.
27         * gdb.multi/watchpoint-multi.exp: New file.
28
29 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
30
31         Fix watchpoints across inferior fork.
32         * gdb.threads/watchpoint-fork-child.c: New file.
33         * gdb.threads/watchpoint-fork-mt.c: New file.
34         * gdb.threads/watchpoint-fork-parent.c: New file.
35         * gdb.threads/watchpoint-fork-st.c: New file.
36         * gdb.threads/watchpoint-fork.exp: New file.
37         * gdb.threads/watchpoint-fork.h: New file.
38
39 2012-01-23  Pedro Alves  <palves@redhat.com>
40
41         * gdb.base/call-signal-resume.exp: Allow output after "return".
42
43 2012-01-20  Pedro Alves  <palves@redhat.com>
44
45         * gdb.python/py-finish-breakpoint.py: Fix typo.
46
47 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
48
49         * gdb.base/info-proc.exp: Also run on remote targets.  Main
50         "info proc" command is now always present; whether target supports
51         actual info proc operation is detected when attempting to issue
52         the command.
53
54 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
55
56         * .gdbinit: Remove.
57
58 2012-01-19  Pedro Alves  <palves@redhat.com>
59
60         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
61         look at the funtions' returns.
62         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
63         (jprint.print(int, int)): Change return type to int.  Adjust.
64
65 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66
67         PR gdb/9538
68         * gdb.base/sepdebug.exp: New test.
69
70 2012-01-18  Pedro Alves  <palves@redhat.com>
71
72         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
73         Allow output before ^done.
74
75 2012-01-16  Tom Tromey  <tromey@redhat.com>
76
77         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
78         Add tests for relative directory.
79
80 2012-01-16  Tom Tromey  <tromey@redhat.com>
81
82         * gdb.base/printcmds.c (enum flag_enum): New.
83         (three): New global.
84         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
85         enum printing.
86         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
87         FlagEnumerationPrinter.
88         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
89         * gdb.python/py-pp-maint.c (enum flag_enum): New.
90         (fval): New global.
91
92 2012-01-16  Pedro Alves  <palves@redhat.com>
93
94         * lib/gdb.exp (banned_procedures): New variable.
95         (banned_variables_traced): Rename to ...
96         (banned_traced): ... this.
97         (gdb_init): Also trace banned procedures.
98         (gdb_finish): Also untrace banned procedures.
99
100 2012-01-16  Pedro Alves  <palves@redhat.com>
101
102         Remove all calls to strace.
103
104 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
105
106         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
107         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
108
109 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
110
111         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
112         * gdb.base/pie-execl.exp: Likewise.
113
114 2012-01-12  Keith Seitz  <keiths@redhat.com>
115
116         PR mi/10586
117         * gdb.mi/var-cmd.c (struct anonymous): New structure.
118         (do_anonymous_type_tests): New function.
119         (main): Call do_anonymous_type_tests.
120         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
121         (verify_everything): New procedure.
122         * gdb.mi/mi-var-cp.cc (class A): New class.
123         (anonymous_structs_and_unions): New function.
124         (main): Call anonymous_structs_and_unions.
125         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
126         (verify_everything): New procedure.
127
128 2012-01-12  Keith Seitz  <keiths@redhat.com>
129
130         * lib/mi-support.exp: Expand comments about PATH_EXPR.
131         (varobj_tree::get_path_expr): Assume that all varobjs are
132         compound unless they are known simple types.
133         Adjust path expressions based on parent type, path parent type,
134         and tree language.
135         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
136         the root varobj.
137         (mi_walk_varobj_tree): Add LANGUAGE parameter.
138
139 2012-01-11  Pedro Alves  <palves@redhat.com>
140
141         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
142         core files on this machine" anymore.
143
144 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
145
146         * gdb.base/watchpoint.c (recurser): Initialize local_x.
147         (main): Repeat recurser call.
148         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
149         equivalent to 'local_x'.
150
151 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
152             Joel Brobecker <brobecker@adacore.com>
153
154         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
155
156 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
157
158         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
159         * gdb.python/py-events.c (first): Add bits for new "step N" test.
160         * gdb.python/py-events.exp: Test that "step N" tripping on a
161         breakpoint emits a breakpoint event.
162
163 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
164
165         * gdb.base/auxv.exp: Reformat the copyright notice.
166
167 2012-01-03  Yao Qi  <yao@codesourcery.com>
168
169         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
170         (strace_trace_on_diff_addr): New.
171         * gdb.trace/strace.c: (main): Add two local variables.
172
173 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
174
175         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
176         * gdb.cell/gcore.exp: Likewise.
177         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
178         to verify the correct instance of main is selected.
179
180 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
181
182         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
183         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
184         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
185         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
186         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
187         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
188         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
189         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
190         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
191         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
192         gdb.threads/thread_check.c: Reformat copyright header.
193
194 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
195
196         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
197         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
198         is not enabled.
199
200 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
201
202         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
203         parameter to self_exec, adjust the function.
204         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
205         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
206         (set var do_exit = 0): Remove test.
207         (newline at end of file): Add one.
208
209 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
210
211         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
212         New files.
213
214 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
215
216         Fix racy FAILs.
217         * gdb.threads/fork-thread-pending.c (barrier): New variable.
218         (thread_function, thread_forker): Call pthread_barrier_wait for it.
219         (main): Call pthread_barrier_init for it.
220
221 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
222
223         Fix double send_gdb leading to racy FAILs.
224         * gdb.base/break.exp (set silent break bp_location1): Replace
225         3x send_gdb and gdb_expect by gdb_test.
226         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
227         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
228         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
229         instead of send_gdb.  Twice.
230         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
231         3x send_gdb and gdb_expect by gdb_test.
232         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
233
234 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
235
236         * gdb.linespec/linespec.exp: Compile using {c++}.
237
238 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
239
240         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
241         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
242         (verify GCC PR debug/51668): New test.
243
244 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
245
246         Introduce gdb.FinishBreakpoint in Python.
247         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
248         py-finish-breakpoint2
249         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
250         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
251         instead of line number.
252         * gdb.python/py-finish-breakpoint.c: New file.
253         * gdb.python/py-finish-breakpoint.exp: New file.
254         * gdb.python/py-finish-breakpoint.py: New file.
255         * gdb.python/py-finish-breakpoint2.cc: New file.
256         * gdb.python/py-finish-breakpoint2.exp: New file.
257         * gdb.python/py-finish-breakpoint2.py: New file.
258
259 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
260
261         Partial fix of compatibility with gcc-4.7.
262         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
263         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
264         Add comment to add a PASS case in the future.
265
266         Fix compatibility with gcc-4.7.
267         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
268
269 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
270
271         PR tdep/12797
272         * gdb.base/callfuncs.exp: Remove KFAIL.
273
274 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
275
276         * gdb.ada/task_bp: New testcase.
277
278 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
279
280         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
281         -DNO_SECTIONS.
282         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
283
284 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
285
286         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
287         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
288         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
289         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
290         conditional for gcc <= 4.5.
291
292 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
293
294         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
295         by XFAIL.
296         * gdb.cp/static-method.exp (info addr A::func())
297         (list static-method.cc:xxx::(anonymous namespace)::A::func)
298         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
299         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
300         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
301         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
302         (test value of F in k3_m): Likewise.
303         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
304         Likewise.
305
306 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
307
308         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
309         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
310         Remove.
311         * gdb.threads/attachstop-mt.c: Remove.
312         * gdb.threads/attachstop-mt.exp: Remove.
313
314 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
315
316         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
317
318 2011-12-16  Doug Evans  <dje@google.com>
319
320         * boards/native-stdio-gdbserver.exp: New file.
321         * boards/native-gdbserver.exp: New file.
322
323         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
324         gdbserver output.
325         (gdbserver_default_get_remote_address): New function.
326         (gdbserver_start): Call gdb,get_remote_address to compute argument
327         to "target remote" command.
328
329 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
330
331         * gdb.python/py-function.exp: Change "on" to "full" for
332         python print-stack.  Add set/show python print-stack
333         off|full|message tests.
334
335 2011-12-15  Yao Qi  <yao@codesourcery.com>
336
337         * gdb.trace/strace.c: New
338         * gdb.trace/strace.exp: New.
339
340 2011-12-14  Tom Tromey  <tromey@redhat.com>
341
342         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
343
344 2011-12-14  Doug Evans  <dje@google.com>
345
346         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
347
348 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
349
350         PR threads/10729
351
352         * gdb.mi/watch-nonstop.c: New file.
353         * gdb.mi/mi-watch-nonstop.exp: New file.
354
355 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
356             Doug Evans  <dje@google.com>
357
358         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
359         (clean_restart): Remove references to the gdb_stub target board
360         variable.
361         (gdb_step_for_stub): Delete.
362
363         * gdb.base/annota1.exp: Remove all references to [target_info
364         exists gdb_stub], gdb_step_for_stub and usestubs.
365         * gdb.base/annota3.exp: Ditto.
366         * gdb.base/async.exp: Ditto.
367         * gdb.base/break.exp: Ditto.
368         * gdb.base/code-expr.exp: Ditto.
369         * gdb.base/commands.exp: Ditto.
370         * gdb.base/completion.exp: Ditto.
371         * gdb.base/condbreak.exp: Ditto.
372         * gdb.base/consecutive.exp: Ditto.
373         * gdb.base/cvexpr.exp: Ditto.
374         * gdb.base/define.exp: Ditto.
375         * gdb.base/display.exp: Ditto.
376         * gdb.base/ena-dis-br.exp: Ditto.
377         * gdb.base/environ.exp: Ditto.
378         * gdb.base/gnu-ifunc.exp: Ditto.
379         * gdb.base/maint.exp: Ditto.
380         * gdb.base/pending.exp: Ditto.
381         * gdb.base/sect-cmd.exp: Ditto.
382         * gdb.base/sepdebug.exp: Ditto.
383         * gdb.base/unload.exp: Ditto.
384         * gdb.base/watchpoint-solib.exp: Ditto.
385         * gdb.cp/annota2.exp: Ditto.
386         * gdb.cp/annota3.exp: Ditto.
387         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
388         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
389         * gdb.mi/mi-pending.exp: Ditto.
390         * gdb.trace/circ.exp: Ditto.
391         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
392         * gdb.base/list.exp: Ditto.
393
394         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
395         breakpoint function and all references to the usestubs macro.
396         * gdb.base/exprs.c: Ditto.
397         * gdb.base/freebpcmd.c: Ditto.
398         * gdb.base/bitfields.c: Ditto.
399         * gdb.base/bitfields2.c: Ditto.
400         * gdb.base/break.c: Ditto.
401         * gdb.base/call-sc.c: Ditto.
402         * gdb.base/call-signals.c: Ditto.
403         * gdb.base/callfuncs.c: Ditto.
404         * gdb.base/charset.c: Ditto.
405         * gdb.base/consecutive.c: Ditto.
406         * gdb.base/constvars.c: Ditto.
407         * gdb.base/funcargs.c: Ditto.
408         * gdb.base/int-type.c: Ditto.
409         * gdb.base/interrupt.c: Ditto.
410         * gdb.base/langs0.c: Ditto.
411         * gdb.base/list0.c: Ditto.
412         * gdb.base/mips_pro.c: Ditto.
413         * gdb.base/miscexprs.c: Ditto.
414         * gdb.base/nodebug.c: Ditto.
415         * gdb.base/opaque0.c: Ditto.
416         * gdb.base/pointers.c: Ditto.
417         * gdb.base/printcmds.c: Ditto.
418         * gdb.base/ptype.c: Ditto.
419         * gdb.base/recurse.c: Ditto.
420         * gdb.base/reread1.c: Ditto.
421         * gdb.base/reread2.c: Ditto.
422         * gdb.base/restore.c: Ditto.
423         * gdb.base/return.c: Ditto.
424         * gdb.base/run.c: Ditto.
425         * gdb.base/scope0.c: Ditto.
426         * gdb.base/sepdebug.c: Ditto.
427         * gdb.base/setshow.c: Ditto.
428         * gdb.base/setvar.c: Ditto.
429         * gdb.base/sigall.c: Ditto.
430         * gdb.base/signals.c: Ditto.
431         * gdb.base/structs.c: Ditto.
432         * gdb.base/structs2.c: Ditto.
433         * gdb.base/testenv.c: Ditto.
434         * gdb.base/twice.c: Ditto.
435         * gdb.base/unwindonsignal.c: Ditto.
436         * gdb.base/watchpoint.c: Ditto.
437         * gdb.base/watchpoints.c: Ditto.
438         * gdb.base/whatis.c: Ditto.
439         * gdb.cp/classes.cc: Ditto.
440         * gdb.cp/cplusfuncs.cc: Ditto.
441         * gdb.cp/derivation.cc: Ditto.
442         * gdb.cp/formatted-ref.cc: Ditto.
443         * gdb.cp/misc.cc: Ditto.
444         * gdb.cp/overload.cc: Ditto.
445         * gdb.cp/ovldbreak.cc: Ditto.
446         * gdb.cp/ref-params.cc: Ditto.
447         * gdb.cp/ref-types.cc: Ditto.
448         * gdb.cp/templates.cc: Ditto.
449         * gdb.cp/virtfunc.cc: Ditto.
450         * gdb.hp/gdb.aCC/run.c: Ditto.
451         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
452         * gdb.hp/gdb.compat/xdb0.c: Ditto.
453         * gdb.reverse/consecutive-reverse.c: Ditto.
454         * gdb.reverse/sigall-reverse.c: Ditto.
455         * gdb.reverse/until-reverse.c: Ditto.
456         * gdb.reverse/watch-reverse.c: Ditto.
457         * gdb.trace/actions.c: Ditto.
458         * gdb.trace/circ.c: Ditto.
459         * gdb.trace/collection.c: Ditto.
460
461 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
462
463         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
464         (func6, func7): New.
465         (main): Call func6 and func7.
466         * gdb.base/watchpoint.exp (test_wide_location_1)
467         (test_wide_location_2): New.
468         (top level): Re-enable hardware watchpoints if necessary.  Call
469         test_wide_location_1 and test_wide_location_2.
470
471 2011-12-11  Yao Qi  <yao@codesourcery.com>
472
473         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
474
475 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
476
477         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
478         expected output for unsupported case.
479
480 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
481
482         PR testsuite/12649
483         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
484         Protect gdb_test_multiple by final $gdb_prompt match.
485
486 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
487
488         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
489         New variable, new test.
490         (list static-method.cc:xxx::(anonymous namespace)::A::func)
491         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
492         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
493         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
494         them if HAVE_GCC_45682_FIXED is not set.
495
496 2011-12-10  Yao Qi  <yao@codesourcery.com>
497
498         * gdb.trace/status-stop.exp: New.
499         * gdb.trace/status-stop.c: New.
500
501 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
502
503         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
504         timeout.
505
506 2011-12-08  Tom Tromey  <tromey@redhat.com>
507
508         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
509         condition.
510
511 2011-12-07  Stan Shebs  <stan@codesourcery.com>
512
513         * gdb.trace/tfind.exp: Update for output changes.
514
515 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
516
517         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
518         throws "Cannot insert catchpoints in this configuration".
519         * gdb.ada/mi_catch_ex.exp: Likewise.
520
521 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
522
523         * gdb.base/break-always.exp: Test changing memory at addresses
524         with breakpoints inserted.
525
526 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
527
528         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
529         involving a fully qualified function name.
530
531 2011-12-06  Tom Tromey  <tromey@redhat.com>
532
533         * gdb.ada/homonym.exp: Add three breakpoint tests.
534
535 2011-12-06  Tom Tromey  <tromey@redhat.com>
536
537         * gdb.base/solib-weak.exp (do_test): Remove kfail.
538         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
539         * gdb.objc/objcdecode.exp: Update for output changes.
540         * gdb.linespec/linespec.exp: New file.
541         * gdb.linespec/lspec.cc: New file.
542         * gdb.linespec/lspec.h: New file.
543         * gdb.linespec/body.h: New file.
544         * gdb.linespec/base/two/thefile.cc: New file.
545         * gdb.linespec/base/one/thefile.cc: New file.
546         * gdb.linespec/Makefile.in: New file.
547         * gdb.cp/templates.exp (test_template_breakpoints): Update for
548         output changes.
549         * gdb.cp/re-set-overloaded.exp: Remove kfail.
550         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
551         makes one breakpoint.
552         * gdb.cp/method2.exp (test_break): Update for output changes.
553         * gdb.cp/mb-templates.exp: Update for output changes.
554         * gdb.cp/mb-inline.exp: Update for output changes.
555         * gdb.cp/mb-ctor.exp: Update for output changes.
556         * gdb.cp/ovsrch.exp: Use fully-qualified names.
557         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
558         has multiple matches.
559         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
560         error message change.
561         * gdb.base/list.exp (test_list_filename_and_number): Update for
562         error message change.
563         * gdb.base/break.exp: Disable pending breakpoints.  Update for
564         output changes.
565         * configure.ac: Add gdb.linespec.
566         * configure: Rebuild.
567         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
568
569 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
570
571         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
572         last_break register on s390*-*-* targets.
573
574 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
575
576         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
577         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
578         of parameter X in procedure Foo.
579
580 2011-12-05  Stan Shebs  <stan@codesourcery.com>
581
582         * gdb.trace/tfind.exp: Update help string matches.
583
584 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
585
586         * gdb.server/ext-run.exp (get process list): Accept also systemd
587         as PID 1.
588
589 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
590             Pedro Alves  <pedro@codesourcery.com>
591
592         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
593         starting GDB.
594         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
595         $use_gdb_stub.
596         * gdb.base/display.exp: Likewise.
597         * gdb.base/ending-run.exp: Likewise.
598         * gdb.base/list.exp (test_listsize): Likewise.
599         * gdb.base/setshow.exp: Likewise.
600         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
601         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
602         check by global $use_gdb_stub.
603         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
604         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
605         (default_gdb_init): Unset global $use_gdb_stub.
606         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
607         by global $use_gdb_stub.
608         * lib/gdbserver-support.exp: Extend comments for set_board_info
609         gdb_protocol and gdb,socketport.
610         (gdbserver_start_extended): Set global gdbserver_protocol and
611         gdbserver_gdbport.  Clear global use_gdb_stub.
612         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
613         from target use_gdb_stub.
614         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
615
616 2011-12-03  Doug Evans  <dje@google.com>
617
618         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
619         (gdb_step_for_stub): Add comments.
620
621 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
622
623         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
624         to the caller.
625         (gdb_test_multiple): Likewise.
626
627 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
628
629         Fix gdb.mi/mi-solib.exp without system debug info installed.
630         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
631         expect attribute, return 0 for it.  Update comments.
632
633 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
634
635         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
636         (corrupted list): Adjust the expectation.
637
638 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
639
640         PR threads/13448
641         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
642         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
643         * gdb.threads/tls-var-main.c: New file.
644         * gdb.threads/tls-var.c: New file.
645         * gdb.threads/tls-var.exp: New file.
646
647 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
648
649         PR testsuite/12649
650         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
651         Protect gdb_test_multiple by final $gdb_prompt match.
652         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
653         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
654         (test_tracepoints): Likewise.
655
656 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
657
658         PR breakpoints/13346
659         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
660         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
661         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
662
663 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
664
665         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
666         * gdb.ada/homonym/homonym.adb: For use of all types defined
667         locally inside both Get_Value subprograms.
668
669 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
670
671         Fix racy FAILs.
672         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
673         of send_gdb.
674
675 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
676
677         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
678         environment variable after test completed.
679
680 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
681
682         * gdb.base/solib-nodir.exp: Skip if remote target.
683         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
684         application.  Call gdb_load_shlibs.
685         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
686
687 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
688
689         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
690
691 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
692
693         * gdb.ada/fullname_bp: New testcase.
694
695 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
696
697         PR testsuite/12649
698         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
699         Wrap send_gdb into a new gdb_test.
700
701         Code cleanup.
702         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
703         Convert send_gdb and gdb_expect to gdb_test_multiple.
704
705 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
706
707         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
708
709 2011-11-23  Keith Seitz  <keiths@redhat.com>
710
711         * lib/mi-support.exp (varobj_tree): New namespace and procs.
712         (mi_varobj_tree_test_children_callback): New proc.
713         (mi_walk_varobj_tree): New proc.
714
715 2011-11-22  Tom Tromey  <tromey@redhat.com>
716
717         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
718         Add "use_mi_command" argument.
719         (mi_run_cmd, mi_run_with_cli): New procs.
720         * gdb.mi/solib-lib.c: New file.
721         * gdb.mi/solib-main.c: New file.
722         * gdb.mi/mi-solib.exp: New file.
723
724 2011-11-21  Doug Evans  <dje@google.com>
725
726         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
727         _Unwind_DebugHook is missing.
728
729 2011-11-20  Stan Shebs  <stan@codesourcery.com>
730
731         * gdb.trace/tstatus.exp: New.
732         * gdb.trace/actions.c: Include string.h.
733
734 2011-11-18  Yao Qi  <yao@codesourcery.com>
735
736         * gdb.trace/pending.exp: New.
737         * gdb.trace/pending.c: New.
738         * gdb.trace/pendshr1.c: New.
739         * gdb.trace/pendshr2.c: New.
740         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
741         tracepoint location becomes pending.
742         (tracepoint_change_loc_2): New.
743
744 2011-11-16  David S. Miller  <davem@davemloft.net>
745
746         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
747         target is sparc*-*-linux*
748
749 2011-11-15  Paul Koning  <paul_koning@dell.com>
750
751         * gdb.python/py-type.exp: New testcases for exceptions on scalar
752         types.
753
754 2011-11-14  Doug Evans  <dje@google.com>
755
756         * gdb.base/shell.exp: New file.
757
758 2011-11-14  Stan Shebs  <stan@codesourcery.com>
759
760         * gdb.trace/ftrace.c: New.
761         * gdb.trace/ftrace.exp: New.
762
763 2011-11-14  Yao Qi  <yao@codesourcery.com>
764
765         * gdb.trace/change-loc-1.c: New.
766         * gdb.trace/change-loc-2.c: New.
767         * gdb.trace/change-loc.c: New.
768         * gdb.trace/change-loc.exp:  New.
769         * gdb.trace/change-loc.h:  New.
770         * gdb.trace/trace-break.c (marker): Define new symbol.
771         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
772         New.
773         (break_trace_same_addr_6): New.
774
775 2011-11-12  Matt Rice  <ratmice@gmail.com>
776
777         * gdb.base/info-macros.exp: Make tests for info definitions
778         test info macro.  Add tests for info macro argument processing.
779         Rename a few tests.
780
781 2011-11-11  Keith Seitz  <keiths@redhat.com>
782
783         PR gdb/12843
784         * gdb.base/linespecs.exp: New file.
785
786 2011-11-11  Doug Evans  <dje@google.com>
787
788         * gdb.threads/print-threads.exp: Extend timeout for slower
789         tests.
790
791 2011-11-10  Doug Evans  <dje@google.com>
792
793         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
794         "record to end of main" test.
795
796         * gdb.python/py-type.c (TS): New typedef.
797         (ts): New global.
798         * gdb.python/py-type.exp: Test field list of typedef.
799
800 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
801
802         * gdb.ada/small_reg_param: New testcase.
803
804 2011-11-09  Tom Tromey  <tromey@redhat.com>
805
806         * gdb.cp/destrprint.exp: New file.
807         * gdb.cp/destrprint.cc: New file.
808
809 2011-11-08  Meador Inge  <meadori@codesourcery.com>
810
811         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
812         (switch_stack_to_other): New test function.
813         * gdb.arch/thumb-prologue.exp: New test cases.
814
815 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
816
817         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
818
819 2011-11-08  Yao Qi  <yao@codesourcery.com>
820
821         * gdb.exp (supports_process_record): New.
822         (supports_reverse): New.
823         * gdb.reverse/break-precsave.exp: Call support_process_record
824         to run test conditionally.
825         * gdb.reverse/consecutive-precsave.exp: Likewise.
826         * gdb.reverse/i386-precsave.exp: Likewise.
827         * gdb.reverse/machinestate-precsave.exp: Likewise.
828         * gdb.reverse/solib-precsave.exp: Likewise.
829         * gdb.reverse/step-precsave.exp: Likewise.
830         * gdb.reverse/until-precsave.exp: Likewise.
831         * gdb.reverse/watch-precsave.exp: Likewise.
832         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
833         test conditionally.
834         * gdb.reverse/consecutive-reverse.exp: Likewise.
835         * gdb.reverse/finish-precsave.exp: Likewise.
836         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
837         * gdb.reverse/finish-reverse.exp: Likewise.
838         * gdb.reverse/i386-reverse.exp: Likewise.
839         * gdb.reverse/i386-sse-reverse.exp: Likewise.
840         * gdb.reverse/machinestate.exp: Likewise.
841         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
842         * gdb.reverse/sigall-precsave.exp: Likewise.
843         * gdb.reverse/sigall-reverse.exp: Likewise.
844         * gdb.reverse/solib-reverse.exp: Likewise.
845         * gdb.reverse/step-reverse.exp: Likewise.
846         * gdb.reverse/until-reverse.exp: Likewise.
847         * gdb.reverse/watch-reverse.exp: Likewise.
848
849 2011-11-05  Yao Qi  <yao@codesourcery.com>
850
851         * gdb.trace/trace-break.exp: Add test on setting two
852         fast tracepoints at the same address.
853
854 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
855
856         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
857
858 2011-11-02  Stan Shebs  <stan@codesourcery.com>
859
860         * gdb.trace/collection.c: Add code using strings.
861         * gdb.trace/collection.exp: Add tests of string collection.
862
863 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
864
865         * gdb.base/skip-solib.exp (executable_main): New variable.
866         (binfile_main): Base it on that.
867         Use $executable_main in clean_restart calls.  Drop gdb_exit and
868         gdb_start calls.
869
870 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
871
872         Fix racy FAILs.
873         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
874         breakpoint_re globals import by async.  Set string_regex to .* for
875         async.  Remove the optional thread_selected_re and breakpoint_re
876         globals expectations.
877
878 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
879
880         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
881         well as Cygwin.
882
883 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
884
885         Add tests for skip command.
886         * gdb.base/skip-solib-lib.c: New
887         * gdb.base/skip-solib-main.c: New
888         * gdb.base/skip-solib.exp: New
889         * gdb.base/skip.c: New
890         * gdb.base/skip.exp: New
891         * gdb.base/skip1.c: New
892         * gdb.base/Makefile.in: Adding new files.
893
894 2011-10-31  Yao Qi  <yao@codesourcery.com>
895             Pedro Alves  <pedro@codesourcery.com>
896
897         * gdb.trace/trace-break.c: New.
898         * gdb.trace/trace-break.exp: New.
899
900 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
901
902         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
903         break-here-2.
904
905 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
906
907         * gdb.threads/no-unwaited-for-left.c: New.
908         * gdb.threads/no-unwaited-for-left.exp: New.
909         * gdb.threads/non-ldr-exc-1.c: New.
910         * gdb.threads/non-ldr-exc-1.exp: New.
911         * gdb.threads/non-ldr-exc-2.c: New.
912         * gdb.threads/non-ldr-exc-2.exp: New.
913         * gdb.threads/non-ldr-exc-3.c: New.
914         * gdb.threads/non-ldr-exc-3.exp: New.
915         * gdb.threads/non-ldr-exc-4.c: New.
916         * gdb.threads/non-ldr-exc-4.exp: New.
917
918 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
919
920         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
921         * gdb.base/attach-pie-misread.exp: Likewise.
922         * gdb.base/break-interp.exp: Likewise.
923         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
924         testcases for use_gdb_stub.
925         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
926         (continue): New testcase.
927         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
928         * gdb.threads/attach-into-signal.exp: Likewise.
929         * gdb.threads/attach-stopped.exp: Likewise.
930         * gdb.threads/attachstop-mt.exp: Likewise.
931
932 2011-10-28  Paul Koning  <paul_koning@dell.com>
933
934         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
935
936 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
937
938         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
939         (mi_gdb_test): Import globals thread_selected_re
940         and breakpoint_re.  Expect them optionally at the regex start.
941
942 2011-10-27  Doug Evans  <dje@google.com>
943
944         * gdb.python/python.exp: Test source -s.
945
946 2011-10-26  Paul Koning  <paul_koning@dell.com>
947
948         * gdb.python/lib-types.cc (struct A): New structure.
949         * gdb.python/lib-types.exp (deepitems): New tests.
950
951 2011-10-25  Paul Koning  <paul_koning@dell.com>
952
953         PR python/13327
954
955         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
956         fetch_lazy method.
957
958 2011-10-24  Yao Qi  <yao@codesourcery.com>
959
960         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
961         target is tic6x-*-*.
962
963 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
964
965         * gdb.ada/mi_task_info/task_switch.adb: New file.
966         * gdb.ada/mi_task_info.exp: New file.
967
968 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
969
970         * gdb.cp/expand-psymtabs-cxx.exp: New file.
971         * gdb.cp/expand-psymtabs-cxx.cc: New file.
972
973 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
974
975         PR python/12656
976
977         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
978         global_block tests.
979
980 2011-10-18  Tom Tromey  <tromey@redhat.com>
981
982         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
983
984 2011-10-18  Tom Tromey  <tromey@redhat.com>
985
986         * gdb.base/source.exp: Don't include full file name in test name.
987         * gdb.python/python.exp: Don't include full file name in test
988         name.
989
990 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
991
992         * gdb.base/attach-pie-noexec.c: New files.
993         * gdb.base/attach-pie-noexec.exp: New files.
994
995 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
996
997         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
998         prompt for each extra line in command.
999
1000 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1001
1002         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1003         Revert the part of:
1004         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1005         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1006         Change the expected string.
1007
1008 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1009
1010         Fix results with system glibc debug info installed.
1011         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1012         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1013         Accept also __libc_ symbol prefix and no prefix.
1014
1015 2011-10-14  Keith Seitz  <keiths@redhat.com>
1016
1017         PR c++/13225
1018         * gdb.cp/converts.cc (foo3_1): New function.
1019         (foo3_2): New functions.
1020         * gdb.cp/converts.exp: Add tests for int to pointer conversion
1021         and null pointer conversions of integer constant zero.
1022         Add test to check if all arguments are checked for incompatible
1023         conversion BADNESS.
1024
1025 2011-10-14  Tom Tromey  <tromey@redhat.com>
1026
1027         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1028         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1029         linespec.
1030
1031 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1032
1033         Fix internal error regression.
1034         * gdb.dwarf2/implptr-optimized-out.S: New file.
1035         * gdb.dwarf2/implptr-optimized-out.exp: New file.
1036
1037 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1038
1039         Fix empty DWARF expressions DATA vs. SIZE conditionals.
1040         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1041         (loclist): New.
1042         (4): New abbrev.
1043         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1044         Use prepare_for_testing, remove clean_restart.
1045         (p arraynoloc, p arraycallnoloc): New tests.
1046
1047 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1048
1049         * gdb.cp/namespace-enum.exp (executable): New variable.
1050         (binfile): Use ${objdir}/${subdir}/ prefix.
1051         Use ${executable} for clean_restart.
1052
1053 2011-10-11  Sterling Augustine  <saugustine@google.com>
1054
1055         * gdb.cp/Makefile.in: Add namespace-enum test.
1056         * gdb.cp/namespace-enum.exp: New file.
1057         * gdb.cp/namespace-enum.c: New file.
1058         * gdb.cp/namespace-enum-main.c: New file.
1059
1060 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
1061
1062         * gdb.python/py-shared.exp: Relax filename check to handle remote:
1063         sysroot.
1064
1065 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1066
1067         Reimplement @entry in input expressions.
1068         * gdb.base/exprs.c (v_int_array_init): New variable.
1069         * gdb.base/exprs.exp (print v_int_array_init)
1070         (print *v_int_array_init@1, print *v_int_array_init@2)
1071         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1072         (print v_int_array_init[1]@1): New tests.
1073
1074 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
1075
1076         * gdb.cp/gdb2495.exp: Do not include directories in filename in
1077         expected message.
1078
1079 2011-10-09  Doug Evans  <dje@google.com>
1080
1081         * gdb.base/alias.exp: Add tests for alias command.
1082
1083 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1084
1085         * gdb.arch/amd64-entry-value.s: New file.
1086         * gdb.mi/mi2-amd64-entry-value.s: New file.
1087
1088 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1089
1090         Display @entry parameter values even for references.
1091         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1092         functions.
1093         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
1094         reference and datap_input.
1095         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1096         breakpoints.
1097         (continue to breakpoint: entry_reference: reference)
1098         (entry_reference: bt at entry)
1099         (continue to breakpoint: entry_reference: breakhere_reference)
1100         (entry_reference: bt, entry_reference: ptype regparam)
1101         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1102         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1103         (entry_reference: p regcopy, entry_reference: p nodataparam)
1104         (entry_reference: p nodataparam@entry): New tests.
1105
1106 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1107
1108         Support @entry in input expressions.
1109         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1110         (entry_stack: p s1@entry, entry_stack: p s2@entry)
1111         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1112         (tailcall: p j@entry): New tests.
1113         * gdb.cp/koenig.cc (A::entry): New function.
1114         (main): Call it.
1115         * gdb.cp/koenig.exp (p entry (c)): New test.
1116
1117 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1118
1119         Display @entry parameter values (without references).
1120         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1121         (different, validity, invalid): New functions.
1122         (main): Call them.
1123         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1124         stacktest, breakhere_stacktest, different, breakhere_different,
1125         breakhere_validity and breakhere_invalid.
1126         (entry: bt): Update for @entry.
1127         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1128         (entry_validity: *, entry_invalid: *): Many new tests.
1129         * gdb.base/break.exp
1130         (run until breakpoint set at small function, optimized file): Accept
1131         also the @entry suffix.
1132         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1133         * gdb.mi/mi2-amd64-entry-value.c: New files.
1134         * gdb.mi/mi2-amd64-entry-value.exp: New files.
1135
1136 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1137
1138         Protect entry values against self tail calls.
1139         * gdb.arch/amd64-entry-value.cc (self2, self): New.
1140         (main): Call self.
1141         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1142         (set debug entry-values 1, self: bt debug entry-values): New tests.
1143
1144 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1145
1146         Recognize virtual tail call frames.
1147         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1148         (amb_b, amb_a): New.
1149         (main): Call a and b.
1150         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1151         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1152         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1153         New tests.
1154
1155 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1156
1157         Implement basic support for DW_TAG_GNU_call_site.
1158         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1159         * gdb.arch/amd64-entry-value.cc: New file.
1160         * gdb.arch/amd64-entry-value.exp: New file.
1161
1162 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1163
1164         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1165         * gdb.dwarf2/implptr-64bit.S: New file.
1166         * gdb.dwarf2/implptr-64bit.exp: New file.
1167
1168 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1169
1170         Fix initial language detection with -readnow.
1171         * gdb.cp/readnow-language.cc: New file.
1172         * gdb.cp/readnow-language.exp: New file.
1173
1174 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1175
1176         Fix printed anonymous struct name.
1177         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1178
1179 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
1180
1181         * gdb.base/solib-symbol.exp: Do not include directories in
1182         filenames in expected messages.
1183
1184 2011-10-07  Doug Evans  <dje@google.com>
1185
1186         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1187
1188 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
1189
1190         Allow Python notification of new object-file loadings.
1191         * gdb.python/py-events.exp: Test newobjfile event.
1192         * gdb.python/py-events.py: Register newobjfile callback.
1193         * gdb.python/py-events.c: Add call to shared library
1194         * gdb.python/py-events-shlib.c: New file.
1195
1196 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
1197
1198         * gdb.base/fixsection.exp: Do not include directories in filename
1199         in expected message.
1200
1201 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
1202
1203         Add tests for passing of environment variables to inferior.
1204         * gdb.base/testenv.c: New test source.
1205         * gdb.base/testenv.exp: New expect test.
1206
1207 2011-10-04  Paul Koning  <paul_koning@dell.com>
1208
1209         * gdb.python/py-value.c (main): Break before return.
1210
1211 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
1212
1213         PR python/12691: Add the inferior to Python exited event
1214         * gdb.python/py-events.exp: Test the inferior attribute of exited
1215         event with a fork.
1216         * gdb.python/py-events.py: Print inferior number on exit.
1217         * gdb.python/py-events.c: Fork the inferior.
1218
1219 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1220
1221         * gdb.base/jit.exp: Add testcase name to log message
1222
1223 2011-10-03  Paul Koning  <paul_koning@dell.com>
1224             Jan Kratochvil  <jan.kratochvil@redhat.com>
1225
1226         * gdb.python/py-value.exp
1227         (python inval = gdb.parse_and_eval('*(int*)0'))
1228         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1229         (set argc=2, python print argc_lazy): New tests.
1230
1231 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
1232
1233         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1234
1235 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1236             Pedro Alves  <pedro@codesourcery.com>
1237
1238         * gdb.python/py-value.exp (test_value_in_inferior): New variable
1239         can_read_0, test for it.
1240         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1241         (parse_and_eval with memory error): ... here, make it untested if
1242         can_read_0.
1243
1244 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
1245
1246         * gdb.python/python.exp (verify pagination beforehand)
1247         (verify pagination afterwards): Fix race by splitting the line.
1248
1249 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
1250
1251         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1252         for 64-bit multilibs from i?86-* targets.
1253
1254 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
1255
1256         * lib/gdb.exp: Fix a typo in one of the comments.
1257
1258 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
1259
1260         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1261         matching pattern.
1262
1263 2011-09-28  Paul Koning  <paul_koning@dell.com>
1264
1265         * gdb.python/py-type.c (enum E): New.
1266         * gdb.python/py-type.exp (test_fields): Add tests for Python
1267         mapping access to fields.
1268         (test_enums): New test for field access on enums.
1269
1270 2011-09-27  Stan Shebs  <stan@codesourcery.com>
1271
1272         * gdb.trace/collection.exp: Test collection of $_ret.
1273
1274 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
1275
1276         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1277         list of compilation switches for <*-*-freebsd*>.
1278
1279 2011-09-19  Stan Shebs  <stan@codesourcery.com>
1280
1281         * gdb.trace/tspeed.exp: New file.
1282         * gdb.trace/tspeed.c: New file.
1283
1284 2011-09-18  Yao Qi  <yao@codesourcery.com>
1285
1286         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1287         instructions.
1288         (test_adr_32bit, test_pop_pc): Likewise.
1289         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1290         Thumb instructions.
1291         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1292         in gdb_test_multiple.
1293         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1294
1295 2011-09-17  Yao Qi  <yao@codesourcery.com>
1296
1297         * lib/gdb.exp (can_single_step_to_signal_handler): New.
1298         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
1299         support single step to signal handler.
1300
1301 2011-09-17  Yao Qi  <yao@codesourcery.com>
1302
1303         * gdb.base/disp-step-fork.c: New.
1304         * gdb.base/disp-step-syscall.exp: New.
1305         * gdb.base/disp-step-vfork.c: New.
1306
1307 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
1308
1309         * gdb.ada/tasks.exp: Make the expected output for
1310         the `info tasks' tests more resilient to spacing
1311         changes.
1312
1313 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1314
1315         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1316         (reached breakpoint 2, reached breakpoint 3): Update expected output.
1317
1318 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
1319
1320         PR Python/12692 Add gdb.selected_inferior() to Python interface.
1321         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1322
1323 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
1324
1325         Handle multiple breakpoint hits in Python interface:
1326         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1327         presence.
1328         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1329         breakpoint hits.
1330
1331 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
1332             Jan Kratochvil  <jan.kratochvil@redhat.com>
1333
1334         * gdb.python/py-events.exp: Remove pretty printing comment.
1335         * gdb.python/py-evsignal.exp: New file.
1336         * gdb.python/py-evthreads.c: Include signal.h.
1337         (thread3): Remove variable count3.  Remove variable bad and use raise
1338         instead.
1339         (thread2): Remove variable count2.  Move thread3 pthread_create here,
1340         merge pthread_join to a single line.
1341         (main): Remove variable count1.  Merge pthread_join with pthread_create
1342         to a single line.
1343         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
1344         KFAIL python/12966 for gdbserver.  Test return value of
1345         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
1346         gdb_expect by gdb_test and gdb_test_multiple.
1347         (thread 2, thread 3): New tests.
1348
1349 2011-09-12  Matt Rice  <ratmice@gmail.com>
1350             Pedro Alves  <pedro@codesourcery.com>
1351
1352         PR gdb/13175
1353
1354         * gdb.base/interp.exp: New tests.
1355         * gdb.base/interp.c: New file.
1356
1357 2011-09-12  Doug Evans  <dje@google.com>
1358
1359         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1360         * gdb.dwarf2/typeddwarf.exp: Ditto.
1361
1362 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1363
1364         Fix compatibility with x32 arch.
1365         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1366         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1367         is_x86_like_target.
1368         * testsuite/gdb.trace/collection.exp: Likewise.
1369         * testsuite/gdb.trace/report.exp: Likewise.
1370         * testsuite/gdb.trace/unavailable.exp: Likewise.
1371         * testsuite/gdb.trace/while-dyn.exp: Likewise.
1372         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1373         (is_x86_like_target): Check also is_amd64_regs_target.
1374
1375 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1376
1377         PR breakpoints/12435
1378         * gdb.arch/amd64-prologue-xmm.c: New file.
1379         * gdb.arch/amd64-prologue-xmm.exp: New file.
1380         * gdb.arch/amd64-prologue-xmm.s: New file.
1381
1382 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1383
1384         * gdb.dwarf2/dw2-param-error-main.c: New file.
1385         * gdb.dwarf2/dw2-param-error.S: New file.
1386         * gdb.dwarf2/dw2-param-error.exp: New file.
1387
1388 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
1389
1390         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1391         inferior's pid and look for a core dump named core.$pid.  Use
1392         `remote_file' commands on the host instead of hand coding shell
1393         commands on the build.
1394         * gdb.base/valgrind-db-attach.exp: Kill the program before
1395         finishing the test.
1396
1397 2011-09-02  Matt Rice  <ratmice@gmail.com>
1398
1399         * lib/prompt.exp: New file for testing the first prompt.
1400         * gdb.python/py-prompt.exp: Ditto.
1401         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1402
1403 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
1404
1405         * gdb.threads/gcore-thread.exp: Set the global core_supported to
1406         0, before testing gcore.
1407
1408 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1409
1410         * dw2-ifort-parameter-debug.S: Update copyright year.
1411         * dw2-ifort-parameter.c: Update copyright year.
1412         * dw2-ifort-parameter.exp: Update copyright year.
1413
1414         * dw2-ifort-parameter-debug.S: New file.
1415         * dw2-ifort-parameter.c: New file.
1416         * dw2-ifort-parameter.exp: New file.
1417
1418 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1419
1420         * gdb.base/commands.exp (error_clears_commands_left): New function.
1421         (): Call it.
1422
1423 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1424
1425         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1426         (C): Initialize `a'.
1427         * gdb.mi/mi-inheritance-syntax-error.exp
1428         (-data-evaluate-expression $path):  Expect `a' as 5.
1429
1430 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
1431
1432         PR mi/11912
1433         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1434         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1435         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1436         keyword in output of -var-info-path-expression.
1437
1438 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1439
1440         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1441         * gdb.trace/collection.exp: Likewise.
1442         * gdb.trace/report.exp: Likewise.
1443         * gdb.trace/unavailable.exp: Likewise.
1444         * gdb.trace/while-dyn.exp: Likewise.
1445
1446 2011-08-18  Keith Seitz  <keiths@redhat.com>
1447
1448         PR c++/12266
1449         * gdb.cp/meth-typedefs.cc: New file.
1450         * gdb.cp/meth-typedefs.exp: New file.
1451
1452 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
1453
1454         * gdb.python/python.exp: Add extended-prompt tests.
1455
1456 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1457
1458         * gdb.arch/i386-dr3-watch.exp
1459         (watchpoint on gap1 does not fit debug registers)
1460         (delete all watchpoints): Fix racy expect strings.
1461
1462 2011-08-14  Yao Qi  <yao@codesourcery.com>
1463
1464         * gdb.base/maint.exp: set data_section to ".neardata".
1465         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1466         * gdb.base/savedregs.exp: Handle SIGILL.
1467         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1468         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1469
1470 2011-08-12  Doug Evans  <dje@google.com>
1471
1472         * gdb.python/py-symbol.exp: Add test for symbol.type.
1473
1474 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
1475
1476         * gdb.threads/pthreads.exp: Enable on non-native configurations.
1477         * gdb.mi/mi-pthreads.exp: Likewise.
1478         * gdb.mi/mi2-pthreads.exp: Likewise.
1479         * gdb.mi/gdb669.exp.exp: Likewise.
1480
1481 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1482
1483         * lib/mi-support.exp (detect_async): Rename to...
1484         (mi_detect_async): ... this.
1485         * gdb.mi/mi-nonstop-exit.exp: Adjust.
1486         * gdb.mi/mi-nonstop.exp: Adjust.
1487         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1488         * gdb.mi/mi-nsintrall.exp: Adjust.
1489         * gdb.mi/mi-nsmoribund.exp: Adjust.
1490         * gdb.mi/mi-nsthrexec.exp: Adjust.
1491
1492 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1493
1494         * gdb.base/display.c (do_loops): New `p_i' local.
1495         * gdb.base/display.exp: Test displaying a variable that is
1496         temporarily at a bad address.
1497
1498 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1499
1500         * gdb.dwarf2/dw2-op-stack-value.S: New file.
1501         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1502
1503 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1504
1505         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1506         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1507         (p fuNC_symtab): Permit also ppc64 leading dot.
1508
1509 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
1510
1511         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1512         procedure.
1513         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1514
1515 2011-08-05  Yao Qi  <yao@codesourcery.com>
1516
1517         * gdb.base/callfuncs.exp: Set language after main.
1518         * gdb.cp/cplusfuncs.exp: Likewise.
1519         * gdb.cp/inherit.exp: Likewise.
1520
1521 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1522
1523         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1524         * gdb.base/watch-vfork.exp: Skip on remote targets.
1525
1526 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1527
1528         * gdb.threads/thread-find.exp: Support remote targets.
1529
1530 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1531
1532         * gdb.base/jit.exp: Download solib_binfile to target.
1533         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
1534         and call dlopen without full path name.
1535         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1536         dlopen without full path name.
1537
1538 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1539
1540         * gdb.base/break-always.exp: Complete the test
1541         with duplicated breakpoints and enabling/disabling them.
1542
1543 2011-08-02  Tom Tromey  <tromey@redhat.com>
1544
1545         PR gdb/11289:
1546         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
1547
1548 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1549
1550         PR gdb/13045
1551         * gdb.base/float.exp: Add new test case for PR gdb/13045
1552         * gdb.base/float.c: New file.
1553
1554 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
1555
1556         * gdb.python/py-mi.exp: Test printers returning string hint, and
1557         also not returning a value.
1558         * gdb.python/py-prettyprint.c: Add testcase for above.
1559         * gdb.python/py-prettyprint.py: Add test printer for above.
1560
1561 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1562
1563         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1564         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1565         (.Ldie30) Add as field "data4".
1566         (.Ldie32) Rename field "b" to "shl".
1567         (abbrev4) Change for the "data4" field.
1568         (abbrev5, abbrev6) Remove.
1569         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1570         (p &s.shl): ... here.  Add comment.
1571         (p &s.data4): New.
1572
1573 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1574
1575         Fix crash on lval_computed values.
1576         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1577
1578 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1579
1580         * gdb.base/help.exp (help whatis): Update the expected string.
1581
1582 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1583
1584         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1585         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1586         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1587         Change the expected string.
1588
1589 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
1590
1591         * gdb.base/watchpoint.exp
1592         (test_disable_enable_software_watchpoint): New procedure.
1593         (top level): Run it.
1594
1595 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
1596
1597         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
1598         executable file "${binfile}", C++ version "${binfile}-cxx".
1599         * gdb.python/py-prettyprint.exp: Likewise.
1600         * gdb.python/py-symbol.exp: Likewise.
1601         * gdb.python/py-type.exp: Likewise.
1602         * gdb.python/py-value.exp: Likewise.
1603         * gdb.python/py-template.exp (test_template_arg): Pass full executable
1604         file name instead of just suffix.
1605
1606 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1607
1608         Fix implicit pointer offsets.
1609         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1610         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1611         (continue to breakpoint: continue to baz breakpoint for implptr)
1612         (sanity check element 0, sanity check element 1)
1613         (enter the inlined function, check element 0 for the offset)
1614         (check element 1 for the offset)
1615         (continue to breakpoint: ignore the second baz breakpoint): New tests.
1616         (set foo breakpoint for implptr): Update the breakpoint number.
1617
1618 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1619
1620         * gdb.python/py-mi.exp: Use different file names for different
1621         versions of the executable under test.
1622         * gdb.python/py-prettyprint.exp: Likewise.
1623         * gdb.python/py-symbol.exp: Likewise.
1624         * gdb.python/py-template.exp: Likewise.
1625         * gdb.python/py-type.exp: Likewise.
1626         * gdb.python/py-value.exp: Likewise.
1627
1628 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1629
1630         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1631         flag after restarting GDB if necessary.
1632
1633 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1634
1635         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1636
1637 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
1638
1639         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1640         backend doesn't leave used debug registers behind.
1641
1642 2011-07-22  Tom Tromey  <tromey@redhat.com>
1643
1644         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1645         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1646         argument.
1647         * gdb.dwarf2/typeddwarf-amd64.S: New file.
1648
1649 2011-07-21  Matt Rice  <ratmice@gmail.com>
1650
1651         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1652         in mostlyclean rule.  Add files ending in .core.
1653
1654 2011-07-21  Matt Rice  <ratmice@gmail.com>
1655
1656         PR macros/12999
1657         * gdb.base/info-macros.c: New test sources.
1658         * gdb.base/info-macros.exp: New tests.
1659
1660 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
1661
1662         * gdb.python/python.exp: Add prompt substitution tests.
1663
1664 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1665
1666         Fix crash if referenced CU is aged out.
1667         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1668         New.
1669         * gdb.dwarf2/implptr.exp: Likewise.
1670
1671 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1672
1673         * gdb.dwarf2/implptr.S: Rebuilt.
1674         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1675         (bar): Use them for j, k, l.
1676         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
1677         COMPILE.
1678         (print j in implptr:bar): Update for the intp typedef.
1679         (print p[0].x in implptr:foo): Use more exact regex.
1680
1681 2011-07-18  Tom Tromey  <tromey@redhat.com>
1682
1683         * gdb.cp/static-method.exp: Add missing single quote.
1684
1685 2011-07-18  Yao Qi  <yao@codesourcery.com>
1686
1687         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1688         supported.
1689         * gdb.mi/mi-nonstop-exit.exp: Likewise.
1690         * gdb.mi/mi-nonstop.exp: Likewise.
1691         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1692         * gdb.mi/mi-nsintrall.exp: Likewise.
1693         * gdb.mi/mi-nsmoribund.exp: Likewise.
1694         * gdb.mi/mi-nsthrexec.exp: Likewise.
1695         * gdb.python/py-evthreads.exp: Likewise.
1696
1697 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1698
1699         Code cleanup.
1700         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
1701         it.  Substitute it instead of test_compiler_info everywhere.
1702
1703 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1704
1705         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
1706         remote targets as well.
1707
1708 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1709
1710         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1711         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
1712
1713 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1714
1715         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1716         a remote machine, not the host.
1717         (gdb_compile_shlib): Set soname if target is remote.
1718
1719 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1720
1721         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1722
1723 2011-07-13  Matt Rice <ratmice@gmail.com>
1724
1725         * gdb.python/py-objfile-script-gdb.py: Renamed to
1726         py-objfile-script-gdb.py.in.
1727         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1728         py-objfile-script-gdb.py.
1729         * gdb.python/py-objfile-script.exp: Update reference to
1730         py-objfile-script-gdb.py.
1731
1732 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1733
1734         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1735         reference undefined label.
1736
1737 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1738
1739         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1740         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1741         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1742         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1743
1744 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
1745
1746         PR python/12438
1747         * gdb.python/python.exp: Add maint set/show python print-stack
1748           deprecated tests.  Add set/show python print-backtrace tests.
1749
1750 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1751
1752         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1753         debug info.
1754
1755 2011-07-06  Matt Rice  <ratmice@gmail.com>
1756
1757         * gdb.python/python.exp: Update filename paths.
1758         * gdb.python/py-symtab.exp: Ditto.
1759
1760 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1761
1762         * gdb.python/py-evthreads.exp: Add missing `$'.
1763
1764 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
1765
1766         * config/bfin.exp: New file.
1767         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1768         * gdb.asm/bfin.inc: New file.
1769
1770 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1771
1772         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1773         the whole output.
1774
1775 2011-07-05  Tom Tromey  <tromey@redhat.com>
1776
1777         * gdb.java/jprint.java (jprint.hi): New field.
1778         * gdb.java/jprint.exp: Print string.
1779
1780 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
1781
1782         * gdb.base/call-sc.c: Fix typos.
1783         * gdb.base/ifelse.exp: Likewise.
1784         * gdb.base/structs.c: Likewise.
1785
1786 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1787
1788         * gdb.base/jit-so.exp: New test.
1789         * gdb.base/jit-dlmain.c: New file.
1790         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1791
1792 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1793
1794         * gdb.cp/m-static.exp: Call get_compiler_info.
1795         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1796         * gdb.cp/pr9167.exp (p b): Likewise.
1797         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1798         (test value of P in inner_m, test type of Z in inner_m): Call
1799         setup_xfail for gcc <= 4.5.
1800
1801 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1802
1803         * gdb.cp/paren-type.cc: New files.
1804         * gdb.cp/paren-type.exp: New files.
1805
1806 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1807
1808         Stop on first linespec terminator instead of eating what we can.
1809         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1810         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1811         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1812         (break C::f()): ... this one.
1813         (break C::operator()()): New test.
1814         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1815         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1816         test.
1817
1818 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1819
1820         Fall back linespec to minimal symbols.
1821         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1822         error message.
1823         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1824         * gdb.cp/minsym-fallback-main.cc: New file.
1825         * gdb.cp/minsym-fallback.cc: New file.
1826         * gdb.cp/minsym-fallback.exp: New file.
1827         * gdb.cp/minsym-fallback.h: New file.
1828
1829 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1830
1831         * gdb.cp/no-dmgl-verbose.cc: New file.
1832         * gdb.cp/no-dmgl-verbose.exp: New file.
1833
1834 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1835
1836         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1837         __GI_.
1838         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1839         (f): New function.
1840         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1841         (complete p 'func<short>(): ... here.
1842         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1843         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1844         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1845         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1846         Make them KFAIL gcc/49546.
1847
1848 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1849
1850         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1851
1852 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1853
1854         Test GCC PR debug/49546.
1855         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1856         (test type of F in k3_m, test value of F in k3_m): New.
1857         * gdb.cp/temargs.cc (struct S3, struct K3): New.
1858         (main): New variable k3.  Call k3.k3_m.
1859
1860 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1861
1862         * gdb.ada/packed_array.exp: Fix expected outout.
1863
1864 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1865
1866         * gdb.ada/packed_array.exp: fixed expected output.
1867
1868 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1869
1870         * gdb.ada/same_enum: New testcase.
1871
1872 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1873
1874         * gdb.ada/ptr_typedef: New testcase.
1875
1876 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1877
1878         * gdb.ada/arrayptr.exp: Add ptype test.
1879
1880 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1881
1882         * gdb.ada/char_enum: New testcase.
1883
1884 2011-07-01  Yao Qi  <yao@codesourcery.com>
1885
1886         * gdb.base/dump.exp (capture_pointer_with_type): New.
1887         Get value from address instead of name.
1888         Start GDB once, and do `dump' and `restore'
1889         tests together.
1890
1891 2011-06-30  Jie Zhang <jie.zhang@analog.com>
1892             Mike Frysinger  <vapier@gentoo.org>
1893
1894         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1895         helper functions for getting/setting remotetimeout variable.
1896         * lib/gdb.exp (gdb_load): If the target is remote, set
1897         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1898         with $loadtimeout.  Set $load_ok to 0 before doing the load.
1899         Instead of returning, immediately, set $load_ok to 0.  Call
1900         set_remotetimeout with $oldremotetimeout, and then return if
1901         $load_ok is 1.
1902
1903 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
1904
1905         * gdb.python/py-template.exp: Don't run this test if the target
1906         does not support c++ tests.
1907
1908 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1909
1910         Fix non-only rename list for Fortran modules import.
1911         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1912         tests.
1913         * gdb.fortran/module.f90 (module moduse): New.
1914         (program module): use moduse, test var_x, var_y and var_z.
1915
1916 2011-06-29  Tom Tromey  <tromey@redhat.com>
1917
1918         PR testsuite/12040:
1919         * gdb.fortran/array-element.exp: Use f90, not f77.
1920         * gdb.fortran/complex.exp: Use f90, not f77.
1921         * gdb.fortran/derived-type.exp: Use f90, not f77.
1922         * gdb.fortran/library-module.exp: Use f90, not f77.
1923         * gdb.fortran/logical.exp: Use f90, not f77.
1924         * gdb.fortran/module.exp: Use f90, not f77.
1925         * gdb.fortran/multi-dim.exp: Use f90, not f77.
1926         * gdb.fortran/subarray.exp: Use f90, not f77.
1927
1928 2011-06-29  Tom Tromey  <tromey@redhat.com>
1929
1930         * gdb.fortran/charset.exp: New file.
1931         * gdb.fortran/charset.f90: New file.
1932
1933 2011-06-29  Tom Tromey  <tromey@redhat.com>
1934
1935         PR testsuite/12040:
1936         * lib/future.exp: New file, mostly extracted from ada.exp.
1937         Rewrote compatibility code to use rename.
1938         (gdb_find_gfortran): New proc.
1939         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1940         gfortran patch.
1941         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1942         Move to future.exp.
1943         * lib/gdb.exp: Always load future.exp.
1944
1945 2011-06-28  Yao Qi  <yao@codesourcery.com>
1946
1947         * gdb.cp/exception.cc: Don't include iostream.
1948         (bar): Remove print statement.
1949         (catcher): New.
1950         (main): Remove print statements.  Call function catcher.
1951         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1952         Set breakpoint on catcher, and check the value of parameter.
1953
1954 2011-06-23  Yao Qi  <yao@codesourcery.com>
1955
1956         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1957         1.2 is disabled.  KFAIL for uclinux.
1958
1959 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1960
1961         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1962         mi_gdb_test.
1963
1964 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1965
1966         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1967
1968 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1969
1970         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1971
1972 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1973
1974         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
1975         `test_exec_and_symbol_mi_operatons' return value.
1976         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1977         gdb_test_multiple.
1978         (test_exec_and_symbol_mi_operatons): Likewise.
1979         (test_path_specification): Likewise.
1980
1981 2011-06-23  Yao Qi  <yao@codesourcery.com>
1982
1983         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1984         supported.
1985         * lib/gdb.exp (support_displaced_stepping): New.
1986
1987 2011-06-23  Yao Qi  <yao@codesourcery.com>
1988
1989         * gdb.threads/execl.exp: Skip on remote target.
1990
1991 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
1992
1993         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
1994         mi_gdb_test.
1995
1996 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
1997
1998         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1999
2000 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
2001
2002         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
2003         mi_gdb_test.
2004
2005 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
2006
2007         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2008
2009 2011-06-14  Yao Qi  <yao@codesourcery.com>
2010
2011         gdb/testsuite/
2012         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2013
2014 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2015
2016         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2017
2018 2011-06-10  Tom Tromey  <tromey@redhat.com>
2019
2020         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2021         Add tests for pointer-to-member-function.
2022         * gdb.cp/temargs.cc (S::somefunc): New function.
2023         (K2): New class.
2024         (main): Instantiate K2; call method.
2025
2026 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
2027
2028         * gdb.python/py-inferior.c (f2): Make str an array rather
2029         than a pointer.
2030         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2031
2032 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2033
2034         * gdb.base/async-shell.c: New file.
2035         * gdb.base/async-shell.exp: New file.
2036
2037 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
2038
2039         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2040
2041 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
2042
2043         From Stephen Kitt  <steve@sk2.org>
2044         * gdb.base/help.exp: Adjust following some spelling corrections
2045         in GDB.
2046
2047 2011-06-01  Yao Qi  <yao@codesourcery.com>
2048
2049         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2050
2051 2010-05-31  Keith Seitz  <keiths@redhat.com>
2052
2053         PR c++/12750
2054         * gdb.cp/static-method.cc: New file.
2055         * gdb.cp/static-method.exp: New file.
2056
2057 2010-05-31  Keith Seitz  <keiths@redhat.com>
2058
2059         PR symtab/12704
2060         * gdb.cp/anon-ns.cc: New file.
2061         * gdb.cp/anon-ns.exp: New file.
2062
2063 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
2064
2065         * gdb.arch/i386-dr3-watch.c: New file.
2066         * gdb.arch/i386-dr3-watch.exp: New file.
2067
2068 2011-05-30  Yao Qi  <yao@codesourcery.com>
2069
2070         * gdb.base/callfuncs.c (t_structs_fc): New.
2071         (t_structs_dc, t_structs_ldc): New.
2072         (t_double_many_args):
2073         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2074         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2075         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2076         * gdb.base/callfuncs.exp: Call new functions.
2077
2078 2011-05-30  Yao Qi  <yao@codesourcery.com>
2079
2080         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2081         Call rerun_and_prepare for each test to isolate effects.
2082
2083 2011-05-30  Yao Qi  <yao@codesourcery.com>
2084
2085         * gdb.base/varargs.c (find_max_float_real): New.
2086         (find_max_double_real, find_max_long_double_real): New.
2087         * gdb.base/varargs.exp: Call these new added functions.
2088         * lib/gdb.exp (setup_kfail_for_target): New.
2089
2090 2011-05-30  Yao Qi  <yao@codesourcery.com>
2091
2092         * gdb.base/funcargs.c (callca, callcb, callcc): New.
2093         (callcd, callce, callcf, callc1a, callc1b): New.
2094         (callc2a, callc2b): New.
2095         * gdb.base/funcargs.exp (complex_args): New.
2096         (complex_integral_args, complex_float_integral_args): New.
2097         * lib/gdb.exp (support_complex_tests): New.  Determine
2098         whether to run test cases on _Complex types.
2099
2100 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2101
2102         * gdb.threads/leader-exit.c: New file.
2103         * gdb.threads/leader-exit.exp: New file.
2104
2105 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
2106
2107         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2108
2109 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
2110
2111         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2112         remove the `supported' variable.
2113         * gdb.mi/mi-nonstop.exp: Likewise.
2114         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2115         * gdb.mi/mi-nsintrall.exp: Likewise.
2116         * gdb.mi/mi-nsmoribund.exp: Likewise.
2117         * gdb.mi/mi-nsthrexec.exp: Likewise.
2118
2119 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
2120
2121         * gdb.reverse/finish-reverse-bkpt.exp: New test.
2122
2123 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
2124
2125         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2126
2127 2011-05-24  Keith Seitz  <keiths@redhat.com>
2128
2129         PR breakpoint/12803
2130         * gdb.cp/cmpd-minsyms.cc (a): New method.
2131         (b): New method.
2132         (c): New method.
2133         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2134
2135 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
2136
2137         * gdb.base/commands.exp (watchpoint_command_test): Check that the
2138         watchpoint's command list didn't execute when the watchpoint went
2139         out of scope.
2140
2141 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
2142
2143         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2144         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2145         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2146         * gdb.arch/i386-gnu-cfi.exp: Likewise.
2147         * gdb.arch/i386-permbkpt.exp: Likewise.
2148         * gdb.arch/i386-prologue.exp: Likewise.
2149         * gdb.arch/i386-size-overlap.exp: Likewise.
2150         * gdb.arch/i386-size.exp: Likewise.
2151         * gdb.arch/i386-unwind.exp: Likewise.
2152         * gdb.reverse/i386-precsave.exp: Likewise.
2153         * gdb.reverse/i386-reverse.exp: Likewise.
2154         * gdb.reverse/i386-sse-reverse.exp: Likewise.
2155         * gdb.reverse/i387-env-reverse.exp: Likewise.
2156         * gdb.reverse/i387-stack-reverse.exp: Likewise.
2157
2158 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
2159
2160         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2161         file doesn't error, using MI.
2162
2163 2011-05-23  Tom Tromey  <tromey@redhat.com>
2164
2165         * gdb.base/charset.exp (string_display): Add tests to assign to
2166         arrays.
2167         * gdb.base/charset.c (short_array, int_array, long_array): New.
2168
2169 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
2170
2171         Cope with async mode.
2172
2173         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2174         into gdb_test + mi_expect_stop.
2175
2176 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
2177
2178         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2179         (callme): Remove printf call.
2180
2181 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
2182
2183         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2184         quote pattern to avoid problems with Cygwin/mingw expect versions.
2185         * gdb.base/default.exp (show convenience): Use double
2186         quote pattern for regular expressions.
2187
2188 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2189
2190         Fix -readnow for -gdwarf-4 unused type units.
2191         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2192         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2193
2194 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2195
2196         * gdb.base/kill-after-signal.c: New file.
2197         * gdb.base/kill-after-signal.exp: New file.
2198
2199 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
2200
2201         * gdb.ada/start.exp: Call untested with the correct test filename.
2202         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2203         test filename.  Make the test's binary unique.
2204         * gdb.arch/i386-signal.exp: Call untested with the correct test
2205         filename.
2206         * gdb.arch/i386-size-overlap.exp: Ditto.
2207         * gdb.arch/Makefile.in (EXECUTABLES): Update.
2208         * gdb.base/gcore-buffer-overflow.exp: Ditto.
2209         * gdb.cp/call-c.exp: Ditto.
2210         * gdb.mi/mi-reverse.exp: Call untested with the correct test
2211         filename.  Make the test's binary unique.
2212         * gdb.mi/Makefile.in (EXECUTABLES): Update.
2213         * gdb.python/py-mi.exp: Ditto.
2214         * gdb.python/Makefile.in (EXECUTABLES): Update.
2215         * gdb.reverse/i386-precsave.exp: Ditto.
2216         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2217         test filename.
2218         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2219         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
2220         unique.
2221         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2222         test filename.
2223         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2224         * gdb.trace/tfile.exp: Ditto.
2225
2226 2011-05-14  Yao Qi  <yao@codesourcery.com>
2227
2228         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2229         type.
2230
2231 2011-05-13  Doug Evans  <dje@google.com>
2232
2233         * gdb.python/py-objfile-script.exp: New file.
2234         * gdb.python/py-objfile-script.c: New file.
2235         * gdb.python/py-objfile-script-gdb.py: New file.
2236         * testsuite/gdb.python/py-section-script.exp: Test
2237         "info auto-load-scripts".
2238
2239 2011-05-13  Tom Tromey  <tromey@redhat.com>
2240
2241         * gdb.dwarf2/clztest.exp: New file.
2242         * gdb.dwarf2/clztest.c: New file.
2243         * gdb.dwarf2/clztest.S: New file.
2244
2245 2011-05-13  Doug Evans  <dje@google.com>
2246
2247         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2248         String16 tests.
2249
2250 2011-05-13  Tom Tromey  <tromey@redhat.com>
2251
2252         * lib/gdb.exp (is_x86_like_target): New proc.
2253         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2254         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2255         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
2256         -nostdlib to compiler.
2257         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2258         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2259         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2260         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2261         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2262
2263 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2264
2265         * gdb.python/py-function.exp: Test setting a value from a function
2266         which executes a command.
2267
2268 2011-05-12  Tom Tromey  <tromey@redhat.com>
2269
2270         * gdb.dwarf2/typeddwarf.S: New file.
2271         * gdb.dwarf2/typeddwarf.c: New file.
2272         * gdb.dwarf2/typeddwarf.exp: New file.
2273
2274 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
2275
2276         * gdb.mi/mi-basics.exp: Fix races.  Honour the
2277         `test_exec_and_symbol_mi_operatons' return value.
2278         (test_mi_interpreter_selection): Use mi_gdb_test instead of
2279         gdb_test_multiple.
2280         (test_exec_and_symbol_mi_operatons): Likewise.
2281         (test_path_specification): Likewise.
2282
2283 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2284
2285         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2286         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
2287         Replace `file copy' and `file rename' by `file mtime'.  Twice.
2288
2289 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2290
2291         * gdb.base/readline-ask.c: New file.
2292         * gdb.base/readline-ask.exp: New file.
2293         * gdb.base/readline-ask.inputrc: New file.
2294
2295 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2296
2297         * gdb.cell/bt.exp: Delete breakpoints before running to signal
2298         to avoid race condition.
2299         * gdb.cell/coremaker.c: Use small stack size.
2300         * gdb.cell/ea-standalone.exp: Use file name without path as
2301         argument to c_to.
2302         * gdb.cell/fork.exp: Allow other output when continuing to end.
2303
2304 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2305
2306         * gdb.threads/corethreads.c: New file.
2307         * gdb.threads/corethreads.exp: New file.
2308
2309 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2310
2311         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2312         Try to compile the test using -Wl,-z,norelro first.
2313         (load_core): New variable libthread_db_seen, initialize it.
2314         (zeroed-threads cannot be listed): Protect it by XFAIL on
2315         !$libthread_db_seen.
2316
2317 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2318
2319         PR 12573
2320         * gdb.dwarf2/dw2-skip-prologue.S: New file.
2321         * gdb.dwarf2/dw2-skip-prologue.c: New file.
2322         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2323
2324 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2325
2326         * gdb.cp/psymtab-parameter.cc: New file.
2327         * gdb.cp/psymtab-parameter.exp: New file.
2328
2329 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2330
2331         Fix a race.
2332         * gdb.cp/static-print-quit.exp (print c): Split to ...
2333         (print c - <return>, print c - q <return>, print c - to quit):
2334         ... these.  Make the testfile untested on gdb-7.1.
2335
2336 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
2337
2338         * lib/gdb.exp (exec_target_file, exec_symbol_file,
2339         gdb_rename_execfile, gdb_touch_execfile): New.
2340         * gdb.base/reread.exp: Use new procs to handle multiple
2341         exec files.
2342
2343 2011-05-05  Yao Qi  <yao@codesourcery.com>
2344
2345         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2346         (test_adr_32bit, test_pop_pc): New.
2347         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2348         (test_adr_32bit, test_pop_pc): New.
2349
2350 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
2351
2352         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2353         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2354         targets.
2355         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2356         handle targets.
2357
2358 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2359
2360         * gdb.base/completion.exp (complete help info wat): Rename to ...
2361         (complete 'help info wat'): ... here.
2362         Remove all `-re ".*' and `-re "^.*' redundant regexes.
2363         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2364
2365 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
2366
2367         * gdb.base/completion.exp: Use gdb_test_multiple instead of
2368         gdb_test and explicit $gdb_prompt/timeout matches.
2369
2370 2011-05-04  Yao Qi  <yao@codesourcery.com>
2371
2372         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2373         and __thumb2__.
2374
2375 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
2376
2377         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2378         in place of `gdb_test "delete breakpoints"'.  This eliminates two
2379         testcases.
2380
2381 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
2382
2383         PR testsuite/12649
2384         Fix races.
2385
2386         * gdb.base/completion.exp: Remove all sleep calls.  Remove
2387         unnecessary regexs.  Don't explicitly expect anything after the
2388         prompt.  Eat the prompt if necessary.
2389
2390 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2391
2392         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2393         accept to show the caller line again as well as the line after.
2394
2395 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
2396
2397         PR mi/12531
2398
2399         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2400         compile target.
2401         * gdb.python/py-prettyprint.exp: Add C++ object for
2402         CPLUS_FAKE_CHILD test.
2403
2404 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
2405
2406         * gdb.base/signest.exp: New file.
2407         * gdb.base/signest.c: Likewise.
2408
2409 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2410
2411         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2412         thread and breakpoint notifications.
2413
2414 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2415
2416         * gdb.base/fortran-sym-case.c: New file.
2417         * gdb.base/fortran-sym-case.exp: New file.
2418         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2419         * gdb.dwarf2/dw2-case-insensitive.c: New file.
2420         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2421
2422 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2423
2424         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2425         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2426         false #1', `if true else false #2' and `if true else false #3'.
2427
2428 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
2429
2430         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2431         while delivering signal.
2432
2433 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
2434
2435         MI breakpoint notifications.
2436
2437         * testsuite/gdb.mi/mi-cli.exp: Adust.
2438         * testsuite/gdb.mi/mi2-cli.exp: Adust.
2439         * testsuite/gdb.mi/mi-watch.exp: Adust.
2440         * testsuite/gdb.mi/mi2-watch.exp: Adust.
2441         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2442         notifications.
2443
2444 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2445
2446         * gdb.base/gdbindex-stabs-dwarf.c: New file.
2447         * gdb.base/gdbindex-stabs.c: New file.
2448         * gdb.base/gdbindex-stabs.exp: New file.
2449
2450 2011-04-25  Yao Qi  <yao@codesourcery.com>
2451
2452         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2453         with /*...*/.
2454         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2455
2456 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2457
2458         * gdb.python/py-value.exp (test_objfiles): Name the first test
2459         `py-value in file.filename'.
2460
2461 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2462
2463         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2464         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2465         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2466         !gdbserver_reconnect_p..
2467         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2468
2469 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2470
2471         * gdb.cp/cpcompletion.exp (complete class methods)
2472         (complete class methods beginning with F): Move them above runto.  New
2473         comment about the runto delimiter.
2474
2475 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
2476
2477         * gdb.base/maint.exp: Test that "maint print registers" works
2478         without a running program.
2479
2480 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
2481
2482         * gdb.base/setshow.exp: Fix racy tests.
2483         ($old_gdb_prompt): New variable.
2484
2485 2011-04-19  Tom Tromey  <tromey@redhat.com>
2486
2487         * gdb.mi/mi-nsmoribund.exp:
2488         * gdb.hp/gdb.objdbg/objdbg01.exp:
2489         * gdb.base/structs.exp (test_struct_returns):
2490         * gdb.base/call-sc.exp (test_scalar_returns):
2491         * gdb.base/bigcore.exp: Remove duplicate words.
2492
2493 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2494
2495         * gdb.base/break-interp-lib.c (v, vptr): New variables.
2496         * gdb.base/break-interp.exp (test_attach): New comment.
2497
2498 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2499
2500         * gdb.threads/gcore-thread.exp ($core0file): New variable.
2501         (clear __stack_user.next, clear stack_used.next)
2502         (save a zeroed-threads corefile): New test.
2503         Call core_load for $core0file.
2504         (zeroed-threads cannot be listed): New test.
2505
2506 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2507
2508         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2509         filename.
2510         ($srcfile): Preserve the original value.
2511         ($testfile): Match it the .exp filename.
2512         ($corefile): New variable.  Substitute it around.
2513         Use clean_restart.
2514         ($prev_timeout): Remove.
2515         (load_core): Move core loading into this proc.
2516         Fix restore of $timeout if load_core fails.
2517
2518 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2519
2520         * gdb.base/eu-strip-infcall.c: New file.
2521         * gdb.base/eu-strip-infcall.exp: New file.
2522
2523 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2524
2525         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2526         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2527
2528 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2529
2530         Fix Python access to inlined frames.
2531         * gdb.python/py-frame-inline.c: New file.
2532         * gdb.python/py-frame-inline.exp: New file.
2533
2534 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2535
2536         * gdb.base/gdb1090.exp: Change breakpoint location to read the
2537         content of 's24' correctly (avoiding "optimized out").
2538         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2539
2540 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2541
2542         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2543
2544 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2545
2546         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2547         expect a colon in watch -location output.
2548
2549 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
2550
2551         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2552         New testcase `expect response to define backtrace'.  Also remove
2553         redundant `default' block.
2554
2555 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2556
2557         * gdb.python/py-prettyprint.c (struct hint_error): New.
2558         (main): New variable hint_error.
2559         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2560         "print hint_error".
2561         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2562         (register_pretty_printers): Register it.
2563
2564 2011-04-04  Tom Tromey  <tromey@redhat.com>
2565
2566         * gdb.cp/maint.exp (test_help): Update.
2567         (test_namespace): Likewise.
2568
2569 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2570
2571         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2572         * gdb.ada/arrayptr.exp: Add new tests.
2573
2574 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2575
2576         * gdb.ada/mi_catch_ex: New testcase.
2577
2578 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
2579
2580         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2581         base::overload(void) method without specifying "const".
2582
2583 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2584
2585         * gdb.arch/thumb-singlestep.S: New file.
2586         * gdb.arch/thumb-singlestep.exp: Likewise.
2587
2588 2011-03-31  Tom Tromey  <tromey@redhat.com>
2589
2590         * gdb.python/py-prettyprint.py (exception_flag): New global.
2591         (NoStringContainerPrinter._iterator.next): Check it.
2592         * gdb.python/py-prettyprint.c (main): New variable nstype2.
2593         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2594
2595 2011-03-29  Tom Tromey  <tromey@redhat.com>
2596
2597         * gdb.cp/anon-struct.cc: New file.
2598         * gdb.cp/anon-struct.exp: New file.
2599
2600 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2601
2602         Test STT_GNU_IFUNC support.
2603         * gdb.base/gnu-ifunc-lib.c: New file.
2604         * gdb.base/gnu-ifunc.c: New file.
2605         * gdb.base/gnu-ifunc.exp: New file.
2606
2607 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2608
2609         Support a ring of related breakpoints.
2610         * gdb.base/watchpoint-delete.c: New file.
2611         * gdb.base/watchpoint-delete.exp: New file.
2612
2613 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2614
2615         * gdb.ada/arrayparam.exp (print first after function call): Use
2616         explicit package name.  Add a comment
2617         (print lasta after function call): Rename ...
2618         (print last after function call): ... it and use explicit package
2619         name.
2620         (print length after function call): Use explicit package name.
2621         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2622         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2623         (multiple matches for symbol i): Rename ...
2624         (multiple matches for symbol integervar): ... it.
2625         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2626         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2627
2628 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
2629
2630         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2631         environment variable to make grep output more predictable. Move
2632         all the environment setup into gdb_init so it's done once per test
2633         case rather than each time we start gdb.
2634
2635 2011-03-24  Tom Tromey  <tromey@redhat.com>
2636
2637         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
2638         test.
2639
2640 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2641
2642         * gdb.dwarf2/dw2-entry-value-main.c: New file.
2643         * gdb.dwarf2/dw2-entry-value.S: New file.
2644         * gdb.dwarf2/dw2-entry-value.exp: New file.
2645
2646 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
2647
2648         PR python/12183
2649
2650         * gdb.python/py-function.exp: Add GdbError tests.
2651
2652 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2653
2654         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2655         (reglocal_test_func, statlocal_test_func): New functions.
2656         (globals_test_func): Call new functions.
2657         * gdb.trace/unavailable.exp (gdb_collect_args_test)
2658         (gdb_collect_locals_test): New procedure.
2659         (gdb_trace_collection_test): Call new procedures.
2660
2661 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2662
2663         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2664         (test_register, test_register_unavailable): New procedures.
2665         (gdb_unavailable_registers_test): New procedure.
2666         (gdb_trace_collection_test): Call it.
2667
2668 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
2669
2670         PR python/12149
2671
2672         * gdb.python/python.exp: Add gdb.write tests.
2673
2674 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
2675
2676         * gdb.python/Makefile.in: Add py-objfile.
2677         * gdb.python/py-objfile.exp: New file.
2678         * gdb.python/py-objfile.c: New file.
2679         * gdb.python/py-block.exp: Add is_valid tests.
2680         * gdb.python/py-inferior.exp: Ditto.
2681         * gdb.python/py-infthread.exp: Ditto.
2682         * gdb.python/py-symbol.exp: Ditto.
2683         * gdb.python/py-symtab.exp: Ditto.
2684
2685 2011-03-16  Keith Seitz  <keiths@redhat.com>
2686
2687         PR c++/12273
2688         * gdb.cp/cmpd-minsyms.exp: New test.
2689         * gdb.cp/cmpd-minsyms.cc: New file.
2690
2691         PR c++/11734
2692         * gdb.cp/ovsrch.exp: New test.
2693         * gdb.cp/ovsrch.h: New file.
2694         * gdb.cp/ovsrch1.cc: New file.
2695         * gdb.cp/ovsrch2.cc: New file.
2696         * gdb.cp/ovsrch3.cc: New file.
2697         * gdb.cp/ovsrch4.cc: New file.
2698
2699 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2700
2701         PR gdb/12528
2702         * gdb.base/Makefile.in: Adjust EXECUTABLES.
2703         * gdb.base/break-on-linker-gcd-function.exp: New test.
2704         * gdb.base/break-on-linker-gcd-function.cc: New file.
2705
2706 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
2707
2708         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2709
2710 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
2711
2712         * lib/gdb.exp (gdb_unload): Add another termination case.
2713
2714 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2715
2716         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2717         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2718         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2719         Provide a stub byte there.
2720         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2721         DW_AT_entry_pc.
2722         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2723
2724 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
2725
2726         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2727         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
2728         "generic ABI, auto".
2729         (altivec_abi_tests): Accept vectors returned by reference.
2730
2731 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
2732
2733         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2734
2735 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
2736
2737         * gdb.python/py-section-script.exp: Skip test if no Python support.
2738
2739 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2740
2741         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2742
2743 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
2744
2745         * gdb.python/py-parameter.exp: Update tests to the new Python
2746         parameter API. Add "no documentation" test.  Add deprecated API
2747         backward compatibility test.
2748
2749 2011-03-09  Tom Tromey  <tromey@redhat.com>
2750
2751         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2752         gdb_continue_to_end.
2753
2754 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
2755
2756         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2757         tabs.
2758
2759 2011-03-09  Tom Tromey  <tromey@redhat.com>
2760
2761         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
2762         parentheses.
2763         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
2764         $command.
2765         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2766         argument to gdb_continue_to_end.
2767         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2768         argument to gdb_continue_to_end.
2769         * gdb.cp/annota3.exp: Fix regex.
2770         * gdb.cp/annota2.exp: Fix regex.
2771         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2772         gdb_continue_to_end.
2773         * gdb.base/call-signal-resume.exp: Revert earlier patch.
2774         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2775         gdb_continue_to_end.
2776
2777 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2778
2779         * gdb.server/ext-run.exp
2780         (load new file without any gdbserver inferior): New test.
2781
2782 2011-03-07  Tom Tromey  <tromey@redhat.com>
2783
2784         * Makefile.in (TAGS): Rewrite.
2785
2786 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2787
2788         * gdb.trace/report.exp (12.1: trace report #1): New match for the
2789         initial commands echo.  New match for `Found trace'.  Anchor all the
2790         other matches.  Anchor and match for `No trace frame found' the final
2791         match.
2792
2793 2011-03-07  Tom Tromey  <tromey@redhat.com>
2794
2795         * Makefile.in (TAGS): New target.
2796
2797 2011-03-07  Tom Tromey  <tromey@redhat.com>
2798
2799         * lib/opencl.exp (skip_opencl_tests): Update for exit message
2800         change.
2801         * lib/mi-support.exp (mi_gdb_test): Update for exit message
2802         change.
2803         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
2804         exit message change.
2805         (skip_altivec_tests): Update for exit message change.
2806         (skip_vsx_tests): Likewise.
2807         (gdb_continue_to_end): Likewise.  Add 'command' argument.
2808         * lib/cell.exp (skip_cell_tests): Update for exit message change.
2809         * gdb.threads/tls.exp: Update for exit message change.
2810         * gdb.threads/thread-unwindonsignal.exp: Use
2811         gdb_continue_to_end.
2812         * gdb.threads/step.exp (step_it): Update for exit message change.
2813         (continue_all): Likewise.
2814         * gdb.threads/print-threads.exp (test_all_threads): Update for
2815         exit message change.
2816         * gdb.threads/interrupted-hand-call.exp: Use
2817         gdb_continue_to_end.
2818         * gdb.threads/execl.exp: Use gdb_continue_to_end.
2819         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2820         gdb_continue_to_end.
2821         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2822         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2823         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2824         * gdb.cp/method.exp: Update for exit message change.
2825         * gdb.cp/mb-templates.exp: Update for exit message change.
2826         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2827         * gdb.cp/annota3.exp: Update for exit message change.
2828         * gdb.cp/annota2.exp: Update for exit message change.
2829         * gdb.cell/fork.exp: Use gdb_continue_to_end.
2830         * gdb.base/term.exp: Update for exit message change.
2831         * gdb.base/step-test.exp (test_i): Update for exit message change.
2832         * gdb.base/sigstep.exp (advance): Update for exit message change.
2833         (advancei): Likewise.
2834         * gdb.base/siginfo.exp: Update for exit message change.
2835         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2836         * gdb.base/reread.exp: Use gdb_continue_to_end.
2837         * gdb.base/langs.exp: Use gdb_continue_to_end.
2838         * gdb.base/interrupt.exp: Update for exit message change.
2839         * gdb.base/gdb1555.exp: Update for exit message change.
2840         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2841         * gdb.base/ending-run.exp: Update for exit message change.
2842         * gdb.base/chng-syms.exp: Update for exit message change.
2843         * gdb.base/checkpoint.exp: Update for exit message change.
2844         * gdb.base/catch-syscall.exp (check_for_program_end): Use
2845         gdb_continue_to_end.
2846         (test_catch_syscall_with_wrong_args): Likewise.
2847         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2848         * gdb.base/break-interp.exp (test_ld): Update for exit message
2849         change.
2850         * gdb.base/bang.exp: Update for exit message change.
2851         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2852         (do_call_attach_tests): Likewise.
2853         * gdb.base/a2-run.exp: Update for exit message change.
2854         * gdb.arch/ppc-dfp.exp: Update for exit message change.
2855         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2856         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2857
2858 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2859
2860         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2861
2862 2011-03-03  Tom Tromey  <tromey@redhat.com>
2863
2864         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2865         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2866         * gdb.hp/gdb.aCC/configure.ac: Remove.
2867         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2868         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2869         * gdb.hp/gdb.base-hp/configure.ac: Remove.
2870         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2871         * gdb.hp/gdb.compat/configure (Makefile): Remove.
2872         * gdb.hp/gdb.compat/configure.ac: Remove.
2873         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2874         * gdb.hp/gdb.defects/configure (Makefile): Remove.
2875         * gdb.hp/gdb.defects/configure.ac: Remove.
2876         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2877         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2878         * gdb.hp/gdb.objdbg/configure.ac: Remove.
2879         * gdb.hp/configure.ac: Remove.
2880         * gdb.hp/configure: Remove.
2881         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2882         substitution.
2883         (Makefile): Remove rule.
2884         * gdb.cell/configure.ac: Remove.
2885         * gdb.cell/configure: Remove.
2886         * gdb.stabs/Makefile.in (Makefile): Remove.
2887         (distclean): Don't remove config.status or config.log.
2888         * gdb.stabs/configure (Makefile): Remove.
2889         * gdb.stabs/configure.ac: Remove.
2890         * configure: Rebuild.
2891         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2892         Remove stabs- and cell-specific logic.  Test for existence of
2893         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
2894         subdirectories, gdb.cell, and and gdb.stabs.
2895         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2896
2897 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
2898
2899         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2900         end of buffer.
2901
2902 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
2903
2904         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2905         gdb_test when running a test where we expected no output back.
2906
2907 2011-02-28  Michael Snyder  <msnyder@vmware.com>
2908
2909         * gdb.cp/overload.cc: Change initializer value to integer.
2910
2911 2011-02-27  Michael Snyder  <msnyder@vmware.com>
2912
2913         * gdb.multi/base.exp: Add test for remove-inferiors.
2914
2915 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
2916
2917         * gdb.python/py-frame.exp: Simplify the initialization phase
2918         using prepare_for_testing.
2919
2920 2011-02-25  Michael Snyder  <msnyder@vmware.com>
2921
2922         * gdb.multi/base.exp: Add tests for info inferiors with args.
2923
2924 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2925
2926         * gdb.dwarf2/dw2-ranges.S: Rename to ...
2927         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2928         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2929         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2930         asmfile3.  Comment the STABS (#3) file compilation.  Compile
2931         everything through assembler.  Provide KFAIL for symtab/12497.
2932         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2933         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2934         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2935         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2936
2937 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2938
2939         * gdb.base/break.exp: Add tests for delete breakpoints using
2940         convenience variables and value history references.
2941
2942 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2943
2944         * gdb.base/break.exp: Remove debugging 'printf' accidentally
2945         left behind in previous check-in.
2946
2947 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2948
2949         * gdb.base/break.exp: Add tests for "info break" with arguments.
2950         * gdb.trace/infotrace.exp: Update patterns for error and help.
2951         * gdb.base/completion.exp: Update pattern.
2952         * gdb.base/ena-dis-br.exp: Update pattern.
2953         * gdb.base/help.exp: Update patterns.
2954
2955 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2956
2957         * gdb.base/memattr.exp: New test.
2958         * gdb.base/memattr.c: Test load for memattr.exp.
2959
2960 2011-02-22  Doug Evans  <dje@google.com>
2961
2962         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2963
2964 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2965
2966         * Makefile.in: Make more clean.
2967         * gdb.ada/Makefile.in: Ditto.
2968         * gdb.arch/Makefile.in: Ditto.
2969         * gdb.asm/Makefile.in: Ditto.
2970         * gdb.base/Makefile.in: Ditto.
2971         * gdb.cp/Makefile.in: Ditto.
2972         * gdb.dwarf2/Makefile.in: Ditto.
2973         * gdb.java/Makefile.in: Ditto.
2974         * gdb.mi/Makefile.in: Ditto.
2975         * gdb.modula2/Makefile.in: Ditto.
2976         * gdb.python/Makefile.in: Ditto.
2977         * gdb.server/Makefile.in: Ditto.
2978         * gdb.stabs/Makefile.in: Ditto.
2979         * gdb.threads/Makefile.in: Ditto.
2980         * gdb.trace/Makefile.in: Ditto.
2981
2982 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2983
2984         * gdb.threads/thread-find.exp: Add tests for bad input to
2985         info threads.
2986
2987 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2988
2989         * gdb.python/py-breakpoint.exp: Fix the expected output of
2990         one of the "maint info breakpoints" tests to accept the output
2991         generated on platforms that do not have hardware watchpoints.
2992
2993 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2994
2995         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2996         clean_restart.  Be a little stricter in the expected output
2997         for one of the tests.  Fix a typo in one of the comments.
2998
2999 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
3000
3001         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3002         Delete variable binfile, no longer use.  Add or modify test
3003         comments to make them unique.
3004
3005 2011-02-21  Michael Snyder  <msnyder@vmware.com>
3006
3007         * Makefile.in: Update for make clean.
3008         * gdb.ada/Makefile.in: Ditto.
3009         * gdb.arch/Makefile.in: Ditto.
3010         * gdb.asm/Makefile.in: Ditto.
3011         * gdb.base/Makefile.in: Ditto.
3012         * gdb.cp/Makefile.in: Ditto.
3013         * gdb.dwarf2/Makefile.in: Ditto.
3014         * gdb.java/Makefile.in: Ditto.
3015         * gdb.mi/Makefile.in: Ditto.
3016         * gdb.modula2/Makefile.in: Ditto.
3017         * gdb.python/Makefile.in: Ditto.
3018         * gdb.server/Makefile.in: Ditto.
3019         * gdb.stabs/Makefile.in: Ditto.
3020         * gdb.threads/Makefile.in: Ditto.
3021         * gdb.trace/Makefile.in: Ditto.
3022
3023 2011-02-21  Michael Snyder  <msnyder@vmware.com>
3024
3025         * gdb.threads/thread-find.exp: Update patterns for changes in
3026         output of "info threads" command.
3027
3028 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3029             Ulrich Weigand  <uweigand@de.ibm.com>
3030
3031         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3032         (skip_hw_watchpoint_tests): Likewise.
3033         (skip_hw_watchpoint_multi_tests): Likewise.
3034
3035 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
3036
3037         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3038         (skip_hw_watchpoint_tests): Likewise.
3039         (skip_hw_watchpoint_multi_tests): Likewise.
3040         (skip_hw_watchpoint_access_tests): Likewise.
3041
3042         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3043         * gdb.base/pr11022.exp: Likewise.
3044         * gdb.base/watch-read.exp: Likewise.
3045         * gdb.base/watch_thread_num.exp: Likewise.
3046         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3047         * gdb.base/watchpoint-hw.exp: Likewise.
3048         * gdb.base/watchpoint.exp: Likewise.
3049         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3050         * gdb.threads/watchthreads-reorder.exp: Likewise.
3051         * gdb.threads/watchthreads.exp: Likewise.
3052         * gdb.threads/watchthreads2.exp: Likewise.
3053
3054 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
3055
3056         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3057         the debugger is unable to find the array bounds.
3058
3059 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3060
3061         * gdb.cp/typedef-operator.exp: New file.
3062         * gdb.cp/typedef-operator.cc: New file.
3063
3064 2011-02-17  Michael Snyder  <msnyder@vmware.com>
3065
3066         * gdb.threads/thread-find.exp: Fix regular expressions.
3067
3068 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
3069
3070         * gdb.ada/packed_array: Expand testcase to test printing of
3071         unconstrained packed array.
3072
3073 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
3074
3075         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3076
3077 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
3078
3079         * gdb.trace/collection.c (globalarr3): New global.
3080         (main): Initialize it before collecting, and and clear it
3081         afterwards.
3082         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3083         collecting with '{type} addr', where the addr expression is not an
3084         rvalue.
3085
3086 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
3087
3088         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3089         a bool variable. Expect correct OpenCL names for vector types. Use the
3090         uc3 variable name instead of referring to the uchar3 built-in type.
3091         Escape the asterisk at the half pointer test.
3092
3093 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
3094
3095         * gdb.trace/collection.c (globalarr2): New global.
3096         (main): Initialize it before collecting, and and clear it
3097         afterwards.
3098         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3099         collecting overlapping memory ranges.
3100
3101 2011-02-15  Michael Snyder  <msnyder@vmware.com>
3102
3103         * gdb.base/default.exp: Add tests for thread commands.
3104         * gdb.base/help.exp: Add tests for thread commands.
3105         * gdb.threads/thread-find.exp: New test for thread find command.
3106
3107 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
3108
3109         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3110
3111 2011-02-15  Yao Qi  <yao@codesourcery.com>
3112
3113         PR tdep/12352
3114         * gdb.arch/arm-disp-step.S : New test for str instruction.
3115         * gdb.arch/arm-disp-step.exp : Likewise.
3116
3117 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3118
3119         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3120         "vector_register2_vr" test strings.  Test the extended floating
3121         point registers (F32~F63).
3122         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3123         IBM XL C compiler.  Make the test program use a register provided
3124         by the compiler for the lxvd2x instruction.
3125
3126 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3127
3128         * gdb.trace/unavailable.cc (class Base, class Middle, class
3129         Derived): New types.
3130         (derived_unavail, derived_partial, derived_whole): New globals.
3131         (virtual_partial): New global.
3132         (virtualp): Point at virtual_partial.
3133         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3134         related to unavailable vptr.
3135
3136 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3137
3138         * gdb.trace/unavailable.cc (a, b, c): New globals.
3139         (main): Set and clear them.
3140         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3141         `a' and `c', and check that `b' isn't collected, although `a' and
3142         `c' are.
3143
3144 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3145
3146         * gdb.trace/unavailable.cc (struct Virtual): New.
3147         (virtualp): New global pointer.
3148         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3149         printing a pointer to an object whose type has a vtable, with
3150         print object on.
3151
3152 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3153
3154         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3155         value repeat handles unavailableness.
3156
3157 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3158
3159         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3160         tests for building arrays from unavailable values, subscripting
3161         non-memory rvalue unvailable arrays, and accessing fields or
3162         baseclasses of non-lazy unavailable values,
3163         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3164         struct types.
3165         (g_smallstruct, g_smallstruct_b): New globals.
3166
3167 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3168
3169         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3170
3171 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3172
3173         Fix const/volatile qualifiers of C++ types, PR c++/12328.
3174         * gdb.cp/overload-const.exp: New file.
3175         * gdb.cp/overload-const.cc: New file.
3176
3177 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3178
3179         * gdb.opencl/callfuncs.cl: New file.
3180         * gdb.opencl/callfuncs.exp: New test.
3181         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3182
3183 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3184
3185         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3186         when computing result.
3187         * gdb.arch/altivec-abi.exp: Update expected results.
3188
3189 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3190
3191         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3192         * gdb.base/jit.exp: Likewise.
3193         * gdb.base/pie-execl.exp: Likewise.
3194         * gdb.base/solib-nodir.exp: Likewise.
3195         * gdb.base/solib-overlap.exp: Likewise.
3196
3197 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
3198
3199         * gdb.trace/collection.c (global_pieces): New.
3200         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3201         New procedure.
3202         (gdb_trace_collection_test): Call it.
3203
3204 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
3205
3206         * gdb.python/py-evthreads.c: New file.
3207         * gdb.python/py-evthreads.exp: New file.
3208         * gdb.python/py-events.py: New file.
3209         * gdb.python/py-events.exp: New file.
3210         * gdb.python/py-events.c: New file.
3211
3212 2011-02-04 David Daney <ddaney@caviumnetworks.com>
3213
3214         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3215
3216 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
3217
3218         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3219         gdb.base/disasm-end-cu.exp: New test for disassembling over the
3220         boundary between two compilation units.
3221
3222 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
3223
3224         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3225         (Virtual): New structs.
3226         (virtual_o, virtual_middle_b): New globals.
3227         * gdb.cp/virtbase.exp: New tests.
3228
3229 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
3230
3231         * gdb.base/jit.exp: New file.
3232         * gdb.base/jit-main.c: New file.
3233         * gdb.base/jit-solib.c: New file.
3234
3235 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
3236
3237         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3238         proceed to initial kernel entry point.
3239         * gdb.opencl/datatypes.exp: Likewise.
3240         * gdb.opencl/operators.exp: Likewise.
3241         * gdb.opencl/vec_comps.exp: Likewise.
3242
3243 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
3244
3245         * gdb.cp/nsnested.cc: New.
3246         * gdb.cp/nsnested.exp: New.
3247         * gdb.cp/nsnoimports.exp: New.
3248         * gdb.cp/nsnoimports.cc: New.
3249
3250 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
3251
3252         * gdb.base/interact.exp: Add extra tests that verify that
3253         the value of the interactive-mode setting does not change
3254         after the script is sourced.
3255
3256 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3257
3258         * gdb.cp/noparam.exp: New file.
3259         * gdb.cp/noparam.cc: New file.
3260
3261 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
3262
3263         * gdb.trace/tfile.exp: Test that with no traceframe selected,
3264         there's no stack or registers.
3265
3266 2011-01-26  Tom Tromey  <tromey@redhat.com>
3267
3268         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3269         space before string output.  Add test for "set print pretty off"
3270         case.
3271
3272 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
3273
3274         * gdb.base/frame-args.exp: Adjust.
3275         * gdb.dwarf2/dw2-noloc.exp: Adjust.
3276         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3277         * gdb.dwarf2/pieces.exp: Adjust.
3278         * gdb.opt/clobbered-registers-O2.exp: Adjust.
3279         * gdb.opt/inline-locals.exp: Adjust.
3280         * gdb.threads/fork-child-threads.exp: Adjust.
3281
3282 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
3283
3284         * gdb.opencl/convs_casts.cl: Move program scope variables into the
3285         OpenCL kernel function. Add a comment as marker. Add address space
3286         qualifiers for the remaining program scope variables.
3287         * gdb.opencl/datatypes.cl: Likewise.
3288         * gdb.opencl/operators.cl: Likewise.
3289         * gdb.opencl/vec_comps.cl: Likewise.
3290         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3291         Add breakpoint at the marker comment.
3292         * gdb.opencl/datatypes.exp: Likewise.
3293         * gdb.opencl/operators.exp: Likewise.
3294         * gdb.opencl/vec_comps.exp: Likewise.
3295
3296 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
3297
3298         * gdb.base/printcmds.c (some_struct): New struct and instance.
3299         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3300         procedure.
3301         <global scope>: Call it.
3302
3303 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
3304
3305         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3306         argument to the gdb_compile_opencl_hostapp call.
3307
3308 2011-01-19  Yao Qi  <yao@codesourcery.com>
3309
3310         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3311         positve list.
3312
3313 2011-01-19  Yao Qi  <yao@codesourcery.com>
3314
3315         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3316         canonical form.
3317         Remove "xscale-*-*"
3318         * gdb.xml/tdesc-regs.exp: Likewise.
3319         * gdb.python/py-section-script.exp: Replace ARM target triplet
3320         with canonical form.
3321         Match arm*-*-symbianelf*.
3322         * gdb.base/dup-sect.exp: Likewise.
3323         * lib/dwarf.exp: New.
3324         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3325         dwarf2_support.
3326         * gdb.dwarf2/dup-psym.exp: Likewise.
3327         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3328         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3329         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3330         * gdb.dwarf2/dw2-basic.exp: Likewise.
3331         * gdb.dwarf2/dw2-compressed.exp: Likewise.
3332         * gdb.dwarf2/dw2-const.exp: Likewise.
3333         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3334         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3335         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3336         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3337         * gdb.dwarf2/dw2-filename.exp: Likewise.
3338         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3339         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3340         * gdb.dwarf2/dw2-intercu.exp: Likewise.
3341         * gdb.dwarf2/dw2-intermix.exp: Likewise.
3342         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3343         * gdb.dwarf2/dw2-noloc.exp: Likewise.
3344         * gdb.dwarf2/dw2-op-call.exp: Likewise.
3345         * gdb.dwarf2/dw2-producer.exp: Likewise.
3346         * gdb.dwarf2/dw2-ranges.exp: Likewise.
3347         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3348         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3349         * gdb.dwarf2/dw2-strp.exp: Likewise.
3350         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3351         * gdb.dwarf2/implptr.exp: Likewise.
3352         * gdb.dwarf2/mac-fileno.exp: Likewise.
3353         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3354         * gdb.dwarf2/pieces.exp: Likewise.
3355         * gdb.dwarf2/pr11465.exp: Likewise.
3356         * gdb.dwarf2/valop.exp: Likewise.
3357         * gdb.dwarf2/watch-notconst.exp: Likewise.
3358         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3359
3360 2011-01-19  Tom Tromey  <tromey@redhat.com>
3361
3362         * gdb.python/py-infthread.exp: Add thread tests.
3363
3364 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3365
3366         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3367
3368 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3369
3370         * gdb.ada/widewide: New testcase.
3371
3372 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
3373
3374         * gdb.base/interact.exp: New testcase.
3375
3376 2011-01-12  Tom Tromey  <tromey@redhat.com>
3377
3378         * gdb.mi/gdb2549.exp: Update for error message changes.
3379         * gdb.mi/mi-cli.exp: Likewise.
3380         * gdb.mi/mi-disassemble.exp: Likewise.
3381         * gdb.mi/mi-pthreads.exp: Likewise.
3382         * gdb.mi/mi-regs.exp: Likewise.
3383         * gdb.mi/mi-stack.exp: Likewise.
3384         * gdb.mi/mi-var-block.exp: Likewise.
3385         * gdb.mi/mi-var-cmd.exp: Likewise.
3386         * gdb.mi/mi2-cli.exp: Likewise.
3387         * gdb.mi/mi2-disassemble.exp: Likewise.
3388         * gdb.mi/mi2-pthreads.exp: Likewise.
3389         * gdb.mi/mi2-regs.exp: Likewise.
3390         * gdb.mi/mi2-stack.exp: Likewise.
3391         * gdb.mi/mi2-var-block.exp: Likewise.
3392         * gdb.mi/mi2-var-cmd.exp: Likewise.
3393
3394 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3395             Jan Kratochvil  <jan.kratochvil@redhat.com>
3396
3397         PR fortran/11104 and DWARF unbound arrays detection.
3398         * gdb.fortran/multi-dim.exp: New file.
3399         * gdb.fortran/multi-dim.f90: New file.
3400
3401 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3402
3403         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3404         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3405         add new tests for opcode dumping.
3406
3407 2011-01-11  Tom Tromey  <tromey@redhat.com>
3408
3409         * gdb.python/py-infthread.exp: Load gdb-python.exp.
3410
3411 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3412
3413         Convert hardware watchpoints to use breakpoint_ops.
3414         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3415         type is not supported.
3416         * gdb.base/foll-fork.exp: Likewise.
3417         * gdb.base/foll-vfork.exp: Likewise.
3418
3419 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
3420
3421         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3422         Use load_lib gdb-python.exp.
3423         * gdb.python/python.exp: Ditto.
3424         * gdb.python/py-function.exp: Ditto.
3425
3426 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
3427
3428         * gdb.threads/tls.exp ("info address me"): Fix expected output.
3429
3430 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3431
3432         * configure: Regenerate.
3433
3434 2011-01-06  Tom Tromey  <tromey@redhat.com>
3435
3436         * gdb.python/py-frame.exp: Test gdb.newest_frame.
3437
3438 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3439
3440         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3441         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3442         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3443         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3444         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3445         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3446         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3447         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3448         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3449         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3450         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3451         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3452         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3453         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3454         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3455         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3456         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3457         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3458         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3459         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3460         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3461         gdb.ada/uninitialized_vars.exp,
3462         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3463         Simplify by using clean_restart.
3464
3465 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3466
3467         Add marker to be used as anchor for inserting breakpoints.
3468         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3469         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3470         Likewise.
3471
3472         Remove uses of gdb_start_cmd.
3473         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3474         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3475
3476         Do not run testcase if testing with GDBserver.
3477         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3478         if testing with GDBserver.
3479
3480 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3481
3482         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3483         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3484         copyright header.
3485
3486 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3487
3488         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3489         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3490         testsuite/gdb.fortran/complex.f,
3491         testsuite/gdb.fortran/derived-type.f90,
3492         testsuite/gdb.fortran/library-module-lib.f90,
3493         testsuite/gdb.fortran/library-module-main.f90,
3494         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3495         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3496         Copyright year update.
3497
3498 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3499
3500         * gdb.base/langs1.f: Add copyright header.
3501
3502 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3503
3504         * gdb.base/morestack.exp: New file.
3505         * gdb.base/morestack.c: New file.
3506
3507 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3508
3509         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3510
3511 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3512
3513         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3514         * gdb.ada/arrayptr.exp: Add test printing that new variable.
3515
3516 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3517
3518         * gdb.ada/lang_switch.exp: Correct expected parameter value.
3519
3520 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
3521
3522         * gdb.threads/tls.exp: Fix typo.
3523
3524         * gdb.threads/thread-specific.exp (get_thread_list): Update.
3525         * gdb.threads/execl.exp: Update.
3526
3527 2010-12-23  Yao Qi  <yao@codesourcery.com>
3528
3529         * gdb.arch/arm-disp-step.exp: New.
3530         * gdb.arch/arm-disp-step.S: New.
3531
3532 2010-12-21  Tom Tromey  <tromey@redhat.com>
3533
3534         * gdb.threads/execl.exp: Update.
3535         * gdb.threads/linux-dp.exp: Update.
3536         * gdb.threads/manythreads.exp: Update.
3537         * gdb.threads/tls.exp: Update.
3538
3539 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3540
3541         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3542         (NextOverThrowDerivates) <resumebpt>: New.
3543         (resumebpt_test): New.
3544         (main): Call resumebpt_test.
3545         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3546
3547 2010-12-12  Stan Shebs  <stan@codesourcery.com>
3548
3549         * gdb.trace/tsv.exp: Test print command on trace state variables.
3550
3551 2010-12-09  Tom Tromey  <tromey@redhat.com>
3552
3553         * gdb.base/interp.exp: Add regression test.
3554
3555 2010-12-09  Tom Tromey  <tromey@redhat.com>
3556
3557         * gdb.java/jnpe.java: New file.
3558         * gdb.java/jnpe.exp: New file.
3559         * gdb.cp/nextoverthrow.exp: New file.
3560         * gdb.cp/nextoverthrow.cc: New file.
3561
3562 2010-12-07  Doug Evans  <dje@google.com>
3563
3564         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3565         of data-directory.
3566         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3567         updated.
3568         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3569
3570 2010-11-29  Michael Snyder  <msnyder@vmware.com>
3571
3572         * gdb.base/callfuncs.exp: Test for skip_float_tests.
3573         * gdb.base/call-sc.exp: Ditto.
3574         * gdb.base/finish.exp: Ditto.
3575         * gdb.base/return.exp: Ditto.
3576         * gdb.base/return2.exp: Ditto.
3577
3578 2010-11-30  Doug Evans  <dje@google.com>
3579
3580         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3581         (gdb_expect_list): Fix spelling errors in comments.
3582         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3583         send_gdb/gdb_expect_list where applicable.
3584         * gdb.base/call-ar-st.exp: Ditto.
3585         * gdb.base/funcargs.exp: Ditto.
3586         * gdb.base/gcore.exp: Ditto.
3587         * gdb.base/page.exp: Ditto.
3588         * gdb.base/sigaltstack.exp: Ditto.
3589         * gdb.base/siginfo.exp: Ditto.
3590         * gdb.base/sigstep.exp: Ditto.
3591         * gdb.base/trace-commands.exp: Ditto.
3592
3593 2010-11-29  Doug Evans  <dje@google.com>
3594
3595         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3596         printer-name;subprinter-name.
3597
3598 2010-11-29  Tom Tromey  <tromey@redhat.com>
3599
3600         * gdb.dwarf2/implptr.exp: New file.
3601         * gdb.dwarf2/implptr.c: New file.
3602         * gdb.dwarf2/implptr.S: New file.
3603
3604 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3605
3606         PR python/12199
3607
3608         * gdb.python/py-breakpoint.exp: Test the delete method.
3609
3610 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3611
3612         Fix step_resume_breakpoint unsaved during an infcall.
3613         * gdb.base/step-resume-infcall.exp: New file.
3614         * gdb.base/step-resume-infcall.c: New file.
3615
3616 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3617
3618         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3619
3620 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3621
3622         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3623         on ppc64's symbols; "finish" and "return" commands must accept to
3624         show the caller line again as well as the line after.
3625         * gdb.asm/powerpc64.inc: New file.
3626
3627 2010-11-23  Doug Evans  <dje@google.com>
3628
3629         * lib/gdb.exp (gdb_test_sequence): New function.
3630         (gdb_expect_list): Add verbose -log call for each pattern.
3631         * gdb.base/signals.exp (test_handle_all_print): Call it.
3632         Reduce timeout increment from 6 minutes to 1 minute.
3633         * gdb.server/ext-run.exp: Call it.
3634
3635 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
3636
3637         PR python/12212
3638
3639         * gdb.python/python.exp: Check that selected_thread raises an
3640         error when no inferior is loaded.
3641
3642 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3643
3644         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3645         * gdb.dwarf2/dw2-stack-boundary.S: New file.
3646
3647 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3648
3649         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3650         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3651
3652 2010-11-18  Doug Evans  <dje@google.com>
3653
3654         * gdb.server/ext-run.exp: Fix intermittent failures.
3655
3656 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3657
3658         * gdb.stabs/gdb11479.exp: Use runto_main.
3659
3660 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3661
3662         * gdb.base/break-entry.exp: Skip if using a stub.
3663
3664 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3665
3666         * gdb.python/py-inferior.exp: Pack values in target endianness.
3667
3668 2010-11-12  Tom Tromey  <tromey@redhat.com>
3669
3670         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3671         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3672         MemoryError.
3673         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3674         type.
3675         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3676         MemoryError.
3677         (test_subscript_regression): Update exception type.
3678
3679 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
3680
3681         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3682         breakpoint tests.
3683
3684 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
3685
3686         * gdb.base/watchpoint.exp: Test "watch -location" with an
3687         innacessible location.
3688
3689 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
3690             Luis Machado  <luisgpm@br.ibm.com>
3691
3692         * gdb.base/maint.exp: Expect "." prefix.
3693         * gdb.base/nodebug.exp: Expect "." Likewise.
3694         * gdb.base/sepsymtab.exp: Expect "." Likewise.
3695         * gdb.base/watchpoint-cond-gone.exp: Likewise.
3696         * gdb.base/watchpoint.exp: Expect a software watch to be created for
3697         POWER server processors.
3698
3699 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
3700             Luis Machado  <luisgpm@br.ibm.com>
3701
3702         * gdb.base/break-entry.exp: convert entry point for
3703         ppc64 and expect leading `.' on ppc64's symbols
3704
3705 2010-11-05  Doug Evans  <dje@google.com>
3706
3707         * gdb.base/help.exp: Update expected output.
3708         * gdb.python/py-param.exp: Delete, contents moved to ...
3709         * gdb.python/py-parameter.exp: ... here.  New file.
3710         Add test for gdb.parameter ("directories").
3711
3712 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
3713
3714         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3715         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3716         * configure: Regenerate.
3717         * gdb.opencl/Makefile.in: New File.
3718         * gdb.opencl/datatypes.exp: Likewise.
3719         * gdb.opencl/datatypes.cl: Likewise.
3720         * gdb.opencl/operators.exp: Likewise.
3721         * gdb.opencl/operators.cl: Likewise.
3722         * gdb.opencl/vec_comps.exp: Likewise.
3723         * gdb.opencl/vec_comps.cl: Likewise.
3724         * gdb.opencl/convs_casts.exp: Likewise.
3725         * gdb.opencl/convs_casts.cl: Likewise.
3726         * lib/opencl.exp: Likewise.
3727         * lib/opencl_hostapp.c: Likewise.
3728         * lib/opencl_kernel.cl: Likewise.
3729         * lib/cl_util.c: Likewise.
3730         * lib/cl_util.c: Likewise.
3731         * gdb.base/default.exp (set language): Add "opencl" to the list of
3732         languages.
3733
3734 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
3735
3736         * gdb.cp/overload.exp: Added test for inheritance overload.
3737         * gdb.cp/overload.cc: Ditto.
3738         * gdb.cp/oranking.exp: Removed releveant kfails.
3739
3740 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3741             Joel Brobecker  <brobecker@adacore.com>
3742
3743         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3744         check test_compiler_info.
3745
3746 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3747
3748         * gdb.base/gnu_vector.exp: Adjust expect messages.
3749
3750 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3751
3752         * gdb.base/gnu_vector.exp: Add unary operator tests.
3753
3754 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3755
3756         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3757
3758 2010-11-02  Doug Evans  <dje@google.com>
3759
3760         * gdb.python/py-pp-maint.c: New file.
3761         * gdb.python/py-pp-maint.exp: New file.
3762         * gdb.python/py-pp-maint.py: New file.
3763
3764 2010-11-02  Tom Tromey  <tromey@redhat.com>
3765
3766         * gdb.base/default.exp: Remove "scheme" from language list.
3767
3768 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3769
3770         Revert:
3771         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3772         * gdb.threads/sigstep-threads.exp: New file.
3773         * gdb.threads/sigstep-threads.c: New file.
3774
3775 2010-10-20  Michael Snyder  <msnyder@vmware.com>
3776
3777         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3778
3779 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3780
3781         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3782         Skip test completely if gdb,no_hardware_watchpoints.
3783
3784 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3785
3786         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3787         strict, but do not check for any particular function name within libc.
3788
3789 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3790
3791         * gdb.cp/smartp.exp: New test.
3792         * gdb.cp/smartp.cc : New test.
3793
3794 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3795
3796         * gdb.cp/converts.exp: Test pointer to bool conversion.
3797         Test pointer to long conversion.
3798         * gdb.cp/oranking.exp: Removed relevant kfail.
3799
3800 2010-10-18  Tom Tromey  <tromey@redhat.com>
3801
3802         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3803         argument to lazy_string.
3804         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3805         (pp_ls.to_string): Use it.
3806         * gdb.python/py-prettyprint.c (main): Move declarations to top.
3807         Add "estring2" local.
3808
3809 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3810
3811         Fix s390x compatibility.
3812         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
3813         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3814
3815 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3816
3817         * gdb.threads/sigstep-threads.exp: New file.
3818         * gdb.threads/sigstep-threads.c: New file.
3819
3820 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3821
3822         * gdb.base/pie-execl.exp: New file.
3823         * gdb.base/pie-execl.c: New file.
3824
3825 2010-10-13  Doug Evans  <dje@google.com>
3826             Jan Kratochvil  <jan.kratochvil@redhat.com>
3827
3828         PR exp/12117
3829         * gdb.cp/ptype-cv-cp.cc: New file.
3830         * gdb.cp/ptype-cv-cp.exp: New file.
3831
3832 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
3833
3834         * gdb.cp/converts.cc: New test program.
3835         * gdb.cp/converts.exp: New test.
3836         * gdb.cp/overload.exp: Added test for void* vs int*.
3837         * gdb.cp/overload.exp: Ditto.
3838         * gdb.cp/oranking.exp: Removed related kfail.
3839
3840 2010-10-13  Doug Evans  <dje@google.com>
3841
3842         * lib/gdb-python.exp (gdb_check_python_config): New function.
3843         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3844         * gdb.python/lib-types.cc: New file.
3845         * gdb.python/lib-types.exp: New file.
3846
3847 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3848
3849         * gdb.python/py-error.exp: New file.
3850         * gdb.python/py-error.py: New file.
3851
3852 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3853
3854         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3855         gdb_test_multiple.
3856
3857 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3858
3859         * gdb.base/break-interp.exp: Use ldlags for linking flags.
3860         * gdb.base/prelink.exp: Likewise.
3861         * gdb.base/solib-nodir.exp: Likewise.
3862         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3863         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3864         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3865
3866 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
3867
3868         * break-interp.exp (test_ld): Use two separate gdb_expect statements
3869         for the "info files" test to avoid timeouts on slow machines.
3870
3871 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3872
3873         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3874         (main): Make openlib dummy call.
3875
3876 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3877
3878         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3879         * break-interp.exp (reach): Move the core body ...
3880         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
3881         (test_ld): Provide always real argument, even to the linker.  Replace
3882         dl_main by _dl_debug_state.
3883
3884 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3885
3886         Fix results of prelinked PIEs on ppc*.
3887         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3888         Accept also DISPLACEMENT "PRESENT".
3889         (main): Replace "ZERO" displacements by "PRESENT".
3890
3891 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
3892
3893         * gdb.cp/oranking.exp: New test.
3894         * gdb.cp/oranking.cc: New test program.
3895
3896 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
3897
3898         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3899         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3900
3901 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3902
3903         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3904         lush, lynx) New constant.
3905         * gdb.base/constvars.exp: Test const array types.
3906         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3907
3908 2010-10-06  Doug Evans  <dje@google.com>
3909
3910         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3911         of syscall staging area.
3912
3913 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3914
3915         * gdb.base/gnu_vector.c: Add variable c4.
3916         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3917         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3918
3919 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
3920
3921         * gdb.arch/altivec-abi.exp: Fix a typo.
3922
3923 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
3924
3925         * lib/mi-support.exp (thread_selected_re): Correct pattern used
3926         to match a thread ID.
3927
3928 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3929
3930         Fix s390x testcase compatibility.
3931         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3932
3933 2010-10-01  Doug Evans  <dje@google.com>
3934
3935         * lib/gdb-python.exp: New file.
3936         * gdb.python/py-block.exp: Use it.
3937         * gdb.python/py-breakpoint.exp: Ditto.
3938         * gdb.python/py-frame.exp: Ditto.
3939         * gdb.python/py-inferior.exp: Ditto.
3940         * gdb.python/py-param.exp: Ditto.
3941         * gdb.python/py-prettyprint.exp: Ditto.
3942         * gdb.python/py-shared.exp: Ditto.
3943         * gdb.python/py-symbol.exp: Ditto.
3944         * gdb.python/py-symtab.exp: Ditto.
3945         * gdb.python/py-type.exp: Ditto.
3946         * gdb.python/py-value.exp: Ditto.
3947         * gdb.python/python.exp: Ditto.
3948
3949 2010-09-30  Tom Tromey  <tromey@redhat.com>
3950
3951         * gdb.base/anon.exp: New file.
3952         * gdb.base/anon.c: New file.
3953
3954 2010-09-30  Tom Tromey  <tromey@redhat.com>
3955
3956         * gdb.base/completion.exp: Test completion through anonymous
3957         union.
3958         * gdb.base/break1.c (struct some_struct): Add anonymous union.
3959
3960 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3961
3962         Fix printing parameters of inlined functions.
3963         * gdb.dwarf2/dw2-inline-param.exp: New file.
3964         * gdb.dwarf2/dw2-inline-param-main.c: New file.
3965         * gdb.dwarf2/dw2-inline-param.S: New file.
3966
3967 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3968
3969         PR corefiles/12071.
3970         * gdb.base/corefile.exp (quit with a process, no question: load core)
3971         (quit with a core file): New tests.
3972
3973 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3974
3975         Fix GDB crash on inferior calls with self-referencing classes.
3976         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3977         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3978         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3979
3980 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3981
3982         Fix lost siginfo_t for inferior calls.
3983         * gdb.base/siginfo-infcall.exp: New file.
3984         * gdb.base/siginfo-infcall.c: New file.
3985
3986 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3987
3988         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3989
3990 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3991
3992         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3993         New test.
3994         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3995
3996 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3997
3998         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3999         type of our const type.
4000
4001 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
4002
4003         * gdb.cp/pr12028.cc: New.
4004         * gdb.cp/pr12028.exp: New.
4005
4006 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
4007
4008         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4009
4010 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
4011             Jan Kratochvil  <jan.kratochvil@redhat.com>
4012
4013         PR mi/11407
4014         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4015         * gdb.mi/dw2-ref-missing-frame-main.c New File.
4016         * gdb.mi/dw2-ref-missing-frame.S New File.
4017         * gdb.mi/dw2-ref-missing-frame.exp New File.
4018
4019 2010-09-14  Tom Tromey  <tromey@redhat.com>
4020
4021         PR symtab/8399:
4022         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
4023
4024 2010-09-14  Tom Tromey  <tromey@redhat.com>
4025
4026         PR exp/11803:
4027         * gdb.threads/tls.exp: Use C++.
4028         (check_thread_local): Use K::another_thread_local.
4029         * gdb.threads/tls.c (class K): New.
4030         (another_thread_local): Now a member of K.
4031         (spin): Update.  No longer K&R C.
4032
4033 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
4034
4035         * gdb.cp/koenig.cc: created class for testing member lookup.
4036         * gdb.cp/koenig.exp: Added test for member lookup.
4037
4038 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4039
4040         Fix false FAILs on sourcetree topdir directory containing "kill".
4041         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4042         source line matching regexp.
4043
4044 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4045
4046         * gdb.python/python.exp (set height 0, collect help from uiout)
4047         (verify help to uiout): New tests.
4048
4049 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4050
4051         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4052         is_lp64_target to check 64bit target.
4053
4054 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4055
4056         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4057         (test_ld) <powerpc64-*>: New.
4058
4059 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4060
4061         * gdb.cp/templates.exp (test_template_args): Allow "struct".
4062
4063 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4064
4065         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4066         (FunctionArg::method): New function.
4067         (empty, arg): New variables.
4068         (main): Call arg.method.
4069         * gdb.cp/templates.exp (test_template_args): New function.
4070         (do_tests): Call it.
4071
4072 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
4073
4074         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4075         of "next" to proceed over pthread_exit call.
4076
4077 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
4078
4079         * gdb.base/maint.exp: Avoid wildcards against potentially very long
4080         "maint print statistics" output to prevent expect timeouts.
4081
4082 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4083
4084         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4085         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4086         (test_float_rejected): ... here.
4087         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4088         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4089         (test_float_rejected): ... here.
4090         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4091         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4092         (test_float_rejected): ... here.
4093         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4094         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4095         (test_float_rejected): ... here.
4096
4097 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
4098
4099         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4100         before disabling hardware watchpoints.
4101         (test_inaccessible_watchpoint): Check that hardware watchpoints
4102         are used.  Test for watchpoints on a constant address.
4103
4104 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4105
4106         * gdb.base/ui-redirect.exp: New file.
4107
4108 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4109             Joel Brobecker  <brobecker@adacore.com>
4110
4111         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4112
4113 2010-08-31  Doug Evans  <dje@google.com>
4114
4115         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4116
4117 2010-08-30  Tom Tromey  <tromey@redhat.com>
4118
4119         PR python/11792:
4120         * gdb.python/py-value.exp (test_subscript_regression): Add
4121         dynamic_type test.
4122
4123 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
4124
4125         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4126         instead of running to main.  Do not test the main function.
4127         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4128         Add new main.
4129
4130 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
4131
4132         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4133         one test.
4134
4135 2010-08-24  Doug Evans  <dje@google.com>
4136
4137         PR symtab/11942
4138         * gdb.dwarf2/dw4-sig-types.cc: New file.
4139         * gdb.dwarf2/dw4-sig-types.h: New file.
4140         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4141         * gdb.dwarf2/dw4-sig-types.exp: New file.
4142
4143 2010-08-23  Tom Tromey  <tromey@redhat.com>
4144
4145         PR python/11145:
4146         * gdb.python/py-value.c (Base, Derived): New types.
4147         (base): New global.
4148         * gdb.python/py-value.exp (test_subscript_regression): Add
4149         dynamic_cast test.
4150
4151 2010-08-23  Tom Tromey  <tromey@redhat.com>
4152
4153         PR python/10676:
4154         * gdb.python/py-type.exp (test_fields): Add tests for type
4155         equality.
4156
4157 2010-08-23  Tom Tromey  <tromey@redhat.com>
4158
4159         PR python/11915:
4160         * gdb.python/py-type.exp (test_fields): Add tests for array.
4161
4162 2010-08-23  Keith Seitz  <keiths@redhat.com>
4163
4164         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4165         have any children. Create a new abbrev for it.
4166         Add missing terminal sequence to .debug_abbrev.
4167
4168 2010-08-20  Keith Seitz  <keiths@redhat.com>
4169
4170         PR symtab/11465:
4171         * gdb.dwarf2/pr11465.exp: New test.
4172         * gdb.dwarf2/pr11465.S: New file.
4173         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4174         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4175
4176 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4177
4178         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4179         registers.  Update data sets with the new v2_double element in the
4180         VSX register union.  Add vector_register3_vr data set for the AltiVec
4181         registers.  Use gdb_test_no_output instead of send_gdb.
4182
4183 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
4184
4185         * gdb.python/py-shared.exp: New file, factored out from
4186         python.exp.
4187         * gdb.python/py-shared.c: New file.
4188         * gdb.python/py-shared-sl.c: New file.
4189         * gdb.python/python-1.c: New file.
4190         * gdb.python/python-sl.c: Delete.
4191         * gdb.python/python.c: Mention python-1.c.
4192         * gdb.python/python.exp: Move shared library tests to
4193         py-shared.exp.
4194         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4195         (MISCELLANEOUS): New.
4196         (clean mostlyclean): Also remove $MISCELLANEOUS.
4197
4198 2010-08-19  Doug Evans  <dje@google.com>
4199
4200         PR exp/11926
4201         * gdb.base/printcmds.exp (test_float_accepted): New function.
4202         Move existing float tests there.  Add tests for floats with suffixes.
4203         (test_float_rejected): New function.
4204         * gdb.java/jv-print.exp (test_float_accepted): New function.
4205         (test_float_rejected): New function.
4206         * gdb.objc/print.exp: New file.
4207         * gdb.pascal/print.exp: New file.
4208         * lib/objc.exp: New file.
4209
4210 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
4211
4212         * gdb.base/default.exp (info set): Avoid full buffer error and force
4213         reading up to final gdb prompt.
4214         (show): Likewise.
4215
4216 2010-08-18  Tom Tromey  <tromey@redhat.com>
4217
4218         PR symtab/11919:
4219         * gdb.base/completion.exp: Add test.
4220
4221 2010-08-18  Doug Evans  <dje@google.com>
4222
4223         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4224         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4225         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4226         Simplify, early exit if runto_main fails.
4227         * gdb.fortran/exprs.exp: load_lib fortran.exp.
4228         (set_lang_fortran): Moved to lib/fortran.exp.
4229         * gdb.fortran/types.exp: load_lib fortran.exp.
4230         (set_lang_fortran): Moved to lib/fortran.exp.
4231         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4232         * gdb.java/jprint.exp (set_lang_java): Ditto.
4233         * gdb.java/jv-exp.exp: load_lib java.exp.
4234         If set_lang_java fails, issue a warning instead of failure to be
4235         consistent with other set_lang_foo uses.
4236         (set_lang_java): Moved to lib/java.exp.
4237         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4238         If set_lang_java fails, issue a warning instead of failure to be
4239         consistent with other set_lang_foo uses.
4240         * gdb.pascal/types.exp: load_lib pascal.exp.
4241         (set_lang_pascal): Moved to lib/pascal.exp.
4242         * lib/fortran.exp: New file.
4243         * lib/java.exp (set_lang_java): New function.
4244         * lib/pascal.exp (set_lang_pascal): New function.
4245
4246 2010-08-18  Yao Qi  <yao@codesourcery.com
4247
4248         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4249         func_nofb_start and func_loopfb_start, so that address of functions
4250         is equal to these labels on Thumb.
4251
4252 2010-08-18  Yao Qi  <yao@codesourcery.com>
4253
4254         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4255         to reflect latest c source file.
4256
4257 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4258
4259         * gdb.cp/infcall-dlopen.exp: New file.
4260         * gdb.cp/infcall-dlopen.cc: New file.
4261         * gdb.cp/infcall-dlopen-lib.cc: New file.
4262
4263 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4264             Pedro Alves  <pedro@codesourcery.com>
4265
4266         PR breakpoints/11371
4267
4268         * gdb.base/watch-cond-infcall.exp: New file.
4269         * gdb.base/watch-cond-infcall.c: New file.
4270
4271 2010-08-16  Tom Tromey  <tromey@redhat.com>
4272
4273         * gdb.base/help.exp: Update.
4274         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4275         watchpoint.
4276         (test_watch_location): New proc.
4277         (test_watchpoint_in_big_blob): Delete watchpoint.
4278         * gdb.base/watchpoint.c (func5): New function.
4279         (main): Call it.
4280
4281 2010-08-16  Doug Evans  <dje@google.com>
4282
4283         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4284
4285 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
4286
4287         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4288         tests.
4289
4290 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
4291
4292         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4293         * gdb.base/gnu_vector.c: New File.
4294         * gdb.base/gnu_vector.exp: Likewise.
4295
4296 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
4297
4298         * gdb.python/python.c: New File.
4299         * gdb.python/python-sl.c: New File.
4300         * gdb.python/python.exp: Test solib_address and decode_line
4301         * functions.
4302
4303 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4304
4305         * gdb.python/python.exp (show height, set height 10)
4306         (verify pagination beforehand, verify pagination beforehand: q)
4307         (gdb.execute does not page, verify pagination afterwards)
4308         (verify pagination afterwards: q): New.
4309
4310 2010-08-02  Doug Evans  <dje@google.com>
4311
4312         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4313         because of an older gcc, change test2
4314         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4315         to unsupported.
4316
4317 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
4318
4319         * gdb.base/break-always.exp: Do not expect full paths to file
4320         names.
4321         * gdb.base/commands.exp: Likewise.
4322
4323 2010-07-30  Doug Evans  <dje@google.com>
4324
4325         * gdb.cp/temargs.exp: For new tests that require newer gccs,
4326         xfail them when run with older gccs.
4327
4328         * lib/gdb.exp (build_executable): Forward "c++" option to
4329         get_compiler_info.
4330
4331         * gdb.python/py-type.exp (test_template): Mark as xfail tests
4332         "python print ttype.template_argument(1)" and
4333         "python print isinstance(ttype.template_argument(1), gdb.Value)"
4334         if using gcc 4.4 or earlier.
4335
4336         * gdb.base/valgrind-db-attach.exp: Use unique test name for
4337         attach-to-debugger handling.
4338
4339 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4340
4341         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4342         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4343         (main): Use copyreloc.
4344         * gdb.base/prelink.exp (split debug of executable)
4345         (.dynbss vs. .bss address shift): New tests.
4346
4347 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
4348
4349         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4350         in gdb_test_multiple.
4351
4352 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
4353
4354         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4355         environment.
4356
4357 2010-07-28  Tom Tromey  <tromey@redhat.com>
4358
4359         PR python/11060:
4360         * gdb.python/py-type.c (Temargs): New template.
4361         (temvar): New variable.
4362         * gdb.python/py-type.exp (test_template): New proc.
4363
4364 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
4365
4366         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4367         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4368
4369 2010-07-28  Tom Tromey  <tromey@redhat.com>
4370
4371         PR c++/9946:
4372         * gdb.cp/temargs.exp: New file.
4373         * gdb.cp/temargs.cc: New file.
4374
4375 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4376
4377         * gdb.base/help.exp (help disassemble): Update the content.
4378
4379 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4380
4381         * gdb.threads/ia64-sigill.exp: New file.
4382         * gdb.threads/ia64-sigill.c: New file.
4383
4384 2010-07-27  Tom Tromey  <tromey@redhat.com>
4385
4386         * gdb.opt/inline-cmds.c (ATTR): New define.
4387         (func1): Use it.
4388         (func2): Likewise.
4389         (func3): Likewise.
4390         (outer_inline1): Likewise.
4391         (outer_inline2): Likewise.
4392         * gdb.opt/inline-bt.c (ATTR): New define.
4393         (func1): Use it.
4394         (func2): Likewise.
4395         * gdb.opt/inline-locals.c (ATTR): New define.
4396         (func1): Use it.
4397         (func2): Likewise.
4398
4399 2010-07-27  Tom Tromey  <tromey@redhat.com>
4400
4401         * gdb.stabs/gdb11479.c (hack): New function.
4402         (test): Use it.
4403         (test2): Use it.
4404         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4405         (int32_search_buf, int64_search_buf): No longer static.
4406         (x): Remove.
4407         * gdb.base/relocate.c (hack): New function.
4408
4409 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
4410
4411         * gdb.python/py-value.exp (test_inferior_function_call): New function.
4412         * gdb.python/py-value.c (func1): New function.
4413         (func2): Likewise.
4414
4415 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
4416
4417         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4418         as not to clash with .data section.
4419
4420 2010-07-26  Jerome Guitton  <guitton@adacore.com>
4421
4422         * gdb.base/code_elim.exp: New file.
4423         * gdb.base/code_elim1.c: New file.
4424         * gdb.base/code_elim2.c: New file.
4425
4426 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
4427
4428         PR symtab/11827
4429
4430         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4431         (some_volatile_enum): New variable.
4432         * gdb.base/printcmds.exp (test_print_enums): New.
4433         <top level>: Call it.
4434
4435 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
4436
4437         * gdb.cp/fpointer.cc: New test.
4438         * gdb.cp/fpointer.exp: New test.
4439
4440 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4441
4442         * gdb.base/solib-nodir.exp: New file.
4443         * lib/gdb.exp (runto): New case for a GDB internal error.
4444
4445 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4446             Ulrich Weigand  <uweigand@de.ibm.com>
4447             Tom Tromey  <tromey@redhat.com>
4448
4449         * gdb.base/charset-malloc.c: New file.
4450         * gdb.base/charset.c (malloc_stub): New prototype.
4451         (main): Call it instead of malloc itself.
4452         * gdb.base/charset.exp: Use only prepare_for_testing.
4453         (binfile): Remove the variable.
4454
4455 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4456
4457         Make core files the process_stratum.
4458         * gdb.base/corefile.exp (run: load core again)
4459         (run: sanity check we see the core file, run: with core)
4460         (run: core file is cleared, attach: load core again)
4461         (attach: sanity check we see the core file, attach: with core)
4462         (attach: core file is cleared): New tests.
4463         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
4464
4465 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
4466
4467         * gdb.arch/altivec-abi.exp: New tests.
4468
4469 2010-07-13  Tom Tromey  <tromey@redhat.com>
4470
4471         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4472         (main): Use it.
4473         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4474
4475 2010-07-13  Tom Tromey  <tromey@redhat.com>
4476
4477         * gdb.base/label.exp: New file.
4478         * gdb.base/label.c: New file.
4479
4480 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
4481             H.J. Lu  <hongjiu.lu@intel.com>
4482
4483         * lib/gdb.exp (is_ilp32_target): New.
4484         (is_lp64_target): Likewise.
4485
4486         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4487         target.
4488         * gdb.arch/amd64-disp-step.exp: Likewise.
4489         * gdb.arch/amd64-dword.exp: Likewise.
4490         * gdb.arch/amd64-i386-address.exp: Likewise.
4491         * gdb.arch/amd64-word.exp: Likewise.
4492
4493         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4494         target.
4495         * gdb.arch/i386-bp_permanent.exp: Likewise.
4496         * gdb.arch/i386-byte.exp: Likewise.
4497         * gdb.arch/i386-disp-step.exp: Likewise.
4498         * gdb.arch/i386-gnu-cfi.exp: Likewise.
4499         * gdb.arch/i386-prologue.exp: Likewise.
4500         * gdb.arch/i386-size-overlap.exp: Likewise.
4501         * gdb.arch/i386-size.exp: Likewise.
4502         * gdb.arch/i386-sse.exp: Likewise.
4503         * gdb.arch/i386-unwind.exp: Likewise.
4504         * gdb.arch/i386-word.exp: Likewise.
4505
4506         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4507         test only when building 64-bit executables.  Do not hard-code
4508         -m64 option.
4509
4510 2010-07-07  Doug Evans  <dje@google.com>
4511
4512         * lib/gdb.exp (gdb_test_list_exact): New function.
4513         * gdb.base/default.exp (show convenience): Call it, add tests for
4514         $_sdata = void, $_thread = 0.
4515
4516 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4517             Joel Brobecker  <brobecker@adacore.com>
4518
4519         Fix re-run of PIE executable, PR shlibs/11776.
4520         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4521         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
4522         and re-"run" of the inferior.
4523
4524 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4525             Joel Brobecker  <brobecker@adacore.com>
4526
4527         Cope with missing /usr/sbin/prelink.
4528         * lib/prelink-support.exp (prelink_no):
4529         <result == 1 && $output is "no such file or directory">: New.
4530         (prelink_yes): Likewise.  Return on failed prelink_no.
4531
4532 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4533             Joel Brobecker  <brobecker@adacore.com>
4534
4535         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
4536         build_executable by build_executable_own_libs.  Replace "prelink -R"
4537         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
4538         change.
4539         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
4540         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
4541         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4542         Replace build_executable by build_executable_own_libs's function
4543         build_executable_own_libs.
4544         (prelinkNO): Create new stub to call prelink_no.
4545         (prelinkYES): Create new stub to call prelink_yes.
4546         (test_attach): Rename calls of copy to file_copy.
4547         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4548         (copy): Move to ...
4549         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
4550         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4551         * gdb.base/prelink.exp: Disable testcase also for is_remote and
4552         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
4553         special flags by gdb_compile_shlib.  Replace second gdb_compile by
4554         build_executable_own_libs.  Replace "prelink -R" execution by a call of
4555         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
4556         a second call of prelink_yes.  Replace restart commands by
4557         clean_restart.
4558         (prelink): Rename to ...
4559         (seen displacement message): ... this test.  Extend its expectation
4560         strictness.
4561
4562 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4563
4564         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4565         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4566         displacement message exactly once.
4567
4568 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4569             Joel Brobecker  <brobecker@adacore.com>
4570
4571         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
4572         its restore after the <$relink_args != ""> loop.  new comment.
4573
4574 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4575             Joel Brobecker  <brobecker@adacore.com>
4576
4577         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4578         code for it.  New variable relink_args.
4579         (prelinkYES): Call prelinkNO.
4580         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
4581         in such case.  Move the core code to ...
4582         (test_attach_gdb): ... a new function.  Send GDB command "file".
4583         Extend expected "Attaching to " string.
4584
4585 2010-07-02  Tom Tromey  <tromey@redhat.com>
4586
4587         * gdb.base/bitops.exp: Remove extraneous "pass".
4588
4589 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
4590
4591         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4592
4593 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4594
4595         * gdb.base/help.exp: Adjust expected output.
4596
4597 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4598
4599         * gdb.base/help.exp: Adjust expected output.
4600
4601 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4602
4603         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4604         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4605         c++/11702.
4606
4607 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4608             Doug Evans  <dje@google.com>
4609
4610         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4611         add .dynamic entry'.
4612
4613 2010-06-29  Doug Evans  <dje@google.com>
4614
4615         Test PR c++/11702.
4616         * gdb.cp/m-static.exp: Add testcase.
4617         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4618
4619 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
4620             Tom Tromey  <tromey@redhat.com>
4621             Thiago Jung Bauermann  <bauerman@br.ibm.com>
4622
4623         * gdb.python/py-inferior.c: New File.
4624         * gdb.python/py-infthread.c: New File.
4625         * gdb.python/py-inferior.exp: New File.
4626         * gdb.python/py-infthread.exp: New File.
4627
4628 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4629
4630         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4631         (ptype ::C::OtherFileClass typedefs): New.
4632         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4633         (C::OtherFileClass::cOtherFileClassVar2): New.
4634         (C::OtherFileClass::cOtherFileClassVar_use): Use also
4635         cOtherFileClassVar2.
4636         (C::cOtherFileType2, C::cOtherFileVar2): New.
4637         (C::cOtherFileVar_use): use also cOtherFileVar2.
4638         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4639
4640 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4641
4642         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4643         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4644         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4645         (print ::C::cOtherFileVar)
4646         (whatis C::OtherFileClass::cOtherFileClassType)
4647         (whatis ::C::OtherFileClass::cOtherFileClassType)
4648         (print C::OtherFileClass::cOtherFileClassVar)
4649         (print ::cOtherFileClassVar)
4650         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4651         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4652         trailing content.
4653         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4654         (C::OtherFileClass::cOtherFileClassVar)
4655         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4656         (C::cOtherFileVar, C::cOtherFileVar_use): New.
4657
4658 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4659
4660         Test PR c++/11703 and PR gdb/1448.
4661         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4662         gdb/1448.
4663
4664 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4665
4666         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4667         (main) <rtti_data>: New.
4668         * gdb.cp/virtbase.exp (print rtti_data): New.
4669
4670 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4671             Joel Brobecker  <brobecker@adacore.com>
4672
4673         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4674
4675 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4676
4677         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4678
4679 2010-06-28  Doug Evans  <dje@google.com>
4680
4681         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4682
4683 2010-06-27  Doug Evans  <dje@google.com>
4684
4685         * gdb.cp/m-static.exp: Update expected test output.
4686
4687 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
4688
4689         * gdb.gdb/selftest.exp: Adjust expected message for
4690         capturing start-up runtime.
4691
4692 2010-06-25  Tom Tromey  <tromey@redhat.com>
4693
4694         PR python/10808:
4695         * gdb.python/python.exp: Add new tests.
4696
4697 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
4698
4699         * gdb.cp/operator.cc: Created an import loop.
4700         * gdb.cp/operator.exp: Added testcase for import loop.
4701
4702 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4703
4704         Test PR python/11407.
4705         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4706         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4707         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4708         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4709         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
4710         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4711         binfile.  Call gdb_compile with clean_restart twice.
4712         (func_nofb print, func_nofb backtrace, func_loopfb print)
4713         (func_loopfb backtrace): New.
4714
4715 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4716
4717         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4718         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4719         by a hand made one.
4720         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
4721         i?86 requirement.  Remove variables srcfile and binfile.  New variable
4722         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
4723
4724 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4725
4726         * gdb.cell/dwarfaddr.exp: New file.
4727         * gdb.cell/dwarfaddr.S: New file.
4728
4729 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4730
4731         Test PR 9436.
4732         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4733
4734 2010-06-24  Hui Zhu  <teawater@gmail.com>
4735
4736         * gdb.base/eval.exp: New file.
4737
4738 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4739
4740         * gdb.cell/fork.exp: New file.
4741         * gdb.cell/fork.c: Likewise.
4742         * gdb.cell/fork-spu.c: Likewise.
4743
4744 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
4745
4746         * lib/gdb.exp (banned_variables_traced): New global variable.
4747         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4748         (gdb_init): Use `trace add variable' instead of obsolete
4749         `trace variable'.
4750
4751 2010-06-21  Doug Evans  <dje@google.com>
4752
4753         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4754
4755 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4756
4757         * gdb.arch/spu-ls.exp: New file.
4758         * gdb.arch/spu-ls.c: Likewise.
4759
4760 2010-06-18  Stan Shebs  <stan@codesourcery.com>
4761
4762         * gdb.threads/thread-specific.exp: Add tests of $_thread.
4763
4764 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4765
4766         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4767         * gdb.base/watch-cond.exp: Likewise.
4768         * gdb.python/py-breakpoint.exp: Likewise.
4769
4770 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
4771
4772         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4773         clean_restart, make sure every test has a distinct message, and
4774         that messages don't include the executable' full path.
4775
4776 2010-06-17  Doug Evans  <dje@google.com>
4777
4778         * gdb.arch/i386-size.exp: Updated expected output for
4779         DISASSEMBLY_OMIT_FNAME.
4780
4781 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4782             Sergio Durigan Junior  <sergiodj@redhat.com>
4783
4784         * gdb.base/watch-notconst.c: New file.
4785         * gdb.base/watch-notconst.S: New file.
4786         * gdb.base/watch-notconst2.c: New file.
4787         * gdb.base/watch-notconst2.S: New file.
4788         * gdb.base/watch-notconst.exp: New file.
4789         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4790         (func4): Add operations on `global_ptr_ptr'.
4791         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4792         routine to test watchpoints created with a constant expression.
4793         (test_inaccessible_watchpoint): Include tests for watchpoints
4794         created with a constant expression.
4795
4796 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
4797
4798         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4799         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4800         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4801         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4802         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4803         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4804         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4805         of `_start'.
4806
4807 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4808
4809         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4810         not supported on the target.
4811         * gdb.mi/mi-nonstop-exit.exp: Likewise.
4812         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4813         * gdb.mi/mi-nsintrall.exp: Likewise.
4814         * gdb.mi/mi-nsmoribund.exp: Likewise.
4815         * gdb.mi/mi-nsthrexec.exp: Likewise.
4816
4817 2010-06-11  Stan Shebs  <stan@codesourcery.com>
4818
4819         * gdb.base/permissions.exp: New file.
4820
4821 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4822
4823         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4824         does not support ELF executable class.
4825
4826 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4827
4828         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4829
4830 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4831
4832         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4833         (runto): Catch "The target does not support running in non-stop mode.".
4834
4835 2010-06-11  Michael Snyder  <msnyder@vmware.com>
4836
4837         * gdb.base/setshow.exp (set language asm): Don't use
4838         gdb_test_no_output, fails on some targets.
4839
4840 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4841
4842         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4843         * gdb.cp/pr9167.exp: Likewise.
4844
4845 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4846
4847         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4848
4849 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4850
4851         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4852
4853 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4854
4855         * gdb.base/charset.c (main): Make sure malloc gets linked in.
4856
4857 2010-06-11  Tom Tromey  <tromey@redhat.com>
4858
4859         PR gdb/9977, PR exp/11636::
4860         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4861         (pieces_test_f6): Update expected output.
4862
4863 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4864
4865         * gdb.base/moribund-step.exp: New.
4866
4867 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4868
4869         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4870         * gdb.ada/boolean_expr.exp:
4871         * gdb.ada/frame_args.exp: Ditto.
4872         * gdb.ada/lang_switch.exp: Ditto.
4873         * gdb.ada/ptype_arith_binop.exp: Ditto.
4874         * gdb.ada/ref_param.exp: Ditto.
4875         * gdb.ada/type_coercion.exp:Ditto.
4876
4877         * gdb.asm/asm-source.exp: Ditto.
4878
4879         * gdb.base/attach.exp: Ditto.
4880         * gdb.base/bitfields2.exp: Ditto.
4881         * gdb.base/call-signal-resume.exp: Ditto.
4882         * gdb.base/callfuncs.exp: Ditto.
4883         * gdb.base/commands.exp: Ditto.
4884         * gdb.base/dbx.exp: Ditto.
4885         * gdb.base/default.exp: Ditto.
4886         * gdb.base/dump.exp: Ditto.
4887         * gdb.base/exprs.exp: Ditto.
4888         * gdb.base/freebpcmd.exp: Ditto.
4889         * gdb.base/interrupt.exp: Ditto.
4890         * gdb.base/list.exp: Ditto.
4891         * gdb.base/long_long.exp: Ditto.
4892         * gdb.base/maint.exp: Ditto.
4893         * gdb.base/ptype.exp: Ditto.
4894         * gdb.base/return.exp: Ditto.
4895         * gdb.base/setshow.exp: Ditto.
4896         * gdb.base/sigbpt.exp: Ditto.
4897         * gdb.base/sigrepeat.exp: Ditto.
4898
4899         * gdb.cp/classes.exp: Ditto.
4900
4901         * gdb.dwarf2/dw2-restore.exp: Ditto.
4902
4903         * gdb.gdb/selftest.exp: Ditto.
4904
4905         * gdb.multi/base.exp: Ditto.
4906         * gdb.multi/bkpt-multi-exec.exp: Ditto.
4907
4908         * gdb.python/py-block.exp: Ditto.
4909         * gdb.python/py-prettyprint.exp: Ditto.
4910         * gdb.python/py-template.exp: Ditto.
4911
4912         * gdb.server/ext-attach.exp: Ditto.
4913         * gdb.server/ext-run.exp: Ditto.
4914         * gdb.server/server-mon.exp: Ditto.
4915
4916         * gdb.threads/fork-thread-pending.exp: Ditto.
4917         * gdb.threads/hand-call-in-threads.exp: Ditto.
4918         * gdb.threads/interrupted-hand-call.exp: Ditto.
4919         * gdb.threads/linux-dp.exp: Ditto.
4920         * gdb.threads/manythreads.exp: Ditto.
4921         * gdb.threads/print-threads.exp: Ditto.
4922         * gdb.threads/pthreads.exp: Ditto.
4923         * gdb.threads/schedlock.exp: Ditto.
4924         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4925         * gdb.threads/threadapply.exp: Ditto.
4926
4927 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4928
4929         * gdb.ada/exec_changed.exp:
4930         Use ".*" instead of "" as wildcard regexp.
4931
4932         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4933         * gdb.base/call-ar-st.exp: Ditto.
4934         * gdb.base/checkpoint.exp: Ditto.
4935         * gdb.base/default.exp: Ditto.
4936         * gdb.base/dump.exp: Ditto.
4937         * gdb.base/ending-run.exp: Ditto.
4938         * gdb.base/fileio.exp: Ditto.
4939         * gdb.base/miscexprs.exp: Ditto.
4940         * gdb.base/pointers.exp: Ditto.
4941         * gdb.base/readline.exp: Ditto.
4942         * gdb.base/reread.exp: Ditto.
4943         * gdb.base/restore.exp: Ditto.
4944         * gdb.base/shlib-call.exp: Ditto.
4945         * gdb.base/valgrind-db-attach.exp: Ditto.
4946         * gdb.base/volatile.exp: Ditto.
4947         * gdb.base/watchpoints.exp: Ditto.
4948
4949         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4950
4951         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4952         * gdb.python/py-value.exp: Ditto.
4953
4954         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4955         * gdb.trace/circ.exp: Ditto.
4956         * gdb.trace/collection.exp: Ditto.
4957         * gdb.trace/packetlen.exp: Ditto.
4958         * gdb.trace/passc-dyn.exp: Ditto.
4959         * gdb.trace/report.exp: Ditto.
4960         * gdb.trace/tfile.exp: Ditto.
4961         * gdb.trace/tfind.exp: Ditto.
4962         * gdb.trace/while-dyn.exp: Ditto.
4963
4964 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4965
4966         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4967
4968 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4969
4970         Test PR 10640.
4971         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4972
4973 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
4974
4975         * gdb.cp/koenig.exp: Test for ADL operators.
4976         * gdb.cp/koenig.cc: Added ADL operators.
4977         * gdb.cp/operator.exp: New test.
4978         * gdb.cp/operator.cc: New test.
4979
4980 2010-06-04  Michael Snyder  <msnyder@vmware.com>
4981
4982         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4983         * gdb.base/pending.exp: Ditto.
4984
4985         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4986
4987 2010-06-04  Doug Evans  <dje@google.com>
4988
4989         * gdb.python/py-prettyprint.exp: Add new test for enabled and
4990         disabled printers.
4991         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4992         (enable_lookup_function): New function.
4993
4994 2010-06-04  Tom Tromey  <tromey@redhat.com>
4995
4996         * gdb.python/py-value.exp (test_value_hash): Don't test equality
4997         of hash and id.
4998
4999 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5000
5001         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5002         newline.
5003         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5004         (empty verbose non-noisy clear, empty verbose noisy clear)
5005         (empty non-verbose noisy clear): Likewise.
5006
5007 2010-06-03  Michael Snyder  <msnyder@vmware.com>
5008
5009         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5010         * gdb.base/display.exp: Ditto.
5011         * gdb.base/find.exp: Ditto.
5012         * gdb.base/ifelse.exp: Ditto.
5013         * gdb.base/multi-forks.exp: Ditto.
5014         * gdb.base/recurse.exp: Ditto.
5015         * gdb.base/setshow.exp: Ditto.
5016         * gdb.base/value-double-free.exp: Ditto.
5017         * gdb.base/watch-vfork.exp: Ditto.
5018         * gdb.base/watch_thread_num.exp: Ditto.
5019         * gdb.base/watchpoint-solib.exp: Ditto.
5020         * gdb.base/watchpoint.exp: Ditto.
5021         * gdb.base/watchpoints.exp: Ditto.
5022
5023         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5024         * gdb.cp/overload.exp: Ditto.
5025         * gdb.cp/virtfunc.exp: Ditto.
5026
5027         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5028
5029         * gdb.reverse/watch-precsave.exp:
5030         Replace gdb_test with gdb_test_no_output.
5031
5032         * gdb.threads/attach-into-signal.exp:
5033         Replace gdb_test with gdb_test_no_output.
5034         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5035         * gdb.threads/watchthreads.exp: Ditto.
5036         * gdb.threads/watchthreads2.exp: Ditto.
5037
5038         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5039         * gdb.trace/tfind.exp: Ditto.
5040
5041 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
5042
5043         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5044         successful test if message is the empty string.
5045
5046 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5047
5048         * gdb.fortran/module.exp (stopped language detection): New test.
5049
5050 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5051
5052         Support DW_TAG_module as separate namespaces.
5053         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5054         gdb.fortran/library-module-lib.f90: New.
5055         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5056         (print i): Remove.
5057         (continue to breakpoint: i-is-1, print var_i value 1)
5058         (continue to breakpoint: i-is-2, print var_i value 2)
5059         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5060         (print var_d, print var_i value 14, ptype modmany, complete `modm)
5061         (complete `modmany, complete `modmany`, complete `modmany`var)
5062         (show language, setting breakpoint at module): New tests.
5063         * gdb.fortran/module.f90 (module mod): Remove.
5064         (module mod1, module mod2, module modmany, subroutine sub1)
5065         (subroutine sub2, program module): New.
5066
5067 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5068
5069         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5070         (print value of rUC, print value of rI, print value of UI): ... here.
5071         * gdb.cp/anon-union.exp (pass): Rename to ...
5072         (print z 2): ... here.
5073
5074 2010-06-02  Michael Snyder  <msnyder@vmware.com>
5075
5076         * gdb.trace/actions.exp: Use gdb_test_no_output.
5077         * gdb.trace/circ.exp: Ditto.
5078         * gdb.trace/packetlen.exp: Ditto.
5079         * gdb.trace/save-trace.exp: Ditto.
5080         * gdb.trace/tracecmd.exp: Ditto.
5081         * gdb.trace/tsv.exp: Ditto.
5082
5083         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5084         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5085         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5086         * gdb.threads/manythreads.exp: Ditto.
5087         * gdb.threads/print-threads.exp: Ditto.
5088         * gdb.threads/pthreads.exp: Ditto.
5089         * gdb.threads/schedlock.exp: Ditto.
5090         * gdb.threads/staticthreads.exp: Ditto.
5091         * gdb.threads/thread-specific.exp: Ditto.
5092         * gdb.threads/thread-unwindonsignal.exp: Ditto.
5093         * gdb.threads/threadapply.exp: Ditto.
5094         * gdb.threads/watchthreads.exp: Ditto.
5095         * gdb.threads/watchthreads2.exp: Ditto.
5096
5097         * gdb.python/py-block.exp: Use gdb_test_no_output.
5098         * gdb.python/py-prettyprint.exp: Ditto.
5099         * gdb.python/py-template.exp: Ditto.
5100         * gdb.python/py-value.exp: Ditto.
5101
5102         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5103         * gdb.reverse/watch-reverse.exp: Ditto.
5104
5105         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5106         * gdb.server/ext-run.exp: Ditto.
5107
5108         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5109         * gdb.dwarf2/dw2-compressed.exp: Ditto.
5110         * gdb.dwarf2/dw2-intercu.exp: Ditto.
5111         * gdb.dwarf2/dw2-intermix.exp: Ditto.
5112         * gdb.dwarf2/dw2-producer.exp: Ditto.
5113         * gdb.dwarf2/mac-fileno.exp: Ditto.
5114
5115         * gdb.gdb/observer.exp: Use gdb_test_no_output.
5116         * gdb.gdb/selftest.exp: Ditto.
5117
5118         * gdb.multi/base.exp: Use gdb_test_no_output.
5119
5120         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5121
5122 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5123
5124         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5125
5126 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
5127
5128         * gdb.cp/class2.exp: Use gdb_test_no_output.
5129         * gdb.cp/classes.exp: Ditto.
5130         * gdb.cp/extern-c.exp: Ditto.
5131         * gdb.cp/inherit.exp: Ditto.
5132         * gdb.cp/maint.exp: Ditto.
5133         * gdb.cp/mb-inline.exp: Ditto.
5134         * gdb.cp/mb-templates.exp: Ditto.
5135         * gdb.cp/method2.exp: Ditto.
5136         * gdb.cp/misc.exp: Ditto.
5137         * gdb.cp/ovldbreak.exp: Ditto.
5138         * gdb.cp/punctuator.exp: Ditto.
5139         * gdb.cp/templates.exp: Ditto.
5140         * gdb.cp/virtbase.exp: Ditto.
5141
5142         * gdb.threads/attach-stopped.exp:
5143         Replace uses of send_gdb / gdb_expect.
5144         * gdb.threads/attachstop-mt.exp:
5145         Replace uses of send_gdb / gdb_expect.
5146         * gdb.threads/gcore-thread.exp:
5147         Replace uses of send_gdb / gdb_expect.
5148         * gdb.threads/hand-call-in-threads.exp:
5149         Replace uses of send_gdb / gdb_expect.
5150         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5151         * gdb.threads/print-threads.exp:
5152         Replace uses of send_gdb / gdb_expect.
5153         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5154         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5155         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5156
5157         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5158         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5159         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5160         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5161         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5162         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5163         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5164         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5165         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5166         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5167         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5168
5169 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5170
5171         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5172
5173 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
5174
5175         * gdb.cp/koenig.exp: Added new test case.
5176         * gdb.cp/koenig.cc: Ditto.
5177
5178 2010-06-01  Michael Snyder  <msnyder@vmware.com>
5179
5180         * gdb.base/arithmet.exp: Use gdb_test_no_output.
5181         * gdb.base/arrayidx.exp: Ditto.
5182         * gdb.base/attach.exp: Ditto.
5183         * gdb.base/auxv.exp: Ditto.
5184         * gdb.base/bigcre.exp: Ditto.
5185         * gdb.base/break-always.exp: Ditto.
5186         * gdb.base/break-interp.exp: Ditto.
5187         * gdb.base/break.exp: Ditto.
5188         * gdb.base/breakpoint-shadow.exp: Ditto.
5189         * gdb.base/call-ar-st.exp: Ditto.
5190         * gdb.base/call-sc.exp: Ditto.
5191         * gdb.base/call-signal-resume.exp: Ditto.
5192         * gdb.base/callfuncs.exp: Ditto.
5193         * gdb.base/catch-syscall.exp: Ditto.
5194         * gdb.base/charset.exp: Ditto.
5195         * gdb.base/code-expr.exp: Ditto.
5196         * gdb.base/commands.exp: Ditto.
5197         * gdb.base/cond-expr.exp: Ditto.
5198         * gdb.base/condbreak.exp: Ditto.
5199         * gdb.base/cursal.exp: Ditto.
5200         * gdb.base/cvexpr.exp: Ditto.
5201         * gdb.base/default.exp: Ditto.
5202         * gdb.base/del.exp: Ditto.
5203         * gdb.base/detach.exp: Ditto.
5204         * gdb.base/display.exp: Ditto.
5205         * gdb.base/ena-dis-br.exp: Ditto.
5206         * gdb.base/eval-skip.exp: Ditto.
5207         * gdb.base/foll-fork.exp: Ditto.
5208         * gdb.base/foll-vfork.exp: Ditto.
5209         * gdb.base/frame-args.exp: Ditto.
5210         * gdb.base/funcargs.exp: Ditto.
5211         * gdb.base/gcore-buffer-overflow.exp: Ditto.
5212         * gdb.base/gdbvars.exp: Ditto.
5213         * gdb.base/help.exp: Ditto.
5214         * gdb.base/ifelse.exp: Ditto.
5215         * gdb.base/included.exp: Ditto.
5216         * gdb.base/list.exp: Ditto.
5217         * gdb.base/macscp.exp: Ditto.
5218         * gdb.base/maint.exp: Ditto.
5219         * gdb.base/multi-fork.exp: Ditto.
5220         * gdb.base/overlays.exp: Ditto.
5221         * gdb.base/page.exp: Ditto.
5222         * gdb.base/pending.exp: Ditto.
5223         * gdb.base/pointers.exp: Ditto.
5224         * gdb.base/pr11022.exp: Ditto.
5225         * gdb.base/prelink.exp: Ditto.
5226         * gdb.base/printcmds.exp: Ditto.
5227         * gdb.base/psymtab.exp: Ditto.
5228         * gdb.base/randomize.exp: Ditto.
5229         * gdb.base/relational.exp: Ditto.
5230         * gdb.base/relocate.exp: Ditto.
5231         * gdb.base/remote.exp: Ditto.
5232         * gdb.base/sepdebug.exp: Ditto.
5233         * gdb.base/set-lang-auto.exp: Ditto.
5234         * gdb.base/setshow.exp: Ditto.
5235         * gdb.base/setvar.exp: Ditto.
5236         * gdb.base/signals.exp: Ditto.
5237         * gdb.base/signull.exp: Ditto.
5238         * gdb.base/sigstep.exp: Ditto.
5239         * gdb.base/sizeof.exp: Ditto.
5240         * gdb.base/solib-disc.exp: Ditto.
5241         * gdb.base/store.exp: Ditto.
5242         * gdb.base/structs.exp: Ditto.
5243         * gdb.base/structs2.exp: Ditto.
5244         * gdb.base/subst.exp: Ditto.
5245         * gdb.base/term.exp: Ditto.
5246         * gdb.base/trace-commands.exp: Ditto.
5247         * gdb.base/unwindonsignal.exp: Ditto.
5248         * gdb.base/valgrind-db-attach.exp: Ditto.
5249         * gdb.base/varargs.exp: Ditto.
5250         * gdb.base/watch-cond.exp: Ditto.
5251         * gdb.base/watch_thread_num.exp: Ditto.
5252         * gdb.base/watchpoint-cond-gone.exp: Ditto.
5253         * gdb.base/watchpoint.exp: Ditto.
5254         * gdb.base/whatis-exp.exp: Ditto.
5255
5256 2010-06-01  Michael Snyder  <msnyder@vmware.com>
5257
5258         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5259         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5260         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5261         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5262         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5263         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5264         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5265         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5266         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5267         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5268         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5269         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5270         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5271         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5272         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5273
5274 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5275
5276         * gdb.base/commands.exp (begin commands on watch): Remove excessive
5277         trailing newline.
5278         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5279         * gdb.java/jmisc.exp (p *args\n): Rename to ...
5280         (p *args): ... here and remove excessive trailing newline.
5281
5282 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
5283
5284         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5285
5286 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5287
5288         Accept the new Linux kernel "t (tracing stop)" string.
5289         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5290         Update comment.
5291         (state_wait) <T (tracing stop)>: New.
5292         (main): Update the state_wait expect string.
5293
5294 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
5295
5296         * limits.c, limits.exp: Delete files.
5297         * Makefile.in (clean mostlyclean): Adjust.
5298         * tracecmd.exp: Adjust.
5299
5300 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5301
5302         * gdb.base/tui-layout.exp: New.
5303
5304 2010-05-28  Michael Snyder  <msnyder@vmware.com>
5305
5306         * gdb.reverse/break-precsave.exp:
5307         Replace uses of send_gdb / gdb_expect.
5308         * gdb.reverse/break-reverse.exp:
5309         Replace uses of send_gdb / gdb_expect.
5310         * gdb.reverse/consecutive-precsave.exp:
5311         Replace uses of send_gdb / gdb_expect.
5312         * gdb.reverse/consecutive-reverse.exp:
5313         Replace uses of send_gdb / gdb_expect.
5314         * gdb.reverse/finish-precsave.exp:
5315         Replace uses of send_gdb / gdb_expect.
5316         * gdb.reverse/finish-reverse.exp:
5317         Replace uses of send_gdb / gdb_expect.
5318         * gdb.reverse/i386-precsave.exp:
5319         Replace uses of send_gdb / gdb_expect.
5320         * gdb.reverse/i386-reverse.exp:
5321         Replace uses of send_gdb / gdb_expect.
5322         * gdb.reverse/i386-sse-reverse.exp:
5323         Replace uses of send_gdb / gdb_expect.
5324         * gdb.reverse/i387-env-reverse.exp:
5325         Replace uses of send_gdb / gdb_expect.
5326         * gdb.reverse/i387-stack-reverse.exp:
5327         Replace uses of send_gdb / gdb_expect.
5328         * gdb.reverse/machinestate-precsave.exp:
5329         Replace uses of send_gdb / gdb_expect.
5330         * gdb.reverse/machinestate.exp:
5331         Replace uses of send_gdb / gdb_expect.
5332         * gdb.reverse/sigall-precsave.exp:
5333         Replace uses of send_gdb / gdb_expect.
5334         * gdb.reverse/sigall-reverse.exp:
5335         Replace uses of send_gdb / gdb_expect.
5336         * gdb.reverse/solib-precsave.exp:
5337         Replace uses of send_gdb / gdb_expect.
5338         * gdb.reverse/solib-reverse.exp:
5339         Replace uses of send_gdb / gdb_expect.
5340         * gdb.reverse/step-precsave.exp:
5341         Replace uses of send_gdb / gdb_expect.
5342         * gdb.reverse/step-reverse.exp:
5343         Replace uses of send_gdb / gdb_expect.
5344         * gdb.reverse/until-precsave.exp:
5345         Replace uses of send_gdb / gdb_expect.
5346         * gdb.reverse/until-reverse.exp:
5347         Replace uses of send_gdb / gdb_expect.
5348         * gdb.reverse/watch-precsave.exp:
5349         Replace uses of send_gdb / gdb_expect.
5350         * gdb.reverse/watch-reverse.exp:
5351         Replace uses of send_gdb / gdb_expect.
5352
5353 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5354
5355         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5356         excessive newline.
5357
5358 2010-05-27  Michael Snyder  <msnyder@vmware.com>
5359
5360         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5361         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5362         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5363         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5364         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5365         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5366         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5367         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5368         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5369         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5370         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5371         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5372         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5373         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5374         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5375         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5376         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5377         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5378         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5379
5380 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5381
5382         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5383         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5384
5385         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5386         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5387         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5388
5389         * gdb.reverse/consecutive-reverse.exp:
5390         Replace uses of send_gdb / gdb_expect.
5391         * gdb.reverse/consecutive-precsave.exp:
5392         Replace uses of send_gdb / gdb_expect.
5393
5394         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5395         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5396         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5397         * gdb.mi/mi-ns-stale-regcache.exp:
5398         Replace uses of send_gdb / gdb_expect.
5399         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5400         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5401         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5402         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5403         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5404         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5405         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5406         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5407         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5408
5409 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5410
5411         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5412
5413         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5414
5415         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5416         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5417         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5418         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5419         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5420         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5421         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5422         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5423         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5424
5425 2010-05-25  Tom Tromey  <tromey@redhat.com>
5426
5427         * gdb.base/macscp.exp: Add missing space after setup_kfail.
5428
5429 2010-05-25  Tom Tromey  <tromey@redhat.com>
5430
5431         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5432         argument order.
5433         * gdb.base/macscp.exp: Fix setup_kfail argument order.
5434         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5435         order.
5436         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5437         order.
5438         * gdb.base/call-sc.exp (setup_kfails): Remove.
5439         (setup_compiler_kfails): Remove.
5440         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5441         argument order.
5442         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5443         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5444         (advancei): Fix setup_kfail argument order.
5445         * gdb.base/radix.exp: Fix setup_kfail argument order.
5446         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5447         order.
5448         * gdb.base/structs.exp (setup_kfails): Remove.
5449         (setup_compiler_kfails): Fix setup_kfail argument order.
5450         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5451         order.
5452         * gdb.java/jmain.exp: Fix setup_kfail argument order.
5453         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5454         setup_kfail argument order.
5455         * gdb.cp/overload.exp: Fix setup_kfail argument order.
5456
5457 2010-05-25  Tom Tromey  <tromey@redhat.com>
5458
5459         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5460
5461 2010-05-25  Michael Snyder  <msnyder@vmware.com>
5462
5463         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5464         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5465         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5466         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5467         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5468         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5469         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5470         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5471         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
5472         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5473         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5474         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5475         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5476         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5477         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5478         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5479         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5480         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5481         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5482         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5483         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5484         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5485         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
5486         * gdb.base/default.exp: Replace send_gdb with gdb_test.
5487         * gdb.base/define.exp: Replace send_gdb with gdb_test.
5488         * gdb.base/display.exp: Replace send_gdb with gdb_test.
5489         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5490         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5491         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5492         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5493         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5494         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5495         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5496         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5497         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5498         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5499         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5500         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5501         * gdb.base/help.exp: Replace send_gdb with gdb_test.
5502         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5503         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5504         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5505         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5506         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5507         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5508         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5509         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5510         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5511
5512 2010-05-25  Doug Evans  <dje@google.com>
5513
5514         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5515         gdb.string_to_argv.
5516
5517 2010-05-21  Tom Tromey  <tromey@redhat.com>
5518
5519         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5520         Call it.
5521         * gdb.dwarf2/pieces.S: Update.
5522         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5523
5524 2010-05-21  Tom Tromey  <tromey@redhat.com>
5525
5526         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5527         Call it.
5528         * gdb.dwarf2/pieces.c (struct C): New.
5529         (f6): New function.
5530         * gdb.dwarf2/pieces.S: Replace.
5531
5532 2010-05-21  Tom Tromey  <tromey@redhat.com>
5533
5534         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5535         Call it.
5536
5537 2010-05-21  Tom Tromey  <tromey@redhat.com>
5538
5539         * gdb.dwarf2.pieces.exp: New file.
5540         * gdb.dwarf2.pieces.S: New file.
5541         * gdb.dwarf2.pieces.c: New file.
5542
5543 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
5544             Joel Brobecker  <brobecker@adacore.com>
5545
5546         * lib/gdb.exp (gdb_test_no_output): New function.
5547         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5548         when testing commands that should produce no output.
5549
5550 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5551
5552         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5553         parameter that we want to watch being a constant.
5554
5555 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5556
5557         * gdb.ada/cond_lang: New testcase.
5558
5559 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5560
5561         * lib/gdb.exp (banned_variables): New variable/constant.
5562         (gdb_init): Add write trace on variables listed in banned_variables.
5563         (gdb_finish): Remove write traces on variables listed in
5564         banned_variables.
5565
5566 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5567
5568         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5569         * gdb.cp/koenig.exp: Likewise.
5570
5571 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
5572
5573         PR python/11482
5574
5575         * gdb.python/py-value.exp (test_value_hash): New function.
5576
5577 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
5578
5579         PR exp/11530.
5580         * gdb.base/gdb11530.c: New file.
5581         * gdb.base/gdb11530.exp: New file.
5582
5583 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5584
5585         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5586         * gdb.dwarf2/dw2-modula2-self-type.S: New.
5587
5588 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
5589
5590         * gdb.cp/koenig.exp: New test.
5591         * gdb.cp/koenig.cc: New test program.
5592
5593 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
5594
5595         Remove the use of prms_id and bug_id throughout the testsuite.
5596
5597 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
5598
5599         PR exp/11349.
5600         * testsuite/gdb.cp/ref-types.exp: Add test to examine
5601         use a reference local variable.
5602
5603 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5604
5605         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5606         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
5607         variable different_dir. Move debugfile into a full directory pathname
5608         under DIFFERENT_DIR.
5609         * lib/gdb.exp (separate_debug_filename): Remove.
5610         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
5611         variable debug_dir and mkdir of it.  Update function comments.
5612
5613 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
5614
5615         PR gdb/11557
5616
5617         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5618         files.
5619
5620 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
5621
5622         * gdb.python/py-param.exp: New File.
5623
5624 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
5625
5626         * gdb.base/default.exp: Fix "set language" test.
5627
5628 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
5629
5630         PR breakpoints/11531.
5631         * gdb.base/gdb11531.c: New file.
5632         * gdb.base/gdb11531.exp: New file.
5633
5634 2010-04-26  Tom Tromey  <tromey@redhat.com>
5635
5636         * gdb.base/completion.exp: Add tests for completion and deprecated
5637         commands.
5638
5639 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5640
5641         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5642         (print /x char_array): Escape curly brackets.
5643
5644 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5645
5646         Fix deadlock on looped list of loaded shared objects.
5647         * gdb.base/solib-corrupted.exp: New.
5648
5649 2010-04-23  Doug Evans  <dje@google.com>
5650
5651         * gdb.python/py-section-script.c: New file.
5652         * gdb.python/py-section-script.exp: New file.
5653         * gdb.python/py-section-script.py: New file.
5654
5655 2010-04-20  Chris Moller  <cmoller@redhat.com>
5656
5657         PR 10179
5658
5659         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5660         * gdb.base/pr10179-a.c:
5661         * gdb.base/pr10179-b.c:
5662         * gdb.base/pr10179.exp: New files.
5663
5664 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5665
5666         Fix crashes on dangling display expressions.
5667         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5668         is SEP.
5669         (lib_flags): Remove the "debug" keyword.
5670         (libsepdebug): New variable for iterating new loop.
5671         (save_pf_prefix): New variable wrapping the loop.
5672         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
5673         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5674
5675 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5676
5677         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5678
5679 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5680
5681         PR stabs/11479.
5682         * gdb.stabs/gdb11479.exp: New file.
5683         * gdb.stabs/gdb11479.c: New file.
5684
5685 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5686
5687         * gdb.base/charset.c (Strin16, String32): New variables.
5688         * gdb.base/charset.exp (gdb_test): Test correct display
5689         of 16 or 32 bit strings.
5690
5691 2010-04-21  Chris Moller  <cmoller@redhat.com>
5692
5693         PR 9167
5694         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5695         * gdb.cp/pr9167.cc: New file.
5696         * gdb.cp/pr9167.exp: New file.
5697
5698
5699 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
5700
5701         PR pascal/11492.
5702         * gdb.pascal/gdb11492.pas: New file.
5703         * gdb.pascal/gdb11492.exp: New file.
5704
5705 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5706
5707         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5708
5709 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5710
5711         * gdb.ada/dyn_loc: New testcase.
5712
5713 2010-04-20  Chris Moller  <cmoller@redhat.com>
5714
5715         PR 10867
5716
5717         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
5718         * gdb.cp/pr10687.cc: New file.
5719         * gdb.cp/pr10687.exp: New file.
5720
5721
5722 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5723             Sergio Durigan Junior  <sergiodj@redhat.com>
5724
5725         * gdb.fortran/logical.exp: New testcase.
5726         * gdb.fortran/logical.f90: New file.
5727
5728 2010-04-19  Doug Evans  <dje@google.com>
5729
5730         * gdb.base/help.exp (help source): Update expected output.
5731
5732 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5733
5734         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5735         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
5736         gdb_exit and return.
5737         (executable): New variable.
5738         (binfile): Use it.
5739
5740 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
5741
5742         PR breakpoints/8554.
5743
5744         * gdb.trace/save-trace.exp: Adjust.
5745
5746 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5747
5748         PR corefiles/11511
5749         * gdb.arch/system-gcore.exp: New.
5750         * gdb.arch/gcore.c: Likewise.
5751
5752 2010-04-15  Doug Evans  <dje@google.com>
5753
5754         * gdb.python/py-progspace.c: New file.
5755         * gdb.python/py-progspace.exp: New file.
5756
5757         * gdb.base/source.exp: Add tests for "source -s".
5758
5759 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
5760
5761         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5762         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5763         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5764         * gdb.python/py-mi.exp: New test for to_string returning None.
5765
5766 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
5767
5768         * gdb.python/py-breakpoint.c: Make result global.
5769
5770 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5771
5772         Fix non-GNU make compatibility.
5773         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5774
5775 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
5776
5777         * gdb.python/py-breakpoint.exp: New File.
5778         * gdb.python/py-breakpoint.C: Ditto.
5779
5780 2010-04-08  Stan Shebs  <stan@codesourcery.com>
5781
5782         * gdb.trace/actions.exp: Clear default-collect.
5783         * gdb.trace/save-trace.exp: Clear default-collect.
5784
5785 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
5786
5787         * gdb.python/py-value: Add null string variable.
5788           (test_lazy_string): Test zero length, NULL address lazy
5789           strings.
5790
5791 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5792
5793         * gdb.arch/i386-avx.c: New.
5794         * gdb.arch/i386-avx.exp: Likewise.
5795
5796         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5797
5798 2010-04-06  Doug Evans  <dje@google.com>
5799
5800         * gdb.base/source-test.gdb: New file.
5801         * gdb.base/source.exp: Test source -v.
5802
5803 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5804
5805         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5806
5807 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
5808
5809         * gdb.stabs/aout.sed: Convert all backslash to double backslash
5810         within one line, unless it is followed by a double quote.
5811         * gdb.stabs/hppa.sed: Idem.
5812         * gdb.stabs/weird.def: Add char and String constants
5813         * gdb.stabs/weird.exp: Check for correct parsing of
5814         char and string constants.
5815         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5816         in .stabs to .stabx substitution.
5817
5818 2010-04-05  Stan Shebs  <stan@codesourcery.com>
5819
5820         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5821         constant global.
5822         * gdb.trace/tfile.exp: Try to print them.
5823
5824 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5825
5826         * gdb.base/completion.exp: Update for new "info watchpoints".
5827         * gdb.base/default.exp: Ditto.
5828         * gdb.base/help.exp: Ditto.
5829         * gdb.base/watchpoint.exp: Ditto.
5830         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5831
5832 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5833
5834         * gdb.trace/tfile.exp: Sharpen tfind test.
5835
5836 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5837
5838         * gdb.base/break-entry.exp: New.
5839
5840 2010-04-02  Hui Zhu  <teawater@gmail.com>
5841             Michael Snyder <msnyder@vmware.com>
5842
5843         * gdb.reverse/i386-sse-reverse.exp: New file.
5844         * gdb.reverse/i386-sse-reverse.c: New file.
5845
5846 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
5847
5848         * gdb.trace/tfind.exp: Adjust expected disassembly output.
5849
5850 2010-04-01  Stan Shebs  <stan@codesourcery.com>
5851
5852         * gdb.trace/actions.exp: Tweak expected output.
5853         * gdb.trace/while-stepping.exp: Tweak expected output.
5854
5855 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
5856
5857         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5858
5859 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5860
5861         * gdb.base/commands.exp: Adjust.
5862         * gdb.cp/extern-c.exp: Adjust.
5863
5864 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5865
5866         * gdb.trace/collection.c (local_test_func): Define a local struct,
5867         and instanciate it.
5868
5869 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5870
5871         * gdb.trace/collection.exp (gdb_collect_args_test)
5872         (gdb_collect_argarray_test): XFAIL the tests that assume the
5873         argarray argument's elements are collected.
5874
5875 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5876
5877         * gdb.dwarf2/dw2-bad-parameter-type.exp,
5878         gdb.dwarf2/dw2-bad-parameter-type.S: New.
5879
5880 2010-03-31  Stan Shebs  <stan@codesourcery.com>
5881
5882         * gdb.trace/save-trace.exp: Test save/restore of default-collect
5883         and tracepoint conditionals.
5884         (gdb_verify_tracepoints): Delete unused return.
5885
5886 2010-03-26  Keith Seitz  <keiths@redhat.com>
5887
5888         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5889         appear in the output before main.
5890         Remove KFAIL for gdb/2215 aka bz 9320.
5891
5892 2010-03-30  Doug Evans  <dje@google.com>
5893
5894         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5895         by dejagnu.
5896         * gdb.arch/amd64-dword.exp: Ditto.
5897
5898         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5899         match.
5900         (break printf): Ditto.
5901
5902 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
5903
5904         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5905         gcc < 4.4.
5906         * gdb.cp/shadow.exp: Ditto.
5907
5908 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5909
5910         * gdb.trace/collection.exp (run_trace_experiment): Make sure
5911         "tstart" is silent.
5912
5913 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5914
5915         * gdb.trace/collection.exp (executable): New.
5916         (binfile): Use it.
5917         (fpreg, spreg, pcreg): New.
5918         (test_register): Use gdb_test_multiple.  Pass /x to print.
5919         (prepare_for_trace_test): New.
5920         (run_trace_experiment): Use "continue", not gdb_run_cmd.
5921         (gdb_collect_args_test, gdb_collect_argstruct_test)
5922         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5923         prepare_for_trace_test.
5924         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
5925         fpreg, spreg and pcreg.
5926         (gdb_collect_expression_test, gdb_collect_globals_test): Use
5927         prepare_for_trace_test.
5928         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
5929         try to detect tracing support here.  Don't set breakpoints at
5930         `begin' or `end' here.
5931         <global scope>: Use clean_restart.  Run to main before checking
5932         for tracing support.  Check for for tracing support here.
5933
5934 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5935
5936         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5937         " as $displacement" to "seen displacement message".
5938
5939 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
5940
5941         * gdb.trace/while-dyn.exp (executable): New variable.
5942         (binfile): Use it.
5943         (test_while_stepping): New function.  Move most tests here.  Call
5944         it once for each of the while-stepping, stepping and ws aliases.
5945
5946 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5947
5948         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5949         that do not provide the tagless_struct type name at all.
5950         (test_print_anon_union): Do not check value of uninitialized
5951         union member.  Do not use cp_test_ptype_class, so we can accept
5952         "long" as well as "long int".
5953
5954 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
5955
5956         * gdb.trace/tfile.c (tohex, bin2hex): New.
5957         (write_error_trace_file): Hexify error description.
5958
5959 2010-03-25  Stan Shebs  <stan@codesourcery.com>
5960
5961         * gdb.trace/tfile.c: Generate an additional trace file, improve
5962         portability.
5963         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5964         files in a better way.
5965
5966 2010-03-25  Keith Seitz  <keiths@redhat.com>
5967
5968         * gdb.java/jprint.exp: XFAIL printing of static class members
5969         because of GCC debuginfo problem.
5970
5971 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5972
5973         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5974
5975 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5976
5977         * gdb.base/completion.exp: Allow long instead of long int.
5978         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5979         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
5980         variable p.
5981         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5982         * gdb.base/pointers.exp: Allow long instead of long int.
5983         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5984         * gdb.base/step-line.exp: Allow a directory before the source file name.
5985
5986 2010-03-24  Tom Tromey  <tromey@redhat.com>
5987
5988         PR breakpoints/9352:
5989         * gdb.base/default.exp: Update.
5990         * gdb.base/commands.exp: Update.
5991         * gdb.cp/extern-c.exp: Test setting commands on multiple
5992         breakpoints at once.
5993
5994 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5995
5996         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5997         if gdb,nosignals.
5998         * gdb.base/watchpoints.c: Do not include unnecessary headers.
5999         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6000         exited".
6001
6002 2010-03-24  Stan Shebs  <stan@codesourcery.com>
6003
6004         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6005
6006 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
6007
6008         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6009         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6010         argument.  Handle "short" and "long".
6011         (Top level): Pass overprototyped output for old_fptr and xptr.
6012
6013 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
6014
6015         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6016         format strings and add casts to avoid compiler warnings.
6017
6018 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
6019
6020         * lib/trace-support.exp (gdb_trace_setactions):
6021         Don't expect whitespace after ">" prompt.
6022         * gdb.trace/actions.exp: Adjust for output changes.
6023         * gdb.trace/while-stepping.exp: Likewise.
6024
6025 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6026
6027         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6028         and r157645).
6029
6030 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6031
6032         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6033         New.
6034
6035 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
6036
6037         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6038         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6039
6040 2010-03-19  Stan Shebs  <stan@codesourcery.com>
6041
6042         * gdb.trace/ax.exp: New file.
6043
6044 2010-03-19  Doug Evans  <dje@google.com>
6045
6046         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6047         output from gcc.
6048
6049         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6050         named /usr/sbin/prelink<foo>.
6051
6052 2010-03-18  Stan Shebs  <stan@codesourcery.com>
6053
6054         * gdb.trace/circ.exp: Test circular-trace-buffer.
6055         * gdb.trace/tfile.exp: Update tstatus test.
6056
6057 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
6058
6059         * gdb.dwarf2/dw2-anonymous-func.S: New file.
6060         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6061
6062 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6063
6064         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6065
6066 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
6067
6068         * gdb.base/default.exp: Adjust the expected output of the finish
6069         and until commands when the inferior is not being run.
6070
6071 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
6072
6073         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6074         * gdb.cp/nsusing.exp: Ditto.
6075
6076 2010-03-15  Tom Tromey  <tromey@redhat.com>
6077
6078         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6079         * gdb.cp/userdef.cc (operator==): New function.
6080         (main): New locals mem1, mem2.
6081
6082 2010-03-15  Jie Zhang  <jie@codesourcery.com>
6083
6084         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6085         Declare and use new loadtimeout variable.
6086
6087 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
6088
6089         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6090         Use gdb_load later.
6091
6092 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
6093
6094         * gdb.base/solib-disc.c (main): Make format of fprintf a string
6095         literal.  Add missing endlines to prints to stderr.
6096
6097 2010-03-12  Tom Tromey  <tromey@redhat.com>
6098
6099         PR c++/9708:
6100         * gdb.cp/m-static.exp: Add regression test.
6101         * gdb.cp/m-static.cc (method): New method.
6102         (main): Call it.
6103
6104 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
6105
6106         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6107         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6108
6109 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
6110
6111         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6112
6113 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
6114
6115         * lib/gdb.exp (skip_stl_tests): New.
6116         (gdb_compile): Symbian needs -ldl.
6117         (shlib_target_file): New.
6118         (shlib_symbol_file): New.
6119         (gdb_load_shlibs): Use shlib_target_file.
6120         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6121         * gdb.cp/exception.exp: Use skip_stl_tests.
6122         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
6123         * gdb.cp/try_catch.exp: Use skip_stl_tests.
6124         * gdb.cp/mb-templates.exp: Ditto.
6125         * gdb.base/commands.exp: Relax regexes.
6126         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
6127         shlib_target_file and shlib_symbol_file.
6128         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
6129         sections.
6130         * gdb.base/ending-run.exp: Accept E32Main for symbian.
6131         * gdb.base/solib-disc.exp: Use
6132         shlib_target_file and shlib_symbol_file.
6133         * gdb.base/unload.exp: Don't skip on symbian.  Use
6134         shlib_target_file and shlib_symbol_file.
6135         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6136
6137 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
6138
6139         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6140         * gdb.trace/report.exp: Adjust for x86 and x86_64.
6141         Issue a tfind end before looking for a tracepoint frame.
6142         * gdb.trace/tfind.exp: Adjust tstatus output.
6143         Adjust disassembly output.
6144         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6145
6146 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6147
6148         * gdb.base/break-interp.exp: Create new displacement parameter value
6149         for the test_ld calls.
6150         (reach): New parameter displacement, verify its content.  New push of
6151         pf_prefix "reach-$func:".  Import global expect_out.
6152         (test_core): New parameter displacement, verify its content.  New push
6153         of pf_prefix "core:".  New command "set verbose on".  Import global
6154         expect_out.
6155         (test_attach): New parameter displacement, verify its content.  New
6156         push of pf_prefix "attach:".  New command "set verbose on".  Import
6157         global expect_out.
6158         (test_ld): New parameter displacement, pass it to the reach, test_core
6159         and test_attach calls and verify its content in the "ld.so exit" test.
6160         * gdb.base/prelink.exp: Remove gdb_exit and final return.
6161         (prelink): Update expected text, use gdb_test.
6162
6163 2010-03-10  Doug Evans  <dje@google.com>
6164
6165         * gdb.base/checkpoint.exp: Fix comment.
6166         Lengthen timeout while doing >600 checkpoints test.
6167         Rename duplicate "kill all one" test to keep test names unique.
6168
6169 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
6170
6171         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6172
6173 2010-03-08  Keith Seitz  <keiths@redhat.com>
6174
6175         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6176         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6177         (dm_type_long): New function.
6178         (dm_type_unsigned_short): New function.
6179         (dm_type_unsigned_long): New function.
6180         (myint): New typedef.
6181         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6182         long, unsigned shor and long, operator char*, and typedef.
6183         (test_lookup_operator_functions): Add operator char* test.
6184         (test_paddr_operator_functions): Likewise.
6185         (test_paddr_overloaded_functions): Use probe values for
6186         short, long, and unsigned short and long.
6187         (test_paddr_hairy_functions): If the demangler probe detected
6188         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6189         demangler.
6190         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6191         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6192         and "print null_pmf".
6193         Add test "ptype a.*pmf".
6194         * gdb.cp/overload.exp: Allow optional "int" to appear with
6195         "short" and "long".
6196         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6197         long expect value for men_overload1arg.
6198         Allow "int" to appear with "short" and "long".
6199         When testing "info break", add argument for main (void).
6200         Also allow "int" to appear with "short" and "long".
6201         Ditto with "unsigned" and "long long".
6202         * gdb.java/jmain.exp: Do not enclose methods names in single
6203         quotes.
6204         * gdb.java/jmisc.exp: Likewise.
6205         * gdb.java/jprint.exp: Likewise.
6206         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6207
6208         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
6209         * gdb.cp/exception.exp (backtrace after first throw)
6210         (backtrace after second throw): Allow a namespace before __cxa_throw.
6211         (backtrace after first catch, backtrace after second catch): Allow
6212         a namespace before __cxa_begin_catch.
6213
6214         * gdb.cp/cpexprs.exp: New file.
6215         * gdb.cp/cpexprs.cc: New file.
6216
6217         From Daniel Jacobowitz  <dan@codesourcery.com>
6218         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
6219         to use string_to_regexp.
6220         (ctor, dtor): New functions.  Use them to match constructor
6221         and destructor function types.
6222         (Top level): Use runto_main.
6223
6224 2010-03-05  Tom Tromey  <tromey@redhat.com>
6225
6226         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6227         gdb.target_charset.
6228         (pp_ns.to_string): Likewise.
6229
6230 2010-03-04  Keith Seitz  <keiths@redhat.com>
6231
6232         * gdb.cp/overload.exp: Test that the filename portion of a linespec
6233         can be quoted.  Test that both the filename and function/line
6234         portions can be quoted at the same time.
6235
6236 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
6237
6238         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6239
6240 2010-03-03  Doug Evans  <dje@google.com>
6241
6242         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6243         libc contains libpthread.
6244
6245         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6246         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6247         of gdb_compile.  Add another pattern to match android backtrace.
6248
6249 2010-03-03  Tom Tromey  <tromey@redhat.com>
6250
6251         PR gdb/11345:
6252         * gdb.base/printcmds.exp (test_printf): Add test.
6253
6254 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
6255
6256         * gdb.arch/amd64-byte.exp: New.
6257         * gdb.arch/amd64-dword.exp: Likewise.
6258         * gdb.arch/amd64-pseudo.c: Likewise.
6259         * gdb.arch/amd64-word.exp: Likewise.
6260         * gdb.arch/i386-byte.exp: Likewise.
6261         * gdb.arch/i386-pseudo.c: Likewise.
6262         * gdb.arch/i386-word.exp: Likewise.
6263
6264 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
6265
6266         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6267         types.  Add structreg, bitfields, and flags registers.
6268         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6269         registers.
6270
6271 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6272
6273         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
6274         (load_description): Set architecture if defined.
6275
6276 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
6277
6278         * gdb.python/py-frame.exp: Add read_var block tests.
6279         * gdb.python/py-frame.c (block): New function.
6280
6281 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6282             Daniel Jacobowitz  <dan@codesourcery.com>
6283
6284         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
6285
6286 2010-02-25  David S. Miller  <davem@davemloft.net>
6287
6288         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6289         fix logic for setting all_syscalls_numbers.
6290
6291 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
6292
6293         * Makefile.in: Add py-block and py-symbol.
6294         * gdb.python/py-symbol.exp: New File.
6295         * gdb.python/py-symtab.exp: New File.
6296         * gdb.python/py-block.exp: New File.
6297         * gdb.python/py-symbol.c: New File.
6298         * gdb.python/py-block.c: New File.
6299
6300 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
6301
6302         PR python/11314
6303         * lib/gdb.exp (skip_python_tests): New function.
6304         * gdb.python/py-cmd.exp: Use skip_python_tests.
6305         * gdb.python/py-frame.exp: Likewise.
6306         * gdb.python/py-function.exp: Likewise.
6307         * gdb.python/py-prettyprint.exp: Likewise.
6308         * gdb.python/py-template.exp: Likewise.
6309         * gdb.python/py-type.exp: Likewise.
6310         * gdb.python/py-value.exp: Likewise.
6311
6312 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
6313
6314         PR9605
6315
6316         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6317
6318 2010-02-19  Tom Tromey  <tromey@redhat.com>
6319
6320         PR c++/8693, PR c++/9496:
6321         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
6322         regression tests.
6323
6324 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6325
6326         Fix compatibility with m68k as.
6327         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
6328         Use only /* comments */.
6329
6330 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6331
6332         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6333         * configure: Regenerate.
6334
6335 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
6336
6337         * gdb.python/py-type.exp: Check for Python support.
6338
6339 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6340
6341         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6342         `regsub' syntax available.
6343
6344 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6345
6346         * gdb.base/shmain.c (main): Remove printf call.
6347         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6348         * gdb.base/unload.c (main): Make format of fprintf a string
6349         literal.  Add missing endlines to prints to stderr.
6350         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6351
6352 2010-02-17  Tom Tromey  <tromey@redhat.com>
6353
6354         * gdb.java/jprint.java (jprint.props): New field.
6355         * gdb.java/jprint.exp (set_lang_java): Add regression test.
6356
6357 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6358
6359         * gdb.base/charset.exp: Don't assume new `regsub' syntax
6360         available.
6361
6362 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6363
6364         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6365         creation to support remote host testing.
6366
6367 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6368
6369         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6370         Recognize "command not found".
6371
6372 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6373
6374         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6375         single-stepping.
6376
6377 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6378
6379         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6380         if arguments are not supported.
6381
6382 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6383
6384         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6385         be const or non-const.
6386
6387 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6388
6389         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6390         mi_send_resuming_command to send -exec-continue.
6391
6392 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6393
6394         * gdb.base/list.exp (test_list_filename_and_function): Add test
6395         with single quotes.
6396         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6397         matching.
6398         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6399         Add KFAIL'd tests for PR gdb/11289.
6400
6401 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6402
6403         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6404
6405 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6406
6407         * gdb.base/comp-dir/subdir/dummy.txt: New file.
6408         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6409         a temporary directory.
6410
6411 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6412
6413         * gdb.base/charset.exp: Use a single regular expression to match
6414         show host-charset and show target-charset output.
6415
6416 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6417
6418         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6419         "Illegal process-id" expect string more exact.
6420         (attach to digits-starting nonsense is prohibited): New.
6421
6422 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6423
6424         * gdb.base/prelink.exp (set verbose on): New.
6425
6426 2010-02-12  Tomas Holmberg  <th@virtutech.com>
6427
6428         * mi-reverse.exp: New file. Test for reverse option to the
6429         following MI commands: exec-continue, exec-finish, exec-next,
6430         exec-step, exec-next-instruction, exec-step-instruction.
6431
6432 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
6433
6434         * gdb.ada/ptype_tagged_param: New testcase.
6435
6436 2010-02-08  Tom Tromey  <tromey@redhat.com>
6437
6438         PR c++/8017:
6439         * gdb.cp/overload.exp: Add tests.
6440         * gdb.cp/overload.cc (struct K): New.
6441         (namespace N): New.
6442         (main): Call new functions.
6443         (K::staticoverload): Define.
6444
6445 2010-02-08  Chris Moller  <moller@mollerware.com>
6446
6447         PR gdb/10728
6448         * gdb.cp/pr10728-x.h: New file.
6449         * gdb.cp/pr10728-x.cc: New file.
6450         * gdb.cp/pr10728-y.cc: New file.
6451         * gdb.cp/pr10728.exp: New file.
6452         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6453
6454 2010-02-08  Chris Moller  <moller@mollerware.com>
6455
6456         PR gdb/9067
6457         * gdb.cp/pr9067.exp:  New
6458         * gdb.cp/pr9067.cc:   New
6459         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6460
6461 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
6462
6463         * lib/gdb.exp (gdb_test_timeout): New global variable.
6464         Set it to timeout if not already set.
6465         (gdb_init): Reset the value of timeout to gdb_test_timeout.
6466
6467 2010-02-05  Doug Evans  <dje@google.com>
6468
6469         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6470         user.
6471
6472 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
6473
6474         PR c++/7935:
6475         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6476
6477 2010-02-04  Tom Tromey  <tromey@redhat.com>
6478
6479         * gdb.cp/virtbase.exp: Make test case names unique.
6480
6481 2010-02-02  Tom Tromey  <tromey@redhat.com>
6482
6483         * gdb.cp/virtbase.exp: Add regression tests.
6484         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6485         (main): Instantiate RHC.
6486
6487 2010-02-02  Tom Tromey  <tromey@redhat.com>
6488
6489         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6490         type-printing change.
6491
6492 2010-02-02  Tom Tromey  <tromey@redhat.com>
6493
6494         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6495         * gdb.cp/virtbase.cc: New file.
6496         * gdb.cp/virtbase.exp: New file.
6497         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6498
6499 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6500
6501         PR libc/11214:
6502         * gdb.threads/current-lwp-dead.c: Include features.h.
6503         (HAS_NOMMU): New.
6504         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6505
6506 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6507
6508         * gdb.base/symbol-without-target_section.exp,
6509         gdb.base/symbol-without-target_section.c: New.
6510
6511 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6512
6513         * gdb.base/bigcore.exp: Reset increased timeout.
6514         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6515
6516 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6517
6518         * gdb.base/gcore.exp (capture_command_output): Use
6519         gdb_test_multiple.
6520
6521 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6522
6523         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6524         * gdb.arch/thumb2-it.exp (test_it_break): New function.
6525         (Top level): Call it.
6526
6527 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6528
6529         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6530
6531 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
6532
6533         * gdb.base/call-strs.exp, gdb.base/default.exp,
6534         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6535         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6536         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6537         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6538         gdb.base/watchpoint-solib.exp: Save and restore timeout.
6539         * gdb.base/ending-run.exp: Correct restore of timeout.
6540         * gdb.base/page.exp: Remove unnecessary timeout setting.
6541
6542 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6543
6544         * gdb.ada/rec_return: New testcase.
6545
6546 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6547
6548         * gdb.ada/call_pn: New testcase.
6549
6550 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6551
6552         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6553         (Top level): Use it to resume.
6554         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6555         the Thumb mode displaced stepping error as unsupported.
6556
6557 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
6558
6559         * gdb.cp/nsusing.exp: Added more tests.
6560         * gdb.cp/nsrecurs.exp: Ditto.
6561         * gdb.cp/nsusing.cc: Added test functions.
6562         * gdb.cp/nsrecurs.cc: Ditto.
6563
6564 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6565
6566         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6567         absolute directory pathnames in gdb.sum file.
6568
6569 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
6570
6571         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6572         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6573
6574 2010-01-26  Tom Tromey  <tromey@redhat.com>
6575
6576         PR exp/7643:
6577         * gdb.base/printcmds.exp (test_print_string_constants): Remove
6578         setup_kfail.
6579
6580 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
6581
6582         * gdb.cp/nsrecurs.exp: New test.
6583         * gdb.cp/nsrecurs.cc: New test program.
6584         * gdb.cp/nsstress.exp: New test.
6585         * gdb.cp/nsstress.cc: New test program.
6586         * gdb.cp/nsdecl.exp: New test.
6587         * gdb.cp/nsdecl.cc: New test program.
6588
6589 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
6590
6591         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6592         imported into file scope.
6593         Marked test as xfail.
6594         * gdb.cp/namespace-using.cc (marker5): New function.
6595         * gdb.cp/shadow.exp: New test.
6596         * gdb.cp/shadow.cc: New test program.
6597         * gdb.cp/nsimport.exp: New test.
6598         * gdb.cp/nsimport.cc: New test program.
6599
6600 2010-01-25  Tom Tromey  <tromey@redhat.com>
6601
6602         PR gdb/11049:
6603         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6604         with "set print null-stop on".
6605
6606 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6607
6608         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6609         Adjust it for DISASSEMBLY_OMIT_FNAME.
6610
6611 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6612
6613         PR symtab/11199:
6614         * gdb.dwarf2/member-ptr-forwardref.exp,
6615         gdb.dwarf2/member-ptr-forwardref.S: New.
6616
6617 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6618
6619         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6620         (thread1_func): Protect thread1_tid with thread1_tid_cond by
6621         thread1_tid_mutex.  Remove gdbstop_mutex handling.
6622         (thread2_func): Protect thread2_tid with thread2_tid_cond by
6623         thread2_tid_mutex.  Remove gdbstop_mutex handling.
6624         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6625         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
6626         pthread_cond_wait conditionalizations by while loops.
6627
6628 2010-01-20  Tom Tromey  <tromey@redhat.com>
6629
6630         PR backtrace/10770:
6631         * gdb.dwarf2/pr10770.exp: New file.
6632         * gdb.dwarf2/pr10770.c: New file.
6633         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6634
6635 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
6636
6637         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6638         that target was removed, and the test always runs native anyway.
6639
6640 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6641
6642         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6643         gdb.base/watchpoint-cond-gone-stripped.c: New.
6644
6645 2010-01-19  Tom Tromey  <tromey@redhat.com>
6646
6647         PR c++/8000:
6648         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
6649         existing tests.
6650         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6651         (main): Use AAA::SomeEnum.
6652
6653 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6654
6655         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6656         (test_ignore_count): Declare line_callme_body global.
6657         (run to breakpoint with ignore count): Use line_callme_body.
6658         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6659         (set line_main_hello, set line_main_return): Reindent.
6660         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6661         New.
6662         (continue to callee4): Use line_callee4_body.
6663         (check *stopped from CLI command): Use line_callee4_next.
6664         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6665         (set line_main_hello, set line_main_return): Reindent.
6666         (set line_callee4_head, set line_callee4_body): New.
6667         (continue to callee4): Use line_callee4_body.
6668
6669 2010-01-18  Tom Tromey  <tromey@redhat.com>
6670
6671         PR c++/9680:
6672         * gdb.cp/casts.cc: Add new classes and variables.
6673         * gdb.cp/casts.exp: Test new operators.
6674
6675 2010-01-18  Tom Tromey  <tromey@redhat.com>
6676             Thiago Jung Bauermann  <bauerman@br.ibm.com>
6677
6678         * gdb.python/source2.py: New file.
6679         * gdb.python/source1: New file.
6680         * gdb.python/python.exp: Test "source" command.
6681
6682 2010-01-15  Stan Shebs  <stan@codesourcery.com>
6683
6684         * gdb.trace/tfile.c: New file.
6685         * gdb.trace/tfile.exp: New file.
6686
6687 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6688
6689         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6690
6691 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6692
6693         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6694
6695 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6696
6697         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6698         (libfunc): New parameter action.  Implement also selectable "sleep".
6699         * gdb.base/break-interp-main.c: Include assert.h.
6700         (libfunc): New parameter action.
6701         (main): New parameters argc and argv.  Assert argc.  Pass argv.
6702         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6703         (test_attach): New proc.
6704         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
6705         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
6706
6707 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6708
6709         * gdb.base/break-interp.exp (test_core): New proc.
6710         (test_ld): Call it.
6711
6712 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6713
6714         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6715         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
6716         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
6717         and gdb_compile_shlib.  Use new -Wl compiler options.
6718         (dl bt, main bt): New tests.
6719
6720 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6721
6722         Support PIEs with no symfile_objfile.
6723         * gdb.base/break-interp.exp: New argument at the test_ld calls.
6724         (test_ld): New parameter trynosym.
6725         (test_ld <$trynosym>): New block.
6726
6727 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6728
6729         * gdb.base/break-interp.exp: New file.
6730
6731 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
6732
6733         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6734         * gdb.python/py-prettyprint.py (pp_ls): New printer.
6735         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6736         test.
6737         * gdb.python/py-prettyprint.c: Define lazystring test structure.
6738         * gdb.python/py-mi.exp: Add lazy string test.
6739
6740 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
6741
6742         * lib/mi-support.exp (mi_check_thread_states): Handle
6743         core number in thread listing.
6744
6745 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
6746
6747         * gdb.base/maint.exp: Adjust the expected output for the
6748         "maint print type" test. Use gdb_test_multiple instead of
6749         gdb_sent/gdb_expect.
6750
6751 2010-01-11  Doug Evans  <dje@google.com>
6752
6753         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6754         from gdbserver_download.  All callers updated.
6755
6756         * gdb.server/ext-run.exp: "info os processes" requires xml support.
6757
6758 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6759
6760         Implement binary numbers parsing.
6761         * gdb.base/printcmds.exp (test_integer_literals_accepted)
6762         (test_integer_literals_rejected): New binary tests.
6763
6764 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6765
6766         * gdb.cell/configure: Regenerate.
6767
6768 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6769
6770         * gdb.base/corefile.exp: Move the core finding block out and call it as
6771         core_find, new variable $corefile, replace corefile by $corefile and
6772         [file tail $corefile] for usage vs. test names resp.
6773         * lib/gdb.exp (core_find): Move it as a new function here.  New
6774         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
6775         $destcore.  Return "" on error.
6776
6777 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6778
6779         Workaround PR binutils/10802.
6780         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6781         (twice).
6782
6783 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
6784
6785         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6786
6787 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
6788
6789         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6790         call, to avoid interruption.
6791
6792 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6793
6794         * gdb.stabs/weird.def (args93): New.
6795
6796 2010-01-07  Doug Evans  <dje@google.com>
6797
6798         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6799
6800 2010-01-07  Tom Tromey  <tromey@redhat.com>
6801
6802         * gdb.base/source.exp: Use correct line number.
6803
6804 2010-01-05  Stan Shebs  <stan@codesourcery.com>
6805
6806         * gdb.trace/tracecmd.exp: Test ftrace.
6807
6808 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6809
6810         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6811
6812 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6813
6814         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6815         "uint_for_mi_testing".
6816
6817 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6818
6819         Test indented comment in file being sourced.
6820         * gdb.base/commands.exp: Test indented comment in file being sourced.
6821
6822 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6823
6824         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6825         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6826         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6827         notice.
6828
6829 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6830
6831         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6832         notice.
6833
6834 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6835
6836         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6837         missing $after_stopped and comma (,) expectation.
6838
6839 2009-12-31  Stan Shebs  <stan@codesourcery.com>
6840
6841         * gdb.trace/actions.exp: Test teval action.
6842
6843 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6844
6845         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6846         (top level): Call test_watchpoint_in_big_blob.
6847         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6848         watchpoints.
6849         (func3): Write to buf.
6850
6851 2009-12-29  Stan Shebs  <stan@codesourcery.com>
6852
6853         * gdb.trace/actions.exp: Test default-collect.
6854
6855 2009-12-28  Stan Shebs  <stan@codesourcery.com>
6856
6857         * gdb.trace/tsv.exp: New file.
6858         * gdb.base/completion.exp: Update ambiguous info output.
6859
6860 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
6861
6862         * gdb.base/find.c (main): Reference search buffers.
6863         * gdb.base/included.c (main): Reference integer.
6864         * gdb.base/ptype.c (charfoo): Declare.
6865         (intfoo): Call charfoo.
6866         * gdb.base/scope0.c (useitp): New function.
6867         (usestatics): Use useitp.
6868         (useit): Add a type for val.
6869         * gdb.base/scope1.c (useit1): Take a pointer argument.
6870         (usestatics1): Update calls to useit1.
6871         * gdb.cp/call-c.cc: Declare foo.
6872         (main): Call foo.
6873         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6874         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6875         (main): Call C::ensureRefs and ensureOtherRefs.
6876         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6877         variables.
6878         (ensureOtherRefs): New function.
6879         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6880         * gdb.cp/templates.cc (main): Call t5i.value.
6881
6882 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6883
6884         Fix compatibility with G++-4.5.
6885         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6886         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6887         (uncaught return): Remove.
6888
6889 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6890             Phil Muldoon  <pmuldoon@redhat.com>
6891
6892         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6893         (bp_location13, bp_location14, bp_location17, bp_location18)
6894         (marker3_proto, marker4_proto): New variables.
6895         (breakpoint info): Update output.
6896         (run until breakpoint at marker3, run until breakpoint at marker4): New
6897         tests.
6898
6899 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6900
6901         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6902         Replace the printf call of Y by provided "y-set-1" label.  New block
6903         for the second shared library.
6904         * gdb.base/unload.exp: Compile also the second library, call
6905         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
6906         (single pending breakpoint info): Rename to ...
6907         (pending breakpoint info before run): ... this extended test.
6908         (libfile2, libname2, libsrcfile2, libsrc2)
6909         (lib_sl2): New variables.
6910         (exec_opts): Set also SHLIB_NAME2.
6911         (pending breakpoint info on first run at shrfunc1)
6912         (pending breakpoint info on second run at shrfunc1)
6913         (pending breakpoint info on second run at shrfunc2)
6914         (print y from libfile, print y from libfile2): New tests.
6915         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6916         * gdb.base/unloadshr2.c: New.
6917
6918 2009-12-22  Hui Zhu  <teawater@gmail.com>
6919
6920         * gdb.reverse/sigall-reverse.exp: Adjust.
6921
6922 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
6923
6924         PR gdb/10884
6925
6926         * gdb.mi/var-cmd.c (do_bitfield_tests): New
6927         (main): Call do_bitfield_tests.
6928         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6929
6930 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
6931
6932         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6933         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6934         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6935         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6936         gdb.modula2/unbounded1.c: Update copyright header.
6937
6938 2009-12-10  Chris Moller  <moller@mollerware.com>
6939
6940         PR gdb/9399
6941         * gdb.cp/virtfunc2.exp: New tests
6942         * gdb.cp/virtfunc2.cc: New tests
6943         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6944
6945 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
6946
6947         * gdb.reverse/i387-env-reverse.c: New file.
6948         * gdb.reverse/i387-env-reverse.exp: New file.
6949         * gdb.reverse/i387-stack-reverse.c: New file.
6950         * gdb.reverse/i387-stack-reverse.exp: New file.
6951
6952 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
6953
6954         * gdb.python/py-type.exp (test_range): New test.
6955
6956 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
6957
6958         PR python/10805
6959
6960         * gdb.python/py-type.exp: New file.
6961         * gdb.python/py-type.c: New file.
6962         * Makefile.in: Add py-type.
6963
6964 2009-12-03  Tom Tromey  <tromey@redhat.com>
6965
6966         * gdb.python/py-value.exp (test_parse_and_eval): New
6967         function.
6968
6969 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6970
6971        PR gdb/11022
6972
6973        * gdb.base/pr11022.exp: New test.
6974        * gdb.base/pr11022.c: New test.
6975
6976 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6977
6978         Fix spurious false FAILs.
6979         * gdb.base/structs.c (chartest): New.
6980         (main): Fill-in chartest.
6981         * gdb.base/structs.exp (anychar_re, first): New.
6982         (start_structs_test): Import global anychar_re and first.
6983         New gdb_test call "set print elements 300; ${testfile}"
6984         (start_structs_test <$first>): New block.
6985         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
6986
6987 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6988
6989         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6990
6991 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6992
6993         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6994         Force $srcfile file.
6995         * gdb.base/foll-fork.c (callee): Comment out the printf call.
6996
6997 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6998
6999         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7000         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7001         * gdb.threads/watchthreads-reorder.exp: Likewise.
7002
7003 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
7004
7005         PR gdb/8704
7006
7007         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7008         "if", and "thread".  Correct matching in the previous test.
7009
7010 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
7011
7012         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7013
7014 2009-11-23  Michael Snyder  <msnyder@vmware.com>
7015
7016         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7017         * gdb.reverse-watch-precsave.exp: Ditto.
7018
7019 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
7020
7021         * gdb.asm/asm-source.exp: Adjust.
7022         * gdb.base/help.exp: Adjust.
7023
7024 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
7025
7026         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7027         (do_syscall_tests_without_xml): Set data-directory to
7028         /the/path/to/nowhere.
7029
7030 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
7031
7032         * gdb.threads/local-watch-wrong-thread.c,
7033         gdb.threads/local-watch-wrong-thread.exp: New files.
7034
7035 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
7036
7037         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7038         assume new `regsub' syntax available.
7039
7040 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7041
7042         * gdb.base/watchpoint-hw-hit-once.exp,
7043         gdb.base/watchpoint-hw-hit-once.c: New.
7044
7045 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7046
7047         * gdb.threads/watchthreads-reorder.exp,
7048         gdb.threads/watchthreads-reorder.c: New.
7049
7050 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
7051
7052         * gdb.xml/tdesc-regs.exp: Use for m68k.
7053
7054 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
7055
7056         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7057
7058 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7059
7060         * lib/gdb.exp (current_target_name): New procedure.
7061         (gdb_wrapper_target): New variable.
7062         (gdb_wrapper_init): Set gdb_wrapper_target.
7063         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7064         wrapper.
7065
7066 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7067
7068         * gdb.base/remote.exp: Delete the slowest load test.
7069         Do not load with fixed packet sizes.
7070
7071 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7072
7073         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7074
7075 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7076
7077         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
7078         srcfile when setting a breakpoint.
7079
7080 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
7081
7082         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7083         macros.
7084
7085 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7086
7087         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7088         to be in memory.
7089         * gdb.base/display.c (force_mem): New.
7090         (do_loops): Use it.  Add breakpoint comments.
7091         (do_vars): Add a breakpoint comment.
7092         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
7093         line numbers.
7094
7095 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
7096
7097         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7098         instead of a bare "run".
7099
7100 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7101
7102         * gdb.python/py-prettyprint.exp: Adjust.
7103
7104 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7105
7106         * lib/cell.exp (skip_cell_tests): Clean up test files before
7107         returning.
7108
7109 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7110
7111         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7112         and the breakpoint menu.  Do not call perror if a prompt is seen.
7113         Consume the following GDB prompt.
7114         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7115         * gdb.cp/namespace.exp: Use gdb_test.
7116         * gdb.cp/templates.exp: Use gdb_test.
7117         (test_template_breakpoints): Use gdb_test_multiple.
7118
7119 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7120
7121         * gdb.base/break1.c (struct some_struct, values): Move earlier.
7122         (marker4): Reference values.
7123
7124 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7125
7126         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7127         is missing.
7128
7129 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7130
7131         * gdb.base/break.c (need_malloc): New.
7132         * gdb.base/constvars.c (main): Reference crass and crisp.
7133         * gdb.base/gdb1821.c (main): Reference bar.
7134         * gdb.cp/gdb1355.cc (main): Reference s1.
7135         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7136         (main): Call them.
7137         * gdb.cp/hang2.cc (dummy2): Define.
7138         * gdb.cp/hang3.cc (dummy3): Define.
7139         * gdb.cp/m-data.cc (main): Reference shadow.
7140
7141 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7142             Nathan Froyd  <froydnj@codesourcery.com>
7143
7144         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7145         remote host.
7146
7147 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
7148
7149         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7150         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7151         * gdb.dwarf2/dw2-compressed.exp: Likewise.
7152         * gdb.dwarf2/dw2-intercu.exp: Likewise.
7153         * gdb.dwarf2/dw2-intermix.exp: Likewise.
7154         * gdb.dwarf2/dw2-producer.exp: Likewise.
7155         * gdb.dwarf2/mac-fileno.exp: Likewise.
7156         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7157         py-prettyprint.py to the remote host.
7158         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7159
7160 2009-11-11  Keith Seitz  <keiths@redhat.com>
7161
7162         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7163         use it instead of "Foo".
7164         * gdb.cp/classes.exp (do_tests): Add a test to access
7165         a method through a typedef'd class name.
7166
7167 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
7168
7169         * gdb.base/long_long.exp: Permit leading zeros on floating-point
7170         exponents.
7171         * gdb.base/pointers.exp: Likewise.
7172         * gdb.cp/ref-types.exp: Likewise.
7173
7174 2009-11-11  Keith Seitz  <keiths@redhat.com>
7175
7176         * gdb.cp/cplusfuncs.cc (class foo): Add operators
7177         new[] and delete[].
7178         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7179         "void".
7180         (probe_demangler): Remove all single-quoting of
7181         method and variable names.
7182         (info_func_regexp): Remove the word "void" from any
7183         occurrence of "(void)".
7184         (print_addr_2): Remove all single-quoting of
7185         method names.
7186         (print_addr_2_kfail): Likewise.
7187         (print_addr): Single-quote C function names before
7188         passing to print_addr_2.
7189         (test_paddr_operator_functions): Remove single-quoting
7190         for method names.
7191         Add tests for operator new[] and operator delete[].
7192
7193 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7194
7195         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7196
7197 2009-11-09  Keith Seitz  <keiths@redhat.com>
7198
7199         * gdb.cp/overload.exp: Add tests for resolving overloaded
7200         methods in expression parsing/evaluation.
7201
7202 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
7203
7204         * lib/gdb.exp (default_gdb_version): Use --version instead of
7205         --command.
7206
7207 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
7208
7209         * lib/gdb.exp (gdb_compile_test): New.
7210         (skip_ada_tests, skip_java_tests): New.
7211         (gdb_compile): Use gdb_compile_test for f77.
7212         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7213         * lib/java.exp (compile_java_from_source): Remove runtests check,
7214         use gdb_compile_test to record result.
7215         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7216         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7217         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7218         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7219         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7220         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7221         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7222         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7223         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7224         adjust gdb_compile invocations.
7225
7226 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7227
7228         * Makefile.in (abs_builddir): New.
7229         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
7230         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7231         `$(abs_builddir)/site.exp'.
7232
7233 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
7234
7235         * config/m68k-emc.exp, lib/emc-support.exp,
7236         gdb.trace/gdb_c_test.c: Delete.
7237         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7238         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7239         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7240         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7241         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7242         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7243         casing for m68k-*-elf.
7244
7245 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
7246
7247         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7248         * gdb.arch/i386-prologue.exp: Likewise.
7249         * gdb.arch/i386-unwind.exp: Likewise.
7250
7251 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7252
7253         * lib/gdb.exp (gdb_expect): Fix timeout typo.
7254
7255 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7256
7257         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7258
7259 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7260
7261         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7262
7263 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7264
7265         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7266
7267 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7268
7269         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7270         * gdb.base/sepdebug2.c: New file.
7271
7272 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7273
7274         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7275         the modified warnings for catch syscall.  Verify if GDB was compiled
7276         with support for lib expat, and choose which tests to run depending
7277         on this.
7278
7279 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
7280
7281         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7282         that composite commands are parsed OK. And also test
7283         that breakpoint commands do work.
7284
7285 2009-10-23  Michael Snyder  <msnyder@vmware.com>
7286
7287         gdb.reverse/consecutive-precsave.exp: Change expect pattern
7288         to allow for new disassembly style.
7289
7290 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7291
7292         * gdb.asm/asm-source.exp: Adjust.
7293
7294 2009-10-22  Michael Snyder  <msnyder@vmware.com>
7295
7296         * gdb.reverse/break-precsave.exp: New test.
7297         * gdb.reverse/consecutive-precsave.exp: Ditto.
7298         * gdb.reverse/finish-precsave.exp: Ditto.
7299         * gdb.reverse/i386-precsave.exp: Ditto.
7300         * gdb.reverse/machinestate-precsave.exp: Ditto.
7301         * gdb.reverse/sigall-precsave.exp: Ditto.
7302         * gdb.reverse/solilb-precsave.exp: Ditto.
7303         * gdb.reverse/step-precsave.exp: Ditto.
7304         * gdb.reverse/until-precsave.exp: Ditto.
7305         * gdb.reverse/watch-precsave.exp: Ditto.
7306
7307 2009-10-22  Michael Snyder  <msnyder@vmware.com>
7308
7309         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7310         for gdb_expect.  Adjust one test's expect strings for the new
7311         format of disassemble.
7312         * gdb.reverse/finish-reverse.exp: Delete 'return'.
7313         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7314         gdb_test_multiple.
7315         * gdb.reverse/step-reverse.exp: Delete 'return'.
7316         * gdb.reverse/until-reverse.exp: Delete blank lines.
7317         * gdb.reverse/watch-reverse.exp: Delete blank lines.
7318
7319 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
7320
7321         * gdb.base/consecutive.exp: Adjust.
7322         * gdb.base/display.exp: Likewise.
7323         * gdb.base/pc-fp.exp: Likewise.
7324         * gdb.base/sigbpt.exp: Likewise.
7325
7326 2009-10-19  Michael Snyder  <msnyder@vmware.com>
7327
7328         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7329         * gdb.reverse/finish-reverse.c: Ditto.
7330         * gdb.reverse/sigall-reverse.c: Ditto.
7331         * gdb.reverse/solib-reverse.c: Ditto.
7332         * gdb.reverse/step-reverse.c: Ditto.
7333         * gdb.reverse/watch-reverse.c: Ditto.
7334
7335 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
7336             Stan Shebs  <stan@codesourcery.com>
7337
7338         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7339         * gdb.base/foll-exec.exp: Adjust to expect a process id before
7340         "Executing new program".
7341         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7342         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
7343         left listed after having been killed.
7344         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7345         * gdb.base/maint.exp: Adjust test.
7346
7347         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7348         * gdb.multi/Makefile.in: New.
7349         * gdb.multi/base.exp: New.
7350         * gdb.multi/goodbye.c: New.
7351         * gdb.multi/hangout.c: New.
7352         * gdb.multi/hello.c: New.
7353         * gdb.multi/bkpt-multi-exec.c: New.
7354         * gdb.multi/bkpt-multi-exec.exp: New.
7355         * gdb.multi/crashme.c: New.
7356
7357 2009-10-13  Tristan Gingold  <gingold@adacore.com>
7358
7359         * gdb.base/sepdebug.exp: Check debug info are found.
7360
7361 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
7362
7363         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7364         bits.
7365
7366 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7367
7368         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7369
7370 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
7371
7372         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
7373         of the comments.
7374
7375 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
7376
7377         * gdb.base/annota1.exp: Remove obsolete match_max increase.
7378         * gdb.base/annota3.exp: Idem.
7379         * gdb.base/maint.exp: Idem.
7380
7381 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
7382
7383         * lib/gdb.exp (default_gdb_init): Set current value of match_max
7384         to default.
7385
7386 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7387
7388         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7389         mingw and cygwin targets.
7390
7391 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7392             Pedro Alves  <pedro@codesourcery.com>
7393
7394         * lib/gdb.exp (gdb_compile): Avoid adding
7395         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7396
7397 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7398
7399         * gdb.base/shr1.c: Use %p in format string.
7400         * gdb.base/unload.c: Avoid warning in fprintf.
7401         * gdb.base/watchpoint-solib.c: Idem.
7402
7403 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7404
7405         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7406         long type.
7407         (test_unlink): Correct printf string.
7408         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7409         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7410
7411 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7412
7413         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7414         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7415         * gdb.arch/ia64-breakpoint-shadow.S: New file.
7416
7417 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7418
7419         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7420         * gdb.objc/nondebug.exp: Likewise.
7421
7422 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7423
7424         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7425         target_info setting.
7426
7427         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7428         that detect new threads during "info threads".
7429
7430 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7431
7432         * gdb.threads/manythreads.c (main): Increase thread stack size
7433         to 2*PTHREAD_STACK_MIN.
7434         * gdb.threads/multi-create.c (main): Likewise.
7435         (create_function): Likewise.
7436
7437 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7438
7439         * gdb.base/dump.exp: Pass difference of pointer types instead
7440         of integer types as offset to restore in intarr3.srec case.
7441
7442 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7443
7444         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7445
7446 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7447
7448         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7449
7450 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7451
7452         New test for two watchpoints, with disabling of
7453         the first inserted.
7454         * testsuite/gdb.base/watchpoints.c: New file.
7455         * testsuite/gdb.base/watchpoints.exp: New file.
7456
7457 2009-09-25  Tom Tromey  <tromey@redhat.com>
7458
7459         * gdb.base/charset.exp: Test utf-16 strings with Python.
7460
7461 2009-09-25  Tom Tromey  <tromey@redhat.com>
7462
7463         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7464         UCS-4.
7465         * gdb.base/charset.c (utf_32_string): Rename.
7466         (init_utf32): Rename.
7467         (main): Update.
7468
7469 2009-09-22  Tom Tromey  <tromey@redhat.com>
7470
7471         * gdb.python/py-function.exp: Add regression tests.
7472
7473 2009-09-21  Keith Seitz  <keiths@redhat.com>
7474
7475         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7476         with invalid operator.
7477
7478 2009-09-21  Keith Seitz  <keiths@redhat.com>
7479
7480         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7481         and destructor using typedef name of class.
7482         * gdb.cp/classes.cc (class Base1): Add a destructor.
7483         (base1): New typedef.
7484         (use_methods): Instanitate an object of type base1.
7485         * gdb.cp/templates.exp (test_template_typedef): New procedure.
7486         (do_tests): Call test_template_typedef.
7487         * gdb.cp/templates.cc (Baz::~Baz): New method.
7488         (intBazOne): New typedef.
7489         (main): Instantiate intBazOne.
7490
7491 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7492
7493         PR python/10633
7494
7495         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7496         Function.
7497         (run_lang_tests): Add print elements test.
7498
7499 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7500
7501         * gdb.python/py-value.exp (test_subscript_regression): New
7502         function.  Test for invalid subscripts.
7503         * gdb.python/py-value.c (main): Add test array, and pointer to it.
7504         (ptr_ref): New function.
7505
7506 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7507
7508         * gdb.base/default.exp: Fix "show convenience".
7509
7510 2009-09-15  Tom Tromey  <tromey@redhat.com>
7511
7512         * lib/mi-support.exp (mi_create_varobj): Update.
7513         (mi_create_floating_varobj): Likewise.
7514         (mi_create_dynamic_varobj): New proc.
7515         (mi_varobj_update): Update.
7516         (mi_varobj_update_with_type_change): Likewise.
7517         (mi_varobj_update_kv_helper): New proc.
7518         (mi_varobj_update_dynamic_helper): Rewrite.
7519         (mi_varobj_update_dynamic): New proc.
7520         (mi_list_varobj_children): Update.
7521         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7522         * gdb.python/python-prettyprint.py (pp_outer): New class.
7523         (pp_nullstr): Likewise.
7524         (lookup_function): Register new printers.
7525         * gdb.python/python-prettyprint.c (struct substruct): New type.
7526         (struct outerstruct): Likewise.
7527         (substruct_test): New function.
7528         (struct nullstr): New type.
7529         (string_1, string_2): New globals.
7530         (main): Add new tests.
7531         * gdb.python/python-mi.exp: Added regression tests.
7532         * gdb.mi/mi2-var-display.exp: Update.
7533         * gdb.mi/mi2-var-cmd.exp: Update.
7534         * gdb.mi/mi2-var-child.exp: Update.
7535         * gdb.mi/mi2-var-block.exp: Update.
7536         * gdb.mi/mi-var-invalidate.exp: Update.
7537         * gdb.mi/mi-var-display.exp: Update.
7538         * gdb.mi/mi-var-cmd.exp: Update.
7539         * gdb.mi/mi-var-child.exp: Update.
7540         * gdb.mi/mi-var-block.exp: Update.
7541         * gdb.mi/mi-break.exp: Update.
7542         * gdb.mi/gdb701.exp: Update.
7543
7544 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7545
7546         * Makefile.in: Inclusion of catch-syscall object.
7547         * gdb.base/catch-syscall.c: New file.
7548         * gdb.base/catch-syscall.exp: New file.
7549
7550 2009-09-12  Michael Snyder  <msnyder@vmware.com>
7551
7552         * gdb.reverse/step-reverse.exp: Explicitly check for targets
7553         that can support reverse debuggnig.
7554
7555 2009-09-11  Tom Tromey  <tromey@redhat.com>
7556
7557         * gdb.dwarf2/valop.S: New file.
7558         * gdb.dwarf2/valop.exp: New file.
7559
7560 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
7561
7562         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7563
7564 2009-09-10  Doug Evans  <dje@google.com>
7565
7566         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7567         Add $gdb_prompt to second breakpoint regexp.
7568
7569 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
7570
7571         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7572         names, add missing ones.
7573         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7574         * gdb.python/py-frame.c: Rename from python-frame.c.
7575         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
7576         testfile name.
7577         * gdb.python/py-function.exp: Rename from python-function.exp.
7578         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
7579         testfile name.
7580         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7581         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7582         Adjust testfile name.
7583         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7584         * gdb.python/py-template.cc: Rename from python-template.cc.
7585         * gdb.python/py-template.exp: Rename from python-template.exp.
7586         Adjust testfile name.
7587         * gdb.python/py-value.c: Rename from python-value.c.
7588         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
7589         testfile name.
7590
7591 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7592
7593         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7594         $bpt2address.
7595         (Second breakpoint address is valid on ia64)
7596         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7597
7598 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
7599
7600         * gdb.base/ending-run.exp: Restrict regular expression matching
7601         line number to require closing brace following.
7602
7603 2009-09-03  Doug Evans  <dje@google.com>
7604
7605         * gdb.base/store.exp (check_set): Fix typo in expected value message.
7606
7607 2009-09-02  Tom Tromey  <tromey@redhat.com>
7608
7609         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7610
7611 2009-09-02  Tom Tromey  <tromey@redhat.com>
7612
7613         * gdb.dwarf2/callframecfa.exp: New file.
7614         * gdb.dwarf2/callframecfa.S: New file.
7615
7616 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7617
7618         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7619         gdb.base/solib-overlap-main.c: New.
7620
7621 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
7622
7623         PR gdb/10565
7624
7625         * gdb.base/bitfields.c (struct container, container): New.
7626         (main): Initialize it and call break5.
7627         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7628
7629 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7630
7631         Support constant DW_AT_data_member_location by GCC PR debug/40659.
7632         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7633
7634 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7635
7636         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7637
7638 2009-08-26  Michael Snyder  <msnyder@vmware.com>
7639
7640         * gdb.base/i386-reverse.c: New file.
7641         * gdb.base/i386-reverse.exp: New file.
7642         * gdb.base/Makefile.in: Add new files to be removed.
7643
7644 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
7645
7646         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7647         environment-pwd for remote host.
7648         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7649
7650 2009-08-24  Keith Seitz  <keiths@redhat.com>
7651
7652         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7653         Add two new C++ completer tests which limit the output to a
7654         given class.
7655
7656 2009-08-24  Michael Snyder  <msnyder@vmware.com>
7657
7658         * gdb.base/del.exp: Fix typo in comment.
7659         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7660
7661 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7662
7663         * configure: Regenerate.
7664         * gdb.hp/configure: Likewise.
7665         * gdb.hp/gdb.aCC/configure: Likewise.
7666         * gdb.hp/gdb.base-hp/configure: Likewise.
7667         * gdb.hp/gdb.compat/configure: Likewise.
7668         * gdb.hp/gdb.defects/configure: Likewise.
7669         * gdb.hp/gdb.objdbg/configure: Likewise.
7670         * gdb.stabs/configure: Likewise.
7671
7672 2009-08-19  Doug Evans  <dje@google.com>
7673
7674         * gdb.base/gdbvars.c: New file.
7675         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7676
7677 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
7678
7679         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7680         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7681
7682 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
7683
7684         * gdb.base/default.exp: Adjust "set language test": it's now an
7685         enum command.  Larger help string moved to "help set language".
7686         * gdb.base/help.exp: Adjust "help set language" expected output,
7687         now lists all known languages.
7688
7689 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
7690
7691         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7692         all frame arguments.
7693         * gdb.arch/altivec-regs.exp: Likewise.
7694
7695 2009-08-07  Tom Tromey  <tromey@redhat.com>
7696
7697         * gdb.base/setshow.exp: Add tests for changes to set language, set
7698         check range, and set check type.
7699
7700 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
7701
7702         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7703         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7704         Call it.
7705
7706 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7707
7708         * configure.ac: Run gdb.cell tests when appropriate.
7709         * configure: Regenerate.
7710         * lib/cell.exp: New file.
7711         * gdb.cell: New directory.
7712         * gdb.cell/configure.ac: New file.
7713         * gdb.cell/configure: New file.
7714         * gdb.cell/Makefile.in: New file.
7715         * gdb.cell/arch.exp: New file.
7716         * gdb.cell/break.c: New file.
7717         * gdb.cell/break.exp: New file.
7718         * gdb.cell/break-spu.c: New file.
7719         * gdb.cell/bt.c: New file.
7720         * gdb.cell/bt2-spu.c: New file.
7721         * gdb.cell/bt-spu.c: New file.
7722         * gdb.cell/bt.exp: New file.
7723         * gdb.cell/coremaker.c: New file.
7724         * gdb.cell/coremaker-spu.c: New file.
7725         * gdb.cell/core.exp: New file.
7726         * gdb.cell/gcore.exp: New file.
7727         * gdb.cell/data.c: New file.
7728         * gdb.cell/data.exp: New file.
7729         * gdb.cell/data-spu.c: New file.
7730         * gdb.cell/ea-cache.exp: New file.
7731         * gdb.cell/ea-cache.c: New file.
7732         * gdb.cell/ea-cache-spu.c: New file.
7733         * gdb.cell/ea-standalone.c: New file.
7734         * gdb.cell/ea-standalone.exp: New file.
7735         * gdb.cell/ea-test.c: New file.
7736         * gdb.cell/ea-test.exp: New file.
7737         * gdb.cell/f-regs.exp: New file.
7738         * gdb.cell/mem-access.c: New file.
7739         * gdb.cell/mem-access.exp: New file.
7740         * gdb.cell/mem-access-spu.c: New file.
7741         * gdb.cell/ptype.exp: New file.
7742         * gdb.cell/registers.exp: New file.
7743         * gdb.cell/size.c: New file.
7744         * gdb.cell/sizeof.exp: New file.
7745         * gdb.cell/size-spu.c: New file.
7746         * gdb.cell/solib.exp: New file.
7747         * gdb.cell/solib-symbol.exp: New file.
7748
7749 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7750
7751         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7752
7753 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
7754
7755         * gdb.base/float.exp: Handle VFP registers.
7756
7757 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7758
7759         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7760         to bring gdb to the beginning of the calling line.
7761
7762         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7763         confusing the i386 epilogue unwinder.
7764
7765 2009-07-14  Stan Shebs  <stan@codesourcery.com>
7766
7767         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7768
7769 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7770
7771         * gdb.reverse/step-reverse.exp (stepi into function call):
7772         Call instruction may not be first instruction in the line.
7773         (reverse stepi from a function call): Used wrong line number.
7774
7775 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7776
7777         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7778
7779 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7780
7781         Fix gdb.base/macscp.exp when using custom inputrc.
7782         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7783         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
7784         env(TERM) set.
7785         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7786         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7787
7788 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7789
7790         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7791         * gdb.base/annota1.exp (thread_test): Import global $testfile.
7792         Change the compilation target to match the testcase name.
7793         * gdb.base/sect-cmd.exp: Change the compilation target to match the
7794         testcase name.
7795         * a2-run.exp: Use for setup prepare_for_testing.  Change the
7796         compilation target to match the testcase name.
7797         * gdb.base/commands.exp: Likewise.
7798         * gdb.base/finish.exp: Likewise.
7799         * gdb.base/float.exp: Likewise.
7800         * gdb.base/info-target.exp: Likewise.
7801         * gdb.base/relational.exp: Likewise.
7802         * gdb.base/term.exp: Likewise.
7803         * gdb.base/until.exp: Likewise.
7804         * gdb.base/volatile.exp: Likewise.
7805         * gdb.base/whatis-exp.exp: Likewise.
7806
7807 2009-07-11  Hui Zhu  <teawater@gmail.com>
7808
7809         * gdb.base/help.exp (disassemble): Update expected help text.
7810
7811 2009-07-09  Tom Tromey  <tromey@redhat.com>
7812
7813         * lib/gdb.exp: Handle TRANSCRIPT.
7814         (remote_spawn, remote_close, send_gdb): New procs.
7815
7816 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
7817
7818         * gdb.python/python-prettyprint.c: Add counted null string
7819         structure.
7820         * gdb.python/python-prettyprint.exp: Print null string. Test for
7821         embedded nulls.
7822         * gdb.python/python-prettyprint.py (pp_ns): New Function.
7823         * gdb.python/python-value.exp (test_value_in_inferior): Add
7824         variable length string fetch tests.
7825         * gdb.python/python-value.c (main): Add strings for string fetch tests.
7826
7827 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7828
7829         * gdb.base/dump.exp (inaccessible memory is reported): New test.
7830
7831 2009-07-07  Tom Tromey  <tromey@redhat.com>
7832
7833         * gdb.base/call-rt-st.exp: Update for change to escape output.
7834         * gdb.base/callfuncs.exp: Likewise.
7835         * gdb.base/charset.exp: Likewise.
7836         * gdb.base/constvars.exp: Likewise.
7837         * gdb.base/long_long.exp: Likewise.
7838         * gdb.base/pointers.exp: Likewise.
7839         * gdb.base/printcmds.exp: Likewise.
7840         * gdb.base/setvar.exp: Likewise.
7841         * gdb.base/store.exp: Likewise.
7842         * gdb.cp/ref-types.exp: Likewise.
7843         * gdb.mi/mi-var-child.exp: Likewise.
7844         * gdb.mi/mi-var-display.exp: Likewise.
7845         * gdb.mi/mi2-var-display.exp: Likewise.
7846         * gdb.base/charset.exp: Test octal escape sequence length.
7847         Update for change to escape output.
7848
7849 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7850
7851         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7852
7853 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
7854
7855         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7856
7857 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7858
7859         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7860         gdbserver increasing $portnum if "Can't bind address" has been seen.
7861
7862 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7863
7864         * gdb.base/ending-run.exp: Add "step out of main" pattern for
7865         mingw32ce.
7866
7867 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7868
7869         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7870         VFP format.
7871
7872 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
7873
7874         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7875         linux.  Adjust to use "inferior", "info inferiors", "detach
7876         inferior" and "kill inferior" instead of "restart", "info fork",
7877         "detach fork" and "delete fork".
7878         * gdb.base/ending-run.exp: Spell out "info".
7879         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7880         the "kill" command.
7881
7882 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7883
7884         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7885         change to prefix TLS offset in hex with 0x.
7886
7887 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7888
7889         * gdb.base/default.exp: Update test case for "x" changes.
7890
7891 2009-07-01  Tristan Gingold  <gingold@adacore.com>
7892
7893         * gdb.base/bigcore.exp: Make darwin untested.
7894
7895 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7896
7897         * gdb.base/completion.exp (directory completion): Create the directory.
7898         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7899         escapeuniquesub.
7900         (directory completion 2): Expect now ${escapeuniquesub}.
7901         (Glob remaining of directory test): Remove one excessive newline.
7902         Expect the real output.
7903
7904 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7905
7906         Fix `make check//%' target after `make check' has been ran.
7907         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
7908         a mkdir call.
7909         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7910         (%/.dir): Remove.
7911
7912 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7913
7914         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7915         the expected result record.
7916
7917 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7918
7919         Remove racy FAILs relying just on the timeouts.
7920         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7921         (annotation_level 2): Remove racy FAILs.
7922
7923 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7924
7925         gdb/10275
7926         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7927
7928 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
7929
7930         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7931
7932 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
7933
7934         * gdb.mi/mi-stack.exp: Testing symbolic options
7935         to -stack-list-locals and -stack-list-arguments.
7936
7937 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7938
7939         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7940
7941 2009-06-29  Tom Tromey  <tromey@redhat.com>
7942
7943         * dg-extract-results.sh: New file.
7944         * Makefile.in (FORCE_PARALLEL): New variable.
7945         (CHECK_TARGET): New conditional variable.
7946         (check): Use CHECK_TARGET.
7947         (DO_RUNTEST): New variable.
7948         (check-single): New target.
7949         (TEST_DIRS): New variable.
7950         (TEST_TARGETS): Likewise.
7951         (check-parallel): New target.
7952         (check-gdb.%): New pattern.
7953         (BASE1_FILES): New variable.
7954         (BASE2_FILES): Likewise.
7955         (check-gdb.base%): New pattern.
7956         (%/.dir): New pattern.
7957         * configure: Rebuild.
7958         * aclocal.m4 (AM_CONDITIONAL): New defun.
7959         * configure.ac: Check whether user is using GNU make.
7960         (GMAKE): New conditional.
7961
7962 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
7963
7964         * gdb.cp/namespace-nested-import.cc: New test.
7965         * gdb.cp/namespace-nested-import.exp: New test.
7966
7967 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
7968
7969         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7970         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7971         * gdb.opt/Makefile.in (EXECUTABLES): Update.
7972         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7973         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7974         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7975         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7976         gdb.opt/inline-markers.c: New files.
7977         * lib/gdb.exp (skip_inline_frame_tests): New function.
7978         (skip_inline_var_tests): New function.
7979
7980 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
7981
7982         * gdb.cp/exception.exp: Don't require $hex before inner frame in
7983         backtrace.
7984
7985 2009-06-27  Michael Snyder  <msnyder@vmware.com>
7986
7987         * gdb.reverse: New directory.
7988         * gdb.reverse/break-reverse.c: New test.
7989         * gdb.reverse/break-reverse.exp: New test.
7990         * gdb.reverse/consecutive-reverse.c: New test.
7991         * gdb.reverse/consecutive-reverse.exp: New test.
7992         * gdb.reverse/finish-reverse.c: New test.
7993         * gdb.reverse/finish-reverse.exp: New test.
7994         * gdb.reverse/machinestate.c: New test.
7995         * gdb.reverse/ms1.c: New test.
7996         * gdb.reverse/machinestate.exp: New test.
7997         * gdb.reverse/Makefile.in: New file.
7998         * gdb.reverse/shr2.c: New test.
7999         * gdb.reverse/solib-reverse.c: New test.
8000         * gdb.reverse/solib-reverse.exp: New test.
8001         * gdb.reverse/step-reverse.c: New test.
8002         * gdb.reverse/step-reverse.exp: New test.
8003         * gdb.reverse/until-reverse.c: New test.
8004         * gdb.reverse/ur1.c: New test.
8005         * gdb.reverse/until-reverse.exp: New test.
8006         * gdb.reverse/watch-reverse.c: New test.
8007         * gdb.reverse/watch-reverse.exp: New test.
8008         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8009         * configure: Regenerate.
8010
8011 2009-06-26  Doug Evans  <dje@google.com>
8012
8013         * gdb.base/psymtab.exp: Turn off pending breakpoints.
8014
8015 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
8016
8017         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8018         windows problem for 'file delete $binfile'.
8019
8020 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
8021
8022         * gdb.cp/namespace-using.exp: New test.
8023         * gdb.cp/namespace-using.cc: New test.
8024
8025 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
8026
8027         * gdb.ada/variant_record_packed_array: New testcase.
8028
8029 2009-06-23  Tom Tromey  <tromey@redhat.com>
8030
8031         * gdb.base/charset.exp (test_combination): Regression test.
8032         * gdb.base/charset.c (my_wchar_t): New typedef.
8033         (myvar): New global.
8034         (main): Set myvar.
8035
8036 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
8037
8038         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8039         target.
8040
8041 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8042
8043         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8044
8045 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8046
8047         * gdb.mi/gdb680.exp: Update test for error message.
8048
8049 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8050
8051         * gdb.base/annota1.exp: Allow multiple occurrences of the
8052         frames-invalid annotation.
8053         * gdb.cp/annota2.exp: Likewise.
8054
8055 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
8056
8057         * gdb.cp/gdb2495.cc: New file.
8058         * gdb.cp/gdb2495.exp: New file.
8059
8060 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8061
8062         Report error on GDB crash during runto.
8063         * lib/gdb.exp (runto <eof>): New.
8064
8065 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
8066
8067         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8068         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8069         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8070         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8071         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8072         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8073         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8074         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8075         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8076         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8077         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8078         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8079         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8080         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8081         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8082         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8083         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8084         gdb.server/server-mon.exp, gdb.server/server-run.exp,
8085         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8086         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8087         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8088         gdb.trace/passcount.exp, gdb.trace/report.exp,
8089         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8090         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8091         gdb.trace/while-stepping.exp: Use a unique name for the compiled
8092         executable.
8093
8094 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
8095
8096         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8097         defined before referencing it.
8098
8099 2009-06-03  Doug Evans  <dje@google.com>
8100
8101         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8102         * gdb.arch/i386-see.c: Ditto.
8103
8104 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
8105
8106         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8107         (check_macro): Return 1 if undefined.
8108         If first test fails, check if macro debug information is available,
8109         and report unsupported test if no macro information is found.
8110
8111 2009-05-29  Doug Evans  <dje@google.com>
8112
8113         * gdb.threads/hand-call-in-threads.exp: New.
8114         * gdb.threads/hand-call-in-threads.c: New.
8115
8116 2009-05-29  Michael Snyder  <msnyder@vmware.com>
8117
8118         * gdb.base/break-always.exp: Change "1" to "on".
8119         Add confirmation check.
8120
8121 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
8122
8123         * gdb.threads/threxit-hop-specific.c: New.
8124         * gdb.threads/threxit-hop-specific.exp: New.
8125         * gdb.threads/thread-execl.c: New.
8126         * gdb.threads/thread-execl.exp: New.
8127
8128 2009-05-27  Tom Tromey  <tromey@redhat.com>
8129             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8130
8131         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8132         (mi_child_regexp): Likewise.
8133         (mi_list_varobj_children_range): Likewise.
8134         (mi_get_features): Likewise.
8135         (mi_list_varobj_children): Rewrite.
8136         * gdb.python/python-mi.exp: New file.
8137
8138 2009-05-27  Tom Tromey  <tromey@redhat.com>
8139             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8140             Phil Muldoon  <pmuldoon@redhat.com>
8141             Paul Pluzhnikov  <ppluzhnikov@google.com>
8142
8143         * gdb.python/python-prettyprint.exp: New file.
8144         * gdb.python/python-prettyprint.c: New file.
8145         * gdb.python/python-prettyprint.py: New file.
8146         * gdb.base/display.exp: print/r is now valid.
8147
8148 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8149             Tom Tromey  <tromey@redhat.com>
8150             Pedro Alves  <pedro@codesourcery.com>
8151             Paul Pluzhnikov  <ppluzhnikov@google.com>
8152
8153         * gdb.python/python-template.exp: New file.
8154         * gdb.python/python-template.cc: New file.
8155         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8156         tests.
8157         * gdb.python/python-value.exp (py_objfile_tests): New proc.
8158         Call it.
8159         (test_value_after_death): New proc.
8160         * gdb.python/python-value.c (PTR): New typedef.
8161         (main): New variable 'x'.
8162
8163 2009-05-27  Tom Tromey  <tromey@redhat.com>
8164
8165         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8166         tests.
8167         * gdb.python/python-value.exp (py_objfile_tests): New proc.
8168         Call it.
8169
8170 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
8171
8172         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8173
8174 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
8175
8176         * gdb.threads/fork-thread-pending.c: New.
8177         * gdb.threads/fork-thread-pending.exp: New.
8178
8179 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8180
8181         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8182         * gdb.dwarf2/dw2-strp.S (a_string2): New.
8183
8184 2009-05-18  Jon Beniston  <jon@beniston.com>
8185
8186         * gdb.asm/asm-source.exp: Add lm32 target.
8187
8188 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
8189
8190         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
8191         `gdb_get_line_number'.  Call `callee' in both parent and child.
8192         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8193         `gdb_get_line_number' instead of hardcoding line numbers.
8194         (catch_fork_unpatch_child): New procedure to test detaching
8195         breakpoints from child fork.
8196         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8197         hardcoding line numbers.
8198         (do_fork_tests): Run `catch_fork_unpatch_child'.
8199
8200 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
8201
8202         * gdb.mi/mi-cmd-var.exp: Check that when varobj
8203         of structure type enters or leaves the scope, it
8204         is reported by -var-update.
8205
8206 2009-05-11  Doug Evans  <dje@sebabeach.org>
8207
8208         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
8209         * gdb.threads/pending-step.c (main): Fix off-by-one error.
8210         * gdb.threads/schedlock.c (main): Fix off-by-one error.
8211
8212 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8213
8214         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8215
8216 2009-04-30  Doug Evans  <dje@google.com>
8217
8218         * gdb.threads/watchthreads2.exp: New testcase.
8219         * gdb.threads/watchthreads2.c: New testcase.
8220
8221 2009-04-29  Doug Evans  <dje@google.com>
8222
8223         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8224         * gdb.cp/mb-ctor.cc: Ditto.
8225         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8226         * gdb.cp/mb-inline.h (multi_line_foo): New function.
8227         * gdb.cp/mb-inline1.cc: Call it.
8228         * gdb.cp/mb-inline2.cc: Ditto.
8229         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8230         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8231
8232 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8233
8234         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8235         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
8236         Replace all uses of `decimal' by `nonzero'.
8237         (info macro FROM_COMMANDLINE): New test.
8238
8239 2009-04-27  Tom Tromey  <tromey@redhat.com>
8240
8241         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8242
8243 2009-04-27  Doug Evans  <dje@google.com>
8244
8245         * gdb.threads/watchthreads.c (main): Initialize args before starting
8246         the threads.  Plus formatting cleanup.
8247         * gdb.threads/watchthreads.exp: Avoid errant failures due to
8248         biased scheduling of one thread.
8249
8250 2009-04-27  Jerome Guitton  <guitton@adacore.com>
8251
8252         * gdb.cp/templates.cc (GetMax): New template.
8253         (main): Declare two instances of GetMax.
8254         * gdb.cp/templates.exp: Add new test.
8255
8256 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8257
8258         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8259
8260 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
8261
8262         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8263
8264 2009-04-15  Tom Tromey  <tromey@redhat.com>
8265
8266         * gdb.base/charset.exp: Add regression test.
8267
8268 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
8269
8270         * gdb.base/exe-lock.exp: New testcase.
8271
8272 2009-04-13  Tom Tromey  <tromey@redhat.com>
8273
8274         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8275         operator on Frame.
8276
8277 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8278
8279         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8280         * gdb.server/ext-attach.exp: Likewise.
8281
8282 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
8283
8284         Eliminate some sleep usage.
8285
8286         * gdb.mi/basics.c (do_nothing): New.
8287         (main): Use do_nothing instead of printf, so that
8288         not to introduce race condition between output of
8289         inferiour and output of gdb. Do not use sleep as it
8290         is not generally available on embedded targets.
8291
8292 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8293
8294         * gdb.server/ext-attach.exp: Expect an optional process id after
8295         "Detached from remote process".
8296
8297 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8298
8299         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8300         gdb.dwarf2/dw2-unresolved.exp: New.
8301
8302 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8303
8304         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
8305         mi_run_to_main.
8306
8307 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8308
8309         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
8310         mi_run_to_main.  Skip thread exit test on remote targets.
8311         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
8312         mi_run_to_main.
8313         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
8314         mi_run_to_main.
8315         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8316         when expecting ^connected.  Detect when the target doesn't support
8317         non-stop mode.
8318         (mi_run_cmd): Detect if non-stop mode was requested by isn't
8319         supported.  Return -1 on error, 0 on success.
8320         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8321         (mi_runto): Return mi_runto_helper's result explicitly.
8322
8323 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
8324
8325         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8326
8327 2009-04-01  Tom Tromey  <tromey@redhat.com>
8328
8329         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8330         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8331         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8332         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8333
8334 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
8335             Jan Kratochvil  <jan.kratochvil@redhat.com>
8336
8337         PR gdb/931
8338         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8339         output.
8340         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
8341         for gdb/931.
8342         * dw2-strp.S (DW_AT_language): Change to C++.
8343         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8344
8345 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
8346
8347         * gdb.ada/tasks: New testcase.
8348
8349 2009-03-30  Stan Shebs  <stan@codesourcery.com>
8350
8351         * gdb.trace/actions.exp: Update to match new info trace format.
8352         * gdb.trace/deltrace.exp: Ditto.
8353         * gdb.trace/infotrace.exp: Ditto.
8354         * gdb.trace/passcount.exp: Ditto.
8355         * gdb.trace/save-trace.exp: Ditto.
8356         * gdb.trace/while-stepping.exp: Ditto.
8357         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8358
8359 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8360
8361         * gdb.python/python-frame.c: New file.
8362         * gdb.python/python-frame.exp: New file.
8363
8364 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8365
8366         * gdb.python/python-value.exp: Add tests for the address
8367         attribute.
8368
8369 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
8370
8371         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8372
8373 2009-03-26  Doug Evans  <dje@google.com>
8374
8375         * gdb.mi/mi-nonstop-exit.exp: New file.
8376         * gdb.mi/non-stop-exit.c: New file.
8377
8378 2009-03-26  Tom Tromey  <tromey@redhat.com>
8379
8380         Update for change to prologue skipping:
8381         * gdb.mi/mi2-simplerun.exp: Update.
8382         * gdb.mi/mi2-break.exp: Update.
8383         * gdb.mi/mi-simplerun.exp: Update.
8384         * gdb.mi/mi-break.exp: Update.
8385         * gdb.base/ending-run.exp: Update.
8386
8387 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8388
8389         * gdb.python/python-value.exp (test_value_in_inferior): Test
8390         gdb.Value.is_optimized_out attribute.
8391
8392 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8393
8394         * gdb.dwarf2/dw2-noloc-main.c: New file.
8395         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8396         (.text): Remove.
8397         (.data): New.
8398         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8399         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8400         (DW_TAG_subprogram func_cu1, noloc): Remove.
8401         (main): New.
8402         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8403         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
8404         (file_symbols): New procedure.
8405
8406 2009-03-25  Tom Tromey  <tromey@redhat.com>
8407
8408         * gdb.base/charset.exp (valid_target_charset): New proc.
8409         Use it to skip tests on invalid charsets.
8410
8411 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
8412
8413         * gdb.base/completion.exp: Add a test for directory completion.
8414
8415 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8416
8417         Fix a racy FAIL.
8418         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8419         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8420
8421 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8422
8423         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8424         * gdb.python/python-function.exp: Add test for function returning
8425         a GDB value.
8426
8427 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8428
8429         * gdb.python/python-function.exp: New file.
8430
8431 2009-03-20  Tom Tromey  <tromey@redhat.com>
8432
8433         * gdb.base/store.exp: Update for change to escape output.
8434         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8435         to escape output.
8436         * gdb.base/pointers.exp: Update for change to escape output.
8437         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8438         to escape output.
8439         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8440         escape output.
8441         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8442         to escape output.
8443         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8444         escape output.
8445         * gdb.base/setvar.exp: Update for change to escape output.
8446         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8447         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8448         to escape output.
8449         (test_print_string_constants): Likewise.
8450         * gdb.base/charset.exp (valid_host_charset): Check size of
8451         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
8452         cases.  Handle "auto"-related output.
8453         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8454         (uvar, Uvar): New globals.
8455
8456 2009-03-19  Jerome Guitton  <guitton@adacore.com>
8457
8458         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8459         deltas.
8460         * gdb.ada/fixed_points.exp: Ditto.
8461
8462 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
8463
8464         * return-nodebug.c: Don't include stdio.h.
8465         (init): Delete.
8466         (func): Delete definition and provide extern declaration.
8467         (t): New.
8468         (main): Don't call printf.  Call func and store its result in t.
8469         * return-nodebug1.c: New.
8470         * return-nodebug.exp: Don't expect stdio output.  Instead, print
8471         the global variable t.  Drop printf formatters and cast types from
8472         foreach loop.  Don't use prepare_for_testing.  Compile
8473         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
8474         define FORMAT or CAST.
8475
8476 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8477
8478         * gdb.base/solib-display.exp: Disable test for remote targers.
8479
8480 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8481
8482         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8483
8484 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8485
8486         Fix a racy FAIL.
8487         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8488         code from `follow parent, print pids'.
8489         (`follow child, print pids', `follow parent, print pids'): Call it.
8490         Replace `gdb_test "break..."' by gdb_breakpoint.
8491
8492 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
8493
8494         * gdb.mi/mi-cli.exp: Adjust for output difference in
8495         sync and async modes.
8496
8497 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8498
8499         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8500         that was checked in by mistake. Remove loading of ada.exp, since
8501         this is not necessary in this case.
8502
8503 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8504
8505         * gdb.ada/ptype_arith_binop.exp: New testcase.
8506
8507 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8508
8509         * gdb.ada/mod_from_name: New testcase.
8510
8511 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8512
8513         * gdb.ada/tick_last_segv: New testcase.
8514
8515 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8516
8517         * gdb.mi/mi-cli.exp: Remove debug print.
8518
8519 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8520
8521         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8522         include the token in ^running and frame info in *stopped.
8523
8524 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8525
8526         * solib-display.exp: New file.
8527         * solib-display-main.c: New file.
8528         * solib-display-lib.c: New file.
8529
8530 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
8531
8532         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8533
8534 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8535
8536         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8537         (list_and_check_macro): Use more specific test name.
8538         (next to definition): Make the test names unique.
8539
8540 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
8541
8542         * gdb.pascal/floats.exp: Accept approximate results everywhere.
8543
8544 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8545
8546         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8547         notifications.
8548         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8549         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8550         * lib/mi-support.exp (library_loaded_re): New.
8551         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8552
8553 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8554
8555         * gdb.gdb/observer.exp: Use test_notification observer, not
8556         normal_stop, everywhere.
8557         (test_normal_stop_notifications): Rename to...
8558         (test_notifications): ...this.
8559         (test_observer_normal_stop): Rename to...
8560         (test_observer): ...this.
8561
8562 2009-02-16  Doug Evans  <dje@google.com>
8563
8564         * gdb.arch/amd64-disp-step.S (test_int3): New test.
8565         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8566         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8567         (test_prefixed_syscall,test_int3): New tests.
8568         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8569         (test_prefixed_syscall,test_int3): New tests.
8570
8571 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
8572
8573         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8574         (mi_expect_interrupt): Likewise.
8575         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8576         response.
8577
8578 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8579
8580         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8581         * gdb.base/pc-fp.exp (get_valueofx): Remove.
8582         Replace calls to get_valueofx by get_hexadecimal_valueof.
8583
8584 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8585
8586         * lib/gdb.exp (get_valueof): Accept anything as a return value.
8587         (get_integer_valueof): New procedure.
8588         (get_sizeof): Use new get_integer_value_of.
8589         * gdb.base/sizeof.exp: Replace all uses of get_valueof
8590         by get_integer_valueof.
8591
8592 2009-02-13  Tom Tromey  <tromey@redhat.com>
8593
8594         * gdb.base/remote.exp (get_sizeof): Remove.
8595         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8596         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8597         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8598         * lib/gdb.exp (get_valueof): Move from long_long.exp.
8599         (get_sizeof): Likewise.
8600
8601 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8602
8603         PR fortran/9806
8604         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8605
8606 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8607
8608         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8609
8610 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
8611
8612         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8613
8614 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8615
8616         * gdb.python/python-cmd.exp: New file.
8617
8618 2009-02-06  Tristan Gingold  <gingold@adacore.com>
8619
8620         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8621
8622 2009-02-05  Tristan Gingold  <gingold@adacore.com>
8623
8624         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8625         pointer is dereferenced and use this signal name in regexp.
8626         * gdb.base/signull.exp: Ditto.
8627         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8628         * gdb.base/signull.c (main): Ditto.
8629
8630 2009-02-04  Tom Tromey  <tromey@redhat.com>
8631             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8632
8633         * gdb.python/python-value.exp: Use `gdb.history' instead of
8634         `gdb.value_from_history'.
8635         (test_value_numeric_ops): Add test for conversion of enum constant.
8636         * gdb.python/python-value.c (enum e): New type.
8637         (evalue): New global.
8638         (main): Use argv.
8639
8640 2009-02-04  Jerome Guitton  <guitton@adacore.com>
8641
8642         * gdb.ada/uninitialized_vars: New test program.
8643         * gdb.ada/uninitialized_vars.exp: New testcase.
8644
8645 2009-02-02  Tom Tromey  <tromey@redhat.com>
8646
8647         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8648         * gdb.cp/pr2489.cc: Rename...
8649         * gdb.cp/pr9594.cc: ... to this.
8650
8651 2009-02-02  Tom Tromey  <tromey@redhat.com>
8652
8653         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8654         * gdb.cp/pr2489.cc: New file.
8655         * gdb.cp/cpcompletion.exp: New file.
8656
8657 2009-02-02  Tom Tromey  <tromey@redhat.com>
8658
8659         PR exp/9059:
8660         * gdb.cp/call-c.exp: Add regression test.
8661         * gdb.cp/call-c.cc (FooHandle): New typedef.
8662         (main): New variable 'handle'.
8663
8664 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8665
8666         * lib/mi-support.exp (et_mi_thread_list)
8667         (check_mi_and_console_threads): Adjust for current thread in
8668         -thread-list-ids output.
8669
8670 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8671
8672         * gdb.mi/mi-break.exp (test_disabled_creation): New.
8673         Call it.
8674
8675 2009-01-28  Doug Evans  <dje@google.com>
8676
8677         * gdb.arch/amd64-disp-step.S: New file.
8678         * gdb.arch/amd64-disp-step.exp: New file.
8679         * gdb.arch/i386-disp-step.S: New file.
8680         * gdb.arch/i386-disp-step.exp: New file.
8681
8682 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
8683
8684         * gdb.base/find.exp: Set newline variable
8685         using quotes instead of braces to fix cygwin failures.
8686
8687 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8688
8689         * gdb.base/radix.exp: Add tests to ensure that that set
8690         input-radix 0 and set output-radix 0 are really rejected.
8691
8692 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8693
8694         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8695         copyright years.
8696
8697 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8698
8699         PR gdb/9664:
8700         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8701
8702 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
8703
8704         PR c++/9631:
8705         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8706
8707 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
8708
8709         * gdb.server/file-transfer.exp: Use EXEEXT variable for
8710         binfile definition to fix Windows OS failure.
8711
8712 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8713
8714         PR gdb/9346
8715         * gdb.base/interrupt.c (sigint_handler): New.
8716         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
8717         on error.
8718         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8719         Test "signal SIGINT".
8720
8721 2009-01-19  Doug Evans  <dje@google.com>
8722
8723         * gdb.base/break.exp: Update expected gdb output.
8724         * gdb.base/sepdebug.exp: Ditto.
8725         * gdb.mi/mi-syn-frame.exp: Ditto.
8726         * gdb.mi/mi2-syn-frame.exp: Ditto.
8727         * gdb.base/call-signal-resume.exp: New file.
8728         * gdb.base/call-signals.c: New file.
8729         * gdb.base/unwindonsignal.exp: New file.
8730         * gdb.base/unwindonsignal.c: New file.
8731         * gdb.threads/interrupted-hand-call.exp: New file.
8732         * gdb.threads/interrupted-hand-call.c: New file.
8733         * gdb.threads/thread-unwindonsignal.exp: New file.
8734
8735 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
8736
8737         * gdb.base/define.exp: Test defining and hooking prefix commands.
8738         * gdb.python/python.exp: Update test for "show user" output.
8739
8740 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8741
8742         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
8743         now the output exactly, using less wildcards.  Expect also the output
8744         of gfortran-4.3.  Update for the f-valprint.c modification from
8745         2008-04-22.
8746         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8747         Remove gdb_test test names where matching the command.
8748
8749 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
8750
8751         PR breakpoints/9681:
8752         * gdb.base/watchpoint.exp: Add regression test.
8753
8754 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8755
8756         * gdb.threads/attach-into-signal.exp: Don't use
8757         gdb_suppress_entire_file.
8758         * gdb.threads/attach-stopped.exp: Ditto.
8759         * gdb.threads/attachstop-mt.exp: Ditto.
8760
8761 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8762
8763         PR gdb/8812:
8764         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8765
8766 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
8767
8768         PR gdb/7536:
8769         * gdb.base/radix.exp: Add tests to ensure invalid input radices
8770         and unsupported output radices are really rejected.
8771
8772 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8773
8774         * gdb.cp/punctuator.exp: Backslash the '$' signs.
8775
8776 2008-12-22  Tom Tromey  <tromey@redhat.com>
8777
8778         * gdb.cp/punctuator.exp: New file.
8779
8780 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8781
8782         * gdb.base/completion.exp (Completing non-existing component): New test.
8783
8784 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8785
8786         Fix for PR gdb/8648.
8787         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8788         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8789         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8790         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8791
8792 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8793
8794         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8795
8796 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
8797
8798         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8799         compiler actually generate code at the expected line number.
8800
8801 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
8802
8803         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8804
8805 2008-12-12  Tom Tromey  <tromey@redhat.com>
8806
8807         * gdb.base/commands.exp (redefine_hook_test): New proc.
8808         Call it.
8809
8810 2008-12-11  Tom Tromey  <tromey@redhat.com>
8811
8812         * gdb.base/macscp.exp: New regression test.
8813
8814 2008-12-11  Tom Tromey  <tromey@redhat.com>
8815
8816         * gdb.base/macscp.exp: Print "address.addr".
8817         * gdb.base/macscp1.c (struct outer): New struct.
8818         (address): New global.
8819
8820 2008-12-09  Tom Tromey  <tromey@redhat.com>
8821
8822         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8823         Call it.
8824
8825 2008-12-04  Doug Evans  <dje@google.com>
8826
8827         * gdb.server/ext-run.exp: Relax regexp for init program.
8828
8829 2008-12-03  Tristan Gingold  <gingold@adacore.com>
8830
8831         * gdb.base/macscp.exp: Generate an object file during compilation
8832         to work around Darwin dsymutil limitations.
8833
8834 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8835
8836         Test resolving external references to TLS variables.
8837         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8838         FILE2_THREAD_LOCAL.
8839         (testfile2, srcfile2): New variables.
8840         * gdb.threads/tls.c (file2_thread_local)
8841         (function_referencing_file2_thread_local): New.
8842         * gdb.threads/tls2.c: New file.
8843
8844 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
8845
8846         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8847         rather than integer, as integer might not be big enough when
8848         on 64bit targets.
8849
8850 2008-11-27  Jerome Guitton  <guitton@adacore.com>
8851
8852         * gdb.cp/formatted-ref.exp: Add equality test.
8853         * gdb.ada/formatted_ref.exp: Ditto.
8854
8855 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8856
8857         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8858         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8859
8860 2008-11-20  Andreas Schwab  <schwab@suse.de>
8861
8862         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8863         matching syscall entry point.
8864         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8865         (tcatch_vfork_then_child_follow): Likewise.  Finish through
8866         vfork even if we stopped at the syscall trampoline.
8867
8868 2008-11-20  Doug Evans  <dje@google.com>
8869
8870         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8871
8872 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8873
8874         * gdb.arch/ppc-dfp.exp: New file.
8875         * gdb.arch/ppc-dfp.c: New file.
8876
8877 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8878
8879         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8880
8881 2008-11-17  Doug Evans  <dje@google.com>
8882
8883         * gdb.mi/mi-syn-frame.exp: Update expected output.
8884         * gdb.mi/mi2-syn-frame.exp: Update expected output.
8885
8886 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8887
8888         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8889         "thread N" results in =thread-selected.
8890         * lib/mi-support (mi_run_cmd, mi_expect_stop)
8891         (mi_send_resuming_command_raw): Be prepared for
8892         =thread-selected.
8893
8894 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8895
8896         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8897         * lib/mi-support.exp: Likewise.
8898
8899 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
8900
8901         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8902         commands from the expected output for "help catch".
8903
8904 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
8905
8906         * gdb.ada/int_deref.exp: New testcase.
8907
8908 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
8909
8910         * gdb.mi/gdb2549.exp: New file.
8911
8912 2008-11-11  Doug Evans  <dje@google.com>
8913
8914         * gdb.base/callexit.exp: New file.
8915         * gdb.base/callexit.c: New file.
8916
8917 2008-11-10  Doug Evans  <dje@google.com>
8918
8919         * lib/gdb.exp (GDBFLAGS): Move -nx ...
8920         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
8921         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8922         (default_gdb_start,default_gdb_exit): Ditto.
8923         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8924         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8925         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8926         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8927         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8928         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8929
8930 2008-11-03  Andreas Schwab  <schwab@suse.de>
8931
8932         * gdb.base/hashline2.exp: Fix typo.
8933         * gdb.base/hashline3.exp: Likewise.
8934
8935 2008-10-30  Tom Tromey  <tromey@redhat.com>
8936
8937         * gdb.base/pointers.exp: Add test.
8938         * gdb.base/pointers.c (k, S): New typedefs.
8939         (instance): New global.
8940
8941 2008-10-30  Andreas Schwab  <schwab@suse.de>
8942
8943         * gdb.base/args.exp: Add tests for newlines.
8944
8945 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
8946
8947         gdb.base/foll-exec.exp: Update the expected output of a couple
8948         of "info breakpoints" tests.
8949
8950 2008-10-28  Tom Tromey  <tromey@redhat.com>
8951
8952         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8953
8954 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
8955
8956         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8957         gdb_start_cmd.
8958         Use runto_main before any test that requires execution.
8959
8960 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
8961
8962         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8963         instead of SIGINT.
8964
8965 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
8966
8967         * gdb.base/completion.exp: Update expected output following
8968         the addition of the "info tasks" command.
8969
8970 2008-10-22  Tom Tromey  <tromey@redhat.com>
8971
8972         * gdb.base/exprs.exp (test_expr): Add test for string
8973         concatenation.
8974
8975 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
8976
8977         * configure.ac: Output gdb.python/Makefile.
8978         * configure: Regenerate.
8979         * gdb.python/Makefile.in: New.
8980
8981 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
8982
8983         * gdb.base/foll-fork.exp: Adjust the expected output to match
8984         the new description for fork/vfork catchpoints in the "info
8985         breakpoints" output.
8986
8987 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8988
8989         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8990
8991 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8992
8993         * gdb.python/python-value.c: New file.
8994         * gdb.python/python-value.exp: New file.
8995
8996 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
8997
8998         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8999
9000 2008-10-15  Denis Pilat  <denis.pilat@st.com>
9001
9002         * gdb.cp/mb-ctor.exp: Fix a typo.
9003
9004 2008-10-09  Tom Tromey  <tromey@redhat.com>
9005
9006         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9007         'fprintf' and 'stderr'.
9008
9009 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
9010
9011         * gdb.ada/ref_tick_size.exp: New testcase.
9012
9013 2008-10-06  Doug Evans  <dje@google.com>
9014
9015         * gdb.dwarf2/dw2-cu-size.exp: New file.
9016         * gdb.dwarf2/dw2-cu-size.S: New file.
9017
9018         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9019         .Ltype_int for clarity.
9020
9021 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9022
9023         PR gdb/2384:
9024         * gdb.cp/gdb2384.exp: Extended to test more cases.
9025         * gdb.cp/gdb2384.cc: Likewise.
9026         * gdb.cp/gdb2384-base.h: Likewise.
9027         * gdb.cp/gdb2384-base.cc: Likewise.
9028
9029 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9030
9031         * gdb.base/maint.exp (maint print type): Remove printing
9032         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9033
9034 2008-09-30  Tom Tromey  <tromey@redhat.com>
9035
9036         * gdb.base/macscp.exp: Add completion tests.
9037         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9038         (TWENTY_THREE): Likewise.
9039         (FORTY_EIGHT): Likewise.
9040
9041 2008-09-30  Tom Tromey  <tromey@redhat.com>
9042
9043         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9044         everywhere.
9045         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9046
9047 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9048
9049         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9050         testcase is derived from.  Fix racy dependency on an expected PID
9051         number.  No longer support the testcase on Linux kernel 2.4.x.
9052
9053 2008-09-27  Tom Tromey  <tromey@redhat.com>
9054
9055         * gdb.base/macscp.exp: Add tests for stringification, splicing,
9056         and varargs.
9057
9058 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
9059
9060         * lib/mi-support.exp (mi_expect_interrupt): New.
9061         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9062         from gdb.mi/mi-nonstop.exp.
9063         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9064         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9065         lib/mi-support.exp.
9066         Use mi_check_thread_states throughout.  Avoid ".*" and do not
9067         require an anchor after -exec-run.
9068
9069 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
9070
9071         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9072         stop is pending.  Avoid ".*" when two stops are pending.
9073         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9074         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9075         newlines in fullnames.
9076         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9077         (mi_expect_stop): Update comments.  Only anchor in sync mode.
9078         Do not match newlines.
9079         (mi_send_resuming_command_raw): Always return status.
9080         (mi_get_stop_line): Do not match more than one line by accident.
9081         Only anchor in sync mode.
9082         (mi_run_inline_test): If -exec-next fails, give up.
9083
9084 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9085
9086         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9087         on SPU.
9088
9089 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9090
9091         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9092
9093 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9094
9095         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9096         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9097         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9098         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9099         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9100         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9101         gdb.ada/interface.exp, gdb.ada/null_array.exp,
9102         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9103         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9104         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9105         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9106         Include the "= " sequence in the expected output of print tests.
9107
9108 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9109
9110         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9111         description for boolean types.
9112
9113 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
9114
9115         * gdb.base/hook-stop-continue.c: New.
9116         * gdb.base/hook-stop-continue.exp: New.
9117
9118 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9119
9120         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9121
9122 2008-09-08  Jerome Guitton  <guitton@adacore.com>
9123
9124         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9125         (stack_check_probe_2, stack_check_probe_loop_1)
9126         (stack_check_probe_loop_2): New functions.
9127         (main): Add call to these new functions.
9128         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9129         functions, check that the breakpoint is inserted at the appropriate
9130         location.
9131         (insert_breakpoint): Slightly refine this procedure so that it can
9132         be called several times in the test.
9133
9134 2008-09-08  Jerome Guitton  <guitton@adacore.com>
9135
9136         * gdb.base/stack-checking.c: New file.
9137         * gdb.base/stack-checking.exp: New file.
9138
9139 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9140
9141         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9142         * gdb.arch/altivec-regs.exp: Likewise.
9143         * gdb.arch/vsx-regs.exp: Likewise.
9144
9145 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9146
9147         * gdb.arch/ppc-fp.exp: New file.
9148         * gdb.arch/ppc-fp.c: New file.
9149
9150 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9151
9152         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9153         lest gcc-4.3.1 optimizes the whole thing away.
9154
9155 2008-09-04  Michael Snyder  <msnyder@vmware.com>
9156
9157         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9158         as "at" (for non-debug functions such as _start).
9159
9160 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9161
9162         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9163         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
9164         software watchpoints.
9165         * gdb.base/watch_thread_num.exp: Likewise.
9166
9167 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
9168
9169         * gdb.arch/i386-bp_permanent.exp: New test.
9170
9171 2008-08-24  Tom Tromey  <tromey@redhat.com>
9172
9173         * gdb.base/maint.exp: Update "maint print type".
9174
9175 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
9176
9177         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9178         support.  Adjust the order of "*running" notifications.
9179         * gdb.mi/non-stop.c: Don't cast from int to void* and
9180         back.
9181
9182 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
9183
9184         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9185         expect to find it in the "info frame" output.
9186
9187 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
9188
9189         * gdb.base/interp.exp: Always consume both prompts.
9190
9191 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
9192
9193         * gdb.base/pending.exp: Test pending breakpoints without symbols
9194         loaded.
9195
9196 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
9197
9198         * lib/mi-support.exp (mi_expect_stop): Produce
9199         more details on failures.
9200         * gdb.mi/mi-nonstop.exp: New.
9201         * gdb.mi/non-stop.c: New.
9202
9203 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
9204
9205         * gdb.mi/mi-async.exp: Use 'set target-async'.
9206         * lib/mi-support.exp: Use 'set/show target-async'.
9207
9208 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
9209
9210         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9211
9212 2008-08-17  Tom Tromey  <tromey@redhat.com>
9213
9214         * gdb.base/help.exp (help catch): Rewrite.
9215
9216 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9217
9218         * gdb.base/define.exp: Test indented command documentation.
9219         * gdb.python/python.exp: Test indented multi-line command.
9220
9221 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
9222
9223         * testsuite/gdb.arch/vsx-regs.c: New source file.
9224         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9225         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9226
9227 2008-08-14  Tom Tromey  <tromey@redhat.com>
9228
9229         * gdb.base/macscp.exp: Add regression test for "macro define" or
9230         "macro undef" with no arguments.
9231
9232 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9233
9234         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9235
9236 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9237
9238         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9239
9240 2008-08-06  Tom Tromey  <tromey@redhat.com>
9241
9242         * gdb.python/python.exp: New file.
9243
9244 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
9245
9246         Fix for PR gdb/1543.
9247         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9248         $LOCATION.
9249         (location): New variable.
9250         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9251         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9252         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9253         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9254         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9255         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9256         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9257         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9258         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9259         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9260         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9261         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9262         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9263         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9264         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9265         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9266         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9267         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9268         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9269         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9270         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9271         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9272         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9273         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9274         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9275         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9276         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9277         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9278         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9279         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9280         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9281         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9282         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9283         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9284         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9285         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9286         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9287         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9288         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9289         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9290         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9291         gdb.base/type-opaque.exp, gdb.base/until.exp,
9292         gdb.base/value-double-free.c, gdb.base/varargs.exp,
9293         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9294         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9295         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9296         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9297         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9298         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9299         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9300         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9301         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9302         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9303         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9304         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9305         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9306         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9307         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9308         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9309         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9310         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9311         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9312         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9313         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9314         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9315         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9316         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9317         gdb.pascal/types.exp, gdb.stabs/weird.exp,
9318         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9319         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9320         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9321         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9322         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9323         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9324         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9325         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9326         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9327         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9328         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9329         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9330         lib/mi-support.exp, lib/trace-support.exp: Remove reference
9331         to bug-gdb@prep.ai.mit.edu .
9332
9333 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
9334
9335         * lib/mi-support.exp (mi_load_shlibs): New.
9336         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9337
9338 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
9339
9340         * lib/mi-support.exp (get_mi_thread_list)
9341         (check_mi_and_console_threads): New, moved from ...
9342         * gdb.mi/mi-pthread.exp: ...here.
9343         * gdb.mi/gdb669.exp (get_mi_thread_list)
9344         (check_mi_and_console_threads): Delete.
9345         * gdb.mi/mi2-pthread.exp: Likewise.
9346
9347 2008-07-28  Tom Tromey  <tromey@redhat.com>
9348
9349         * Makefile.in (just-check): Remove.  Move body to...
9350         (check): ... here.
9351
9352 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9353
9354         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9355         Add a test for duplicated SIGINTs.
9356
9357 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9358
9359         * gdb.threads/schedlock.exp (get_args): Update to work for any
9360         value of NUM.
9361         (Top level): Report the number of threads that did not resume.
9362
9363 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9364
9365         * gdb.dwarf2/dw2-compressed.S: Also define __start.
9366
9367 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9368
9369         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9370         non-MI prompt.
9371
9372 2008-07-26  Tom Tromey  <tromey@redhat.com>
9373
9374         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9375         (function_struct, function_struct_ptr): New globals.
9376         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9377         function pointer in a struct.
9378
9379 2008-07-26  Tom Tromey  <tromey@redhat.com>
9380
9381         * gdb.base/macscp.exp: Add test for macro lexing bug.
9382
9383 2008-07-18  Tom Tromey  <tromey@redhat.com>
9384
9385         * gdb.base/macscp.exp: Add macro tests.
9386
9387 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9388
9389         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9390
9391 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9392
9393         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9394
9395 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9396
9397         * gdb.cp/class2.exp: fix for failure on spu-elf
9398
9399 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9400
9401         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9402
9403 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9404
9405         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9406
9407 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
9408
9409         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9410
9411 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
9412
9413         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9414         of regexp to account for changes made to GDB in the printing of
9415         byte vectors.
9416
9417 2008-07-11  Tom Tromey  <tromey@redhat.com>
9418
9419         * gdb.base/completion.exp: Add 'help' completion test.
9420
9421 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9422
9423         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9424
9425 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9426
9427         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9428
9429 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9430
9431         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9432
9433 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9434
9435         * gdb.base/fullname.exp: Restore pwd if compiling failed.
9436
9437 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9438
9439         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9440
9441 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9442
9443         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9444         previous commit.  Add a comment.
9445
9446 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
9447
9448         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9449
9450 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9451
9452         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9453
9454 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
9455
9456         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9457         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9458         compiling an executable, link in an object that forces unbuffered
9459         output.
9460         * lib/set_unbuffered_mode.c: New file.
9461
9462 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9463
9464         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9465
9466 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
9467
9468         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9469         mi_expect_stop.
9470         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9471         Demand that *running is output.
9472         (detect_async): Perform checking every time.
9473         (mi_send_resuming_command): Extract everything into...
9474         (mi_send_resuming_command_raw): ...this.
9475         (mi_expect_stop): Don't accept any output before *stopped.
9476
9477 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
9478
9479         Robustify mi-simplerun.
9480         * gdb.mi/basics.c (main): Add a call to sleep.
9481         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9482         * gdb.mi/mi2-cli.exp: Likewise.
9483         * gdb.mi/mi-break.exp: Likewise.
9484
9485 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
9486
9487         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9488
9489 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9490
9491         * gdb.mi/mi-console.exp: Adjust.
9492         * gdb.mi/mi-syn-frame.exp: Adjust.
9493         * gdb.mi/mi2-console.exp: Adjust.
9494         * gdb.mi/mi2-syn-frame.exp: Adjust.
9495         * lib/mi-support.exp (mi_run_cmd): Adjust.
9496         (mi_send_resuming_command): Adjust.
9497
9498 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9499
9500         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9501         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9502         testing of stopped.
9503         * gdb.mi/mi2-syn-frame.exp: Likewise.
9504         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9505         (async, detect_async): New.
9506         (mi_expect_stop, mi_continue_to_line): Adjust expectation
9507         depending on if we're running in sync or async mode.
9508
9509 2008-06-09  Tom Tromey  <tromey@redhat.com>
9510
9511         * gdb.base/completion.exp: New tests for field name completion
9512         with spaces, and field name completion with '->'.
9513
9514 2008-06-06  Tom Tromey  <tromey@redhat.com>
9515
9516         * gdb.base/break1.c (struct some_struct): New struct.
9517         (values): New global.
9518         * gdb.base/completion.exp: Add field name completion test.
9519
9520 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9521
9522         * gdb.cp/call-c.exp: Test for incorrect handling of reference
9523         to pointer.
9524         * gdb.cp/call-c.cc: Likewise.
9525
9526 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
9527
9528         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9529         annotation.
9530
9531 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9532             Pedro Alves  <pedro@codesourcery.com>
9533
9534         * gdb.threads/execl.c, gdb.threads/execl1.c,
9535         gdb.threads/execl.exp: New tests.
9536
9537 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
9538             Daniel Jacobowitz  <dan@codesourcery.com>
9539
9540         * gdb.cp/exception.exp: Activate test, make it work with pending
9541         catchpoints.
9542
9543 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9544
9545         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9546
9547 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
9548
9549         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9550         now printed.
9551         * gdb.mi/mi2-var-cmd.exp: Likewise.
9552
9553 2008-05-27  Andreas Schwab  <schwab@suse.de>
9554
9555         * gdb.base/frame-args.exp: Handle arguments that are optimized
9556         out.
9557
9558 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
9559
9560         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9561         quiet for ppc32 and group options into a single variable.
9562
9563 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
9564
9565         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9566         of zero-size elements.
9567         * gdb.ada/null_array.exp: Test printing this new array.
9568
9569 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9570
9571         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9572
9573 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
9574
9575         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9576         of the "finish" command.
9577
9578 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
9579
9580         * gdb.base/annota1.exp: Test for new annotation.
9581
9582 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
9583
9584         * gdb.base/fixsection.exp: New file.
9585         * gdb.base/fixsection0.c: New file.
9586         * gdb.base/fixsection1.c: New file.
9587
9588 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9589
9590         * gdb.base/annota1.exp: Accept printf@... in place of printf.
9591         * gdb.base/annota3.exp: Likewise.
9592
9593 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
9594
9595         * gdb.base/watch_thread_num.exp: Don't run tests that require
9596         watchpoints if the target doesn't support them.
9597
9598 2008-05-12  Doug Evans  <dje@google.com>
9599
9600         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9601
9602 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
9603
9604         * gdb.ada/assign_1.exp: New testcase.
9605
9606 2008-05-09  Doug Evans  <dje@google.com>
9607
9608         * gdb.base/find.exp: New file.
9609         * gdb.base/find.c: New file.
9610
9611 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
9612
9613         * gdb.base/commands.exp (watchpoint_command_test): Handle
9614         gdb,no_hardware_watchpoints.
9615         * gdb.base/float.exp: Allow ARM targets without floating point.
9616         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9617
9618 2008-05-06  Jerome Guitton  <guitton@adacore.com>
9619             Joel Brobecker  <brobecker@adacore.com>
9620
9621         * gdb.ada/lang_switch: New test program.
9622         * gdb.ada/lang_switch.exp: New testcase.
9623
9624 2008-05-05  Doug Evans  <dje@google.com>
9625
9626         * gdb.base/help.exp (disassemble): Update expected help text.
9627
9628 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9629
9630         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9631
9632 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9633
9634         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9635         different times.
9636
9637 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9638
9639         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9640         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9641         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9642         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9643
9644 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
9645
9646         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9647         notification to appear.
9648
9649 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
9650
9651         * gdb.base/fullname.c: New file.
9652         * gdb.base/fullname.exp: New file.
9653         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9654
9655 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
9656
9657         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9658         expressions with macros.
9659
9660 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9661
9662         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9663
9664 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
9665
9666         * gdb.base/completion.exp: Handle lack of other symbols beginning
9667         with "a".
9668
9669         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9670
9671 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
9672
9673         * gdb.asm/asmsrc1.s: Add scratch space.
9674
9675 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9676             Daniel Jacobowitz  <dan@codesourcery.com>
9677
9678         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9679         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9680         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9681
9682 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
9683
9684         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9685
9686 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
9687
9688         * gdb.base/info-target.exp: New testcase.
9689
9690 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9691
9692         * gdb.cp/hang.exp: Use .cc instead of .C.
9693         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9694         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9695
9696 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9697
9698         * gdb.base/gdb1250.exp: Remove perror.
9699         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9700
9701 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
9702
9703         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9704         .2byte.
9705
9706 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
9707
9708         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
9709         (maybe_kfail): New.
9710
9711 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
9712
9713         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9714
9715 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9716
9717         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9718         * gdb.mi/mi2-syn-frame.exp: Likewise.
9719         * lib/mi-support.exp: Likewise.
9720
9721 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9722
9723         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9724         to specify regexp for the location to stop at.
9725         * gdb.base/break-always.c: New.
9726         * gdb.base/break-always.exp: New.
9727
9728 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9729
9730         * lib/mi-support.exp (mi_runto_helper): Adjust
9731         for the original-location field.
9732         (mi_create_breakpoint, mi_list_breakpoints): New.
9733         * gdb.mi/mi-break.exp: Adjust.
9734         * gdb.mi/mi2-break.exp: Adjust.
9735         * gdb.mi/mi-pending.exp: Adjust.
9736         * gdb.mi/mi-simplerun.exp: Adjust.
9737         * gdb.mi/mi2-simplerun.exp: Adjust.
9738         * gdb.mi/mi-syn-frame.exp: Adjust.
9739         * gdb.mi/mi2-syn-frame.exp: Adjust.
9740         * gdb.mi/mi-until.exp: Adjust.
9741         * gdb.mi/mi2-until.exp: Adjust.
9742         * gdb.mi/mi-var-display.exp: Adjust.
9743         * gdb.mi/mi2-var-display.exp: Adjust.
9744         * gdb.mi/mi-watch.exp: Adjust.
9745         * gdb.mi/mi2-watch.exp: Adjust.
9746
9747 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
9748
9749         * aclocal.m4: Add override.m4.
9750         * configure: Regenerate.
9751
9752 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
9753
9754         * gdb.mi/var-cmd.c (do_at_tests): Verify that
9755         '-var-update --all-values' reports new value even the type
9756         of a variable object has changed.
9757
9758 2008-04-18  Craig Silverstein  <csilvers@google.com>
9759
9760         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9761         files.
9762
9763 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
9764
9765         * gdb.ada/atomic_enum: New test program.
9766         * gdb.ada/atomic_enum.exp: New testcase.
9767
9768 2008-04-17  Doug Evans  <dje@google.com>
9769
9770         * gdb.opt/Makefile.in: Fix whitespace.
9771
9772 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
9773
9774         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9775
9776 2008-04-17  Doug Evans  <dje@google.com>
9777
9778         * gdb.base/hashline1.exp: New testcase.
9779         * gdb.base/hashline2.exp: New testcase.
9780         * gdb.base/hashline2.exp: New testcase.
9781
9782 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
9783
9784         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9785
9786 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
9787
9788         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9789         temporary breakpoint to match "Temporary breakpoint".
9790         * gdb.base/break.exp (delete_breakpoints): Likewise.
9791         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9792         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9793         * gdb.base/display.exp: Likewise.
9794         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9795         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9796         * gdb.base/restore.exp (restore_tests): Likewise.
9797         * gdb.base/sepdebug.exp: Likewise.
9798         * gdb.base/watchpoint.exp: Likewise.
9799         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9800         * gdb.mi/mi-pending.exp: Likewise.
9801         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9802         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9803         * gdb.mi/mi-var-cmd.exp: Likewise.
9804         * gdb.mi/mi-var-display.exp: Likewise.
9805         * gdb.mi/mi2-cli.exp: Likewise.
9806         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9807         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9808         * gdb.mi/mi2-var-display.exp: Likewise.
9809         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9810         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9811         new "disp" field.
9812         (mi_expect_stop): Move after_reason argument to be really after
9813         reason. This is to support fix for PR2424.
9814
9815 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9816
9817         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9818
9819 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
9820
9821         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9822         field.  Add more floating varobj tests.
9823         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9824         field.
9825         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9826         (main): Call do_at_tests.
9827         * lib/mi-support.exp (mi_create_floating_varobj)
9828         (mi_varobj_update_with_type_change): New.
9829
9830 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
9831
9832         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9833         option of -var-evaluate-expression.
9834         * gdb.mi/mi2-var-display.exp: Likewise.
9835
9836 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
9837
9838         Introduce test setup helpers.
9839         * lib/gdb.exp (build_executable, clean_restart)
9840         (prepare_for_testing): New.
9841         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9842         * gdb.base/return.exp: Likewise.
9843         * gdb.base/ending-run.exp: Likewise.
9844
9845 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
9846
9847         * gdb.mi/mi-async.exp: New test for asynchronous Machine
9848         Interface (MI) responses.
9849
9850 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
9851
9852         * gdb.cp/breakpoint.cc: New code to test conditions involving
9853         member variables.
9854         * gdb.cp/breakpoint.exp: Test condition involving member
9855         variables.
9856
9857 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
9858
9859         * lib/mi-support.exp (mi_expect_stop): New.
9860         (mi_run_cmd): Change the
9861         token.  Use mi_send_resuming_command, use
9862         mi_expect_stop.
9863         (mi_execute_to_helper): Rename to mi_execute_to.
9864         (mi_send_resuming_command): Add more error patterns.
9865         (mi_wait_for_stop): Renamed to...
9866         (mi_get_stop_line): ...this.
9867         (mi_run_inline_test): Adjust.
9868
9869         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9870         * gdb.mi/mi-console.exp: Likewise.
9871         * gdb.mi/mi-pending.exp: Likewise.
9872         * gdb.mi/mi-simplerun.exp: Likewise.
9873         * gdb.mi/mi-stack.exp: Likewise.
9874         * gdb.mi/mi-stepi.exp: Likewise.
9875         * gdb.mi/mi-syn-frame.exp: Add comment.
9876         * gdb.mi/mi-until.exp: Likewise.
9877         * gdb.mi/mi-var-display.exp: Likewise.
9878         * gdb.mi/mi-watch.exp: Likewise.
9879         * gdb.mi/mi2-cli.exp: Likewise.
9880         * gdb.mi/mi2-console.exp: Likewise.
9881         * gdb.mi/mi2-simplerun.exp: Likewise.
9882         * gdb.mi/mi2-stack.exp: Likewise.
9883         * gdb.mi/mi2-stepi.exp: Likewise.
9884         * gdb.mi/mi2-until.exp: Likewise.
9885         * gdb.mi/mi2-var-display.exp: Likewise.
9886         * gdb.mi/mi2-watch.exp: Likewise.
9887
9888 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9889
9890         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9891
9892         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9893
9894 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
9895
9896         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9897         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9898         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9899         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9900         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9901         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9902         expect an mi error duplicated in stderr.
9903
9904 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
9905
9906         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9907         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9908         Add a couple of tests that verify the behavior when the new setting
9909         is set to "cancel" and "all".
9910         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9911         "ask" before we start the testing.
9912
9913 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
9914
9915         * gdb.cp/casts.cc: Add class reference variables.
9916         * gdb.cp/casts.exp: New test cases for up/down casting references.
9917
9918 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
9919
9920         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9921         instead of beginning to make an extra test pass.
9922         * gdb.mi/mi2-var-display.exp: Likewise.
9923
9924 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
9925
9926         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
9927
9928 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
9929             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9930
9931         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9932         value.  Add xfail for older kernels.
9933
9934 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
9935
9936         Bring mi-support in line with gdb.exp.
9937         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9938         (mi_gdb_start): New function.
9939
9940 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
9941
9942         * gdb.mi/mi-var-cmd.exp: Fix a typo.
9943
9944 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9945
9946         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9947         * gdb.mi/mi2-var-display.exp: Likewise.
9948
9949 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9950
9951         * lib/mi-support.exp (mi_create_varobj_checked): New.
9952         (mi_list_varobj_children): Allow to check for a
9953         value.
9954         (mi_list_array_varobj_children): New.
9955
9956         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9957         and mi_list_varobj_children, as opposed to hardcoding
9958         expected strings.
9959         * gdb.mi/gdb701.exp: Likewise.
9960         * gdb.mi/gdb792.exp: Likewise.
9961         * gdb.mi/mi-var-block.exp: Likewise.
9962         * gdb.mi/mi-var-cmd.exp: Likewise.
9963         * gdb.mi/mi-var-invalidate.exp: Likewise.
9964         * gdb.mi/mi2-var-block.exp: Likewise.
9965         * gdb.mi/mi2-var-child.exp: Likewise.
9966         * gdb.mi/mi2-var-cmd.exp: Likewise.
9967         * gdb.mi/mi2-var-display.exp: Likewise.
9968
9969 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9970
9971         Fix random false FAILs on i386.
9972         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9973
9974 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9975
9976         PR gdb/544
9977         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9978
9979 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9980
9981         PR gdb/544
9982         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9983
9984 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9985
9986         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9987         fixed PR gdb/544.
9988
9989 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
9990
9991         * gdb.threads/fork-child-threads.exp: Test next over fork.
9992
9993 2008-03-21  Chris Demetriou  <cgd@google.com>
9994
9995         * gdb.base/break.exp (rbreak junk): New test for rbreak
9996         "Junk at end of arguments" issue.
9997
9998 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9999
10000         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10001         *& to work on created array elements.
10002         (Top level): Test print $pc with a file.  Test string operations
10003         without a target.
10004         * gdb.base/ptype.exp: Do not expect *& to work on created array
10005         elements.
10006
10007 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
10008
10009         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10010         gdb.threads/staticthreads.exp: Update exit query.
10011
10012 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
10013
10014         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10015
10016 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
10017
10018         * gdb.base/watchpoint.c (global_ptr, func4): New.
10019         (main): Call func4.
10020         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10021         (test_inaccessible_watchpoint): New.
10022
10023 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
10024
10025         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10026         select the largest.
10027
10028 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
10029
10030         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10031         frames-invalid annotations.
10032
10033 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
10034
10035         * gdb.base/assign.exp: avoid same output for different tests.
10036
10037 2008-02-27  Doug Evans  <dje@google.com>
10038
10039         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10040         for bug 1738.
10041         (breakpoint_to_handler_entry): Ditto.
10042
10043 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
10044
10045         * gdb.base/ending-run.exp: Use the first line of code inside
10046         function body to test breakpoints.
10047         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10048         location where the breakpoint is inserted when using the line
10049         where a function is declared. Fix typo in the description of
10050         one of the tests.
10051         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10052
10053 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
10054
10055         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10056         tests.
10057
10058 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
10059
10060         * gdb.base/args.exp: avoid same output for tests
10061         with single quotes.
10062
10063 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
10064
10065         * gdb.base/annota1.exp: Adjust for 'info break'
10066         format changes.
10067         * gdb.base/annota3.exp: Likewise.
10068         * gdb.base/break.exp: Likewise.
10069         * gdb.base/condbreak.exp: Likewise.
10070         * gdb.base/pending.exp: Likewise.
10071         * gdb.base/sepdebug.exp: Likewise.
10072         * gdb.base/unload.exp: Likewise.
10073         * gdb.cp/ovldbreak.exp: Likewise.
10074         * gdb.mi/mi-pending.exp: Likewise.
10075
10076 2008-02-07  Doug Evans  <dje@google.com>
10077
10078         * gdb.cp/mb-inline.exp: New.
10079         * gdb.cp/mb-inline.h: New.
10080         * gdb.cp/mb-inline1.cc: New.
10081         * gdb.cp/mb-inline2.cc: New.
10082
10083 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
10084
10085         * gdb.pascal/floats.pas: New test program.
10086         * gdb.pascal/floats.exp: New testcase.
10087
10088 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10089
10090         * gdb.base/callfuncs.c (t_float_many_args): New function.
10091         (t_double_many_args): New function.
10092         * gdb.base/callfuncs.exp: Add tests for exceeding float
10093         and double parameters passed through the stack.
10094
10095 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
10096
10097         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10098         gdb.ada/complete/foo.adb: New files.
10099         * gdb.ada/complete.exp: New testcase.
10100
10101 2008-02-03  Doug Evans  <dje@google.com>
10102
10103         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10104
10105         * gdb.cp/gdb2384.exp: New file.
10106         * gdb.cp/gdb2384.cc: New file.
10107         * gdb.cp/gdb2384-base.h: New file.
10108         * gdb.cp/gdb2384-base.cc: New file.
10109
10110 2008-02-02  Doug Evans  <dje@google.com>
10111
10112         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10113
10114 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
10115
10116         * gdb.ada/sym_print_name: New test program.
10117         * gdb.ada/sym_print_name.exp: New testcase.
10118
10119 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
10120
10121         * gdb.ada/nested/hello.adb: New file.
10122         * gdb.ada/nested.exp: New testcase.
10123         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10124
10125 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
10126
10127         * gdb.mi/basic.c (return_1): New function.
10128         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10129         don't cause future evaluations of function to report
10130         creation of internal breakpoints.
10131
10132 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
10133
10134         * gdb.mi/mi-break.exp (test_error): New.
10135         Call it.
10136
10137 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
10138
10139         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10140         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10141
10142 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
10143
10144         * gdb.pascal/integers.pas: New test program.
10145         * gdb.pascal/integers.exp: New testcase.
10146
10147 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
10148
10149         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10150
10151 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
10152
10153         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10154         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10155
10156 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
10157
10158         * gdb.ada/formatted_ref: New test program.
10159         * gdb.ada/formatted_ref.exp: New testcase.
10160
10161         * gdb.cp/formatted-ref.cc: New file.
10162         * gdb.cp/formatted-ref.exp: New testcase.
10163
10164 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
10165
10166         * gdb.base/ptype.exp: Add testing of "ptype $pc".
10167
10168 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
10169
10170         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10171         (test_file_list_exec_source_file): Update to new macro-info field.
10172
10173 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
10174
10175         * gdb.ada/exprs: New test program.
10176         * gdb.ada/exprs.exp: New testcase.
10177
10178 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10179
10180         * dfp-test.c (DELTA, DELTA_B): New definitions.
10181         (double_val1, double_val2, double_val3, double_val4, double_val5,
10182         double_val6, double_val7, double_val8, double_val9, double_val10,
10183         double_val11, double_val12, double_val13, double_val14, dec32_val1,
10184         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10185         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10186         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10187         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10188         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10189         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10190         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10191         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10192         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10193         dec128_val16): New global variables.
10194         (decimal_dec128_align): New function.
10195         (decimal_mixed): Likewise.
10196         (decimal_many_args_dec32): Likewise.
10197         (decimal_many_args_dec64): Likewise.
10198         (decimal_many_args_dec128): Likewise.
10199         (decimal_many_args_mixed): Likewise.
10200         * dfp-test.exp: Add tests calling new inferior functions.
10201
10202 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10203
10204         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10205         gdb.server/ext-run.exp: New files.
10206         * lib/gdbserver-support.exp (gdbserver_download): New.
10207         (gdbserver_start): New.  Update gdbserver expected
10208         output.
10209         (gdbserver_spawn): Use them.
10210         (gdbserver_start_extended): New.
10211
10212 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10213
10214         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
10215         Run on GNU/Linux.
10216         (do_exec_tests): Check for systems which do not support catchpoints.
10217         Do not match START.
10218         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
10219         Run on GNU/Linux.  Enable verbose output.
10220         (check_fork_catchpoints): New.
10221         (explicit_fork_child_follow, catch_fork_child_follow)
10222         (tcatch_fork_parent_follow): Update expected messages.
10223         (do_fork_tests): Use check_fork_catchpoints.
10224         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
10225         Run on GNU/Linux.  Enable verbose output.
10226         (check_vfork_catchpoints): New.
10227         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10228         expected messages.
10229         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10230
10231 2008-01-29  Jim Blandy  <jimb@red-bean.com>
10232
10233         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10234         host' errors.
10235         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10236
10237 2008-01-29  Jim Blandy  <jimb@red-bean.com>
10238
10239         * gdb.threads/sigthread.c: Use barriers to ensure that
10240         child_thread and child_thread_two are always initialized before we
10241         start to use them.
10242
10243 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
10244
10245         * gdb.base/watchpoint-solib.exp: New.
10246         * gdb.base/watchpoint-solib.c: New.
10247         * gdb.base/watchpoint-solib-shr.c: New.
10248
10249 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
10250
10251         * gdb.base/gdb1056.exp: Add unsigned integer test.
10252
10253 2008-01-28  Doug Evans  <dje@google.com>
10254
10255         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10256
10257 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
10258
10259         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10260
10261         * gdb.base/expand-psymtabs.exp: Doc fix.
10262
10263 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
10264
10265         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10266
10267 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
10268
10269         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10270         -var-set-format.
10271
10272 2008-01-23  Chris Demetriou  <cgd@google.com>
10273
10274         * gdb.threads/thread_events.c: New testcase source file.
10275         * gdb.threads/thread_events.exp: New testcase expect file.
10276
10277 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
10278
10279         * lib/gdb.exp: Add the variable octal.
10280
10281         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10282         -var-set-format.
10283
10284 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
10285             Vladimir Prus  <vladimir@codesourcery.com>
10286
10287         * gdb.base/float.exp: Allow missing floating point for m68k and
10288         PowerPC.
10289
10290 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
10291
10292         * gdb.mi/basics.c: Setup for testing breakpoints
10293         ignore count.
10294         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10295         * gdb.mi/mi-cli.exp: Adjust.
10296         * gdb.mi/mi2-cli.exp: Adjust.
10297
10298 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
10299
10300         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10301         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
10302         with dummy_ptr's address.
10303         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10304         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10305         all targets.
10306         * gdb.mi/mi2-var-child.exp: Likewise.
10307
10308 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
10309
10310         * gdb.ada/null_array: New test program.
10311         * gdb.ada/null_array.exp: New testcase.
10312
10313 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
10314
10315         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10316         with required float modifiers.
10317
10318 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10319
10320         * gdb.ada/funcall_param: New test program.
10321         * gdb.ada/funcall_param.exp: New testcase.
10322
10323 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10324
10325         * gdb.ada/arrayparam: New test program.
10326         * gdb.ada/arrayparam.exp: New testcase.
10327
10328 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10329
10330         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10331         landed.  Should also fix random failures in the test following it.
10332
10333 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10334
10335         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10336         for expressions with decimal float values.
10337         (test_dfp_conversions): New function to test casts to and from
10338         decimal float types.
10339         Call test_dfp_conversions.
10340         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10341         elements.
10342         (main): Initialize ds.float4 and ds.double8 elements.
10343         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
10344         string to new error message.
10345         (d64_set_tests): Likewise.
10346         (d128_set_tests): Likewise.
10347         Add tests for expressions with decimal float variables.  Add tests for
10348         conversions to and from decimal float types.
10349
10350 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
10351
10352         * gdb.ada/packed_tagged/comp_bug.adb: New file.
10353         * gdb.ada/packed_tagged.exp: New testcase.
10354
10355 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10356
10357         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10358         gdb.ada/homonym/homonym_main.adb: New files.
10359         * gdb.ada/homonym.exp: New testcase.
10360
10361 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10362
10363         * gdb.ada/packed_array.exp: Add testing of references to
10364         a packed array.
10365
10366 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10367
10368         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10369         New files.
10370         * gdb.ada/type_coercion.exp: New testcase.
10371
10372 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10373
10374         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10375         gdb.ada/tagged/foo.adb: New file.
10376         * gdb.ada/tagged.exp: New testcase.
10377
10378 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10379
10380         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10381         gdb.ada/ptype_field/foo.adb: New files.
10382         * gdb.ada/ptype_field.exp: New testcase.
10383
10384 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10385
10386         * gdb.ada/print_pc.exp: New testcase.
10387
10388 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10389
10390         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10391         gdb.ada/taft_type/p.adb: New files.
10392         * gdb.ada/taft_type.exp: New testcase.
10393
10394 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10395
10396         * gdb.ada/array_bounds/bar.adb: New file.
10397         * gdb.ada/array_bounds.exp: New testcase.
10398
10399 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10400
10401         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10402         gdb.ada/arrayptr/foo.adb: New files.
10403         * gdb.ada/arrayptr.exp: New testcase.
10404
10405 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10406
10407         * gdb.base/set-lang-auto.exp: New testcase.
10408
10409 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10410
10411         * gdb.ada/fun_addr/foo.adb: New file.
10412         * gdb.ada/fun_addr.exp: New testcase.
10413
10414 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10415
10416         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10417         New files
10418
10419 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10420
10421         * array_subscript_addr/p.adb: New file.
10422         * array_subscript_addr.exp: New testcase.
10423
10424 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10425
10426         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10427         New files.
10428         * gdb.ada/str_cmp_ref.exp: New testcase.
10429
10430 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10431
10432         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10433         gdb.ada/fun_in_declare/foo.adb: New files.
10434         * gdb.ada/fun_in_declare.exp: New testcase.
10435
10436 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10437
10438         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10439         gdb.ada/ref_param/pck.ads: New files.
10440         * gdb.ada/ref_param.exp: New testcase.
10441
10442 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10443
10444         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10445         gdb.ada/interface/foo.adb: New files.
10446         * gdb.ada/interface.exp: New testcase.
10447
10448 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
10449
10450         * gdb.base/multi-forks.exp: Consume all output from child
10451         processes before proceeding to next test.
10452
10453 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
10454
10455         * configure: Regenerated.
10456
10457 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10458
10459         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10460         gdb.ada/fixed_cmp/fixed.adb: New files.
10461         * gdb.ada/fixed_cmp.exp: New testcase.
10462
10463 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10464
10465         * gdb.ada/boolean_expr.exp: New testcase.
10466
10467 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
10468
10469         * gdb.base/multi-forks.exp: Doc fix.
10470
10471 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
10472
10473         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10474         * gdb.ada/char_param.exp: Do not compile our test program with
10475         -gnata, this is unnecessary.
10476         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10477
10478 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10479
10480         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10481         gdb.ada/print_chars/foo.adb: New files.
10482         * gdb.ada/print_chars.exp: New testcase.
10483
10484 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10485
10486         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10487         gdb.ada/char_param/foo.adb: New files.
10488         * gdb.ada/char_param.exp: New testcase.
10489
10490 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
10491
10492         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10493         hard-coding source line numbers into the test.
10494         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10495         gdb_get_line_number to find.
10496
10497 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
10498
10499         * gdb.base/ptype.c (highest): New struct type.
10500         (the_highest): New variable of that type.
10501         (main): Add dummy assignment to a field of variable the_highest.
10502         * gdb.base/ptype.exp: Test type printing of our new variable.
10503
10504 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
10505
10506         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10507         and record first explicitly generated thread number.
10508         Use that thread number for thread specific watchpoint test.
10509         Add iteration number to repetitive tests.
10510
10511 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10512             Jim Blandy  <jimb@codesourcery.com>
10513
10514         * gdb.base/expand-psymtabs.c: New testcase
10515         source file.
10516         * gdb.base/expand-psymtabs.exp: New testcase
10517         expect file.
10518
10519 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
10520
10521         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10522         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10523
10524 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10525
10526         * gdb.ada/frame_args/foo.adb: New file.
10527         * gdb.ada/frame_args/pck.ads: New file.
10528         * gdb.ada/frame_args/pck.adb: New file.
10529         * gdb.ada/frame_args.exp: New testcase.
10530
10531 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10532
10533         * gdb.base/frame-args.c: New file.
10534         * gdb.base/frame-args.exp: New testcase.
10535
10536 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
10537             Joseph Myers  <joseph@codesourcery.com>
10538
10539         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10540
10541 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
10542
10543         * gdb.mi/mi-pending.exp: New.
10544         * gdb.mi/mi-pending.c: New.
10545         * gdb.mi/mi-pendshr.c: New.
10546
10547 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
10548
10549         * gdb.base/default.exp: Update expected output for 'info catch'.
10550
10551 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10552
10553         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10554         must be set to binary.
10555
10556 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10557
10558         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10559
10560 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
10561
10562         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10563         gdb.mi/mi-file-transfer.exp: New.
10564
10565 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10566
10567         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10568
10569 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
10570
10571         * gdb.trace/backtrace.exp: Fix a typo.
10572         * gdb.trace/circ.exp: Likewise.
10573         * gdb.trace/collection.exp: Likewise.
10574         * gdb.trace/limits.exp: Likewise.
10575         * gdb.trace/report.exp: Likewise.
10576         * gdb.trace/tfind.exp: Likewise.
10577         * gdb.trace/while-dyn.exp: Likewise.
10578
10579 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
10580
10581         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10582         objects of pointers that can't be dereferenced are now
10583         "noneditable".
10584
10585 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10586
10587         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10588         (target_cpu): Remove.
10589
10590 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
10591
10592         * gdb.base/ending-run.exp: Expect the list of cleared
10593         breakpoint to come in natural order, not the reversed one.
10594
10595 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
10596
10597         * gdb.mi/mi-var-child.c (do_child_deletion): New.
10598         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10599
10600 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
10601
10602         * gdb.base/printcmds.exp: New function
10603         test_printf_with_dfp.
10604
10605 2007-11-02  Doug Evans  <dje@google.com>
10606
10607         * gdb.disasm/t01_mov.s: Remove carriage returns.
10608         * gdb.disasm/t02_mova.s: Ditto.
10609         * gdb.disasm/t03_add.s: Ditto.
10610         * gdb.disasm/t04_sub.s: Ditto.
10611         * gdb.disasm/t05_cmp.s: Ditto.
10612         * gdb.disasm/t06_ari2.s: Ditto.
10613         * gdb.disasm/t07_ari3.s: Ditto.
10614         * gdb.disasm/t08_or.s: Ditto.
10615         * gdb.disasm/t09_xor.s: Ditto.
10616         * gdb.disasm/t10_and.s: Ditto.
10617         * gdb.disasm/t11_logs.s: Ditto.
10618         * gdb.disasm/t12_bit.s: Ditto.
10619         * gdb.disasm/t13_otr.s: Ditto.
10620
10621 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10622
10623         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10624
10625 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10626
10627         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10628         provide DFP support.
10629
10630 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
10631
10632         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10633         Test "set powerpc vector-abi".  Skip auto-detection tests for old
10634         toolchains.
10635
10636 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10637
10638         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10639         with [string compare].
10640
10641 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10642
10643         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10644         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10645
10646 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
10647
10648         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10649         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10650         * gdb.opt/Makefile.in: New makefile.
10651         * Makefile.in: Create new directory "gdb.opt".
10652         * configure.ac: Add "gdb.opt" directory.
10653         * configure: Regenerated.
10654
10655 2007-10-25  Doug Evans  <dje@google.com>
10656
10657         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10658         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10659
10660 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
10661             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10662
10663         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10664         Floating Point expressions.
10665         * gdb.base/dfp-test.exp: new file adding tests for Decimal
10666         Floating Point variables.
10667         * gdb.base/dfp-test.c: new file containing program with Decimal
10668         Floating variables, used by gdb.base/dfp-test.exp.
10669
10670 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
10671
10672         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10673
10674 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10675
10676         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10677         compiling test case with GCC.
10678         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10679
10680 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10681
10682         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10683         format changes.
10684
10685 2007-10-18  Michael Snyder  <msnyder@specifix.com>
10686
10687         * gdb.base/dbx.exp: Add missing "-re " operator.
10688
10689 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
10690
10691         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10692         * configure.ac: Removed trailing spaces after backslash.
10693         * gdb.modula2: New directory.
10694         * gdb.modula2/Makefile.in: New file.
10695         * gdb.modula2/unbounded-array.exp: New file.
10696         * gdb.modula2/unbounded1.c: New file.
10697
10698 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
10699
10700         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10701
10702 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
10703
10704         * gdb.base/sigstep.c (main): Add checks for
10705         return values for setitimer call.
10706         Call setitimer again with itimer = ITIMER_REAL
10707         if first call to setitimer fails.
10708
10709 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
10710
10711         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10712         of $timeout.
10713
10714 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
10715
10716         * gdb.server/server-run.exp: Test for dynamic linker symbols.
10717
10718 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
10719
10720         * lib/gdb.exp (gdb_run_cmd): Move comment outside
10721         of gdb_expect call, to avoid interruption.
10722
10723 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10724
10725         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10726         (v_unsigned_long_long, v_long_long_array)
10727         (v_signed_long_long_array, v_unsigned_long_long_array)
10728         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10729         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10730         [!NO_LONG_LONG]: New.
10731         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10732         v_long_long_member.
10733
10734         (v_long_long_func, v_signed_long_long_func)
10735         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10736         (main) [!NO_LONG_LONG]: Initialize long long variants.
10737
10738         * gdb.base/whatis.exp: If board file requests no_long_long, build
10739         test with NO_LONG_LONG defined.  Test long long, signed long long,
10740         and unsigned long long variants but only if board file doesn't
10741         disable it.
10742
10743 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
10744             Daniel Jacobowitz  <dan@codesourcery.com>
10745
10746         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10747         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10748         * configure: Regenerated.
10749         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10750         gdb.pascal/types.exp, lib/pascal.exp: New files.
10751
10752 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
10753
10754         * gdb.cp/classes.exp (do_tests): Always step to the line after the
10755         call.
10756         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10757         to return to the call.
10758         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10759         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10760         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10761         * gdb.mi/mi-until.exp (test_until): Likewise.
10762         * gdb.mi/mi2-until.exp (test_until): Likewise.
10763
10764 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
10765
10766         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10767         two-char array.
10768         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10769
10770 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
10771
10772         * gdb.threads/watchthreads.c (thread_function): Sleep between
10773         iterations.
10774         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10775         at once for S/390.  Generate matching fails and passes.
10776
10777 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
10778
10779         * gdb.mi/var-cmd.c (do_children_tests): Initialize
10780         the 'struct_declarations' variable to zeros.
10781
10782 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
10783
10784         * gdb.cp/mb-ctor.cc: New.
10785         * gdb.cp/mb-ctor.exp: New.
10786         * gdb.cp/mb-templates.cc: New.
10787         * gdb.cp/mb-templates.exp: New.
10788
10789 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
10790
10791         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10792
10793 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
10794
10795         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10796         targets.
10797         * configure: Regenerate.
10798
10799 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
10800
10801         * gdb.base/annota1.exp: Adjust for 'info break'
10802         format changes.
10803         * gdb.base/annota3.exp: Likewise.
10804         * gdb.base/break.exp: Likewise.
10805         * gdb.base/condbreak.exp: Likewise.
10806         * gdb.base/pending.exp: Likewise.
10807         * gdb.base/sepdebug.exp: Likewise.
10808         * gdb.base/unload.exp: Likewise.
10809         * gdb.base/ovldbreak.exp: Likewise.
10810
10811 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
10812
10813         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10814         messages.
10815         * gdb.base/chng-syms.exp: Likewise.
10816         * gdb.base/unload.exp: Likewise.
10817
10818 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
10819
10820         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10821
10822 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
10823
10824         * schedlock.c (NUM): Change to 1.
10825         (main): Use args[0] for the main thread.
10826         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
10827         regardless of the number of threads.
10828
10829 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10830
10831         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10832         type down.
10833         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10834         test.
10835         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10836         watchpoint type down.
10837         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10838         test.
10839
10840 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10841
10842         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10843         Move all the tests here and run them twice, once using software
10844         watchpoints and once using hardware watchpoints.
10845         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10846
10847 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
10848
10849         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10850         test.
10851
10852 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
10853
10854         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10855         build-id.
10856
10857         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10858         know about $ORIGIN.  Calculate output dir from $dest instead of
10859         using ${objdir}/{$subdir}.
10860
10861 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
10862
10863         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10864         gcore, before continuing with the test.
10865
10866 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
10867
10868         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10869         * gdb.mi/mi-watch.exp: Likewise.
10870
10871 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10872             Jim Blandy  <jimb@codesourcery.com>
10873
10874         * gdb.arch/i386-sse.exp: Do not expect character constants.
10875         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10876         * gdb.base/display.exp: Allow print/s.
10877         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10878         and unsigned char array changes.
10879
10880 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10881
10882         * gdb.base/display.exp: Add tests for printf %p.
10883
10884 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
10885
10886         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10887         the dll name to unicode.
10888
10889 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10890
10891         * gdb.base/default.exp (show version): Update the version text.
10892         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10893
10894 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10895
10896         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10897         New files.
10898
10899 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10900
10901         * lib/gdb.exp (build_id_debug_filename_get): New function.
10902         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10903         Remove the generate DEBUG file for the future testcase runs.
10904         New testcase for the NT_GNU_BUILD_ID retrieval.
10905         Move the final testing step to ...
10906         (test_different_dir): ... a new function.
10907         New parameter XFAIL to XFAIL all the tests performed.
10908         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10909         New parameter TYPE to PF_PREFIX all the tests performed.
10910
10911 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
10912
10913         * gdb.mi/mi-var-cp.cc (path_expression): New
10914         function.
10915         * gdb.mi/mi-var-cp.exp: Run path exression tests.
10916
10917 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
10918
10919         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10920         to fit into SPU Local Store memory.
10921
10922 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10923
10924         * gdb.base/default.exp: Adjust the expected output of "info
10925         warranty" after the switch to GPLv3.
10926
10927 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10928
10929         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10930         to 30000 (from 20000).
10931
10932 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10933
10934         Switch the license of all .exp files to GPLv3.
10935         Switch the license of all .f and .f90 files to GPLv3.
10936         Switch the license of all .s and .S files to GPLv3.
10937
10938 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10939
10940         * configure.ac: Switch license to GPLv3.
10941
10942 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10943
10944         Switch the licensing to GPLv3 for all .ads and .adb files.
10945
10946 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
10947
10948         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10949         and t_int_double.
10950         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10951
10952 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10953
10954         * gdb.base/step-line.c: Switch license to GPL version 3, and
10955         update copyright year.
10956         * gdb.base/step-line.inp: Likewise.
10957
10958 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10959
10960         * gdb.base/gdb1555.exp: Make expected output immune to formatting
10961         changes inside gdb1555.c.
10962         * gdb.base/pending.exp: Likewise.
10963
10964 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
10965
10966         * config/default.exp: New file.
10967
10968 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10969
10970         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10971         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10972
10973 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
10974
10975         * gdb.base/dump.exp: Force the correct endianness for binary
10976         formats not carrying this information.
10977
10978 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10979
10980         * gdb.threads/staticthreads.exp: Match .*sem_post.
10981
10982 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10983
10984         * gdb.base/readline.exp (operate_and_get_next): Match the final
10985         prompt.
10986
10987 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
10988
10989         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10990         to restarting SID.
10991
10992 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10993
10994         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10995         prior to `gdb_start'.
10996
10997 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
10998
10999         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
11000         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11001         Remove call to gdb_unload.
11002
11003 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
11004             Daniel Jacobowitz  <dan@codesourcery.com>
11005
11006         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11007         for __WIN32__.
11008         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
11009         * gdb.base/unload.exp: Use shared library test routines.
11010
11011 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
11012
11013         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11014         * gdb.base/solib-symbol-lib.c: Likewise.
11015         * gdb.base/solib-symbol-main.c: Likewise.
11016
11017 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
11018
11019         * config/gdbserver.exp (gdb_reconnect): New.
11020         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11021         gdb.base/solib-disc.exp: New files.
11022         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11023         remote debugging".
11024         (gdb_compile): Add shlib_load flag.
11025         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11026         port.
11027         (gdbserver_reconnect): New.
11028
11029 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
11030             Daniel Jacobowitz  <dan@codesourcery.com>
11031
11032         * gdb.base/annota3.exp: Test for if construct.
11033
11034 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
11035
11036         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11037
11038 2007-06-21  Chris Dearman  <chris@mips.com>
11039             Maciej W. Rozycki  <macro@mips.com>
11040
11041         * gdb.base/display.exp: Allow a newline after display/i.
11042         * gdb.base/pc-fp.exp: Likewise.
11043         * gdb.base/sigbpt.exp: Likewise.
11044
11045 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
11046
11047         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
11048         required features to be included.
11049
11050 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
11051
11052         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11053         in info threads output.
11054
11055 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11056             Markus Deuling  <deuling@de.ibm.com>
11057
11058         * gdb.arch/spu-info.exp: New testcase.
11059         * gdb.arch/spu-info.c: New file.
11060
11061 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
11062
11063         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11064         tpcs_offset.  Restore lr after the call.
11065         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11066
11067 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
11068
11069         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11070         (gdbserver_run): Kill any running gdbserver.
11071         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11072
11073 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
11074
11075         * gdb.base/sigbpt.exp: Preset segv_addr.
11076
11077 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
11078
11079         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11080         (gdb_compile_shlib): Likewise.
11081         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11082         (default_gdb_init): Clear cleanfiles.
11083         (gdb_finish): Delete recorded cleanfiles.
11084         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11085
11086         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11087         Do not use isnative.
11088         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11089         gdb.base/so-impl-ld.exp: Likewise.
11090         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
11091         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
11092         gdb_compile.
11093
11094 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
11095
11096         * config/unknown.exp: Remove.
11097
11098 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
11099
11100         * gdb.base/info-proc.exp: Check is_remote.
11101
11102 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
11103
11104         * gdb.base/gcore.exp: Initialize variable core_supported.
11105
11106 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11107
11108         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11109
11110 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11111
11112         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11113         * gdb.threads/print-threads.exp (test_all_threads): Allow
11114         negative and hexadecimal thread IDs.
11115
11116 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11117
11118         * gdb.java/jprint.java (public): Avoid invalid call to static
11119         method.
11120
11121 2007-05-14  Denis Pilat  <denis.pilat@st.com>
11122
11123         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11124         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11125         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11126         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11127         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11128
11129 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11130
11131         * gdb.base/overlays.exp: Add support for targets with only code
11132         overlay support, not data overlay.  Support spu-*-* target in
11133         this mode.
11134         * gdb.base/ovlymgr.c: Provide stubs for spu target.
11135         * gdb.base/spu.ld: New file.
11136
11137 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
11138
11139         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11140
11141 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
11142
11143         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11144
11145 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
11146
11147         * gdb.java/jmain.exp: Handle demangled names with and without method
11148         signatures.
11149
11150 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
11151
11152         * gdb.mi/mi-syn-frame.c (main, foo, bar)
11153         (have_a_very_merry_interrupt): Remove calls to puts.
11154         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11155         inferior output.
11156         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
11157         test names.
11158
11159 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
11160             Daniel Jacobowitz  <dan@codesourcery.com>
11161
11162         * gdb.base/auxv.exp (core_works): Also check is_remote.
11163         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11164
11165 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
11166
11167         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11168         message, not the undefined 'module' variable.
11169         * gdb.base/siginfo.exp: Likewise.
11170         * gdb.base/sigstep.exp: Likewise.
11171         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11172         serialport.
11173         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11174
11175 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
11176
11177         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11178         target sim fails.  Return 0 otherwise.
11179         (gdb_load): Return prematurely if gdb_target_sim fails.
11180
11181 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11182
11183         * gdb.base/setshow.exp: Reset height after having set it to 100.
11184
11185 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11186
11187         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11188
11189 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11190
11191         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11192
11193 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
11194
11195         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11196         tests. Run the frozen varobjs test.
11197         * gdb.mi/var-cmd.c (do_frozen_tests): New.
11198         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
11199
11200 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11201
11202         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11203         gdb.base/type-opaque.exp: New files.
11204
11205 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
11206
11207         * gdb.mi/mi-var-child.c
11208         (do_children_tests): User char[2] instead of
11209         char so that automatic printing of pointers to char
11210         don't give unpredicable result.
11211         * gdb.mi/var-cmd.c (do_locals_test): Initialize
11212         local variables.
11213         * gdb.mi/mi-var-child.exp: Step to right line
11214         of do_children_tests.
11215         * gdb.mi/mi2-var-child.exp: Likewise.
11216         * gdb.mi/mi-var-cmd.exp: Step to right line of
11217         do_locals_tests.
11218         (do_children_tests): User char[2] instead of
11219         char so that automatic printing of pointers to char
11220         don't give unpredicable result.
11221         * gdb.mi/mi2-var-cmd.exp: Likewise.
11222         * lib/mi-support.exp (mi_continue_to_line):
11223         Pass test name to mi_wait_for_stop.
11224
11225 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11226
11227         * gdb.asm/asm-source.exp: Remove d10v case.
11228         * lib/gdb.exp (skip_cplus_tests): Likewise.
11229         * gdb.asm/d10v.inc: Deleted.
11230
11231 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11232
11233         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11234
11235 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11236
11237         * config/netware.exp: Delete file.
11238
11239 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
11240
11241         * gdb.dwarf2/dw2-noloc.S: New file.
11242         * gdb.dwarf2/dw2-noloc.exp: New file.
11243
11244 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
11245
11246         * gdb.cp/method2.cc: New test.
11247         * gdb.cp/method2.exp: New test.
11248         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11249
11250 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
11251
11252         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11253
11254 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
11255
11256         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11257
11258 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
11259
11260         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11261         (gdb_load): Delete, replace with...
11262         (gdb_reload): ...this.
11263         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11264         * gdb.server/server-mon.exp: Likewise.
11265         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11266         (gdb_start_cmd): New.
11267         (gdb_file_cmd): Save the last loaded file.
11268         (gdb_reload): New.
11269         (gdb_gnu_strip_debug): Use transform.
11270         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11271         support here.  Use new $last_loaded_file.  Check mtime.
11272         (gdb_target_cmd): Handle ObjC failure case.
11273         (infer_host_exec): Delete.
11274         (gdbserver_load): Rename to...
11275         (gdbserver_run): ...this.  Simplify.
11276         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11277         (mi_gdb_load): Move most contents to a new function...
11278         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
11279         (mi_run_cmd): Use mi_gdb_target_load.
11280         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11281         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11282         Use gdb_run_cmd.
11283         * gdb.base/charsign.exp: Remove incorrect comment.
11284         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11285         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11286         gdb.base/start.exp: Use gdb_start_cmd.
11287
11288 2007-03-23  Nigel Stephens  <nigel@mips.com>
11289             Maciej W. Rozycki  <macro@mips.com>
11290
11291         * gdb.base/sigbpt.exp: Fix the message when skipping test.
11292         * gdb.base/signull.exp: Similarly.
11293
11294 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11295
11296         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11297         messages available to test cases (like chng-sym.exp).
11298
11299 2007-03-14  Andreas Schwab  <schwab@suse.de>
11300
11301         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11302         format changes.
11303
11304 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
11305
11306         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11307         (optimized_1): New.
11308         (main): Call optimized_1.
11309         (gdb2029): Correct typos.  Call gdb2029_marker.
11310         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
11311         for gdb2029.
11312
11313 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
11314
11315         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11316         as tabs.  Remove redundant test pattern.
11317
11318 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11319
11320         * gdb.base/long_long.exp: Accept optional symbol name in <...>
11321         for /a format output.
11322
11323 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
11324
11325         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11326         collect output incrementally.
11327
11328 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11329
11330         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11331         for -var-create lpcharacter test.
11332         * gdb.mi/mi2-var-cmd.exp: Likewise.
11333
11334 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11335
11336         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11337         pass on targets where address zero is readable.
11338
11339 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11340
11341         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11342         just a single architecture.
11343
11344 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11345
11346         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11347         (fetch_all_registers): New function, uses gdb_test_multiple and
11348         exp_continue to fetch inferior output line-by-line.
11349         Replace all uses of do_get_all_registers by fetch_all_registers.
11350
11351 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11352
11353         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11354         in target_info.
11355
11356 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11357
11358         * gdb.threads/manythreads.exp: Use $message string for
11359         consistancy; add a default (timeout) case.
11360
11361 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11362
11363         * gdb.base/watchpoint.exp: Fix truncated comment.
11364
11365 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11366
11367         * Makefile.in: Remove spurious single-quotes from sed command.
11368
11369 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
11370
11371         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
11372         func.
11373         * gdb.mi/mi2-var-cmd.exp: Likewise.
11374
11375 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11376
11377         * gdb.dwarf2/dw2-producer.S: New file.
11378         * gdb.dwarf2/dw2-producer.exp: New testcase.
11379
11380 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
11381
11382         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11383         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11384         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11385         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11386         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11387         Revert tests to use mi_gdb_test and include value field in output
11388         of -var-create.
11389
11390 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11391
11392         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11393
11394 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11395
11396         * gdb.base/maint.exp: Remove full paths from test names.
11397         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11398         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11399
11400 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11401
11402         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11403
11404 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11405
11406         * gdb.server/server-mon.exp: New test.
11407
11408 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11409
11410         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11411
11412 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11413
11414         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11415         register capitalization.
11416
11417 2007-02-13  Denis Pilat  <denis.pilat@st.com>
11418
11419         * gdb.mi/mi-var-invalidate.exp: New file.
11420
11421 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11422
11423         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11424
11425 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11426
11427         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11428
11429 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11430
11431         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11432         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11433
11434 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
11435
11436         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11437         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11438         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11439         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11440         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11441         * gdb.mi/gdb792.exp, lib/mi-support.exp:
11442         Update tests to include value field in output of -var-create.
11443
11444 2007-02-08  Andreas Schwab  <schwab@suse.de>
11445
11446         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11447
11448 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
11449
11450         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11451         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11452
11453 2007-02-02  Denis Pilat  <denis.pilat@st.com>
11454
11455         * gdb.threads/threadapply.exp: check that frame is not changed by
11456         the thread apply all command.
11457
11458 2007-01-31  Andreas Schwab  <schwab@suse.de>
11459
11460         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11461
11462         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11463         in the dwarf sections.
11464         * gdb.dwarf2/mac-fileno.S: Likewise.
11465
11466         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11467         bspstore register on ia64.
11468
11469 2007-01-29  Andreas Schwab  <schwab@suse.de>
11470
11471         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11472         "frame-begin" annotation.
11473
11474         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11475         number of "frames-invalid" annotations.
11476
11477 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11478
11479         * gdb.base/commands.exp: Call if_commands_test.
11480         (gdb_test_no_prompt, if_commands_test): New.
11481
11482 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
11483
11484         * gdb.threads/sigthread.c (NSIGS): Make bigger.
11485
11486 2007-01-27  Andreas Schwab  <schwab@suse.de>
11487
11488         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11489         .short/.int/.quad in the dwarf sections.
11490         * gdb.dwarf2/dw2-intercu.S: Likewise.
11491         * gdb.dwarf2/dw2-intermix.S: Likewise.
11492
11493 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
11494
11495         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
11496         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11497         array.
11498         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11499         * gdb.base/setvar.exp: Likewise.
11500
11501 2007-01-26  Andreas Schwab  <schwab@suse.de>
11502
11503         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11504         test.
11505
11506         * gdb.base/multi-forks.exp ("restart $i"): Also match
11507         __kernel_syscall_via_break.
11508
11509 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
11510
11511         * lib/mi-support.exp (mi_delete_varobj): New.
11512         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11513         testcase.
11514         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11515         (main): Call the above.
11516         (reference_update_test, base_in_reference_test)
11517         (reference_to_pointer): Delete the created varobjs.
11518
11519 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
11520
11521         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11522         * configure: Regenerated.
11523         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11524         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11525         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11526         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11527         * lib/gdb.exp (gdb_skip_xml_test): New function.
11528
11529 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
11530
11531         * gdb.base/sigrepeat.exp: Correct error message.
11532
11533 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11534             Daniel Jacobowitz  <dan@codesourcery.com>
11535
11536         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11537         gdb.arch/i386-gnu-cfi-asm.S: New files.
11538
11539 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11540
11541         * lib/gdb.exp: Abort on missing `site.exp'.
11542
11543 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11544             Daniel Jacobowitz  <dan@codesourcery.com>
11545
11546         * gdb.base/included.c, gdb.base/included.exp,
11547         gdb.base/included.h: New files.
11548
11549 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
11550
11551         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11552         (maximize_rlimit): Reduce limits on 64-bit systems.
11553
11554 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
11555
11556         From Marcus Deuling <deuling@de.ibm.com>:
11557         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11558         every case.
11559
11560 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
11561
11562         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11563         (test_path_specification): Use objdir instead of srcdir to always
11564         get an absolute filename.
11565
11566 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
11567
11568         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11569
11570 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
11571
11572         * gdb.mi/mi-var-cp.cc (reference_update_tests):
11573         Make sure the variable we're using is in scope.
11574         (reference_to_pointer): Likewise.
11575
11576 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11577
11578         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11579         has no debug information.
11580
11581 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11582
11583         * gdb.base/annota1.exp: Remove extra send_gdb.
11584
11585 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11586
11587         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11588
11589 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11590
11591         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11592
11593 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
11594             Daniel Jacobowitz  <dan@codesourcery.com>
11595
11596         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11597         lcharacter or linteger change.  Correct duplicated test name.
11598         * gdb.mi/mi2-var-cmd.exp: Likewise.
11599
11600 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
11601
11602         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11603
11604 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
11605
11606         * gdb.base/nofield.c: New file.
11607         * gdb.base/nofield.exp: New testcase.
11608
11609 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
11610
11611         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11612
11613         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11614          test.
11615
11616 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11617
11618         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11619
11620 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11621
11622         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11623         when continuing.
11624
11625 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11626
11627         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11628         Expect ".exe" extension.
11629
11630 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11631
11632         * gdb.base/charset.exp: Add explicit filename to break.
11633         * gdb.base/dbx.exp: Add explicit filename to breaks.
11634
11635 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11636
11637         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11638         * gdb.mi/mi2-file.exp: Likewise.
11639
11640 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11641
11642         Implement specification of MI tests as comments
11643         in C and C++ sources.
11644         * lib/mi-support.exp (mi_autotest_data): New variable.
11645         (mi_autotest_source): New variable.
11646         (count_newlines, mi_prepare_inline_tests)
11647         (mi_get_inline_test, mi_continue_to_line)
11648         (mi_run_inline_test, mi_tbreak)
11649         (mi_send_resuming_command, mi_wait_for_stop): New functions.
11650         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11651         Run inline tests.
11652         * gdb.mi/mi-var-cp.cc: Define tests here.
11653
11654 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11655
11656         Simplify usage of mi_continue_to.
11657         * lib/mi-support.exp (mi_runto_helper): Renamed
11658         from mi_runto, added new parameter 'run_or_continue'.
11659         (mi_runto): Use mi_runto_helper.
11660         (mi_continue_to): Accept just function name as parameter.
11661         Use mi_runto_helper.
11662         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11663         * gdb.mi/mi2-var-cmd.exp: Likewise.
11664
11665 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11666
11667         Make this testcase a bit more realistic. The current code
11668         is too simplistic, and allows the compiler to optimize out
11669         some of the entities we need for this testcase.
11670         * gdb.ada/null_record/bar.ads (Void_Star): New type.
11671         (Do_Nothing): Add extra parameter.
11672         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11673         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11674         by using a variable of type Void_Star.
11675
11676 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11677
11678         * gdb.ada/catch_ex/foo.adb: New file.
11679         * gdb.ada/catch_ex.exp: New testcase.
11680
11681 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
11682
11683         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11684         pass --image-base to linker.
11685
11686 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11687             Daniel Jacobowitz  <dan@codesourcery.com>
11688
11689         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
11690         secondary prompts.
11691
11692 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11693
11694         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11695         output.  Test the types of members and member pointers.
11696         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11697         gdb/2092.
11698         * gdb.cp/member-ptr.exp: Search for a comment instead of a
11699         statement.  Enable for GCC.  Update expected output for some tests
11700         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
11701         layout.
11702         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11703         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11704         (Diamond::vget_base): New.
11705         (main): Add new tests.
11706         * gdb.cp/printmethod.exp: Update expected output for member functions.
11707         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11708         print pEe->D::vg().
11709
11710 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11711
11712         * gdb.threads/tls.exp: Allow stops in sem_post.
11713
11714 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
11715
11716         * gdb.base/annota1.exp: Allow .*printf in backtraces.
11717         * gdb.base/annota3.exp: Likewise.
11718         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11719         again (instead of timing out).
11720         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11721         GCC bug 26475.
11722         * gdb.java/jmisc.exp: Adjust to work with method signatures including
11723         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
11724         test from jmisc1.exp.
11725         * gdb.java/jmisc1.exp: Delete.
11726         * gdb.java/jprint.exp: Adjust to work with method signatures including
11727         return types.
11728         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11729         * gdb.threads/linux-dp.exp: Don't be confused by program output.
11730         * lib/java.exp (compile_java_from_source): Pass the correct type
11731         to target_compile.
11732
11733 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
11734
11735         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11736         (stack_align_edx): New function.
11737         (stack_align_eax): New function.
11738         (main): Add calls to stack_align_edx and stack_align_eax.
11739         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11740         Add testing for the cases where the register used during a stack
11741         realignment is edx. Same for eax.
11742
11743 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11744
11745         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11746         and generic PE targets.
11747
11748 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
11749
11750         * gdb.ada/array_return.exp: Update copyright date list.
11751
11752 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
11753
11754         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11755         (Create_Small_Float_Vector): New function.
11756         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11757         function body.
11758         * gdb.ada/array_return/p.adb: Use new type and function from
11759         package Pck.
11760         * gdb.ada/array_return.exp: Add a test verifying that GDB is
11761         able to print the value returned by a function returning an
11762         array of float.
11763
11764 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
11765
11766         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11767         The associated tests should be PASSing.
11768
11769 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11770
11771         Test for base in references.
11772         * gdb.mi/mi-var-cp.cc: Add test code.
11773         * gdb.mi/mi-var-cp.exp: Test for bases in references.
11774         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11775         * gdb.mi/mi2-watch.exp: Likewise.
11776         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11777         (mi_list_varobj_children): New function.
11778
11779 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11780
11781         * lib/mi-support.exp
11782         (mi_runto): Accept "()" after function name.
11783         (mi_create_varobj): New function.
11784         (mi_varobj_update): New function.
11785         (mi_Check_varobj_value): New function.
11786         * gdb.mi/mi-var-cp.exp: New file.
11787         * gdb.mi/mi-var-cp.cc: New file.
11788
11789 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
11790
11791         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11792         gdb.base/weaklib2.c: New files.
11793
11794 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
11795
11796         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11797         info.  Adjust test names.
11798
11799         * gdb.base/break.c (main): Move position of malloc.
11800         * gdb.base/break.exp: Revert mistaken checkin.
11801
11802 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
11803
11804         * gdb.mi/mi-var-cmd.exp: Check -var-update after
11805         assignement of arrays and function pointers.
11806         * gdb.mi/var-cmd.c: Add declaration necessary for above
11807         tests.
11808
11809 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11810
11811         * gdb.base/break.c (main): Call malloc.
11812
11813         * gdb.threads/linux-dp.exp: Read thread table before and after
11814         creating each philosopher and verify it.
11815
11816 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11817             Paul Brook  <paul@codesourcery.com>
11818             Daniel Jacobowitz  <dan@codesourcery.com>
11819
11820         * gdb.base/ending-run.exp: Flatten expect script stepping out of
11821         main to remove duplication.  Add start function of the form
11822         '_*start[1-9]*'. Add RVDS start function.
11823
11824 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11825
11826         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11827
11828 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11829
11830         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11831         * gdb.asm/spu.inc: New file.
11832         * gdb.base/term.exp: Disable if [target_info exists noargs].
11833         * gdb.gdb/complaints.exp: Disable if ![isnative].
11834         * gdb.gdb/selftest.exp: Likewise.
11835         * gdb.gdb/observer.exp: Likewise.
11836         * gdb.gdb/xfullpath.exp: Likewise.
11837         * gdb.base/attach.exp: Disable on SPU target.
11838         * gdb.cp/bs145503.exp: Likewise.
11839         * gdb.cp/exception.exp: Likewise.
11840         * gdb.cp/userdef.exp: Likewise.
11841
11842 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11843
11844         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11845
11846 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
11847
11848         * gdb.base/completion.exp: Fix completion tests for
11849         'info' and 'info '.
11850         * gdb.base/help.exp (help_test_raw, test_class_help)
11851         (test_prefix_command_help): Move...
11852         * lib/gdb.exp: Here.
11853         * gdb.base/main.exp: Adjust.
11854         * gdb.cp/maint.exp: Adjust.
11855         * gdb.trace/tracecmd.exp: Use test_help_class.
11856
11857 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11858
11859         * gdb.stabs/weird.exp (print_weird_var): Use
11860         gdb_test_multiple instead of gdb_expect.
11861
11862 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11863
11864         * gdb.base/help.exp (help_test_raw): New.
11865         (test_class_help): New.
11866         (test_prefix_command_help): New.
11867         Adjust testcases.
11868
11869 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
11870
11871         * gdb.base/constvars.c (main): Write to crass and crips, so that
11872         they are allocated by the compiler.
11873
11874 2006-10-27  Andreas Schwab  <schwab@suse.de>
11875
11876         * gdb.base/multi-forks.exp: Use "detach fork" instead of
11877         "detach-fork".
11878
11879 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
11880
11881         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11882         of patterns.
11883
11884 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11885
11886         * gdb.base/sepdebug.exp: Remove debug format test.
11887         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11888         Handle no-symtab.
11889         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11890
11891 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11892
11893         * gdb.threads/manythreads.c (thread_function, main): Don't cast
11894         int to pointer or pointer to int.
11895         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11896
11897 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
11898
11899         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11900
11901 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11902
11903         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11904
11905 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
11906
11907         PR c++/2116
11908         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11909
11910 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11911
11912         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11913         the corresponding bug has been fixed in GDB (PR/2018).
11914
11915 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11916
11917         * gdb.base/subst.exp: New testcase.
11918
11919 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11920
11921         * gdb.ada/array_return/pck.ads: Add copyright notice.
11922         * gdb.ada/array_return/pck.adb: Likewise.
11923         * gdb.ada/array_return/p.adb: Likewise.
11924         * gdb.ada/exec_changed/first.adb: Likewise.
11925         * gdb.ada/exec_changed/second.adb: Likewise.
11926
11927 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11928
11929         * gdb.ada/watch_arg/watch.adb: New file.
11930         * gdb.ada/watch_arg.exp: New testcase.
11931
11932 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
11933
11934         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11935         via string_to_regexp.
11936         * gdb.mi/mi2-basics.exp: Likewise.
11937
11938 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
11939
11940         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11941         Remove unused / obsolete files.
11942
11943 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
11944
11945         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11946
11947 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
11948
11949         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11950         HIGH_FRAME argument to -stack-list-arguments can be larger than
11951         the number of frames.
11952
11953 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
11954
11955         * gdb.base/args.c (main): Add breakpoint marker.
11956         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
11957         really test empty arguments.
11958         (args_load): Delete.
11959         (args_test): New.
11960
11961 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
11962
11963         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11964         check for one file.
11965
11966 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
11967
11968         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11969         HIGH_FRAME argument to -stack-list-locals can be larger than
11970         the number of frames.
11971
11972 2006-08-18  Fred Fish  <fnf@specifix.com>
11973
11974         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11975         '$' in front of skip_vmx_tests_saved when setting that.
11976
11977 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
11978
11979         * gdb.base/trace-commands.exp: New file.
11980
11981 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
11982             Daniel Jacobowitz  <dan@codesourcery.com>
11983
11984         * gdb.base/step-bt.exp: Make hexadecimal address optional in
11985         expected output of the backtrace commands.
11986
11987 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
11988
11989         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11990         untested followed by return combination.
11991         * gdb.arch/altivec-regs.exp: Likewise.
11992         * gdb.arch/e500-abi.exp: Likewise.
11993         * gdb.arch/e500-regs.exp: Likewise.
11994         * gdb.arch/gdb1291.exp: Likewise.
11995         * gdb.arch/gdb1431.exp: Likewise.
11996         * gdb.arch/gdb1558.exp: Likewise.
11997         * gdb.arch/i386-prologue.exp: Likewise.
11998         * gdb.arch/i386-unwind.exp: Likewise.
11999         * gdb.asm/asm-source.exp: Likewise.
12000         * gdb.base/a2-run.exp: Likewise.
12001         * gdb.base/advance.exp: Likewise.
12002         * gdb.base/all-bin.exp: Likewise.
12003         * gdb.base/annota1.exp: Likewise.
12004         * gdb.base/annota3.exp: Likewise.
12005         * gdb.base/args.exp: Likewise.
12006         * gdb.base/arithmet.exp: Likewise.
12007         * gdb.base/assign.exp: Likewise.
12008         * gdb.base/async.exp: Likewise.
12009         * gdb.base/attach.exp: Likewise.
12010         * gdb.base/bang.exp: Likewise.
12011         * gdb.base/bigcore.exp: Likewise.
12012         * gdb.base/bitfields.exp: Likewise.
12013         * gdb.base/bitfields2.exp: Likewise.
12014         * gdb.base/break.exp: Likewise.
12015         * gdb.base/call-sc.exp: Likewise.
12016         * gdb.base/call-strs.exp: Likewise.
12017         * gdb.base/callfuncs.exp: Likewise.
12018         * gdb.base/checkpoint.exp: Likewise.
12019         * gdb.base/chng-syms.exp: Likewise.
12020         * gdb.base/code-expr.exp: Likewise.
12021         * gdb.base/commands.exp: Likewise.
12022         * gdb.base/completion.exp: Likewise.
12023         * gdb.base/cond-expr.exp: Likewise.
12024         * gdb.base/condbreak.exp: Likewise.
12025         * gdb.base/consecutive.exp: Likewise.
12026         * gdb.base/constvars.exp: Likewise.
12027         * gdb.base/corefile.exp: Likewise.
12028         * gdb.base/cvexpr.exp: Likewise.
12029         * gdb.base/dbx.exp: Likewise.
12030         * gdb.base/define.exp: Likewise.
12031         * gdb.base/detach.exp: Likewise.
12032         * gdb.base/display.exp: Likewise.
12033         * gdb.base/dump.exp: Likewise.
12034         * gdb.base/ena-dis-br.exp: Likewise.
12035         * gdb.base/ending-run.exp: Likewise.
12036         * gdb.base/environ.exp: Likewise.
12037         * gdb.base/eval-skip.exp: Likewise.
12038         * gdb.base/exprs.exp: Likewise.
12039         * gdb.base/fileio.exp: Likewise.
12040         * gdb.base/finish.exp: Likewise.
12041         * gdb.base/float.exp: Likewise.
12042         * gdb.base/foll-exec.exp: Likewise.
12043         * gdb.base/foll-fork.exp: Likewise.
12044         * gdb.base/foll-vfork.exp: Likewise.
12045         * gdb.base/freebpcmd.exp: Likewise.
12046         * gdb.base/funcargs.exp: Likewise.
12047         * gdb.base/gcore.exp: Likewise.
12048         * gdb.base/gdb1090.exp: Likewise.
12049         * gdb.base/gdb1250.exp: Likewise.
12050         * gdb.base/huge.exp: Likewise.
12051         * gdb.base/info-proc.exp: Likewise.
12052         * gdb.base/interrupt.exp: Likewise.
12053         * gdb.base/jump.exp: Likewise.
12054         * gdb.base/langs.exp: Likewise.
12055         * gdb.base/lineinc.exp: Likewise.
12056         * gdb.base/list.exp: Likewise.
12057         * gdb.base/logical.exp: Likewise.
12058         * gdb.base/long_long.exp: Likewise.
12059         * gdb.base/macscp.exp: Likewise.
12060         * gdb.base/maint.exp: Likewise.
12061         * gdb.base/mips_pro.exp: Likewise.
12062         * gdb.base/miscexprs.exp: Likewise.
12063         * gdb.base/multi-forks.exp: Likewise.
12064         * gdb.base/opaque.exp: Likewise.
12065         * gdb.base/overlays.exp: Likewise.
12066         * gdb.base/pc-fp.exp: Likewise.
12067         * gdb.base/pointers.exp: Likewise.
12068         * gdb.base/printcmds.exp: Likewise.
12069         * gdb.base/psymtab.exp: Likewise.
12070         * gdb.base/ptype.exp: Likewise.
12071         * gdb.base/recurse.exp: Likewise.
12072         * gdb.base/relational.exp: Likewise.
12073         * gdb.base/relocate.exp: Likewise.
12074         * gdb.base/remote.exp: Likewise.
12075         * gdb.base/reread.exp: Likewise.
12076         * gdb.base/restore.exp: Likewise.
12077         * gdb.base/return.exp: Likewise.
12078         * gdb.base/return2.exp: Likewise.
12079         * gdb.base/scope.exp: Likewise.
12080         * gdb.base/sect-cmd.exp: Likewise.
12081         * gdb.base/sep.exp: Likewise.
12082         * gdb.base/sepdebug.exp: Likewise.
12083         * gdb.base/setshow.exp: Likewise.
12084         * gdb.base/setvar.exp: Likewise.
12085         * gdb.base/sigall.exp: Likewise.
12086         * gdb.base/sigbpt.exp: Likewise.
12087         * gdb.base/signals.exp: Likewise.
12088         * gdb.base/signull.exp: Likewise.
12089         * gdb.base/sizeof.exp: Likewise.
12090         * gdb.base/solib.exp: Likewise.
12091         * gdb.base/step-line.exp: Likewise.
12092         * gdb.base/step-test.exp: Likewise.
12093         * gdb.base/structs.exp: Likewise.
12094         * gdb.base/structs2.exp: Likewise.
12095         * gdb.base/term.exp: Likewise.
12096         * gdb.base/twice.exp: Likewise.
12097         * gdb.base/until.exp: Likewise.
12098         * gdb.base/varargs.exp: Likewise.
12099         * gdb.base/volatile.exp: Likewise.
12100         * gdb.base/watchpoint.exp: Likewise.
12101         * gdb.base/whatis-exp.exp: Likewise.
12102         * gdb.base/whatis.exp: Likewise.
12103         * gdb.cp/ambiguous.exp: Likewise.
12104         * gdb.cp/annota2.exp: Likewise.
12105         * gdb.cp/annota3.exp: Likewise.
12106         * gdb.cp/bool.exp: Likewise.
12107         * gdb.cp/breakpoint.exp: Likewise.
12108         * gdb.cp/casts.exp: Likewise.
12109         * gdb.cp/class2.exp: Likewise.
12110         * gdb.cp/classes.exp: Likewise.
12111         * gdb.cp/cplusfuncs.exp: Likewise.
12112         * gdb.cp/ctti.exp: Likewise.
12113         * gdb.cp/derivation.exp: Likewise.
12114         * gdb.cp/exception.exp: Likewise.
12115         * gdb.cp/gdb1355.exp: Likewise.
12116         * gdb.cp/hang.exp: Likewise.
12117         * gdb.cp/inherit.exp: Likewise.
12118         * gdb.cp/local.exp: Likewise.
12119         * gdb.cp/m-data.exp: Likewise.
12120         * gdb.cp/m-static.exp: Likewise.
12121         * gdb.cp/member-ptr.exp: Likewise.
12122         * gdb.cp/method.exp: Likewise.
12123         * gdb.cp/misc.exp: Likewise.
12124         * gdb.cp/namespace.exp: Likewise.
12125         * gdb.cp/overload.exp: Likewise.
12126         * gdb.cp/ovldbreak.exp: Likewise.
12127         * gdb.cp/pr-1023.exp: Likewise.
12128         * gdb.cp/pr-1210.exp: Likewise.
12129         * gdb.cp/pr-574.exp: Likewise.
12130         * gdb.cp/printmethod.exp: Likewise.
12131         * gdb.cp/psmang.exp: Likewise.
12132         * gdb.cp/ref-params.exp: Likewise.
12133         * gdb.cp/ref-types.exp: Likewise.
12134         * gdb.cp/rtti.exp: Likewise.
12135         * gdb.cp/templates.exp: Likewise.
12136         * gdb.cp/try_catch.exp: Likewise.
12137         * gdb.cp/userdef.exp: Likewise.
12138         * gdb.cp/virtfunc.exp: Likewise.
12139         * gdb.disasm/am33.exp: Likewise.
12140         * gdb.disasm/h8300s.exp: Likewise.
12141         * gdb.disasm/mn10300.exp: Likewise.
12142         * gdb.disasm/sh3.exp: Likewise.
12143         * gdb.disasm/t01_mov.exp: Likewise.
12144         * gdb.disasm/t02_mova.exp: Likewise.
12145         * gdb.disasm/t03_add.exp: Likewise.
12146         * gdb.disasm/t04_sub.exp: Likewise.
12147         * gdb.disasm/t05_cmp.exp: Likewise.
12148         * gdb.disasm/t06_ari2.exp: Likewise.
12149         * gdb.disasm/t07_ari3.exp: Likewise.
12150         * gdb.disasm/t08_or.exp: Likewise.
12151         * gdb.disasm/t09_xor.exp: Likewise.
12152         * gdb.disasm/t10_and.exp: Likewise.
12153         * gdb.disasm/t11_logs.exp: Likewise.
12154         * gdb.disasm/t12_bit.exp: Likewise.
12155         * gdb.disasm/t13_otr.exp: Likewise.
12156         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12157         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12158         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12159         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12160         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12161         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12162         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12163         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12164         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12165         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12166         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12167         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12168         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12169         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12170         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12171         * gdb.mi/gdb701.exp: Likewise.
12172         * gdb.mi/gdb792.exp: Likewise.
12173         * gdb.mi/mi-basics.exp: Likewise.
12174         * gdb.mi/mi-break.exp: Likewise.
12175         * gdb.mi/mi-cli.exp: Likewise.
12176         * gdb.mi/mi-console.exp: Likewise.
12177         * gdb.mi/mi-disassemble.exp: Likewise.
12178         * gdb.mi/mi-eval.exp: Likewise.
12179         * gdb.mi/mi-file.exp: Likewise.
12180         * gdb.mi/mi-read-memory.exp: Likewise.
12181         * gdb.mi/mi-regs.exp: Likewise.
12182         * gdb.mi/mi-return.exp: Likewise.
12183         * gdb.mi/mi-simplerun.exp: Likewise.
12184         * gdb.mi/mi-stack.exp: Likewise.
12185         * gdb.mi/mi-stepi.exp: Likewise.
12186         * gdb.mi/mi-syn-frame.exp: Likewise.
12187         * gdb.mi/mi-until.exp: Likewise.
12188         * gdb.mi/mi-var-block.exp: Likewise.
12189         * gdb.mi/mi-var-child.exp: Likewise.
12190         * gdb.mi/mi-var-cmd.exp: Likewise.
12191         * gdb.mi/mi-var-display.exp: Likewise.
12192         * gdb.mi/mi-watch.exp: Likewise.
12193         * gdb.mi/mi2-basics.exp: Likewise.
12194         * gdb.mi/mi2-break.exp: Likewise.
12195         * gdb.mi/mi2-cli.exp: Likewise.
12196         * gdb.mi/mi2-console.exp: Likewise.
12197         * gdb.mi/mi2-disassemble.exp: Likewise.
12198         * gdb.mi/mi2-eval.exp: Likewise.
12199         * gdb.mi/mi2-file.exp: Likewise.
12200         * gdb.mi/mi2-read-memory.exp: Likewise.
12201         * gdb.mi/mi2-regs.exp: Likewise.
12202         * gdb.mi/mi2-return.exp: Likewise.
12203         * gdb.mi/mi2-simplerun.exp: Likewise.
12204         * gdb.mi/mi2-stack.exp: Likewise.
12205         * gdb.mi/mi2-stepi.exp: Likewise.
12206         * gdb.mi/mi2-syn-frame.exp: Likewise.
12207         * gdb.mi/mi2-until.exp: Likewise.
12208         * gdb.mi/mi2-var-block.exp: Likewise.
12209         * gdb.mi/mi2-var-child.exp: Likewise.
12210         * gdb.mi/mi2-var-cmd.exp: Likewise.
12211         * gdb.mi/mi2-var-display.exp: Likewise.
12212         * gdb.mi/mi2-watch.exp: Likewise.
12213         * gdb.stabs/exclfwd.exp: Likewise.
12214         * gdb.stabs/weird.exp: Likewise.
12215         * gdb.threads/gcore-thread.exp: Likewise.
12216         * gdb.trace/actions.exp: Likewise.
12217         * gdb.trace/backtrace.exp: Likewise.
12218         * gdb.trace/circ.exp: Likewise.
12219         * gdb.trace/collection.exp: Likewise.
12220         * gdb.trace/deltrace.exp: Likewise.
12221         * gdb.trace/infotrace.exp: Likewise.
12222         * gdb.trace/limits.exp: Likewise.
12223         * gdb.trace/packetlen.exp: Likewise.
12224         * gdb.trace/passc-dyn.exp: Likewise.
12225         * gdb.trace/passcount.exp: Likewise.
12226         * gdb.trace/report.exp: Likewise.
12227         * gdb.trace/save-trace.exp: Likewise.
12228         * gdb.trace/tfind.exp: Likewise.
12229         * gdb.trace/tracecmd.exp: Likewise.
12230         * gdb.trace/while-dyn.exp: Likewise.
12231         * gdb.trace/while-stepping.exp: Likewise.
12232
12233 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
12234
12235         * gdb.base/step-bt.c: New file.
12236         * gdb.base/step-bt.exp: New testcase.
12237
12238 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
12239
12240         * config/monitor.exp (gdb_load): Remove support for obsolete
12241         download-write-size.
12242         * gdb.base/remote.exp: Likewise.  Update all callers of
12243         gdb_timed_load.
12244
12245 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
12246
12247         * cursal.exp: Pass binfile to gdb_load.
12248
12249 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
12250
12251         * gdb.base/cursal.exp: Add "" to gdb_load call.
12252
12253 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
12254
12255         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12256         NetBSD/ELF targets.
12257
12258 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
12259
12260         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12261         operator*.
12262
12263 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
12264
12265         * gdb.base/completion.exp: Update for change in "file" behavior.
12266         * gdb.stabs/weird.exp: Likewise.
12267         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12268         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
12269
12270 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
12271
12272         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12273         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12274
12275 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
12276
12277         * gdb.base/default.exp: Update source command error message.
12278         * gdb.base/help.exp: Update 'help source' message.
12279
12280 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
12281
12282         * gdb.cp/bs15503.exp: Update comment for no longer crashing
12283         test.
12284
12285 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
12286
12287         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12288
12289 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
12290
12291         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12292
12293 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
12294
12295         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12296
12297 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
12298
12299         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12300         *-*-openbsd* from targets for wich we expect ARM FPA floating
12301         point format.
12302
12303 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
12304
12305         * gdb.cp/annota3.exp: Expect frame-begin annotation.
12306
12307 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
12308
12309         * gdb.base/annota3.exp: Expect frame-begin annotation.
12310
12311 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
12312
12313         * gdb.base/help.exp: Adjust "help unset" test to accept
12314         any list of unset commands.
12315
12316 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
12317             Daniel Jacobowitz  <dan@codesourcery.com>
12318
12319         * gdb.cp/ref-params.exp: New test.
12320         * gdb.cp/ref-params.cc: New source file.
12321         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12322
12323 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
12324
12325         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12326         spaces/tabs in regular expressions since they might not be there.
12327
12328 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
12329
12330         * gdb.base/ifelse.exp: New file.
12331
12332 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
12333
12334         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12335         line.
12336         * gdb.base/huge.exp: Loop over compilation to find a size that
12337         is acceptable.
12338         * gdb.base/remote.exp: Correct expected strings.
12339         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12340
12341 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12342
12343         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12344
12345 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12346
12347         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
12348         native.
12349
12350 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12351
12352         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12353         enable stabs testing.
12354
12355 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12356
12357         * gdb.base/auxv.exp: Intercept undefined command messages before
12358         gdb_test_multiple does.
12359
12360 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12361
12362         * Makefile.in (host_alias): Remove.
12363         (target_alias): Use @target_noncanonical@.
12364         (site.exp): Don't set host_alias.
12365         * aclocal.m4: Remove contents.  Include acx.m4.
12366         * configure: Regenerated.
12367         * configure.ac: Use ACX_NONCANONICAL_TARGET.
12368
12369 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
12370
12371         * lib/gdb.exp (gdb_load_cmd): New.
12372
12373         * gdb.base/fileio.c: Add system(NULL) test.
12374         * gdb.base/fileio.exp: Check it.
12375
12376         * gdb.base/break.c: Add 10a breakpoint at }
12377         * gdb.base/break.exp: Add test for breakpoint at }
12378         * gdb.cp/anon-union.cc: Add code at end of function.
12379         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12380         * gdb.mi/var-cmd.c: Add code at end of function.
12381         * gdb.mi/mi-var-display.exp: Adjust end of next.
12382         * gdb.mi/mi2-var-display.exp: Likewise.
12383         * gdb.base/fileio.c: Add stop function and insert calls at
12384         stopping places.
12385         * gdb.base/fileio.exp: Breakpoint stop function and remove
12386         explicit line number references.
12387
12388 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
12389
12390         * gdb.base/del.exp (test_delete_alias): New function.
12391         Now check that both "del" and "d" work as aliases for "delete".
12392
12393 2006-05-18  Fred Fish  <fnf@specifix.com>
12394
12395         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12396         required.  Check for spurious output after program exits normally.
12397
12398 2006-05-17  Fred Fish  <fnf@specifix.com>
12399
12400         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12401         gdb_load, so it works in the simulator.
12402
12403 2006-05-11  Fred Fish  <fnf@specifix.com>
12404
12405         * gdb.base/bang.exp: Ignore unexpected output between the
12406         "program exited normally" and the gdb prompt, as many other
12407         tests do.
12408
12409 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
12410
12411         * gdb.base/help.exp: Make "delete checkpoint" part option for
12412         "help d" and "help delete" tests.
12413
12414 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12415
12416         * gdb.mi/mi-basics.exp: Add missing serial number to
12417         expected output in some mi_gdb_test statements.
12418         * gdb.mi/mi2-basics.exp: Likewise.
12419
12420 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
12421
12422         * gdb.base/del.c: New file.
12423         * gdb.base/del.exp: New testcase.
12424
12425 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
12426
12427         * gdb.base/break.exp: Do not assume a breakpoint on
12428         main will actually be in $srcfile when optimizing.
12429         * gdb.base/savedregs.exp: Do not require that the dummy
12430         frame location match up to a symbol and source file location.
12431         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12432         will get printed without a mi_cmd_data_list_register_values prefix.
12433         (*-data-list-register-*): Correct regular expressions to expect the new
12434         pseudo d? floating point registers.
12435         * gdb.mi/mi2-regs.exp: Likewise.
12436
12437 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
12438
12439         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12440         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12441         is allocated by the compiler.
12442         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12443         anons, e, anone to force their allocation by the compiler.
12444
12445 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
12446
12447         * gdb.base/help.exp: Update expected text for help d and
12448         help delete.
12449
12450 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
12451
12452         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12453         NetBSD/ELF targets.
12454
12455 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
12456
12457         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12458         single-step breakpoint fails; make this a KFAIL on
12459         sparc*-*-openbsd*.
12460         * gdb.base/siginfo.exp: Likewise.
12461         * gdb.base/sigstep.exp (advance, advancei): Likewise.
12462
12463 2006-04-26  Michael Snyder  <msnyder@redhat.com>
12464
12465         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12466         which may have to consume output from other forks.
12467         Add tests to make sure that "delete fork" succeeded.
12468
12469 2006-04-20  Michael Snyder  <msnyder@redhat.com>
12470
12471         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
12472         Add support for the Renesas M32C and M16C.
12473
12474         * gdb.asm/asm-source.exp: Add m32c target.
12475         * gdb.asm/m32c.inc: Support for m32c target.
12476
12477 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
12478
12479         * gdb.base/commands.exp (recursive_source_test): New test.
12480
12481 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
12482
12483         * gdb.base/float.exp: Add pattern for sparc targets.
12484
12485 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12486
12487         * gdb.base/commands.exp (stray_arg0_test): New test.
12488
12489 2006-03-30  Paul Brook  <paul@codesourcery.com>
12490
12491         * gdb.mi/mi-until.exp: kfail broken until command.
12492         * gdb.mi/mi2-until.exp: Ditto.
12493
12494 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
12495
12496         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12497
12498 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
12499
12500         * gdb.base/prelink.exp: Anchor tested-for regular expression
12501         on gdb prompt.
12502
12503 2006-03-07  Paul Brook  <paul@codesourcery.com>
12504
12505         * gdb.base/assign.exp: Correct fail message.
12506
12507 2006-03-07  Paul Brook  <paul@codesourcery.com>
12508
12509         * lib/compiler.c: Extract armcc version number.
12510         * lib/compiler.cc: Ditto.
12511
12512 2006-03-07  Paul Brook  <paul@codesourcery.com>
12513
12514         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12515         additional_flags=-w.
12516         * gdb.arch/altivec-regs.exp: Ditto.
12517         * gdb.arch/e500-abi.exp: Ditto.
12518         * gdb.arch/e500-regs.exp: Ditto.
12519         * gdb.base/all-bin.exp: Ditto.
12520         * gdb.base/annota1.exp: Ditto.
12521         * gdb.base/annota3.exp: Ditto.
12522         * gdb.base/args.exp: Ditto.
12523         * gdb.base/arithmet.exp: Ditto.
12524         * gdb.base/assign.exp: Ditto.
12525         * gdb.base/async.exp: Ditto.
12526         * gdb.base/bang.exp: Ditto.
12527         * gdb.base/break.exp: Ditto.
12528         * gdb.base/call-rt-st.exp: Ditto.
12529         * gdb.base/completion.exp: Ditto.
12530         * gdb.base/cond-expr.exp: Ditto.
12531         * gdb.base/condbreak.exp: Ditto.
12532         * gdb.base/consecutive.exp: Ditto.
12533         * gdb.base/define.exp: Ditto.
12534         * gdb.base/display.exp: Ditto.
12535         * gdb.base/ena-dis-br.exp: Ditto.
12536         * gdb.base/environ.exp: Ditto.
12537         * gdb.base/eval-skip.exp: Ditto.
12538         * gdb.base/info-proc.exp: Ditto.
12539         * gdb.base/jump.exp: Ditto.
12540         * gdb.base/logical.exp: Ditto.
12541         * gdb.base/long_long.exp: Ditto.
12542         * gdb.base/maint.exp: Ditto.
12543         * gdb.base/miscexprs.exp: Ditto.
12544         * gdb.base/pc-fp.exp: Ditto.
12545         * gdb.base/pointers.exp: Ditto.
12546         * gdb.base/relational.exp: Ditto.
12547         * gdb.base/reread.exp: Ditto.
12548         * gdb.base/sect-cmd.exp: Ditto.
12549         * gdb.base/sep.exp: Ditto.
12550         * gdb.base/sepdebug.exp: Ditto.
12551         * gdb.base/until.exp: Ditto.
12552         * gdb.base/whatis-exp.exp: Ditto.
12553         * gdb.cp/annota2.exp: Ditto.
12554         * gdb.cp/annota3.exp: Ditto.
12555         * gdb.trace/actions.exp: Ditto.
12556         * gdb.trace/backtrace.exp: Ditto.
12557         * gdb.trace/circ.exp: Ditto.
12558         * gdb.trace/collection.exp: Ditto.
12559         * gdb.trace/deltrace.exp: Ditto.
12560         * gdb.trace/infotrace.exp: Ditto.
12561         * gdb.trace/limits.exp: Ditto.
12562         * gdb.trace/packetlen.exp: Ditto.
12563         * gdb.trace/passc-dyn.exp: Ditto.
12564         * gdb.trace/passcount.exp: Ditto.
12565         * gdb.trace/report.exp: Ditto.
12566         * gdb.trace/save-trace.exp: Ditto.
12567         * gdb.trace/tfind.exp: Ditto.
12568         * gdb.trace/tracecmd.exp: Ditto.
12569         * gdb.trace/while-dyn.exp: Ditto.
12570         * gdb.trace/while-stepping.exp: Ditto.
12571         * lib/gdb.exp: Ditto.
12572         (gdb_compile): Handle nowarning option.
12573
12574 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
12575
12576         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12577         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
12578         Rename executable to prelinkt.  Don't re-prelink if we didn't
12579         get a core file.  Test prelink -u exit status to tell whether
12580         prelinking failed.  Use gdb_test_multiple.
12581
12582 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
12583
12584         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12585         (do_tests): Call it.
12586
12587 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
12588
12589         * gdb.base/prelink.exp: New test.
12590         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12591
12592 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
12593
12594         * gdb.fortran/derived-type.f90: New file.
12595         * gdb.fortran/derived-type.exp: New testcase.
12596
12597 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
12598
12599         * gdb.base/default.exp: Allow ';' as a directory separator.
12600
12601 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12602
12603         * gdb.base/help.exp (help add-symbol-file): Update.
12604
12605 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12606
12607         * gdb.base/help.exp (help load): Update expected results.
12608
12609 2006-02-19  Fred Fish  <fnf@specifix.com>
12610
12611         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12612         specifix hex value as part of results.
12613         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12614
12615 2006-02-16  Fred Fish  <fnf@specifix.com>
12616
12617         * gdb.base/whatis.c: Define variables using typedefs char_addr,
12618         ushort_addr, and slong_addr, so the typedefs are not optimized
12619         away.
12620         * gdb.base/whatis.exp: Add tests using type name for struct type,
12621         union type, enum type, and typedef.
12622
12623 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
12624
12625         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12626
12627 2006-02-13  Jim Blandy  <jimb@redhat.com>
12628
12629         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12630         case where it takes two "next" commands to skip past the init
12631         call.
12632
12633 2006-02-12  Fred Fish  <fnf@specifix.com>
12634
12635         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12636         to handle cases where it takes two "next" commands to skip
12637         past the init call.
12638
12639 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
12640
12641         * gdb.ada/array_return.exp: Mark the last test as expected to fail
12642         on hppa32 targets.
12643
12644 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
12645
12646         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12647         field.
12648
12649 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
12650
12651         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12652
12653 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
12654
12655         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12656         files.
12657
12658 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
12659
12660         * gdb.cp/maint.exp: Set complaints to a positive value.
12661
12662 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12663
12664         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
12665         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
12666         function name.
12667
12668 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12669
12670         * gdb.base/checkpoint.c: Update copyright notice.  Include
12671         <stdlib.h>.
12672
12673 2006-01-04  Jim Blandy  <jimb@redhat.com>
12674
12675         * gdb.asm/asm-source.exp: Independently provide default values for
12676         asm-flags and debug-flags.  Use 'string equal' to do the
12677         comparison, not the implicit expr's '==' operator.  Remove
12678         now-unneeded assignments to asm-flags.  In h8300 case, place
12679         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12680
12681 2006-01-04  Michael Snyder  <msnyder@redhat.com>
12682
12683         * gdb.base/checkpoint.c: New file.
12684         * gdb.base/checkpoint.exp: New file.
12685         * gdb.base/multi-fork.c: New file.
12686         * gdb.base/multi-fork.exp: New file.
12687         * gdb.base/pi.txt: New file (data for checkpoint.c test).
12688
12689 2006-01-04  Fred Fish  <fnf@specifix.com>
12690
12691         * gdb.base/ptype.c (foo): Add typedef.
12692         (intfoo): Add function.
12693         * gdb.base/ptype1.c: New file.
12694         * gdb.base/ptype.exp: Handle compilation and linking with two
12695         source files.  Test that proper type for "foo" is found based
12696         on source context rather than first match found in symtabs.
12697
12698 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
12699
12700         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12701         * gdb.asm/openbsd.inc: Indent commands.
12702
12703 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
12704
12705         * gdb.base/freebpcmd.exp: Increase timeout.
12706
12707         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12708
12709 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
12710
12711         * gdb.base/default.exp: Update check for "show version".
12712
12713 2005-12-09  Randolph Chung  <tausq@debian.org>
12714
12715         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12716         * gdb.asm/pa64.inc: New file.
12717
12718 2005-12-09  Randolph Chung  <tausq@debian.org>
12719
12720         * gdb.asm/common.inc: Indent commands.
12721         * gdb.asm/asmsrc1.s: Likewise.
12722         * gdb.asm/asmsrc2.s: Likewise.
12723
12724 2005-12-09  Randolph Chung  <tausq@debian.org>
12725
12726         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12727         (get_addr_of_sym): Remove duplicate print.
12728         (gen_core): xfail hppa*-*-hpux*, update expected output.
12729         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12730         * gdb.arch/pa64-nullify.s: New file.
12731
12732 2005-12-09  Randolph Chung  <tausq@debian.org>
12733
12734         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12735
12736 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
12737
12738         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12739         code generation for these functions.
12740         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12741         error message.
12742
12743 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
12744
12745         * gdb.base/help.exp (help b, help br, help bre, help brea)
12746         (help break): Update the expected message.
12747
12748 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
12749
12750         * gdb.asm/m68hc11.inc: Setup the data section.
12751         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12752         script for this test.
12753         (m6812-*-*): Likewise.
12754
12755 2005-11-09  Randolph Chung <tausq@debian.org>
12756
12757         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12758
12759 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
12760
12761         * gdb.base/break.exp: Fix a comment typo.
12762
12763 2005-11-03  Jim Blandy  <jimb@redhat.com>
12764
12765         Checked in by Elena Zannoni  <ezannoni@redhat.com>
12766
12767         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12768
12769 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
12770
12771         * gdb.arch/gdb1558.c: Include stdio.h.
12772
12773 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12774
12775         * gdb.asm/asm-source.exp: Use -e instead of --entry.
12776
12777 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12778
12779         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12780
12781 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
12782
12783         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12784         vscr" tests to better match output.
12785
12786 2005-10-12  Jim Blandy  <jimb@redhat.com>
12787
12788         * gdb.base/structs.exp (any): New function.
12789         (test_struct_returns): Don't make any assumptions at all about
12790         what value the function returns when GDB can't set the return
12791         value.
12792
12793 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12794
12795         * gdb.ada/arrayidx/p.adb: New file.
12796         * gdb.ada/arrayidx.exp: New testcase
12797
12798 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12799
12800         * gdb.ada/array_return/pck.ads: New file.
12801         * gdb.ada/array_return/pck.adb: New file.
12802         * gdb.ada/array_return/p.adb: New file.
12803         * gdb.ada/array_return.exp: New testcase.
12804
12805 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
12806
12807         * gdb.base/arrayidx.c: New file.
12808         * gdb.base/arrayidx.exp: New testcase.
12809
12810 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
12811
12812         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12813         frames-invalid and breakpoints-invalid are no longer generated
12814         with level 3 so don't expect them in the output.
12815
12816 2005-09-27  Bob Rossi  <bob@brasko.net>
12817
12818         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12819         from test.  Escape the | in mi_gdb_test call.
12820         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12821         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12822         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12823         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12824         expected regex's in mi_gdb_test calls.
12825         * lib/mi-support.exp: Remove arbitrary .* from tests.
12826         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12827         Fully anchor GDB/MI expected results in mi_gdb_test.
12828         * lib/gdb.exp (string_to_regexp): Escape the ] character.
12829         * gdb.base/sizeof.exp: Remove escape character. Correct test.
12830
12831 2005-09-26  Paul Brook  <paul@codesourcery.com>
12832
12833         * long_long.exp: Exclude eabi targets from arm FPA float format test.
12834
12835 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12836
12837         * bfp-test.c: New file.
12838         * bfp-test.exp: New testcase.
12839
12840 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12841
12842         * gdb.fortran/subarray.exp: New testcase to test the evaluation
12843         of subarray and substring variable.
12844         * gdb.fortran/subarray.f: New source file for the test of subarray
12845         and substring variable evaluation.
12846         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12847         of string constant.
12848
12849 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
12850
12851         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12852         copyright dates.
12853
12854 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
12855
12856         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12857         powerpc altivec' test with an almost identical 'info vector' test.
12858
12859 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12860
12861         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12862         vscr" tests to match output.
12863
12864 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12865
12866         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12867         output.
12868
12869 2005-09-11  Bob Rossi  <bob@brasko.net>
12870
12871         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12872         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12873         commands that return an MI output command and an asyncronous MI output
12874         command.
12875         * gdb.mi/mi-console.exp: Ditto.
12876
12877 2005-09-11  Bob Rossi  <bob@brasko.net>
12878
12879         * gdb.mi/mi-var-child.c: Include <string.h>.
12880
12881 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
12882
12883         * killed.exp: Correct gdb_expect syntax.
12884
12885 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
12886
12887         * lib/mi-support.exp (mi_gdb_load): Fix typo.
12888
12889 2005-08-02  Bob Rossi  <bob@brasko.net>
12890
12891         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12892         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12893         Change tests to inferior-tty-set/show.
12894         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12895         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12896         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12897         inferior.  Use mi_gdb_test to get GDB and Inferior output.
12898         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12899         descriptor.
12900         (mi_inferior_tty_name): Add inferior PTY file name.
12901         (mi_gdb_start): Add INFERIOR_PTY parameter.
12902         (mi_gdb_test): Add IPATTERN parameter.
12903
12904 2005-08-02   Bob Rossi  <bob@brasko.net>
12905
12906         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12907         parameter to mi_gdb_test.
12908         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12909
12910 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12911
12912         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12913         struct_declarations.
12914         * gdb.mi/mi-var-child.exp: Step over the initialization of
12915         struct_declarations.
12916
12917 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12918
12919         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12920         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12921         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12922         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12923         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12924         file.
12925
12926 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
12927
12928         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12929         (do_children_tests): Assign values to the extra elements.
12930
12931         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12932         them for tests for "-var-update --no-values" and
12933         "-var-update --all-values".
12934         Add test for "-var-list-children --simple-values".
12935
12936         * gdb.mi/basics.c (callee4): Add integer array D[3]...
12937
12938         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12939         "-stack-list-locals --simple-values"  Improve doc strings and
12940         comments.
12941
12942 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
12943
12944         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12945         *-*-openbsd*.
12946         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12947
12948         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12949         sigaltsatck'.
12950
12951 2005-07-14  Bob Rossi  <bob@brasko.net>
12952
12953         * gdb.base/default.exp (tty): Changed output of command.
12954         * gdb.base/help.exp (help tty): Ditto.
12955
12956 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
12957
12958         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12959
12960 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
12961
12962         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12963         -stack-select-frame without arguments.
12964         (test_stack_frame_listing): Add test for newly implemented command
12965         -stack-info-frame.
12966
12967 2005-07-06  Bob Rossi  <bob@brasko.net>
12968
12969         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12970         command.
12971         (Copyright): Update copyright.
12972
12973 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
12974
12975         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12976         tests to evaluate exponentiation expression.
12977
12978 2005-06-29  Andreas Schwab  <schwab@suse.de>
12979
12980         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12981         main to avoid warnings.
12982
12983         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12984
12985 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
12986
12987         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12988         -stack-select-frame without arguments.
12989         (test_stack_frame_listing): Add test for newly implemented command
12990         -stack-info-frame.
12991
12992 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
12993
12994         * gdb.fortran/array-element.f: New file.
12995         * gdb.fortran/array-element.exp: New testcase.
12996
12997 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
12998
12999         * gdb.base/bigcore.exp: Correct checks for systems which can
13000         not dump a large core file.
13001
13002 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
13003
13004         * gdb.base/relocate.c: Add a copyright notice.
13005         (dummy): Remove.
13006         * gdb.base/relocate.exp: Test printing the values of variables
13007         from a relocatable file.
13008
13009 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
13010
13011         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13012         excess MI output after an error.
13013
13014 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
13015
13016         * gdb.arch/alpha-step.c: New file.
13017         * gdb.arch/alpha-step.exp: New testcase.
13018
13019 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
13020             Dennis Brueni  <dennis@slickedit.com>
13021
13022         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13023         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13024         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13025         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13026         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13027         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13028         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13029
13030 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
13031             Wu Zhou  <woodzltc@cn.ibm.com>
13032
13033         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
13034         IBM's xlc compiler.
13035         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13036         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13037
13038 2005-05-13  Jim Blandy  <jimb@redhat.com>
13039
13040         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13041         calling gdb_suppress_entire_file.
13042         * gdb.base/charset.exp: Same.
13043         * gdb.base/call-rt-st.exp: Same.
13044
13045 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
13046
13047         * lib/gdb.exp (fullname_syntax): Added global regex.
13048         (fullname_syntax_POSIX): Ditto.
13049         (fullname_syntax_UNC): Ditto.
13050         (fullname_syntax_DOS_CASE): Ditto.
13051         (fullname_syntax_DOS): Ditto.
13052         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13053         fullname_syntax variable to scope and use it.
13054         (test_file_list_exec_source_files): Ditto.
13055         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13056
13057 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
13058
13059         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13060
13061 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
13062
13063         * lib/gdb.exp (skip_altivec_tests): New function, based on
13064         check_vmx_hw_available from the GCC testsuite.
13065         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13066         * lib/gdb.arch/altivec-regs.exp: Likewise.
13067
13068 2005-05-02  Jim Blandy  <jimb@redhat.com>
13069
13070         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13071         calling gdb_suppress_entire_file.
13072
13073 2005-04-30  Randolph Chung  <tausq@debian.org>
13074
13075         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13076         Slightly relax "sem_post" name checking.
13077
13078 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
13079
13080         * gdb.base/unload.exp: Use new shared library infrastructure.
13081
13082 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
13083
13084         * gdb.base/so-impl-ld.exp: Use new shared library
13085         infrastructure.
13086
13087 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
13088
13089         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13090         * gdb.asm/h8300.inc: New file.
13091
13092 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13093
13094         * gdb.base/shlib-call.exp: Change to use new shared library
13095         infrastructure.
13096
13097 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13098
13099         * gdb.base/pending.exp: Change to use new shared library
13100         infrastructure.
13101
13102 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13103
13104         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13105         use test_compiler_info instead of gcc_compiled, and update copyright.
13106
13107 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
13108
13109         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13110         shared objects being adjusted and update copyright years.
13111
13112 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
13113
13114         * ChangeLog: Correct some 2003-01-13 dates.
13115         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13116         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13117         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13118         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13119         gdb.trace/tfind.exp: Update copyright years.
13120
13121 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
13122             Daniel Jacobowitz  <dan@codesourcery.com>
13123
13124         * lib/gdb.exp (gdb_compile): Handle shlib=.
13125         (gdb_compile_shlib): New function.
13126
13127 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
13128
13129         * lib/gdb.exp (test_compiler_info): Give argument a default value.
13130
13131 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
13132
13133         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13134         gdb.server.
13135         * configure.ac: Likewise.
13136         * configure: Regenerated.
13137         * gdb.gdbserver/Makefile.in: Moved to...
13138         * gdb.server/Makefile.in: ... here.
13139         * gdb.gdbserver/server.c: Moved to...
13140         * gdb.server/server.c: ... here.
13141         * gdb.gdbserver/server-run.exp: Moved to...
13142         * gdb.server/server-run.exp: ... here.
13143
13144 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
13145
13146         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13147         * configure.ac: Create gdb.gdbserver/Makefile.
13148         * configure: Regenerated.
13149         * lib/gdbserver-support.exp: New file, derived from
13150         config/gdbserver.exp.
13151         * config/gdbserver.exp: Use gdbserver-support.exp.
13152         * gdb.gdbserver/Makefile.in: New file.
13153         * gdb.gdbserver/server.c: New file.
13154         * gdb.gdbserver/server-run.exp: New file.
13155
13156 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
13157
13158         * lib/gdb.exp (test_compiler_info): Return compiler_info
13159         if no arguments are given.
13160
13161 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
13162
13163         * gdb.arch/altivec-abi.exp: Check for compiler and set
13164         use altivec' flag accordingly.
13165         * gdb.arch/altivec-regs.exp: Likewise.
13166
13167 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
13168
13169         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13170
13171 2005-03-27  Andreas Schwab  <schwab@suse.de>
13172
13173         * gdb.base/bigcore.c (main): Add missing mode argument in open
13174         call.
13175
13176 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
13177
13178         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13179         downloads.
13180         * config/gdbserver.exp (gdb_load): Likewise.
13181
13182 2005-03-14  Paul Brook  <paul@codesourcery.com>
13183
13184         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13185         targets.
13186
13187 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
13188
13189         * gdb.dwarf2/dup-psym.S: New file.
13190         * gdb.dwarf2/dup-psym.exp: New testcase.
13191
13192 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
13193
13194         * gdb.ada/exec_changed/first.adb: New file.
13195         * gdb.ada/exec_changed/second.adb: New file.
13196         * gdb.ada/exec_changed.exp: New testcase.
13197
13198 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
13199
13200         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13201         (A2): New class.
13202         (main): Test operator+.
13203         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
13204         breakpoint test.
13205
13206         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13207         * gdb.base/signull.exp: Disable if gdb,nosignals.
13208         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13209         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13210         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13211         * gdb.mi/mi2-console.exp: Likewise.
13212         * gdb.trace/collection.exp (run_trace_experiment): Consume the
13213         continue output at start.
13214         (gdb_collect_locals_test): Robustify regexp.
13215         * gdb.trace/passc-dyn.exp: Fix comment typo.
13216         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13217
13218 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
13219
13220         * gdb.asm/asm-source.exp: Add iq2000 case.
13221         * gdb.asm/iq2000.inc: New file.
13222
13223 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
13224
13225         * gdb.base/command.exp: Change hardcoded value to regular expression.
13226         * gdb.base/float.exp: Add powerpc to the list of targets checked.
13227
13228 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
13229
13230         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13231         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13232         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13233         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13234         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13235
13236 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
13237
13238         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13239         changes.
13240
13241 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
13242
13243         * lib/compiler.c: Add test for IBM's xlc compiler.
13244         * lib/compiler.cc: Likewise.
13245
13246 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
13247
13248         * gdb.ada/fixed_points.exp: Create compilation object directory
13249         before running the test.
13250         * gdb.ada/null_record.exp: Likewise.
13251         * gdb.ada/packed_array.exp: Likewise.
13252         * gdb.ada/start.exp: Likewise.
13253
13254 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
13255
13256         * gdb.ada/packed_array/pa.adb: New file.
13257         * gdb.ada/packed_array.exp: New testcase.
13258
13259 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
13260
13261         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13262         files.
13263
13264         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13265         on *-*-openbsd*.  Correctly match whitespace in regukar
13266         expressions.
13267
13268 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
13269
13270         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13271         PR exp/1821
13272         * gdb.base/gdb1821.c: New test file.
13273         * gdb.base/gdb1821.exp: New test file.
13274
13275 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
13276
13277         * gdb.base/start.c: New file.
13278         * gdb.base/start.exp: New testcase.
13279
13280 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
13281
13282         * gdb.ada/start/dummy.adb: New file.
13283         * gdb.ada/start.exp: New testcase.
13284
13285 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
13286
13287         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13288         for printing symbols and statistics.
13289         Add test for using relative pathnames in "maint print msymbols" test.
13290         Mark "maint info sections DATA" XFAIL on Cygwin.
13291         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13292         tests.
13293
13294 2005-02-09  Andreas Schwab  <schwab@suse.de>
13295
13296         Committed by Andrew Cagney  <cagney@gnu.org>
13297         * gdb.base/remotetimeout.exp: New file.
13298
13299 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
13300
13301         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13302
13303 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
13304
13305         * gdb.ada/gnat_ada.gpr: New file.
13306         * gdb.ada/gnat_ada.gin: Delete, no longer used.
13307         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13308         * configure.ac: No longer generate gnat_ada.gpr.
13309         * configure: Regenerate.
13310         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13311         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13312         * gdb.ada/null_record/bar.ads: Likewise.
13313         * gdb.ada/null_record/bar.adb: Likewise.
13314         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13315         * gdb.ada/null_record.exp (testdir): New variable.
13316         (testfile): executable is now in testdir subdirectory.
13317         (srcfile): Use full path to the main compilation unit.
13318         * gdb.ada/fixed_points.exp: Same changes as above.
13319
13320 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
13321
13322         * gdb.base/interp.exp: New test.
13323
13324 2005-01-24  Andrew Cagney  <cagney@gnu.org>
13325
13326         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13327
13328 2005-01-19  Andrew Cagney  <cagney@gnu.org>
13329
13330         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13331         configure.ac not configure.in.
13332
13333         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13334         of powerpc*-*-*.
13335         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13336         * gdb.base/list.exp (test_list_function)
13337         (test_list_filename_and_function): Ditto.
13338         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13339
13340 2005-01-16  Andrew Cagney  <cagney@gnu.org>
13341
13342         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13343
13344         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13345
13346 2005-01-14  Andrew Cagney  <cagney@gnu.org>
13347
13348         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13349         * gdb.mi/mi2-var-cmd.exp: Ditto.
13350
13351 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
13352
13353         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13354
13355 2005-01-07  Andrew Cagney  <cagney@gnu.org>
13356
13357         * configure.ac: Rename configure.in, require autoconf 2.59.
13358         * configure: Re-generate.
13359         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13360         * gdb.stabs/configure: Re-generate.
13361         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13362         * gdb.hp/configure: Re-generate.
13363         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13364         autoconf 2.59.
13365         * gdb.hp/gdb.objdbg/configure: Re-generate.
13366         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13367         autoconf 2.59.
13368         * gdb.hp/gdb.defects/configure: Re-generate.
13369         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13370         autoconf 2.59.
13371         * gdb.hp/gdb.compat/configure: Re-generate.
13372         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13373         autoconf 2.59.
13374         * gdb.hp/gdb.base-hp/configure: Re-generate.
13375         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13376         autoconf 2.59.
13377         * gdb.hp/gdb.aCC/configure: Re-generate.
13378
13379 2004-12-15  Jim Blandy  <jimb@redhat.com>
13380
13381         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13382         under NPTL when there is debugging info available for libpthread.
13383
13384 2004-12-13  Jerome Guitton  <guitton@gnat.com>
13385
13386         * gdb.ada/fixed_points.c: New file.
13387         * gdb.ada/fixed_points.exp: New file.
13388
13389 2004-12-03  Randolph Chung  <tausq@debian.org>
13390
13391         * gdb.arch/pa-nullify.exp: New file.
13392         * gdb.arch/pa-nullify.s: New file.
13393
13394 2004-11-30  Randolph Chung  <tausq@debian.org>
13395
13396         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13397         instead of "tbug".  Fix regexp to work properly with gdb_test.
13398
13399 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
13400
13401         * gdb.base/bitfields2.exp: New test.
13402         * gdb.base/bitfields2.c: New file.
13403
13404 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
13405
13406         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13407
13408 2004-11-16  Randolph Chung  <tausq@debian.org>
13409
13410         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13411
13412 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
13413
13414         * gdb.threads/threadapply.exp: Correct "macro details" test.
13415
13416 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
13417
13418         * gdb.threads/threadapply.exp: New test.
13419         * gdb.threads/threadapply.c: New file.
13420
13421 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
13422
13423         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13424         frames.
13425
13426 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
13427
13428         * gdb.base/cursal.exp: New file.
13429         * gdb.base/cursal.c: New file.
13430
13431 2004-11-03  Andrew Cagney  <cagney@gnu.org>
13432
13433         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13434
13435 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
13436
13437         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13438         NetBSD/ELF targets.
13439
13440 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
13441
13442         * gdb.threads/bp_in_thread.c: New file, copied from
13443         pthread_cond_wait.c.
13444         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13445         file, rather than reusing the .c file from another testcase.
13446
13447 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
13448
13449         * gdb.ada/null_record.exp: Check where we stopped after
13450         sending the start command, instead of where the associated
13451         temporary breakpoint was inserted.
13452
13453 2004-10-14  Andrew Cagney  <cagney@gnu.org>
13454
13455         * gdb.mi/gdb701.c (main): Return 0.
13456
13457 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
13458
13459         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
13460
13461 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
13462
13463         * gdb.threads/schedlock.c: Add comment markers to use to find
13464         line numbers.
13465         * gdb.threads/schedlock.exp: Adjust regex to handle the new
13466         comments.
13467         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13468         breakpoint lines.
13469
13470 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13471
13472         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13473
13474 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13475
13476         * configure.in: Add gdb.dwarf2.
13477         * configure: Regenerated.
13478         * Makefile.in: Add gdb.dwarf2.
13479         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13480         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13481         gdb.dwarf2/file1.txt: New files.
13482
13483 2004-10-11  Orjan Friberg  <orjanf@axis.com>
13484
13485         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
13486         of "run", since the latter doesn't work with remote targets.  Adjust
13487         the breakpoint numbering accordingly.
13488         * gdb.threads/pthread_cond_wait.exp: Ditto.
13489
13490 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
13491
13492         * gdb.base/overlays.exp: Update copyright years.
13493
13494 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
13495
13496         * gdb.base/overlays.exp: Disable if target is Linux.
13497
13498 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
13499
13500         * config/gdbserver.exp (gdb_load): Use right filename on remote.
13501
13502 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
13503
13504         * gdb.asm/asm-source.exp: Add m32r-linux target.
13505         * gdb.asm/m32r-linux.inc: New file.
13506
13507 2004-09-24  Andrew Cagney  <cagney@redhat.com>
13508             David Anderson <anderson@redhat.com>
13509
13510         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13511         command fails, assume things will work.
13512         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13513         (_GNU_SOURCE): Define.
13514         (print_unsigned, print_hex): Change parameter to "long long".
13515         (print_byte_count): New function, use to print byte counts.
13516         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13517         O_LARGEFILE.
13518         (main): Compute an upper bound on a corefile in max_core_size.
13519         Limit memory chunk size to max_core_size.  Limit total memory
13520         allocated to max_core_size.
13521
13522 2004-09-23  Andrew Cagney  <cagney@gnu.org>
13523
13524         * gdb.base/bigcore.exp: Replace the code that creates a corefile
13525         from a separate process with code that creates a corefile by
13526         making the inferior dump core.
13527
13528 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
13529
13530         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13531         block.
13532
13533 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
13534
13535         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13536         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
13537         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13538         Likewise.
13539
13540 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
13541
13542         * gdb.java/jprint.exp: New test case for java inferior call.
13543         * gdb.java/jprint.java: Ditto.
13544
13545 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
13546
13547         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13548
13549 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13550
13551         * gdb.threads/killed.c: Include <stdlib.h>.
13552         * gdb.threads/pthreads.c: Likewise.
13553
13554 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13555
13556         * gdb.threads/killed.c: Add copyright notice.
13557
13558 2004-09-10  Jason Molenda  (jmolenda@apple.com)
13559
13560         * gdb.base/define.exp: Two new tests to verify zero space chars
13561         after 'if' and 'while' commands in a user-defined command is correctly
13562         parsed.
13563
13564 2004-09-08  Andrew Cagney  <cagney@gnu.org>
13565
13566         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
13567         delivery test with duplicate at end of file.
13568
13569 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
13570
13571         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13572
13573 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13574
13575         * config/hppro.exp: Removed.
13576
13577 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13578
13579         * config/sparclet.exp: Removed.
13580
13581 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13582
13583         * config/udi.exp: Removed.
13584
13585 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
13586
13587         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13588         of "exp_continue".
13589         (advancei): Likewise.
13590
13591 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13592
13593         * gdb.base/unload.exp: Fix so messages aren't duplicated.
13594
13595 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
13596
13597         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13598         to check for nodebug in executable.
13599         * gdb.gdb/observer.exp (setup_test): Likewise.
13600         * gdb.gdb/selftest.exp (test_with_self): Likewise.
13601         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13602
13603 2004-09-01  Andrew Cagney  <cagney@gnu.org>
13604
13605         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13606         files.
13607
13608 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13609
13610         * gdb.base/unload.exp: Fix expected warning message to match
13611         latest format.
13612
13613 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
13614
13615         * gdb.base/call-rt-st.exp: Fix typos.
13616
13617 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
13618
13619         * gdb.threads/thread_check.exp: New testcase.
13620         * gdb.threads/thread_check.c: New testcase.
13621
13622 2004-08-31  Andrew Cagney  <cagney@gnu.org>
13623
13624         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13625         (skip_to_handler_entry): New procedures.  Test stepping into a
13626         handler when the breakpoint is at the handler's entry point.
13627
13628 2004-08-30  Andrew Cagney  <cagney@gnu.org>
13629
13630         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13631         gdb/1757.
13632
13633 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13634
13635         With code from Manoj Iyer <manjo@austin.ibm.com>:
13636         * lib/gdb.exp (gdb_file_cmd): Return more information in the
13637         return value.  Add an arm for "no debugging symbols found".
13638         Change a stray "error" to "perror".
13639         (gdb_run_cmd): Adapt to new return value.
13640         * gdb.base/remote.exp: Adapt to new return value.
13641         * gdb.gdb/complaints.exp: Likewise.
13642         * gdb.gdb/observer.exp: Likewise.
13643         * gdb.gdb/selftest.exp: Likewise.
13644         * gdb.gdb/xfullpath.exp: Likewise.
13645
13646 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
13647
13648         * gdb.threads/bp_in_thread.exp: New testcase.
13649
13650 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13651
13652         Fix PR testsuite/1735.
13653         * gdb.threads/schedlock.c (thread_function): Add a cast
13654         to suppress a gcc warning.
13655         * gdb.threads/thread-specific.c (thread_function): Likewise.
13656
13657 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13658
13659         * gdb.base/unload.c: Include <stdlib.h>.
13660
13661 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13662
13663         From Paul Gilliam <pgilliam@us.ibm.com>:
13664         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13665         synchronized after the "return".
13666
13667 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13668
13669         * gdb.mi/basics.c: Include <stdio.h>.
13670         * gdb.mi/pthreads.c: Include <stdlib.h>.
13671         * gdb.mi/var-cmd.c: Include <stdlib.h>.
13672
13673 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13674
13675         * gdb.threads/schedlock.c: Add copyright notice.
13676
13677 2004-08-25  Andrew Cagney  <cagney@gnu.org>
13678
13679         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13680         (skip_over_handler, breakpoint_over_hander): New test procedures.
13681         (advance, advancei): Add a proper prefix, do not use
13682         rerun_to_main.
13683         * gdb.base/sigstep.c (main): Change to use an infinite loop.
13684
13685 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
13686
13687         * gdb.mi/basics.c: Add copyright notice.
13688         * gdb.mi/var-cmd.c: Add copyright notice.
13689
13690 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13691
13692         * lib/gdb.exp: Remove signed_keyword_not_used.
13693         * lib/compiler.c: Likewise.
13694         * lib/compiler.cc: Likewise.
13695
13696 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13697
13698         * gdb.base/whatis.c: Remove conditional disabling of "signed".
13699         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13700
13701 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13702
13703         * gdb.base/whatis.c: Add copyright notice.
13704
13705 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
13706
13707         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
13708         it to skip the breakpoints encoded in the inline assembly.
13709
13710 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13711
13712         * Makefile.in: Add gdb.fortran.
13713
13714 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13715
13716         * gdb.base/call-sc.exp (test_scalar_returns):
13717         Fix cut-and-paste glitch in "Make fun return now".
13718
13719 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13720
13721         * configure.in: Add gdb.fortran.
13722         * configure: Regenerate.
13723         * gdb.fortran/Makefile.in: New file.
13724         * lib/gdb.exp (skip_fortran_tests): New procedure.
13725
13726 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13727
13728         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
13729         reference to bug-gnu@prep.ai.mit.edu.
13730         * gdb.mi/mi-var-child.exp: Likewise.
13731         * gdb.mi/mi-var-cmd.exp: Likewise.
13732         * gdb.mi/mi-var-display.exp: Likewise.
13733         * gdb.mi/mi2-var-block.exp: Likewise.
13734         * gdb.mi/mi2-var-child.exp: Likewise.
13735         * gdb.mi/mi2-var-cmd.exp: Likewise.
13736         * gdb.mi/mi2-var-display.exp: Likewise.
13737
13738 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
13739
13740         * gdb.base/unload.c (main): Make local variable msg const.
13741
13742 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13743
13744         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
13745         to bug-gnu@prep.ai.mit.edu.
13746         * gdb.mi/mi-disassemble.exp: Likewise.
13747         * gdb.mi/mi-eval.exp: Likewise.
13748         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
13749         default line number.
13750         * gdb.mi/mi-return.exp: Likewise.
13751         * gdb.mi/mi-simplerun.exp: Likewise.
13752         * gdb.mi/mi-stack.exp: Likewise.
13753         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
13754         number with explicit range test.
13755         * gdb.mi/mi-watch.exp: Likewise.
13756         * gdb.mi/mi2-break.exp: Likewise.
13757         * gdb.mi/mi2-cli.exp: Likewise.
13758         * gdb.mi/mi2-disassemble.exp: Likewise.
13759         * gdb.mi/mi2-eval.exp: Likewise.
13760         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
13761         default line number.
13762         * gdb.mi/mi2-return.exp: Likewise.
13763         * gdb.mi/mi2-simplerun.exp: Likewise.
13764         * gdb.mi/mi2-stack.exp: Likewise.
13765         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
13766         number with explicit range test.
13767         * gdb.mi/mi2-watch.exp: Likewise.
13768
13769 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13770
13771         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13772         * gdb.cp/m-static.exp: Likewise.
13773         * gdb.cp/rtti.exp: Likewise.
13774
13775 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
13776
13777         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13778
13779 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
13780
13781         * ChangeLog: Prefix Local Variables with semi-colons and indent
13782         the reference to older ChangeLog files, to fix fontification in
13783         Emacs.
13784
13785 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13786
13787         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13788         * gdb.mi/mi2-break.exp: Likewise.
13789
13790 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13791
13792         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13793
13794 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13795
13796         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13797
13798 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13799
13800         * gdb.cp/classes.exp: Remove unused declarations.  Just let
13801         test names default instead of providing special names.  Remove
13802         extraneous demangler test.
13803
13804 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
13805
13806         * gdb.base/unload.exp: New test for breakpoints in dynamically
13807         loaded libraries.
13808         * gdb.base/unload.c: Ditto.
13809         * gdb.base/unloadshr.c: Ditto.
13810
13811 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
13812
13813         * gdb.cp/classes.exp (test_ptype_class_objects): Call
13814         cp_test_ptype_class.
13815         (test_enums): Likewise.
13816
13817 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13818
13819         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13820         files.
13821
13822 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13823
13824         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13825         init_malloc call.
13826
13827 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
13828
13829         * ChangeLog: Add copyright notice.  The notice is copied
13830         from emacs 21.3 top level ChangeLog.
13831
13832 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13833
13834         * lib/cp-support.exp: New file.
13835         * lib/cp-support.exp (cp_test_type_class): New function.
13836         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13837         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13838         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13839         cp_test_ptype_class.
13840
13841 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13842
13843         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13844         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13845         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13846         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13847         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13848         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13849         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13850         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13851         gdb.mi/mi2-watch.exp: Update copyright years.
13852
13853 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
13854
13855         * gdb.base/sigaltstack.exp: Provide proper anchoring.
13856
13857 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13858
13859         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13860         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13861         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13862         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13863         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13864         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13865         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13866         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13867         gdb.mi/mi-watch.exp: Update copyright years.
13868
13869 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13870
13871         PR gdb/1738
13872         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13873         from a breakpoint with a pending signal.
13874
13875 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13876
13877         PR gdb/1736
13878         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13879         * gdb.base/sigaltstack.exp (finish_test): Consume output until
13880         the prompt.
13881         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13882
13883 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13884
13885         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13886
13887 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13888
13889         PR gdb/1736
13890         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
13891         for i?86-*-linux*.
13892
13893 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13894
13895         * gdb.arch/i386-prologue.exp: Compile without debug information.
13896
13897 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
13898
13899         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13900         rather than asking gdb to search.
13901
13902 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13903
13904         * gdb.base/gcore.c: Include <string.h>.
13905
13906 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13907
13908         * gdb.base/gcore.c: Add copyright notice.
13909
13910 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13911
13912         * gdb.base/freebpcmd.c: Include <stdio.h>.
13913         * gdb.base/long_long.c: Include <string.h>.
13914         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13915         * gdb.base/siginfo.c: Include <string.h>.
13916         * gdb.base/sigstep.c: Include <string.h>.
13917
13918 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13919
13920         * gdb.base/complex.c: Include <stdlib.h>.
13921
13922 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13923
13924         * gdb.base/complex.c: Add copyright notice.
13925
13926 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13927
13928         * gdb.base/charset.c: Include <stdlib.h>.
13929
13930 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13931
13932         * gdb.base/auxv.c: Include <stdlib.h>.
13933
13934 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13935
13936         * gdb.base/auxv.c: Add copyright notice.
13937
13938 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13939
13940         * gdb.base/coremaker.c: Add copyright notice.
13941         * gdb.base/coremaker2.c: Add copyright notice.
13942
13943 2004-08-04  Andrew Cagney  <cagney@gnu.org>
13944
13945         * gdb.base/store.exp: Update copyright.
13946         (check_set, up_set, check_struct, up_struct): Add a prefix to test
13947         names, do not import gdb_prompt.
13948
13949 2004-08-01  Andrew Cagney  <cagney@gnu.org>
13950
13951         Fix PR testsuite/1729.
13952         * gdb.base/dump.exp: Add test name to callers of capture_value, do
13953         not use capture_value with value 4.
13954         (capture_value): Add optional test name parameter.
13955         (test_reload_saved_value, test_restore_saved_value): Use $msg as
13956         the prefix, pass to capture_value.
13957
13958 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
13959
13960         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13961         * gdb.arch/i386-prologue.c (standard): New prototype and function.
13962         (main): Call new function.
13963
13964 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13965
13966         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13967
13968 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13969
13970         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13971
13972 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13973
13974         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13975         Accept more values of vtbl pointer.  Remove some messages
13976         about "obsolete gcc or gdb".
13977
13978 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13979
13980         * gdb.cp/classes.exp: Accept more varieties of ptype output.
13981
13982 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13983
13984         * gdb.base/asm-source.exp: Properly convert target board
13985         debug flags from gcc format to binutils format.
13986
13987 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
13988
13989         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13990         gdb1718".  PR backtrace/1718 partially fixed.
13991
13992 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
13993
13994         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13995
13996 2004-07-26  Nick Clifton  <nickc@redhat.com>
13997
13998         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
13999         good default value for a specific architecture is available then
14000         set it to that value.  Otherwise default to the -gstabs switch.
14001         Remove the -g... switches from the asm-flags variable.  Allow the
14002         target board info to override the value if it wants to.  Pass the
14003         switch on the assembler command line.
14004
14005 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
14006
14007         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14008         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14009         (main): Call new function.
14010
14011 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
14012
14013         Test for PR exp/1715.
14014         * gdb.base/radix.exp: Refactor common procedures.  Make all
14015         test names unique.  Change XFAIL to KFAIL.
14016
14017 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
14018
14019         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14020         * gdb.ada/gnat_ada.gin: ... to here.
14021         * configure.in: Use gnat_ada.gin.
14022         * configure: Regenerate.
14023
14024 2004-07-20  Andrew Cagney  <cagney@gnu.org>
14025
14026         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14027         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
14028         XFAILs.  Clean up test messages and comments.  Check backtraces.
14029         Delete re-sync code.
14030
14031 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
14032
14033         Fix PR cli/740.
14034         * gdb.base/annota1.exp: Honor gdb,nosignals.
14035         * gdb.base/annota3.exp: Likewise.
14036
14037 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
14038
14039         * lib/java.exp: Update copyright notice.
14040
14041 2004-07-19  Andrew Cagney  <cagney@gnu.org>
14042
14043         * gdb.base/selftest.exp: Copy file from here ...
14044         * gdb.gdb/selftest.exp: ... to here.
14045
14046 2004-07-16  Andrew Cagney  <cagney@redhat.com>
14047
14048         * lib/insight-support.exp: Delete file.
14049         * lib/java.exp (java_init): Fix copyright.
14050
14051 2004-07-16  Andrew Cagney  <cagney@gnu.org>
14052
14053         * gdb.base/restore.c: Append "prologue" to comments marking the a
14054         function's prologue.
14055         * gdb.base/restore.exp: Update copyright, re-indent.
14056         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
14057         callerN" prefix where needed.  Update patterns that match a
14058         function's prologue.
14059
14060 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
14061
14062         * gdb.base/restore.c: Add copyright notice.
14063
14064 2004-07-16  Andrew Cagney  <cagney@gnu.org>
14065
14066         * gdb.base/logical.exp: Update copyright.
14067         (evaluate): New procedure.  Use to re-implement tests using
14068         several tables.
14069
14070 2004-07-14  Martin Hunt  <hunt@redhat.com>
14071
14072         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14073         which fixes some problems where init.tcl was not found.
14074
14075 2004-07-13  Andrew Cagney  <cagney@gnu.org>
14076
14077         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14078         (check_sizeof, check_valueof): Do not include the output in the
14079         test name.  Use gdb_test.
14080         (get_valueof): Use gdb_test_multiple.
14081
14082         * gdb.base/step-test.exp: Update copyright.  Use
14083         gdb_test_multiple.  Ensure that test names do not include
14084         architecture dependent output.
14085
14086         * gdb.gdb/observer.exp: Update copyright.
14087         (setup_test): Use gdb_test_multiple.
14088         (attach_first_observer, attach_second_observer)
14089         (attach_third_observer, detach_first_observer)
14090         (detach_second_observer, detach_third_observer)
14091         (reset_counters, check_counters): Make $message a prefix.
14092         (test_normal_stop_notifications): Add "args" parameter - a list of
14093         init functions to be called.  Make $message a prefix,
14094         (test_observer_normal_stop): Change the message prefixes so that
14095         they are unique, pass the attach / detach procedures to
14096         test_normal_stop_notifications.
14097
14098         * gdb.base/signull.exp (test_segv): Prefix all tests with
14099         "${name}".  Clean up test messages.
14100
14101         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14102
14103         * gdb.base/ena-dis-br.exp: Update copyright.
14104         (break_at): New function.  Replace send_gdb with gdb_test,
14105         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
14106         ignore count, not stopped at bpt", with KFAIL.
14107
14108 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
14109
14110         * gdb.base/attach.exp: Remove cleanupfile handling.
14111
14112 2004-07-12  Andrew Cagney  <cagney@gnu.org>
14113
14114         * gdb.base/annota1.exp: Cleanup corefile test name.
14115         * gdb.base/annota3.exp: Ditto.
14116
14117 2004-07-12  Andrew Cagney  <cagney@gnu.org>
14118
14119         * gdb.base/signals.exp: Clean up copyright, re-indent.
14120
14121         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14122         gdb_test and gdb_test_multiple.
14123
14124 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
14125
14126         * gdb.java/jmain.exp: Fix expected line number for main to
14127         break at.  Set XFAIL for break at main test since gcj does not
14128         provide line number info for first statement in main.
14129
14130 2004-07-08  Andrew Cagney  <cagney@gnu.org>
14131
14132         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
14133
14134         * gdb.base/sigbpt.exp: Make the common part of each test name a
14135         prefix instead of suffix.
14136
14137 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
14138
14139         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14140         test from test_tbreak_creation_and_listing to
14141         test_file_list_exec_source_file
14142         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14143         Changed name of test from test_tbreak_creation_and_listing to
14144         test_file_list_exec_source_file
14145
14146 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
14147
14148         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14149         the jmisc() constructor instead of <init>.
14150         * gdb.java/jmisc1.exp: Ditto.
14151
14152 2004-07-07  Andrew Cagney  <cagney@gnu.org>
14153
14154         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14155         corrupting the PC.
14156
14157 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
14158
14159         * gdb.cp/templates.exp: Accept whitespace change in demangler
14160         output.
14161
14162 2004-07-06  Andrew Cagney  <cagney@gnu.org>
14163
14164         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14165
14166 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
14167
14168         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14169         * lib/compiler.cc: Likewise.
14170
14171 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
14172
14173         * lib/compiler.cc: Work around string preprocessing problem
14174         with old hp c++ compiler.
14175         * lib/compiler.c: Likewise.
14176
14177 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
14178
14179         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
14180         directives to conditionalize symbol prefixing.
14181         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14182         additional_flags handling.  Add underscore prefix for Cygwin.
14183         * gdb.arch/i386-unwind.c: Use preprocessor directives to
14184         conditionalize symbol prefixing.
14185         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14186         additional_flags handling.  Add underscore prefix for Cygwin.
14187
14188 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
14189
14190         * gdb.base/bigcore.exp: Skip test on Cygwin.
14191
14192 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
14193
14194         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14195         formats for "info register".  Use gdb_test_multiple.  Fix
14196         the "invalid register" test.
14197
14198 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
14199
14200         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
14201         PID for Cygwin.  Add Cygwin specific strings to check for in some
14202         tests.
14203         (do_attach_tests): Add a test for user interaction when attaching
14204         to a process with no matching symbol table already loaded.
14205
14206 2004-06-26  Andrew Cagney  <cagney@gnu.org>
14207
14208         Test PR java/1567 and PR java/1565.
14209         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14210         * gdb.java/jmisc2.exp: Delete file.
14211
14212 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
14213
14214         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14215
14216 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
14217
14218         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14219         attach process.
14220
14221 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
14222
14223         * gdb.cp/pr-1553.exp: Remove.
14224
14225 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
14226
14227         * gdb.cp/pr-1553.cc: Remove.
14228         * gdb.cp/pr-1553.exp: Disable this test.
14229
14230 2004-06-20  Jim Blandy  <jimb@redhat.com>
14231
14232         Fix PR testsuite/1680.
14233         * gdb.arch/i386-sse.exp: Properly quote curly braces in
14234         regular expressions.
14235
14236 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
14237
14238         Fix PR testsuite/1679.
14239         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14240         Issue an UNSUPPORTED result instead.
14241
14242 2004-06-18  Jim Blandy  <jimb@redhat.com>
14243
14244         * gdb.base/charset.exp: Only send a control-C if we see a new
14245         prompt and incomplete command.
14246
14247 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
14248
14249         * gdb.cp/pr-574.cc: Add copyright notice.
14250
14251 2004-06-17  Jim Blandy  <jimb@redhat.com>
14252
14253         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14254         cases where the regexp has no groups; this grabs random text from
14255         the previous test suite, whatever that was.
14256
14257 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
14258
14259         * gdb.cp/printmethod.cc: Add copyright notice.
14260
14261 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
14262
14263         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14264
14265 2004-06-16  Andrew Cagney  <cagney@gnu.org>
14266
14267         * gdb.base/signull.c: Update copyright.  Include <string.h>.
14268         (bowler): Replace data_pointer with data_read
14269         and data_write cases.  Add code_descriptor case.
14270         (zero, desc): New array and pointer.
14271         (data, code): Change to simple pointers.
14272         * gdb.base/signull.exp: Fix probe pattern matching a function
14273         descriptor SIGSEGV.  Replace data_pointer with data_read and
14274         data_write tests.
14275
14276 2004-06-16  Andrew Cagney  <cagney@gnu.org>
14277
14278         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14279
14280 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
14281
14282         * gdb.base/long_long.c: Add copyright notice.
14283
14284 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
14285
14286         * gdb.base/long_long.exp: Remove reference to
14287         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
14288         to gdb_breakpoint and gdb_continue_to_breakpoint.
14289
14290 2004-06-14  Jim Blandy  <jimb@redhat.com>
14291
14292         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14293         endian case.
14294
14295 2004-06-14  Andrew Cagney  <cagney@gnu.org>
14296
14297         * gdb.base/gcore.exp (capture_command_output): Delete the always
14298         passing tests containing inferior values.
14299         * gdb.base/ending-run.exp: Do not include the breakpoint address
14300         in the test message.  Update copyright.
14301         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14302         size in the test name, use gdb_test_multiple.  Update copyright.
14303
14304 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
14305
14306         * gdb.cp/ref-types.cc: Add copyright notice.
14307
14308 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
14309
14310         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14311         hp_aCC_compiler.
14312         * lib/compiler.cc: Likewise.
14313         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14314         'set' commands.  Log diagnostics for other lines.  Set
14315         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14316
14317 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
14318
14319         * gdb.cp/try_catch.cc: Add copyright notice.
14320
14321 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
14322
14323         * gdb.cp/userdef.cc: Add copyright notice.
14324
14325 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
14326
14327         * gdb.cp/virtfunc.cc: Add copyright notice.
14328
14329 2004-06-11  Randolph Chung  <tausq@debian.org>
14330
14331         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14332         problem.
14333
14334 2004-06-10  Andrew Cagney  <cagney@gnu.org>
14335
14336         * lib/compiler.cc, lib/compiler.c: Append either
14337         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14338         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14339         instead of gcc-3-3.
14340
14341 2004-06-09  Andrew Cagney  <cagney@gnu.org>
14342
14343         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14344         gdb/1455, bug is specific to "long long" and "double".
14345
14346         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14347         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14348         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
14349         fixed.
14350
14351 2004-06-09  Andrew Cagney  <cagney@gnu.org>
14352
14353         * gdb.base/structs.exp (test_struct_returns): Replace
14354         "return_value_unknown" and "finish_value_unknown" by
14355         "return_value_known" and "finish_value_known".  Instead of
14356         "return_value_unknown" iff "finish_value_unknown", check
14357         "return_value_known" implies "finish_value_known".
14358
14359 2004-06-08  Martin Hunt  <hunt@redhat.com>
14360
14361         * gdb.base/float.exp: Add pattern for mips targets.
14362
14363 2004-06-08  Randolph Chung  <tausq@debian.org>
14364
14365         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14366         message for unknown architectures more clear.
14367
14368 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
14369
14370         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14371         start the execution of the program.
14372
14373 2004-06-07  Jim Blandy  <jimb@redhat.com>
14374
14375         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14376         * gdb.arch/i386-cpuid.h: New helper file.
14377
14378 2004-06-07  Randolph Chung  <tausq@debian.org>
14379
14380         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14381         has started.
14382
14383 2004-06-04  Roland McGrath  <roland@redhat.com>
14384
14385         Fix PR gdb/1647.
14386         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14387         differently to be robust to output buffering differences.
14388
14389 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
14390
14391         * gdb.threads/pthreads.exp: Update copyright years.
14392         (check_control_c): Change asynchronous 'after' to synchronous.
14393
14394 2004-06-04  Roland McGrath  <roland@redhat.com>
14395
14396         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14397         next gdb prompt.
14398
14399 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
14400
14401         Fix PR gdb/1636.
14402         * gdb.threads/manythreads.exp: Change asynchronous 'after'
14403         calls to synchronous.
14404
14405 2004-05-26  Jim Blandy  <jimb@redhat.com>
14406
14407         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14408
14409 2004-05-24  Randolph Chung  <tausq@debian.org>
14410
14411         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14412         * gdb.asm/pa.inc: New file.
14413
14414 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
14415
14416         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14417
14418 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
14419             Daniel Jacobowitz  <drow@mvista.com>
14420
14421         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14422         GDB prompt.
14423
14424 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14425
14426         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14427         setjmp/longjmp.  Use sigaction instead of signal.
14428
14429 2004-05-19  J. Brobecker  <brobecker@gnat.com>
14430             Michael Snyder  <msnyder@redhat.com>
14431
14432         * gdb.threads/pthread_cond_wait.c: New file.
14433         * gdb.threads/pthread_cond_wait.exp: New testcase.
14434
14435 2004-05-13  Andrew Cagney  <cagney@redhat.com>
14436
14437         * gdb.base/signull.exp, gdb.base/signull.c: New files.
14438         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14439
14440 2004-05-11  Andrew Cagney  <cagney@redhat.com>
14441
14442         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
14443         fixed but revealed gdb/1639.
14444
14445 2004-05-10  Andrew Cagney  <cagney@redhat.com>
14446
14447         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14448         func1" and "next to 2nd alarm", kernel bug avoided.
14449
14450 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
14451
14452         PR external/1568
14453         * gdb.base/bigcore.exp: Check the size of the dumped core file.
14454         XFAIL if it is smaller than bytes_allocated.
14455         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14456         (main): Make chunks_allocated unsigned.  Correct comment.
14457
14458 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
14459
14460         * gdb.arch/powerpc-aix-prologue.c: New file.
14461         * gdb.arch/powerpc-aix-prologue.exp: New file.
14462
14463 2004-05-07  Jim Blandy  <jimb@redhat.com>
14464
14465         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14466         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14467
14468 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
14469
14470         * gdb.base/sep.exp: No longer setup_kfail when the program was
14471         built with dwarf2.
14472
14473 2004-05-05  Jim Ingham  <jingham@apple.com>
14474
14475         * gdb.base/pending.exp: Make sure pending breakpoints
14476         preserve the ignore count.
14477
14478 2004-04-27  Jerome Guitton  <guitton@gnat.com>
14479
14480         * i386-prologue.exp: Add testcase for jump instruction as first
14481         instruction of the real code.
14482         * i386-prologue.c (jump_at_beginning): New function.
14483
14484 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14485
14486         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14487         x86_64-*-*.
14488
14489 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14490
14491         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14492         i*86-*-*.
14493
14494 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
14495
14496         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14497         expression that checks the return type.
14498
14499 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14500
14501         * gdb.base/call-sc.exp: New test of scalar call/return values.
14502         * gdb.base/call-sc.c: Ditto.
14503
14504 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14505
14506         * gdb.threads/manythreads.c: Reduce thread stack size.
14507
14508 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
14509
14510         * gdb.threads/manythreads.c: Add copyright notice.
14511
14512 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14513
14514         * gdb.base/siginfo.exp: Better handle step out of signal.
14515         * gdb.base/sigstep.exp: Ditto.
14516
14517 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
14518             Daniel Jacobowitz  <drow@mvista.com>
14519
14520         * gdb.threads/manythreads.c: New testcase.
14521         * gdb.threads/manythreads.exp: Ditto.
14522
14523 2004-04-22  Jim Blandy  <jimb@redhat.com>
14524
14525         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14526         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14527
14528 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
14529
14530         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14531
14532 2004-04-21  Andrew Cagney  <cagney@redhat.com>
14533
14534         * gdb.base/sigstep.c: New file.
14535         * gdb.base/sigstep.exp: New file.
14536
14537 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
14538
14539         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14540         call to observer_notify_normal_stop.
14541
14542 2004-04-15  Andrew Cagney  <cagney@redhat.com>
14543
14544         * gdb.base/siginfo.c: New file.
14545         * gdb.base/siginfo.exp: New file.
14546
14547 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14548
14549         * gdb.base/sep.exp: Fix typo in comment.
14550
14551 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14552
14553         * gdb.base/sep.c: New file.
14554         * gdb.base/sep-proc.c: New file.
14555         * gdb.base/sep.exp: New testcase.
14556
14557 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
14558
14559         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14560         support.
14561
14562 2004-04-05  Andrew Cagney  <cagney@redhat.com>
14563
14564         * gdb.base/sigaltstack.c: New file.
14565         * gdb.base/sigaltstack.exp: New file.
14566
14567 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
14568
14569         * gdb.base/foll-fork.exp: Update the expected output for
14570         "help set follow-fork-mode", to match a change that was made
14571         to the help of this variable on 2004-01-13.
14572
14573 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14574
14575         * lib/ada.exp: Add copyright notice.
14576         * bar.ads: Likewise.
14577         * bar.adb: Likewise.
14578         * null_record.adb: Likewise.
14579         * null_record.exp: Likewise.
14580         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14581
14582 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14583
14584         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14585         * configure: Regenerate.
14586
14587 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14588
14589         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14590         to build the application. Remove the message printed when in
14591         verbose mode, redundant with the UNSUPPORTED message above.
14592
14593 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14594
14595         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14596         * gdb.ada (null_record.exp): New testcase.
14597
14598 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14599
14600         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14601
14602 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14603
14604         * gdb.ada: New subdirectory.
14605         * gdb.ada/Makefile.in: New file.
14606         * gdb.ada/gnat_ada.gpr.in: New file.
14607
14608 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14609
14610         * lib/ada.exp: New file.
14611
14612 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
14613
14614         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14615         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14616
14617 2004-03-22  Andrew Cagney  <cagney@redhat.com>
14618
14619         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14620         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14621         Problem identified by Ulrich Weigand.
14622
14623 2004-03-17  David Carlton  <carlton@kealia.com>
14624
14625         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14626         PR c++/826.
14627
14628 2004-03-16  Roland McGrath  <roland@redhat.com>
14629
14630         * gdb.base/auxv.exp: New file.
14631         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14632
14633 2004-03-12  David Carlton  <carlton@kealia.com>
14634
14635         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
14636         * gdb.cp/pr-1553.cc: Ditto.
14637         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14638         pass branch.
14639
14640 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
14641
14642         * gdb.cp/templates.exp: Accept more template types.
14643
14644 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14645
14646         From Corinna Vinschen with modifications.
14647         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14648         local variable obj_with_enum.
14649         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14650         results with obj_with_enum.
14651
14652 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14653
14654         * gdb.cp/classes.cc: New file, copied from misc.cc.
14655         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14656
14657 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14658
14659         * gdb.cp/misc.cc: Add copyright notice.
14660
14661 2004-03-05  David Carlton  <carlton@kealia.com>
14662
14663         * gdb.cp/rtti.exp: Add 'print *obj3' test.
14664         * gdb.cp/rtti.h: Update copyright.
14665         (namespace n2::n3): New.
14666         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14667         (n2::n3::func3): New.
14668         (main): Call n2::n3::func3.
14669         * gdb.cp/rtti2.cc: Update copyright.
14670         (n2::create3): New.
14671
14672 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
14673
14674         * gdb.asm/openbsd.inc: Fix typo.
14675
14676 2004-03-03  Fred Fish  <fnf@redhat.com>
14677
14678         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14679         "val" instead of unused "size".  Update copyright year.
14680
14681 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14682
14683         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
14684         to use unsigned char.
14685         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14686         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14687
14688 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14689
14690         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14691         line of output.
14692
14693 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14694
14695         * gdb.base/relocate.c (dummy): Initialize.
14696
14697 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14698
14699         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
14700         a breakpoint at exit.
14701
14702 2004-02-27  Fred Fish  <fnf@redhat.com>
14703
14704         * gdb.base/chng-syms.exp: Add expect condition to match failing
14705         case that isn't a timeout.
14706
14707 2004-02-27  Andrew Cagney  <cagney@redhat.com>
14708
14709         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14710         support.
14711
14712 2004-02-26  Fred Fish  <fnf@redhat.com>
14713
14714         * gdb.arch/gdb1431.c: Remove.
14715         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14716         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14717         of "until" incorrectly.
14718
14719 2004-02-26  J. Brobecker  <brobecker@gnat.com>
14720
14721         * gdb.cp/class2.cc (empty): New class.
14722         (refer): New function.
14723         (main): Declare an object of type empty and use it.
14724         * gdb.cp/class2.exp: Print the value of an object of type empty.
14725
14726 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
14727
14728         * gdb.base/langs.exp: Update query string to match the
14729         new nquery format used for pending breakpoints.
14730
14731 2004-02-26  Andrew Cagney  <cagney@redhat.com>
14732
14733         Fix PR i18n/1570.
14734         * gdb.base/charset.c: Update copyright notice.
14735         (main, init_string): Remove the escape character '\e' tests.
14736         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14737         * gdb.base/charset.exp (valid_host_charset): Ditto.
14738         * gdb.base/setvar.exp: Ditto.
14739
14740 2004-02-24  Andrew Cagney  <cagney@redhat.com>
14741
14742         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14743         mmapped data in core file" PASS and FAIL messages consistent.
14744
14745         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14746         setting a breakpoint.  Work around PR java/1565.
14747
14748 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
14749
14750         * lib/gdb.exp (gdb_breakpoint): Update query string to match
14751         new nquery format.
14752         * gdb.base/pending.exp: Ditto.
14753
14754 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
14755
14756         * configure.in: Run stabs tests on *BSD.
14757         * configure: Regenerated.
14758
14759 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
14760
14761         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14762
14763 2004-02-20  Fred Fish  <fnf@redhat.com>
14764
14765         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14766         blank in test for "returns short", for consistency with other
14767         "returns xxx" tests.  Update copyright year.
14768
14769 2004-02-19  Fred Fish  <fnf@redhat.com>
14770
14771         New testcase for PR breakpoint/1558.
14772         * gdb.arch/gdb1558.exp: New file.
14773         * gdb.arch/gdb1558.c: New file.
14774
14775 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
14776
14777         * gdb.base/nodebug.exp: Fix typo.
14778
14779 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14780
14781         Committed by Jim Blandy  <jimb@redhat.com>.
14782
14783         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14784
14785         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14786
14787         * gdb.base/float.exp: Support s390*-*-* targets.
14788
14789 2004-02-17  Adam Fedor  <fedor@gnu.org>
14790
14791         * gdb.base/gdb1555.exp: New file.
14792         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14793
14794 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
14795
14796         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14797
14798 2004-02-16  Fred Fish  <fnf@redhat.com>
14799
14800         * gdb.arch/gdb1291.c: Remove
14801         * gdb.arch/gdb1291.s: New test input file.
14802         * gdb.arch/gdb1291.exp: Expand test to check case that should not
14803         fail.  Test for correct result, known incorrect result, other
14804         failures and timeouts.
14805
14806 2004-02-16  Andrew Cagney  <cagney@redhat.com>
14807
14808         * gdb.base/bigcore.exp: New file.
14809         * gdb.base/bigcore.c: New file.
14810
14811 2004-02-13  Andrew Cagney  <cagney@redhat.com>
14812
14813         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14814         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14815         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14816         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14817         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14818         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14819         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14820         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14821         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14822         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14823
14824 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
14825
14826         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14827         executed is an alloc instruction.
14828
14829 2004-02-11  David Carlton  <carlton@kealia.com>
14830
14831         * gdb.cp/breakpoint.exp: New.
14832         * gdb.cp/breakpoint.cc: New.
14833
14834 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
14835
14836         Partial fix for PR gdb/1543.
14837         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14838         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14839         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14840         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14841         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14842         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14843         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14844         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14845         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14846         to bug-gdb@prep.ai.mit.edu .
14847         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14848         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14849         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14850         Likewise.
14851
14852 2004-02-10  Andrew Cagney  <cagney@redhat.com>
14853
14854         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14855         using gdb_internal_error_resync.
14856
14857 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
14858
14859         * gdb.threads/thread-specific.exp: Stop early if no threads are
14860         found.
14861
14862 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
14863
14864         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14865
14866 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
14867
14868         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14869         breakpoints.
14870
14871 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
14872
14873         * config/sim.exp (gdb_load): Handle $arg == "".
14874         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14875         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14876
14877 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
14878
14879         * gdb.base/maint.exp: Update test to reflect
14880          obstack changes.
14881
14882 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
14883
14884         * gdb.base/pendshr.c (pendfunc): New function that calls
14885         pendfunc1.
14886         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14887
14888 2004-02-04  Fred Fish  <fnf@redhat.com>
14889
14890         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14891         function symbols and update copyright years.
14892         * gdb.arch/gdb1291.c: Ditto.
14893
14894 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14895
14896         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14897
14898 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14899
14900         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14901
14902 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14903
14904         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14905
14906 2004-02-02  Fred Fish  <fnf@redhat.com>
14907
14908         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14909         remote targets.  Update copyright years.
14910
14911 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
14912
14913         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14914         support.
14915         * gdb.base/langs.exp: Fix test which attempts to create
14916         breakpoint on non-existent function to handle new pending
14917         support.
14918         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14919         a breakpoint.
14920         * gdb.base/pending.exp: New test.
14921         * gdb.base/pending.c: New file.
14922         * gdb.base/pendshr.c: Ditto.
14923
14924 2004-02-02  David Carlton  <carlton@kealia.com>
14925
14926         * gdb.cp/overload.exp: Add overloadNamespace tests.
14927         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14928         (overloadNamespace, XXX): New.
14929         (main): Call XXX::marker2.
14930
14931 2004-02-01  Fred Fish  <fnf@redhat.com>
14932
14933         * gdb.base/dump.exp: Use runto_main instead of "runto main".
14934         * gdb.base/finish.exp: Ditto.
14935         * gdb.base/gcore.exp: Ditto.
14936         * gdb.base/huge.exp: Ditto.
14937         * gdb.base/info-proc.exp: Ditto.
14938         * gdb.base/return2.exp: Ditto.
14939         * gdb.threads/gcore-thread.exp: Ditto.
14940
14941 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14942
14943         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14944
14945 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14946
14947         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14948         that opening the file succeeds on OpenBSD.
14949
14950 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14951
14952         * gdb.threads/thread-specific.c: New file.
14953         * gdb.threads/threads-specific.exp: New test script.
14954         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14955         to expect_out.
14956
14957 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14958
14959         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
14960         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14961         only on the "print_small_structs from print_long_arg_list" test.
14962
14963 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14964
14965         * gdb.base/completion.exp: Kill a stray backslash.
14966
14967         From Jim Ingham <jingham@apple.com>:
14968         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14969         agrees with the result from sending a tab.
14970
14971 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
14972
14973         * gdb.base/chng-syms.exp: Remove stray newline.
14974
14975 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
14976
14977         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14978         *-*-openbsd*.
14979         * gdb.asm/openbsd.inc: New file.
14980
14981 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
14982
14983         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
14984         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14985         *-*solaris2*.  Remove commented out default settings for
14986         asm-flags.  Replace gdb_compile with target_link.
14987
14988 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
14989
14990         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
14991         for all tests.  Remove old hp-ux and cygnus xfail cases.
14992
14993 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
14994
14995         * gdb.base/chng-syms.exp: New file.
14996         * gdb.base/chng-syms.c: New file.
14997
14998 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
14999
15000         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
15001         Provide arms for current output in all my configurations.
15002
15003 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
15004
15005         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15006         * lib/compiler.cc: Likewise.
15007         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15008         get the right preprocessor.  Eval the output directly.  Remove
15009         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
15010         hp_f77_compiler and hp_f90_compiler completely.
15011         (gdb_preprocess): Delete.
15012         (get_compiler): Delete.
15013
15014 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
15015
15016         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15017         <string.h>.
15018
15019 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
15020
15021         * gdb.mi/mi-stack.exp: Update copyright.
15022
15023 2004-01-23  David Carlton  <carlton@kealia.com>
15024
15025         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
15026         test for cp_lookup_transparent_type.
15027         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
15028         call them.
15029
15030 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
15031
15032         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
15033         after -var-update.
15034
15035 2004-01-23  David Carlton  <carlton@kealia.com>
15036
15037         * gdb.cp/namespace.cc (C::ensureRefs): New.
15038         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15039
15040 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
15041
15042         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15043         case "-stack-list-locals 2".
15044         * gdb.mi/mi-var-child.exp: Test for case
15045         "-var-list-children --all-values NAME".
15046
15047 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
15048
15049         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15050
15051 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
15052
15053         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15054         used with gdb_test_multiple.
15055
15056         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15057         read at address 0.  This fixes PR testsuite/1504.
15058
15059 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
15060
15061         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15062         Remove downloading, guessing the host executable, the calls to
15063         gdb_file_cmd and gdb_target_cmd, and "load" support.
15064         (infer_host_exec): New function broken out from gdb_load.
15065         (gdb_load): New wrapper for gdbserver_gdb_load.
15066         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15067         gdb_target_cmd.  Use -target-select.
15068         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15069         Download binaries to the host.  Clear last_mi_remote_file when
15070         we load a new binary.
15071         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
15072         call gdbserver_gdb_load and mi_gdb_target_cmd.
15073
15074 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
15075
15076         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15077         type patterns.
15078
15079 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
15080
15081         * gdb.cp/templates.exp: Fix typo in test name of
15082         "print Foo<volatile char*>::foo".
15083
15084 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
15085
15086         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15087
15088 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
15089
15090         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15091         (clean mostlyclean): Remove empty rm.
15092
15093 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
15094
15095         * gdb.base/setvar.exp: Add copyright years.
15096
15097 2004-01-14  David Carlton  <carlton@bactrian.org>
15098
15099         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
15100         PR c++/1511 and update coment.
15101         * gdb.cp/templates.exp: Update patterns to match current output.
15102         If changes involve something other than whitespace, KFAIL
15103         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15104
15105 2004-01-14  David Carlton  <carlton@kealia.com>
15106
15107         * gdb.cp/namespace.exp: Add tests involving classes defined within
15108         namespaces.
15109         * gdb.cp/namespace.cc (C::CClass): New.
15110         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15111
15112 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
15113
15114         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15115         what debug info we have. Print a better message if something goes
15116         wrong while producing the separate debug info file.
15117
15118 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
15119
15120         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15121
15122 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
15123
15124         * gdb.base/callfuncs.c: Add copyright notice.
15125
15126 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
15127
15128         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15129         inheritance.  PR gdb/1498, PR gcc/13539.
15130
15131 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
15132
15133          * gdb.threads/gcore-thread.exp: Prefix name of binary with
15134          test specific name.
15135          * gdb.mi/gdb669.exp: Ditto.
15136          * gdb.mi/mi-pthreads.exp: Ditto.
15137          * gdb.mi/mi1-pthreads.exp: Ditto.
15138          * gdb.mi/mi2-pthreads.exp: Ditto.
15139
15140 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
15141
15142         * gdb.cp/member-ptr.cc: Add copyright notice.
15143
15144 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
15145
15146         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
15147         some patterns for recent versions of gcc and hpacc.  Delete
15148         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
15149         Delete tests that access a NULL pointer-to-member-data.  This
15150         script is still disabled for gcc.
15151
15152 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
15153
15154         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15155         escaped correctly.
15156
15157 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
15158
15159         * gdb.base/sepdebug.exp: New file.
15160         * gdb.base/sepdebug.c: New file.
15161         * lib/gdb.exp (separate_debug_filename): New procedure.
15162         (gdb_gnu_strip_debug): New procedure.
15163
15164 2004-01-12  Andrew Cagney  <cagney@redhat.com>
15165
15166         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
15167         * gdb.mi/ChangeLog-1999-2003: New file.
15168
15169 2004-01-12  Andrew Cagney  <cagney@redhat.com>
15170
15171         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
15172         "Renaming a directory to a non-empty directory returns ENOTEMPTY
15173         or EEXIST", treat EBUSY as an XFAIL.
15174
15175 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
15176
15177         * gdb.base/scope.exp: Remove obsolete setup_xfail for
15178         hp_cc_compiler.
15179
15180 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
15181
15182         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15183         decorations.
15184
15185 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
15186
15187         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15188         and "(aCC)" decorations.  Remove obsolete doco about old
15189         test results.
15190
15191 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15192
15193         * gdb.cp/exception.exp: Fix typo in doco.
15194
15195 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
15196
15197         * gdb.base/gdb1476.exp: Fix typo.
15198
15199 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15200
15201         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15202         file.
15203
15204 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15205
15206         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15207         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15208         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
15209         for recent version of gdb.  Delete second half, which was a copy
15210         of the first half with different build flags.  This test is
15211         still disabled because it is still not ready for production.
15212
15213 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15214
15215         * gdb.cp/exception.cc: Add copyright notice.
15216         * gdb.cp/exception.exp: Add a notice that this file is broken
15217         because of line number changes caused by addition of copyright
15218         notice.
15219
15220 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15221
15222         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15223         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15224
15225 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15226
15227         * gdb.cp/classes.exp: Accept gnu abi 2.
15228         * gdb.cp/derivation.exp: Likewise.
15229         * gdb.cp/overload.exp: Likewise.
15230         * gdb.cp/virtfunc.exp: Likewise.
15231
15232 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15233
15234         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15235         semicolon after end of function.
15236
15237 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15238
15239         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15240         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
15241         boilerplate code for compiling and running the program under
15242         test.  Add some string method tests.
15243
15244 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15245
15246         * gdb.cp/bs15503.cc: Add copyright notice.
15247         * gdb.cp/bs15503.exp: Adjust line number.
15248
15249 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15250
15251         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15252         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15253
15254 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15255
15256         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15257         hp_cc_compiler.
15258
15259 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15260
15261         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15262         * gdb.cp/ctti.exp: Use the marker instead of "next".
15263         With gcc, run further before bailing.
15264
15265 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15266
15267         * gdb.cp/cttiadd.cc: Add copyright notice.
15268         * gdb.cp/cttiadd1.cc: Likewise.
15269         * gdb.cp/cttiadd2.cc: Likewise.
15270         * gdb.cp/cttiadd3.cc: Likewise.
15271
15272 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15273
15274         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
15275         Use gdb_test, gdb_test_multiple.  Use floating-point values that
15276         have exact representations in IEEE-ish formats.
15277
15278 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15279
15280         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15281         compilers.  Delete duplicate call to get_compiler_info.
15282         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15283         * gdb.base/volatile.exp: Likewise.
15284
15285 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
15286
15287         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15288         memory at address 0.
15289
15290 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15291
15292         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15293         to test for hp-ux assembler.  Fix copyright years.
15294
15295 2004-01-07  Andrew Cagney  <cagney@redhat.com>
15296
15297         * gdb.base/fileio.c (strerrno): Add "EBUSY".
15298
15299 2004-01-07  Andrew Cagney  <cagney@redhat.com>
15300
15301         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15302         when creating the read-only file.  From analysis by Roland McGrath
15303         and Elena Zannoni.
15304
15305 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15306
15307         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15308
15309 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15310
15311         * gdb.base/cvexpr.c: Be type-safe with function pointers and
15312         data pointers.
15313
15314 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15315
15316         * gdb.cp/m-static.exp: Compile one source file at a time.
15317         Delete unused call to get_compiler_info.
15318
15319 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15320
15321         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15322         * gdb.base/call-rt-st.exp: Likewise.
15323         * gdb.base/nodebug.exp: Likewise.
15324         * gdb.base/volatile.exp: Likewise.
15325         * gdb.cp/ref-types.exp: Likewise.
15326         * gdb.cp/templates.exp: Likewise.
15327
15328 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
15329
15330         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15331
15332 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
15333
15334         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15335         hppa*-hp-hpux*.
15336
15337 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
15338
15339         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15340         x86_64-*-*.
15341
15342         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15343         sparc64-*-* and sparc*-solaris2*.
15344
15345 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
15346
15347         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15348         return ${tests}" test.  The ${tests} already mentions the
15349         filename.
15350
15351 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15352
15353         * gdb.cp/local.exp: Accept gcc abi 2.
15354
15355 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15356
15357         * gdb.cp/templates.exp: Accept gcc abi 2.
15358
15359 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15360
15361         * lib/compiler.cc: Remove supports_template_debugging.
15362         * gdb.cp/templates.exp: Do not test supports_template_debugging.
15363
15364 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15365
15366         * gdb.cp/namespace.exp: Accept gcc abi 2.
15367
15368 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15369
15370         * gdb.cp/method.exp: Accept gcc abi 2.
15371
15372 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15373
15374         * gdb.cp/classes.exp: Generate identical results as old version.
15375         * gdb.cp/derivation.exp: Likewise.
15376         * gdb.cp/overload.exp: Likewise.
15377         * gdb.cp/virtfunc.exp: Likewise.
15378
15379 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15380
15381         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15382         mysterious bug with sourceware version of expect.
15383
15384 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15385
15386         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
15387         current versions of gcc, including gcc abi 2.  Remove gratuitous
15388         restart of test program.  Use gdb_test_multiple and gdb_test for
15389         all tests.  Add patterns to xfail missing "const" in "const char *"
15390         and kfail PR gdb/1155.
15391
15392 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15393
15394         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
15395         current versions of gcc, including gcc abi 2.  Remove gratuitous
15396         restart of test program.  Use gdb_test_multiple and gdb_test for
15397         all tests.  Add patterns to kfail PR gdb/1498.
15398
15399 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15400
15401         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
15402         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15403         and "continue" instead of restarting the target program.  Use
15404         gdb_test_multiple and gdb_test for all tests.
15405
15406 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
15407
15408         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
15409         for *-*-solaris2*.
15410
15411 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15412
15413         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
15414         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15415         and "continue" instead of restarting the target program several
15416         times.  Use gdb_test_multiple and gdb_test for all tests.
15417
15418 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
15419
15420         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15421         source files.
15422
15423 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15424
15425         * gdb.base/environ.exp: Handle compiling test case from multiple
15426         source files.
15427
15428 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15429
15430         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15431
15432 2003-12-17  Jim Blandy  <jimb@redhat.com>
15433
15434         * gdb.base/freebpcmd.c: Add copyright notice.
15435
15436         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15437
15438 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15439
15440         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15441
15442 2003-12-13  Jim Blandy  <jimb@redhat.com>
15443
15444         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15445
15446 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
15447
15448         * gdb.asm/frv.inc: New file.
15449         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15450
15451 2003-12-09  Fred Fish  <fnf@redhat.com>
15452
15453         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15454         functions to break1.c and leave prototypes behind.  Add more
15455         "set breakpoint NN here" comments.
15456         * gdb.base/break1.c: New file.
15457
15458         * gdb.base/break.exp: Handle compiling test case from multiple
15459         source files and change source file references as needed.
15460         * gdb.base/completion.exp: Ditto.
15461         * gdb.base/condbreak.exp: Ditto.
15462         * gdb.base/define.exp: Ditto.
15463         * gdb.base/ena-dis-br.exp: Ditto.
15464         * gdb.base/info-proc.exp: Ditto.
15465         * gdb.base/maint.exp: Ditto.
15466         * gdb.base/until.exp: Ditto.
15467
15468         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15469         hardcoded line numbers.
15470         * gdb.base/define.exp: Ditto.
15471         * gdb.base/ena-dis-br.exp: Ditto.
15472         * gdb.base/maint.exp: Ditto.
15473         * gdb.base/until.exp: Ditto.
15474
15475         * gdb.base/completion.exp: Use "break1" for completion tests since
15476         "break" is no longer a unique prefix.
15477
15478 2003-12-06  Andrew Cagney  <cagney@redhat.com>
15479
15480         * gdb.base/structs.exp (test_struct_returns): When applicable, set
15481         "return_value_unimplemented".  When an unimplemented struct return
15482         architecture, report incorrect values as a KFAIL
15483
15484 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15485
15486         * gdb.cp/rtti.exp: Accept new wording of warning from
15487         cp_lookup_rtti_type.
15488
15489 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15490
15491         Partial fix for PR testsuite/1456.
15492         * gdb.base/scope.exp (test_at_main): Replace references to
15493         gcc_compiled with calls to test_compiler_info.
15494         (test_at_foo): Likewise.
15495         (test_at_bar): Likewise.
15496
15497 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
15498
15499         Partial fix for PR testsuite/1456.
15500         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15501         to test_compiler_info.
15502
15503 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
15504
15505         * gdb.base/so-impl-ld.exp: Update copyright notice.
15506
15507 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
15508
15509         Partial fix for PR testsuite/1456.
15510         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15511         to test_compiler_info.
15512
15513 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15514
15515         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15516         from current versions of gdb.  Clean up regular expressions.
15517         Delete redundant timeout case.
15518
15519 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15520
15521         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15522         from current versions of gdb.  Clean up regular expressions.
15523         Delete redundant timeout case.
15524
15525 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
15526
15527         Partial fix for PR testsuite/1456.
15528         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15529         gcc_compiled with call to test_compiler_info.
15530
15531 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
15532
15533         Partial fix for PR testsuite/1456.
15534         * gdb.base/list.exp (test_list_function): Delete unused declaration
15535         of gcc_compiled.
15536
15537 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
15538
15539         Partial fix for PR testsuite/1456.
15540         * gdb.base/complex.exp: Replace reference to gcc_compiled with
15541         call to test_compiler_info.
15542
15543 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
15544
15545         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
15546         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
15547         it to create the appropriate note.inc.
15548         * gdb.asm/asmsrc1.s: Include "note.inc".
15549         * gdb.asm/netbsd.inc: New file.
15550         * gdb.asm/empty.inc: New file.
15551
15552 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15553
15554         Partial fix for PR testsuite/1456.
15555         * gdb.base/constvars.exp: Replace references to gcc_compiled with
15556         calls to test_compiler_info.
15557
15558 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
15559
15560         Partial fix for PR testsuite/1456.
15561         * gdb.base/volatile.exp: Replace references to gcc_compiled with
15562         calls to test_compiler_info.
15563
15564 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
15565
15566         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15567         pattern for the KFAILs.
15568
15569 2003-11-25  Adam Fedor  <fedor@gnu.org>
15570
15571         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15572         * gdb.objc/objcdecode.m: New file.
15573
15574 2003-11-25  Adam Fedor  <fedor@gnu.org>
15575
15576         * gdb.objc/nondebug.exp: Test for PR objc/1236.
15577         * gdb.objc/nondebug.m: New file.
15578
15579 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
15580
15581         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15582         NetBSD as it does on FreeBSD.  Modelled on a similar change by
15583         Mark Kettenis on 2003-05-30.
15584         (link-flags): Set to "--entry _start" regardless of target.
15585         Special linker flags are to be appended to $link-flags.
15586         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15587
15588 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15589
15590         * gdb.cp/method.exp: Accept output of new demangler.
15591
15592 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15593
15594         * gdb/class2.exp: New file.
15595         * gdb/class2.cc: New file.
15596
15597 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15598
15599         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15600         of new demangler.
15601
15602 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15603
15604         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15605         of gdb_test "run".
15606
15607 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15608
15609         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
15610         "continue" into "run".
15611
15612 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15613
15614         Partial fix for PR testsuite/1456.
15615         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15616         call to test_compiler_info.
15617         * gdb.cp/ctti.exp: Likewise.
15618         * gdb.cp/derivation.exp: Likewise.
15619         * gdb.cp/member-ptr.exp: Likewise.
15620         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15621         reference to gcc_compiled.
15622
15623 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15624
15625         Fix PR testsuite/1463.
15626         * gdb.base/structs.exp (start_structs_test): Call
15627         get_debug_format before using the debug format.
15628
15629 2003-11-22  Andrew Cagney  <cagney@redhat.com>
15630
15631         * lib/gdb.exp (gdb_test_multiple): Add simple example.
15632         * gdb.base/structs.exp: Use gdb_test_multiple.
15633
15634 2003-11-20  Andrew Cagney  <cagney@redhat.com>
15635
15636         * gdb.base/structs.exp: Handle and recover from internal errors.
15637         Replace "foo${n}" with "foo<n>" in test messages.
15638
15639         * gdb.base/structs.exp: Update copyright.  Rewrite.
15640         * gdb.base/structs.c: Update copyright.  Rewrite.
15641
15642         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15643         resync count exceeded.
15644
15645         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15646         from the internal error.
15647         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15648         Original from Jim Blandy.
15649         (gdb_test_multiple): Use gdb_internal_error_resync.
15650
15651 2003-11-19  Andrew Cagney  <cagney@redhat.com>
15652
15653         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15654         KFAIL.
15655
15656 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
15657
15658         New testcase for PR backtrace/1435.
15659         * gdb.arch/i386-unwind.exp: New file.
15660         * gdb.arch/i386-unwind.c: New file.
15661
15662 2003-11-17  Andrew Cagney  <cagney@redhat.com>
15663
15664         * lib/gdb.exp (compiler_info): New global.
15665         (test_compiler_info): New function.
15666         (get_compiler_info): Set compiler_info.
15667         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
15668         "compiler_info" to gcc-<major>-<minor>.
15669
15670 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
15671
15672         * gdb.trace/configure: Remove.
15673
15674 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
15675
15676         * gdb.base/break.c: Add comments to aid finding line numbers for
15677         breakpoints.
15678         * gdb.base/break.exp: Remove all references to explicit line
15679         numbers.
15680
15681 2003-11-11  Nick Clifton  <nickc@redhat.com>
15682
15683         * gdb.base/shreloc.exp: Do not run for targets which do not
15684         support shared objects.
15685
15686 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
15687
15688         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15689         Don't run tests if nofileio flag is given.
15690
15691 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
15692
15693         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15694         as well as 'Watchpoint'.
15695
15696 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15697
15698         Reported by Jim Ingham <jingham@apple.com>:
15699         * gdb.base/annota1.exp: Match at least one occurrence of the
15700         signal handler annotation.
15701
15702 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15703
15704         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15705         as well as 'Watchpoint'.
15706
15707 2003-11-05  Michael Chastain  <mec@shout.net>
15708
15709         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15710
15711 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
15712
15713         * gdb.arch/gdb1291.c: New test file.
15714         * gdb.arch/gdb1291.exp: New test script.
15715         * gdb.arch/gdb1431.c: New test file.
15716         * gdb.arch/gdb1431.exp: New test script.
15717
15718 2003-10-22  Michael Chastain  <mec@shout.net>
15719
15720         * gdb.mi/pthreads.c: Add copyright notice.
15721
15722 2003-10-22  Michael Chastain  <mec@shout.net>
15723
15724         * gdb.threads/pthreads.c: Add copyright notice.
15725
15726 2003-10-20  Michael Chastain  <mec@shout.net>
15727
15728         * gdb.base/gdb1056.exp: New test script.
15729
15730 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15731
15732         * gdb.threads/killed.exp: Use gdb_run_cmd.
15733
15734 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15735
15736         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15737         create a core file.
15738         * gdb.threads/gcore-thread.exp: Likewise.
15739
15740 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
15741
15742         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15743         type, based on char type.
15744         (struct bit_flags_short_t): New bitfield type, based on short type.
15745         (init_bit_flags_char): New fuction.
15746         (init_bit_flags_short): Ditto.
15747         (print_bit_flags_char): Ditto.
15748         (print_bit_flags_short): Ditto.
15749         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15750
15751 2003-10-11  Michael Chastain  <mec@shout.net>
15752
15753         * gdb.base/call-rt-st.exp: Update copyright year.
15754
15755 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
15756
15757         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15758         * gdb.disasm/sh3.s: Ditto.
15759
15760 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
15761
15762         * gdb.threads/switch-threads.exp: New test.
15763         * gdb.threads/switch-threads.c: New source file.
15764
15765 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
15766
15767         * gdb.base/ending-run.exp: Add sh specific case.
15768
15769 2003-10-06  Andrew Cagney  <cagney@redhat.com>
15770
15771         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15772         * gdb.disasm/mn10200.exp: Delete obsolete file.
15773
15774 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
15775
15776         * ChangeLog: Correct an entry command.exp -> commands.exp.
15777         * gdb.base/commands.exp (bp_deleted_in_command_test)
15778         (temporary_breakpoint_commands): Check noargs.
15779
15780 2003-09-25  David Carlton  <carlton@kealia.com>
15781
15782         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
15783         of some print tests, where appropriate.  Add tests for C::D::cd,
15784         E::ce, F::cXfX, G::XgX.
15785         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15786
15787 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
15788
15789         * lib/java.exp (java_init): Import target_alias before using it.
15790
15791 2003-09-25  David Carlton  <carlton@kealia.com>
15792
15793         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15794
15795 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
15796
15797         * gdb.base/selftest.exp: Accomodate more instruction reordering
15798         weirdness.
15799
15800 2003-09-17  Michael Chastain  <mec@shout.net>
15801
15802         * gdb.cp/gdb1355.exp: New file.
15803         * gdb.cp/gdb1355.c: New file.
15804
15805 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
15806
15807         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15808         * gdb.asm/sh.inc: New file.
15809
15810 2003-09-11  David Carlton  <carlton@kealia.com>
15811
15812         * gdb.cp/namespace.exp: Add tests for namespace types.
15813         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15814         (test_namespace): New.
15815
15816 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
15817
15818         * gdb.base/relocate.exp: Handle new gdb output at startup.
15819         * gdb.stabs/weird.exp: Ditto.
15820
15821 2003-09-08  Michael Chastain  <mec@shout.net>
15822
15823         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15824
15825 2003-09-07  Michael Chastain  <mec@shout.net>
15826
15827         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15828         'parse error'.
15829
15830 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
15831
15832         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15833
15834 2003-08-30  Michael Chastain  <mec@shout.net>
15835
15836         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15837         * gdb.gdb/observer.exp: Ditto.
15838         * gdb.gdb/xfullpath.exp: Ditto.
15839
15840 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
15841
15842         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15843         *-*-*bsd*.
15844
15845 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
15846
15847         * gdb.base/dump.exp: Skip for ia64.
15848
15849 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
15850
15851         * gdb.asm/asm-source.exp: Add ia64 support.
15852         * gdb.asm/ia64.inc: New file.
15853
15854 2003-08-22  Michael Chastain  <mec@shout.net>
15855
15856         * gdb.cp: New directory.
15857         * gdb.cp/*: Copy from gdb.c++/*.
15858         * gdb.c++/*: Remove.
15859         * Makefile.in: Change gdb.c++ to gdb.cp.
15860         * configure.in:  Ditto.
15861         * configure: Regnerate.
15862
15863 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
15864
15865         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15866         * gdb.arch/i386-prologue.c (gdb1338): Add function.
15867
15868 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15869
15870         * mi-var-display.exp (-var-list-children weird): Accept function
15871         pointers with argument types.
15872         * mi1-var-display.exp (-var-list-children weird): Likewise.
15873         * mi2-var-display.exp (-var-list-children weird): Likewise.
15874
15875 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15876
15877         * gdb.base/annota3.exp: Add missing newline.
15878
15879 2003-08-06  Michael Chastain  <mec@shout.net>
15880
15881         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15882
15883 2003-08-12  Michael Snyder  <msnyder@redhat.com>
15884
15885         * gdb.base/float.exp: Add test for SH.
15886
15887 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
15888
15889         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15890
15891 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15892
15893        * gdb.base/completion.exp: Remove reduntant completion test
15894        on filename.
15895
15896 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15897
15898         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15899         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15900         gdb.trace/save-trace.exp: Make sure that full pathnames are
15901         escaped correctly.
15902
15903 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15904
15905         * configure.in: Don't generate config.h from config.hin.
15906         * configure: Regenerate.
15907         * config.hin: Remove file.
15908         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15909         * gdb.threads/pthreads.c: Ditto.
15910
15911 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
15912
15913         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15914         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15915         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15916         Replace ld24 with seth/add3.
15917
15918 2003-08-02  Andrew Cagney  <cagney@redhat.com>
15919
15920         * gdb.base/annota3.exp: New file.
15921         * gdb.base/annota3.c: New file.
15922         * gdb.c++/annota3.exp: New file.
15923         * gdb.c++/annota3.cc: New file.
15924
15925 2003-07-29  Michael Chastain  <mec@shout.net>
15926
15927         * gdb.threads/tls.c (spin): Check errno only if sem_wait
15928         actually failed.
15929         (do_pass): Likewise.
15930         * gdb.threads/tls.exp: Always initialize no_of_threads.
15931
15932 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
15933
15934         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15935         pattern.
15936         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15937         * gdb.threads/tls.exp: Recognize one case of the host library not
15938         supporting TLS.
15939
15940 2003-07-27  Andrew Cagney  <cagney@redhat.com>
15941
15942         * gdb.base/fileio.exp: Use SH when running commands using
15943         remote_exec.
15944
15945 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
15946
15947         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15948         * gdb.base/relocate.c (dummy): New padding array.
15949
15950 2003-07-22  Michael Snyder  <msnyder@redhat.com>
15951
15952         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15953
15954         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15955         patterns to be more general, accepting old and new output.
15956         Some output chars (such as '+') also must be quoted.
15957         Some addresses are displayed numerically instead of
15958         symbolically.
15959
15960 2003-07-23  Michael Snyder  <msnyder@redhat.com>
15961
15962         * gdb.base/return2.exp: Don't test long-long return.
15963
15964         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15965         * gdb.disasm/t01_mov.exp: Ditto.
15966         * gdb.disasm/t02_mova.s: Ditto.
15967         * gdb.disasm/t02_mova.exp: Ditto.
15968         * gdb.disasm/t03_add.s: Ditto.
15969         * gdb.disasm/t03_add.exp: Ditto.
15970         * gdb.disasm/t04_sub.s: Ditto.
15971         * gdb.disasm/t04_sub.exp: Ditto.
15972         * gdb.disasm/t05_cmp.s: Ditto.
15973         * gdb.disasm/t05_cmp.exp: Ditto.
15974         * gdb.disasm/t06_ari2.s: Ditto.
15975         * gdb.disasm/t06_ari2.exp: Ditto.
15976         * gdb.disasm/t07_ari3.s: Ditto.
15977         * gdb.disasm/t07_ari3.exp: Ditto.
15978         * gdb.disasm/t08_or.s: Ditto.
15979         * gdb.disasm/t08_or.exp: Ditto.
15980         * gdb.disasm/t09_xor.s: Ditto.
15981         * gdb.disasm/t09_xor.exp: Ditto.
15982         * gdb.disasm/t10_and.s: Ditto.
15983         * gdb.disasm/t10_and.exp: Ditto.
15984         * gdb.disasm/t11_logs.s: Ditto.
15985         * gdb.disasm/t11_logs.exp: Ditto.
15986         * gdb.disasm/t12_bit.s: Ditto.
15987         * gdb.disasm/t12_bit.exp: Ditto.
15988         * gdb.disasm/t13_otr.s: Ditto.
15989         * gdb.disasm/t13_otr.exp: Ditto.
15990
15991 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15992
15993         * gdb.threads/tls.exp :Add kfail for 'info address' case.
15994
15995 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
15996
15997         * gdb.threads/tls.c : New file.
15998         * gdb.threads/tls.exp : New file.
15999         * gdb.threads/tls-main.c : New file.
16000         * gdb.threads/tls-shared.c : New file.
16001         * gdb.threads/tls-shared.exp : New file.
16002
16003 2003-07-22  Andreas Schwab  <schwab@suse.de>
16004
16005         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16006
16007 2003-07-20  Andreas Schwab  <schwab@suse.de>
16008
16009         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16010         due to insn reordering.
16011
16012 2003-07-15  Andrew Cagney  <cagney@redhat.com>
16013
16014         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16015
16016 2003-07-15  Michael Chastain  <mec@shout.net>
16017
16018         * gdb.base/gdb1250.exp: New file.
16019         * gdb.base/gdb1250.c: New file.
16020
16021 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
16022
16023         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16024         expansion of size_t to 'unsigned long', not only to 'unsigned'.
16025
16026 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
16027
16028         * gdb.threads/tls.c: New file.
16029         * gdb.threads/tls.exp: New file.
16030         * gdb.threads/tls-main.c: New file.
16031         * gdb.threads/tls-shared.c: New file.
16032         * gdb.threads/tls-shared.exp: New file.
16033
16034 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
16035
16036         * gdb.base/annota1.exp: Make sure that we properly escape the
16037         full path of the source file. Xfail more permissive patterns,
16038         due to a compiler debug info problem.
16039
16040 2003-07-07  Andreas Schwab  <schwab@suse.de>
16041
16042         * gdb.asm/m68k.inc: New file.
16043         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16044
16045         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16046         arguments"): Also match negative number.
16047
16048         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16049
16050 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
16051
16052         * gdb.base/store.c (charest): New typedef.
16053         (add_char): Rename to add_charest, update.
16054         (wack_char): Rename to wack_charest, update types.  Return l + r
16055         to keep r live across the call.
16056         (wack_short, wack_int, wack_long, wack_longest, wack_float)
16057         (wack_double, wack_doublest): Return l + r to keep r live across
16058         the call.
16059         * gdb.base/store.exp: Accomodate store.c changes.
16060
16061 2003-06-30  David Carlton  <carlton@kealia.com>
16062
16063         * gdb.c++/maint.exp (test_invalid_name): New.
16064         (test_first_component): Add tests for invalid names.
16065
16066 2003-06-29  Michael Chastain  <mec@shout.net>
16067
16068         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16069         output of '<VTT for class>' for virtual base classes.
16070
16071 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16072
16073         * gdb.base/completion.exp: Tab-complete "complet" instead of
16074         "compl".
16075         * gdb.base/complex.exp, gdb.base/complex.c: New files.
16076
16077 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16078
16079         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16080         * gdb.base/volatile.exp: Likewise.
16081
16082 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16083
16084         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16085         gdb/1265.
16086
16087 2003-06-28  Michael Chastain  <mec@shout.net>
16088             Daniel Jacobowitz  <drow@mvista.com>
16089
16090         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16091         initial line count of 'captured_main' from 26 to 32.
16092         (test_with_self): Allow xmalloc call to be interleaved with the
16093         preceding two lines.
16094
16095 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
16096
16097         * gdb.base/bang.exp: New testcase.
16098
16099 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
16100
16101         * gdb.base/langs.exp: Add some tests for the "minimal" language
16102         support.
16103
16104 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
16105
16106         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16107         the testcase.
16108
16109 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
16110
16111         * gdb.base/relocate.exp: Test add-symbol-file with a variable
16112         offset.
16113
16114 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
16115
16116         * gdb.c++/pr-1210.cc: New file.
16117         * gdb.c++/pr-1210.exp: New file.
16118
16119 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
16120
16121         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16122         000-exec-continue.
16123
16124 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
16125
16126         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16127         on *-*-*bsd* instead of *-*-freebsd*.
16128
16129 2003-06-14  Andrew Cagney  <cagney@redhat.com>
16130
16131         * gdb.base/store.exp: Test longest and doublest.  Test all
16132         parameters.  Weaken return statement match.
16133         * gdb.base/store.c: Add longest and doublest - aka long long and
16134         long double functions.  Put all parameters into local register
16135         variables.  Use negative values.
16136
16137 2003-06-14  Andrew Cagney  <cagney@redhat.com>
16138
16139         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
16140         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
16141         exit status.
16142         * gdb.base/fileio.exp: Disable target when nointerrupts and
16143         noinferiorio, instead of limiting it to remote.  Use remote_exec
16144         instead of system.
16145
16146 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
16147
16148         * gdb.base/float.exp: Add ia64 support.
16149
16150 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
16151
16152         * gdb.base/fileio.exp: Run only on remote targets.
16153
16154 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
16155
16156         * gdb.base/fileio.c: New file, testing File-I/O.
16157         * gdb.base/fileio.exp: Ditto.
16158
16159 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
16160
16161         * gdb.base/shreloc.exp: New file, check symbol values obtained from
16162         shared objects after relocation at load time (gdb PR/1132).
16163         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
16164         as above, part of the shared object relocation test.
16165
16166 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
16167
16168         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16169         fully filled history list.
16170         * gdb.base/gdb_history: New file.
16171
16172         * gdb.base/signals.exp: XFAIL "continue to func1" on
16173         i*86-*-freebsd*.
16174
16175         * gdb.base/attach.exp: When trying to attach to a nonexistent
16176         process, make it possible to specify the PID based on the target,
16177         and do so for *-*-freebsd*.
16178
16179 2003-06-02  Richard Henderson  <rth@redhat.com>
16180
16181         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16182
16183 2003-06-02  Richard Henderson  <rth@redhat.com>
16184
16185         * gdb.base/selftest.exp: Next over lim_at_start initialization.
16186
16187 2003-06-02  Richard Henderson  <rth@redhat.com>
16188
16189         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16190
16191 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
16192
16193         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16194         of globalvar.
16195
16196 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
16197
16198         * gdb.asm/asm-source.exp: Check for memory read errors in
16199         disassembler test on *BSD too.
16200
16201 2003-06-01  Richard Henderson  <rth@redhat.com>
16202
16203         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16204         for .frame.
16205         (gdbasm_call): Lose ldgp.
16206         (gdbasm_startup): Add frame information.
16207         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16208
16209 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
16210
16211         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16212         i?86-*-*.
16213
16214 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
16215
16216         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16217         FreeBSD.
16218
16219 2003-05-29  Richard Henderson  <rth@redhat.com>
16220
16221         * gdb.asm/alpha.inc: New file.
16222         * gdb.asm/asm-source.exp: Use it.
16223
16224 2003-05-29  Jim Blandy  <jimb@redhat.com>
16225
16226         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16227         'core.PID'.
16228
16229 2003-05-22  Jim Blandy  <jimb@redhat.com>
16230
16231         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16232         backtrace.
16233
16234 2003-05-20  David Carlton  <carlton@math.stanford.edu>
16235
16236         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16237         this time.
16238
16239 2003-05-19  David Carlton  <carlton@bactrian.org>
16240
16241         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16242         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16243
16244 2003-05-19  David Carlton  <carlton@bactrian.org>
16245
16246         * gdb.c++/namespace.exp: Add namespace scope and anonymous
16247         namespace tests.
16248         Bump copyright date.
16249         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16250         (main): Call C::D::marker2.
16251         * gdb.c++/namespace1.cc: New file.
16252
16253 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
16254
16255         Roland McGrath  <roland@redhat.com>
16256         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16257         there is no manager thread.
16258
16259 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
16260
16261         * gdb.threads/schedlock.exp: Remove assumption that all threads
16262         will run in a particular small time slice.  Also ensure we break
16263         in one of the child threads rather than the main thread.
16264
16265 2003-05-07  Jim Blandy  <jimb@redhat.com>
16266
16267         Add support for assembly source testing on the s390x.
16268         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16269         architecture.
16270         * gdb.asm/s390x.inc: New file.
16271
16272         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16273         succession of 'if' statements.
16274
16275 2003-05-05  Andrew Cagney  <cagney@redhat.com>
16276
16277         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16278
16279 2003-05-05  Andrew Cagney  <cagney@redhat.com>
16280
16281         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16282         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16283
16284 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
16285
16286         * gdb.base/charset.exp: Update based on new behavior of set/show
16287         charset commands.
16288
16289 2003-05-01  Andrew Cagney  <cagney@redhat.com>
16290
16291         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16292         variable do not give memory errors.
16293
16294 2003-04-30  Adam Fedor  <fedor@gnu.org>
16295
16296         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16297         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16298         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16299         gdb.objc/basicclass.m: : New files
16300
16301         * lib/gdb.exp (gdb_compile_objc): New procedure.
16302
16303 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
16304
16305         * gdb.base/signals.exp: Make backtrace tests more specific.
16306
16307 2003-04-23  David Carlton  <carlton@bactrian.org>
16308
16309         * gdb.c++/maint.exp (test_first_component): Add tests for
16310         'operator' in more locations.
16311
16312 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
16313
16314         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16315
16316 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
16317
16318         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16319         func marke' instead. Update test name.
16320
16321 2003-04-15  David Carlton  <carlton@math.stanford.edu>
16322
16323         * gdb.c++/maint.exp: New file.
16324
16325 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
16326
16327         * gdb.threads/schedlock.c: Change type of thread function argument
16328         to long, to avoid warnings on 64-bit platforms.
16329
16330 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
16331
16332         * gdb.base/attach.exp: Add new message from ptrace in case of
16333         attaching to nonexistent process.
16334
16335 2003-04-11  Jim Blandy  <jimb@redhat.com>
16336
16337         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16338         gdb.c++/userdef.cc: Place comments on the lines to which the
16339         marker function might return.
16340         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16341         gdb.c++/userdef.exp: Look for those comments to check that we've
16342         returned to the right place, instead of checking line numbers.
16343
16344 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
16345
16346         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16347         match on sourcefile name, instead of directory name.
16348
16349 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
16350
16351         * gdb.base/completion.exp: Use string_to_regexp to match the
16352         working directory name.
16353
16354 2003-04-09  Jim Blandy  <jimb@redhat.com>
16355
16356         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16357         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16358         after an inferior function call, report the failure, but allow the
16359         test to continue.
16360
16361 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
16362
16363         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16364         with -DPROTOTYPES.
16365
16366 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
16367
16368         * gdb.base/break.exp: Revert last patch.
16369
16370 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
16371
16372         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16373         with -DPROTOTYPES.
16374
16375 2003-04-02  Andrew Cagney  <cagney@redhat.com>
16376
16377         * gdb.base/callfuncs.exp: Make "print add" messages unique.
16378         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16379         matching directories by the name breakpoint.
16380         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16381         Make "continue to marker1" consistent.
16382         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16383         message consistent.
16384         * lib/gdb.exp: Put "the program is no longer running", and "the
16385         program exited" in parenthesis.
16386         * lib/mi-support.exp: Ditto.
16387
16388 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
16389
16390         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16391
16392 2003-03-29  Andrew Cagney  <cagney@redhat.com>
16393
16394         * gdb.base/sizeof.c (main): Print the value of '\377'.
16395         * gdb.base/sizeof.exp: Check the sign of '\377'.
16396
16397 2003-03-27  Michael Chastain  <mec@shout.net>
16398
16399         * gdb.base/gdb1090.exp: New file.
16400         * gdb.base/gdb1090.cc: New file.
16401
16402 2003-03-27  J. Brobecker  <brobecker@gnat.com>
16403
16404         * gdb.gdb/observer.exp: New regression test.
16405
16406 2003-03-27  Michael Chastain  <mec@shout.net>
16407
16408         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16409         * gdb.base/ptype.exp: Likewise.
16410
16411 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
16412
16413         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16414
16415 2003-03-26  Michael Chastain  <mec@shout.net>
16416
16417         * gdb.base/ptype.exp: Actually use some typedef'd types.
16418
16419 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
16420
16421         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16422         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16423
16424 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16425
16426         * gdb.base/default.exp: Fix regular expression.
16427
16428 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16429
16430         * gdb.base/args.exp: Fix regular expression.
16431
16432 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16433
16434         * gdb.base/help.exp: Allow Win32 child process.
16435
16436 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16437
16438         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16439         when stepping out of main().
16440
16441 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16442
16443         * gdb.base/default.exp: Check for win32 specific message when calling
16444         "run" without executable.
16445
16446 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16447
16448         * gdb.base/args.exp: Expect .exe in output.
16449
16450 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16451
16452         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16453         Cygwin native.
16454
16455 2003-03-17  Andrew Cagney  <cagney@redhat.com>
16456
16457         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
16458         vector registes.
16459         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16460         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16461
16462 2003-03-17  David Carlton  <carlton@math.stanford.edu>
16463
16464         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16465         test, for PR breakpoints/38.
16466         Call test_watchpoint_and_breakpoint.
16467         * gdb.base/watchpoint.c (func3): New function.
16468         (main): Call func3.
16469
16470 2003-03-04  David Carlton  <carlton@math.stanford.edu>
16471
16472         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16473         Garply<Garply<char> >:: garply".
16474         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16475         with respect to PR c++/1111; note also PR c++/1113.
16476         (test_template_breakpoints): KFAIL "constructor breakpoint" with
16477         respect to PR c++/1062.
16478         KFAIL "destructor breakpoint" with respect to PR c++/1112.
16479
16480 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16481
16482         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16483         with respect to PR c++/57.
16484         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16485         c++/826.
16486         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16487         respect to PR c++/57.
16488
16489 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16490
16491         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16492         respect to PR c++/33 into FAILs.
16493
16494 2003-03-03  Michael Chastain  <mec@shout.net>
16495
16496         * configure.in: Update copyright years.
16497
16498 2003-03-03  Michael Chastain  <mec@shout.net>
16499
16500         * Makefile.in: Update copyright years.
16501
16502 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16503
16504         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16505         print class instead of struct and/or superfluous protection
16506         specifiers, as long as the resulting output is equivalent to the
16507         source code.
16508         Delete FIXME from end of messages on tests that don't need
16509         fixing.
16510
16511 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16512
16513         * gdb.c++/templates.exp (do_tests): Allow const in the two
16514         Foo<volatile char *>::foo tests.
16515
16516 2003-02-27  Michael Snyder  <msnyder@redhat.com>
16517
16518         * gdb.base/restore.c (main): Return zero, so exit code
16519         will be consistant.
16520
16521 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16522
16523         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16524         char *>::foo" test with respect to PR c++/33.  Create a new test
16525         which is identical to that one except that it doesn't put the
16526         space between the "char" and the "*"; KFAIL it, too.
16527
16528 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16529
16530         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16531         template types into either PASSes or KFAILs (corresponding to PR
16532         c++/57).  Tweak indentation.  Update copyright.
16533
16534 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
16535
16536         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16537
16538 2003-02-13  Michael Chastain  <mec@shout.net>
16539
16540         * gdb.base/exprs.exp: Remove i960 remnants.
16541         * gdb.base/funcargs.exp: Likewise.
16542         * gdb.base/list.exp: Likewise.
16543         * gdb.base/ptype.exp: Likewise.
16544
16545 2003-02-14  David Carlton  <carlton@math.stanford.edu>
16546
16547         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16548         pEe->D::vg()" from XFAIL to KFAIL.
16549
16550 2003-02-13  Jason Molenda  (jmolenda@apple.com)
16551
16552         * gdb.base/maint.exp: Update maint print statistics regexp to include
16553         new entries.
16554
16555 2003-02-13  Michael Chastain  <mec@shout.net>
16556
16557         * gdb.c++/inherit.exp: Remove call to get_debug_format.
16558
16559 2003-02-12  Michael Chastain  <mec@shout.net>
16560
16561         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16562         * gdb.c++/inherit.exp: Likewise.
16563         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16564         * gdb.c++/templates.exp: Likewise.
16565         * gdb.c++/virtfunc.exp: Likewise.
16566
16567 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
16568
16569         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16570         why the code is written that way.
16571
16572 2003-02-05  Michael Chastain  <mec@shout.net>
16573
16574         * gdb.base/dump.exp: Add missing copyright line.
16575
16576 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
16577
16578         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16579         at the beginning so the breakpoint doesn't get set on the loop.
16580
16581 2003-02-05  Michael Chastain  <mec@shout.net>
16582
16583         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16584         output for configurations with gcc 2.95.3.
16585
16586 2003-02-05  Keith Seitz  <keiths@redhat.com>
16587             Andrew Cagney  <ac131313@redhat.com>
16588
16589         * gdb.mi/mi-cli.exp: New file.
16590
16591 2003-02-04  Michael Chastain  <mec@shout.net>
16592
16593         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16594         Call perror and then continue.
16595
16596 2003-02-03  Michael Chastain  <mec@shout.net>
16597
16598         * gdb.c++/pr-1023.cc: New file.
16599         * gdb.c++/pr-1023.exp: New file.
16600
16601 2003-02-05  Jim Blandy  <jimb@redhat.com>
16602
16603         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16604         it's local to foobar.  Check for it there, and check that it's not
16605         present in main.
16606         * gdb.c++/local.cc (marker2): New function.
16607         (foobar): Call marker1.
16608         (main): Call marker2 instead of marker1.
16609
16610 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
16611
16612         * gdb.disasm/mn10200.exp: Obsolete file.
16613         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16614         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16615         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16616
16617 2003-02-04  David Carlton  <carlton@math.stanford.edu>
16618
16619         * gdb.c++/overload.exp: Test intToChar(1).
16620         * gdb.c++/overload.cc (intToChar): New.
16621         (main): Call intToChar.
16622
16623 2003-02-03  David Carlton  <carlton@math.stanford.edu>
16624
16625         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16626         'might_kfail' arg.
16627         KFAIL some of the continue_to_bp_overloaded calls, according to
16628         PR c++/1025.
16629
16630 2003-02-01  Michael Chastain  <mec@shout.net>
16631
16632         * gdb.base/advance.c (marker1): New marker function.
16633         * gdb.base/advance.exp: When the 'advance' command lands on the
16634         return breakpoint, it can legitimately stop on either the
16635         current line or the next line.  Accommodate both outcomes.
16636         * gdb.base/until.exp: Likewise.
16637
16638 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
16639
16640         2002-11-10 Jason Molenda (jason-cl@molenda.com):
16641         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16642         now a list, not a tuple.
16643         * gdb.mi/mi-var-display.exp: Ditto.
16644         * gdb.mi/gdb792.exp: Ditto.
16645
16646 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
16647
16648         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16649         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16650         stack backtraces.
16651         * gdb.mi/mi-syn-frame.c: Part of same.
16652
16653 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
16654
16655         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16656         gdb.mi/mi1-pthreads.exp: Return instead of calling
16657         gdb_suppress_entire_file.
16658
16659 2003-02-01  Mark Salter  <msalter@redhat.com>
16660
16661         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16662
16663 2003-01-31  Mark Salter  <msalter@redhat.com>
16664
16665         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16666         Support empty arg.
16667
16668 2003-01-30  Michael Chastain  <mec@shout.net>
16669
16670         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16671         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
16672         has been fixed in gdb/readline on 2003-01-09.
16673
16674 2003-01-29  Michael Snyder  <msnyder@redhat.com>
16675
16676         * gdb.base/maint.exp: Allow for leading underscore in symbol.
16677         * gdb.base/display.exp: Allow for leading underscore in symbol.
16678         * gdb.base/args.exp: Skip if target does not support args passing.
16679
16680 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
16681
16682         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16683         gdb_test.  Accept a list of expect arguments as the third
16684         parameter.
16685         (gdb_test): Use it.
16686
16687 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
16688
16689         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16690         allow for different test tree configurations.  Update some
16691         tescases accordingly.
16692         * gdb.arch/altivec-regs.exp: Ditto.
16693         * gdb.asm/asm-source.exp: Ditto.
16694         * gdb.base/advance.exp: Ditto.
16695         * gdb.base/display.exp: Ditto.
16696         * gdb.base/long_long.exp: Ditto.
16697         * gdb.base/mips_pro.exp: Ditto.
16698         * gdb.base/overlays.exp: Ditto.
16699         * gdb.base/relocate.exp: Ditto.
16700         * gdb.base/setshow.exp: Ditto.
16701         * gdb.base/step-line.exp: Ditto.
16702         * gdb.base/step-test.exp: Ditto.
16703         * gdb.base/until.exp: Ditto.
16704         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16705
16706 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16707
16708         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16709         corresponding to PR c++/945.
16710         Update copyright.
16711
16712 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16713
16714         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16715         corresponding to PR c++/68.
16716
16717 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16718
16719         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16720         (test_paddr_hairy_functions): Call print_addr_2_kfail for
16721         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
16722
16723 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16724
16725         * gdb.base/break.exp: Fix change of default location, because of
16726         removal of until tests.
16727         * gdb.base/help.exp: Update test for new 'until' help message.
16728         Add test for help on 'advance'.
16729         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16730
16731 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
16732
16733         * gdb.base/default.exp: Adapt "info float" test for recent changes
16734         to that command.  Add test for "info vector".
16735         * gdb.base/float.exp: New file.  Add test for "info float" that
16736         resembles the old test in gdb.base/default.exp.
16737
16738 2003-01-15  David Carlton  <carlton@math.stanford.edu>
16739
16740         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16741
16742 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16743
16744         * gdb.base/break.exp: Move the tests of until command from here...
16745         * gdb.base/until.exp: ... to here. New file. Add other tests.
16746         * gdb.base/advance.c: New file.
16747         * gdb.base/advance.exp: New file.
16748
16749 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
16750
16751         * gdb.base/args.c: New file.
16752         * gdb.base/args.exp: New file.
16753
16754 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16755
16756         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16757
16758 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16759
16760         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16761
16762 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16763
16764         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
16765         dates.
16766
16767 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16768
16769         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16770
16771 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16772
16773         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16774         (ptype &*"foo").
16775         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16776
16777 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16778
16779         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16780         * gdb.mi/mi1-console.exp: Likewise.
16781
16782 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16783
16784         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16785         * gdb.mi/mi1-console.exp: Likewise.
16786
16787 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16788
16789         * gdb.c++/overload.exp: Remove some fixed XFAILs.
16790
16791 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16792
16793         * gdb.base/detach.exp: New test.
16794
16795 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16796
16797         * Makefile.in (ALL_SUBDIRS): New variable.
16798         (subdirs, clean, distclean): Use it.
16799         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
16800         regenerating Makefile, since it is generated from the top level.
16801         * gdb.asm/Makefile.in: Likewise.
16802         * gdb.base/Makefile.in: Likewise.
16803         * gdb.c++/Makefile.in: Likewise.
16804         * gdb.disasm/Makefile.in: Likewise.
16805         * gdb.java/Makefile.in: Likewise.
16806         * gdb.mi/Makefile.in: Likewise.
16807         * gdb.threads/Makefile.in: Likewise.
16808         * gdb.trace/Makefile.in: Likewise.
16809
16810 2003-01-09  David Carlton  <carlton@math.stanford.edu>
16811
16812         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16813         Add copyright year 2003.
16814
16815 2003-01-06  Michael Chastain  <mec@shout.net>
16816
16817         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16818         When selecting a thread, 'line' and 'file' are optional.
16819         * gdb.mi/mi1-pthreads.exp: Likewise.
16820
16821 2003-01-06  Andreas Schwab  <schwab@suse.de>
16822
16823         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16824         failures.
16825
16826 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16827
16828         Fix PR gdb/844
16829         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16830         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16831
16832         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
16833         instead of calling gdb_suppress_entire_file.
16834         * gdb.threads/print-threads.exp: Likewise.
16835         * gdb.threads/schedlock.exp: Likewise.
16836
16837         * gdb.threads/killed.exp: Return instead of calling
16838         gdb_suppress_entire_file.
16839         * gdb.threads/linux-dp.exp: Likewise.
16840         * gdb.threads/pthreads.exp: Likewise.
16841
16842 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16843
16844         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16845         stabs.
16846         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16847         * gdb.base/whatis.exp: Always allow (void) after function names.
16848
16849 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16850
16851         * gdb.c++/casts.exp: Correct regexp.
16852
16853 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
16854
16855         * configure.in: Call AC_CONFIG_HEADER.  Don't call
16856         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16857         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
16858         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
16859         aforementioned directories in the AC_OUPUT call.
16860         * config.hin: New file.
16861         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16862         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16863         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16864         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16865         pass -I$objdir instead of -I$objdir/$subdir in compilation.
16866         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16867         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16868         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16869         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16870         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16871         gdb.threads/configure.in, gdb.threads/configure,
16872         gdb.threads/config.in, gdb.trace/configure.in,
16873         gdb.trace/configure: Removed.
16874
16875 2003-01-03  Michael Chastain  <mec@shout.net>
16876
16877         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16878         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16879
16880 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
16881
16882         * gdb.base/store.exp: Fix regular expressions.
16883
16884 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
16885
16886         * configure.in: Rewrite.
16887         * configure: Regenerated.
16888
16889 2003-01-03  David Carlton  <carlton@math.stanford.edu>
16890
16891         * gdb.base/psymtab.exp: New file.
16892         * gdb.base/psymtab1.c: Ditto.
16893         * gdb.base/psymtab2.c: Ditto.
16894
16895 2002-12-23  Adam Fedor  <fedor@gnu.org>
16896
16897         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16898
16899 2002-12-23  David Carlton  <carlton@math.stanford.edu>
16900
16901         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16902         and current_directory initialization.
16903
16904 2002-12-22  Jim Blandy  <jimb@redhat.com>
16905
16906         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16907         rather than as part of the output file name.
16908
16909         * gdb.base/attach.exp: There's no need to copy the test program to
16910         /tmp; that was only ever necessary on HP/UX, and this test is
16911         entirely disabled there anyway.
16912
16913 2002-12-21  Jim Blandy  <jimb@redhat.com>
16914
16915         * gdb.c++/psmang.exp: Doc fix.
16916
16917         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16918         test.
16919
16920 2002-12-20  David Carlton  <carlton@math.stanford.edu>
16921
16922         * gdb.c++/annota2.exp: KFAIL annotate-quit.
16923
16924 2002-12-18  Michael Chastain  <mec@shout.net>
16925
16926         * gdb.c++/annota2.exp: Add copyright year 2002.
16927
16928 2002-12-17  David Carlton  <carlton@math.stanford.edu>
16929
16930         * gdb.c++/try_catch.cc: Add marker comments.
16931         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16932         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16933         * gdb.c++/m-static.cc: Ditto.
16934         * gdb.c++/m-static1.cc: Ditto.
16935         * gdb.c++/try_catch.cc: Ditto.
16936
16937 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
16938
16939         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16940         to see whether we are using the new -environment-directory
16941         command which resets via -r or the old version of the command
16942         which may prompt the user.  Part of fix for gdb/741.
16943
16944 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
16945
16946         * gdb.fortran/types.exp: Update obsolete comment.
16947         * gdb.fortran/exprs.exp: Ditto.
16948         * lib/gdb.exp: Delete obsolete code.
16949         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16950         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16951         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16952         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16953         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16954         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16955         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16956         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16957         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16958         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16959         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16960         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16961         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16962         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16963         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16964         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16965         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16966         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16967         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16968         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16969         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16970         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16971         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16972         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16973         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16974         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16975         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16976         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16977         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16978         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16979         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16980         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16981         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16982         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16983         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16984         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16985         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16986
16987 2002-12-11  David Carlton  <carlton@math.stanford.edu>
16988
16989         * gdb.c++/m-data.exp: Add test for members that shadow global
16990         variables: see PR gdb/804.
16991         * gdb.c++/m-data.cc: Ditto.
16992
16993 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
16994
16995         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16996
16997 2002-12-06  David Carlton  <carlton@math.stanford.edu>
16998
16999         * gdb.base/store.c: Don't declare functions static.
17000
17001 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
17002
17003         * gdb.base/store.exp, gdb.base/store.c: New files.
17004
17005 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
17006
17007         * gdb.base/selftest.exp: Update for current gdb.
17008
17009 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
17010
17011         * gdb.base/maint.exp: Only dump symbols from one source file
17012         or objfile.
17013
17014 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
17015
17016         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17017         function call.
17018
17019 2002-11-25  Jim Blandy  <jimb@redhat.com>
17020
17021         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17022         function appearing in error message.
17023
17024 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
17025
17026         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17027
17028 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
17029
17030         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17031         for mi1 and current mi is in correct format.  New mi startup message
17032         should be in mi console format.  This is part of fix for PR gdb/604.
17033
17034 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
17035
17036         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17037         which explicitly prints the zero offset as "+0".
17038
17039 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
17040
17041         * gdb.threads/schedlock.c (args): Make unsigned.
17042
17043 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
17044
17045         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
17046         numbers.  Allow "foo2|selected stack frame".
17047         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17048         * gdb.asm/asmsrc2.s: Likewise.
17049         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
17050         comments.
17051         * gdb.asm/mips.inc: New file.
17052
17053 2002-10-18  Adam Fedor  <fedor@gnu.org>
17054
17055         * gdb.base/default.exp: Update expected output to include 'ObjC'.
17056         * gdb.base/help.exp: Likewise.
17057
17058 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
17059
17060         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17061         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17062
17063 2002-10-02  Jim Blandy  <jimb@redhat.com>
17064
17065         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17066
17067 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
17068
17069         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17070         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17071         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17072         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17073         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17074         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17075         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17076
17077 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
17078
17079         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17080         * mi0-disassemble.exp, mi0-eval.exp: Delete.
17081         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17082         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17083         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17084         * mi0-var-block.exp, mi0-var-child.exp: Delete.
17085         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17086
17087 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
17088
17089         * gdb.base/annota1.exp (info break): Make directory components of
17090         path optional since not all compilers emit this debug information.
17091
17092         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17093         step ends up stepping out of the function instead of stopping on
17094         the epilogue.
17095
17096 2002-09-26  Keith Seitz  <keiths@redhat.com>
17097
17098         * lib/insight-support.exp (gdbtk_start): Figure out where
17099         the insight executable is based on where gdb is. Use this
17100         executable to start insight instead of gdb.
17101
17102 2002-09-25  Andrew Cagney  <cagney@redhat.com>
17103
17104         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17105
17106 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
17107
17108         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17109         test_isolated_complaints.
17110         (test_empty_complaint): New function.
17111         (test_empty_complaints): New function.  Check no output when no
17112         complaints.
17113
17114 2002-09-19  Jim Blandy  <jimb@redhat.com>
17115
17116         * gdb.base/charset.exp, gdb.base/charset.c: New files.
17117
17118 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
17119
17120         * gdb.gdb/complaints.exp: New file.
17121
17122 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
17123
17124         * gdb.base/maint.exp: Check `help maint internal-warning'.
17125
17126 2002-09-18  David Carlton  <carlton@math.stanford.edu>
17127
17128         * gdb.c++/m-static.exp: Remove breakpoints depending on line
17129         numbers, and replace them by a single breakpoint after the
17130         constructors are all finished.
17131         Add test 4.
17132         * gdb.c++/m-static.cc: Add test 4.
17133         * gdb.c++/m-static.h: New file.
17134         * gdb.c++/m-static1.cc: New file.
17135
17136         * gdb.c++/printmethod.exp: New file.
17137         * gdb.c++/printmethod.cc: New file.
17138
17139         * gdb.c++/pr-574.exp: New file.
17140         * gdb.c++/pr-574.cc: New file.
17141
17142 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17143
17144         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17145         embedded targets which never actually exit.
17146
17147 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
17148
17149         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17150         "don't step after run" as unresolved or unsupported, instead of xfail.
17151
17152 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17153
17154         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17155         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17156         Add newline to expected string in "step out of main (status wrapper)"
17157         case.
17158
17159 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17160
17161         * lib/gdb.exp (rerun_to_main): Allow restarting application.
17162         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17163
17164 2002-09-17  Tom Tromey  <tromey@redhat.com>
17165
17166         * gdb.base/printcmds.exp (test_print_string_constants): Expect
17167         \000, not \0, in double-quoted string.
17168
17169 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
17170
17171         * gdb.base/commands.exp: Don't expect a "Program exited normally"
17172         string after running the commands execution on breakpoint tests.
17173
17174 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
17175
17176         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17177
17178 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
17179
17180         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17181
17182 2002-09-10  Keith Seitz  <keiths@redhat.com>
17183
17184         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17185         runto proc.
17186         (mi_run_to_main): Use mi_runto.
17187         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17188
17189 2002-09-10  Keith Seitz  <keiths@redhat.com>
17190
17191         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17192         regexp for stopping at main. Could have multiple event notifications.
17193         Don't assume that main was declared with no parameters.
17194         (mi_next): Use mi_step_to.
17195         (mi_step): Use mi_next_to.
17196
17197 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
17198
17199         * gdb.base/default.exp: Fix expected string in `info float' test.
17200
17201 2002-09-09  Ben Elliston  <bje@redhat.com>
17202
17203         * config/mips.exp: Update comments.
17204         * config/mips-idt.exp: Likewise.
17205         * config/nind.exp: Likewise.
17206         * config/slite.exp: Likewise.
17207         * config/sparclet.exp: Likewise.
17208         * config/udi.exp: Likewise.
17209         * config/vx.exp: Likewise.
17210         * config/vxworks29k.exp: Likewise.
17211
17212 2002-09-05  Jim Blandy  <jimb@redhat.com>
17213
17214         * gdb.threads/killed.exp: Fix test failure message.
17215
17216 2002-09-04  Keith Seitz  <keiths@redhat.com>
17217
17218         * lib/mi-support.exp: Update copyright.
17219         (mi_gdb_test): Increase the priority of the expected pattern
17220         so that it matches gdb_test.
17221
17222 2002-09-03  Keith Seitz  <keiths@redhat.com>
17223
17224         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17225         Use integer comparison instead of string comparison for testing
17226         whether binary was built.
17227
17228 2002-09-03  Jim Blandy  <jimb@redhat.com>
17229
17230         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17231
17232 2002-08-29  Jim Blandy  <jimb@redhat.com>
17233
17234         * gdb.threads/pthreads.exp: Move the portable thread compilation
17235         code into a function in lib/gdb.exp, and call that from here.
17236         * lib/gdb.exp (gdb_compile_pthreads): New function.
17237
17238 2002-08-29  Keith Seitz  <keiths@redhat.com>
17239
17240         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17241         expect_out so that callers can get at it.
17242
17243 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
17244
17245         * gdb.threads/print-threads.c: New file.
17246         * gdb.threads/print-threads.exp: New file.
17247         * gdb.threads/schedlock.c: New file.
17248         * gdb.threads/schedlock.exp: New file.
17249
17250 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
17251
17252         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17253         not altivec.c.
17254
17255 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
17256
17257         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17258         targets.  The problem should be fixed now.
17259
17260 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
17261
17262         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17263         2002-07-24 change that removes final dots from error messages.
17264
17265 2002-08-13  Tom Tromey  <tromey@redhat.com>
17266
17267         * gdb.base/readline.exp: New file.
17268
17269 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
17270
17271         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17272         supress message.
17273
17274 2002-08-01  Andrew Cagney  <cagney@redhat.com>
17275
17276         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17277         CHILL_FOR_TARGET and CHILL_LIB.
17278         * configure.in (configdirs): Remove gdb.chill.
17279         * configure: Regenerate.
17280         * lib/gdb.exp: Obsolete references to chill.
17281         * gdb.fortran/types.exp: Ditto.
17282         * gdb.fortran/exprs.exp: Ditto.
17283
17284 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
17285
17286         * gdb.base/shlib-call.exp (additional_flags): Conditionally
17287         set Irix-specific compile and link flags.
17288
17289 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
17290
17291         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17292         source files.  The ``-o'' option doesn't work with the ``-E'' option
17293         when using the Irix compiler.
17294
17295 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
17296
17297         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17298         Improve support for reusing an exec file.  Copy exec file
17299         to target, and run gdbserver on the target instead of on the host.
17300
17301 2002-07-18  Jim Blandy  <jimb@redhat.com>
17302
17303         * gdb.base/ending-run.exp: Don't expect to see the program end in
17304         some orderly fashion when we're running on a real stand-alone
17305         board.
17306
17307         * gdb.base/interrupt.exp: Correct logic for skipping tests on
17308         targets that don't support interrupts.
17309
17310 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
17311
17312         * gdb.base/attach.exp: Add patterns to match output from /proc-based
17313         systems.
17314         Move comments in expect statements to inside the actions, so that they
17315         don't get matched against.
17316
17317 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
17318
17319         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17320         function when asleep" test.
17321
17322 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
17323
17324         * gdb.base/page.exp: Rewrite to handle problems with very long
17325         `info set' output.  Update copyright.
17326
17327 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
17328
17329         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17330         gdb.threads-hp.
17331         * gdb.hp/configure: Regenerate.
17332         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17333         * gdb.hp/gdb.threads-hp/configure: Delete file.
17334         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17335
17336 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
17337
17338         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17339         setlocale, bindtextdomain and textdomain.
17340
17341 2002-06-11  Jim Blandy  <jimb@redhat.com>
17342
17343         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17344         preprocessor macro information is present.
17345
17346         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17347         tests.
17348
17349 2002-06-06  Michael Snyder  <msnyder@redhat.com>
17350
17351         * gdb.base/overlays.exp: Record addresses of overlay
17352         functions in TCL variables rather than in GDB variables,
17353         to avoid having GDB convert them to pointers (with loss
17354         of information).
17355
17356         * gdb.base/d10v.ld: Merge in several years worth of
17357         default linker script changes.
17358         * gdb.base/long_long.exp: Add check for sizeof (long double).
17359
17360 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
17361
17362         * gdb.asm/asm-source.exp: Add x86-64 target.
17363         * gdb.asm/x86_64.inc: New.
17364
17365 2002-05-30  Michael Chastain  <mec@shout.net>
17366
17367         From Benjamin Kosnik <bkoz@redhat.com>:
17368         * gdb.c++/m-static.cc: New file.
17369         * gdb.c++/m-static.exp: New file.
17370
17371 2002-05-28  Michael Snyder  <msnyder@redhat.com>
17372
17373         * gdb.base/call-ar-st.exp: Allow for reduced floating point
17374         precision.
17375
17376 2002-05-27  Michael Chastain  <mec@shout.net>
17377
17378         From Benjamin Kosnik <bkoz@redhat.com>:
17379         * gdb.c++/m-data.cc: New file.
17380         * gdb.c++/m-data.exp: New file.
17381
17382 2002-05-27  Michael Chastain  <mec@shout.net>
17383
17384         From Benjamin Kosnik <bkoz@redhat.com>:
17385         * gdb.c++/try_catch.cc: New file.
17386         * gdb.c++/try_catch.exp: New file.
17387
17388 2002-05-27  Michael Chastain  <mec@shout.net>
17389
17390         * gdb.c++/local.exp: Accept more nested types in output.
17391
17392 2002-05-26  Michael Chastain  <mec@shout.net>
17393
17394         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17395
17396 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
17397
17398         * lib/gdb.exp (gdb_wrapper_init): Just because
17399         gdb_wrapper_file exists, this does not mean that the file
17400         should not be rebuilt.  That is what gdb_wrapper_initialized
17401         is for.
17402         (default_gdb_init): Reset gdb_wrapper_initialized.
17403
17404 2002-05-23  Michael Snyder  <msnyder@redhat.com>
17405
17406         * gdb.base/all-bin.exp: Revise previous patch by just reducing
17407         the precision of the floating point test results.
17408         * gdb.base/call-rt-st.exp: Ditto.
17409
17410         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17411         * gdb.base/call-rt-st.exp: Ditto.
17412
17413 2002-05-19  Michael Chastain  <mec@shout.net>
17414
17415         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17416
17417 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
17418
17419         * configure.in (configdirs): Add gdb.arch.
17420         * configure: Regenerate.
17421
17422 2002-05-17  Jim Blandy  <jimb@redhat.com>
17423
17424         * gdb.base/completion.exp: Recognize the more detailed error
17425         messages produced by the macro expander's lexical analyzer.
17426
17427 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17428
17429         * gdb.arch/altivec-abi.c: New file.
17430         * gdb.arch/altivec-abi.exp: New file.
17431         * gdb.arch/altivec-regs.c: New file.
17432         * gdb.arch/altivec-regs.exp: New file.
17433
17434 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
17435
17436         * gdb.base/maint.exp (maint print type): Update for new type
17437         structure.
17438
17439 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17440
17441         * gdb.arch: New directory.
17442         * gdb.arch/configure.in: New file.
17443         * gdb.arch/configure: New file.
17444         * gdb.arch/Makefile.in: New file.
17445
17446 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
17447
17448         * gdb.asm/asm-source.exp: Add v850 as supported target.
17449         * gdb.asm/v850.inc: New file.
17450
17451 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
17452
17453         * gdb.c++/annota2.exp (annotate-quit): Add comment.
17454
17455 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
17456
17457         * gdb.base/break.exp: Check 'break "marker2"'.
17458
17459 2002-05-10  Michael Snyder  <msnyder@redhat.com>
17460
17461         * gdb.base/long_long.exp: Fix typo.
17462
17463 2002-05-10  Jim Blandy  <jimb@redhat.com>
17464
17465         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
17466         a bug.
17467
17468         * gdb.base/printcmds.exp (test_integer_literals_rejected):
17469         Recognize more detailed error message produced by the macro
17470         expander's lexical analyzer.
17471         * lib/gdb.exp (test_print_reject): Same.
17472
17473 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
17474
17475         * gdb.c++/method.exp: Fix typo.
17476
17477 2002-05-08  Michael Snyder  <msnyder@redhat.com>
17478
17479         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17480         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
17481         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
17482         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17483         Add iftarget clause for strongarm.
17484
17485 2002-05-06  Michael Snyder  <msnyder@redhat.com>
17486
17487         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17488         (gdb_continue_to_end): Accept output from status wrapper.
17489         * gdb.base/ending-run.exp: Add case for output from status wrapper.
17490         Clean up fail messages to match pass messages.
17491
17492         Enable the "needs_status_wrapper" testsuite feature.
17493         * lib/gdb.exp (gdb_wrapper_init): New procedure.
17494         (gdb_compile): Conditionally call gdb_wrapper_init.
17495         * gdb.base/a2-run.exp: Recognize output from status wrapper.
17496         * gdb.c++/method.exp: Recognize output from status wrapper.
17497
17498 2002-05-06  Ben Elliston  <bje@redhat.com>
17499 From Graydon Hoare  <graydon@redhat.com>
17500
17501         * config/sid.exp: Include support for "rawsid" protocol.
17502
17503 2002-05-03  Jim Blandy  <jimb@redhat.com>
17504
17505         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17506         * gdb.c++/hang3.C: New file.
17507
17508 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
17509
17510         * gdb.base/default.exp: Remove obsolete code.
17511         * gdb.c++/misc.exp: Ditto.  Update copyright.
17512         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
17513         * gdb.base/whatis.exp: Ditto.  Update copyright.
17514         * gdb.base/scope.exp: Ditto.  Update copyright.
17515         * gdb.base/ptype.exp: Ditto.  Update copyright.
17516         * gdb.base/printcmds.exp: Ditto.  Update copyright.
17517         * gdb.base/opaque.exp: Ditto.  Update copyright.
17518         * gdb.base/list.exp: Ditto.
17519         * gdb.base/funcargs.exp: Ditto.  Update copyright.
17520         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17521         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17522         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17523         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17524         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17525         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17526
17527 2002-05-02  Michael Snyder  <msnyder@redhat.com>
17528
17529         * gdb.base/watchpoint.exp: Add xscale target.
17530         * gdb.base/long_long.exp: Add xscale target.
17531         * gdb.base/default.exp: Add xscale target.
17532
17533 2002-05-01  Jim Blandy  <jimb@redhat.com>
17534
17535         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17536         gdb.c++/hang.exp: New test.
17537
17538 2002-05-01  Fred Fish  <fnf@redhat.com>
17539
17540         * gdb.base/completion.exp: Handle completions of "./Make" for
17541         more than one completion possibility, as is the case when we
17542         build and test in the source tree.
17543
17544 2002-04-29  Anthony Green  <green@redhat.com>
17545
17546         * gdb.java/jmisc1.exp: New file.
17547         * gdb.java/jmisc2.exp: New file.
17548
17549 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
17550
17551         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17552
17553 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
17554
17555         * gdb.base/help.exp: Change 'help status' to allow for target
17556         dependent output differences.
17557
17558 2002-04-22  Michael Chastain  <mec@shout.net>
17559
17560         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17561
17562 2002-04-22  Michael Chastain  <mec@shout.net>
17563
17564         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17565
17566 2002-04-17  David S. Miller  <davem@redhat.com>
17567
17568         * gdb.asm/sparc64.inc: New file.
17569         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17570
17571 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
17572
17573         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17574         instruction file directly into the build tree.  Clean up at end of
17575         test.
17576
17577 2002-04-18  David S. Miller  <davem@redhat.com>
17578
17579         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17580         handle 64-bit platforms correctly.
17581         * gdb.base/maint.exp: Likewise.
17582
17583 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17584
17585         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17586         ``-fpic'' when compiling files comprising a shared library, but
17587         it does need additional linker flags in order to find shared
17588         libraries at run time.
17589
17590 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17591
17592         * gdb.base/cvexpr.c (use): New function.
17593         (main): Invoke use() on all global variables to prevent
17594         some linkers from deleting these otherwise unused symbols.
17595
17596 2002-04-17  Michael Chastain  <mec@shout.net>
17597 From David S. Miller  <davem@redhat.com>
17598
17599         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17600         handle 64-bit platforms correctly.
17601
17602 2002-04-12  Michael Snyder  <msnyder@redhat.com>
17603 From Jim Blandy  <jimb@redhat.com>
17604         * gdb.base/foo.c (foox): Remove section attribute; the linker
17605         script can handle this instead.
17606         * gdb.base/bar.c (barx): Same.
17607         * gdb.base/baz.c (bazx): Same.
17608         * gdb.base/grbx.c (grbxx): Same.
17609
17610         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17611         manager doesn't automatically unmap overlays unnecessarily.
17612
17613 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
17614
17615         * gdb.base/ending-run.exp: Fix pattern for Mips targets
17616         stepping out of main.
17617
17618 2002-04-09  Michael Chastain  <mec@shout.net>
17619
17620         * gdb.c++/local.cc (main): Move call to marker1() inside nested
17621         scope so that the nested scope tests will make sense.
17622         * gdb.c++/local.exp: Write patterns that actually work with gcc
17623         (the HP patterns "were never known to work with gcc").
17624         Keep the old aCC patterns too.
17625
17626 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
17627
17628         * gdb.base/attach.exp: Correct target board test.
17629
17630 2002-04-08  Michael Chastain  <mec@shout.net>
17631
17632         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17633         in a const method.  Add some xfail and fail cases for configurations
17634         that do not emit the "const ...".
17635
17636 2002-04-07  Michael Chastain  <mec@shout.net>
17637
17638         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17639         Accept "A * const" and "const A * const" as type of "this".
17640         Fix spelling of getFunky throughout.  Make messages uniform.
17641
17642 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17643
17644         Work around for PR gdb/285:
17645         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17646
17647 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17648
17649         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17650         instructions file at run time instead of configure time.
17651         Sometimes we run the test in a directory that is not the one we
17652         configured in.
17653         * gdb.asm/configure.in: Delete creation of symlink.
17654         * gdb.asm/configure: Regenerate.
17655
17656 2002-04-05  J. Brobecker  <brobecker@gnat.com>
17657
17658         * gdb.gdb/xfullpath.exp: New test, to exercise the new
17659         xfullpath () function.
17660
17661 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17662
17663         * gdb.asm/Makefile.in: Correct dependencies.
17664
17665         * gdb.asm/powerpc.inc: New file.
17666         * gdb.asm/asm-source.exp: Add PowerPC.
17667         * gdb.asm/configure.in: Likewise.
17668         * gdb.asm/configure: Regenerated.
17669
17670 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17671
17672         * gdb.base/relocate.exp: New file.
17673         * gdb.base/relocate.c: New file.
17674
17675 2002-04-04  Fred Fish  <fnf@redhat.com>
17676
17677         * gdb.base/step-test.exp: Update comment regarding stopping in
17678         memcpy/bcopy calls inserted as part of the compiler runtime.
17679
17680 2002-04-04  Michael Snyder  <msnyder@redhat.com>
17681
17682         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17683
17684 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
17685
17686         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17687         (gdb_expect): Remove $notransfer hack.
17688
17689 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
17690
17691         * gdb.c++/classes.exp ("calling method for small class"): Match
17692         updated register output.
17693
17694 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17695
17696         Fix PR gdb/452
17697         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17698         when finished.  Make gdb_file_cmd send "exec-file" when
17699         appropriate.
17700
17701 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17702
17703         * gdb.base/attach.exp: Remove extra setup_xfail.
17704
17705 2002-03-26  Michael Snyder  <msnyder@redhat.com>
17706
17707         * gdb.base/default.exp: Add tests for dump, append, and restore.
17708         * gdb.base/help.exp: Add tests for dump, append, and restore.
17709         * gdb.base/dump.exp: New file, test dump, append and restore.
17710         * gdb.base/dump.c: New file.
17711
17712 2002-03-27  Michael Snyder  <msnyder@redhat.com>
17713
17714         * gdb.base/help.exp: Modify expect strings to reflect
17715         clean-ups in help messages.
17716
17717 2002-03-26  Fred Fish  <fnf@redhat.com>
17718
17719         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17720         have debugging info for those functions and the compiler uses them
17721         internally to copy structs around.
17722
17723 2002-03-26  Fred Fish  <fnf@redhat.com>
17724
17725         * gdb.base/list.exp: Revert the change made yesterday and add note
17726         about why we don't list the default lines for remote targets.
17727
17728 2002-03-25  Michael Snyder  <msnyder@redhat.com>
17729
17730         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17731
17732 2002-03-25  Fred Fish  <fnf@redhat.com>
17733
17734         * gdb.base/list.exp: This test works on remote targets so remove
17735         the short circuit for remote targets.  Update copyright.
17736
17737 2002-03-25  Fred Fish  <fnf@redhat.com>
17738
17739         * gdb.base/attach.exp: Fix logic error that was suppressing this
17740         test for all non hppa*-*-hpux* targets, instead of the hp target.
17741         Move comments closer to the suppression point.  Also now need to
17742         check that we are running natively.
17743
17744 2002-03-22  Michael Snyder  <msnyder@redhat.com>
17745
17746         * gdb.base/default.exp: Add test for gcore.  Update copyright.
17747         * gdb.base/help.exp: Add test for gcore.  Update copyright.
17748
17749 2002-03-06  Fred Fish  <fnf@redhat.com>
17750
17751         * gdb.base/funcargs.c:  Remove extraneous ';' character.
17752         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17753
17754 2002-03-04  Michael Chastain  <mec@shout.net>
17755
17756         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17757         accommodate gcc v3 function signature.
17758         * gdb.mi/mi0-var-cmd-exp: Ditto.
17759
17760 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
17761
17762         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17763         ``GNU/Linux'' or ``Linux kernel''
17764         * testsuite/gdb.threads/pthreads.c: Ditto.
17765
17766 2002-02-24  Michael Chastain  <mec@shout.net>
17767
17768         * gdb.threads/pthreads.c (thread1): Add a return statement.
17769         (thread2): Likewise.
17770         (foo): Likewise.
17771
17772 2002-02-23  Michael Chastain  <mec@shout.net>
17773
17774         * gdb.threads/linux-dp.c (philosopher): Add a return statement
17775         to placate gcc.
17776
17777 2002-02-23  Michael Chastain  <mec@shout.net>
17778
17779         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17780         test "ptype bint".  The test passes on all my stabs configurations.
17781
17782 2002-02-21  Jim Blandy  <jimb@redhat.com>
17783
17784         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17785         filename at a time, and watch for the ones we want to see.
17786
17787         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17788         types of pointers to prototyped functions.
17789
17790 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
17791
17792         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
17793         signed, unsigned and straight char.
17794         (padding_char, padding_short, padding_int, padding_long,
17795         padding_long_long, padding_float, padding_double,
17796         padding_long_double): New global variables.
17797         (fill, fill_structs): New functions.
17798
17799         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
17800         for correctly sized writes.  Update copyright.
17801         (get_valueof): New procedure.
17802         (get_sizeof): Call get_valueof.
17803         (check_valueof): New procedure.
17804         (check_padding): New procedure.
17805
17806 2002-02-20  Michael Chastain  <mec@shout.net>
17807
17808         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17809         to setup_xfail.  Document some of the remaining calls.
17810
17811 2002-02-18  Michael Chastain  <mec@shout.net>
17812
17813         * gdb.c++/userdef.exp: Update copyright year.
17814
17815 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
17816
17817         * gdb.c++/userdef.exp: Test overloaded operators properly.
17818         Remove xfails.
17819
17820 2002-02-14  Michael Snyder  <msnyder@redhat.com>
17821
17822         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17823
17824 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
17825
17826         * gdb.base/a2-run.exp: Check for a remote target properly.
17827         * gdb.base/annota1.exp: Likewise.
17828         * gdb.base/list.exp: Likewise.
17829         * gdb.base/reread.exp: Likewise.
17830         * gdb.base/scope.exp: Likewise.
17831         * gdb.base/shlib-call.exp: Likewise.
17832         * gdb.base/term.exp: Likewise.
17833         * gdb.c++/annota2.exp: Likewise.
17834
17835 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
17836
17837         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17838
17839 2002-02-10  Michael Chastain  <mec@shout.net>
17840
17841         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17842         (call_after_alloca): Ditto.
17843
17844 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
17845
17846         * gdb.base/ending-run.exp: Guard "cont" test with
17847         gdb_skip_stdio_test.
17848
17849 2002-02-06  Jim Blandy  <jimb@redhat.com>
17850
17851         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17852         from here...
17853         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17854         To here.  Disable this test on non-HP platforms.  Add big comment.
17855
17856 2002-02-04  Michael Snyder  <msnyder@redhat.com>
17857
17858         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
17859           other than d10v and m32r.
17860
17861 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
17862
17863         * gdb.base/default.exp: Rewrite test patterns to reduce time
17864         taken to match them.
17865
17866 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17867
17868         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17869         Allow a start function above main.
17870         * gdb.threads/linux-dp.exp: Fix copyright date.
17871
17872 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17873
17874         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17875         (check_philosopher_stack): Check for manager thread before checking
17876         for a just-starting thread.
17877
17878 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17879
17880         From Neil Booth <neil@daikokuya.demon.co.uk>:
17881         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17882         warnings.
17883
17884 2002-01-21  Fred Fish  <fnf@redhat.com>
17885
17886         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17887         not caller.
17888
17889 2002-01-21  Jim Blandy  <jimb@redhat.com>
17890
17891         * gdb.base/reread.exp: Check that GDB properly re-reads the
17892         executable file when it changes while no inferior is running.
17893
17894 2002-01-21  Fred Fish  <fnf@redhat.com>
17895
17896         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17897         optionally accept the "shlib events" variation.
17898
17899 2002-01-21  Jim Blandy  <jimb@redhat.com>
17900
17901         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17902         call `fflush' after every `printf', so that the output is produced
17903         at predictable points, regardless of whatever buffering does (or
17904         doesn't) take place.
17905         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17906         at different points.
17907
17908 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17909
17910         * gdb.c++/inherit.exp: Update copyright years.
17911         * gdb.c++/method.exp: Likewise.
17912
17913 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17914
17915         * gdb.c++/classes.exp: Update for improved v3 support and skipping
17916         artificial methods/arguments.
17917         * gdb.c++/derivation.exp: Likewise.
17918         * gdb.c++/inherit.exp: Likewise.
17919         * gdb.c++/method.exp: Likewise.
17920         * gdb.c++/virtfunc.exp: Likewise.
17921
17922 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
17923
17924         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17925         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17926         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17927         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17928         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17929         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17930
17931 2002-01-17  Jim Blandy  <jimb@redhat.com>
17932
17933         * gdb.asm/asm-source.exp (info symbol): Take another shot at
17934         anchoring the pattern matching the entry point symbol's name.
17935
17936 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
17937
17938         * gdb.base/maint.exp: Update ``maint internal-error'' to match
17939         continue/quit query.  Update copyright.
17940
17941 2002-01-14  Michael Snyder  <msnyder@redhat.com>
17942
17943         * gdb.base/gcore.exp: Remove extra debugging output.
17944
17945 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17946
17947         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17948         for slightly dubious v2 mangled string.
17949
17950 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17951
17952         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17953
17954 2002-01-10  Jason Merrill  <jason@redhat.com>
17955
17956         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17957
17958         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17959         constructors.
17960         * gdb.c++/derivation.exp: Likewise.
17961         * gdb.c++/templates.exp: Likewise.
17962         * gdb.c++/virtfunc.exp: Likewise.
17963
17964 2002-01-10  Michael Snyder  <msnyder@redhat.com>
17965
17966         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17967
17968 2002-01-08  Michael Snyder  <msnyder@redhat.com>
17969
17970         * gdb.base/gcore.exp: New test for generate-core-file command.
17971         * gdb.base/gcore.c: Testcase for above.
17972         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17973
17974 2002-01-08  Jason Merrill  <jason@redhat.com>
17975
17976         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17977
17978 2002-01-07  Fred Fish  <fnf@redhat.com>
17979
17980         * gdb.c++/overload.exp: Remove unconditional xfails for:
17981         print foo_instance1.overloadargs(1)
17982         print foo_instance1.overloadargs(1, 2)
17983         print foo_instance1.overloadargs(1, 2, 3)
17984         print foo_instance1.overloadargs(1, 2, 3, 4)
17985         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17986         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17987         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17988         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17989         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17990         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17991         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17992         print foo_instance1.overload1arg()
17993         print foo_instance1.overload1arg((char)arg2)
17994         print foo_instance1.overload1arg((signed char)arg3)
17995         print foo_instance1.overload1arg((unsigned char)arg4)
17996         print foo_instance1.overload1arg((int)arg7)
17997         print foo_instance1.overload1arg((unsigned int)arg8)
17998         print foo_instance1.overload1arg((float)arg11)
17999         print foo_instance1.overload1arg((double)arg12)
18000
18001 2002-01-07  Michael Snyder  <msnyder@redhat.com>
18002
18003         * gdb.base/huge.exp: New test.  Print a very large target data object.
18004         (skip_huge_test): New test variable.  Define if you want to skip this
18005         test.  The test reads an 8 megabyte data object from the target, so it
18006         might be very time consuming on remote targets with a slow connection.
18007         * gdb.base/huge.c: New file.  Test case for above.
18008
18009 2002-01-07  Fred Fish  <fnf@redhat.com>
18010
18011         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18012         g_instance.bfoo, and g_instance.cfoo.
18013
18014 2002-01-07  Jeffrey A Law  <law@redhat.com>
18015
18016         * gdb.base/break.c (multi_line_if_conditional): New function.
18017         (multi_ilne_while_conditional): Likewise.
18018         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18019         IF or WHILE condition puts the breakpoint at the start of
18020         the condition.
18021
18022         * gdb.base/selftest.exp (backtrace through signal handler): Remove
18023         hppa*-*-hpux* expected failure.
18024         * gdb.base/structs.exp (do_function_calls): Similarly.
18025
18026         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18027         watchpoints.
18028
18029 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
18030
18031         Fix PR gdb/66.
18032         * gdb.base/structs.exp: Replace skip for a29k with skip for
18033         gdb,cannot_call_functions.
18034         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18035         * gdb.base/callfuncs.exp: Ditto.
18036         * gdb.base/call-rt-st.exp: Ditto.
18037         * gdb.base/call-strs.exp: Ditto.
18038         * gdb.base/callfwmall.exp: Ditto.
18039         * gdb.base/scope.exp: Obsolete xfail a29k.
18040         * gdb.c++/misc.exp: Ditto.
18041         * gdb.c++/cplusfuncs.exp: Ditto.
18042         * gdb.base/ptype.exp: Ditto.
18043         * gdb.base/printcmds.exp: Ditto.
18044         * gdb.base/opaque.exp: Ditto.
18045         * gdb.base/list.exp: Ditto.
18046         * gdb.base/funcargs.exp: Ditto.
18047         * gdb.base/default.exp: Ditto.
18048
18049 2002-01-04  Michael Snyder  <msnyder@redhat.com>
18050
18051         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18052         * gdb.base/maint.exp: Add tests for maint info sections options.
18053
18054 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
18055
18056         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18057
18058 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
18059
18060         * gdb.asm/arm.inc: New file.
18061         * gdb.asm/asm-source.exp: Add arm targets.
18062         * gdb.asm/configure.in: Ditto.
18063         * gdb.asm/configure: Recreated from configure.in.
18064
18065 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
18066
18067         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18068         with HP's compiler.
18069         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18070         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18071         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18072         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18073
18074         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18075         either HP's compilers or GCC.
18076
18077         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18078         a SIGBUS or SIGSEGV.
18079
18080         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18081
18082         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18083         can be compiled with either HP's compiler or GCC.
18084
18085         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18086         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18087         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18088
18089         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18090         to match current gdb output.  Update due to using auto-solib-limit
18091         for limiting instead of overloading auto-solib-add.
18092         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18093         test program.
18094
18095         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18096         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18097         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18098         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18099         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18100         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18101         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18102         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18103         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18104         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18105         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18106         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18107         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18108
18109         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18110         a SIGTRAP to the inferior.
18111
18112 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
18113
18114         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18115         Substitute call to target_link by call to gdb_compile.
18116
18117 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
18118
18119         * gdb.base/break.exp: Fix HP specific search string when testing
18120         backtracing in a called function.
18121
18122         * gdb.base/constvars.exp: Only set lang to C++ if we're
18123         compiling the test with HP's compilers.
18124         * gdb.base/volatile.exp: Similarly.
18125
18126 2001-12-19  Jim Blandy  <jimb@redhat.com>
18127
18128         * gdb.base/printcmds.exp: Expect the null character to be printed
18129         as '\0', and the '\013' to be printed as '\v'.
18130         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18131         * gdb.base/setvar.exp: Same.
18132
18133 2001-12-17  Jim Blandy  <jimb@redhat.com>
18134
18135         * gdb.base/completion.exp: Rather than completing very long
18136         filenames, which can make the readline library produce output we
18137         don't recognize, cd to the directory first, and then complete
18138         using nice, short relative paths.
18139
18140         * gdb.base/completion.exp: On some systems, there is, in fact, a
18141         variable named `b' in scope, since GDB treats all static
18142         variables as being in scope.  So use `no_var_named_this'
18143         instead of `b'.
18144
18145         * gdb.base/corefile.exp: Recognize the message saying that GDB
18146         can't find the core file's registers as a failure.
18147
18148 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
18149
18150         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18151         test expect string more specific.
18152
18153 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
18154
18155         * gdb.asm/asm-source.exp: Add support for xstormy16.
18156         * gdb.asm/configure.in: Ditto.
18157         * gdb.asm/configure: Rebuild.
18158         * gdb.asm/xstormy16.inc: New file.
18159
18160 2001-12-10  Fred Fish  <fnf@redhat.com>
18161
18162         * gdb.base/maint.exp: Update to match changes in type dumping code.
18163
18164 2001-12-10  Jim Blandy  <jimb@redhat.com>
18165
18166         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
18167         matching the entry point symbol's name at the beginning of the
18168         line.
18169
18170 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
18171
18172         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18173         gdb.c++/inherit.exp, gdb.c++/method.exp,
18174         gdb.c++/namespace.exp, gdb.c++/templates.exp,
18175         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18176         and class layout support.
18177
18178 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
18179
18180         * gdb.c++/classes.exp: Add test for static member function.
18181         * gdb.c++/misc.cc: Add class with static member function.
18182
18183 2001-12-07  Jim Blandy  <jimb@redhat.com>
18184
18185         If GDB says it can't find the struct the function returned, report
18186         those tests as `unsupported'.
18187         * gdb.base/call-rt-st.exp (print_struct_call): New function.
18188         Rewrite subsequent tests to use it.
18189
18190         If GDB says it can't find the struct the function returned, report
18191         those tests as `unsupported'.
18192         * gdb.base/structs.exp (call_struct_func): New function.
18193         (do_function_calls): Use call_struct_func to call the functions
18194         returning structs.
18195
18196         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18197         whether functions are prototyped or not, so we can't possibly pass
18198         arguments to t_float_values2 properly.
18199
18200         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18201         value of `timeout' for targets other than the mips*tx39-*.
18202
18203 2001-12-06  Michael Snyder  <msnyder@redhat.com>
18204
18205         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
18206         and detect whether the start symbol has a leading underscore.
18207
18208 2001-12-04  Jim Blandy  <jimb@redhat.com>
18209
18210         * gdb.base/completion.exp: Clarify indentation.
18211
18212 2001-12-03  Jim Blandy  <jimb@redhat.com>
18213
18214         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18215         variables on the S/390, not `.word'.
18216
18217 2001-11-30  Jim Blandy  <jimb@redhat.com>
18218
18219         Add assembly-source tests for s390-ibm-linux.
18220         * gdb.asm/s390.inc: New file.
18221         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18222         the S/390 architecture.
18223         * gdb.asm/configure: Regenerated.
18224
18225 2001-11-30  Michael Snyder  <msnyder@redhat.com>
18226
18227         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18228         next, info source, info sources, info line, global and static
18229         variables, and static functions.
18230         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18231         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18232         * gdb.asm/asmsrc1.s: Add a static function and some variables.
18233         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18234         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18235         (gdbasm_leave): Restore frame pointer.
18236         (gdbasm_startup): Copy stack set-up from crt0.S.
18237
18238 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
18239
18240         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
18241         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18242         to a local (non-static) variable. Copy tstruct.a to a static buffer
18243         and return a pointer to that buffer.
18244         * gdb.base/callfwmall.c (t_structs_a): Ditto.
18245
18246 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
18247
18248         * gdb.asm/configure.in: Fix recognition of ix86 target.
18249         * gdb.asm/configure: Regenerate.
18250
18251 2001-11-21  Michael Snyder  <msnyder@redhat.com>
18252
18253         * gdb.asm/sparc.inc: New file.
18254         * gdb.asm/asm-source.exp: Recognize sparc target.
18255         * gdb.asm/configure.in: Recognize sparc target.
18256         * gdb.asm/configure: Regenerate.
18257
18258 2001-11-21  Michael Snyder  <msnyder@redhat.com>
18259
18260         * gdb.asm/m32r.inc: New file.
18261         * gdb.asm/asm-source.exp: Recognize m32r target.
18262         * gdb.asm/configure.in: Recognize m32r target.
18263         * gdb.asm/configure: Regenerate.
18264
18265 2001-11-20  Michael Snyder  <msnyder@redhat.com>
18266
18267         * gdb.asm/i386.inc: New file.
18268         * gdb.asm/asm-source.exp: Recognize ix86 target.
18269         * gdb.asm/configure.in: Recognize ix86 target.
18270         * gdb.asm/configure: Regenerate.
18271
18272         * gdb.c++/namespace.exp: Fix quotes in output messages.
18273
18274 2001-11-14  Michael Snyder  <msnyder@redhat.com>
18275
18276         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
18277         qualifier in a type cast expression, to designate an address
18278         in the instruction space (Harvard architecture).
18279
18280 2001-11-13  Michael Snyder  <msnyder@redhat.com>
18281
18282         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18283         Tests for expressions using 'const' and 'volatile'.
18284
18285 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
18286
18287         * gdb.asm/asm-sources.exp: Allow defining linker flags.
18288
18289 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
18290
18291         * lib/mi-support.exp (mi_run_to_helper): Move comments
18292         outside of gdb_expect.
18293
18294 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
18295
18296         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18297         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18298         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18299         mi0_run_to): New functions.
18300         * gdb.mi/mi-simplerun.exp: Use them.
18301         * gdb.mi/mi0-simplerun.exp: Likewise.
18302         * gdb.mi/mi-var-cmd.exp: Likewise.
18303         * gdb.mi/mi0-var-cmd.exp: Likewise.
18304
18305 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
18306
18307         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18308         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18309
18310 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
18311
18312         * gdb.base/restore.exp: Include $expected value in restored test
18313         message.
18314
18315 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
18316
18317         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18318         implemented.
18319
18320 2001-11-08  Michael Snyder  <msnyder@redhat.com>
18321
18322         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18323         Add pass/fail message for stop at breakpoint in call dummy function.
18324
18325 2001-11-07  Michael Snyder  <msnyder@redhat.com>
18326
18327         * gdb.c++/templates.exp (test_template_breakpoints):
18328         If we get an overload menu, but it does not match what
18329         we expect, we still need to issue the "cancel" command.
18330         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18331         making the whitespace optional.  Argument for "new" may be
18332         "unsigned" as well as "unsigned int/long".
18333         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18334         making the whitespace optional.  Also replace "(void) with
18335         "((void|)), making the keyword "void" optional.
18336         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18337         making the whitespace optional.  Also replace "(void) with
18338         "((void|)), making the keyword "void" optional.
18339         * gdb.base/callfuncs.c (t_float_values): This function must
18340         _not_ be prototyped, and the following function (t_float_values2)
18341         must be prototyped (if the compiler supports it), so that GDB
18342         can be tested against both cases.  Usually one case involves
18343         promotion of float to double, while the other does not.
18344         * gdb.base/callfwmall.c: Ditto.
18345         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18346         includes a stack frame for "start".
18347
18348 2001-11-05  Jim Blandy  <jimb@redhat.com>
18349
18350         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
18351         pointers are 32 bits long, and that offsets of relocs are always
18352         stored in the data (REL-style), and not in the reloc entry itself
18353         (RELA-style).
18354         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18355         stabs.
18356
18357 2001-11-01  Michael Snyder  <msnyder@redhat.com>
18358
18359         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18360         and regular expression operators by using quoting.
18361
18362 2001-10-31  Michael Snyder  <msnyder@redhat.com>
18363
18364         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18365         depending on what the symbol table contains.
18366         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18367         the output of the ptype command.  Similarly, accept both "const &"
18368         and "const&".
18369
18370 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
18371
18372         * gdb.base/miscexprs.c (main): Add usage of preprocessor
18373         symbol `STORAGE' to allow to choose the storage class of
18374         the local datastructures.
18375         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18376         compiler directive.
18377
18378 2001-10-30  Michael Snyder  <msnyder@redhat.com>
18379
18380         * gdb.base/jump.exp: Allow it to run for all targets.
18381
18382 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18383
18384         * gdb.base/call-ar-st.c (print_double_array): Match for loop
18385         with new double_array size.
18386         (main): Change storage class of all local variables to static.
18387         Reduce size of double_array to 9.
18388         * gdb.base/call-ar-st.exp:  Increase timeout value.
18389         Change expected output for double array to match new size in
18390         call-ar-st.c.
18391
18392 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18393
18394         * gdb.base/ending-run.exp: Create identical output when passing
18395         `step to end of run' case.  Add regular expression branch satisfying
18396         Stormy16 target.
18397
18398 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
18399
18400         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18401         that we catch the expected failure under Linux/x86.
18402
18403 2001-10-29  Orjan Friberg  <orjanf@axis.com>
18404
18405         * gdb.base/setvar.exp: Escape curly braces.
18406         * gdb.stabs/weird.exp: Ditto.
18407
18408 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
18409
18410         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18411         * gdm.mi/mi0-hack-cli.exp: Likewise.
18412
18413 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
18414
18415         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18416         messages.
18417
18418 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
18419
18420         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18421         checking MI enabled.
18422
18423 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
18424
18425         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18426
18427 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
18428
18429         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18430         if gdb child process crashes, just signal an error.
18431
18432 2001-10-02  Jim Blandy  <jimb@redhat.com>
18433
18434         * lib/gdb.exp (test_xfail_format): Simplify.
18435
18436         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18437         front of the variable name `format'.  Simplify `if'.
18438
18439 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18440
18441         * gdb.threads/pthreads.exp: Wait for output and delay
18442         before sending ^C.
18443
18444 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18445
18446         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
18447         some incorrect output instead of timing out.
18448         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
18449
18450 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
18451
18452         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18453         check to allow additional `int'.
18454
18455 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
18456
18457         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18458         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18459
18460 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18461
18462         * lib/gdb.exp (test_debug_format): New proc.
18463         (setup_xfail_format): Use new proc test_debug_format.
18464         * gdb.base/constvars.exp (local_compiler_xfail_check): New
18465         proc; use new service proc test_debug_format.
18466         Replace all other "gcc_compiled" tests with this test.
18467         * gdb.base/volatile.exp (local_compiler_xfail_check): New
18468         proc; use new service proc test_debug_format.
18469         Replace all other "gcc_compiled" tests with this test.
18470
18471 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18472
18473         * gdb.base/cvexpr.exp: New file.
18474         * gdb.base/cvexpr.c: New file
18475         Test for expressions using const and volatile keywords.
18476
18477 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
18478
18479         * gdb.base/constvars.exp: Check for different orders of keywords
18480         and additional "int" strings in output.
18481
18482 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
18483
18484         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18485         responses from "help maint".
18486
18487 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
18488
18489         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18490         to localhost:NNN instead of :NNN, in case Xvfb is listening
18491         only on TCP.
18492
18493 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
18494
18495         * gdb.base/recurse.exp: When checking leaving the watchpoint
18496         scope, recognize when gdb is in function's epilogue and pass.
18497
18498 2001-09-18  Keith Seitz  <keiths@redhat.com>
18499
18500         * lib/insight-support.exp (_gdbtk_export_target_info): Add
18501         support for running tests against sid targets.
18502         (gdbtk_done): Ditto.
18503
18504 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
18505
18506         * gdb.base/ending-run.c (main): Set stdout buffersize
18507         to the same reasonable value for any target.
18508         * gdb.base/ending-run.exp: Add a regular expression
18509         to make testsuite happy on Sanyo Stormy16 target.
18510
18511 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
18512
18513         * gdb.base/display.c (do_loops): Add float variable `f'.
18514         Increment f in loop.
18515         * gdb.base/display.exp: Increment timeout by 60 seconds.
18516         Change float display test to use variable `f'.
18517
18518 2001-09-17  Jim Blandy  <jimb@redhat.com>
18519
18520         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18521         overflowing the limited breakpoint tables on some ROM monitors
18522         (like the ROM68K).
18523
18524 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
18525
18526         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18527         the "-ac" (disable access control) flag.
18528
18529 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
18530
18531         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18532         ints.
18533
18534 2001-08-30  Keith Seitz  <keiths@redhat.com>
18535
18536         * lib/gdb.exp: Move all insight-related functionality into
18537         separate file.
18538         * lib/insight-support.exp: New file.
18539
18540 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
18541
18542         * config/sid.exp (sid_start): Never set sid verbosity; disable
18543         expect_background {} that consumed its stdout; tolerate </dev/null.
18544         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
18545
18546 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18547
18548         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18549         CLI jump command to start it.
18550         (mi_run_to_main): Fail immediatly when unexpected output.
18551
18552 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18553
18554         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18555         beginning of function.  Fix PR gdb/191.
18556
18557 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
18558
18559         * config/sid.exp (sid_start): Don't warn if we cannot figure out
18560         what to force sid endianness to.
18561
18562 2001-08-15  Keith Seitz  <keiths@redhat.com>
18563
18564         * lib/gdb.exp (gdbtk_start): Don't set environment
18565         variables for TCL_LIBRARY and friends. Insight will
18566         now figure these out for itself.
18567
18568 2001-08-02  Michael Snyder  <msnyder@redhat.com>
18569
18570         * gdb.base/completion.exp: Remove the symbol "a64l" from
18571         the expect string; this is target-specific, and not related
18572         to what is being tested.
18573
18574 2001-08-02  Dave Brolley  <brolley@redhat.com>
18575
18576         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18577
18578 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18579
18580         * gdb.base/consecutive.exp: New file.  Test stepping over
18581         breakpoints on consecutive instructions.
18582         * gdb.base/consecutive.c: New file.
18583
18584         * gdb.base/call-rt-st.exp: Use double-backslash to quote
18585         curly braces in regular expressions.
18586
18587 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18588
18589         * gdb.base/ending-run.exp: Accept "Program exited normally" as
18590         legitimate output from stepping out of main.
18591
18592 2001-07-22  Keith Seitz  <keiths@redhat.com>
18593
18594         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18595         the empty string, do not run the tests.
18596
18597 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18598
18599         * gdb.base/long_long.exp: Detect size of pointer.  Take into
18600         account 2-byte pointers when testing for p/a results.
18601
18602 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18603
18604         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18605         and defined to 1K for m68hc11.
18606         (random_data): Reduce table to 1K for embedded platforms (68hc11).
18607         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18608         (sizeof_random_data): New variable to tell the size of the data table;
18609         don't test past this size; always run to main.
18610
18611 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18612
18613         * gdb.base/return2.exp: return of long long and double fails for
18614         68HC11; don't execute these tests on that platform.
18615         * gdb.base/return.exp: Return of a double fails for 68hc11.
18616
18617 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18618
18619         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18620         tests that print a float.
18621         * call-rt-st.exp: Likewise.
18622
18623 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
18624
18625         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18626         running this test on Linux.
18627
18628 2001-06-24  Michael Chastain  <chastain@redhat.com>
18629
18630         * gdb.base/arithmet.exp: Remove some tests to make all test names
18631         unique.
18632
18633 2001-07-03  Michael Snyder  <msnyder@redhat.com>
18634
18635         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18636         the output of the ptype command.
18637
18638 2001-07-02  Michael Snyder  <msnyder@redhat.com>
18639
18640         * gdb.base/completion.exp: Don't assume that break.c is the only
18641         source file that may contain functions named "marker".
18642         * gdb.base/corefile.exp: Quote the curly braces in regexp.
18643
18644 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
18645
18646         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18647         of files to delete.
18648
18649         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18650         * gdb.disasm/h8300s.exp: New file.
18651         gdb.disasm/h8300s.s: Likewise.
18652
18653 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
18654
18655         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18656         empty breakpoint tables.
18657
18658 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
18659
18660         * lib/mi-support.exp: Update args=... part of stop-reason
18661         patterns. Accept either a list or a tuple.
18662
18663 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
18664
18665         * lib/mi-support.exp: Remove local emacs variable defining
18666         change-log-default-name.
18667
18668 2001-06-22  Michael Chastain  <chastain@redhat.com>
18669
18670         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18671         This is operationally compatible with the previous version.
18672
18673 2001-06-13  Jim Blandy  <jimb@redhat.com>
18674
18675         * lib/gdb.exp (gdb_test): Doc fix.
18676
18677 2001-06-10  Michael Chastain  <chastain@redhat.com>
18678
18679         * gdb.base/exprs.exp: Remove a duplicate test.
18680
18681 2001-06-06  Jim Blandy  <jimb@redhat.com>
18682
18683         * gdb.base/return2.exp (main): Use values to test float and double
18684         returns that are not NaN's, to avoid being confused by IEEE
18685         comparison rules.
18686
18687 2001-06-04  Michael Snyder  <msnyder@redhat.com>
18688
18689         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18690         non-zero if control_c fails.  Terminate the test on failure,
18691         rather than wait for 12 more tests to time out.
18692
18693 2001-06-06  Jim Blandy  <jimb@redhat.com>
18694
18695         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18696         Don't forget to match the GDB prompt.
18697
18698         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18699
18700 2001-06-04  Jim Blandy  <jimb@redhat.com>
18701
18702         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18703         command.
18704
18705 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
18706
18707         * gdb.base/annota1.exp (info break): Match four or more spaces
18708         after "Address".
18709
18710 2001-05-31  Michael Chastain  <chastain@redhat.com>
18711
18712         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18713         (dm_type_int_star): Likewise.
18714         (dm_type_long_star): Likewise.
18715         (dm_type_void_star): Likewise.
18716
18717 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
18718
18719         * gdb.base/completion.exp (INPUTRC): Set this environment variable
18720         to a known value in order to get consistent results regardless
18721         of the setting of INPUTRC or the presence or contents of .inputrc.
18722
18723 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18724
18725         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18726         Don't require that the main thread and the manager thread are the
18727         first in the list.
18728
18729         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18730         debugging.  If test fails, issue an "unsupported" not a "fail".
18731
18732 2001-05-24  Jim Blandy  <jimb@redhat.com>
18733
18734         Don't assume that short is shorter than int.
18735         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18736         assume that shorts are smaller than ints.  On a 16-bit machine,
18737         this isn't true.
18738         ("print unsigned char == (~0)"): Add test that verifies that ~0,
18739         an int, is not equal to ~0 stored in an unsigned char.  This tests
18740         the same thing that the previous test meant to, but works on
18741         16-bit machines, too.
18742         ("print unsigned char != (~0)"): Same test, complemented.
18743
18744 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18745
18746         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18747         test for (full_coverage == 0).  This makes the test run faster,
18748         and prevents dejagnu getting out of step.
18749
18750 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
18751
18752         * gdb.base/finish.exp (finish_void): Revise pattern for
18753         stopping on the call statement to not permit stopping at
18754         the start of the instructions comprising the call sequence.
18755
18756 2001-05-19  Michael Chastain  <chastain@redhat.com>
18757
18758         * gdb.base/callfuncs.exp: Make all test names unique.
18759         * gdb.base/commands.exp: Make all test names unique.
18760         * gdb.base/condbreak.exp: Make all test names unique.
18761         * gdb.base/dbx.exp: Make all test names unique.
18762         * gdb.base/default.exp: Make all test names unique.
18763         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
18764         and TIMEOUT messages to their corresponding PASS message.
18765         * gdb.base/ending-run.exp: Make all test names unique.
18766         * gdb.base/long_long.exp: Remove duplicate test.
18767
18768 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
18769
18770         * gdb.base/finish.exp (finish_void): Allow "finish" command to
18771         stop on the call statement as well as the statement after the
18772         call.
18773
18774 2001-05-21  Michael Snyder  <msnyder@redhat.com>
18775
18776         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18777
18778 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18779
18780         * gdb.base/completion.exp: Revamp test. Make it execute on all
18781         platforms.
18782
18783 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18784
18785         * config/gdbserver.exp (gdb_load): Handle the case
18786         in which the arguments to gdbserver are given in the
18787         baseboard configuration file.
18788         Also handle the case in which the server needs to do a
18789         load.
18790
18791 2001-05-07  Keith Seitz <keiths@cygnus.com>
18792
18793         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18794         set up the display for testing.
18795         (gdbtk_start): Convert all paths to paths that tcl will like.
18796         Export target information to environment.
18797         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18798         necessary.
18799         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18800         (to_tcl_path): New proc to convert a given pathname into
18801         a path acceptible as an argument to a tcl command.
18802         (_gdbtk_export_target_info): New proc to export target info
18803         into the environment for gdbtk testing.
18804         (gdbtk_done): New proc to signal end-of-test.
18805
18806 2001-05-06  Jim Blandy  <jimb@redhat.com>
18807
18808         * restore.c: Make the code of caller0 correspond to its comment.
18809
18810 2001-05-03  Michael Snyder  <msnyder@redhat.com>
18811
18812         * config/sid.exp (gdb_target_sid): Check for error messages.
18813         On error or timeout, don't make expect exit (which will terminate
18814         all subsequent tests); instead just make gdb exit.
18815         (gdb_load): Check for error messages.  On error or timeout,
18816         return a negative value.
18817
18818 2001-04-24  Jim Blandy  <jimb@redhat.com>
18819
18820         * gdb.c++/templates.exp: If we see the prompt for the overload
18821         list, but we haven't recognized any of the longer patterns,
18822         arrange for this test to fail, not hang.
18823
18824         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18825         variations.
18826
18827 2001-04-22  Michael Chastain  <chastain@redhat.com>
18828
18829         * gdb.c++/local.exp: Use the 'runto' library function.
18830         * gdb.c++/namespace.exp: Likewise.
18831         * gdb.c++/overload.exp: Likewise.
18832
18833 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
18834
18835         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18836         * gdb.base/step-line.exp: New file.  Test step/next in presence of
18837         #line directives.
18838         * gdb.base/step-line.c: New file.  Test program for the above.
18839         * gdb.base/step-line.inp: New file.  We pretend that this file has
18840         been transformed by some other tool into step-line.c.
18841
18842 2001-03-21  Jim Blandy  <jimb@redhat.com>
18843
18844         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18845         unmangled operator names.
18846
18847 2001-03-20  Jim Blandy  <jimb@redhat.com>
18848
18849         * gdb.threads/linux-dp.exp: Recognize an additional message
18850         generated by GDB when it doesn't understand how to debug threads
18851         on the target system.
18852
18853 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
18854
18855         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18856
18857 2001-03-12  Michael Chastain  <chastain@redhat.com>
18858
18859         * gdb.c++/derivation.exp: Use the 'runto' library function.
18860
18861 2001-03-12  Michael Chastain  <chastain@redhat.com>
18862
18863         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18864
18865 2001-02-24  Michael Chastain  <chastain@redhat.com>
18866
18867         * gdb.c++/ref-types.exp: Change handwritten code to library
18868         function 'runto'.
18869
18870 2001-03-16  Orjan Friberg  <orjanf@axis.com>
18871
18872         * gdb.base/signals.exp: Set count to 0 explicitly.
18873
18874 2001-03-15  Mark Salter  <msalter@redhat.com>
18875
18876         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18877         (gdb_target_monitor): Add check of gdb_target_cmd return value.
18878         (gdb_load): Add support for additional target_info: gdb_download_size
18879         and gdb_load_timeout.
18880
18881 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
18882
18883         * gdb.base/annota1.exp: Move test of isnative to earlier in the
18884         file -- to prevent failing when the compile fails but we have no
18885         intention of running the tests anyway.
18886
18887         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18888         tests if set.
18889
18890         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18891         integers.
18892
18893         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18894         * gdb.c++/namespace.exp: Ditto.
18895
18896 2001-03-07  Orjan Friberg  <orjanf@axis.com>
18897
18898         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18899         * gdb.base/pointers.exp: Relax pattern match of decimals.
18900
18901 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
18902
18903         * Makefile.in, config/abug.exp, config/cfdbug.exp,
18904         config/cpu32bug.exp, config/dve.exp, config/est.exp,
18905         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18906         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18907         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18908         config/sh.exp, config/sid.exp, config/slite.exp,
18909         config/sparclet.exp, config/udi.exp, config/unknown.exp,
18910         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18911         config/vxworks.exp, config/vxworks29k.exp,
18912         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18913         gdb.base/all-bin.exp, gdb.base/annota1.exp,
18914         gdb.base/arithmet.exp, gdb.base/assign.exp,
18915         gdb.base/async.exp, gdb.base/attach.exp,
18916         gdb.base/bitfields.exp, gdb.base/bitops.exp,
18917         gdb.base/break.exp, gdb.base/call-ar-st.exp,
18918         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18919         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18920         gdb.base/commands.exp, gdb.base/completion.exp,
18921         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18922         gdb.base/constvars.exp, gdb.base/corefile.exp,
18923         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18924         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18925         gdb.base/ending-run.exp, gdb.base/environ.exp,
18926         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18927         gdb.base/finish.exp, gdb.base/foll-exec.exp,
18928         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18929         gdb.base/funcargs.exp, gdb.base/help.exp,
18930         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18931         gdb.base/logical.exp, gdb.base/long_long.exp,
18932         gdb.base/maint.exp, gdb.base/mips_pro.exp,
18933         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18934         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18935         gdb.base/pointers.exp, gdb.base/printcmds.exp,
18936         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18937         gdb.base/regs.exp, gdb.base/relational.exp,
18938         gdb.base/remote.exp, gdb.base/reread.exp,
18939         gdb.base/restore.exp, gdb.base/return2.exp,
18940         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18941         gdb.base/selftest.exp, gdb.base/setshow.exp,
18942         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18943         gdb.base/sigall.exp, gdb.base/signals.exp,
18944         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18945         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18946         gdb.base/step-test.exp, gdb.base/structs.c,
18947         gdb.base/structs.exp, gdb.base/structs2.exp,
18948         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18949         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18950         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18951         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18952         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18953         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18954         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18955         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18956         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18957         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18958         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18959         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18960         gdb.fortran/types.exp, gdb.java/jmisc.exp,
18961         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18962         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18963         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18964         gdb.trace/circ.exp, gdb.trace/collection.exp,
18965         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18966         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18967         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18968         gdb.trace/report.exp, gdb.trace/save-trace.exp,
18969         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18970         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18971         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18972         notices.
18973
18974 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
18975
18976         * gdb.base/varargs.c (find_max_double): Fix printf format string:
18977         first arg is int not float.
18978
18979 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
18980
18981         * gdb.base/reread.exp: Unsupported for non-native targets;
18982         doesn't work for remote debugging.
18983
18984 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
18985
18986         From  Drew Moseley  <dmoseley@redhat.com>
18987         * gdb.base/ending-run.exp: Properly handle the BSP state when
18988         stepping past the end of main.
18989
18990 2001-02-19  John Moore  <jmoore@redhat.com>
18991
18992         * gdb.base/commands.exp (infrun_breakpoint_command_test):
18993         Converted HPUX fix for non-expected items following multiple
18994         step commands into general solution for all platforms.
18995
18996 2001-02-18  Michael Chastain  <chastain@redhat.com>
18997
18998         * gdb.c++/classes.exp (do_tests): Change runto statements
18999         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
19000         statements demangler agnostic.
19001         * gdb.c++/virtfunc.exp (do_tests): Likewise.
19002         (gdb_virtfunc_restart): Likewise.
19003
19004 2001-02-14  Michael Chastain  <chastain@redhat.com>
19005
19006         * gdb.c++/inherit.exp (do_tests): Change runto statements
19007         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
19008         statements demangler agnostic.
19009
19010 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
19011
19012         * gdb.threads/pthreads.exp: Unify pass/fail messages for
19013         ``continue to bkpt at common_routine in thread 2'' and ``stopped
19014         before calling common_routine 15 times'' tests.
19015
19016 2001-02-11  Michael Chastain  <chastain@redhat.com>
19017
19018         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19019         Helps the test script figure out which demangler is in use.
19020         (dm_type_foo_ref): Ditto.
19021         (dm_type_int_star): Ditto.
19022         (dm_type_long_star): Ditto.
19023         (dm_type_unsigned_int): Ditto.
19024         (dm_type_void): Ditto.
19025         (dm_type_void_star): Ditto.
19026         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
19027         Probe the gdb demangler and set variables to accommodate
19028         formatting differences.
19029         (info_func_regexp): New function.  Same as info_func, but
19030         matches against a regexp.
19031         (info_func): Match against a literal string.
19032         (print_addr_2): New function.  Match against a literal string,
19033         which can be different from the input to gdb.
19034         (print_addr): Simply call print_addr_2 with the same argument twice.
19035         (test_lookup_operator_functions): Use demangler formatting variables.
19036         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
19037         the tests in the same order as the C++ class declaration.
19038         (test_paddr_operator_functions): Ditto.
19039         (test_paddr_overloaded_functions): Ditto.
19040         (test_paddr_hairy_functions): Use demangler formatting variables.
19041         Add reference to gdb/19 for related tests.
19042         (do_tests): Call probe_demangler.
19043
19044 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
19045
19046         * gdb.c++/templates.cc (printf): Remove unused function definition.
19047
19048 2001-01-26  Felix Lee  <flee@redhat.com>
19049
19050         * sid.exp (sid_exit): Pass host, not target, to remote_close.
19051
19052 2001-01-25  matthew green  <mrg@redhat.com>
19053
19054         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19055         up sid.
19056         (sid_exit): Call `remote_pop_conn' after GDB is gone.
19057
19058 2001-01-25  matthew green  <mrg@redhat.com>
19059
19060         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19061         Deprecate $sid_spawn_id.
19062         (sid_exit): Remove code necessary only for `spawn.'
19063
19064 2001-01-25  matthew green  <mrg@redhat.com>
19065
19066         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19067
19068 2001-01-28  Michael Chastain  <chastain@redhat.com>
19069
19070         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19071         to call when tests fail.  It takes gdb out of the overloaded
19072         function choice menu back to the main prompt, so that the test
19073         program stays synchronized.
19074         (set_bp_overloaded): New proc to collect all the common
19075         code for setting a breakpoint on an overloaded name.  Calls
19076         take_gdb_out_of_choice_menu when needed.
19077         (menu_overload1arg): New variable to collect the repeated
19078         instances of the expected menu for an overloaded name.  Change
19079         the regular expression to handle changes in g++ type encoding:
19080         "void" can be either "void" or "", and "unsigned int" can be
19081         either "unsigned int" or "unsigned".
19082         (continue_to_bp_overloaded): Change regular expressions to handle
19083         changes in g++ type encoding.
19084         (no proc): Call take_gdb_out_of_choice_menu when needed.
19085         Remove redundant calls to "info break".  Accept either "canceled"
19086         or "cancelled".  Change regular expressions in "info break"
19087         calls to handle changes in g++ type encoding.  Give all tests
19088         unique strings.
19089
19090 2001-01-17  Ben Elliston  <bje@redhat.com>
19091
19092         * config/sid.exp: New file.
19093
19094 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
19095
19096         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19097
19098 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
19099
19100         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19101         Add a RE to accept a non-ascii char if one is ever presented.
19102
19103 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
19104
19105         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19106
19107 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
19108
19109         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19110         in regexp.  One '\' does not suffice on Linux.
19111
19112 2000-12-09  Michael Chastain  <chastain@redhat.com>
19113
19114         * gdb.base/break.exp (test_clear_command): Use a marker function
19115         rather than 'main' for the test function.  Also move this
19116         test to an execution point where the marker function names are
19117         guaranteed to be bound to functions.  (Executing tests after a
19118         'finish' from main runs into name conflicts with local names
19119         in __libc_start_main).
19120
19121 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
19122
19123         * gdb.base/finish.exp: New test for gdb's "finish" command.
19124         * gdb.base/return2.exp: New test for gdb's "return" command.
19125         * gdb.base/return2.c: New source file for above.
19126
19127 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
19128
19129         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19130         * gdb.base/miscexprs.exp: Ditto.
19131         * gdb.base/pointers.exp:  Ditto.
19132         * gdb.c++/derivation.exp: Ditto.
19133         * gdb.c++/local.exp:      Ditto.
19134         * gdb.c++/namespace.exp:  Ditto.
19135         * gdb.c++/overload.exp:   Ditto.
19136         * gdb.c++/ref-types.exp:  Ditto.
19137
19138 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
19139
19140         * gdb.base/constvars.exp: Test result of "up" command.
19141         * gdb.base/miscexprs.exp: Ditto.
19142         * gdb.base/pointers.exp:  Ditto.
19143         * gdb.base/scope.exp:     Ditto.
19144         * gdb.c++/derivation.exp: Ditto.
19145         * gdb.c++/local.exp:      Ditto.
19146         * gdb.c++/namespace.exp:  Ditto.
19147         * gdb.c++/overload.exp:   Ditto.
19148         * gdb.c++/ref-types.exp:  Ditto.
19149
19150 2000-11-22  Michael Chastain  <chastain@redhat.com>
19151
19152         * mips_pro.exp: Accept either "middle -> top -> main" or
19153         "middle -> main" in the backtrace, because gcc can optimize
19154         tail calls to jumps.  Remove setup_xfail for the hppa case.
19155         Add a comment with the original warning messages from PR 3016,
19156         which was filed in 1993, to preserve them for posterity.
19157
19158 2000-11-17  Nick Duffek  <nsd@redhat.com>
19159
19160         * lib/gdb.exp (gdb_test): Override timeout with board info.
19161
19162 2000-11-17  Nick Duffek  <nsd@redhat.com>
19163
19164         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
19165         the second kill and detach messages.
19166
19167 2000-11-17  Nick Duffek  <nsd@redhat.com>
19168
19169         * configure.in: Add AC_EXEEXT.
19170         * configure: Regenerate.
19171         * Makefile.in (just-check): Export EXEEXT.
19172         * lib/gdb.exp ($EXEEXT): Import from environment.
19173         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
19174         expect "maint dump-me" on Cygwin.
19175         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19176         $EXEEXT.
19177
19178 2000-11-17  Nick Duffek  <nsd@redhat.com>
19179
19180         * gdb.base/break.exp: Test backtrace and finish from called
19181         function on all platforms, not just HP-UX.
19182
19183 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
19184
19185         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19186         code from gdb_target_monitor, so it can be used independantly
19187         for gdbserver.  Also comment out an unnecessary PUTS.
19188
19189 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
19190
19191         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19192         * gdb.base/corefile.exp: Expect the message "Program is being
19193         debugged already" when we send the "corefile" command, since
19194         the preceeding gdb_load may have connected gdb to a remote target.
19195         * gdb.base/display.exp: Disable hardware watchpoints if new
19196         board info variable "no_hardware_watchpoints" is true.
19197         Replace single-letter commands with more readable ones.
19198         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19199         if new board info variable "no_hardware_watchpoints" is true.
19200         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19201         to see if stdio (printf) testing is possible.
19202         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19203         board info variable "no_hardware_watchpoints" is true.  Use new
19204         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19205
19206 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
19207
19208         From Orjan Friberg  <orjanf@axis.com>:
19209         * gdb.base/printcmds.exp: Escape curly braces followed by a number
19210         in array print pattern match.
19211
19212 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
19213
19214         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19215         spelling "cancelled" to U.S. spelling "canceled" to match changes
19216         made to gdb.
19217         * gdb.c++/ovldbreak.exp: Ditto.
19218
19219 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
19220
19221         * gdb.base/callfuncs.c (main):  Moved to end of file, call
19222         t_double_values to initialize the FPU before inferior calls are made.
19223         * gdb.base/callfuncs.exp:  Test for register preservation after calling
19224         inferior functions.  Add tests for continuining, finishing and
19225         returning from a stop in a call dummy.
19226
19227 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
19228
19229         * gdb.base/commands.exp: Break up long lines, and re-indent.
19230
19231 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
19232
19233         * config/gdbserver.exp:  Rewritten from the ground up, to make it
19234         compatible with the current dejagnu tree, and to make it work with
19235         the new "gdbserver" in libremote.
19236
19237 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
19238
19239         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19240         * gdb.base/varargs.exp: Skip entire test if no printf support.
19241         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19242         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19243
19244 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
19245
19246         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
19247         no floating point support.
19248         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
19249         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19250         * gdb.base/call-rt-st.exp: Ditto.
19251         * gdb.base/call-strs.exp: Ditto.
19252
19253 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
19254
19255         * gdb.base/sizeof.c: include <stdio.h>.
19256
19257         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19258         'finish', otherwise uncaptured gdb_prompt would potentially
19259         throw remaining test points out of sync.
19260
19261 2000-07-26  Scott Bambrough <scottb@netwinder.org>
19262
19263         * gdb.base/recurse.exp: Run tests for all targets.
19264         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19265         gnu-oldld case on ARM.
19266         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19267         for ARM targets.
19268
19269 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
19270
19271         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19272         * gdb.java/configure: Rebuild.
19273
19274 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
19275
19276         * gdb.java/jv-exp.exp: New file.
19277
19278 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
19279
19280         * configure: Rebuilt.
19281         * configure.in (configdirs): Add gdb.java.
19282         * gdb.java/jmisc.java: New file.
19283         * gdb.java/jmisc.exp: New file.
19284         * gdb.java/Makefile.in: New file.
19285         * gdb.java/configure: Rebuilt.
19286         * gdb.java/configure.in: New file.
19287         * lib/java.exp: New file.
19288
19289 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19290
19291         * gdb.base/exprs.exp: Test casts to a pointer including over and
19292         underflow.
19293
19294 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19295
19296         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
19297         and the compilers sizes.
19298
19299 2000-07-09  Nick Duffek  <nsd@redhat.com>
19300
19301         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19302         (use_methods): New function.
19303         (main): Call use_methods().
19304         * gdb.c++/classes.exp (test_method_param_class): New procedure.
19305         (do_tests): Call test_method_param_class.
19306
19307 2000-07-09  Nick Duffek  <nsd@redhat.com>
19308
19309         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19310         spelling.
19311         (test_enums): New procedure.  Move enum tests from end of script
19312         to here.  Set breakpoint on function name instead of line number.
19313         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19314         (enums2): New marker function.
19315         (enums1): New function.
19316         (main): Call enums1().  Move enum tests to enums1().
19317
19318 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19319
19320         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19321         compile/link program.  Update line numbers.
19322         * gdb.asm/d10v.inc: Define ``startup''.
19323         * gdb.asm/asmsrc1.s: Add definition of _start.
19324
19325 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19326
19327         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19328
19329 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19330
19331         * gdb.base/maint.exp: Add 'maint print architecture' item to output
19332         of 'help maint print' command.
19333
19334 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19335
19336         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19337         they use gdb_expect_list.
19338
19339 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19340
19341         * gdb.base/commands.exp: Use ``set remote
19342         memory-read-packet-size'' instead of ``set endian big'' to test
19343         long commands.
19344
19345 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
19346
19347         * gdb.c++/templates.exp (do_tests): Make all of these work under
19348         g++, and stop skipping them.
19349
19350         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19351         work under g++.
19352
19353         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19354         initialization.
19355
19356 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19357
19358         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19359         the regular expression: accept an (almost) arbitrary sequence of
19360         "frames-invalid" and "breakpoints-invalid" messages both before
19361         and after the "starting" message.
19362
19363 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19364
19365         * gdb.c++/local.exp: This test has never been known to work with g++.
19366
19367 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
19368
19369         * gdb.base/annota1.exp (annotate-signal-handler-caller):
19370         Relax the regular expression a little, make it pass on Solaris 8.
19371
19372 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
19373
19374         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19375         a call, do not require that gdb stop on the line after the call.
19376         Instead, it is permissible for gdb to stop on the line of the
19377         call itself.
19378
19379 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
19380
19381         * gdb.base/break.exp (bp on small function, optimized file):
19382         Add a second pass pattern.  The behavior differs here between stabs
19383         and dwarf for one-line functions.  Stabs preserves two line symbols
19384         (one before the prologue and one after) with the same line number,
19385         but dwarf regards these as duplicates and discards one of them.
19386         Therefore the address after the prologue (where the breakpoint is)
19387         has no exactly matching line symbol, and GDB reports the breakpoint
19388         as if it were in the middle of a line rather than at the beginning.
19389
19390 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
19391
19392         * gdb.base/interrupt.exp: Make "pass" message say "send"
19393         rather than "send_gdb" (for consistancy).
19394
19395 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19396
19397         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
19398         * gdb.c++/templates.cc: Properly check for GCC version number.
19399         * lib/compiler.cc: Likewise
19400
19401 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
19402
19403         * gdb.base/break.exp: When compiled with -O2 optimization,
19404         gdb may not stop at the first line of main, due to code motion.
19405
19406 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
19407
19408         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19409         This test depends on parsing the printf output from the target.
19410         Since the sparclet stub doesn't do stdio, this will never work.
19411         * gdb.base/call-rt-st.exp: ditto.
19412         * gdb.base/call-strs: ditto.
19413
19414 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
19415
19416         * gdb.base/miscexprs.exp: make sizeof long array test portable.
19417
19418         * gdb.base/ending-run.exp: After connecting to a remote target,
19419         but before running, the target will appear to be in a random
19420         location.  Specify both a file and a line for breakpoints.
19421         Also, the function that calls main may be called 'init'
19422         rather than 'start'.
19423
19424 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19425
19426         * gdb.base/help.exp: Update output for add-symbol-file command.
19427
19428 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
19429
19430         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19431         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19432
19433 2000-04-07  J.T. Conklin  <jtc@redback.com>
19434
19435         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19436
19437         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19438
19439 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
19440
19441         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19442         values that can be represented exactly.
19443         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19444         above change, and to not check against the directory part of the source
19445         file name.
19446         (step into print_long_arg_list): Likewise.
19447         (print print_small_structs from print_long_arg_list): Likewise.
19448         (print print_long_arg_list): Likewise.
19449
19450 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19451
19452         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
19453
19454 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19455
19456         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19457
19458 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
19459
19460         * gdb.base/commands.exp (deprecated_command_test): Add test for
19461         deprecate with no arguments.
19462
19463 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
19464
19465         * gdb.base/break.exp: Add new test for setting breakpoints on
19466         optimized code so we can test breakpoints work even when function
19467         prologues may be optimized away
19468
19469 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19470
19471         From David Whedon <dwhedon@gordian.com>
19472         * gdb.base/commands.exp : Added command deprecator tests.
19473
19474 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
19475
19476        * gdb.base/help.exp: Added test for new apropos command.
19477
19478 2000-03-21  Kevin Buettner <kevinb@redhat.com>
19479
19480         * gdb.base/pointers.c (usevar): New function.
19481         (main): Make sure that global variables v_int_pointer2, rptr,
19482         and y are all referenced someplace in the program by calling
19483         usevar() on them.  [Some linkers delete symbols which are
19484         never referenced.  The space remains, but there's no way to
19485         get a (symbolic) handle on the variable from the debugger.]
19486
19487 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19488
19489         * gdb.base/printcmds.c: Add typedeffed arrays.
19490
19491         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
19492         procedure to test arrays that are typedef'd.
19493
19494 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
19495
19496         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
19497         the library directories.
19498
19499 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19500
19501         * configure.in (configdirs): Add sub directory gdb.mi.
19502         * configure: Re-generate.
19503
19504         * gdb.mi: New directory.
19505
19506 2000-02-25  Scott Bambrough <scottb@netwinder.org>
19507
19508         * gdb.base/long_long.exp: Correct test suite failure when printing
19509         a long long value as a double on ARM platforms.
19510
19511 2000-02-16  Jim Blandy  <jimb@redhat.com>
19512
19513         * gdb.base/break.exp ("breakpoint line number"): Make sure the
19514         default source file is set properly before running this test.
19515
19516 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19517
19518         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19519         gdbtk/library directory, not in gdbtcl2.
19520
19521 2000-02-04  Jim Blandy  <jimb@redhat.com>
19522
19523         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19524         backslash from regexp pattern.
19525
19526         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19527         procedure.  Use it to run all the "continue to bp overloaded"
19528         tests.  Note that this changes the names of the tests slightly.
19529         If the breakpoint hit message includes a hex PC value, because
19530         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19531         from the real source code, still consider that a pass.
19532
19533         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19534         XFAIL here if the breakpoint message contains a hex address.  Note
19535         similar change on 1999-11-02.
19536
19537         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19538
19539         * gdb.base/ptype.exp: Establish a default source file before
19540         calling get_debug_format.
19541
19542 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19543
19544         * gdb.base/watchpoint.exp: Remove duplication of test messages.
19545
19546 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19547
19548         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19549         of successive stepi commands -- while in the prologue we should see
19550         the function entry bracket.
19551
19552 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19553
19554         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19555         reach __change_mode() when stepping through the end of main().
19556
19557 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19558
19559         * gdb.base/default.exp: Fix expected pattern.
19560         * gdb.base/help.exp: Same.
19561
19562 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19563
19564         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19565         Don't use xfail's because that affects only the following test.
19566
19567         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19568         solaris or linux.
19569
19570         * gdb.base/selftest.exp: Update to reflect changes to main.c.
19571
19572 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
19573
19574         * gdb.base/display.exp: Some yacc parsers like to say
19575         "A syntax error" rather than "A parse error".  Accept both.
19576
19577 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19578
19579         * gdb.base/default.exp: Remove OS dependent string from "target
19580         remote" test.
19581         * gdb.base/help.exp: Same for "help target remote" test.
19582
19583 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19584
19585         From Jim Kingdon <kingdon@redhat.com>:
19586
19587         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19588         prompt (cleanup rather than necessity, but still might keep output
19589         from spilling to next test).
19590
19591 2000-01-02  Fred Fish  <fnf@cygnus.com>
19592
19593         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19594         AIX, which defines them in <sys/types.h>.
19595
19596 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
19597
19598         * gdb.base/default.exp: Match arm* etc instead of arm in "info
19599         float" test.
19600
19601 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
19602
19603         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19604
19605         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19606         outermost frame disallowed".
19607
19608 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19609
19610         * gdb.base/setvar.exp: New tests for setting the value of a struct
19611         with a constant list.
19612
19613 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19614
19615         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19616         require the user to type a cast before setting the value of a struct.
19617
19618 1999-12-06  Jim Blandy  <jimb@cygnus.com>
19619
19620         * gdb.base/default.exp: Expect the new 'info float' command on
19621         all i386 platforms.
19622
19623         * gdb.threads/linux-dp.exp: Expand our ability to recognize
19624         LinuxThreads libraries that don't support debugging.
19625
19626 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19627
19628         * gdb.base/remote.c: Fill the buffer with truely random data.
19629         Change the buffer type to ``unsigned char'' to simplify size
19630         arithmetic.
19631
19632         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
19633         stub only handles 400-1 byte packets.  Verify that the download
19634         worked.
19635
19636 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19637
19638         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19639         tests, using UNRESOLVED for the untested cases.  Also, does not wait
19640         for a timeout if the prompt was received before a recognizable pattern.
19641
19642 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19643
19644         * lib/gdb.exp (gdb_expect_list): Fix spelling.
19645
19646 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19647
19648         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19649         watchpoints.
19650
19651 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
19652
19653         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19654
19655         * gdb.c++/local.exp: Be more flexible in recognizing local class
19656         name mangling.  Don't allow horribly truncated method names.
19657         * gdb.c++/derivation.exp: Expect protected inheritance.
19658         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19659         * gdb.c++/virtfunc.exp: Likewise.
19660         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
19661         when printing a nested enum.
19662
19663 1999-11-22  Jim Blandy  <jimb@cygnus.com>
19664
19665         * gdb.base/step-test.exp: Properly await GDB's response to setting
19666         a breakpoint on the call to large_struct_by_value.
19667
19668         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19669         just because we have debug info for the `start' function.
19670
19671 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
19672
19673         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19674         "Unknown signal" messages, which indicate (on LinuxThreads) that
19675         GDB doesn't know how to debug threads on this system.  This is
19676         better than hanging while philosopher 0 dumps chatter into gdb.log.
19677
19678 1999-11-18  Tom Tromey  <tromey@cygnus.com>
19679
19680         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19681
19682 1999-11-18  Fred Fish  <fnf@cygnus.com>
19683
19684         * gdb.base/coremaker2.c: Add sample program for generating
19685         cores that is more self contained than coremaker.c.  Eventually
19686         I'll add more code to this and tie it into the testsuite.
19687
19688 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
19689
19690         * gdb.base/dollar.exp: Remove, now in gdb.hp.
19691
19692 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
19693
19694         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19695         from $srcdir/lib/.
19696         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19697         and gdb.c++/.
19698
19699         * gdb.c++/derivation.exp: remove redundant get compiler info code.
19700
19701         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19702         'continue with watch' test point.
19703
19704 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
19705
19706         Merged from p2linux-990323-branch:
19707
19708         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19709
19710 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19711
19712         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19713         {limit,fixed}''.  Test ``set download-write-size''.
19714
19715 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19716
19717         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19718         gdb_expect_list.
19719
19720 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19721
19722         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19723
19724 1999-11-03  Mark Salter  <msalter@cygnus.com>
19725
19726         * gdb.base/break.exp: Fix "stub continue" pattern.
19727
19728 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
19729
19730         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19731
19732 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
19733
19734         * gdb.base/display.exp ("finish"): Add timeout clause.
19735
19736         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19737         plain prompt clause, so this doesn't have to time out in order to
19738         fail.
19739
19740         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19741         breakpoint hit messages include an address.
19742
19743         * gdb.base/display.exp: Don't forget to escape parens in regular
19744         expressions.  Unix regexp notatation sucks.
19745
19746 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19747
19748         * gdb.base/annota1.exp: Test for annotate-signalled: change output
19749         order for 'signalled' message.
19750
19751 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
19752
19753         From Jimmy Guo  <guo@cup.hp.com>:
19754         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19755         * gdb.base/annota1.c: Add code for tests to work with.
19756
19757 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
19758
19759         * gdb.base/remote.exp: New test for remote downloading settings.
19760         * gdb.base/remote.c: New file with large .data.
19761
19762 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
19763
19764         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19765         for LinuxThreads support, merged from the Code Fusion branch.
19766
19767 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19768
19769         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19770         containing exp_continue into a while within an expect.  Don't
19771         attempt a start more than three times.  Check return value from
19772         gdb_load.
19773
19774 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19775
19776         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19777         a pass case.
19778
19779 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
19780
19781         * gdb.base/break.c (main): Added a statement that we can step
19782         off of.
19783         * gdb.base/break.exp: Added tests for setting a breakpoint
19784         at an offset and stepping onto a breakpoint.
19785
19786 1999-10-01  Fred Fish  <fnf@cygnus.com>
19787
19788         * gdb.base/help.exp (help add-symbol-file): Update to match current
19789         gdb output.
19790
19791 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
19792
19793         * gdb.base/break.exp: Code locations are in hex, don't forget!
19794         (For HP-UX.)
19795
19796 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
19797
19798         * condbreak.exp: Use break.c as test program.
19799         * condbreak.c: Remove, redundant with break.c.
19800
19801 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
19802
19803         * config/monitor.exp (gdb_target_monitor): Disable X- and
19804         Z-packets if the target needs it.
19805
19806 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
19807
19808         * gdb.c++/overload.exp: Added tests for listing overloaded
19809         functions with function pointers in the arg, explicitly calling
19810         out the version you want.
19811
19812 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
19813
19814         * long_long.exp: Add variations of test cases that work for
19815         targets with 16-bit ints and 32-bit doubles.
19816
19817 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
19818
19819         * break.c (main): Compare a possibly-uninitialized argc with an
19820         unlikely value that fits in 16 bits.
19821
19822 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
19823
19824         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19825         0xfeeb, don't want negative numbers if ints are 16 bits.
19826
19827         * lib/gdb.exp (skip_cplus_tests): New proc.
19828         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19829         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19830         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19831         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19832         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19833         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19834         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19835         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19836
19837         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19838
19839 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
19840
19841         * gdb.base/corefile.exp (up): Allow a parameter to appear
19842         in the frame that we're going up to.
19843
19844         From Jim Blandy <jimb@cygnus.com>:
19845
19846         * gdb.base/default.exp (info float): Expect some output now.
19847
19848         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19849         returning floating-point values to fail on the x86.
19850         * gdb.base/callfwmall.exp (do_function_calls): Same.
19851
19852         * gdb.base/list.exp (test_listsize): Correct expectations for
19853         listing line 1 with listsize 2.  Also, listing a single line
19854         works now, as does listing three lines.  [Kevin's note: There
19855         were a number of other cases fixed too where the expectations
19856         differed...]
19857
19858 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
19859
19860         * gdb.base/selftest.exp: Add case for when version prints as
19861         constant string instead of char pointer.
19862
19863 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
19864
19865         * gdb.base/ending-run.exp: Add Solaris case for what happens when
19866         stepping out of main.
19867
19868         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19869         G++ used.
19870
19871         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19872         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19873
19874         * gdb.c++/ovldbreak.exp: Update match string in test that
19875         includes a warning of multiple breakpoints.
19876
19877 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
19878
19879         * gdb.base/display.exp: Improve precision of step-after-finish
19880         added yesterday.
19881
19882         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19883         test.
19884
19885         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19886         configs when using G++, not just hppa*.
19887
19888 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19889
19890         * gdb.base/async.c: New file.
19891         * gdb.base/async.exp: New file.
19892
19893 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
19894
19895         * gdb.base/break.exp: Tweak PA specific tests to properly handle
19896         PA64.
19897
19898 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
19899
19900         * gdb.base/display.exp: "finish" can leave us mid-line on many
19901         targets, deal with it.  Add a small constant to main, instead of
19902         1000 since main+1000 may not be a valid address in the target.
19903
19904         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19905         on hpux11.
19906
19907         * gdb.base/attach.exp: Handle another hpux11 error message variant
19908         when attaching to a process that does not exist.
19909
19910 1999-08-19  J.T. Conklin  <jtc@redback.com>
19911
19912         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19913         characters in 'continue to 1241' test.
19914
19915 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
19916
19917         * gdb.base/call-ar-st.exp: Add a shorter match case for the
19918         stop in print_long_arg_list, define and use a whitespace
19919         variable in print_small_structs test, add an XFAIL for Solaris.
19920         * gdb.base/dbx.exp: XFAIL func commands until somebody is
19921         interested enough to fix.
19922
19923 1999-08-13  Keith Seitz  <keiths@cygnus.com>
19924
19925         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19926         (dbx_gdb_load): Remove. Use gdb_load instead, since that
19927         proc knows about targets other than the natives.
19928         (test_assign): Use "gdb_run_cmd" to "run" the target.
19929         Check that we've actually hit the breakpoint at main.
19930         When we attempt to assign a value to a local variable, check
19931         that the variable is in the current scope, i.e., don't use
19932         a test with an empty result.
19933
19934 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19935
19936         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19937         command.
19938
19939 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
19940
19941         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19942         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19943         gdb.compat, gdb.threads-hp.
19944         gdb.hp/configure, gdb.hp/configure.in: New files.
19945         gdb.hp/Makefile.in: Recurse into new subdirs.
19946         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19947         gdb.hp/gdb.objdbg: New directory, tests for debugging info
19948         in object files.
19949         gdb.hp/tools: New directory, aux tools for HP-specific tests.
19950
19951 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
19952
19953         * gdb.base/display.exp: Help expect by putting a newline in the
19954         funky printf, remove a bogus p/a test.
19955
19956 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19957
19958         * gdb.base/display.exp: Make sure that when we say 'run', we are
19959         connected to the target. This is necessary when running not
19960         natively.
19961
19962 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
19963
19964         * gdb.base/step-test.exp: Removed some extraneous messages.
19965
19966         * gdb.base/long_long.exp: Don't run memory examination tests
19967         on little-endian targets (they will need a different set of
19968         results to match).
19969
19970 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
19971
19972         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19973         until somebody decides to fix GDB.
19974
19975         * gdb.base/long_long.c: Stop compiler complaint by specifying long
19976         constant as "ULL".
19977         * gdb.base/long_long.exp: Loosen x/c test, add partial result
19978         matches for a couple x/2 commands.
19979
19980 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
19981
19982         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19983         by merging in ref-types2 tests.
19984         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19985
19986         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19987         * gdb.c++/Makefile.in: Add standard actions.
19988         (EXECUTABLES): Rename from PROGS, update list.
19989         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19990         from gdb.hp.
19991         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19992         foo and bar locals.
19993         * gdb.c++/anon-union.exp: Fix tests to match.
19994         * gdb.c++/classes.exp: Run if HP compiler used, add extra
19995         expect matches to handle output variations.
19996         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19997         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
19998         output, add HP alternatives for new and delete prints.
19999         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
20000         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
20001         * gdb.c++/demangle.exp: Use $style when reporting failure.
20002         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20003         * gdb.c++/inherit.exp: Run if HP compiler used, add some
20004         match alternatives.
20005         * gdb.c++/local.exp: Add match alternatives or xfails for HP
20006         compilers.
20007         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20008         * gdb.c++/method.exp: Add match alternatives.
20009         * gdb.c++/misc.cc: Add bool types.
20010         * gdb.c++/misc.exp: Add tests for bool types.
20011         * gdb.c++/overload.exp: Add xfails.
20012         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20013         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20014         add some more template parameter tests (only for HP currently).
20015         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20016         * gdb.c++/virtfunc.cc: Add return type and value for main.
20017         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20018         match alternatives.
20019
20020 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20021
20022         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20023
20024 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
20025
20026         * gdb.base/signals.exp: Don't expect getting a backtrace from
20027         within a signal handler to fail on Linux.
20028
20029 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
20030
20031         From Jimmy Guo <guo@cup.hp.com> and others at HP:
20032         * lib/gdb.exp: Remove some gratuitious semicolons.
20033         (delete_breakpoints): Increase timeout.
20034         (gdb_expect): Add -notransfer option.
20035         (gdb_test): Use -notransfer option.
20036         (get_compiler_info): Add f77 case.
20037         (get_compiler): New proc, split out from gdb_preprocess, add f77
20038         case.
20039         (gdb_preprocess): Call get_compiler.
20040
20041         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20042         * gdb.base/attach.exp, gdb.base/display.exp,
20043         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20044         gdb.base/long_long.exp, gdb.base/printcmds.exp,
20045         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20046         third arg to gdb_test.
20047         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20048         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20049         HP-UX xfails, add others.
20050         * gdb.base/completion.exp: Reflect name change of self-test.
20051         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20052         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20053         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20054         HP failure number.
20055         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20056         useless HP-UX 10.30 references.
20057         * gdb.base/maint.exp: Loosen matches.
20058         * gdb.base/pointers.c (main): Declare more_code.
20059         * gdb.base/pointers.exp: Match on output of a `next'.
20060         * gdb.base/structs.c: Add prototypes.
20061         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20062         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20063
20064 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20065
20066         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20067         command.
20068
20069 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20070
20071         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20072         Fix run to main failures. Watchpoint can be hardware watchpoint.
20073
20074         * gdb.base/annota1.exp: Clean up some more, in case printf has
20075         debug info.  Deal with lack of signal hanlder info in stack.
20076
20077         From Jim Kingdon  <kingdon@redhat.com>:
20078         * gdb.base/annota1.exp: If printf has debug info, deal with it.
20079
20080 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
20081
20082         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20083         gdb.base/foll-vfork.exp: Don't run for crosses.
20084
20085 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20086
20087         * gdb.base/configure.in: Check for gdbvars.exp instead of
20088         a1-selftest.exp.
20089         * gdb.base/configure: Re-generate.
20090
20091 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
20092
20093         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20094         in trying to run first and name is too long.
20095
20096         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20097         pointers2.c and pointers2.exp, respectively.
20098         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20099         doschk happier.
20100
20101 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
20102
20103         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20104         callfuncs2.c and callfuncs2.exp.
20105
20106         * gdb.base/list.exp: Remove mistaken xfails.
20107         * gdb.base/list0.h: Add optional prototypes.
20108
20109 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
20110
20111         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20112         calling malloc.
20113         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20114         * ptype.exp: Move test for get_debug_format to before its first
20115         use.
20116
20117 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20118
20119         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20120         * gdb.base/annota2.cc, annota2.exp: Move from here.
20121         * gdb.c++/annota2.cc, annota2.exp: To here.
20122         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20123
20124 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20125
20126         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20127         a consistent format.
20128
20129 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
20130
20131         From Jimmy Guo <guo@cup.hp.com> and others at HP:
20132         * lib/gdb.exp (get_compiler_info): Add detection for assorted
20133         HP compilers, also set the globals $true and $false.
20134
20135         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20136         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20137         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20138         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20139         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20140         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20141         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20142         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20143         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20144         whatis.c} Add C++ compatible function definitions and return
20145         types, add includes for library functions.
20146         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20147         * gdb.base/step-test.c (myglob): Rename from glob.
20148         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20149         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20150         files, move here from gdb.hp.
20151         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20152         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20153         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20154         Adjust line numbers in regexps.
20155
20156         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20157         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20158         instead of 0/1.
20159
20160         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20161         foll-vfork.exp: New files, move here from gdb.hp.
20162         * gdb.base/page.exp: New file, test of pagination command.
20163
20164         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20165         recursion test.
20166         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20167
20168         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
20169         gdb.base/solib.exp: Fix compiler invocation process.
20170
20171         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
20172         HP-UX 11, turn off overload resolution explicitly.
20173         * gdb.base/commands.exp: Set argument list explicitly, add
20174         watchpoint test.
20175         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20176         them work.
20177         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20178         expressions properly.
20179         * gdb.base/corefile.exp: Loosen the match slightly.
20180         * gdb.base/default.exp: Allow "Error accessing memory" message
20181         also.
20182         * gdb.base/display.exp: Skip over x/0 j if PA64.
20183         * gdb.base/funcargs.exp: Add xfails for HP-UX.
20184         * gdb.base/interrupt.exp: Ditto.
20185         * gdb.base/langs.exp: Add symbolic matches governed by compiler
20186         in use.
20187         * gdb.base/list.exp: Add xfails for HP-UX.
20188         * gdb.base/long_long.exp: Refine some of the numeric matches.
20189         * gdb.base/mips_pro.exp: Xfail on HP-UX.
20190         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20191         * gdb.base/nodebug.exp: Succeed on more varieties of output.
20192         * gdb.base/opaque.exp: Remove some HP-UX xfails.
20193         * gdb.base/ptype.exp: Succeed on more varieties of output.
20194         * gdb.base/scope.exp: Add xfails for HP-UX.
20195         * gdb.base/sect-cmd.exp: Add more cases.
20196         * gdb.base/setvar.exp: Add xfails for HP-UX.
20197         * gdb.base/shlib-call.exp: Loosen some matches slightly.
20198         * gdb.base/signals.exp: Match on void symbolically.
20199         * gdb.base/step-test.exp: Add case for PA64.
20200         * gdb.base/term.exp: Add exit and restart.
20201         * gdb.base/twice.exp: Clean up after self.
20202         * gdb.base/varargs.exp: Disable overload resolution explicitly.
20203         * gdb.base/whatis.exp: Allow more ways to pass tests.
20204
20205         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
20206         no longer useful.
20207
20208 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20209
20210         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
20211         list of patterns.
20212         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
20213         print_double_array(double_array)", "continuing to breakpoint
20214         1018", "print print_double_array(array_d)" and "continuing to
20215         1034" tests.
20216
20217 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
20218
20219         * Makefile.in: Add empty html and install-html targets.
20220
20221 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
20222
20223         * config/mt-*: Remove, these haven't been used since 1996.
20224
20225 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
20226
20227         * gdb.base/call-strs.c, gdb.base/ending-run.c,
20228         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
20229         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20230
20231 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
20232
20233         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20234         simpler match case for the ptype of the big class.
20235
20236 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20237
20238         * gdb.exp: Fix test for gdb_prompt existence.
20239
20240 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20241
20242         * gdb.exp (gdb_test): Add fail after calls to perror.
20243
20244 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20245
20246         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20247
20248 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20249
20250         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20251
20252 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20253
20254         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
20255         malloc() is linked in.
20256
20257 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20258
20259         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20260         step at end.
20261
20262         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20263
20264 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20265
20266         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
20267
20268 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
20269
20270         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20271         * gdb.base/mips_pro.exp: Likewise.
20272
20273 1999-06-02  Keith Seitz  <keiths@cygnus.com>
20274
20275         * gdb.c++/templates.cc: Change all "new" operators to throw
20276         an exception.
20277         * gdb.c++/cplusfuncs.cc: Likewise.
20278
20279         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20280
20281 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20282
20283         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20284         * gdb.base/ending-run.exp: When stepping out of main, accept a
20285         step into an arbitrary assembler file.
20286
20287 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20288
20289         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20290         "breakpoint-invalid" to be printed.
20291         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20292         number of "frames-invalid" and "breakpoint-invalid" to be printed.
20293         * gdb.base/annota2.cc: Initialize a.x to 0.
20294
20295 1999-05-17  Keith Seitz  <keiths@cygnus.com>
20296
20297         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20298         when "skip_float_tests" set.
20299         Ditto for "print print_double_array(array_d)", "print print_small_structs",
20300         "print print_ten_doubles", and "step into print_long_arg_list".
20301         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20302         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20303         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20304         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20305         "skip_float_tests" is set.
20306         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20307         when "skip_float_tests" set.
20308
20309 1999-05-06  Keith Seitz  <keiths@cygnus.com>
20310
20311         * gdb.base/annota2.cc: Include stdio.h.
20312
20313 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
20314
20315         * gdb.base/crossload.exp: Remove, this has been disabled ever
20316         since BFD stopped including all targets, and cross-GDB gets
20317         plenty of testing anyway.
20318         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20319         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20320         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20321         * gdb.base/README: Remove, was doc for this.
20322         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20323         needed.
20324
20325 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20326
20327         * gdb.base/call-ar-st.exp: Fix one regular expression in test
20328         output.
20329
20330         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20331         * gdb.base/annota2.exp: New file. More annotation tests.
20332         * gdb.base/annota1.c: New file. Source file for annota1.exp.
20333         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20334
20335 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
20336
20337         * config/cfdbug.exp: New file.
20338
20339 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
20340
20341         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20342         Marcus Daniel's and Dale Hawkins's demangler crashes.
20343
20344         * gdb.c++/demangle.exp (test_gnu_style_demangling,
20345         test_lucid_style_demangling, test_arm_style_demangling,
20346         test_hp_style_demangling): Try Tom Tromey's core-dumping
20347         identifier under each demangling style.
20348
20349 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20350
20351         * gdb.c++/demangle.exp: Include the current demangling style
20352         in all test names.
20353         (current_demangling_style): New global variable.
20354         (set_demangling_style, test_demangling_core, test_demangling,
20355         test_demangling_exact): New functions.
20356         (test_gnu_style_demangling, test_lucid_style_demangling,
20357         test_arm_style_demangling, test_hp_style_demangling): Use those,
20358         instead of calling gdb_test and gdb_test_exact directly.
20359         (catch_demangling_errors): New function, which reports errors
20360         signalled by the demangling test functions in an orderly way.
20361         (do_tests): Use catch_demangling_errors.
20362
20363 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
20364
20365         * gdb.base/signals.exp (test_handle_all_print): Use () for
20366         grouping in expressions, not {}.
20367
20368         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
20369         initialized yet.
20370
20371 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
20372
20373         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20374         are listed.
20375
20376 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
20377
20378         * gdb.stabs/weird.exp: Test for CC being defined before
20379         looking at its value.
20380
20381 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
20382
20383         * gdb.base/call-ar-st.exp: Remove stray '#'.
20384         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20385         "short int" and "long int".
20386         * gdb.c++/overload.cc: Cast the string added in the previous
20387         change, to mollify finicky HP compiler.
20388         * gdb.hp/reg-test.exp (testfile): Fix file name.
20389         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20390
20391         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20392         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20393         alternate form of enum ptype.
20394
20395 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
20396
20397         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20398         * gdb.hp/*.exp: Change all to run compiler probe only after
20399         passing skip_hp_tests, so as not to waste time on guaranteed
20400         failure.
20401
20402         * gdb.c++/overload.cc: Pass string instead of char addr, always
20403         init ccpfoo.
20404         * gdb.c++/templates.cc: Fix syntax error.
20405
20406 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20407
20408         * gdb.base/commands.exp: Add test for correct position of '>'
20409         when issuing the 'commands' command after a 'while' or 'if'
20410         command.
20411
20412 1999-03-18  James Ingham  <jingham@cygnus.com>
20413
20414         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20415
20416         * gdb.c++/method.exp: It was testing an uninitialized int on the
20417         stack and assuming it was positive.
20418
20419         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20420
20421         * gdb.base/step-test.exp: Catch a case where finish is broken and
20422         keep it from killing the rest of the tests.
20423         Use gdb_continue_to_end.
20424
20425         * gdb.base/sigall.exp: use gdb_continue_to_end.
20426
20427         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20428
20429         * gdb.base/display.exp: use runto_main, not run.
20430
20431         * gdb.base/default.exp: Check for the current error message in the
20432         r abbreviation test.
20433         Add strongarm to the targets that know info float.
20434
20435         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20436         run which doesn't work with monitors.
20437
20438         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20439
20440         * gdb.base/break.exp: use the gdb_continue_to_end proc.
20441
20442         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20443         program.  Traps the case (in Cygmon) when the program never really
20444         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
20445         more places, so I used my name.  Sorry Mark...
20446
20447         * config/monitor.exp (gdb_target_monitor): added another
20448         target_info parameter: remotebinarydownload.  This will set the
20449         remotebinarydownload flag if this is causing some boards trouble.
20450
20451 1999-03-18  Mark Salter  <msalter@cygnus.com>
20452
20453         * lib/gdb.exp (continue_to_exit): New function.
20454
20455         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20456         * gdb.base/ending-run.exp: Ditto.
20457         * gdb.base/step-test.exp: Ditto.
20458
20459 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
20460
20461         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20462         (suggested by Art Haas <ahaas@neosoft.com>).
20463
20464 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
20465
20466         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
20467
20468 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
20469
20470         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
20471         descriptions of types (short unsigned int vs unsigned short, etc).
20472
20473 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
20474
20475         * gdb.base/call-strs.exp: Don't assume that `step' will step over
20476         a call to strlen; sometimes we do have sources.
20477
20478 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20479
20480         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
20481         character, so GDB won't print garbage after its end.
20482
20483         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20484         breakpoint there instead.  Sometimes GCC emits memcpy to handle
20485         the large structures being passed by value, so we step into that
20486         instead of sum_array_print, which obscures what we're really testing.
20487         * gdb.base/step-test.exp: However, we do want a test that notices
20488         the bizarre steps into memcpy, so do that here.  Add check for
20489         stepping into function calls that pass large structures by value.
20490         ("Is that a noun clause, or are you just happy to see me?")
20491         Remove all references to specific line numbers.
20492         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20493         New type and function.
20494         (main): Call large_struct_by_value, passing it a large struct by value.
20495         * lib/gdb.exp (gdb_get_line_number): New function.
20496
20497         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20498         more portable.
20499
20500 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20501
20502         * lib/gdb.exp: Doc fixes.
20503
20504 1999-03-05  Nick Clifton  <nickc@cygnus.com>
20505
20506         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20507
20508 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
20509
20510         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20511         commands.  They're not germane to this test, and they don't work
20512         that way on remote targets.
20513
20514 1999-03-01  James Ingham  <jingham@cygnus.com>
20515
20516         * Changelog entries merged over from gdb development branch.
20517
20518        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
20519
20520                * lib/gdb.exp (gdbtk_analyze_results): Generic function
20521                for outputting results of test run.
20522
20523         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
20524
20525                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20526
20527 1999-02-25  Felix Lee  <flee@cygnus.com>
20528
20529         * lib/gdb.exp (debug_format): initialize
20530
20531 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
20532
20533         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20534         * gdb.base/call-rt-st.c: Ditto.
20535
20536 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
20537
20538         * gdb.threads/pthreads.exp (horiz): New variable.
20539         (test_startup): Fix regexps that capture thread numbers.
20540
20541 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
20542
20543         * gdb.base/smoke.exp: Disambiguate two test case names (both
20544         called ``print'').
20545
20546 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20547
20548         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20549         compilation.
20550
20551 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20552
20553         * gdb.base/miscexprs.exp: Change patterns to match GDB's
20554         actual output formatting.
20555         * gdb.base/smoke.exp: GDB removes leading 0's.
20556         * gdb.base/volatile.exp: Don't check type of remuneration;
20557         that variable is no longer defined in constvars.c.
20558         * gdb.base/step-test.c (main): Exit with explicit exit code.
20559         * gdb.base/step-test.exp: Remove two nexti checks--they are
20560         not portable.
20561
20562 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20563
20564         * gdb.base/help.exp ("help delete display"): Fix test to match
20565         gdb's output.
20566
20567         * gdb.base/long_long.c (known_types): Initialize values to zero.
20568         * gdb.base/long_long.exp: Step one more line
20569         so 'dec' is initialized in "get to known place".  GDB removes
20570         leading zeros.  Explicitly ask for hex formatting.  Use
20571         unique test case names.
20572
20573 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20574
20575         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20576
20577         * gdb.c++/method.exp: Add missing close brace.
20578
20579 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
20580
20581         * gdb.base/maint.exp: Use 'set height 0' to disable page
20582         prompting, not 'set height 400'.
20583
20584         Fix a bunch of timeouts.
20585         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20586         four separate tests, so expect doesn't take forever to match a ton
20587         of text against a regexp with lots of .* forms.
20588         ("maint print psymbols", "maint print symbols"): Make some of
20589         these greps more selective, so that expect doesn't try to wade
20590         through huge piles of output and time out.
20591
20592         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20593
20594         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20595         tests: one which doesn't expect shlib events to be reported, and
20596         another which does, but is XFAIL for all platforms other than
20597         HP/UX.
20598
20599         * gdb.base/break.exp: Teach the test suite that the `catch
20600         fork', `catch vfork', and `catch exec' commands produce error
20601         messages on platforms that don't provide these features.
20602
20603 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20604
20605         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20606         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20607         (shortening names from solib_threshold.exp etc), won't run on
20608         anything but HP-UX for the foreseeable future.
20609         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20610         reflect move.
20611
20612 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
20613
20614         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20615         gdb.trace/Makefile.in (clean): Remove all test executables.
20616
20617 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
20618
20619         * gdb.base/shlib-call.exp: add test cases to verify that gdb
20620         successfully re-sets breakpoints in shared libraries.
20621         * gdb.base/shmain.c (main): return 0, don't fall off the end.
20622
20623 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20624
20625         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20626         and compiled w/o GCC.
20627
20628         * gdb.hp/watch-cmd.exp: ditto.
20629
20630         * gdb.hp/watch-hp.exp: ditto.
20631
20632         * gdb.hp/xdb1.exp: ditto.
20633
20634         * gdb.hp/xdb2.exp: ditto.
20635
20636         * gdb.hp/dbx.exp: ditto.
20637
20638 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
20639
20640         * constvars.c: Remove C++-isms.
20641         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20642         with GCC.
20643
20644 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
20645
20646         The following changes are part of the HP merge.
20647
20648         * gdb.base/break.exp: new tests to verify that catchpoints for
20649         fork, vfork, and exec don't trigger inappropriately.
20650
20651         * gdb.base/opaque.exp: compile one file at a time, then link.
20652
20653         * gdb.base/signals.exp: be more restrictive about which hppa
20654         systems receive a setup_xfail.  new tests.
20655
20656         * gdb.base/solib_threshold.build: new file.
20657         * gdb.base/solib_threshold.exp: new file.
20658         * gdb.base/solib_threshold.link_opts: new file.
20659         * gdb.base/solib_threshold.mk: new file.
20660         * gdb.base/gen_solib_threshold.c: new file.
20661
20662         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20663         tests.  New tests for enums inside classes.
20664
20665         * gdb.c++/compiler.cc: indicate support of template debugging.
20666
20667         * gdb.c++/demangle.exp: run hp style demangling tests.
20668
20669         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20670         tests.
20671
20672         * gdb.c++/misc.cc: changes to support new tests.
20673
20674         * gdb.c++/templates.cc: changes to support HP's compiler; changes
20675         to support new tests.
20676
20677         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20678         gcc, then skip these tests.
20679
20680 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
20681
20682         The following files are part of the HP merge; some had longer
20683         names at HP, but have been renamed to be no more than 14
20684         characters in length.
20685
20686         * gdb.hp/ambiguous.cc: new file.
20687         * gdb.hp/ambiguous.exp: new file.
20688         * gdb.hp/attach.exp: new file.
20689         * gdb.hp/attach2.exp: new file.
20690         * gdb.hp/classes-hp.exp: new file.
20691         * gdb.hp/ctti.exp: new file.
20692         * gdb.hp/ctti-add.cc: new file.
20693         * gdb.hp/ctti-add1.cc: new file.
20694         * gdb.hp/ctti-add2.cc: new file.
20695         * gdb.hp/ctti-add3.cc: new file.
20696         * gdb.hp/dbx.exp: new file.
20697         * gdb.hp/exception.cc: new file.
20698         * gdb.hp/exception.exp: new file.
20699         * gdb.hp/foll-exec.c: new file.
20700         * gdb.hp/foll-exec.exp: new file.
20701         * gdb.hp/foll-fork.c: new file.
20702         * gdb.hp/foll-fork.exp: new file.
20703         * gdb.hp/foll-vfork.c: new file.
20704         * gdb.hp/foll-vfork.exp: new file.
20705         * gdb.hp/inherit-hp.exp: new file.
20706         * gdb.hp/more-steps.exp: new file.
20707         * gdb.hp/namespace.cc: new file.
20708         * gdb.hp/namespace.exp: new file.
20709         * gdb.hp/optimize.exp: new file.
20710         * gdb.hp/pxdb.c: new file.
20711         * gdb.hp/pxdb.exp: new file.
20712         * gdb.hp/quicksort.exp: new file.
20713         * gdb.hp/reg-test.exp: new file.
20714         * gdb.hp/reg-test.s: new file.
20715         * gdb.hp/sized-enum.c: new file.
20716         * gdb.hp/sized-enum.exp: new file.
20717         * gdb.hp/start-stop.exp: new file.
20718         * gdb.hp/templ-hp.cc: new file.
20719         * gdb.hp/templ-hp.exp: new file.
20720         * gdb.hp/thr-lib.c: new file.
20721         * gdb.hp/thr-lib.exp: new file.
20722         * gdb.hp/thr-lib.h: new file.
20723         * gdb.hp/thr-liblib.c: new file.
20724         * gdb.hp/virtfun-hp.c: new file.
20725         * gdb.hp/virtfun-hp.exp: new file.
20726         * gdb.hp/watch-cmd.exp: new file.
20727         * gdb.hp/watch-hp.exp: new file.
20728         * gdb.hp/xdb1.exp: new file.
20729         * gdb.hp/xdb2.exp: new file.
20730         * gdb.hp/xdb3.exp: new file.
20731
20732 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
20733
20734         The following files are part of the HP merge; some had longer
20735         names at HP, but have been renamed to be no more than 14
20736         characters in length.
20737
20738         * gdb.base/ss.h: new file.
20739         * gdb.base/call-ar-st.c: new file.
20740         * gdb.base/call-ar-st.exp: new file.
20741         * gdb.base/call-rt-st.c: new file.
20742         * gdb.base/call-rt-st-exp: new file.
20743         * gdb.base/call-strs.exp: new file.
20744         * gdb.base/ena-dis-br.exp: new file.
20745         * gdb.base/environ.exp: new file.
20746         * gdb.base/long_long.exp: new file.
20747         * gdb.base/sect-cmd.exp: new file.
20748         * gdb.base/shlib-cl2.exp: new file.
20749         * gdb.base/smoke.exp: new file.
20750         * gdb.base/so-impl-ld.c: new file.
20751         * gdb.base/so-impl-ld.exp: new file.
20752         * gdb.base/so-indr-cl.c: new file.
20753         * gdb.base/so-indr-cl.exp: new file.
20754         * gdb.base/varargs.exp: new file.
20755         * gdb.base/volatile.exp: new file.
20756         * gdb.base/whatis-exp.exp: new file.
20757         * gdb.base/display.exp: new file.
20758         * gdb.c++/derivation.exp: new file.
20759         * gdb.c++/local.exp: new file.
20760         * gdb.c++/member-ptr.exp: new file.
20761         * gdb.c++/overload.exp: new file.
20762         * gdb.c++/ovldbreak.exp: new file.
20763         * gdb.c++/ref-types.exp: new file.
20764         * gdb.c++/ref-types2.exp: new file.
20765         * gdb.c++/userdef.exp: new file.
20766
20767 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
20768
20769         * gdb.base/default.exp: Reflect wording change in remote.c.
20770
20771 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
20772
20773         * gdb.base/help.exp: Update to reflect current text.
20774
20775 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
20776
20777         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20778         they're stack variables and contain garbage.
20779         * gdb.c++/anon-union.exp: new file.
20780
20781         The following changes were made by David Taylor
20782         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20783         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20784         in changes by HP.
20785
20786         * gdb.base/bitops.exp: new file.
20787         * gdb.base/default.exp: change expected messages for catch and
20788         info catch tests to reflect HP merge changes.
20789         * gdb.base/enable-disable-break.exp
20790         * gdb.base/ending-run.c: new file.
20791         * gdb.base/long_long.c: new file.
20792         * gdb.base/maint.exp: new file.
20793         * gdb.base/pointers2.exp: new file.
20794         * gdb.base/shlib-call2.exp: new file.
20795         * gdb.base/solib.exp: new file.
20796         * gdb.base/step-test.c: new file.
20797         * gdb.c++/anon-union.cc: new file.
20798         * gdb.c++/local.cc: new file.
20799         * gdb.c++/member-pointer.cc: new file.
20800         * gdb.c++/method.cc: new file.
20801         * gdb.c++/ref-types.cc: new file.
20802         * gdb.c++/ref-types2.cc: new file.
20803         * gdb.c++/userdef.cc: new file.
20804
20805         * gdb.base/scope.exp: compile one file at a time, then link.
20806         * gdb.base/langs.exp: ditto.
20807         * gdb.base/list.exp: ditto.
20808
20809 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
20810
20811         The following changes were made by David Taylor
20812         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20813         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20814         in changes by HP.
20815
20816         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20817         skip tests.  When compiling pass c++ flag to gdb_compile.
20818         * gdb.c++/
20819
20820         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20821         test for on hppa*-*-hpux*; use args to see if c++ was specified.
20822         (skip_hp_tests): new function.
20823         (gdb_preprocess): new function.
20824
20825         * configure.in (hpdir): decide whether to configure gdb.hp.
20826         * configure: regenerated.
20827
20828         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20829         to delete on clean.
20830         (EXECUTABLES): update to reflect new additions.
20831         * gdb.base/commands.exp: update message expected.
20832         * gdb.base/default.exp: add copyright notice.
20833         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20834         * gdb.base/help.exp: update messages to reflect current text.
20835         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20836         targets for recurse tests.
20837         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20838         skip this file.
20839
20840         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20841         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20842         compilation.
20843         * gdb.c++/misc.exp: ditto.
20844         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20845         run the tests.  tell gdb_compile that it's a c++ compilation.
20846
20847         * gdb.threads/pthreads.exp: fix typo in message.
20848
20849         * gdb.base/all-bin.exp: new file.
20850         * gdb.base/arithmet.exp: new file.
20851         * gdb.base/assign.exp: new file.
20852         * gdb.base/completion.exp: new file.
20853         * gdb.base/cond-expr.exp: new file.
20854         * gdb.base/condbreak.exp: new file.
20855         * gdb.base/define.exp: new file.
20856         * gdb.base/dollar.exp: new file.
20857         * gdb.base/environment.exp: new file.
20858         * gdb.base/eval-skip.exp: new file.
20859         * gdb.base/jump.exp: new file.
20860         * gdb.base/logical.exp: new file.
20861         * gdb.base/pointers.exp: new file.
20862         * gdb.base/relational.exp: new file.
20863         * gdb.base/section_command.exp: new file.
20864         * gdb.base/whatis-expr.exp: new file.
20865
20866         * gdb.base/all-types.c: new file.
20867         * gdb.base/call-array-struct.c: new file.
20868         * gdb.base/call-return-struct.c: new file.
20869         * gdb.base/call-strings.c: new file.
20870         * gdb.base/callfuncs2.c: new file.
20871         * gdb.base/condbreak.c: new file.
20872         * gdb.base/constvars.c: new file.
20873         * gdb.base/display.c: new file.
20874         * gdb.base/int-type.c: new file.
20875         * gdb.base/jump.c: new file.
20876         * gdb.base/miscexprs.c: new file.
20877         * gdb.base/pointers.c: new file.
20878         * gdb.base/pointers2.c: new file.
20879         * gdb.base/shmain.c: new file.
20880         * gdb.base/shr1.c: new file.
20881         * gdb.base/shr2.c: new file.
20882         * gdb.base/solib.c: new file.
20883         * gdb.base/solib1.c: new file.
20884         * gdb.base/solib2.c: new file.
20885         * gdb.base/varargs.c: new file.
20886         * gdb.c++/derivation.cc: new file.
20887         * gdb.c++/overload.cc: new file.
20888         * gdb.c++/ovldbreak.cc: new file.
20889         * gdb.hp/attach.c: new file.
20890         * gdb.hp/attach2.c: new file.
20891         * gdb.hp/average.c: new file.
20892         * gdb.hp/compiler.c: new file.
20893         * gdb.hp/compiler.cc: new file.
20894         * gdb.hp/execd-program.c: new file.
20895         * gdb.hp/follow-exec.c: new file.
20896         * gdb.hp/follow-fork.c: new file.
20897         * gdb.hp/follow-vfork-and-exec.c: new file.
20898         * gdb.hp/misc-hp.cc: new file.
20899         * gdb.hp/more-steps.c: new file.
20900         * gdb.hp/optimize.c: new file.
20901         * gdb.hp/quicksort.c: new file.
20902         * gdb.hp/run-hp.c: new file.
20903         * gdb.hp/start-stop.c: new file.
20904         * gdb.hp/sum.c: new file.
20905         * gdb.hp/templates-hp.cc: new file.
20906         * gdb.hp/thread-local-in-lib.c: new file.
20907         * gdb.hp/thread-local-in-lib.h: new file.
20908         * gdb.hp/thread-local-in-lib.lib.c: new file.
20909         * gdb.hp/vforked-program.c: new file.
20910         * gdb.hp/virtfunc-hp.cc: new file.
20911         * gdb.hp/watchpoint-hp.c: new file.
20912         * gdb.hp/xdb.c: new file.
20913         * gdb.hp/xdb0.c: new file.
20914         * gdb.hp/xdb0.h: new file.
20915         * gdb.hp/xdb1.c: new file.
20916
20917 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
20918
20919         The following change was made by Edith Epstein
20920         <eepstein@cygnus.com> as part of a project to merge in changes
20921         originally made by HP; HP did not create ChangeLog entries.
20922
20923         * gdb.c++/demangle.exp: changed the expected output for some
20924         ARM-style mangling -- removed second reference to datatype.
20925         For example, maint demangle __dt__11T1__pt__2_cFv
20926                      T1<char>::~T1<char>(void)
20927         becomes,
20928                      maint demangle __dt__11T1__pt__2_cFv
20929                      T1<char>::~T1(void)
20930
20931         (test_hp_style_demangling): new hp specific demangling test cases.
20932
20933 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
20934
20935         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20936         * gdb.trace/backtrace.exp: Likewise.
20937         * gdb.trace/circ.exp: Likewise.
20938         * gdb.trace/collection.exp: Likewise.
20939         * gdb.trace/deltrace.exp: Likewise.
20940         * gdb.trace/infotrace.exp: Likewise.
20941         * gdb.trace/limits.exp: Likewise.
20942         * gdb.trace/packetlen.exp: Likewise.
20943         * gdb.trace/passc-dyn.exp: Likewise.
20944         * gdb.trace/passcount.exp: Likewise.
20945         * gdb.trace/report.exp: Likewise.
20946         * gdb.trace/save-trace.exp: Likewise.
20947         * gdb.trace/tfind.exp: Likewise.
20948         * gdb.trace/tracecmd.exp: Likewise.
20949         * gdb.trace/while-dyn.exp: Likewise.
20950         * gdb.trace/while-stepping.exp: Likewise.
20951
20952 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20953
20954         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20955
20956 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
20957
20958         From Brendan Kehoe:
20959         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20960         int return types.
20961
20962 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
20963
20964         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20965         remote dos host testing right.
20966
20967 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
20968
20969         * gdb.base/corefile.exp: remove some xfails.
20970
20971 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20972
20973         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20974         have different timestamps.
20975
20976 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20977
20978         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20979         gdb.base/default.exp: Replace "exec" with "executable".
20980
20981 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20982
20983         * gdb.base/default.exp: Change else if to elseif from previous
20984         delta.
20985
20986 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
20987
20988         * gdb.base/default.exp: Add brace missing from previous delta.
20989
20990 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
20991
20992         * gdb.base/default.exp: Support test for info float for all
20993         varieties of arm toolchain.
20994
20995 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
20996
20997         * gdb.trace/*.exp: remove "remote_download" command.
20998
20999 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
21000
21001         * gdb.trace/*.exp: remove -gdwarf from compile.
21002
21003 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
21004
21005         * gdb.trace/configure.in(AC_INIT): typo
21006         * gdb.trace/configure: regenerated
21007
21008 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
21009
21010         * config/m68k-emc.exp: New file.
21011         * lib/<emc-support.exp trace-support.exp}: New files.
21012         * configure.in: add new test directory gdb.trace.
21013         * gdb.trace/{configure configure.in Makefile.in}: New files.
21014         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21015         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21016         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21017         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21018         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21019         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21020         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
21021
21022 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
21023
21024         * gdb.c++/classes.exp: Change all regular expressions to match
21025         arbitrary combinations of newline/carriage-return, so that they
21026         will work equally well on Unix and Windows.
21027         * gdb.c++/inherit.exp: ditto.
21028         * gdb.c++/virtfunc.exp: ditto.
21029
21030 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
21031
21032         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21033
21034 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
21035
21036         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21037         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
21038         to use a0-a3/d0-d3 as needed.
21039
21040 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
21041
21042         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21043         * gdb.disasm/am33.exp: Corresponding changes.
21044
21045 1998-07-11  Felix Lee  <flee@cygnus.com>
21046
21047         * gdb.base/callfuncs.exp: add cmp10 test.
21048         * gdb.base/callfuncs.c (cmp10): new function.
21049
21050 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
21051
21052         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21053         into two parts to get around a synchronization problem in expect.
21054
21055 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
21056
21057         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21058
21059         * configure.in: Add options for gdbtk testsuite.
21060
21061         * configure: Regenerate.
21062
21063         * gdb.gdbtk: New directory to hold gdbtk tests.
21064
21065 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
21066
21067         * gdb.fortran/types.exp:  Escape brackets in expect patterns
21068         for test_float_literal_types_accepted tests.
21069         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
21070         before run test.
21071
21072 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
21073
21074         * am33.exp: Just compile, do not link the testcase.
21075         * am33.s: Add ".am33" pseudoop to force am33 mode.
21076
21077 1998-06-25  Felix Lee  <flee@cygnus.com>
21078
21079         * gdb.base/setshow.exp: make sure $pc is sane.
21080
21081         * gdb.stabs/weird.exp: split expect patterns properly.
21082
21083 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
21084
21085         * gdb.disasm/am33.s: New disassembler testfile for the am33.
21086         * gdb.disasm/am33.exp: Run it.
21087
21088 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
21089
21090         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21091         match processing (and eliminate spurious timeouts when running).
21092
21093 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
21094
21095         * gdb.base/signals.exp (test_handle_all_print): put back Mach
21096         exception test, but conditionalize it on target [mach | gnu].
21097
21098 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
21099
21100         * gdb.base/overlays.exp: fixup compile line for linker script.
21101
21102 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
21103
21104         * gdb.fortran/types.exp: don't guess at float size.
21105
21106 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
21107
21108         * gdb.base/exprs.exp: delete test that depends on int size.
21109
21110 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
21111
21112         * config/sim.exp: Removed checks for target triplets.
21113         (gdb_target_sim): Use gdb,target_sim_options.
21114
21115 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
21116
21117         * gdb.base/reread.exp: New file.
21118         * gdb.base/reread1.c: New file.
21119         * gdb.base/reread2.c: New file.
21120
21121 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
21122
21123         * config/sim.exp: Use 'target sim -sparclite' when running
21124         SPARClite programs.
21125
21126 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
21127
21128         * gdb.base/structs2.exp: New file.
21129         * gdb.base/structs2.c: New file.
21130
21131 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
21132
21133         * gdb.asm/common.inc: New file.
21134         * gdb.asm/d10v.inc: New file.
21135         * asm-source.exp: Pass -I's to gas to find .inc files.
21136         Update line numbers in expected output.
21137         * asmsrc1.s: Rewrite.
21138         * asmsrc2.s: Rewrite.
21139         * configure.in: Create arch.inc symlink.
21140         * configure: Regenerate.
21141         * Makefile.in (distclean): Delete arch.inc.
21142
21143 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
21144
21145         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
21146         (t_enum_value2): ditto
21147         (t_enum_value3): ditto
21148         (main): ditto
21149 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
21150
21151         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
21152         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21153         change.
21154         Use gdb_test instead of send_gdb/gdb_expect sequences.
21155
21156 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
21157
21158         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21159         not void.
21160
21161 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
21162
21163         * gdb.base/branches.c: Code with lots of loops and
21164         subroutines. Used to test gdbs ability to single step through PC
21165         changes, especially to test mips-tdep.c:mips_next_pc
21166
21167 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21168
21169         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21170         more rigorous EGCS C++ error checking.
21171
21172 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21173
21174         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
21175         tests.
21176         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
21177         function when asleep.
21178         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
21179         for i*86 Linux and SVR4 signal handling problems.
21180         Remove linux xfail for `next to handler in signals_tests_1', fixed
21181         by recent infrun.c change.
21182         Limit backtrace to 10 frames to avoid timeout problems with infinite
21183         stack backtraces.
21184         Adjust expect pattern in `handle all print' test to match Apr 28 1997
21185         target.[ch] change.
21186
21187 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
21188
21189         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21190         for a newline from gdb before continuing.
21191         (default_gdb_exit): Just look for y or n.
21192         (gdb_test): Detect abnormal exit from GDB running on DOS; if
21193         it does, fail the rests of the tests in the file.
21194
21195 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
21196
21197         * config/cygmon.exp: New file.
21198
21199 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
21200
21201         * gdb.base/list.exp: Fix problem with "list default lines around
21202         main" test on remote targets.
21203
21204         * gdb.base/scope.exp: Fix problem with filelocal_bss before
21205         run test on remote targets.
21206
21207 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
21208
21209         * gdb.asm: New directory.
21210         * configure.in: Configure it.
21211         * configure: Regenerate.
21212         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21213         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21214
21215 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
21216
21217         * config/mn10300-eval.exp: New file to support MN10300 eval board.
21218
21219 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
21220
21221         * gdb.base/overlays (several files): Merge the two overlay
21222         managers into one.  Change variables (foox, barx, bazx, grbxx)
21223         back into ints but force them to load in their proper sections.
21224
21225 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21226
21227         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
21228         on-chip insn memory and IMAP1 to upper 128k.
21229         (D10VCopy): Handle memory regions crossing 16k boundaries.
21230         (D10VCopy): Transfer data in 32 bit chunks.
21231
21232 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21233
21234         * gdb.base/overlays.c (main): Exit normally when result is
21235         correct.
21236
21237         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21238         map.  Include space for printf in .text segment.
21239
21240         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21241         updated d10v memory VMA/LMA map.
21242         (D10VCopy): Call D10VTranslate.
21243
21244 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21245
21246         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21247
21248         * gdb.base/bar.c (barx, bar): Change variable to small array so
21249         that it won't be put into the .sdata - small data -
21250         section. Update reference.
21251         * gdb.base/baz.c (bazx, baz): Ditto.
21252         * gdb.base/foo.c (foox, foo): Ditto.
21253         * gdb.base/grbx.c (grbxx, grbx): Ditto.
21254
21255         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21256         to be arrays.
21257
21258 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
21259
21260         * gdb.base/overlays.exp: fix up and get working again.
21261         Add tests for backtraces from an overlay function.
21262
21263 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
21264
21265         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21266         "calling function with watchpoint enabled".
21267
21268 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
21269
21270         * gdb.base/break.exp (test_next_with_recursion): Remove
21271         gdb_suppress_tests for d10v-*-*.
21272         * lib/gdb.exp (gdb_suppress_tests): Disable this function
21273         pending review of whether it is useful or not.
21274
21275 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
21276
21277         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21278
21279 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
21280
21281         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21282         * config/dve.exp: New file to support Densan boards.
21283
21284 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21285
21286         * gdb.base/interrupt.exp: Document problem of simulators, signals,
21287         reads and BSD.
21288
21289 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21290
21291         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21292         response.
21293
21294         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21295
21296 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21297
21298         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21299         test.
21300
21301         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21302         target_sizeof_long and target_bigendian_p.
21303         (structs_by_value, structs_by_reference): Check values according
21304         to targets word size and endianess.
21305
21306 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21307
21308         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21309         output.
21310
21311 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
21312
21313         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21314         Update test of set args help to match source change.
21315
21316 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
21317
21318         * gdb.base/default.exp: Expect help system output to be in
21319         alphabetical order.
21320         * gdb.base/help.exp: Ditto.
21321
21322 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21323
21324         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21325         "i*86-pc-linux-gnu*".
21326         * gdb.base/interrupt.exp: Ditto.
21327         * gdb.base/corefile.exp: Ditto.
21328
21329         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21330         define vxworks when building the testcase.
21331
21332         * gdb.base/ptype.exp: Fix testnames to be unique.
21333         * gdb.base/radix.exp: Ditto.
21334         * gdb.base/term.exp: Ditto.
21335         * gdb.base/whatis.exp: Ditto.
21336         * gdb.c++/classes.exp: Ditto.
21337
21338 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
21339
21340         * gdb.base/callfuncs.exp: Fix indentation.
21341
21342         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21343         suppress_flag has been set.
21344         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21345         target feature.
21346
21347 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21348
21349         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21350         the testcase.
21351
21352         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21353         set_debug_traps() and breakpoint().
21354         * gdb.c++/misc.cc (main): Ditto.
21355         * gdb.c++/templates.cc (main): Ditto.
21356         * gdb.c++/virtfunc.cc (main): Ditto.
21357
21358 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
21359
21360         * lib/gdb.exp(gdb_step_for_stub): New function.
21361         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21362         exists, reload the executable and do a "continue" instead of
21363         doing a jump.
21364         (runto_main): Use gdb_step_for_stub.
21365
21366         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21367         tests to have unique names.
21368         * gdb.base/callfuncs.exp: Ditto.
21369         * gdb.base/commands.exp: Ditto.
21370         * gdb.base/default.exp: Ditto.
21371         * gdb.base/help.exp: Ditto.
21372         * gdb.base/list.exp: Ditto.
21373         * gdb.base/opaque.exp: Ditto.
21374         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21375         similar tests.
21376
21377         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21378         * gdb.c++/cplusfuncs.cc: Ditto.
21379         * gdb.c++/virtfunc.cc: Ditto.
21380
21381         * config/monitor.exp: Keep track of the last file we saw, rather
21382         than trying to get the info from gdb.
21383
21384         * gdb.fortran/types.exp: Move comment to previous line.
21385
21386 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
21387
21388         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21389         target mode.
21390
21391 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
21392
21393         From Bob Manson:
21394         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21395         string from GDB when it connects.
21396
21397         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21398
21399 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21400
21401         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21402         if we can't get a debug format from GDB (we may be testing an
21403         older GDB). Use a 10 second timeout when checking for the format.
21404
21405         * gdb.stabs/weird.exp: Fix quoting.
21406
21407         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21408
21409 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21410
21411         * config/arm-ice.exp: New file.
21412
21413 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21414
21415         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21416         until it has been modified to work with the new testsuite.
21417
21418         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21419         testcase won't compile, cause all of the testcases in the file to
21420         fail instead.
21421
21422         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21423         (gdb_clear_suppressed): New procedure.
21424         (gdb_stop_suppressing_tests): Only clear suppress_flag if
21425         it contains a positive value.
21426
21427 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
21428
21429         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21430
21431         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21432
21433 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
21434
21435         * lib/gdb.exp (setup_xfail_format): New function.
21436         (get_debug_format): New function to get debug format.
21437         (debug_format): New global variable to hold last value set
21438         by get_debug_format.
21439         * gdb.base/list.exp: Call get_debug_format and expect some
21440         tests to fail for DWARF 1 and COFF formats.
21441         * gdb.c++/ptype.exp: Ditto.
21442         * gdb.c++/classes.exp: Ditto.
21443         * gdb.c++/cplusfuncs.exp: Ditto.
21444         * gdb.c++/inherit.exp: Ditto.
21445         * gdb.c++/templates.exp: Ditto.
21446         * gdb.c++/virtfunc.exp: Ditto.
21447
21448 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
21449
21450         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21451         host doesn't have a currently-open connection.
21452
21453         * config/sparclet.exp: Cleanups and fixes to make it generic for
21454         any gdb stub target. Handle cases where gdb doesn't respond when
21455         interrupted in a sane fashion.
21456
21457         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
21458         same thing in a totally different way.
21459
21460         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
21461         setting "timeout".
21462         (gdb_start): We set the global gdb_prompt variable in
21463         default_gdb_init now.
21464
21465 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
21466
21467         * gdb.base/printcmds.exp: Fix "check for floating addition"
21468         regexp to accept results within approx +/- .01 of exact value.
21469         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21470
21471 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21472
21473         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
21474         properly.
21475         (gdb_expect): Add optional timeout parameter, and add timeout
21476         value to various calls.
21477         (gdb_suppress_tests): Only give one warning message per group.
21478
21479 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
21480
21481         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
21482         global variables. Handle getting a value for $timeout more
21483         gracefully.
21484
21485 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21486
21487         * lib/gdb.exp: Close connection to remote host if gdb doesn't
21488         initialize.
21489         (default_gdb_init): New procedure; allow gdb_init to be overridden
21490         by a target configuration file.
21491         (gdb_expect): Pass the timeout to remote_expect.
21492
21493         * config/monitor.exp(gdb_load): Fix typo in regexp.
21494
21495 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21496
21497         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21498
21499 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21500
21501         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21502         here. Call gdb_target_exec before rebooting the target, to make
21503         sure the connection to the target is closed.
21504         (gdb_load): Pass the name of the executable to gdb_target_monitor.
21505         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21506         Also detect "Timeout reading from remote" error.
21507
21508         * config/gdbserver.exp: Pass the executable being loaded to
21509         gdb_target_monitor. Don't call gdb_file_cmd here; let
21510         gdb_target_monitor do it.
21511
21512         * gdb.disasm/hppa.exp: Don't use exec_output.
21513
21514 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
21515
21516         * gdb.base/list.exp: If we're debugging a non-native target,
21517         try to set the pc register to point to the start of the
21518         program before doing the first list command.
21519
21520         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21521         test_calls after restarting.
21522
21523         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21524         reloading.
21525
21526         * gdb.base/watchpoint.exp: Fix typo.
21527
21528         * gdb.base/setshow.exp: Check for use_gdb_stub.
21529
21530         * gdb.base/break.exp: Fix continue until exit test for the gdb
21531         stub case.
21532         * gdb.base/langs.exp: Ditto.
21533
21534         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21535         gdb_load_offset. If we weren't given a file to load, figure out
21536         what the current file is and use it.
21537
21538         * config/i386-bozo.exp: New file.
21539
21540 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
21541
21542         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21543         feature.
21544
21545         * config/proelf.exp: New entry.
21546
21547 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
21548
21549         * lib/gdb.exp: Remove spurious .* patterns at the beginning
21550         of regexps.
21551
21552         * gdb.base/watchpoint.exp: Don't run the test_stepping
21553         tests if gdb can't call functions on the target.
21554
21555         * gdb.base/setshow.exp: Don't run the set prompt tests if
21556         the board has gdb_prompt set.
21557
21558 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
21559
21560         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21561         * gdb.base/commands.exp: Likewise.
21562         * gdb.base/setshow.exp: Likewise.
21563
21564 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21565
21566         * config/monitor.exp(gdb_start): Look for gdb_prompt target
21567         feature.
21568
21569         * config/i960.exp: New file.
21570
21571 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21572
21573         * gdb.base/funcargs.exp: Check for gdb,short_int target
21574         feature instead of looking for explicit target triplets.
21575
21576 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
21577
21578         * gdb.base/printcmds.exp: add a couple more tests a la
21579         "p 123DEADBEEF", to check parse_number.
21580         * top.c: change "to enable to enable" to "to enable" in a couple
21581         of help strings.
21582
21583 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
21584
21585         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21586         on the mn10300.
21587
21588 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
21589
21590         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21591         where the test executable is run with explicit args.
21592         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21593
21594 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
21595
21596         * gdb.base/run.c: Use FAKEARGV to build test executable that
21597         does not require a command line arg, since most simulators
21598         don't currently support passing such an arg into the simulated
21599         program.
21600         * gdb.base/commands.exp: Change tests to insert the proper
21601         value as the arg to the first recursive factorial call.  Change
21602         compilation line to define FAKEARGV at compile time.
21603
21604 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
21605
21606         * gdb.base/recurse.exp: Enable these tests for the mn10300.
21607         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21608         function with watchpoint enabled" test.
21609
21610 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21611
21612         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21613         Don't call gdb_test when the command doesn't return to a gdb prompt.
21614
21615         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21616         "Tests restarted" messages.
21617
21618 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
21619
21620         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21621
21622 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
21623
21624         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21625         for INFO SYMBOL; add help tests for OVERLAY commands.
21626         * gdb.base/default.exp: add tests for INFO SYMBOL command;
21627         add tests for OVERLAY commands
21628         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21629         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21630         * gdb.base/sigall.c: add usestubs code frag
21631         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21632
21633 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
21634
21635         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21636         failures.
21637         (gdb_stop_suppressing_tests): Note that tests have restarted.
21638
21639 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21640
21641         * config/h8300.exp: New file.
21642
21643 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21644
21645         * gdb.base/setshow.exp: Check for the existence of a
21646         feature, not its value.
21647
21648 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
21649
21650         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21651
21652         * gdb.base/scope.exp: It's now init0(), not init().
21653
21654         * gdb.base/scope0.c: For now, change init() to be init0().
21655
21656         * config/monitor.exp: Use gdb_serial in preference to serial
21657         or netport.
21658
21659         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21660         and it's not already set.
21661
21662 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21663
21664         * gdb.base/setshow.exp: Only test the run command if the target
21665         isn't using a stub and if it supports argument passing.
21666
21667 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21668
21669         * config/udi.exp(gdb_start): Make sure UDICONF is set
21670         properly before starting gdb.
21671
21672 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
21673
21674         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21675         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21676         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21677
21678 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21679
21680         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21681         specialized code to reboot the board, use remote_reboot instead.
21682
21683         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21684
21685         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21686
21687         * config/monitor.exp: Make sure we disconnect from the target.
21688         Also, try a reboot/reload cycle instead of failing if the
21689         load fails.
21690
21691 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21692
21693         * gdb.base/default.exp: Don't set match_max.
21694         * gdb.base/help.exp: Ditto.
21695         * gdb.base/list.exp: Ditto.
21696         * gdb.base/signals.exp: Ditto.
21697
21698         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21699         set, use remote_ld to download the testcase instead of
21700         the GDB loader.
21701
21702 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21703
21704         * config/vr5000.exp: New file.
21705
21706         * config/monitor.exp(gdb_target_monitor): Add pattern for
21707         "Ending remote" to detect errors in connecting.
21708
21709         * gdb.base/setshow.exp: Add .* within auto language test.
21710
21711         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21712         target feature.
21713
21714         * config/monitor.exp(gdb_load): Check for a failure when loading,
21715         and reboot the board if necessary.
21716
21717         * gdb.base/setvar.exp(test_set): Handle multiple prints within
21718         a set of tests. Remove print.* from the patterns being checked.
21719
21720 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21721
21722         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21723         refer to gdb_spawn_id.
21724
21725         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21726         longer used.
21727         * config/sparclet.exp: Ditto.
21728         * config/sparclet-old.exp: Ditto.
21729         * config/slite.exp: Ditto.
21730         * config/sim.exp: Ditto.
21731         * gdb.base/funcargs.exp: Ditto.
21732
21733         * lib/gdb.exp:Remove references to gdb_spawn_id.
21734         (gdb_expect): Move to remote.exp.
21735
21736 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21737
21738         * config/monitor.exp: Detect the "Couldn't establish connection"
21739         message from GDB.
21740
21741 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
21742
21743         * gdb.base/bitfields.exp: Use runto instead of explicit
21744         gdb_run_cmd/gdb_expect sequences.
21745
21746         * gdb.base/break.exp(text_next_with_recursion): Add match for
21747         gdb_expect call.
21748
21749         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21750         We also need to handle the "A program is being debugged already"
21751         prompt from gdb. Use gdb_test to set the baud rate.
21752
21753         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21754         to 20000. Really. I mean it.
21755
21756 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21757
21758         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21759         fails. If suppress_flag is set, skip perror message about not
21760         being able to send to GDB.
21761         (send_gdb): If suppress_flag is set, don't try to send commands to
21762         GDB.
21763         (gdb_expect): If suppress_flag is set, always fail immediately.
21764         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21765         (gdb_init): Call gdb_stop_suppressing_tests.
21766         (default_gdb_exit): Ditto.
21767         (default_gdb_start): Ditto.
21768
21769         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21770         gdb_stop_suppressing_tests as appropriate.
21771         * gdb.base/break.exp: Ditto.
21772         * gdb.base/callfuncs.exp: Ditto.
21773         * gdb.base/commands.exp: Ditto.
21774         * gdb.base/exprs.exp: Ditto.
21775         * gdb.base/funcargs.exp: Ditto.
21776         * gdb.base/list.exp: Ditto.
21777         * gdb.base/recurse.exp: Ditto.
21778         * gdb.base/scope.exp:  Ditto.
21779         * gdb.base/structs.exp: Ditto.
21780         * gdb.c++/inherit.exp: Ditto.
21781
21782 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
21783
21784         * config/vr4300.exp: New file.
21785
21786         * gdb.*/*.exp: Call gdb_expect instead of expect.
21787
21788         * lib/gdb.exp(gdb_expect): New function.
21789
21790 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21791
21792         * lib/gdb.exp(gdb_init): New function.
21793
21794         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21795         for each individual variable set.
21796
21797         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21798         name.
21799
21800         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21801
21802         * gdb.base/scope.exp: Use gdb_test.
21803
21804         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21805         aborting; the testsuite driver will do that for us (see
21806         gdb_finish). Also, use gdb_test in a few more places.
21807
21808 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
21809
21810         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21811
21812 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
21813
21814         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21815         and "add_tests" are not at the same address.
21816
21817 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
21818
21819         * gdb.base/ptype.exp: Use gdb_test.
21820
21821 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
21822
21823         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21824         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21825         left in.  No longer expect them to fail.
21826
21827         * gdb.stabs/*.mt; Deleted, no longer used.
21828         * gdb.stabs/configure.in: Remove references to target makefile
21829         frags.
21830         * gdb.stabs/configure: Rebuilt.
21831
21832         * gdb.disasm/*.mt: Deleted, no longer used.
21833         * gdb.disasm/configure.in: Remove references to target makefile
21834         frags.  Use "sh3.s" as the unique filename for this directory.
21835         * gdb.disasm/configure: Rebuilt.
21836
21837         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21838         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21839         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21840
21841 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21842
21843         * config/udi.exp: Use mondfe,name instead of remote_host.
21844
21845 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
21846
21847         * gdb.base/watchpoint.exp: Don't expect a failure when calling
21848         a function with a watchpoint enabled on the mn10200.
21849
21850         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21851         before trying to create it!
21852
21853 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
21854
21855         * config/vx.exp: Use hostname instead of netport.
21856
21857         * config/vxworks.exp: New file.
21858
21859         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21860
21861         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21862         gdb before assuming everything worked. Send a ^C if a timeout
21863         occurs.
21864
21865         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21866         $gdb_spawn_id directly.
21867         (gdb_run_cmd): Try _start as well as start. Use the target feature
21868         gdb,start_symbol as the symbol to start from when jumping.
21869
21870 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
21871
21872         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21873         redundant) test.
21874
21875         * gdb.base/recurse.exp: Relax final value test for 'b' so that
21876         it doesn't lose for 16bit integer systems.
21877
21878 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
21879
21880         * gdb.fortran/types.exp: If the target doesn't support "double"
21881         data types, then expect "real" types to only be 4 bytes.
21882
21883         * gdb.c++/virtfunc.exp: Expect failure for virtual function
21884         call tests if the target doesn't support inferior function calls.
21885
21886         * gdb.base/printcmds.exp: Allow minor deviation in FP values
21887         in printf tests.
21888
21889 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
21890
21891         * gdb.base/help.exp: Disable "help set", "help show", and
21892         "help support".  Simplify regexp for "help stack".
21893
21894         * gdb.base/default.exp: Set match_max to 5000 and the timeout
21895         to 60 seconds.  Temporarily set match_max to 15000 around the
21896         "info copying" test.
21897
21898         * gdb.base/nodebug.exp: Don't try to do an inferior function
21899         call if the target doesn't support them.
21900         * gdb.base/printcmds.exp: Likewise.
21901         * gdb.base/setvar.exp: Likewise.
21902         * gdb.base/structs.exp: Likewise.
21903         * gdb.c++/templates.exp: Likewise.
21904         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
21905
21906         * gdb.base/recurse.exp: Enable for the mn10200.
21907
21908         * configure.in: Do configure gdb.stabs directory for *-*-elf
21909         targets.
21910         * configure: Rebuilt.
21911
21912         * gdb.base/break.exp: Check for gdb,noresults before testing
21913         exit status and/or results from the target.
21914         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21915         * lib/gdb.exp: Remove old (now bogus) initialization of
21916         noinferior, noargs, noresults and nosignals.
21917
21918 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21919
21920         * config/sh.exp: New file.
21921
21922         * config/slite.exp: Try to connect multiple times to the board
21923         before rebooting. Only send a "monitor run" if need_monitor_run
21924         is set.
21925
21926         * gdb.base/break.exp: Don't do the "stub continue" test if
21927         the target has gdb_stub set.
21928
21929         * gdb.base/callfuncs.exp: Increase the timeout.
21930
21931         * gdb.base/interrupt.exp: Don't even try to compile the testcase
21932         if the target has gdb,noinferiorio set.
21933
21934         * gdb.base/list.exp: Increase match_max to 10000 characters.
21935
21936         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21937
21938         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21939         target.
21940
21941         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21942
21943 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
21944
21945         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21946         trying to delete the copy of gdb. Catch the file delete so we
21947         don't die if the delete fails; also, the file should be copied to
21948         the host, not to the build.
21949
21950 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21951
21952         * lib/gdb.exp(gdb_test): Surround the result pattern with
21953         parenthesis in case it contains multiple regexps separated
21954         with |.
21955
21956         * gdb.base/watchpoint.exp: Use gdb_test.
21957         * gdb.base/default.exp: Ditto.
21958
21959 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21960
21961         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21962
21963         * gdb.base/scope.exp: Use gdb_test.
21964         * gdb.c++/classes.exp: Ditto.
21965         * gdb.c++/inherit.exp: Ditto.
21966
21967 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21968
21969         * gdb.base/crossload.exp: Don't use execute_anywhere, use
21970         remote_exec instead.
21971         * gdb.base/corefile.exp: Don't be ridiculous.
21972         * gdb.base/*.c: Add missing stub invocations.
21973
21974 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21975
21976         * config/slite.exp: Miscellaneous fixes.
21977
21978         * lib/gdb.exp: Fix runto.
21979
21980         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21981         the target.
21982
21983         * gdb.base/watchpoint.exp: Fix regexp.
21984
21985         * lib/gdb.exp(default_gdb_exit): Add a catch to the
21986         close and wait commands, as the descriptor may now be
21987         invalid. Always call "remote_close host".
21988
21989 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
21990
21991            Major rewrite for testsuite revision.
21992
21993         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21994         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21995         instead of relying on spawn_id to always contain a valid
21996         spawn id.
21997         (get_compiler_info): New procedure to build the ${binfile}.ci
21998         file, instead of replicating this in N different places.
21999         (gdb_compile): New procedure.
22000
22001         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
22002         appropriate arguments) instead of compile. Use gdb_test in a lot
22003         more places.  Use send_gdb instead of send. Always run gdb_start
22004         at the start of a testcase, as this is no longer done magically.
22005
22006         config/*-gdb.exp: Rename without the -gdb suffix.
22007
22008         config/mips.exp: Use remote_close instead of exit_remote_shell.
22009         config/monitor.exp: Use target_info instead of looking at
22010         baud, timeout, etc.
22011         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22012
22013 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22014
22015         * gdb.c++/templates.exp (test_ptype_of_templates),
22016         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22017         Update expect patterns for destructors and assignment operators
22018         to match corresponding c-typeprint.c changes.
22019         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
22020         to destructor breakpoint test, GDB should be able to set the
22021         destructor breakpoint without specifying arguments.
22022
22023 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
22024
22025         * gdb.threads/pthreads.exp: Change result for failure to compile due
22026         to lack of pthreads runtime support from an error to simply an
22027         unsupported test, per dejagnu standards.
22028
22029 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22030
22031         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
22032         where GDB exits to reduce pattern match time.
22033         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
22034
22035         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
22036
22037 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
22038
22039         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22040         * gdb.base/default.exp:   ditto.
22041         * gdb.base/nodebug.exp:   ditto.
22042         * gdb.base/printcmds.exp: ditto.
22043         * gdb.base/ptype.exp:     ditto.
22044         * gdb.base/setvar.exp:    ditto.
22045         * gdb.base/structs.exp:   ditto.
22046         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
22047
22048 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
22049
22050         * configure, */configure: Rebuild with autoconf 2.12.
22051
22052 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
22053
22054         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22055         use new i*86-pc-linux*-gnu quads.
22056         * gdb.base/corefile.exp: Ditto.
22057         * gdb.base/signals.exp: Ditto.
22058         * gdb.base/sigall.exp: Ditto.
22059         * gdb.base/interrupt.exp: Ditto.
22060
22061         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22062         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
22063         RedHat 4.0.
22064
22065         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22066         linux.  This allows the test case to at least compile on latest
22067         linux, but still not run due to missing the threads runtime library.
22068
22069 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22070
22071         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
22072         directory to search gdb directory. Accept and step over conditional
22073         stack alignment code. Consume $prompt in failure cases.
22074         Reset timeout to $oldtimeout instead of some arbitrary value.
22075         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
22076         timeout problems with infinite stack backtraces.
22077         * gdb.base/ptype.exp (ptype struct link, union tu_link):
22078         Accept function parameters for linkfunc member.
22079
22080 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
22081
22082         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22083         (CXXFLAGS): Remove, unreferenced.
22084         (B_OPTIONS): Add for -B options and add code to initialize with
22085         previous -B options and also add -B option to pick up cross compiled
22086         runtime.
22087         (TARGET_INCLUDES): Add for -I options and add code to initialize when
22088         doing cross compiles.
22089         (target_alias): Declare global.
22090         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
22091         to verify that gcc exists in build tree, and if so set CC to that
22092         gcc and to use B_OPTIONS and TARGET_INCLUDES.
22093
22094 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
22095
22096         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22097         ptype test for anonymous union.  Fixup testcase to match
22098         current gcc debug output.
22099
22100 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
22101
22102         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22103         force argument to an unsigned long type.
22104
22105 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
22106
22107         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22108         tests and anonymous union print/ptype tests.
22109         * gdb.base/list.exp (test_forward-search): Increase timeout by
22110         5 minutes for the "search extremely long line" case.
22111         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22112         completely optional and that the pass/fail messages use the command as
22113         the message if that third arg is a null string.
22114         (gdb_test_exact):  Arrange that a null string pattern means match a
22115         null string output rather than any output, which might include random
22116         errors.
22117         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22118         backtrace test.
22119         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22120         always failing and failure is now exposed by gdb.exp changes.
22121
22122 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
22123
22124         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22125         weren't being noted.
22126
22127 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22128
22129         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
22130         * gdb.stabs/weird.exp:  Remove v_comb xfails.
22131
22132 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
22133
22134         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22135                     list.exp scope.exp watchpoint.exp]
22136           Make all timeout error msgs explicitly say "(timeout)".
22137
22138 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
22139
22140         * config/monitor.exp: Increase download timeout to 1000 seconds.
22141
22142 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
22143
22144         * config/m32r.exp: Increase timeout to 120 seconds.
22145
22146 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
22147
22148         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22149         and accept older ordering as obsolescent gcc or gdb.
22150         * gdb.c++/templates.exp: Ditto.
22151         * gdb.c++/virtfunc.exp: Ditto.
22152
22153 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
22154
22155         * gdb.base/coremaker.c: Add code to mmap some data so we
22156         can check that it ends up in the core file.
22157         * gdb.base/corefile.exp: Add test to read mmapped data
22158         from core file.
22159
22160 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
22161
22162         * config/m32r.exp: New file.
22163
22164 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
22165
22166         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
22167         that cflags can contains -gstabs, and work correctly for other tests.
22168
22169 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
22170
22171         * gdb.base/setshow.exp: New file, tests show and set.
22172         * gdb.base/setshow.c:   New file, tests show and set.
22173         * gdb.base/help.exp: Add test for help set|show annotate.
22174         * gdb.base/default.exp: Add test for set|show annotate.
22175
22176 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
22177
22178         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
22179         errors unique.
22180         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
22181         explicitly.
22182
22183 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
22184
22185         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
22186         and width commands.  This is done elsewhere.
22187         * (gdb_start):  Don't call gdb_start_sim here.  That's already
22188         done in gdb_load.  This fixes lots of failures in default.exp.
22189
22190 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
22191
22192         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22193         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22194         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22195         in the same we we treat other failures (since it may be an expected
22196         condition), rather than as an error.
22197         * gdb.base/signals.exp (test_handle_all_print): Revert back to
22198         old test format.
22199
22200 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
22201
22202         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22203         (distclean maintainer-clean realclean): No need to remove files
22204         twice.  Nuke the duplicates.
22205         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
22206         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
22207         Remove config.h along with other config files.
22208
22209 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
22210
22211         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22212         "p func1 ()" and note that rests of tests are skipped.
22213         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
22214         setup_xfails for "print func2::coremaker_local".
22215         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22216         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22217         affected by the previous run test.
22218         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22219         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22220         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22221         "pass int powerset tuple" and "pass modeless int powerset tuple".
22222         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22223         "real write 4" and "real write 8".
22224         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
22225         setup_xfails for "print vs1 after tuple assign 2",
22226         "print \$i after tuple assign 2", and
22227         "print vs2 after tuple assign 2".
22228         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22229         meaningful error message and return -1 so the caller can
22230         suppress further tests and avoid a cascade of errors.
22231
22232 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
22233
22234         * gdb.base/a1-selftest.exp: Tweak tests to account for new
22235         format for printing version.
22236         * gdb.base/default.exp: Ditto.
22237         * gdb.base/interrupt.exp: Fix problem with cascade of
22238         errors if child process dies while calling a function.
22239
22240 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
22241
22242         * Makefile.in (VPATH): Add
22243         * Makefile.in (Makefile, config.status): Fix rules so things get
22244         remade when necessary.
22245
22246 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
22247
22248         * Makefile.in (just-check): Add path to sibling expect dir
22249         to environment variable specified by RPATH_ENVVAR.
22250
22251 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
22252
22253         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22254         (just-check): Add shared library paths for libstdc++, tk,
22255         tcl, bfd, and opcodes to the environment variable specified
22256         in RPATH_ENVVAR.
22257         * configure.in: Add support to recognize --enable-shared flag
22258         and generate correct value for RPATH_ENVVAR.
22259         * configure: Regenerated with autoconf.
22260
22261 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
22262
22263         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22264         include all osf versions.
22265         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22266         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
22267         when target is linux.  When failing to build pthreads test
22268         executable, give more meaningful message.
22269         * gdb.threads/pthreads.c: Hpux also uses old definition of second
22270         arg for pthread_create.
22271
22272 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
22273
22274         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22275         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22276         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22277         and -lpthreads (everybody else).
22278         (test_startup): Fail gracefully if threads are not supported.
22279         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22280         "p/c array_index("abcdef",2)" when not gcc compiled.
22281         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22282         "print func2::coremaker_local" when not gcc compiled.
22283         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22284         "ptype on opaque struct tagname (statically)",
22285         "ptype on opaque struct tagname (dynamically) 1", and
22286         "ptype on opaque struct tagname (dynamically) 2"
22287         for not compiled with gcc.
22288         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22289         backtrace when compiled with gcc.
22290         * lib/gdb.exp (runto_main): Return result of "runto main" rather
22291         than always return success.
22292
22293 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
22294
22295         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22296
22297 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
22298
22299         * gdb.base/structs.exp: Undo last change.
22300
22301 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
22302
22303         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22304         encapsulate all the steps/nexts done during self test, starting
22305         at main, and makes them less sensitive to optimization issues.
22306         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22307         signal handler" test.
22308         * gdb.threads/pthreads.exp: Only run this for native configs.
22309         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22310         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22311         tests.
22312         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22313         for "runto test_calls(void)" test.
22314
22315 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
22316
22317         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22318         and don't expect address info in breakpoint confirmations.
22319
22320 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
22321
22322         * gdb.base/list.exp (test_forward_search): Increase timeout
22323         temporarily by 60 seconds for searching extremely long line,
22324         and then reset to old value when done.  Increase expect input
22325         buffer to 10000.
22326
22327 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
22328
22329         * gdb.base/list.exp (test_forward_search): Fix to handle very
22330         long source line without overflowing expect's input buffer.
22331
22332 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
22333
22334         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22335         "buffer_full".
22336
22337         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22338         "buffer_full".
22339
22340         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22341         "buffer_full".
22342
22343         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22344         "buffer_full".
22345
22346 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
22347
22348         * configure.in (configdirs): Add gdb.threads.
22349         * configure: Regenerated with autoconf.
22350         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22351         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22352         * gdb.threads/configure: New, generated with autoconf.
22353
22354 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
22355
22356         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22357
22358 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
22359
22360         * gdb.base/signals.exp (test_handle_all_print): Test separately for
22361         each signal's status in the output of "handle all print".
22362         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22363         the \r\n sequence that immediately precedes the gdb prompt.
22364         * gdb.base/a1-selftest.exp: Save original timeout and restore
22365         after test.
22366
22367 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
22368
22369         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22370         symbol.
22371
22372 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
22373
22374         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22375
22376 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
22377
22378         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22379         timeout by 60 seconds.
22380
22381 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
22382
22383         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22384         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22385         error return.
22386
22387 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
22388
22389         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22390         gdb initialization, also report how long dejagnu waited.  Restore
22391         old timeout before doing error return.  Temporarily increase timeout
22392         by 3 minutes to allow for slow startups over heavy NFS use.
22393
22394 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
22395
22396         * lib/gdb.exp: Report timeout value for verbosity level 2.
22397         * config/gdbserver.exp: Ditto.
22398         * config/hppro.exp: Ditto.
22399         * config/mips-gdb.exp: Ditto.
22400         * config/monitor.exp: Ditto.
22401         * config/netware.exp: Ditto.
22402         * config/sim-gdb.exp: Ditto.
22403         * config/slite-gdb.exp: Ditto.
22404         * config/udi-gdb.exp: Ditto.
22405         * config/unix-gdb.exp: Ditto.
22406         * config/vx-gdb.exp: Ditto.
22407         * gdb.base/a1-selftest.exp: Ditto.
22408         * gdb.base/a2-run.exp: Ditto.
22409         * gdb.base/break.exp: Ditto.
22410         * gdb.base/corefile.exp: Ditto.
22411         * gdb.base/list.exp: Ditto.
22412         * gdb.base/recurse.exp: Ditto.
22413         * gdb.base/scope.exp: Ditto.
22414         * gdb.base/signals.exp: Ditto.
22415
22416 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22417
22418         * gdb.threads/Makefile.in (docdir): Removed.
22419
22420 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22421
22422         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22423         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22424         @srcdir@.
22425         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22426         autoconf 2.5 or higher.
22427         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22428
22429 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
22430
22431         * configure: Regenerated.
22432         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22433         avoid name clashes with SunOS headers.
22434
22435 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
22436
22437         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22438
22439 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
22440
22441         * gdb.base/callfuncs.exp: Finish last change -- make sure the
22442         prototype information ends up in the compiler info file.
22443
22444 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
22445
22446         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22447         attempting to regenerate it.  Eliminate use of a temporary file
22448         and just generate the info file directly.  Source it immediately,
22449         for consistency of use.
22450         * gdb.base/corefile.exp: Ditto
22451         * gdb.base/exprs.exp: Ditto.
22452         * gdb.base/funcargs.exp: Ditto.
22453         * gdb.base/langs.exp: Ditto.
22454         * gdb.base/list.exp: Ditto.
22455         * gdb.base/mips_pro.exp: Ditto.
22456         * gdb.base/nodebug.exp: Ditto.
22457         * gdb.base/opaque.exp: Ditto.
22458         * gdb.base/ptype.exp: Ditto.
22459         * gdb.base/scope.exp: Ditto.
22460         * gdb.base/setvar.exp: Ditto.
22461         * gdb.base/signals.exp: Ditto.
22462         * gdb.base/whatis.exp: Ditto.
22463         * gdb.c++/templates.exp: Ditto.
22464         * gdb.c++/virtfunc.exp: Ditto.
22465         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
22466         whether or not to add -lstdc++ to the compile command line args.
22467
22468 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22469
22470         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
22471         it got fixed by the recent lookup_minimal_symbol_by_pc change.
22472         Increase timeout, a lot of single stepping might be needed if the
22473         target has no hardware watchpoints.
22474
22475 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
22476
22477         * gdb.base/break.exp: Ignore compiler warnings when compiling
22478         break.c.
22479         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22480         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
22481         from remote-sim.
22482         * gdb.base/exprs.exp: Add h8300 xfails.
22483         * gdb.base/funcargs.exp: Likewise.
22484         * gdb.base/nodebug.exp: Likewise.
22485         * gdb.base/printcmds.exp: Likewise.
22486         * gdb.base/ptype.exp: Likewise.
22487         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
22488         h8300 xfails.
22489         * gdb.base/return.exp: Handle float/double precision problems
22490         on the h8300.
22491         * gdb.base/funcargs.c: Explicitly make last constant argument to
22492         call_after_alloca_subr an unsigned long type.
22493         * gdb.base/return.c: Include stdio.h.
22494
22495 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
22496
22497         * config/abug.exp: New file for the older Motorola Bug monitor
22498         that runs on the mvme13x series VME boards.
22499         * config/monitor.exp: Use the new config array for target settings
22500         if they exist.
22501
22502 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
22503
22504         * sim-gdb.exp: Make the SH simulator allocate less space when
22505         it is targeted.
22506
22507 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
22508
22509         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22510         test.
22511
22512 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
22513
22514         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22515         "rs6000-*-*" for "list function in include file" when gcc compiled.
22516         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22517         for "p ctable1[120]".
22518         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22519         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22520         Remove setup_xfail for "rs6000-*-*" for
22521         "print 'scope0.c'::filelocal before run".
22522         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22523         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22524         since some compilers don't allow both options to be given
22525         on the same command line.  Create object file and move it.
22526
22527 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
22528
22529         * gdb.base/corefile.exp: Always regenerate the core file, since
22530         we always regenerate the coremaker program.  Detect special case
22531         where registers cannot be read from core file.
22532
22533 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
22534
22535         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22536         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22537         * gdb.c++/templates.exp: Only match on basename of file since
22538         some formats like xcoff don't encode directory information.
22539         * gdb.stabs/weird.exp: Use the right sed script for powerpc
22540         and rs6000 AIX xcoff targets.
22541         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22542         * configure: Regenerate.
22543         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22544         here, rather than in distclean.
22545
22546 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
22547
22548         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22549         defined, and use it to compile the test case with -O2.  The
22550         native compilation still uses no optimization.
22551         * gdb.base/mips_pro.c: Remove inline assembly code since
22552         it is compiled PIC by default, which results in assembler
22553         warnings that make the testsuite think the compilation
22554         was unsuccessful.
22555
22556 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
22557
22558         * gdb.c++/misc.exp: Add note to message for
22559         "print s.a for foo struct" that this is a known gcc 2.7.2
22560         and earlier bug.
22561
22562 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
22563
22564         * gdb.base/break.exp: Fix pattern for matching "Delete all
22565         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
22566         setup_xfail for deleting all breakpoints test.  Fix various
22567         timeout messages to include "(timeout)".
22568         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22569         for "p t_float_values2(3.14159,float_val2)".
22570         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22571         for "continue to call2g" when gcc compiled.
22572         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22573         "up to foo in langs.exp", "show language at foo in langs.exp",
22574         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22575         and "show language at fsub in langs.exp".
22576         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22577         "list line 1 in include file", "list message for lines past EOF",
22578         "list function in include file", "list list0.h:foo", and
22579         "list filename:function; nonexistant function".
22580         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22581         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22582         and "ptype t_char_array" to be for native cc only.
22583
22584 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
22585
22586         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22587         setup_xfail for "print coremaker_bss", "print coremaker_ro",
22588         "print func2::coremaker_local", and "backtrace in corefile.exp".
22589
22590 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
22591
22592         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22593         "bt in signals.exp".  This problem only appears when running
22594         the testsuite, and then only intermittently.
22595
22596 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
22597
22598         * gdb.base/return.exp (return_tests): Differentiate between
22599         two tests of continuing.
22600
22601 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
22602
22603         * */Makefile.in (maintainer-clean): Remove config.log.
22604         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22605         * gdb.c++/Makefile.in (PROGS): Add inherit.
22606         (clean): Remove *.ci.
22607
22608 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
22609
22610         * gdb.c++/misc.cc: Add test code from Mike Stump.
22611         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22612
22613 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
22614
22615         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22616         to "alpha-*-osf2*" and add comment.
22617         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22618         setup_xfail for "step over execarg initialization" and
22619         "step over corearg initialization".
22620         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22621         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22622         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22623         gcc compiled for "print coremaker_bss", "print coremaker_ro",
22624         "print func2::coremaker_local", and "backtrace in corefile.exp".
22625         * gdb.base/signals.exp: Build and source signals.ci.
22626         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22627         to be for gcc only.
22628         * lib/gdb.exp: Move verbose statements outside conditionals.
22629
22630 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22631
22632         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
22633         Feb 3 procfs.c change.
22634
22635 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
22636
22637         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22638
22639 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
22640
22641         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22642         from dejagnu's apparent default of 10 seconds, which gives random
22643         results when running the tests over NFS on moderately loaded systems.
22644         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22645
22646 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
22647
22648         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
22649         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22650         result reports.
22651
22652 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
22653
22654         * configure.in (CY_AC_PATH_TCLH): Remove.
22655         * configure: Regenerate.
22656
22657 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
22658
22659         * gdb.c++/Makefile.in (clean): Add missing '{'.
22660
22661 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
22662
22663         * lib/gdb.exp: Provide a default value for noinferior.
22664
22665         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22666         Load libgloss.exp.
22667
22668 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
22669
22670         * gdb.disasm/hppa.exp: Compile directly into an executable, use
22671         the executable, not the .o to run the tests from.
22672
22673 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
22674
22675         * gdb.base/break.exp: Don't test for program exit or exit status
22676         if $noresults if nonzero.
22677         * gdb.base/langs.exp: Likewise.
22678         * gdb.base/watchpoint.exp: Likewise.
22679
22680         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22681         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22682         trying to compile the testcase.
22683
22684 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
22685
22686         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22687         * gdb.base/signals.exp (continue to handler): Likewise.
22688
22689 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
22690
22691         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
22692
22693         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
22694
22695 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
22696
22697         * gdb.base/corefile.exp: Recognize "not found" as failure
22698         when trying to determine if a core file was generated.
22699         If no core file was generate the first time, try again without
22700         the ulimit -c to work around braindamaged shells.
22701
22702 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
22703
22704         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22705         [] tests with "test" and enclose string in quotes.
22706         * gdb.stabs/configure: Rebuild
22707
22708 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
22709
22710         Changes in sync with expect:
22711         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22712         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22713         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22714         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
22715         argument to AC_REQUIRE.
22716         * configure: Regenerated.
22717
22718 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
22719
22720         * gdb.base/corefile.exp: When generating a core, discard any
22721         error messages about ulimit not found and the "core dumped"
22722         message from the shell that runs the coredumper.
22723
22724 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
22725
22726         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22727
22728         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22729         which sed script to run.  Expect failure for v_comb test
22730         on PA targets too.
22731
22732 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
22733
22734         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22735         "print func2::coremaker_local" and for "backtrace in corefile.exp"
22736
22737 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
22738
22739         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22740         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22741         "sparc-sun-solaris*" xfails for "p v_comb".
22742         * lib/gdb.exp (default_gdb_start): Fix typo.
22743         * gdb.base/corefile.exp: Allow "Core was generated by ..."
22744         messages to not include the full program name that caused
22745         the core dump since some systems (such as solaris) apparently
22746         truncate this path to about 80 characters.
22747         When generating a core file first try increasing the core file
22748         size limit to unlimited since some systems may default it to
22749         zero, and it is harmless to try it.  Move the test for failing
22750         to generate a core file to where it will actually get executed.
22751         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22752         new gdb result from g++ debug info improvements and make old
22753         pattern obsolescent.  Also account for size_t differences
22754         (may be int or long).
22755         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22756         initialization before function call is placed in the delay slot
22757         and thus appears to be skipped over by commands such as "next".
22758
22759 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
22760
22761         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22762
22763 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
22764
22765         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22766         input source file; fix code to compile test to deal with this
22767         convention.
22768         * gdb.c++/*.exp: Likewise.
22769
22770 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
22771
22772         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22773         "bt in signals.exp".
22774
22775 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
22776
22777         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22778         "step over execarg initialization" and
22779         "step over corearg initialization".
22780
22781 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
22782
22783         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22784         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
22785
22786 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
22787
22788         From Rob Savoye  (rob@poseidon.cygnus.com)
22789         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22790         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22791         configure.in}, gdb.disasm/{Makefile.in, configure.in},
22792         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22793         configure.in}: Major reworking for autoconfig.
22794         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22795         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22796         New files.
22797         * config/unix-gdb.exp:  Make GDB global.
22798         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22799         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22800         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22801         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22802         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22803         term.exp, twice.exp, watchpoint.exp, whatis.exp},
22804         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22805         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22806         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22807         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22808         pr-8136.exp, result.exp, string.exp, tuples.exp},
22809         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22810         to returns as necessary, arrange for test to compile own testcase
22811         executable.
22812         * lib/gdb.exp: Changes for testsuite to compile own test cases.
22813
22814 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
22815
22816         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22817         clear_xfail at end of test which might not call either pass or fail.
22818         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22819         "backtrace through signal handler".
22820
22821 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22822
22823         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
22824         continuing from a job control stop signal.
22825         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
22826
22827 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
22828
22829         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22830         * gdb.base/corefile.exp: Likewise.
22831         * gdb.base/funcargs.exp: Likewise.
22832
22833 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
22834
22835         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
22836         * config/monitor.exp:  Add support for setting baud rate.
22837
22838 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
22839
22840         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22841         i*86-*-linux* xfails for "backtrace through signal handler".
22842         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22843         "print func2::coremaker_local".
22844         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22845         alpha-dec-osf2* xfail for
22846         "delete all breakpoints when none".
22847
22848 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
22849
22850         * gdb.base/break.exp: Change test that deletes all breakpoints
22851         when no user breakpoints are installed.  A post 4.15 change
22852         causes gdb to no longer prompt in this case.
22853
22854 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
22855
22856         * gdb.base/return.exp (return_tests):  Change xfail for test
22857         "correct value returned double test" to stop xfailing at
22858         Solaris 2.5.  Apparently the bug has been fixed.
22859
22860 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
22861
22862         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22863         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22864
22865 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
22866
22867         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22868         * gdb.disasm/hppa.s: Corresponding changes.
22869
22870 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
22871
22872         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22873         makefile fragment.
22874         * config/mt-hpux: Deleted.
22875
22876 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
22877
22878         * Many files: When warning about suppressed tests due to a
22879         nonexistant test binary, avoid incrementing the warning count.
22880
22881 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
22882
22883         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
22884
22885 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22886
22887         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
22888         "sparc-*-solaris2*".
22889
22890 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22891
22892         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
22893         Add global and local variables and initialize them.
22894         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
22895         by printing variables. Remove rs6000 and powerpc xfails, BFD now
22896         extracts the file name and terminating signal from the core file.
22897         * TODO:  Remove note about tests for correct mapping of corefile.
22898         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
22899         from optimizing it away.
22900         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
22901         handles common blocks.
22902
22903 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
22904
22905         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22906         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22907
22908 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
22909
22910         * Makefile.in (maintainer-clean): New target, synonym for
22911         realclean.
22912         * gdb.base/Makefile.in (maintainer-clean): Likewise.
22913         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22914         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22915         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22916         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22917         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22918
22919 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
22920
22921         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
22922         xfails when not gcc compiled for "print foo::funclocal".
22923         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22924         "print foo::funclocal at foo",
22925         "print 'scope1.c'::foo::funclocal at foo",
22926         "print foo::funclocal_bss at foo",
22927         "print 'scope1.c'::foo::funclocal_bss at foo",
22928         "print foo::funclocal_ro at foo",
22929         "print 'scope1.c'::foo::funclocal_ro at foo",
22930         "print bar::funclocal at foo" and
22931         "print 'scope1.c'::bar::funclocal at foo".
22932         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
22933         gcc compiled for "print foo::funclocal at bar".
22934         Expand all messages to ensure that they identify that
22935         the test is at bar().
22936         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22937         gcc compiled for:
22938         "ptype on opaque struct pointer (statically)",
22939         "ptype on opaque struct tagname (statically)",
22940         "ptype on opaque struct pointer (dynamically) 1",
22941         "ptype on opaque struct tagname (dynamically) 1",
22942         "ptype on opaque struct pointer (dynamically) 2" and
22943         "ptype on opaque struct tagname (dynamically) 2
22944         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22945         gcc compiled for:
22946         "p datalocal"
22947         "whatis datalocal",
22948         "ptype datalocal",
22949         "p bsslocal",
22950         "whatis bsslocal", and
22951         "ptype bsslocal".
22952         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22953         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22954         when not gcc compiled.
22955         * gdb.base/funcargs.exp (float_and_integral_args):  Add
22956         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22957         compiled.
22958         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
22959         "backtrace from call6a" when not gcc compiled.
22960         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22961         "backtrace from call7a" when not gcc compiled.
22962         * gdb.base/callfuncs.exp (do_function_calls):
22963         Add "hppa*-*-hpux*" xfail when not gcc compiled for
22964         "p t_char_array_values(char_array_val2,char_array_val1)",
22965         "p t_char_array_values(char_array_val1,char_array_val2)",
22966         "p t_char_array_values("carray 1","carray 2")",
22967         "p t_char_array_values("carray 1",char_array_val2)",
22968         "p t_char_array_values(char_array_val1,"carray 2")",
22969         "p sum_args(1,{2})",
22970         "p sum_args(2,{2,3})",
22971         "p sum_args(3,{2,3,4})",
22972         "p sum_args(4,{2,3,4,5})"
22973         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22974         "backtrace in corefile.exp" when not gcc compiled.
22975
22976 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22977
22978         * gdb.base/signals.exp:  Rewrite `handle all print' test as
22979         a procedure. Accept blanks or TABs as whitespace, increase
22980         timeout and expect input buffer size for the large output
22981         from the command. Remove "i*86-*-bsdi2.0" xfail.
22982
22983 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22984
22985         * gdb.base/setvar.exp:  Add new testcases for truncation when
22986         assigning invalid values to bitfields.
22987
22988 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
22989
22990         * gdb.base/callfuncs.exp (do_function_calls):  Remove
22991         mips-sgi-irix* xfail for
22992         "call inferior func with struct - returns char *"
22993         and fix test so that an optional (unsigned char *) cast is
22994         accepted in the result.
22995
22996 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
22997
22998         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
22999         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23000         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23001         * gdb.base/signals.exp: Remove duplicate "handle all print" test
23002         that accidentally got checked in.
23003
23004 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
23005
23006         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
23007         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23008         compiled test.
23009         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23010         Add mips-sgi-irix5* xfail for not gcc compiled.
23011         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
23012         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23013         "p top", "whatis top", "p middle", and "whatis middle".
23014         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23015         "whatis signed char" for not gcc compiled.
23016         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23017         "set variable signed char=-1 (-1)" and
23018         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23019         * gdb.base/funcargs.exp (float_and_integral_args):
23020         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23021         Add mips-sgi-irix* xfail when not gcc compiled for
23022         "continue to call2b".
23023         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23024         "continue to call2g".
23025         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23026         "backtrace from call6a"
23027         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23028         "backtrace from call7k".
23029         Add mips-sgi-irix5* xfail when not gcc compiled for
23030         "backtrace from call7a".
23031         (localvars_after_alloca):  Fix gdb_test cmds for
23032         "print * after runto ...".
23033         Remove rs6000-*-* xfails for
23034         "print i after runto localvars_after_alloca" and
23035         "print l after runto localvars_after_alloca"
23036         for all compilers.
23037         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
23038         when not compiled with gcc, for:
23039         "print signed char == (minus)",
23040         "print signed char != (minus)",
23041         "print signed char < (minus)",
23042         "print signed char > (minus)".
23043         * gdb.base/callfuncs.exp (do_function_calls):
23044         Add mips-sgi-irix* xfail, when compiled with native compiler, for
23045         "call inferior func with struct - returns char *".
23046         * gdb.base/return.exp (return_tests): Change xfail for
23047         "correct value returned double test" to include Solaris 2.4.
23048         * gdb.base/funcargs.exp (float_and_integral_args):
23049         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23050
23051 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23052
23053         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
23054         enumeration bitfields if compiling with GNU C.
23055         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
23056         to empty' prompt.
23057
23058 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
23059
23060         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23061         test for PRO targets.
23062
23063         * gdb.base/funcargs.exp: Avoid ever setting more than 8
23064         breakpoints in the inferior at any given time by making
23065         two groups of breakpoints for call2*, call6* and call7*
23066         tests.
23067
23068 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23069
23070         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
23071         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
23072         from optimizing it away.
23073         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
23074         "call inferior func with struct".
23075
23076 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
23077
23078         * configure.in: Only configure gdb.chill for particular targets.
23079
23080 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
23081
23082         * gdb.base/Makefile.in:  Add action to .c.o transformation
23083         rule that generates a .ci file for each .o file and remove
23084         explicit .c.o rules except for callfuncs.o.
23085         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
23086         generates a .ci file for each .o file and remove explicit
23087         .cc.o rules.
23088         (clean): Remove *.tmp *.ci files.
23089         (EXECUTABLES): Remove templ-info.exp.
23090         * gdb.base/compiler.c: New file.
23091         * gdb.c++/compiler.cc: New file
23092         * gdb.base/scope.exp: Source gdb.base/scope.ci.
23093         Change rs6000-*-* xfail for
23094         "print 'scope0.c'::filelocal_ro" and
23095         "print 'scope1.c'::filelocal" and
23096         "print 'scope1.c'::filelocal_bss" and
23097         "print 'scope1.c'::filelocal_ro" and
23098         "print 'scope1.c'::foo::funclocal" and
23099         "print 'scope1.c'::foo::funclocal_ro" and
23100         "print 'scope1.c'::bar::funclocal" and
23101         "print 'scope0.c'::filelocal_ro" and
23102         "print 'scope1.c'::filelocal at foo" and
23103         "print 'scope1.c'::filelocal_bss at foo" and
23104         "print 'scope1.c'::filelocal_ro at foo" and
23105         "print 'scope1.c'::foo::funclocal at foo" and
23106         "print 'scope1.c'::foo::funclocal_bss at foo" and
23107         "print 'scope1.c'::foo::funclocal_ro at foo" and
23108         "print 'scope1.c'::bar::funclocal at foo" and
23109         "print 'scope0.c'::filelocal_ro" and
23110         "print 'scope1.c'::filelocal" and
23111         "print 'scope1.c'::filelocal_bss" and
23112         "print 'scope1.c'::filelocal_ro" and
23113         "print 'scope1.c'::foo::funclocal" and
23114         "print 'scope1.c'::foo::funclocal_bss" and
23115         "print 'scope1.c'::foo::funclocal_ro" and
23116         "print 'scope1.c'::bar::funclocal" and
23117         "print 'scope1.c'::bar::funclocal_bss"
23118         to only be xfail'd when not compiled with gcc.
23119         Add rs6000-*-* xfail for
23120         "print 'scope0.c'::filelocal_bss before run"
23121         when compiled with gcc.
23122         (test_at_main): Add rs6000-*-* xfail for
23123         "print filelocal_ro in test_at_main"
23124         when compiled with gcc.
23125         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23126         Add rs6000-*-aix* xfail for
23127         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23128         "ptype t_char_array",  not compiled with gcc.
23129         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
23130         xfail for "list foo (in include file)" when gcc compiled.
23131         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23132         (integral_args): Add rs6000-*-* xfail for
23133         "run to call0a" if not compiled with gcc.
23134         (unsigned_integral_args): Add rs6000-*-* xfail for
23135         "run to call1a" if not compiled with gcc.
23136         (float_and_integral_args):  Add rs6000-*-* xfail for
23137         "run to call2a" if not compiled with gcc and for
23138         "continue to call2b" for any compiler.
23139         Add rs6000-*-* xfail to
23140         "print f1 after run to call2a" for gcc compiled.
23141         (discard_and_shuffle): Add rs6000-*-* xfail for
23142         "run to call6a".
23143         (shuffle_round_robin): Add rs6000-*-* xfail for
23144         "backtrace from call7a" if not compiled with gcc.
23145         Add rs6000-*-* xfail for
23146         "backtrace from call7b" if compiled with gcc.
23147         (call_after_alloca): Add rs6000-*-* xfail for
23148         "print c in call_after_alloca" and
23149         "print s in call_after_alloca" and
23150         "backtrace from call_after_alloca_subr"
23151         if not compiled with gcc.
23152         (localvars_in_indirect_call): Add rs6000-*-* xfail for
23153         "print c in localvars_in_indirect_call" and
23154         "print c in localvars_in_indirect_call" and
23155         "backtrace in indirectly called function" and
23156         "stepping into indirectly called function"
23157         if not compiled with gcc.
23158         (localvars_after_alloca): Add rs6000-*-* xfail for
23159         "print c after runto localvars_after_alloca" and
23160         "print s after runto localvars_after_alloca" and
23161         "print i after runto localvars_after_alloca" and
23162         "print l after runto localvars_after_alloca"
23163         for all compilers.
23164         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23165         than whatis-info.exp.
23166         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23167         than opaque-info.exp.
23168         Setup rs6000-*-* xfail for
23169         "ptype on opaque struct pointer (statically)" and
23170         "ptype on opaque struct pointer (dynamically)" when
23171         not compiled with gcc.
23172         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23173         rather than callf-info.exp.
23174         (do_function_calls):  Add clear_xfail for rs6000-*-* for
23175         "p t_float_values2(3.14159,float_val2)".  Seems to work
23176         fine there, both with xlc and gcc.  Need to find out what
23177         it is doing right and fix other platforms.
23178         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23179         "call inferior func with struct - returns int",
23180         "call inferior func with struct - returns long",
23181         "call inferior func with struct - returns float",
23182         "call inferior func with struct - returns double",
23183         "call inferior func with struct - returns char *",
23184         but only if not gcc compiled (presumes xlc compiled).
23185         Change rs6000-*-* xfails for
23186         "call inferior func with struct - returns char" and
23187         " call inferior func with struct -  returns short" to only
23188         xfail if not using gcc.
23189         (clean mostlyclean):  Remove *.ci and *.tmp files.
23190         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23191         than templ-info.exp.
23192         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
23193         Add rs6000-*-* xfail for "up to foo in langs.exp"
23194         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
23195         when not gcc compiled.
23196
23197 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23198
23199         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23200         * gdb.base/corefile.exp: Likewise.
23201         * gdb.base/list.exp: Likewise.
23202         * gdb.base/scope.exp: Likewise.
23203         * gdb.base/siganls.exp: Likewise.
23204
23205         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
23206         compiler output.
23207         * gdb.base/whatis.exp: Likewise.
23208
23209 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
23210
23211         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23212         failure (opcode table has been fixed to match reality).
23213
23214 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
23215
23216         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23217         "call inferior func with struct - returns char",
23218         "call inferior func with struct - returns short"
23219
23220         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23221         "print 'scope0.c'::filelocal at main",
23222         "print 'scope0.c'::filelocal_bss in test_at_main",
23223         "print 'scope0.c'::filelocal at foo",
23224         "print 'scope0.c'::filelocal_bss in test_at_foo",
23225         "print 'scope0.c'::filelocal at bar",
23226         "print 'scope0.c'::filelocal_bss in test_at_bar"
23227
23228         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23229         in source file 1".  This bug seems to have been fixed with both
23230         gcc and native cc (was native assembler bug?).
23231
23232 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
23233
23234         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23235         "backtrace through signal handler" to "i*86-*-sysv4*".
23236         * gdb.base/signals.exp: Add xfail for "'next' behaved as
23237         continue" case.  Add "known SVR4 bug" to fail message.
23238         Add "i*86-*-bsdi2.0" xfail for "handle all print".
23239         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23240         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23241         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23242         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23243         "up to foo in langs.exp", "show language at foo in
23244         langs.exp", "up to cppsub_ in langs.exp", "show
23245         language at cppsub_ in langs.exp", "up to fsub in
23246         langs.exp", and "show language at fsub in langs.exp".
23247         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23248         "bactrace in corefile.exp".
23249         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23250         "call inferior function with struct - returns float" and
23251         "call inferior function with struct - returns double".
23252
23253 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
23254
23255         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23256         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23257         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23258         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23259
23260 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
23261
23262         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23263         (or overriden) "CHILL" macro rather then bare "gcc".
23264         Also look for ../../gcc/xgcc since that is what we will
23265         actually need, not "Makefile".  Remove following assignment
23266         of CHILL to CHILL_FOR_TARGET because that results in
23267         recursive definition.
23268
23269 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
23270
23271         * gdb.base/corefile.exp:  Change xfail for backtrace in
23272         corefile.exp from linuxaout to all linux.
23273         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
23274         cases where we miss the breakpoint at the signal handler
23275         for some reason.  Setup xfail for linuxoldld/linuxaout and
23276         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
23277         hitting SIGURG breakpoint.
23278         * gdb.base/signals.exp:  Setup xfail for "next" acting like
23279         continue to add linuxoldld.  Setup xfail for all linux for
23280         "next to handler in signals_tests_1", "backtrace in
23281         signals_tests_1", "continue to func1", "pass SIGUSR1",
23282         and continue to handler".
23283
23284 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
23285
23286         * Update all FSF addresses except those in COPYING* files.
23287
23288 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
23289
23290         * gdb.base/a2-run.exp: Change messages to be more explicit about
23291         the status of args, and quote binfile in results.
23292
23293 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
23294
23295         * gdb.base/callfuncs.exp: Add tests for passing structs to
23296         inferior functions and return various types.
23297         * gdb.base/callfuncs.c: Add functions to receive a struct
23298         and return a member of the struct, in various types.
23299
23300 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23301
23302         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
23303
23304 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
23305
23306         * config/vxworks29k.exp: New file, sources vxworks.exp.
23307
23308 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23309
23310         * config/gdbremote.exp: New file.  Testing framework using
23311         gdbserver.
23312
23313 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
23314
23315         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23316         "call function when asleep" and "send end of file".
23317         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23318         for "backtrace in corefile.exp".
23319         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23320         for "backtrace through signal handler".
23321         * gdb.base/corefile.exp: Make sure we actually generate a core file
23322         before trying the core tests.  Some systems allow the user to suppress
23323         generation of core files and default to that (linux for example).
23324         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23325         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
23326
23327 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23328
23329         * gdb.threads: New directory with some crude multi-threaded
23330         gdb tests (step.exp and step2.exp).
23331         * config/mt-lynx (STEP_EXECUTABLE): Define.
23332         (THREADFLAGS): Define.
23333
23334 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
23335
23336         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23337
23338         * gdb.base/signals.exp: Disable whole file for lynx until
23339         further notice.
23340
23341         * gdb.base/signals.exp: xfail test where "next" acts like
23342         "continue" for lynx.
23343
23344         * gdb.base/interrupt.exp: xfail test for calling function while
23345         inferior is asleep for lynx.
23346
23347         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23348         than one cr-lf  after each command.
23349
23350 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23351
23352         * configure.in:  Reinstate setting of stabsdirs variable, fix
23353         typo in setting up configdirs for native builds.
23354
23355         * gdb.base/return.exp:  Fix typo in return double test.
23356         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
23357         compiler from optimizing them away.
23358
23359 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
23360
23361         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23362         sequences to be echo'd by gdb when using gdb_test.
23363         * gdb.chill/chexp.exp: Likewise.
23364         * gdb.fortran/exprs.exp: Likewise
23365
23366 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23367
23368         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23369         after the inferior gdb has started.
23370
23371         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23372         after each command.
23373         * gdb.base/funcargs.exp: Likewise.
23374         * gdb.base/gdbvars.exp: Likewise.
23375         * gdb.base/interrupt.exp: Likewise.
23376         * gdb.base/list.exp: Likewise.
23377         * gdb.base/watchpoint.exp: Likewise.
23378         * gdb.c++/demangle.exp: Likewise.
23379         * gdb.c++/inherit.exp: Likewise.
23380         * gdb.chill/chexp.exp: Likewise.
23381         * gdb.fortran/exprs.exp: Likewise.
23382
23383         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23384         test if we can't handle IO to/from the inferior.
23385
23386         * gdb.c++/misc.exp: Always check for a program already being
23387         started after sending a "run" command to gdb.
23388
23389         * gdb.base/twice.exp: Start with a fresh gdb.
23390
23391         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23392         only depend on gdb's expression code, not the chill runtime.
23393
23394         * gdb.base/return.c: Put return values into variables so we
23395         can have gdb print them rather than depending on the program
23396         to print them.
23397         * gdb.base/return.exp: Corresponding changes.
23398
23399         * lib/gdb.exp: Provide default value for noinferiorio.
23400         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23401         the inferior.
23402
23403         * gdb.base/break.exp: Always check for a program already being
23404         started after sending a "run" command to gdb.
23405         (text_next_with_recursion): Don't check the output from the
23406         program's printf statement.  Instead just make sure the program
23407         exited.
23408
23409         * gdb.base/commands.exp: Protect tests which need arguments with
23410         $noargs conditionals.
23411
23412 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23413
23414         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
23415         of structure member arrays to match gdb/valops.c:value_addr change.
23416
23417 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
23418
23419         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23420         cases.
23421
23422 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
23423
23424         * configure.in (configdirs):  Remove gdb.chill from default list
23425         of subdirs and then add it back in only if doing a native build.
23426         The current chill compiler does not yet work in any cross build.
23427         * Revert all signal changes from Jul 6.
23428         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
23429         for sh-hms targets, allowing these tests to link, with no other
23430         changes.  Testing is suppressed by setting "nosignals" in site.exp.
23431
23432 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
23433
23434         * configure.in (signaldirs): Define and add to configdirs for all
23435         targets except some specific ones that are known to not support signals.
23436         Also clean up formatting.
23437         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
23438         (signals, sigall):  Remove rules to build.
23439         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23440         Moved to new gdb.signals directory.
23441         * gdb.signals: New test directory.
23442         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23443         signals.c signals.exp}:  New or moved files.
23444
23445 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
23446
23447         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23448
23449 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
23450
23451         * gdb.base/return.exp:  Xfail `return double' test failure
23452         on at least Solaris 2.3 and handle future/past versions on
23453         a case by case basis as appropriate.  Also update message
23454         to include i*86 failures.
23455
23456 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23457
23458         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23459
23460         * lib/gdb.exp: Fix comment which erroneously identified
23461         gdb_file_cmd as gdb_load (the 19 May change was in fact to
23462         gdb_file_cmd not gdb_load).
23463         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23464
23465         * gdb.base/setvar.exp: Make test names consistent between pass and
23466         fail cases.  Use gdb_test more.
23467
23468 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23469
23470         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23471
23472 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23473
23474         * gdb.base/help.exp:  Fix expected help string for `show commands'.
23475
23476 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
23477
23478         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23479
23480         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23481         of a text section.
23482
23483 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
23484
23485         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
23486         that loop eventually terminates.  Fix Connection refused logic so
23487         that testsuite will expire nicely.
23488
23489 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
23490
23491         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23492         config/rom68k.exp:  New tcl glue for the appropriate monitors.
23493         These all just end up calling monitor.exp.
23494         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
23495         refused' by retrying.  Cleanup some timeout issues.
23496         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
23497         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
23498         callers don't have to set/restore global timeout variable.
23499
23500         * The following set of changes centralizes management of the global
23501         timeout variable.  This way, it can be set in one target dependent
23502         place instead of dozens of places scattered throughout the test suite.
23503         If you need to lengthen a timeout, then you should either set timeout
23504         in one of the config/{target}.exp files, or multiply it by a factor.
23505         Setting it to an absolute value is always going to lose for some
23506         targets.
23507         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
23508         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
23509         * gdb.base/funcargs.exp:  Don't set timeout.
23510         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
23511         * gdb.base/printcmds.exp (test_print_string_constants
23512         test_print_array_constants):  Don't set timeout.
23513         * gdb.base/ptype.exp:  Don't set timeout.
23514         * gdb.base/recurse.exp:  Don't set timeout.
23515         * gdb.base/return.exp:  Don't set timeout.
23516         * gdb.base/watchpoint.exp:  Don't set timeout.
23517         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
23518         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
23519
23520 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
23521
23522         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23523
23524 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23525
23526         * lib/gdb.exp: Disable chill tests for irix5.
23527
23528 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23529
23530         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
23531         each test pass or fail.
23532
23533 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23534
23535         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23536         xlc not gcc.
23537
23538 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
23539
23540         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
23541
23542 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
23543
23544         * config/est.exp:  Fix copyright and comments.  Remove dead code.
23545         Use targetname, serialport and baud variables instead of fixed
23546         constants.
23547         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
23548         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
23549
23550 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23551
23552         * gdb.base/watchpoint.exp: Don't run
23553         test_watchpoint_triggered_in_syscall for sunos.
23554
23555 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23556
23557         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23558         they don't seem to exist.  Do include stdio.h.
23559
23560 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23561
23562         * gdb.base/a1-selftest.exp: Add alpha xfail.
23563
23564 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23565
23566         * gdb.base/watchpoint.c (main): Prompt before calling read().
23567         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23568         Revise accordingly.  Remove cruft about sending "123" several
23569         times, until it gets noticed.  Clean up the "print buf[0]" stuff
23570         so that it passes or fails, and waits for prompts in the usual way.
23571
23572 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23573
23574         * gdb.base/recurse.exp: Fix comment.
23575
23576         * TODO: Remove item about printing variables in nodebug.exp.  Add
23577         item about enabling tests which are only run on some targets.
23578
23579         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23580         fail, make test names unique, use new gdb_test convention
23581         regarding pattern, use gdb_test more, etc.).
23582
23583         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23584         fail, make test names unique, etc.).
23585
23586 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23587
23588         * gdb.base/nodebug.c:  Change return type of top and middle to
23589         short.
23590         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
23591         are fixed by the recent mdebugread.c changes. Allow `short ()'
23592         as type for top and middle.
23593
23594 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23595
23596         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
23597         nearly as I can tell, the whole thing was an accident in Stu's
23598         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23599         to replace a send/expect pair with gdb_test, but ended up only
23600         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
23601         of 30 Mar 1995 took care of it, but left this vestigial comment
23602         which I am now nuking.
23603
23604 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23605
23606         * gdb.base/break.exp: Look for different line number for
23607         breakpoint at main depending on usestubs.
23608
23609 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23610
23611         * gdb.base/list.exp:  Adjust some alternate expect patterns to
23612         match recent list0.c change. Add alternate expect pattern for
23613         output from `list default lines around main' for optimizing
23614         compilers.
23615
23616 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23617
23618         * lib/gdb.exp: If nosignals is not set, set it to 0.
23619
23620 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
23621
23622         * config/slite-gdb.exp: Responds to load symbol table prompt.
23623         * gdb.base/break.exp: Adjust line number, fix rerun.
23624         * gdb.base/langs0.c: Add #ifdef usestubs.
23625
23626 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
23627
23628         * gdb.base/list.exp: Adjust line contents after adding new lines in
23629         list0.c. Also fix a syntax error.
23630
23631         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23632         * gdb.base/break.exp: ditto.
23633         * gdb.base/list.exp: ditto.
23634         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23635         * gdb.base/run.c: ditto.
23636         * gdb.base/list0.c: ditto.
23637         * gdb.base/funcargs.c: ditto.
23638
23639 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
23640
23641         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
23642         $targetname, $serialport and $baud instead of hardwired variables.
23643         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
23644         target doesn't support signals.
23645
23646 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
23647
23648         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23649
23650 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23651
23652         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
23653         Don't rely on the value of an auto variable before it has been
23654         initialized.  Use gdb_test more.
23655
23656 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23657
23658         * lib/gdb.exp (default_gdb_version): A version number must start
23659         with a digit, but other than that contains all characters up to
23660         the first whitespace character.
23661
23662 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23663
23664         * gdb.base/commands.exp (breakpoint_command_test): New tests.
23665
23666 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23667
23668         * gdb.c++/*.exp: Warn if executable does not exist.  The original
23669         reason for skipping the warning was that configure.in sometimes
23670         intentionally skipped building the executables but the tcl code
23671         had no way of knowing.  That (a) was always bogus with respect to
23672         error handling, (b) is no longer true (right now there is no way
23673         to skip C++ tests).
23674
23675         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23676
23677 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23678
23679         * gdb.base/list.exp:  Add expect patterns for output from
23680         SunPRO compiled executables.
23681         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
23682         types.
23683
23684 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23685
23686         * gdb.base/break.exp (test_next_with_recursion): Accept any line
23687         number (we are already testing that the correct source line text
23688         gets printed).
23689
23690         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
23691         that is what is intended, but something needed to be done to get
23692         sunos4 native working again.
23693
23694         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23695
23696         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23697         apparently went with a (very) old xfail.
23698
23699 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
23700
23701         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23702         runto_main is a proc in gdb.exp that will do 'step' for target use
23703         stubs.
23704         * gdb.base/exprs.exp: ditto.
23705         * gdb.base/interrupt.exp: ditto.
23706         * gdb.base/opaque.exp: ditto.
23707         * gdb.base/printcmds.exp: ditto.
23708         * gdb.base/ptype.exp: ditto.
23709         * gdb.base/scope.exp: ditto.
23710         * gdb.base/setvar.exp: ditto.
23711         * gdb.base/signals.exp: ditto.
23712         * gdb.base/twice.exp: ditto.
23713         * gdb.c++/classes.exp: ditto.
23714         * gdb.c++/inherit.exp: ditto.
23715         * gdb.c++/templates.exp: ditto.
23716         * gdb.base/break.exp: no run and hit main for stubs. Change line
23717         numbers for breakpoints and info breakpoint.
23718         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23719         breakpoint().
23720         * gdb.base/callfuncs.c: ditto.
23721         * gdb.base/exprs: ditto.
23722         * gdb.base/interrupt.c: ditto.
23723         * gdb.base/opaque0.c: ditto.
23724         * gdb.base/printcmds.c: ditto.
23725         * gdb.base/ptype.c: ditto.
23726         * gdb.base/scope0.c: ditto.
23727         * gdb.base/setvar.c: ditto.
23728         * gdb.base/signals.c: ditto.
23729         * gdb.base/twice.c: ditto.
23730         * gdb.c++/misc.cc: ditto.
23731         * gdb.c++/templates.cc: ditto.
23732
23733 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23734
23735         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23736
23737         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23738         somewhere between `read' and `main.c'.  I'm pretty sure the
23739         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23740         and it isn't particularly useful.
23741
23742         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
23743
23744 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23745
23746         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23747
23748 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
23749
23750         * config/mt-slite: add LIBS and -nostdlib.
23751         * config/slite-gdb.exp: add this new file to support sparclite target.
23752
23753 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
23754
23755         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23756
23757         * gdb.base/a2-run.exp: Change argument to istarget from
23758         "*-*-vxworks" to "*-*-vxworks*".
23759         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23760
23761 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
23762
23763         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23764         will not runto main but do a 'step' to step out of breakpoint().
23765         * config/mt-slite: add -Dusestubs.
23766
23767 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23768
23769         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23770         instead of just @.
23771
23772         * gdb.base/signals.exp: Add test for "handle all print".
23773         * TODO: Remove "handle all print".  Also remove item about
23774         checking copyright date (I don't like the idea of a spurious FAIL
23775         based on when we run the tests).
23776
23777         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
23778         for SunOS4 (reason for failure not investigated).  Remove
23779         redundant test for $binfile.
23780
23781         * gdb.base/nodebug.c (array_index): Call malloc.
23782
23783         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23784
23785 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
23786
23787         * gdb.base/recurse.exp: Update gdb_test invocation to use new
23788         conventions and slightly simplify the matching regexp.
23789
23790 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23791
23792         * gdb.base/break.exp: Update gdb_test invocation to use new
23793         convention.
23794
23795         * lib/gdb.exp: If noargs is not set, set it to 0.
23796
23797         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
23798         tests unique.
23799
23800         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23801
23802 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23803
23804         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23805         one argument of type "<non-float parameter>".
23806
23807 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
23808
23809         * config/rom68k.exp:  New file to support Motorola IDP board.
23810         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
23811         * gdb.base/break.c:  Change things around so that this program
23812         doesn't depend upon args.  This is necessary to make remote
23813         targets work (in general, they can't take args).
23814         * gdb.base/break.exp:  Don't try to send args to program.  Don't
23815         expect output.  Also, replace lots of code with gdb_test.
23816
23817 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23818
23819         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23820         printing of '\'' (which is what the comment says we are testing,
23821         even though we were not), not '''.
23822         (test_integer_literals_rejected): Test that printing ''' is an error.
23823
23824         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23825         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23826         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23827         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23828         Use gdb_test not test_print_accept.
23829         * lib/gdb.exp: Remove test_print_accept.
23830
23831         * gdb.base/signals.exp (signal_tests_1): Make pass message
23832         consistent with fail message.
23833
23834         * gdb.base/whatis.exp: Remove xfails for printing char vs.
23835         unsigned char; the bug (PR 1821) is fixed.
23836
23837         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23838
23839         * gdb.base/scope.exp (test_at_localscopes): Call pass for
23840         successful tests--makes xfailing them work right.
23841
23842 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23843
23844         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23845         only \r\n, not .*.  The test can pass .* as the last thing in
23846         $pattern if that is what it wants.  In addition to providing this
23847         flexibility, this change should speed up pattern matching in cases
23848         where the pattern already ended with .* (there were a number of
23849         them).  This change also helps catch bad patterns--in the old
23850         scheme the typo "char \*" instead of "char \\*" would pass.  Now
23851         it is caught.
23852         * Many .exp files: Update callers.
23853
23854         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
23855         clearer and does not spuriously match multiple ('s.  Likewise for
23856         ) and *.
23857
23858         * gdb.base/nodebug.exp: Test ability to call a function and pass
23859         it a string (even with no debugging info).
23860
23861         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23862         "p '\'", which is the same as "p ''" once tcl gets done with
23863         quoting, to "p '\\'", which I suspect is what is intended (one
23864         backslash gets sent to GDB).
23865
23866         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23867
23868 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23869
23870         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
23871         1817) was fixed literally years ago.
23872
23873 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23874
23875         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
23876         test, it causes stepping out of call_after_alloca_subr with
23877         optimizing compilers.
23878         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
23879         fails.
23880
23881         * gdb.c++/templates.exp:  Source templ-info.exp only if
23882         the templates executable exists.
23883
23884         * gdb.c++/misc.cc (class Contains_static_instance,
23885         class Contains_nested_static_instance),
23886         gdb.c++/classes.exp (test_static_members):  Test printing of
23887         a class that contains a static instance of the class.
23888
23889 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23890
23891         * gdb.base/langs2.c (cppsub_): Don't prototype.
23892         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23893         only, I believe).
23894
23895 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23896
23897         * lib/gdb.exp (skip_chill_tests): New procedure.
23898
23899         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23900
23901 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
23902
23903         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23904         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
23905
23906 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23907
23908         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23909
23910         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23911         disassemble 8, not 16, instructions for part 4.
23912
23913         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
23914         support the latter anymore.
23915
23916         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23917         -DNO_PROTOTYPES.
23918         * gdb.base/callfuncs.c: Control use of prototypes based on
23919         NO_PROTOTYPES, not __STDC__.
23920         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23921         t_float_values2 tests if prototypes in use.
23922
23923         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23924         t_double_values):  When checking differences against DELTA, check
23925         that difference is within the range (-DELTA,DELTA), not just
23926         (-infinity,DELTA).
23927
23928 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
23929
23930         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23931         'file' command firts, then 'target', then 'load', this is due to gdb
23932         target set up.
23933         * config/mips-gdb.exp: Fix a couple regular exp bugs.
23934
23935 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
23936
23937         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23938         FP load/store variants.
23939         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23940
23941 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23942
23943         * gdb.base/term.exp: Do not give a warning if not native, it is
23944         not an abnormal condition.
23945
23946 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
23947
23948         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23949         t_char_array".
23950
23951 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23952
23953         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23954         are getting the version number.
23955
23956         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23957         if not native, it is not an abnormal condition.
23958
23959 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23960
23961         * lib/gdb.exp: Just use "file exists", rather than undocumented
23962         dejagnu procedure "findfile".
23963
23964 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23965
23966         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23967           (LDFLAGS): Set to -Xlinker -Ur.
23968
23969         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23970           Removed, these values are set by lib/gdb.exp.
23971
23972         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23973
23974 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23975
23976         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23977           of replicating gdb startup code.
23978
23979         * config/mt-vxworks (LDFLAGS): Set to -r.
23980           (CFLAGS_FOR_TARGET): Removed.
23981
23982         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23983           (gdb) and gdb for vxworks uses (vxgdb).
23984
23985         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23986           executable is not in the tree and host != target, use sed and
23987           program_transform_name to determine the gdb name used by the
23988           target.
23989
23990         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23991           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23992
23993 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23994
23995         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23996         floats, chars, and shorts where there are ANSI-style function
23997         definitions.
23998
23999         * gdb.base/langs.exp, gdb.base/langs*: New test.
24000         * gdb.base/Makefile.in: Build it.
24001         * TODO: Remove item about checking that C names don't get C++
24002         demangling applied; this test tests it.
24003
24004 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24005
24006         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24007         went with the const70 xfail.  The xfail went away a year ago.
24008
24009         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24010
24011         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
24012         for hp300.
24013
24014         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24015
24016         * gdb.base/a1-selftest.exp: Don't run on hp300.
24017
24018 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24019
24020         * Makefile.in (site.exp): Set host_alias and target_alias as well
24021         as host_triplet and target_triplet.
24022
24023 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24024
24025         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24026
24027         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24028         places as other ecoff systems).
24029
24030         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24031         ultrix.
24032
24033 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24034
24035         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24036         remove them.
24037         * gdb.base/nodebug.exp: Accept "function" in addition to "text
24038         variable and "variable" in addition to "data variable".
24039         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24040
24041         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24042         2.
24043         * gdb.base/list1.c (long_line): Add additional statement at start
24044         of function.
24045         * gdb.base/list.exp (test_forward_search): Update line number to
24046         reflect new statement.
24047
24048 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24049
24050         * gdb.base/signals.exp:  Reinitialize searched source directories
24051         after gdb_start call.
24052
24053 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
24054
24055         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24056         * gdb.stabs/Makefile.in: Likewise.
24057
24058         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24059         change.  Instead split the tests into smaller pieces.
24060         * gdb.disasm/hppa.s: Corresponding changes.
24061
24062 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24063
24064         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24065         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
24066
24067         * gdb.base/funcargs.exp: Modify many tests so that every test
24068         either passes or fails.  Make some test names unique.
24069
24070 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24071
24072         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24073         Call stty to set interrupt character.
24074
24075         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24076         for HP assembler versus GNU assembler based on actual behavior of
24077         $(CC), rather than assuming that $(AS) is always the GNU assembler.
24078
24079         * TODO: Suggest a few more stepping tests.
24080
24081 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
24082
24083         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24084         restart GDB for h8300 after a continue.
24085         (return): Add pattern to match a29k-udi behavior.
24086         * gdb.base/nodebug.exp: Remove obsolete comment.
24087         * gdb.base/regs.exp: New file, testing of register displays.
24088         * gdb.base/return.exp: Fix typo in reference to $objdir.
24089         * gdb.base/whatis.exp: Always start with a fresh GDB.
24090
24091 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24092
24093         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24094         higher, these tests generate a lot of output.
24095
24096 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24097
24098         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
24099         code following the catch silently ignored some errors; without the
24100         catch they should be thrown like any other tcl error.  Also, the
24101         catch used "" instead of {} which meant all the callers who wanted
24102         to include one of the characters "[]$ had to quote it an extra time.
24103         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24104         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24105         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24106         Remove extra quoting.
24107
24108 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
24109
24110         * gdb.base/commands.exp: Make test names unique; every test either
24111         passes or fails.  Update some comments.
24112
24113         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24114
24115 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24116
24117         The following fixes a FAIL caused by the fact that the alpha stabs
24118         configuration didn't use the ".if alpha" code in weird.def.
24119         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24120         bit pointer, so the 32 bit version works even on the alpha.
24121         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24122         Remove the stuff which allowed us to have separate versions for
24123         alpha and everything else.
24124
24125         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24126         regexp which "info func operator\[\](" is supposed to match.  Fix
24127         string to send to GDB.  Note that GDB still doesn't work right.  Add a
24128         new test for "info func .perator\[\](" which GDB does handle correctly.
24129
24130         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24131
24132 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24133
24134         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24135         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24136         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24137         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24138         it makes the tests harder to understand and confuses test-o-matic.
24139         The preferred style is that each test provides a PASS or a FAIL,
24140         and has a unique message (e.g. "continue #54" not just "continue")
24141         which is the same for the pass and the fail.
24142         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24143         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24144         to lib/gdb.exp.
24145         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
24146         prt_accept which was basically the same thing.  Likewise for
24147         test_print_reject and prt_reject.
24148         * lib/gdb.exp (test_print_reject): Add some more error message
24149         patterns to match from the former printcmds.exp (prt_reject).
24150         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24151         One defect of the passcount stuff is that some of it failed to
24152         report XPASS where appropriate.
24153         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24154         stuff before and after arg in expected pattern.
24155         (test_paddr_operator_functions): Re-do test without print_addr_of;
24156         this is the only test which seems to want extra stuff there.
24157
24158 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24159
24160         * gdb.base/nodebug.exp: Update new tests to reflect improved
24161         wording of gdb output.
24162
24163         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24164         and "ptype" work on variables in files compiled without -g.
24165         Replaces commented out "maint print msymbol" tests.
24166
24167 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24168
24169         * gdb.base/setvar.c (dummy): Call malloc.
24170
24171         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24172         losing with the irix4 sed.
24173
24174         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24175         ALRM" on irix4.
24176
24177 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24178
24179         * TODO: Remove items about corefile.exp testing new exec-file and
24180         backtrace; both are now done.  Add items about printing enums.
24181
24182 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24183
24184         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24185         "get signal $thissig" test fails.
24186
24187         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24188
24189 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24190
24191         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24192         compiler warning with dec alpha compiler.
24193
24194         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24195         extra \n from gdb_test call (this explains why the prompt test
24196         that I removed yesterday was there).
24197         (user_defined_command_test): Remove extra \n and prompt test.
24198
24199         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24200         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24201         doesn't exist.
24202         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24203         Also remove alpha workaround, which turns out to be because
24204         SIGABRT == SIGLOST.
24205
24206         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24207
24208         * gdb.base/help.exp: Don't test "help show".
24209
24210 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24211
24212         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24213         "set print address" is on.
24214         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24215         pass prompt to gdb_test; gdb_test already looks for the prompt.
24216
24217         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24218
24219         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
24220         was a vestige of the manual TESTSTRATEGY, and the purpose of it
24221         was to make sure that gdb can read a core file.  But (a) the "read
24222         the corefile" part didn't make it to a1-selftest.exp, we just
24223         delete the corefile after creating it, and (b) we test reading
24224         corefiles in corefile.exp anyway.  Also, this test left around a
24225         xgdb process on Solaris.
24226
24227         * gdb.base/corefile.exp: Also test backtrace.
24228
24229 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
24230
24231         * gdb.base/commands.exp: Test a simple user defined command with
24232         arguments and if/while statements; verify the full user command is
24233         printed by "show user".
24234
24235         * gdb.base/commands.exp: Test if/while commands as part of a
24236         breakpoint command list; verify they appear in breakpoint
24237         information.
24238
24239 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24240
24241         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24242         than by dividing by zero.
24243
24244 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
24245
24246         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24247         performing an inferior call with watchpoints enabled.
24248         * gdb.base/watchpoint.c (main): Delete second unnecessary read
24249         call.
24250
24251 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24252
24253         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24254         of "file" command.
24255
24256         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24257         Add additional pattern for when "int operator int(void);" appears
24258         in a different order.
24259
24260 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24261
24262         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24263
24264         * gdb.base/help.exp: Replace most of docstrings for "info signals"
24265         and "signal" with ".*".
24266
24267 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24268
24269         * TODO: Add note about "handle all nostop".
24270
24271         * gdb.base/{sigall.c, sigall.exp}: New test.
24272         * gdb.base/Makefile.in: Add it.
24273
24274 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
24275
24276         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24277         when invoking GDB, suppresses any windowing interface.
24278
24279 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
24280
24281         * config/sim-gdb: New file, simulator testing support.
24282
24283 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
24284
24285         * gdb.base/interrupt.exp: Test calling func1 twice.
24286
24287 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
24288
24289         * gdb.base/list.exp (test_forward_search): Set timeout higher
24290         when we'll be getting lots of output from gdb.
24291
24292         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24293         "init_malloc" to after the expect statement.  Run it if that
24294         regexp is taken, but also for two others which happen if source
24295         cannot be found.
24296
24297 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24298
24299         * gdb.base/printcmds.exp: New test, for printing register before
24300         program is running.
24301
24302 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24303
24304         * gdb.base/list.exp:  Correct some alternate expect patterns
24305         to reflect changes in list1.c.
24306
24307 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24308
24309         * TODO: Add item regarding large frames.
24310
24311         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24312
24313         * TODO: Remove item about enabling return.exp; it
24314         is enabled.  Suggest a few more "return" tests.
24315
24316 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24317
24318         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
24319         anonymous unions.
24320
24321 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24322
24323         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24324         and pr-5646.o, so "make" is the same as "make all", not "make
24325         pr-4975.o".
24326
24327 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
24328
24329         * gdb.base/list.exp: Adjust expectations to reflect changes in
24330         list1.c.
24331         (test_forward_search): New test proc.
24332         * gdb.base/list1.c (long_line): New function, has long source line.
24333
24334 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
24335
24336         * gdb.base/a1-selftest.exp: Change initial stepping to know about
24337         additional line of code that was added.
24338
24339 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
24340
24341         * gdb.disasm/hppa.s: Break the large branching tests into smaller
24342         tests so as not to overflow expect's input buffers.
24343         * gdb.disasm/hppa.exp: Corresponding changes.
24344
24345 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24346
24347         Beginnings of template debugging tests.
24348         * gdb.c++/templ-info.cc:  New file to test for template
24349         debugging capability of the compiler.
24350         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
24351         templ-info.cc.
24352         * gdb.c++/templates.cc:  Add explicit template instantiations
24353         to enable compiling with -fno-implicit-templates. Add destructor
24354         and 'value' method to T5 class for template tests.
24355         * gdb.c++/templates.exp:  Add testcases for printing of template
24356         types, setting breakpoints on template methods and calling a
24357         template method.
24358
24359 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
24360
24361         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24362         branch target since some assemblers (gas-2.5)  may emit a
24363         relocation for the branch instead of resolving it in the
24364         assembler.
24365
24366 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24367
24368         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
24369         through signal handler.
24370
24371 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24372
24373         * configure.in (*-*-netware): Use config/mt-netware.
24374
24375         * config/mt-netware: New file.
24376         * config/mt-i386-netware: Removed, separate configs for different
24377           netware architectures are no longer needed now that we have
24378           --with-headers.
24379
24380 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24381
24382         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
24383         by the recent changes to use ANSI C arithmetic conversions.
24384
24385 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24386
24387         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24388         bug involving using inferior_pid to figure out whether to select a
24389         frame.
24390
24391 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
24392
24393         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24394         match the current disassembler output.
24395
24396 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
24397
24398         * gdb.fortran/exprs.exp: Expect VOID instead of void.
24399         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24400         types, expect "int" as type of integer values (for now).
24401
24402 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
24403
24404         * gdb.base/commands.exp: New tests for if/while commands.
24405
24406 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24407
24408         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
24409         by .*, since hex values have different syntax in Chill mode.
24410
24411 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24412
24413         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
24414         linefeed from expect pattern for repeated types with indices > 9.
24415
24416 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
24417
24418         First part of Fortran test suite.
24419         * gdb.fortran: New directory.
24420         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24421
24422 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24423
24424         * gdb.base/default.exp:  Update expect pattern for load command
24425         without arguments.
24426
24427 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
24428
24429         * configure.in: Change i386 to i[345]86.
24430         * gdb.base/configure.in: Likewise.
24431         * gdb.c++/configure.in: Likewise.
24432         * gdb.chill/configure.in: Likewise.
24433
24434 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
24435
24436         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24437         patterns, since that is not a valid context for comments.
24438
24439 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
24440
24441         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24442         repeated types and repeated types with indices > 9.
24443
24444 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
24445
24446         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24447         2417; old bug has been fixed.
24448
24449 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
24450
24451         * gdb.base/interrupt.exp: When trying to wake up the inferior,
24452         send the newline ourselves instead of assuming gdb_test will do
24453         so when passed an empty input string.
24454
24455         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24456         stabs testcode.
24457
24458 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24459
24460         * lib/gdb.exp (gdb_test): Don't send anything if the first
24461           argument is an empty string.  This makes cases where we want to
24462           match output that is already in expect's buffers (for example,
24463           matching a breakpoint after gdb_run_cmd has been called) work
24464           reliably.
24465
24466 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24467
24468         * config/netware.exp: New file.
24469
24470 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24471
24472         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24473           the -B and -L prefixes so we can find the debugging stub.
24474
24475         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24476           there and we are using the gcc from the tree.
24477
24478         * gdb.base/types.c: Removed.
24479
24480         * gdb.base/configure.in: Look for makefile fragments in ../config.
24481           Recognize i386-*-netware.
24482         * gdb.c++/configure.in: Likewise.
24483
24484 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24485
24486         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
24487         the correct TCL syntax.
24488
24489 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24490
24491         * gdb.base/opaque.exp: use runto instead of messing around with
24492           breakpoints.  Simplify by using gdb_test.
24493
24494         * gdb.base/bitfields.exp: restart between tests on netware targets
24495           because breakpoints aren't relocated after target death.  Run
24496           processes to completion.
24497
24498         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24499
24500 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
24501
24502         * Makefile.in:  Remove extra tabs that confuse some versions
24503         of "make".  Use the newly built gdb to test with by default,
24504         rather than the first one in the tester's search path.
24505
24506 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
24507
24508         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24509
24510         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24511         condition help.
24512
24513 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24514
24515         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24516
24517         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24518           running.
24519         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24520         * gdb.base/funcargs.exp: Likewise.
24521
24522         * gdb.base/bitfields.exp: Simplify by using gdb_test.
24523         * gdb.base/funcargs.exp: Likewise.
24524
24525         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24526           message is "".
24527
24528 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24529
24530         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24531           return,signals,twice}.exp: Handle non-existant binaries
24532           consistantly.
24533
24534         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24535         * gdb.base/Makefile.in: Don't try to generate a core dump, we
24536           might testing a cross development system.
24537
24538 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24539
24540         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24541           runtest script is relative to ${srcdir}, not ${rootdir}.
24542
24543 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
24544
24545         * gdb.base/signals.exp: Allow for optionality of breakpoint
24546         address.
24547
24548 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24549
24550         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24551
24552 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24553
24554         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24555           for size_t definition.
24556         * gdb.c++/templates.cc: Likewise
24557
24558         * config/mt-i386-netware: New file.
24559
24560         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24561           defined.
24562
24563         * gdb.base/Makefile.in: Added support for systems that name core
24564           files by appending "core" to the program name.
24565         * gdb.base/a1-selftest.exp: Likewise.
24566
24567 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24568
24569         * gdb.base/return.exp:  Add comment and message for `return double'
24570         test failure on Sparc Solaris.
24571
24572 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
24573
24574         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24575
24576 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24577
24578         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
24579         from optimizing them away.
24580         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
24581         patterns to include default constructors and assignment operators,
24582         to match gcc versions beyond 2.5.8. Accept any cplus demangling
24583         character in the output of the virtual base pointer.
24584
24585 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24586
24587         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
24588         expression match in print_addr_of to avoid unintented matches.
24589         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
24590         versions up to 2.5.8.
24591
24592 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24593
24594         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
24595         included file to run under newer versions of expect.
24596         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
24597         consecutive >'s in templates to accomodate recent cplus-dem.c change.
24598         Remove xfail for the virtual table of BDDHookV.
24599
24600 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
24601
24602         * lib/gdb.exp (string_to_regexp): Set a default result.
24603         (default_gdb_start): Fix misleading message.
24604
24605 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
24606
24607         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24608         Remove all CC, etc definitions.
24609         * config/mt-hpux: New file.
24610         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24611         (CFLAGS, LDFLAGS): Define.
24612         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24613
24614         * Makefile.in (site.exp): Don't insert host_os, etc.
24615         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24616         (distclean): Check existence of subdir.
24617         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24618         * gdb.base/Makefile.in: General cleanup and simplification.
24619         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24620         to build executables.   Use default rule to build .o files.
24621         (EXPECT, RUNTEST, CC): Fix relative pathname.
24622         (site.exp): Don't insert host_os, etc.
24623         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24624         and/or SIGUSR1 defined.
24625         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24626         * gdb.c++/Makefile.in: General cleanup and simplification.
24627         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24628         (CFLAGS): Remove.
24629         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24630
24631 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
24632
24633         * gdb.base/recurse.exp: Misc changes to get tests running again
24634         after Kung's changes to the watchpoint code.
24635         * gdb.base/watchpoint.exp: Likewise.
24636
24637 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24638
24639         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
24640
24641 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
24642
24643         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24644         * lib/gdb.exp (default_gdb_start): Define.
24645         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24646         gdb.base/funcargs.exp, gdb.base/opaque.exp,
24647         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24648         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24649         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24650         Don't call gdb_target_udi in between tests.
24651
24652 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24653
24654         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24655         (which was basically just a local version of the same thing).  In
24656         addition to avoiding duplication, gdb_test_exact is faster.
24657         * lib/gdb.exp (gdb_test_exact): Fix typo.
24658
24659         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24660         don't give an error.
24661
24662         * gdb.base/term.exp: Call delete_breakpoints before starting.
24663
24664         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24665         (t10): Add comment.
24666
24667 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24668
24669         Reorganization of the GDB Test Suite.
24670
24671         * gdb.base: New directory, contains all the basic tests.
24672         * gdb.c++: New directory, tests specific to C++.
24673         * gdb.chill: New directory, tests specific to Chill.
24674         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24675         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24676         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24677         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24678         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24679         t30-31 to chill).
24680         * */gdbme.*: Rename to match appropriate expect scripts.
24681         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24682         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24683         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24684         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24685         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24686         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24687         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24688         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24689         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24690         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24691         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24692         gdb.c++/virtfunc.cc: New names of C++ files.
24693         * gdb.chill/chillvars.ch: New name of Chill file.
24694         * gdb.base/configure.in, gdb.c++/configure.in,
24695         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24696         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24697         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24698         * configure.in (configdirs): Update to reflect directory changes.
24699         (target_abbrev): No longer define for any configuration.
24700         * Makefile.in: Cosmetic improvements to header comments.
24701
24702 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24703
24704         Various changes to gdb.t31:
24705
24706         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
24707         * gdbme.ch:  Make all key-words and predefineds be upper-case.
24708         * chillvars.exp:  Expect key-words and predefinds in upper-case.
24709
24710         * chillvars.exp:  Use gdb_test_exact many places.
24711         Change expected output for arrays (which now includes index labels).
24712
24713         * pr-5020.exp, gdme.ch (module PR_5020):
24714         New test, for PR-5020.
24715
24716 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24717
24718         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
24719         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
24720
24721 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24722
24723         * Makefile.in:  Fix bit-rot in definitions of CHILL,
24724         CHILL_FOR_TARGET and Chill_LIB.
24725         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
24726         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
24727         CHILL, and CHILL_LIB.
24728
24729 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
24730
24731         * Revert the previous changes.  Please see Rob's directory
24732           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24733
24734 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24735
24736         * Makefile.in, configure.in, config/mips-gdb.exp,
24737           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24738           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24739           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24740           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24741           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24742           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24743           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24744           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24745           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24746           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24747           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24748           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24749           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24750           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24751           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
24752           changes from 94Q1.
24753
24754 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
24755
24756         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24757           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24758           Rob's new testing fragments.
24759
24760 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
24761
24762         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24763           lib/gdb.exp: Replace error proc calls with perror.
24764
24765 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24766
24767         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24768         version also, match on casted version strings, and match on
24769         gdb startup case where the line numbers might be messed up.
24770
24771 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
24772
24773         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24774           (CFLAGS): Delete it from here.
24775
24776 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
24777
24778         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24779
24780 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
24781
24782         * Makefile.in (RUNTEST): Default to just "runtest".
24783
24784 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24785
24786         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24787         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24788         the code has been restructured.
24789
24790 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24791
24792         * gdb.t00/default.exp (set write): Allow any number of \r and/or
24793         \n, not just one of each.
24794
24795         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24796         /bin/cc gives a warning if you do.
24797
24798 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
24799
24800         * gdb.t24/demangle.exp: change expect pattern of
24801         __t10ListS_link1ZUiRCUiPT0
24802
24803 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24804
24805         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24806         on local variables in recursive functions.
24807
24808         * gdb.t07/Makefile.in: Build the new test.
24809
24810 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24811
24812         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24813         directly.  Instead compare the return values from actual calls.
24814
24815 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24816
24817         * Makefile.in (check): Set TCL_LIBRARY for runtest.
24818
24819 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24820
24821         * From Peter Schauer with minor modifications.
24822         * gdb.t15/return.exp (return_tests): Handle targets where "return"
24823         stops in mid-line in the caller.  Add xfail for returning a float
24824         value on X86 targets.
24825
24826 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24827
24828         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24829         to avoid expect lossage.
24830         (fmem_LRbug_tests): Likewise.
24831         * gdb.disasm/hppa.s: Corresponding changes.
24832
24833         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24834         conditions to work with latest dejagnu/expect.
24835
24836         * gdb.t15/funcargs.exp (finish from indirect call): No longer
24837         expected to fail on the PA.
24838         (backtrace in call with trampolines): Explicitly require main
24839         to be frame #1 (no trampolines should show up in backtrace).
24840
24841         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24842         "continue -expect".
24843         * gdb.t06/break.exp: Likewise.
24844         * gdb.t07/watchpoint.exp: Likewise.
24845         * gdb.t13/bitfields.exp: Likewise.
24846         * gdb.t15/{funcargs,return}.exp: Likewise.
24847         * gdb.stabs/weird.exp: Likewise.
24848         * config/{mips,udi}-gdb.exp: Likewise.
24849
24850         * hppa.sed: Enclose comments within a sed command to avoid
24851         losing with the old OSF1 sed.
24852
24853 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24854
24855         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
24856         sequent dynix.
24857         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
24858         * gdb.t15/funcargs.exp:  Conditionally step again to really
24859         finish from marker_call_with_trampolines. Handle the case where
24860         the first step from within call_with_trampolines already steps
24861         us back to main.
24862         * gdb.t15/gdbme.c:  Add comment to closing brace of
24863         call_with_trampolines for funcargs.exp.
24864
24865 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24866
24867         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24868         Fix typo(s).
24869
24870 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24871
24872         * gdb.t07/gdbme.c: More code for watchpoint testing.
24873
24874         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24875         "Hardware watchpoint" throughout file.
24876         (test_watchpoint_triggered_in_syscall): New test.
24877         (test_complex_watchpoint): New test.
24878
24879 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24880
24881         * gdbme.c (call_with_trampolines): New function to try and step
24882         into.  Tests trampoline problems on the PA.
24883
24884         * funcargs.exp (localvars_in_indirect_call): No longer expect
24885         stepping into indirect call to fail on PAs.
24886         (test_stepping_over_trampolines): New test.
24887
24888 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24889
24890         * TODO: Add suggestions for static member function tests, and
24891         completion tests.
24892
24893 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24894
24895         * TODO: Add suggestions for "p/a" tests.
24896
24897         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24898         (default_gdb_exit): Replace all the hair with sending "quit" to
24899         the process with a simple close.
24900
24901 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24902
24903         * TODO: Add suggestions for shared library tests.
24904
24905 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24906
24907         * TODO: Add suggestions for x/s tests.
24908
24909 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24910
24911         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24912         "enable once", and "enable breakpoints once" with ".*".
24913
24914 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24915
24916         * TODO: Add suggestions about structure passing tests.
24917
24918 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24919
24920         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
24921         the primary1 test, use work around if __GNUC__ < 2.
24922         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
24923         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
24924         Test for bad output rather than waiting for timeout.  Issue
24925         second continue only if first continue failed.
24926
24927 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24928
24929         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24930         operator[] test with gdb_test because the old code didn't seem to
24931         be getting the quoting right with the new dejagnu.
24932
24933 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
24934
24935         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24936         one from the path.
24937         * Makefile.in: Use a fresh expect if there is one, use runtest
24938         from the src tree if there is one.
24939
24940 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24941
24942         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24943         next over recursive call.  Revise the tests from that point on
24944         (which had been skipped) to match GDB's actual (correct) output.
24945
24946         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24947         with next over a breakpoint whose condition is false.
24948
24949         * gdb.t00/help.exp: Comment out "help set print" tests just like
24950         (and for same reason as) "help set" test.
24951
24952 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24953
24954         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24955         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24956
24957 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24958
24959         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24960         necessary gdb_target_udi.
24961
24962         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24963
24964         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24965         1838 and 2417; they are fixed.
24966
24967         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24968         gdb.t03/ptype.exp (ptype structure, ptype union):
24969         Remove xfails; the test is looser than when the xfails were added.
24970
24971         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24972         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24973
24974         * gdb.t01/run.exp: Only run shell test if isnative.
24975
24976         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24977         since "run" automatically loads if necessary.  Call gdb_target_udi
24978         after the "file" since "file" kills any execution target.
24979
24980         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24981         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
24982         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24983         argument for UDI.
24984
24985 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24986
24987         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24988
24989         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24990
24991 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24992
24993         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24994         properly quoting regexps.  This makes the second argument to
24995         demangle a fixed string, which matches the callers, instead of a
24996         shell-style pattern which is what the previous implementation
24997         used.  Update some of the callers.
24998
24999 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25000
25001         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25002         (comib_nullified_tests): Fix typo.
25003         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25004         strings.  No longer expected to fail.
25005
25006         * gdb.disasm/hppa.s (addib_tests): Fix typo.
25007         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25008         strings.  No longer expected to fail.
25009
25010         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25011         string.  No longer expected to fail.
25012
25013 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25014
25015         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25016         No longer expected to fail.
25017
25018         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25019         string.  No longer expected to fail.
25020
25021 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25022
25023         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25024         only in the names (I probably got most of them).  I was even
25025         generous with some which differed in underscores in names, and
25026         probably missed a few, and I *still* was able to remove almost a
25027         third of the file with almost no impact on testsuite coverage.
25028
25029 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25030
25031         * gdb.t00/default.exp: Match udi_attach error message as well as
25032         the one from child_attach.
25033
25034         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25035
25036         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25037
25038         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25039         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25040
25041         * Move test with enums and partial symbols back to
25042         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25043         Reverts the change of 26 May 93.  Per today's change to
25044         stabs.texinfo, the behavior that weird.exp was expecting was
25045         unreasonable; what is important is that the compiler+gdb get
25046         things right, which happens with a recent gcc.  Also fix the test
25047         to deal with native compilers which put out the stab gdb can't
25048         deal with.
25049
25050 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25051
25052         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25053         in the names.  The main thing these accomplish is to slow things down.
25054         Many more such duplicates surely remain.
25055
25056         * gdb.t00/help.exp: Comment out "help support" test just like
25057         (and for same reason as) "help set" test.
25058
25059 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
25060
25061         * gdb.t06/break.exp:  Remove setup_xfails for
25062         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25063         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
25064         about known bug in gcc to include up through 2.5.8.
25065         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
25066         well as "_vb$".
25067         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25068         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25069         with latest gcc and gdb.
25070         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
25071         well as "_vb$".
25072
25073 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25074
25075         * configure.in (hppa*-*-*): Also configure and build stabs-only
25076         tests.
25077
25078 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25079
25080         * gdb.t10/hppa.mt: A makefile fragment for the PA.
25081         * gdb.t10/configure.in (hppa*-*-*): Use it.
25082
25083 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25084
25085         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
25086
25087 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25088
25089         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
25090         versions prior to 1.13.5.
25091
25092 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25093
25094         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25095         the prompt is at the start of a line.
25096
25097 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25098
25099         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25100         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
25101         in the copr tests now.
25102         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
25103         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
25104         expected to fail.
25105
25106 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25107
25108         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25109         gdb.t31/chillvars.exp, lib/gdb.exp:
25110         Tweak to run under either version of expect.
25111         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25112         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25113         * gdb.t11/list.exp: Remove extraneous whitespace.
25114
25115 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25116
25117         * gdb.t16/printcmds.exp (test_print_strings): Accept
25118         "(unsigned char *) " before the string.
25119
25120         * TODO: Add notes about printing of fancy types and GDB expressions.
25121
25122 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
25123
25124         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25125         * gdb.t06/configure.in: Don't try to compile signals test program
25126         if doing mips-idt-ecoff.
25127
25128 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25129
25130         * Most .exp files: Tweak to run under either version of expect.
25131
25132 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25133
25134         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
25135         xfails; I'm not sure why they are failing, but not because of PR 1806.
25136
25137 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25138
25139         * config/unix-gdb.exp: Remove gdb_unload cause it's already
25140         defined in lib/gdb.exp.
25141
25142 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25143
25144         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
25145         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25146         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
25147         have to be typeless.
25148
25149 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25150
25151         * TODO: Add suggestion for copyright year test.
25152
25153 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
25154
25155         * configure.in (*-*-lynxos*): Add stabs tests.
25156
25157 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
25158
25159         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25160         so insert a tab before any assembler directive in column zero.
25161
25162         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25163         stores.
25164         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25165         stores.
25166         (fpu_short_memory_tests): Likewise.
25167
25168 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25169
25170         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
25171         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
25172         .stabs directives in comments.
25173
25174 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25175
25176         * TODO: New file, describing tests we could write.
25177         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25178
25179 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25180
25181         * gdb.t06/signals.exp: Add kludge to force re-sync.
25182
25183         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25184         to xgdb instead of gdb, get out of gdb.
25185
25186 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
25187
25188         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25189         for info.
25190
25191 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
25192
25193         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25194         * gdb.stabs/configure.in (hppa*-*-*): Use it.
25195         * gdb.stabs/hppa.sed: New sed script for the PA.
25196
25197 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25198
25199         * gdb.stabs: Re-write weird.def and configuration to use sed
25200         instead of cpp.  sed is portable and POSIX; cpp is neither.
25201
25202 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25203
25204         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25205
25206 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25207
25208         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25209
25210 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25211
25212         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25213         "_vb$".
25214         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25215         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25216
25217 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25218
25219         * lib/gdb.exp: Comment out code which depends on non-existent
25220         `transform' procedure.
25221
25222 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25223
25224         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25225         * lib/gdb.exp: Transform tool name.
25226         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25227         1.1's new error handling system.
25228
25229 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25230
25231         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25232
25233 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25234
25235         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25236         They made pattern matching so slow that timeouts happened on
25237         heavily loaded systems.  Now any output from "show print" which
25238         gets us back to the GDB prompt is a PASS.
25239
25240 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
25241
25242         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
25243
25244 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25245
25246         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25247
25248         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25249         It is not from PR 3220.
25250
25251 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25252
25253         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25254         just started failing because they depended on the order the
25255         subcommands are presented, or exact docstring text.  This kind of
25256         test is a pain and has minimal benefit.
25257
25258 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25259
25260         * gdb.t09/corefile.exp: At end of test, use "core" command with
25261         no arguments.
25262
25263 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
25264
25265         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25266         17}/Makefile.in:  Make it possible to run the testsuite with Sun
25267         make and CC = cross gcc by adding explicit build rules for .o
25268         files.
25269
25270 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25271
25272         * gdb.t15/funcargs.exp: Don't put comments on same line as
25273         setup_xfail (@#$*%& tcl braindamage!).
25274
25275 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25276
25277         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25278
25279 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
25280
25281         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25282         * gdb.t20/inherit.exp: remove three dumplicate entries.
25283
25284 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25285
25286         * gdb.t06/break.exp: For "next over recursive call", fail on any
25287         incorrect output, not just on "factorial (value=2)".
25288
25289 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25290
25291         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
25292         working now. Add an xfail if accesing a bss variable causes
25293         a memory error if the target is not yet run.
25294
25295 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25296
25297         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25298         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25299         name of __st* demangling (2 strings).  Did Kung really get the
25300         more than 95 others right without testing them?
25301
25302 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
25303
25304         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25305
25306 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
25307
25308         * configure.in (configdirs): Add gdb.disasm
25309         * gdb.disasm: New directory for GDB disassembler tests.
25310         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25311
25312 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25313
25314         * gdb.t00/help.exp: Don't test "help set".
25315
25316         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25317         from within expect statements.  None of these happen anymore and
25318         they cause regressions to be silently unnoticed.
25319
25320         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25321         messages) about known failures with gcc cygnus-2.4.5-930417.
25322
25323         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25324         comp-info.exp so it gets built if it doesn't exist.
25325
25326         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25327         it is no longer used.
25328         * gdb.t13/comp-info.c: Removed.
25329
25330 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25331
25332         * gdb.t06/signals.exp: Add xfail for sun3.
25333
25334 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25335
25336         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25337         relevant because ^C doesn't get sent but failure can be reproduced
25338         interactively).
25339
25340 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25341
25342         * gdb.stabs/alpha.mt:  New configuration file for alpha.
25343         * gdb.stabs/configure.in:  Use it.
25344         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
25345         sharing with alpha.mt, redefine long to word via preprocessor.
25346         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
25347         for alpha.
25348         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
25349         native cc.
25350         * gdb.t00/teststrategy.exp:  Change expect string so that we
25351         consume the `(xgdb)' from the command echo and from the gdb prompt.
25352         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
25353         gdb currently compares all values as long, so this failure probably
25354         applies to any configuration where LONGEST is bigger than a target int.
25355         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
25356         with gcc.
25357         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
25358         to handle opaque pointers, gcc is.
25359         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
25360         as first argument. Include <sys/types.h> and change all operator
25361         new definitions to use size_t.
25362         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
25363         now that we use size_t.
25364
25365 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25366
25367         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
25368         a long or float array cast all array members to the same type.
25369         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
25370         with 64 bit longs.
25371         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
25372         on alpha.
25373         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
25374
25375 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25376
25377         * gdb.t24 (demangle.exp): Constructors of templates have names like
25378         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
25379         section 14.6 of the ARM.
25380
25381         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25382         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25383         accomplish little and slow down the testsuite.
25384
25385         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25386         Accept spaces various places.
25387
25388 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25389
25390         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25391         with watchpoint enabled.
25392
25393         * Makefile.in: Remove definition of CC and remove the second
25394         definition of CXX (the "CXX = gcc" one remains).  These definitions
25395         were causing backquotes to be expanded within backquotes, which
25396         doesn't work.
25397
25398 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
25399
25400         * gdb.t17/callfuncs.exp: Add "return 0" to end.
25401
25402 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25403
25404         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
25405         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
25406         by mips cc and contains no stabs entries.
25407
25408 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25409
25410         * config/vx-gdb.exp: Use fake device to load files rather than
25411         NFS.
25412         * lib/gdb.exp: New proc to do "file" command.
25413         * config/unix-gdb.exp: Use new "file" proc.
25414
25415 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25416
25417         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25418         Rework board rebooting slightly.
25419         (gdb_exit): Don't exit from the remote shell; there isn't one.
25420         * gdb.stabs/weird.exp: If a program is being debugged already,
25421         kill it.
25422         * gdb.t04/setvar.exp: Stop and restart gdb.
25423         * gdb.t05/expr.exp: Likewise.
25424         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25425         restart gdb and reload the program.
25426         * gdb.t08/opaque.exp: Likewise.
25427         * gdb.t12/scope.exp: Likewise.
25428         * gdb.t13/bitfields.exp: Likewise.
25429         * gdb.t15/funcargs.exp: Likewise.
25430         * gdb.t20/classes.exp: Likewise.
25431         * gdb.t03/ptype.exp: Increase timeout.
25432         * gdb.t16/printcmds.exp (test_print_string_constants,
25433         test_print_array_constants): Likewise.
25434         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25435         * gdb.t20/classes.exp (do_tests): Likewise.
25436         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25437
25438 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
25439
25440         * gdb.stabs: Renamed *wierd* to *weird*.
25441
25442 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25443
25444         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25445         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
25446
25447 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25448
25449         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25450         (do_tests): Remove xfail for whatis on one_var and two_var.
25451
25452 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25453
25454         * Makefile.in: Made cross building work better by adding
25455         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25456
25457 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25458
25459         * gdb.t15/{return.c,return.exp,Makefile.in}:
25460         New test, currently commented out.
25461
25462 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25463
25464         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25465         still running and removes the leftover named socket so GDb can do
25466         clean restarts.
25467
25468 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25469
25470         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25471         console, not GDB.
25472         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25473         cross testing works better with "make check"
25474         * config/unix-gdb: Use default procedures for exit and version.
25475         * config/vx-gdb.exp: Cleaned up and massaged back to working order
25476         with the newest VxWorks.
25477
25478 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25479
25480         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25481         old form.
25482
25483         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25484         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25485
25486         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25487
25488         * config/unix-gdb.exp: Remove this version of gdb_exit
25489         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25490         Rob says he'll look at it when he gets back to testing boards.
25491
25492 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
25493
25494         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
25495         an expected fail for certain ptype commands.
25496
25497         * gdb.t20/classes.exp:  Update expected results of "ptype class
25498         Base1" to account for the constructor that now appears in the type.
25499
25500 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
25501
25502         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
25503         disappeared from list.
25504         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
25505         "alldone" proc with call to cleanup and exit.
25506         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25507         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25508         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25509         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25510         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
25511         "alldone" proc with simple returns that suppress remaining
25512         tests.  The alldone proc went away many months ago.
25513
25514 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25515
25516         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25517
25518         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25519
25520 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25521
25522         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
25523         as vax gdb will display them.
25524
25525 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25526
25527         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25528         optimizers.
25529
25530         * scope.exp: Change "bad value for localval" messages so each one
25531         is unique.
25532
25533         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25534         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25535
25536         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25537
25538 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25539
25540         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25541         doesn't exist (due to optimization).
25542
25543 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25544
25545         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25546         contains \r because the filename is long.
25547
25548         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25549         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25550
25551 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25552
25553         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25554         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
25555         Ultrix.
25556         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
25557         int tests.
25558         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
25559
25560 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
25561
25562         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
25563
25564         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
25565         to match does not match the passing case but still matches the
25566         failing case.
25567
25568 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25569
25570         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25571
25572 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
25573
25574         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
25575         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25576         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25577         Remove various versions of gdb_exit.
25578         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
25579         gdb_exit.
25580         * config/unix-gdb.exp:  gdb_exit remains here, and should override
25581         the generic version, since it's doing a lot of wierd stuff that
25582         the other versions aren't.  FIXME, fold it in, or abandon this
25583         version.
25584
25585 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25586
25587         * gdb.t24/demangle.exp: Add tests for PR 3220.
25588
25589 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25590
25591         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25592
25593 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
25594
25595         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
25596         "i386-*-*".  Works for i486 as well.
25597
25598         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
25599         bug, and expand domain of xfail to all SVR4 systems, since the
25600         actual problem is likely to be in generic SVR4 /proc support.
25601
25602 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25603
25604         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25605
25606 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
25607
25608         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
25609         xfails for other systems.  Match a missing 'Continuing.' as an
25610         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25611
25612         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25613         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25614         Only issue warning for missing executables if -all option is used.
25615
25616         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
25617         file if -all option is used.  It's like an unpredictable XFAIL.
25618
25619 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25620
25621         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25622         for dynamically linked binaries.
25623
25624         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25625
25626 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25627
25628         * gdb.t20/inherit.exp: Change message for "print tagless struct"
25629         to state that this is a known bug in old versions of g++.
25630
25631 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25632
25633         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
25634         while waiting for `Continuing'.
25635
25636 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
25637
25638         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
25639         in text, data, and bss.
25640         * gdb.t10/nodebug.c:  Add local and global test variables for
25641         initialized and uninitialized data.
25642
25643 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25644
25645         * config/unix-gdb.exp (gdb_exit): Add "wait".
25646
25647 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25648
25649         * gdb.t06/signals.exp:  xfail the continue from the handler for all
25650         targets.
25651
25652         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
25653         function with watchpoints enabled, the i386 call dummy starts with
25654         a call.
25655
25656         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
25657         386 bsd names its corefiles.
25658
25659 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
25660
25661         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
25662         compilers don't grok it.
25663         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
25664         with small octal ints rather than character constants, which
25665         are signed and might not fit if first promoted to int.
25666
25667 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
25668
25669         * gdb.t09/Makefile.in (clean):  Remove corefile.
25670
25671 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25672
25673         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25674
25675 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25676                           and Jim Kingdon (kingdon@cygnus.com)
25677
25678         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25679         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
25680         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25681
25682 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25683
25684         * gdb.t17/interrupt.exp: Add xfail for hppa.
25685
25686 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25687
25688         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25689         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
25690         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
25691         to determine signed-ness of bitfields and use the result to setup
25692         the xfail.
25693         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
25694         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
25695         call line is reached if necessary.
25696
25697 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25698
25699         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25700
25701 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25702
25703         * gdb.t06/break.exp: Also test `clear' command.
25704
25705 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25706
25707         * gdb.t00/teststrategy.exp: Remove extra quote.
25708
25709         * gdb.t07/watchpoint.exp: Change xfail for calling function with
25710         watchpoint enabled to be for all non-68k machines.
25711
25712         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25713
25714 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25715
25716         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25717         targets use aout.mt instead of ecoff.mt as gas understands
25718         standard aout format.
25719
25720 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25721
25722         * lib/gdb.exp (runto): Don't insist that function we are running to
25723         was compiled with -g.
25724
25725         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25726
25727         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25728         to get back into the read system call.
25729         Accept leading newline in case where we woke it up.
25730
25731 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25732
25733         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
25734         to make the stabs test work on ecoff systems using gcc and -with-stabs.
25735         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
25736         enable ecoff configuration.
25737
25738 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25739
25740         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25741
25742 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25743
25744         * gdb.t16/printcmds.exp: Add another printf test.
25745
25746 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
25747
25748         * configure.in: If configured -with-stabs on any target, add
25749         stabsdirs to configdirs.
25750
25751 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25752
25753         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25754         fun" so pattern does not match the command itself.
25755
25756 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25757
25758         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25759
25760 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25761
25762         * gdb.t17/interrupt.exp: Test for more things.
25763
25764 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25765
25766         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25767         compiler arranges the code and line numbers.
25768
25769         * gdb.t17/interrupt.exp: Don't send \n after ^C.
25770
25771 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25772
25773         * gdb.t00/help.exp:  Increase expect input buffer size.
25774
25775 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25776
25777         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25778
25779         * gdb.t07/watchpoint.exp: Add xfail for hppa.
25780
25781         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25782
25783         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25784         [0-9]*, not just [0-9].
25785
25786 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25787
25788         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25789
25790         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25791
25792 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25793
25794         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25795
25796 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25797
25798         * gdb.t06/signals.c: Add xfails for sun3.
25799
25800         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25801
25802         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
25803         test_stepping tests.
25804
25805 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25806
25807         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25808
25809         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25810
25811         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25812         rather than actually putting it through cpp twice.
25813
25814         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25815
25816 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
25817
25818         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25819         no longer needed.
25820
25821 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25822
25823         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25824
25825         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25826         C++ features prints as "struct", make it a pass, not an xfail.
25827
25828 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25829
25830         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25831         Don't require VA to print as "class" rather than "struct".
25832
25833 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
25834
25835         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25836
25837 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25838
25839         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25840
25841 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25842
25843         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
25844         order.
25845
25846 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25847
25848         * gdb.t16/printcmds.exp: Add printf tests.
25849
25850         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25851
25852         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25853
25854 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
25855
25856         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
25857         pass counts, to counteract any existing or future setup_xfails.
25858
25859 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25860
25861         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25862         {BEGIN,END}_COMMON for common block instead of STAB.
25863         * gdb.stabs/wierd.exp: Add xfail for rs6000.
25864
25865         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25866         intp_var should be N_GSYM not N_LSYM.
25867         wierd-aout.S: Use a label for the value of the N_SO.
25868         wierd.def: Remove all backslashes.
25869         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25870
25871 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25872
25873         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25874         get the expected next to inheritance3.
25875
25876 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25877
25878         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25879         now that gcc-2.4 gets it right.
25880
25881 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25882
25883         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25884
25885         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25886         generating comp-info.exp which works for cross-compilation.
25887
25888 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
25889
25890         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
25891         "*-*-sysv4.*".
25892
25893 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
25894
25895         * gdb.t01/run.exp:  Start with a fresh gdb.
25896         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
25897         SVR4.x.
25898
25899 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
25900
25901         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25902         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25903         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25904         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
25905         things to remove.
25906
25907 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
25908
25909         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
25910         test cases from bug reports.
25911
25912 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
25913
25914         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
25915         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
25916           avoid spurious xfails.
25917         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
25918         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
25919         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
25920
25921 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
25922
25923         * gdb.t00/teststrategy.exp:  Rework to provide more useful
25924         description of each test, fix problem with systems that define
25925         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25926         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
25927         results for "next over recursive call" so timeouts aren't taken
25928         by error.
25929
25930 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25931
25932         * gdb.t12/scope.exp: Test printing of variables before run.
25933
25934         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25935         printed in wrong order due to sorting.
25936
25937 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
25938
25939         * gdb.t00/teststrategy.exp:  Fix expected results for printing
25940         user entered string constant.  Is array of char, prints with no
25941         address.
25942
25943         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
25944         commands.
25945         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
25946         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
25947         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
25948         of struct of char arrays.
25949         * gdb.t00/radix.exp:  New tests for radix commands.
25950
25951 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
25952
25953         * gdb.t16/printcmd.exp: Print a variable before running program
25954         (with xfail for AIX).
25955
25956 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25957
25958         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25959
25960         * gdb.t16/printcmd.exp: Don't print variables before running program.
25961
25962         * gdb.t06/break.exp: Don't require envp argument to main.
25963
25964         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25965
25966         * gdb.t02/whatis.exp, gdb.t11/list.exp:
25967         Add xfails for rs6000.
25968
25969         * gdb.t02/whatis.exp: Change other tests not to re-test something
25970         we already tested.
25971
25972         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25973         each type used has a variable of that type.
25974
25975 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
25976
25977         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25978
25979 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
25980
25981         * configure.in: change srctrigger to be a file, not a directory
25982
25983 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
25984
25985         * configure.in (mips-idt-ecoff*): Added trailing '*'.
25986
25987         * gdb.t11/list.exp: Fixed a couple of typos.
25988
25989 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
25990
25991         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
25992         is fixed and PR is closed.
25993         * gdb.t16 (gdbme.c):  Add simple test string variable.
25994         * gdb.t16 (printcmds.exp):  Add tests with simple test string
25995         variable, primarily for boundaries on "set print elements".
25996
25997 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
25998
25999         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26000         Make leading 0's optional and don't expect a tab in the middle
26001         of the number.
26002
26003         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26004
26005         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26006         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
26007         don't end command passed to gdb_test with newline.
26008
26009         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26010         signed keyword away, don't expect signed bitfields to be signed.
26011
26012         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26013         printing with only as many 1's as are in the field as well as printing
26014         with 32 1's (see comment).
26015
26016 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
26017
26018         * gdb.t00/default.exp:  Start with a fresh gdb.
26019         * configure.in (configdirs):  Remove gdb.t31 until the chill
26020         compiler works again.  It no longer is able to find chillrt0
26021         since it isn't in libchill.a anymore.
26022         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
26023         wierd.o, make more modular.
26024         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
26025         spurious newlines that caused problems.
26026
26027 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26028
26029         * Move test with enums and partial symbols from gdb.t03/ptype.exp
26030         to gdb.stabs/wierd.exp since GCC has worked around the bug.
26031         gdb.stabs/wierd.{exp,def}: Many new tests.
26032
26033         * gdb.t00/default.exp: update info line for new message.
26034
26035         * gdb.t02/{whatis.exp,gdbme.c}:
26036         Test that "char *" doesn't print as "caddr_t".
26037
26038 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26039
26040         * gdb.t00/help.exp: Use .* in place of some help messages which
26041         just changed.
26042         gdb.t00/default.exp: Update "info frame" test for new message.
26043         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26044         Remove some xfails
26045
26046 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26047
26048         * gdb.t03/{gdbme.c,ptype.exp}:
26049         Add tests for typedef'd struct and union without tags.
26050         Also check "whatis" on a variable of a typedef'd enum without a tag.
26051
26052         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26053         PRMS 1823; the bug still exists but isn't reproduced by this test
26054         anymore), and remove rs6000 XFAIL (the bug is fixed).
26055
26056         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26057         duplicated from whatis.exp.  For those that are left, accept
26058         "long", "long int", or "int" for long variables (whatis.exp already
26059         has an XFAIL for "int", so no need to fail it here).
26060
26061         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26062         Deal with GCC's names for types now that GDB uses the compiler's names.
26063
26064         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
26065         setup_xfail's for sunos4.  If we #defined the signed keyword away,
26066         don't expect GDB to know that char it is signed.
26067
26068         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26069
26070 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
26071
26072         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
26073         should work on any system, regardless of debugging format.
26074         * gdb.t21/demangle.exp:  Move to gdb.t24.
26075         * gdb.t24/demangle.exp:  Move from gdb.t21.
26076         * gdb.t24/{Makefile.in, configure.in}:  New files.
26077
26078 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26079
26080         * configure.in: Do gdb.stabs and C++ tests only for stabs.
26081         * gdb.stabs: New directory.
26082
26083 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26084
26085         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26086         not just "Quit anyway?".
26087
26088 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
26089
26090         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
26091         that all setup_xfails are immediately followed by clear_xfails.
26092
26093 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
26094
26095         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26096         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26097         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26098         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26099         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26100         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26101         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26102         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26103         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26104         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26105         gdb.t31/chillvars.exp, lib/gdb.exp:
26106         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26107         bug-gdb@prep.ai.mit.edu.
26108
26109 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
26110
26111         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
26112         with 0.0, not integer 0.
26113
26114 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
26115
26116         * gdb.t06/break.exp: Update for "Kill the program" message change.
26117
26118 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
26119
26120         * Makefile.in (GDBFLAGS):  Set to -nx.
26121         * Makefile.in (site.exp):  Use GDBFLAGS.
26122
26123 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
26124
26125         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26126           Makefiles.
26127           (check): depend on just-check.
26128           (just-check): added so that tests can be run without a noop
26129           build pass.
26130
26131 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
26132
26133         Switch to using configure's configdirs.
26134         * Makefile.in (Makefile): add configure.in dependency.
26135           (SUBDIRS): removed redundant assignment.
26136         * configure.in: switch subdirs assignment to configdirs.
26137         * gdb.t*/configure.in: new files.
26138
26139 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
26140
26141         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26142         works.
26143
26144 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
26145
26146         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
26147         in explicit rules.  Apparently this is not supported by some makes.
26148
26149 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
26150
26151         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
26152
26153 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26154
26155         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
26156         disappeared.
26157
26158 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
26159
26160         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
26161
26162 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
26163
26164         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
26165         watchpoint problem that is now fixed.
26166         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
26167         uninitialized convenience variables.
26168         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
26169         structures.
26170
26171 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26172
26173         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26174         which causes expect to get out of sync with gdb on long output
26175         from help set.
26176         * gdb.t09/corefile.exp: Make expected pattern for core file
26177         failing signal and frame output format less sun specific.
26178
26179 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
26180
26181         * gdb.t31/chillvars.exp:  Add and remove initial dummy
26182         breakpoint, so that symbol table is forced in.
26183         (Needed at least on Sunos4, though it seems not SVR4.)
26184         * gdb.t31/chillvars.exp:  Update for changed output format.
26185
26186 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
26187
26188         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
26189
26190 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
26191
26192         * Makefile.in: Added --srcdir when invoking runtest, removed the
26193         need for a local config file. (optional now)
26194
26195 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
26196
26197         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
26198         failure count used to force early termination.  Add some more
26199         expected failures for gnu style demangling.
26200
26201 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26202
26203         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26204         pmi variable from gdb.t20/gdbme to get optimized away.
26205         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26206         Check for written corefile upon timeout _and_ eof.
26207
26208 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26209
26210         * config/unix-gdb.exp:  Add missing return 0.
26211
26212 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26213
26214         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
26215         test termination.
26216
26217 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
26218
26219         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
26220         disappeared.
26221
26222 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
26223
26224         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
26225         time as i860 support works.
26226
26227         * gdb.t15/funcargs.exp:  Fix expected outputs to include
26228         "backtrace 100\r" rather than just "backtrace\r", to match last
26229         change.
26230
26231 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
26232
26233         * config/udi-gdb.exp (gdb_exit): Remove close command.
26234         (gdb_target_udi): New procedure to set the UDI target.
26235         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
26236         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26237         Added waits for prompts after several question responses.  Added
26238         some more responses used by a29k-amd-udi-gdb.
26239         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26240         pass different arguments, restart UDI connection after program
26241         completion.
26242         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26243         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26244         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26245         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26246         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26247         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26248         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26249         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26250         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26251         after program completion.
26252         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26253         compiled with a SELECT_VECS setting.
26254         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26255         infinite recursion.
26256
26257         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26258         Added checks for COFF results, and made them expected failures for
26259         all targets.  It would be better to make them expected failures
26260         for COFF targets only.
26261
26262 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
26263
26264         * Makefile.in: add null dvi target, don't bother to recurse
26265         through test directories for info and install-info; rename
26266         $(datadir) to be dejagnu instead of deja-gnu
26267
26268 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
26269
26270         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
26271         compiler to coredump.
26272         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
26273         code.
26274
26275 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
26276
26277         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
26278         coredump.
26279         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
26280         code.
26281
26282 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
26283
26284         * gdb.t03/ptype.exp: tests for return code from gdb_test.
26285         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26286         which in a shell. Deletes xgdb when done.
26287         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26288         Tests the return from the "set height" or "set width" commands.
26289         Added a few return codes where needed.
26290
26291 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
26292
26293         * Makefile.in (SUBDIRS):  Add gdb.t17.
26294         * configure.in (subdirs):  Add gdb.t17.
26295         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
26296         files to test gdb's calling of functions in the inferior with
26297         the correct arguments and gdb's ability to retrieve any
26298         result returned.
26299
26300 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
26301
26302         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
26303         may be called after gdb goes away.  Previous versions of expect
26304         needed these to avoid file descriptor leaks, but they cause
26305         errors with the current revision of expect.
26306         * gdb.t00/gdbvars.exp:  Use -re on expected output after
26307         setting sevenbit-strings.
26308         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
26309         to set sevenbit-strings consistent across tests.
26310         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
26311         set sevenbit-strings consistent across tests.
26312
26313 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
26314
26315         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
26316         expected output to match current "expect" expectations.
26317
26318 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
26319
26320         * gdb.t00/default.exp:  Change expected output for default "source"
26321         command, to match new gdb behavior which requires a filename to
26322         source.
26323
26324 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
26325
26326         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
26327         expected fail for i486-*-* that misses the marker2 function.
26328         * gdb.t10/crossload.exp (bfddefault):  Allow successful
26329         recognition of a format to pass even if no symbols are found.
26330         Explicitly catch failures where the format is not recognized
26331         or is ambiguous, and add the reason to the fail message.
26332         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
26333         the cause is and invalid target and add reason to failure message.
26334         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
26335         elf32-i386, elf32-sparc, and elf32-i860.
26336         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26337         Set up expected failure for 'filename'::variable scope resolution,
26338         which is now apparently broken on all targets.
26339         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26340         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26341         gdb.t23/templates.exp:   Change failure for missing binfile into
26342         just a warning.
26343         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
26344         references.
26345
26346 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
26347
26348         * gdb.t00/default.exp:  Add expected output for default "source"
26349         command, to match new gdb behavior.
26350         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
26351
26352 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
26353
26354         * config/*-gdb.exp: returns an error, rather than exiting on
26355         internal errors.
26356
26357 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
26358
26359         * gdb.t03/gdbme.c:  Add pointer to struct variable.
26360         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
26361         referencing struct members.
26362
26363 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
26364
26365         * configure.in (mips-idt-ecoff): New target.
26366         * config/mips-gdb.exp: New file for remote board using MIPS remote
26367         debugging protocol.
26368
26369         * Redid configuration scheme.  Removed gdb.t*/configure.in.
26370         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
26371         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
26372         distclean targets.  Built executables via .o files.  Adjusted
26373         tests to account for source files in $(srcdir) rather than
26374         $(objdir).
26375         * lib/gdb.exp (runto): Don't expect () after the function name,
26376         because it may have arguments.
26377
26378 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
26379
26380         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26381         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26382         expected failures for mips-idt-* and mips-sgi-*.
26383         * gdb.t00/default.exp (attach): Kill process if requested.
26384         * gdb.t00/help.exp (help target core, help target): Accept a gdb
26385         that does not read core files.
26386         * gdb.t01/run.exp: Removed checks for exit status code.
26387         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26388         it is linked in.
26389         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26390         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26391         appropriate, rather than doing it by hand.
26392         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26393         execution.
26394         * gdb.t10/crossload.exp: Kill existing program if needed.
26395         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26396         appropriate, rather than doing it by hand.  Always increase
26397         timeout for this test, not just for VxWorks.
26398
26399 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
26400
26401         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
26402         of Chill STRUCT types and STRUCT values.
26403         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
26404         than "char".
26405         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26406         struct2):  New struct definitions and initializations to test
26407         simple Chill STRUCT types.
26408
26409 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
26410
26411         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
26412         the null byte at the end of strings.
26413         * gdb.t00/default.exp:  Make show version insensitive to copyright
26414         date.
26415         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
26416         to avoid dependencies on target char signedness.
26417         * gdb.t16/printcmds.exp:  Update expected results for explicitly
26418         unsigned char.
26419         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
26420         now work.
26421         * gdb.t21/demangle.exp:  Add many more patterns for template
26422         demangling, most of them being expected failures.
26423         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
26424         string we are matching for, to match on the whole string.
26425         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
26426         and fix a whole bunch that had incorrect expected output but were
26427         passing anyway because of the bug in "proc demangle".
26428         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
26429         type.
26430         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
26431
26432 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26433
26434         * gdb/testsuite: made modifications to testcases, etc., to allow
26435         them to work properly  given the reorganization of deja-gnu and the
26436         relocation of the testcases from deja-gnu to a "tool" subdirectory.
26437
26438 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26439
26440         * gdb/testsuite: Initial creation of gdb/testsuite.
26441         Migrated dejagnu testcases and support files for testing nm to
26442         gdb/testsuite from deja-gnu.  These files were moved "as is"
26443         with no modifications.  This migration is part of a major overhaul
26444         of dejagnu.  The modifications to these testcases, etc., which
26445         will allow them to work with the new version of dejagnu will be
26446         made in a future update.
26447
26448  For additional changes see gdb.mi/ChangeLog-1999-2003.
26449 \f
26450 ;; Local Variables:
26451 ;; mode: change-log
26452 ;; left-margin: 8
26453 ;; fill-column: 74
26454 ;; version-control: never
26455 ;; End:
26456
26457     Copyright 1993-2005, 2012 Free Software Foundation, Inc.
26458   Copying and distribution of this file, with or without modification,
26459   are permitted provided the copyright notice and this notice are preserved.