2012-01-26 Pedro Alves <palves@redhat.com>
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2012-01-26  Pedro Alves  <palves@redhat.com>
2
3         Make test messages unique, and more identifiable.
4         * gdb.multi/watchpoint-multi.exp: Change test messages.
5
6 2012-01-25  Tom Tromey  <tromey@redhat.com>
7
8         * gdb.base/solib-disc.exp: Fix regexps.
9
10 2012-01-24  Tom Tromey  <tromey@redhat.com>
11
12         * lib/mi-support.exp (mi_expect_stop): Add special case for
13         solib-event.
14         * gdb.base/catch-load-so.c: New file.
15         * gdb.base/catch-load.exp: New file.
16         * gdb.base/catch-load.c: New file.
17         * gdb.base/break-interp.exp (reach_1): Update regexp.
18
19 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
20
21         Fix fuzzy results.
22         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
23         lpsimple and func.
24
25 2012-01-24  Gary Benson  <gbenson@redhat.com>
26
27         Delete #if 0'd out code.
28         * gdb.base/default.exp (info catch): Remove.
29         * gdb.base/gdb_history (info catch): Likewise.
30         * gdb.base/help.exp (info catch): Likewise.
31
32 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
33
34         Fix watchpoints to be specific for each inferior.
35         * gdb.multi/watchpoint-multi.c: New file.
36         * gdb.multi/watchpoint-multi.exp: New file.
37
38 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
39
40         Fix watchpoints across inferior fork.
41         * gdb.threads/watchpoint-fork-child.c: New file.
42         * gdb.threads/watchpoint-fork-mt.c: New file.
43         * gdb.threads/watchpoint-fork-parent.c: New file.
44         * gdb.threads/watchpoint-fork-st.c: New file.
45         * gdb.threads/watchpoint-fork.exp: New file.
46         * gdb.threads/watchpoint-fork.h: New file.
47
48 2012-01-23  Pedro Alves  <palves@redhat.com>
49
50         * gdb.base/call-signal-resume.exp: Allow output after "return".
51
52 2012-01-20  Pedro Alves  <palves@redhat.com>
53
54         * gdb.python/py-finish-breakpoint.py: Fix typo.
55
56 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
57
58         * gdb.base/info-proc.exp: Also run on remote targets.  Main
59         "info proc" command is now always present; whether target supports
60         actual info proc operation is detected when attempting to issue
61         the command.
62
63 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
64
65         * .gdbinit: Remove.
66
67 2012-01-19  Pedro Alves  <palves@redhat.com>
68
69         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
70         look at the funtions' returns.
71         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
72         (jprint.print(int, int)): Change return type to int.  Adjust.
73
74 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75
76         PR gdb/9538
77         * gdb.base/sepdebug.exp: New test.
78
79 2012-01-18  Pedro Alves  <palves@redhat.com>
80
81         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
82         Allow output before ^done.
83
84 2012-01-16  Tom Tromey  <tromey@redhat.com>
85
86         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
87         Add tests for relative directory.
88
89 2012-01-16  Tom Tromey  <tromey@redhat.com>
90
91         * gdb.base/printcmds.c (enum flag_enum): New.
92         (three): New global.
93         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
94         enum printing.
95         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
96         FlagEnumerationPrinter.
97         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
98         * gdb.python/py-pp-maint.c (enum flag_enum): New.
99         (fval): New global.
100
101 2012-01-16  Pedro Alves  <palves@redhat.com>
102
103         * lib/gdb.exp (banned_procedures): New variable.
104         (banned_variables_traced): Rename to ...
105         (banned_traced): ... this.
106         (gdb_init): Also trace banned procedures.
107         (gdb_finish): Also untrace banned procedures.
108
109 2012-01-16  Pedro Alves  <palves@redhat.com>
110
111         Remove all calls to strace.
112
113 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
114
115         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
116         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
117
118 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
119
120         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
121         * gdb.base/pie-execl.exp: Likewise.
122
123 2012-01-12  Keith Seitz  <keiths@redhat.com>
124
125         PR mi/10586
126         * gdb.mi/var-cmd.c (struct anonymous): New structure.
127         (do_anonymous_type_tests): New function.
128         (main): Call do_anonymous_type_tests.
129         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
130         (verify_everything): New procedure.
131         * gdb.mi/mi-var-cp.cc (class A): New class.
132         (anonymous_structs_and_unions): New function.
133         (main): Call anonymous_structs_and_unions.
134         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
135         (verify_everything): New procedure.
136
137 2012-01-12  Keith Seitz  <keiths@redhat.com>
138
139         * lib/mi-support.exp: Expand comments about PATH_EXPR.
140         (varobj_tree::get_path_expr): Assume that all varobjs are
141         compound unless they are known simple types.
142         Adjust path expressions based on parent type, path parent type,
143         and tree language.
144         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
145         the root varobj.
146         (mi_walk_varobj_tree): Add LANGUAGE parameter.
147
148 2012-01-11  Pedro Alves  <palves@redhat.com>
149
150         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
151         core files on this machine" anymore.
152
153 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
154
155         * gdb.base/watchpoint.c (recurser): Initialize local_x.
156         (main): Repeat recurser call.
157         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
158         equivalent to 'local_x'.
159
160 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
161             Joel Brobecker <brobecker@adacore.com>
162
163         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
164
165 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
166
167         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
168         * gdb.python/py-events.c (first): Add bits for new "step N" test.
169         * gdb.python/py-events.exp: Test that "step N" tripping on a
170         breakpoint emits a breakpoint event.
171
172 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
173
174         * gdb.base/auxv.exp: Reformat the copyright notice.
175
176 2012-01-03  Yao Qi  <yao@codesourcery.com>
177
178         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
179         (strace_trace_on_diff_addr): New.
180         * gdb.trace/strace.c: (main): Add two local variables.
181
182 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
183
184         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
185         * gdb.cell/gcore.exp: Likewise.
186         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
187         to verify the correct instance of main is selected.
188
189 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
190
191         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
192         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
193         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
194         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
195         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
196         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
197         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
198         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
199         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
200         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
201         gdb.threads/thread_check.c: Reformat copyright header.
202
203 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
204
205         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
206         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
207         is not enabled.
208
209 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
210
211         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
212         parameter to self_exec, adjust the function.
213         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
214         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
215         (set var do_exit = 0): Remove test.
216         (newline at end of file): Add one.
217
218 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
219
220         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
221         New files.
222
223 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
224
225         Fix racy FAILs.
226         * gdb.threads/fork-thread-pending.c (barrier): New variable.
227         (thread_function, thread_forker): Call pthread_barrier_wait for it.
228         (main): Call pthread_barrier_init for it.
229
230 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
231
232         Fix double send_gdb leading to racy FAILs.
233         * gdb.base/break.exp (set silent break bp_location1): Replace
234         3x send_gdb and gdb_expect by gdb_test.
235         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
236         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
237         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
238         instead of send_gdb.  Twice.
239         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
240         3x send_gdb and gdb_expect by gdb_test.
241         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
242
243 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
244
245         * gdb.linespec/linespec.exp: Compile using {c++}.
246
247 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
248
249         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
250         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
251         (verify GCC PR debug/51668): New test.
252
253 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
254
255         Introduce gdb.FinishBreakpoint in Python.
256         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
257         py-finish-breakpoint2
258         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
259         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
260         instead of line number.
261         * gdb.python/py-finish-breakpoint.c: New file.
262         * gdb.python/py-finish-breakpoint.exp: New file.
263         * gdb.python/py-finish-breakpoint.py: New file.
264         * gdb.python/py-finish-breakpoint2.cc: New file.
265         * gdb.python/py-finish-breakpoint2.exp: New file.
266         * gdb.python/py-finish-breakpoint2.py: New file.
267
268 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
269
270         Partial fix of compatibility with gcc-4.7.
271         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
272         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
273         Add comment to add a PASS case in the future.
274
275         Fix compatibility with gcc-4.7.
276         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
277
278 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
279
280         PR tdep/12797
281         * gdb.base/callfuncs.exp: Remove KFAIL.
282
283 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
284
285         * gdb.ada/task_bp: New testcase.
286
287 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
288
289         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
290         -DNO_SECTIONS.
291         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
292
293 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
294
295         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
296         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
297         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
298         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
299         conditional for gcc <= 4.5.
300
301 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
302
303         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
304         by XFAIL.
305         * gdb.cp/static-method.exp (info addr A::func())
306         (list static-method.cc:xxx::(anonymous namespace)::A::func)
307         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
308         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
309         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
310         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
311         (test value of F in k3_m): Likewise.
312         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
313         Likewise.
314
315 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
316
317         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
318         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
319         Remove.
320         * gdb.threads/attachstop-mt.c: Remove.
321         * gdb.threads/attachstop-mt.exp: Remove.
322
323 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
324
325         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
326
327 2011-12-16  Doug Evans  <dje@google.com>
328
329         * boards/native-stdio-gdbserver.exp: New file.
330         * boards/native-gdbserver.exp: New file.
331
332         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
333         gdbserver output.
334         (gdbserver_default_get_remote_address): New function.
335         (gdbserver_start): Call gdb,get_remote_address to compute argument
336         to "target remote" command.
337
338 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
339
340         * gdb.python/py-function.exp: Change "on" to "full" for
341         python print-stack.  Add set/show python print-stack
342         off|full|message tests.
343
344 2011-12-15  Yao Qi  <yao@codesourcery.com>
345
346         * gdb.trace/strace.c: New
347         * gdb.trace/strace.exp: New.
348
349 2011-12-14  Tom Tromey  <tromey@redhat.com>
350
351         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
352
353 2011-12-14  Doug Evans  <dje@google.com>
354
355         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
356
357 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
358
359         PR threads/10729
360
361         * gdb.mi/watch-nonstop.c: New file.
362         * gdb.mi/mi-watch-nonstop.exp: New file.
363
364 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
365             Doug Evans  <dje@google.com>
366
367         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
368         (clean_restart): Remove references to the gdb_stub target board
369         variable.
370         (gdb_step_for_stub): Delete.
371
372         * gdb.base/annota1.exp: Remove all references to [target_info
373         exists gdb_stub], gdb_step_for_stub and usestubs.
374         * gdb.base/annota3.exp: Ditto.
375         * gdb.base/async.exp: Ditto.
376         * gdb.base/break.exp: Ditto.
377         * gdb.base/code-expr.exp: Ditto.
378         * gdb.base/commands.exp: Ditto.
379         * gdb.base/completion.exp: Ditto.
380         * gdb.base/condbreak.exp: Ditto.
381         * gdb.base/consecutive.exp: Ditto.
382         * gdb.base/cvexpr.exp: Ditto.
383         * gdb.base/define.exp: Ditto.
384         * gdb.base/display.exp: Ditto.
385         * gdb.base/ena-dis-br.exp: Ditto.
386         * gdb.base/environ.exp: Ditto.
387         * gdb.base/gnu-ifunc.exp: Ditto.
388         * gdb.base/maint.exp: Ditto.
389         * gdb.base/pending.exp: Ditto.
390         * gdb.base/sect-cmd.exp: Ditto.
391         * gdb.base/sepdebug.exp: Ditto.
392         * gdb.base/unload.exp: Ditto.
393         * gdb.base/watchpoint-solib.exp: Ditto.
394         * gdb.cp/annota2.exp: Ditto.
395         * gdb.cp/annota3.exp: Ditto.
396         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
397         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
398         * gdb.mi/mi-pending.exp: Ditto.
399         * gdb.trace/circ.exp: Ditto.
400         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
401         * gdb.base/list.exp: Ditto.
402
403         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
404         breakpoint function and all references to the usestubs macro.
405         * gdb.base/exprs.c: Ditto.
406         * gdb.base/freebpcmd.c: Ditto.
407         * gdb.base/bitfields.c: Ditto.
408         * gdb.base/bitfields2.c: Ditto.
409         * gdb.base/break.c: Ditto.
410         * gdb.base/call-sc.c: Ditto.
411         * gdb.base/call-signals.c: Ditto.
412         * gdb.base/callfuncs.c: Ditto.
413         * gdb.base/charset.c: Ditto.
414         * gdb.base/consecutive.c: Ditto.
415         * gdb.base/constvars.c: Ditto.
416         * gdb.base/funcargs.c: Ditto.
417         * gdb.base/int-type.c: Ditto.
418         * gdb.base/interrupt.c: Ditto.
419         * gdb.base/langs0.c: Ditto.
420         * gdb.base/list0.c: Ditto.
421         * gdb.base/mips_pro.c: Ditto.
422         * gdb.base/miscexprs.c: Ditto.
423         * gdb.base/nodebug.c: Ditto.
424         * gdb.base/opaque0.c: Ditto.
425         * gdb.base/pointers.c: Ditto.
426         * gdb.base/printcmds.c: Ditto.
427         * gdb.base/ptype.c: Ditto.
428         * gdb.base/recurse.c: Ditto.
429         * gdb.base/reread1.c: Ditto.
430         * gdb.base/reread2.c: Ditto.
431         * gdb.base/restore.c: Ditto.
432         * gdb.base/return.c: Ditto.
433         * gdb.base/run.c: Ditto.
434         * gdb.base/scope0.c: Ditto.
435         * gdb.base/sepdebug.c: Ditto.
436         * gdb.base/setshow.c: Ditto.
437         * gdb.base/setvar.c: Ditto.
438         * gdb.base/sigall.c: Ditto.
439         * gdb.base/signals.c: Ditto.
440         * gdb.base/structs.c: Ditto.
441         * gdb.base/structs2.c: Ditto.
442         * gdb.base/testenv.c: Ditto.
443         * gdb.base/twice.c: Ditto.
444         * gdb.base/unwindonsignal.c: Ditto.
445         * gdb.base/watchpoint.c: Ditto.
446         * gdb.base/watchpoints.c: Ditto.
447         * gdb.base/whatis.c: Ditto.
448         * gdb.cp/classes.cc: Ditto.
449         * gdb.cp/cplusfuncs.cc: Ditto.
450         * gdb.cp/derivation.cc: Ditto.
451         * gdb.cp/formatted-ref.cc: Ditto.
452         * gdb.cp/misc.cc: Ditto.
453         * gdb.cp/overload.cc: Ditto.
454         * gdb.cp/ovldbreak.cc: Ditto.
455         * gdb.cp/ref-params.cc: Ditto.
456         * gdb.cp/ref-types.cc: Ditto.
457         * gdb.cp/templates.cc: Ditto.
458         * gdb.cp/virtfunc.cc: Ditto.
459         * gdb.hp/gdb.aCC/run.c: Ditto.
460         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
461         * gdb.hp/gdb.compat/xdb0.c: Ditto.
462         * gdb.reverse/consecutive-reverse.c: Ditto.
463         * gdb.reverse/sigall-reverse.c: Ditto.
464         * gdb.reverse/until-reverse.c: Ditto.
465         * gdb.reverse/watch-reverse.c: Ditto.
466         * gdb.trace/actions.c: Ditto.
467         * gdb.trace/circ.c: Ditto.
468         * gdb.trace/collection.c: Ditto.
469
470 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
471
472         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
473         (func6, func7): New.
474         (main): Call func6 and func7.
475         * gdb.base/watchpoint.exp (test_wide_location_1)
476         (test_wide_location_2): New.
477         (top level): Re-enable hardware watchpoints if necessary.  Call
478         test_wide_location_1 and test_wide_location_2.
479
480 2011-12-11  Yao Qi  <yao@codesourcery.com>
481
482         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
483
484 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
485
486         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
487         expected output for unsupported case.
488
489 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
490
491         PR testsuite/12649
492         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
493         Protect gdb_test_multiple by final $gdb_prompt match.
494
495 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
496
497         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
498         New variable, new test.
499         (list static-method.cc:xxx::(anonymous namespace)::A::func)
500         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
501         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
502         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
503         them if HAVE_GCC_45682_FIXED is not set.
504
505 2011-12-10  Yao Qi  <yao@codesourcery.com>
506
507         * gdb.trace/status-stop.exp: New.
508         * gdb.trace/status-stop.c: New.
509
510 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
511
512         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
513         timeout.
514
515 2011-12-08  Tom Tromey  <tromey@redhat.com>
516
517         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
518         condition.
519
520 2011-12-07  Stan Shebs  <stan@codesourcery.com>
521
522         * gdb.trace/tfind.exp: Update for output changes.
523
524 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
525
526         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
527         throws "Cannot insert catchpoints in this configuration".
528         * gdb.ada/mi_catch_ex.exp: Likewise.
529
530 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
531
532         * gdb.base/break-always.exp: Test changing memory at addresses
533         with breakpoints inserted.
534
535 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
536
537         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
538         involving a fully qualified function name.
539
540 2011-12-06  Tom Tromey  <tromey@redhat.com>
541
542         * gdb.ada/homonym.exp: Add three breakpoint tests.
543
544 2011-12-06  Tom Tromey  <tromey@redhat.com>
545
546         * gdb.base/solib-weak.exp (do_test): Remove kfail.
547         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
548         * gdb.objc/objcdecode.exp: Update for output changes.
549         * gdb.linespec/linespec.exp: New file.
550         * gdb.linespec/lspec.cc: New file.
551         * gdb.linespec/lspec.h: New file.
552         * gdb.linespec/body.h: New file.
553         * gdb.linespec/base/two/thefile.cc: New file.
554         * gdb.linespec/base/one/thefile.cc: New file.
555         * gdb.linespec/Makefile.in: New file.
556         * gdb.cp/templates.exp (test_template_breakpoints): Update for
557         output changes.
558         * gdb.cp/re-set-overloaded.exp: Remove kfail.
559         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
560         makes one breakpoint.
561         * gdb.cp/method2.exp (test_break): Update for output changes.
562         * gdb.cp/mb-templates.exp: Update for output changes.
563         * gdb.cp/mb-inline.exp: Update for output changes.
564         * gdb.cp/mb-ctor.exp: Update for output changes.
565         * gdb.cp/ovsrch.exp: Use fully-qualified names.
566         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
567         has multiple matches.
568         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
569         error message change.
570         * gdb.base/list.exp (test_list_filename_and_number): Update for
571         error message change.
572         * gdb.base/break.exp: Disable pending breakpoints.  Update for
573         output changes.
574         * configure.ac: Add gdb.linespec.
575         * configure: Rebuild.
576         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
577
578 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
579
580         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
581         last_break register on s390*-*-* targets.
582
583 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
584
585         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
586         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
587         of parameter X in procedure Foo.
588
589 2011-12-05  Stan Shebs  <stan@codesourcery.com>
590
591         * gdb.trace/tfind.exp: Update help string matches.
592
593 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
594
595         * gdb.server/ext-run.exp (get process list): Accept also systemd
596         as PID 1.
597
598 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
599             Pedro Alves  <pedro@codesourcery.com>
600
601         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
602         starting GDB.
603         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
604         $use_gdb_stub.
605         * gdb.base/display.exp: Likewise.
606         * gdb.base/ending-run.exp: Likewise.
607         * gdb.base/list.exp (test_listsize): Likewise.
608         * gdb.base/setshow.exp: Likewise.
609         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
610         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
611         check by global $use_gdb_stub.
612         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
613         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
614         (default_gdb_init): Unset global $use_gdb_stub.
615         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
616         by global $use_gdb_stub.
617         * lib/gdbserver-support.exp: Extend comments for set_board_info
618         gdb_protocol and gdb,socketport.
619         (gdbserver_start_extended): Set global gdbserver_protocol and
620         gdbserver_gdbport.  Clear global use_gdb_stub.
621         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
622         from target use_gdb_stub.
623         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
624
625 2011-12-03  Doug Evans  <dje@google.com>
626
627         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
628         (gdb_step_for_stub): Add comments.
629
630 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
631
632         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
633         to the caller.
634         (gdb_test_multiple): Likewise.
635
636 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
637
638         Fix gdb.mi/mi-solib.exp without system debug info installed.
639         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
640         expect attribute, return 0 for it.  Update comments.
641
642 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
643
644         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
645         (corrupted list): Adjust the expectation.
646
647 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
648
649         PR threads/13448
650         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
651         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
652         * gdb.threads/tls-var-main.c: New file.
653         * gdb.threads/tls-var.c: New file.
654         * gdb.threads/tls-var.exp: New file.
655
656 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
657
658         PR testsuite/12649
659         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
660         Protect gdb_test_multiple by final $gdb_prompt match.
661         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
662         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
663         (test_tracepoints): Likewise.
664
665 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
666
667         PR breakpoints/13346
668         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
669         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
670         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
671
672 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
673
674         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
675         * gdb.ada/homonym/homonym.adb: For use of all types defined
676         locally inside both Get_Value subprograms.
677
678 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
679
680         Fix racy FAILs.
681         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
682         of send_gdb.
683
684 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
685
686         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
687         environment variable after test completed.
688
689 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
690
691         * gdb.base/solib-nodir.exp: Skip if remote target.
692         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
693         application.  Call gdb_load_shlibs.
694         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
695
696 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
697
698         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
699
700 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
701
702         * gdb.ada/fullname_bp: New testcase.
703
704 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
705
706         PR testsuite/12649
707         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
708         Wrap send_gdb into a new gdb_test.
709
710         Code cleanup.
711         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
712         Convert send_gdb and gdb_expect to gdb_test_multiple.
713
714 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
715
716         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
717
718 2011-11-23  Keith Seitz  <keiths@redhat.com>
719
720         * lib/mi-support.exp (varobj_tree): New namespace and procs.
721         (mi_varobj_tree_test_children_callback): New proc.
722         (mi_walk_varobj_tree): New proc.
723
724 2011-11-22  Tom Tromey  <tromey@redhat.com>
725
726         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
727         Add "use_mi_command" argument.
728         (mi_run_cmd, mi_run_with_cli): New procs.
729         * gdb.mi/solib-lib.c: New file.
730         * gdb.mi/solib-main.c: New file.
731         * gdb.mi/mi-solib.exp: New file.
732
733 2011-11-21  Doug Evans  <dje@google.com>
734
735         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
736         _Unwind_DebugHook is missing.
737
738 2011-11-20  Stan Shebs  <stan@codesourcery.com>
739
740         * gdb.trace/tstatus.exp: New.
741         * gdb.trace/actions.c: Include string.h.
742
743 2011-11-18  Yao Qi  <yao@codesourcery.com>
744
745         * gdb.trace/pending.exp: New.
746         * gdb.trace/pending.c: New.
747         * gdb.trace/pendshr1.c: New.
748         * gdb.trace/pendshr2.c: New.
749         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
750         tracepoint location becomes pending.
751         (tracepoint_change_loc_2): New.
752
753 2011-11-16  David S. Miller  <davem@davemloft.net>
754
755         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
756         target is sparc*-*-linux*
757
758 2011-11-15  Paul Koning  <paul_koning@dell.com>
759
760         * gdb.python/py-type.exp: New testcases for exceptions on scalar
761         types.
762
763 2011-11-14  Doug Evans  <dje@google.com>
764
765         * gdb.base/shell.exp: New file.
766
767 2011-11-14  Stan Shebs  <stan@codesourcery.com>
768
769         * gdb.trace/ftrace.c: New.
770         * gdb.trace/ftrace.exp: New.
771
772 2011-11-14  Yao Qi  <yao@codesourcery.com>
773
774         * gdb.trace/change-loc-1.c: New.
775         * gdb.trace/change-loc-2.c: New.
776         * gdb.trace/change-loc.c: New.
777         * gdb.trace/change-loc.exp:  New.
778         * gdb.trace/change-loc.h:  New.
779         * gdb.trace/trace-break.c (marker): Define new symbol.
780         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
781         New.
782         (break_trace_same_addr_6): New.
783
784 2011-11-12  Matt Rice  <ratmice@gmail.com>
785
786         * gdb.base/info-macros.exp: Make tests for info definitions
787         test info macro.  Add tests for info macro argument processing.
788         Rename a few tests.
789
790 2011-11-11  Keith Seitz  <keiths@redhat.com>
791
792         PR gdb/12843
793         * gdb.base/linespecs.exp: New file.
794
795 2011-11-11  Doug Evans  <dje@google.com>
796
797         * gdb.threads/print-threads.exp: Extend timeout for slower
798         tests.
799
800 2011-11-10  Doug Evans  <dje@google.com>
801
802         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
803         "record to end of main" test.
804
805         * gdb.python/py-type.c (TS): New typedef.
806         (ts): New global.
807         * gdb.python/py-type.exp: Test field list of typedef.
808
809 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
810
811         * gdb.ada/small_reg_param: New testcase.
812
813 2011-11-09  Tom Tromey  <tromey@redhat.com>
814
815         * gdb.cp/destrprint.exp: New file.
816         * gdb.cp/destrprint.cc: New file.
817
818 2011-11-08  Meador Inge  <meadori@codesourcery.com>
819
820         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
821         (switch_stack_to_other): New test function.
822         * gdb.arch/thumb-prologue.exp: New test cases.
823
824 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
825
826         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
827
828 2011-11-08  Yao Qi  <yao@codesourcery.com>
829
830         * gdb.exp (supports_process_record): New.
831         (supports_reverse): New.
832         * gdb.reverse/break-precsave.exp: Call support_process_record
833         to run test conditionally.
834         * gdb.reverse/consecutive-precsave.exp: Likewise.
835         * gdb.reverse/i386-precsave.exp: Likewise.
836         * gdb.reverse/machinestate-precsave.exp: Likewise.
837         * gdb.reverse/solib-precsave.exp: Likewise.
838         * gdb.reverse/step-precsave.exp: Likewise.
839         * gdb.reverse/until-precsave.exp: Likewise.
840         * gdb.reverse/watch-precsave.exp: Likewise.
841         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
842         test conditionally.
843         * gdb.reverse/consecutive-reverse.exp: Likewise.
844         * gdb.reverse/finish-precsave.exp: Likewise.
845         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
846         * gdb.reverse/finish-reverse.exp: Likewise.
847         * gdb.reverse/i386-reverse.exp: Likewise.
848         * gdb.reverse/i386-sse-reverse.exp: Likewise.
849         * gdb.reverse/machinestate.exp: Likewise.
850         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
851         * gdb.reverse/sigall-precsave.exp: Likewise.
852         * gdb.reverse/sigall-reverse.exp: Likewise.
853         * gdb.reverse/solib-reverse.exp: Likewise.
854         * gdb.reverse/step-reverse.exp: Likewise.
855         * gdb.reverse/until-reverse.exp: Likewise.
856         * gdb.reverse/watch-reverse.exp: Likewise.
857
858 2011-11-05  Yao Qi  <yao@codesourcery.com>
859
860         * gdb.trace/trace-break.exp: Add test on setting two
861         fast tracepoints at the same address.
862
863 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
864
865         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
866
867 2011-11-02  Stan Shebs  <stan@codesourcery.com>
868
869         * gdb.trace/collection.c: Add code using strings.
870         * gdb.trace/collection.exp: Add tests of string collection.
871
872 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
873
874         * gdb.base/skip-solib.exp (executable_main): New variable.
875         (binfile_main): Base it on that.
876         Use $executable_main in clean_restart calls.  Drop gdb_exit and
877         gdb_start calls.
878
879 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
880
881         Fix racy FAILs.
882         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
883         breakpoint_re globals import by async.  Set string_regex to .* for
884         async.  Remove the optional thread_selected_re and breakpoint_re
885         globals expectations.
886
887 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
888
889         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
890         well as Cygwin.
891
892 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
893
894         Add tests for skip command.
895         * gdb.base/skip-solib-lib.c: New
896         * gdb.base/skip-solib-main.c: New
897         * gdb.base/skip-solib.exp: New
898         * gdb.base/skip.c: New
899         * gdb.base/skip.exp: New
900         * gdb.base/skip1.c: New
901         * gdb.base/Makefile.in: Adding new files.
902
903 2011-10-31  Yao Qi  <yao@codesourcery.com>
904             Pedro Alves  <pedro@codesourcery.com>
905
906         * gdb.trace/trace-break.c: New.
907         * gdb.trace/trace-break.exp: New.
908
909 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
910
911         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
912         break-here-2.
913
914 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
915
916         * gdb.threads/no-unwaited-for-left.c: New.
917         * gdb.threads/no-unwaited-for-left.exp: New.
918         * gdb.threads/non-ldr-exc-1.c: New.
919         * gdb.threads/non-ldr-exc-1.exp: New.
920         * gdb.threads/non-ldr-exc-2.c: New.
921         * gdb.threads/non-ldr-exc-2.exp: New.
922         * gdb.threads/non-ldr-exc-3.c: New.
923         * gdb.threads/non-ldr-exc-3.exp: New.
924         * gdb.threads/non-ldr-exc-4.c: New.
925         * gdb.threads/non-ldr-exc-4.exp: New.
926
927 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
928
929         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
930         * gdb.base/attach-pie-misread.exp: Likewise.
931         * gdb.base/break-interp.exp: Likewise.
932         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
933         testcases for use_gdb_stub.
934         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
935         (continue): New testcase.
936         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
937         * gdb.threads/attach-into-signal.exp: Likewise.
938         * gdb.threads/attach-stopped.exp: Likewise.
939         * gdb.threads/attachstop-mt.exp: Likewise.
940
941 2011-10-28  Paul Koning  <paul_koning@dell.com>
942
943         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
944
945 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
946
947         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
948         (mi_gdb_test): Import globals thread_selected_re
949         and breakpoint_re.  Expect them optionally at the regex start.
950
951 2011-10-27  Doug Evans  <dje@google.com>
952
953         * gdb.python/python.exp: Test source -s.
954
955 2011-10-26  Paul Koning  <paul_koning@dell.com>
956
957         * gdb.python/lib-types.cc (struct A): New structure.
958         * gdb.python/lib-types.exp (deepitems): New tests.
959
960 2011-10-25  Paul Koning  <paul_koning@dell.com>
961
962         PR python/13327
963
964         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
965         fetch_lazy method.
966
967 2011-10-24  Yao Qi  <yao@codesourcery.com>
968
969         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
970         target is tic6x-*-*.
971
972 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
973
974         * gdb.ada/mi_task_info/task_switch.adb: New file.
975         * gdb.ada/mi_task_info.exp: New file.
976
977 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
978
979         * gdb.cp/expand-psymtabs-cxx.exp: New file.
980         * gdb.cp/expand-psymtabs-cxx.cc: New file.
981
982 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
983
984         PR python/12656
985
986         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
987         global_block tests.
988
989 2011-10-18  Tom Tromey  <tromey@redhat.com>
990
991         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
992
993 2011-10-18  Tom Tromey  <tromey@redhat.com>
994
995         * gdb.base/source.exp: Don't include full file name in test name.
996         * gdb.python/python.exp: Don't include full file name in test
997         name.
998
999 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1000
1001         * gdb.base/attach-pie-noexec.c: New files.
1002         * gdb.base/attach-pie-noexec.exp: New files.
1003
1004 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
1005
1006         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1007         prompt for each extra line in command.
1008
1009 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1010
1011         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1012         Revert the part of:
1013         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1014         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1015         Change the expected string.
1016
1017 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1018
1019         Fix results with system glibc debug info installed.
1020         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1021         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1022         Accept also __libc_ symbol prefix and no prefix.
1023
1024 2011-10-14  Keith Seitz  <keiths@redhat.com>
1025
1026         PR c++/13225
1027         * gdb.cp/converts.cc (foo3_1): New function.
1028         (foo3_2): New functions.
1029         * gdb.cp/converts.exp: Add tests for int to pointer conversion
1030         and null pointer conversions of integer constant zero.
1031         Add test to check if all arguments are checked for incompatible
1032         conversion BADNESS.
1033
1034 2011-10-14  Tom Tromey  <tromey@redhat.com>
1035
1036         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1037         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1038         linespec.
1039
1040 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1041
1042         Fix internal error regression.
1043         * gdb.dwarf2/implptr-optimized-out.S: New file.
1044         * gdb.dwarf2/implptr-optimized-out.exp: New file.
1045
1046 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1047
1048         Fix empty DWARF expressions DATA vs. SIZE conditionals.
1049         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1050         (loclist): New.
1051         (4): New abbrev.
1052         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1053         Use prepare_for_testing, remove clean_restart.
1054         (p arraynoloc, p arraycallnoloc): New tests.
1055
1056 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1057
1058         * gdb.cp/namespace-enum.exp (executable): New variable.
1059         (binfile): Use ${objdir}/${subdir}/ prefix.
1060         Use ${executable} for clean_restart.
1061
1062 2011-10-11  Sterling Augustine  <saugustine@google.com>
1063
1064         * gdb.cp/Makefile.in: Add namespace-enum test.
1065         * gdb.cp/namespace-enum.exp: New file.
1066         * gdb.cp/namespace-enum.c: New file.
1067         * gdb.cp/namespace-enum-main.c: New file.
1068
1069 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
1070
1071         * gdb.python/py-shared.exp: Relax filename check to handle remote:
1072         sysroot.
1073
1074 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1075
1076         Reimplement @entry in input expressions.
1077         * gdb.base/exprs.c (v_int_array_init): New variable.
1078         * gdb.base/exprs.exp (print v_int_array_init)
1079         (print *v_int_array_init@1, print *v_int_array_init@2)
1080         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1081         (print v_int_array_init[1]@1): New tests.
1082
1083 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
1084
1085         * gdb.cp/gdb2495.exp: Do not include directories in filename in
1086         expected message.
1087
1088 2011-10-09  Doug Evans  <dje@google.com>
1089
1090         * gdb.base/alias.exp: Add tests for alias command.
1091
1092 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1093
1094         * gdb.arch/amd64-entry-value.s: New file.
1095         * gdb.mi/mi2-amd64-entry-value.s: New file.
1096
1097 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1098
1099         Display @entry parameter values even for references.
1100         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1101         functions.
1102         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
1103         reference and datap_input.
1104         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1105         breakpoints.
1106         (continue to breakpoint: entry_reference: reference)
1107         (entry_reference: bt at entry)
1108         (continue to breakpoint: entry_reference: breakhere_reference)
1109         (entry_reference: bt, entry_reference: ptype regparam)
1110         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1111         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1112         (entry_reference: p regcopy, entry_reference: p nodataparam)
1113         (entry_reference: p nodataparam@entry): New tests.
1114
1115 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1116
1117         Support @entry in input expressions.
1118         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1119         (entry_stack: p s1@entry, entry_stack: p s2@entry)
1120         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1121         (tailcall: p j@entry): New tests.
1122         * gdb.cp/koenig.cc (A::entry): New function.
1123         (main): Call it.
1124         * gdb.cp/koenig.exp (p entry (c)): New test.
1125
1126 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1127
1128         Display @entry parameter values (without references).
1129         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1130         (different, validity, invalid): New functions.
1131         (main): Call them.
1132         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1133         stacktest, breakhere_stacktest, different, breakhere_different,
1134         breakhere_validity and breakhere_invalid.
1135         (entry: bt): Update for @entry.
1136         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1137         (entry_validity: *, entry_invalid: *): Many new tests.
1138         * gdb.base/break.exp
1139         (run until breakpoint set at small function, optimized file): Accept
1140         also the @entry suffix.
1141         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1142         * gdb.mi/mi2-amd64-entry-value.c: New files.
1143         * gdb.mi/mi2-amd64-entry-value.exp: New files.
1144
1145 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1146
1147         Protect entry values against self tail calls.
1148         * gdb.arch/amd64-entry-value.cc (self2, self): New.
1149         (main): Call self.
1150         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1151         (set debug entry-values 1, self: bt debug entry-values): New tests.
1152
1153 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1154
1155         Recognize virtual tail call frames.
1156         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1157         (amb_b, amb_a): New.
1158         (main): Call a and b.
1159         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1160         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1161         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1162         New tests.
1163
1164 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1165
1166         Implement basic support for DW_TAG_GNU_call_site.
1167         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1168         * gdb.arch/amd64-entry-value.cc: New file.
1169         * gdb.arch/amd64-entry-value.exp: New file.
1170
1171 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1172
1173         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1174         * gdb.dwarf2/implptr-64bit.S: New file.
1175         * gdb.dwarf2/implptr-64bit.exp: New file.
1176
1177 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1178
1179         Fix initial language detection with -readnow.
1180         * gdb.cp/readnow-language.cc: New file.
1181         * gdb.cp/readnow-language.exp: New file.
1182
1183 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1184
1185         Fix printed anonymous struct name.
1186         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1187
1188 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
1189
1190         * gdb.base/solib-symbol.exp: Do not include directories in
1191         filenames in expected messages.
1192
1193 2011-10-07  Doug Evans  <dje@google.com>
1194
1195         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1196
1197 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
1198
1199         Allow Python notification of new object-file loadings.
1200         * gdb.python/py-events.exp: Test newobjfile event.
1201         * gdb.python/py-events.py: Register newobjfile callback.
1202         * gdb.python/py-events.c: Add call to shared library
1203         * gdb.python/py-events-shlib.c: New file.
1204
1205 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
1206
1207         * gdb.base/fixsection.exp: Do not include directories in filename
1208         in expected message.
1209
1210 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
1211
1212         Add tests for passing of environment variables to inferior.
1213         * gdb.base/testenv.c: New test source.
1214         * gdb.base/testenv.exp: New expect test.
1215
1216 2011-10-04  Paul Koning  <paul_koning@dell.com>
1217
1218         * gdb.python/py-value.c (main): Break before return.
1219
1220 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
1221
1222         PR python/12691: Add the inferior to Python exited event
1223         * gdb.python/py-events.exp: Test the inferior attribute of exited
1224         event with a fork.
1225         * gdb.python/py-events.py: Print inferior number on exit.
1226         * gdb.python/py-events.c: Fork the inferior.
1227
1228 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1229
1230         * gdb.base/jit.exp: Add testcase name to log message
1231
1232 2011-10-03  Paul Koning  <paul_koning@dell.com>
1233             Jan Kratochvil  <jan.kratochvil@redhat.com>
1234
1235         * gdb.python/py-value.exp
1236         (python inval = gdb.parse_and_eval('*(int*)0'))
1237         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1238         (set argc=2, python print argc_lazy): New tests.
1239
1240 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
1241
1242         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1243
1244 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1245             Pedro Alves  <pedro@codesourcery.com>
1246
1247         * gdb.python/py-value.exp (test_value_in_inferior): New variable
1248         can_read_0, test for it.
1249         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1250         (parse_and_eval with memory error): ... here, make it untested if
1251         can_read_0.
1252
1253 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
1254
1255         * gdb.python/python.exp (verify pagination beforehand)
1256         (verify pagination afterwards): Fix race by splitting the line.
1257
1258 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
1259
1260         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1261         for 64-bit multilibs from i?86-* targets.
1262
1263 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
1264
1265         * lib/gdb.exp: Fix a typo in one of the comments.
1266
1267 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
1268
1269         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1270         matching pattern.
1271
1272 2011-09-28  Paul Koning  <paul_koning@dell.com>
1273
1274         * gdb.python/py-type.c (enum E): New.
1275         * gdb.python/py-type.exp (test_fields): Add tests for Python
1276         mapping access to fields.
1277         (test_enums): New test for field access on enums.
1278
1279 2011-09-27  Stan Shebs  <stan@codesourcery.com>
1280
1281         * gdb.trace/collection.exp: Test collection of $_ret.
1282
1283 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
1284
1285         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1286         list of compilation switches for <*-*-freebsd*>.
1287
1288 2011-09-19  Stan Shebs  <stan@codesourcery.com>
1289
1290         * gdb.trace/tspeed.exp: New file.
1291         * gdb.trace/tspeed.c: New file.
1292
1293 2011-09-18  Yao Qi  <yao@codesourcery.com>
1294
1295         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1296         instructions.
1297         (test_adr_32bit, test_pop_pc): Likewise.
1298         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1299         Thumb instructions.
1300         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1301         in gdb_test_multiple.
1302         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1303
1304 2011-09-17  Yao Qi  <yao@codesourcery.com>
1305
1306         * lib/gdb.exp (can_single_step_to_signal_handler): New.
1307         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
1308         support single step to signal handler.
1309
1310 2011-09-17  Yao Qi  <yao@codesourcery.com>
1311
1312         * gdb.base/disp-step-fork.c: New.
1313         * gdb.base/disp-step-syscall.exp: New.
1314         * gdb.base/disp-step-vfork.c: New.
1315
1316 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
1317
1318         * gdb.ada/tasks.exp: Make the expected output for
1319         the `info tasks' tests more resilient to spacing
1320         changes.
1321
1322 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1323
1324         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1325         (reached breakpoint 2, reached breakpoint 3): Update expected output.
1326
1327 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
1328
1329         PR Python/12692 Add gdb.selected_inferior() to Python interface.
1330         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1331
1332 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
1333
1334         Handle multiple breakpoint hits in Python interface:
1335         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1336         presence.
1337         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1338         breakpoint hits.
1339
1340 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
1341             Jan Kratochvil  <jan.kratochvil@redhat.com>
1342
1343         * gdb.python/py-events.exp: Remove pretty printing comment.
1344         * gdb.python/py-evsignal.exp: New file.
1345         * gdb.python/py-evthreads.c: Include signal.h.
1346         (thread3): Remove variable count3.  Remove variable bad and use raise
1347         instead.
1348         (thread2): Remove variable count2.  Move thread3 pthread_create here,
1349         merge pthread_join to a single line.
1350         (main): Remove variable count1.  Merge pthread_join with pthread_create
1351         to a single line.
1352         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
1353         KFAIL python/12966 for gdbserver.  Test return value of
1354         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
1355         gdb_expect by gdb_test and gdb_test_multiple.
1356         (thread 2, thread 3): New tests.
1357
1358 2011-09-12  Matt Rice  <ratmice@gmail.com>
1359             Pedro Alves  <pedro@codesourcery.com>
1360
1361         PR gdb/13175
1362
1363         * gdb.base/interp.exp: New tests.
1364         * gdb.base/interp.c: New file.
1365
1366 2011-09-12  Doug Evans  <dje@google.com>
1367
1368         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1369         * gdb.dwarf2/typeddwarf.exp: Ditto.
1370
1371 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1372
1373         Fix compatibility with x32 arch.
1374         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1375         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1376         is_x86_like_target.
1377         * testsuite/gdb.trace/collection.exp: Likewise.
1378         * testsuite/gdb.trace/report.exp: Likewise.
1379         * testsuite/gdb.trace/unavailable.exp: Likewise.
1380         * testsuite/gdb.trace/while-dyn.exp: Likewise.
1381         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1382         (is_x86_like_target): Check also is_amd64_regs_target.
1383
1384 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1385
1386         PR breakpoints/12435
1387         * gdb.arch/amd64-prologue-xmm.c: New file.
1388         * gdb.arch/amd64-prologue-xmm.exp: New file.
1389         * gdb.arch/amd64-prologue-xmm.s: New file.
1390
1391 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1392
1393         * gdb.dwarf2/dw2-param-error-main.c: New file.
1394         * gdb.dwarf2/dw2-param-error.S: New file.
1395         * gdb.dwarf2/dw2-param-error.exp: New file.
1396
1397 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
1398
1399         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1400         inferior's pid and look for a core dump named core.$pid.  Use
1401         `remote_file' commands on the host instead of hand coding shell
1402         commands on the build.
1403         * gdb.base/valgrind-db-attach.exp: Kill the program before
1404         finishing the test.
1405
1406 2011-09-02  Matt Rice  <ratmice@gmail.com>
1407
1408         * lib/prompt.exp: New file for testing the first prompt.
1409         * gdb.python/py-prompt.exp: Ditto.
1410         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1411
1412 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
1413
1414         * gdb.threads/gcore-thread.exp: Set the global core_supported to
1415         0, before testing gcore.
1416
1417 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1418
1419         * dw2-ifort-parameter-debug.S: Update copyright year.
1420         * dw2-ifort-parameter.c: Update copyright year.
1421         * dw2-ifort-parameter.exp: Update copyright year.
1422
1423         * dw2-ifort-parameter-debug.S: New file.
1424         * dw2-ifort-parameter.c: New file.
1425         * dw2-ifort-parameter.exp: New file.
1426
1427 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1428
1429         * gdb.base/commands.exp (error_clears_commands_left): New function.
1430         (): Call it.
1431
1432 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1433
1434         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1435         (C): Initialize `a'.
1436         * gdb.mi/mi-inheritance-syntax-error.exp
1437         (-data-evaluate-expression $path):  Expect `a' as 5.
1438
1439 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
1440
1441         PR mi/11912
1442         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1443         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1444         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1445         keyword in output of -var-info-path-expression.
1446
1447 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1448
1449         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1450         * gdb.trace/collection.exp: Likewise.
1451         * gdb.trace/report.exp: Likewise.
1452         * gdb.trace/unavailable.exp: Likewise.
1453         * gdb.trace/while-dyn.exp: Likewise.
1454
1455 2011-08-18  Keith Seitz  <keiths@redhat.com>
1456
1457         PR c++/12266
1458         * gdb.cp/meth-typedefs.cc: New file.
1459         * gdb.cp/meth-typedefs.exp: New file.
1460
1461 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
1462
1463         * gdb.python/python.exp: Add extended-prompt tests.
1464
1465 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1466
1467         * gdb.arch/i386-dr3-watch.exp
1468         (watchpoint on gap1 does not fit debug registers)
1469         (delete all watchpoints): Fix racy expect strings.
1470
1471 2011-08-14  Yao Qi  <yao@codesourcery.com>
1472
1473         * gdb.base/maint.exp: set data_section to ".neardata".
1474         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1475         * gdb.base/savedregs.exp: Handle SIGILL.
1476         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1477         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1478
1479 2011-08-12  Doug Evans  <dje@google.com>
1480
1481         * gdb.python/py-symbol.exp: Add test for symbol.type.
1482
1483 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
1484
1485         * gdb.threads/pthreads.exp: Enable on non-native configurations.
1486         * gdb.mi/mi-pthreads.exp: Likewise.
1487         * gdb.mi/mi2-pthreads.exp: Likewise.
1488         * gdb.mi/gdb669.exp.exp: Likewise.
1489
1490 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1491
1492         * lib/mi-support.exp (detect_async): Rename to...
1493         (mi_detect_async): ... this.
1494         * gdb.mi/mi-nonstop-exit.exp: Adjust.
1495         * gdb.mi/mi-nonstop.exp: Adjust.
1496         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1497         * gdb.mi/mi-nsintrall.exp: Adjust.
1498         * gdb.mi/mi-nsmoribund.exp: Adjust.
1499         * gdb.mi/mi-nsthrexec.exp: Adjust.
1500
1501 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
1502
1503         * gdb.base/display.c (do_loops): New `p_i' local.
1504         * gdb.base/display.exp: Test displaying a variable that is
1505         temporarily at a bad address.
1506
1507 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1508
1509         * gdb.dwarf2/dw2-op-stack-value.S: New file.
1510         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1511
1512 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1513
1514         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1515         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1516         (p fuNC_symtab): Permit also ppc64 leading dot.
1517
1518 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
1519
1520         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1521         procedure.
1522         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1523
1524 2011-08-05  Yao Qi  <yao@codesourcery.com>
1525
1526         * gdb.base/callfuncs.exp: Set language after main.
1527         * gdb.cp/cplusfuncs.exp: Likewise.
1528         * gdb.cp/inherit.exp: Likewise.
1529
1530 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1531
1532         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1533         * gdb.base/watch-vfork.exp: Skip on remote targets.
1534
1535 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1536
1537         * gdb.threads/thread-find.exp: Support remote targets.
1538
1539 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
1540
1541         * gdb.base/jit.exp: Download solib_binfile to target.
1542         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
1543         and call dlopen without full path name.
1544         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1545         dlopen without full path name.
1546
1547 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1548
1549         * gdb.base/break-always.exp: Complete the test
1550         with duplicated breakpoints and enabling/disabling them.
1551
1552 2011-08-02  Tom Tromey  <tromey@redhat.com>
1553
1554         PR gdb/11289:
1555         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
1556
1557 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1558
1559         PR gdb/13045
1560         * gdb.base/float.exp: Add new test case for PR gdb/13045
1561         * gdb.base/float.c: New file.
1562
1563 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
1564
1565         * gdb.python/py-mi.exp: Test printers returning string hint, and
1566         also not returning a value.
1567         * gdb.python/py-prettyprint.c: Add testcase for above.
1568         * gdb.python/py-prettyprint.py: Add test printer for above.
1569
1570 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1571
1572         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1573         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1574         (.Ldie30) Add as field "data4".
1575         (.Ldie32) Rename field "b" to "shl".
1576         (abbrev4) Change for the "data4" field.
1577         (abbrev5, abbrev6) Remove.
1578         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1579         (p &s.shl): ... here.  Add comment.
1580         (p &s.data4): New.
1581
1582 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1583
1584         Fix crash on lval_computed values.
1585         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1586
1587 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1588
1589         * gdb.base/help.exp (help whatis): Update the expected string.
1590
1591 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1592
1593         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1594         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1595         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1596         Change the expected string.
1597
1598 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
1599
1600         * gdb.base/watchpoint.exp
1601         (test_disable_enable_software_watchpoint): New procedure.
1602         (top level): Run it.
1603
1604 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
1605
1606         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
1607         executable file "${binfile}", C++ version "${binfile}-cxx".
1608         * gdb.python/py-prettyprint.exp: Likewise.
1609         * gdb.python/py-symbol.exp: Likewise.
1610         * gdb.python/py-type.exp: Likewise.
1611         * gdb.python/py-value.exp: Likewise.
1612         * gdb.python/py-template.exp (test_template_arg): Pass full executable
1613         file name instead of just suffix.
1614
1615 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1616
1617         Fix implicit pointer offsets.
1618         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1619         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1620         (continue to breakpoint: continue to baz breakpoint for implptr)
1621         (sanity check element 0, sanity check element 1)
1622         (enter the inlined function, check element 0 for the offset)
1623         (check element 1 for the offset)
1624         (continue to breakpoint: ignore the second baz breakpoint): New tests.
1625         (set foo breakpoint for implptr): Update the breakpoint number.
1626
1627 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1628
1629         * gdb.python/py-mi.exp: Use different file names for different
1630         versions of the executable under test.
1631         * gdb.python/py-prettyprint.exp: Likewise.
1632         * gdb.python/py-symbol.exp: Likewise.
1633         * gdb.python/py-template.exp: Likewise.
1634         * gdb.python/py-type.exp: Likewise.
1635         * gdb.python/py-value.exp: Likewise.
1636
1637 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1638
1639         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1640         flag after restarting GDB if necessary.
1641
1642 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
1643
1644         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1645
1646 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
1647
1648         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1649         backend doesn't leave used debug registers behind.
1650
1651 2011-07-22  Tom Tromey  <tromey@redhat.com>
1652
1653         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1654         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1655         argument.
1656         * gdb.dwarf2/typeddwarf-amd64.S: New file.
1657
1658 2011-07-21  Matt Rice  <ratmice@gmail.com>
1659
1660         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1661         in mostlyclean rule.  Add files ending in .core.
1662
1663 2011-07-21  Matt Rice  <ratmice@gmail.com>
1664
1665         PR macros/12999
1666         * gdb.base/info-macros.c: New test sources.
1667         * gdb.base/info-macros.exp: New tests.
1668
1669 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
1670
1671         * gdb.python/python.exp: Add prompt substitution tests.
1672
1673 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1674
1675         Fix crash if referenced CU is aged out.
1676         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1677         New.
1678         * gdb.dwarf2/implptr.exp: Likewise.
1679
1680 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1681
1682         * gdb.dwarf2/implptr.S: Rebuilt.
1683         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1684         (bar): Use them for j, k, l.
1685         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
1686         COMPILE.
1687         (print j in implptr:bar): Update for the intp typedef.
1688         (print p[0].x in implptr:foo): Use more exact regex.
1689
1690 2011-07-18  Tom Tromey  <tromey@redhat.com>
1691
1692         * gdb.cp/static-method.exp: Add missing single quote.
1693
1694 2011-07-18  Yao Qi  <yao@codesourcery.com>
1695
1696         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1697         supported.
1698         * gdb.mi/mi-nonstop-exit.exp: Likewise.
1699         * gdb.mi/mi-nonstop.exp: Likewise.
1700         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1701         * gdb.mi/mi-nsintrall.exp: Likewise.
1702         * gdb.mi/mi-nsmoribund.exp: Likewise.
1703         * gdb.mi/mi-nsthrexec.exp: Likewise.
1704         * gdb.python/py-evthreads.exp: Likewise.
1705
1706 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1707
1708         Code cleanup.
1709         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
1710         it.  Substitute it instead of test_compiler_info everywhere.
1711
1712 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1713
1714         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
1715         remote targets as well.
1716
1717 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1718
1719         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1720         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
1721
1722 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
1723
1724         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1725         a remote machine, not the host.
1726         (gdb_compile_shlib): Set soname if target is remote.
1727
1728 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1729
1730         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1731
1732 2011-07-13  Matt Rice <ratmice@gmail.com>
1733
1734         * gdb.python/py-objfile-script-gdb.py: Renamed to
1735         py-objfile-script-gdb.py.in.
1736         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1737         py-objfile-script-gdb.py.
1738         * gdb.python/py-objfile-script.exp: Update reference to
1739         py-objfile-script-gdb.py.
1740
1741 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1742
1743         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1744         reference undefined label.
1745
1746 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1747
1748         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1749         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1750         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1751         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1752
1753 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
1754
1755         PR python/12438
1756         * gdb.python/python.exp: Add maint set/show python print-stack
1757           deprecated tests.  Add set/show python print-backtrace tests.
1758
1759 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1760
1761         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1762         debug info.
1763
1764 2011-07-06  Matt Rice  <ratmice@gmail.com>
1765
1766         * gdb.python/python.exp: Update filename paths.
1767         * gdb.python/py-symtab.exp: Ditto.
1768
1769 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1770
1771         * gdb.python/py-evthreads.exp: Add missing `$'.
1772
1773 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
1774
1775         * config/bfin.exp: New file.
1776         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1777         * gdb.asm/bfin.inc: New file.
1778
1779 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
1780
1781         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1782         the whole output.
1783
1784 2011-07-05  Tom Tromey  <tromey@redhat.com>
1785
1786         * gdb.java/jprint.java (jprint.hi): New field.
1787         * gdb.java/jprint.exp: Print string.
1788
1789 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
1790
1791         * gdb.base/call-sc.c: Fix typos.
1792         * gdb.base/ifelse.exp: Likewise.
1793         * gdb.base/structs.c: Likewise.
1794
1795 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1796
1797         * gdb.base/jit-so.exp: New test.
1798         * gdb.base/jit-dlmain.c: New file.
1799         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1800
1801 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1802
1803         * gdb.cp/m-static.exp: Call get_compiler_info.
1804         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1805         * gdb.cp/pr9167.exp (p b): Likewise.
1806         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1807         (test value of P in inner_m, test type of Z in inner_m): Call
1808         setup_xfail for gcc <= 4.5.
1809
1810 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1811
1812         * gdb.cp/paren-type.cc: New files.
1813         * gdb.cp/paren-type.exp: New files.
1814
1815 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1816
1817         Stop on first linespec terminator instead of eating what we can.
1818         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1819         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1820         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1821         (break C::f()): ... this one.
1822         (break C::operator()()): New test.
1823         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1824         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1825         test.
1826
1827 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1828
1829         Fall back linespec to minimal symbols.
1830         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1831         error message.
1832         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1833         * gdb.cp/minsym-fallback-main.cc: New file.
1834         * gdb.cp/minsym-fallback.cc: New file.
1835         * gdb.cp/minsym-fallback.exp: New file.
1836         * gdb.cp/minsym-fallback.h: New file.
1837
1838 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1839
1840         * gdb.cp/no-dmgl-verbose.cc: New file.
1841         * gdb.cp/no-dmgl-verbose.exp: New file.
1842
1843 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1844
1845         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1846         __GI_.
1847         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1848         (f): New function.
1849         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1850         (complete p 'func<short>(): ... here.
1851         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1852         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1853         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1854         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1855         Make them KFAIL gcc/49546.
1856
1857 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1858
1859         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1860
1861 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1862
1863         Test GCC PR debug/49546.
1864         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1865         (test type of F in k3_m, test value of F in k3_m): New.
1866         * gdb.cp/temargs.cc (struct S3, struct K3): New.
1867         (main): New variable k3.  Call k3.k3_m.
1868
1869 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1870
1871         * gdb.ada/packed_array.exp: Fix expected outout.
1872
1873 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
1874
1875         * gdb.ada/packed_array.exp: fixed expected output.
1876
1877 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1878
1879         * gdb.ada/same_enum: New testcase.
1880
1881 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1882
1883         * gdb.ada/ptr_typedef: New testcase.
1884
1885 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1886
1887         * gdb.ada/arrayptr.exp: Add ptype test.
1888
1889 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
1890
1891         * gdb.ada/char_enum: New testcase.
1892
1893 2011-07-01  Yao Qi  <yao@codesourcery.com>
1894
1895         * gdb.base/dump.exp (capture_pointer_with_type): New.
1896         Get value from address instead of name.
1897         Start GDB once, and do `dump' and `restore'
1898         tests together.
1899
1900 2011-06-30  Jie Zhang <jie.zhang@analog.com>
1901             Mike Frysinger  <vapier@gentoo.org>
1902
1903         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1904         helper functions for getting/setting remotetimeout variable.
1905         * lib/gdb.exp (gdb_load): If the target is remote, set
1906         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1907         with $loadtimeout.  Set $load_ok to 0 before doing the load.
1908         Instead of returning, immediately, set $load_ok to 0.  Call
1909         set_remotetimeout with $oldremotetimeout, and then return if
1910         $load_ok is 1.
1911
1912 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
1913
1914         * gdb.python/py-template.exp: Don't run this test if the target
1915         does not support c++ tests.
1916
1917 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1918
1919         Fix non-only rename list for Fortran modules import.
1920         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1921         tests.
1922         * gdb.fortran/module.f90 (module moduse): New.
1923         (program module): use moduse, test var_x, var_y and var_z.
1924
1925 2011-06-29  Tom Tromey  <tromey@redhat.com>
1926
1927         PR testsuite/12040:
1928         * gdb.fortran/array-element.exp: Use f90, not f77.
1929         * gdb.fortran/complex.exp: Use f90, not f77.
1930         * gdb.fortran/derived-type.exp: Use f90, not f77.
1931         * gdb.fortran/library-module.exp: Use f90, not f77.
1932         * gdb.fortran/logical.exp: Use f90, not f77.
1933         * gdb.fortran/module.exp: Use f90, not f77.
1934         * gdb.fortran/multi-dim.exp: Use f90, not f77.
1935         * gdb.fortran/subarray.exp: Use f90, not f77.
1936
1937 2011-06-29  Tom Tromey  <tromey@redhat.com>
1938
1939         * gdb.fortran/charset.exp: New file.
1940         * gdb.fortran/charset.f90: New file.
1941
1942 2011-06-29  Tom Tromey  <tromey@redhat.com>
1943
1944         PR testsuite/12040:
1945         * lib/future.exp: New file, mostly extracted from ada.exp.
1946         Rewrote compatibility code to use rename.
1947         (gdb_find_gfortran): New proc.
1948         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1949         gfortran patch.
1950         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1951         Move to future.exp.
1952         * lib/gdb.exp: Always load future.exp.
1953
1954 2011-06-28  Yao Qi  <yao@codesourcery.com>
1955
1956         * gdb.cp/exception.cc: Don't include iostream.
1957         (bar): Remove print statement.
1958         (catcher): New.
1959         (main): Remove print statements.  Call function catcher.
1960         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1961         Set breakpoint on catcher, and check the value of parameter.
1962
1963 2011-06-23  Yao Qi  <yao@codesourcery.com>
1964
1965         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1966         1.2 is disabled.  KFAIL for uclinux.
1967
1968 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1969
1970         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1971         mi_gdb_test.
1972
1973 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1974
1975         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1976
1977 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1978
1979         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1980
1981 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
1982
1983         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
1984         `test_exec_and_symbol_mi_operatons' return value.
1985         (test_mi_interpreter_selection): Use mi_gdb_test instead of
1986         gdb_test_multiple.
1987         (test_exec_and_symbol_mi_operatons): Likewise.
1988         (test_path_specification): Likewise.
1989
1990 2011-06-23  Yao Qi  <yao@codesourcery.com>
1991
1992         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1993         supported.
1994         * lib/gdb.exp (support_displaced_stepping): New.
1995
1996 2011-06-23  Yao Qi  <yao@codesourcery.com>
1997
1998         * gdb.threads/execl.exp: Skip on remote target.
1999
2000 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
2001
2002         * gdb.mi/mi-var-display.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-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
2008
2009 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
2010
2011         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
2012         mi_gdb_test.
2013
2014 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
2015
2016         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2017
2018 2011-06-14  Yao Qi  <yao@codesourcery.com>
2019
2020         gdb/testsuite/
2021         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2022
2023 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
2024
2025         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2026
2027 2011-06-10  Tom Tromey  <tromey@redhat.com>
2028
2029         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2030         Add tests for pointer-to-member-function.
2031         * gdb.cp/temargs.cc (S::somefunc): New function.
2032         (K2): New class.
2033         (main): Instantiate K2; call method.
2034
2035 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
2036
2037         * gdb.python/py-inferior.c (f2): Make str an array rather
2038         than a pointer.
2039         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2040
2041 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2042
2043         * gdb.base/async-shell.c: New file.
2044         * gdb.base/async-shell.exp: New file.
2045
2046 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
2047
2048         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2049
2050 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
2051
2052         From Stephen Kitt  <steve@sk2.org>
2053         * gdb.base/help.exp: Adjust following some spelling corrections
2054         in GDB.
2055
2056 2011-06-01  Yao Qi  <yao@codesourcery.com>
2057
2058         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2059
2060 2010-05-31  Keith Seitz  <keiths@redhat.com>
2061
2062         PR c++/12750
2063         * gdb.cp/static-method.cc: New file.
2064         * gdb.cp/static-method.exp: New file.
2065
2066 2010-05-31  Keith Seitz  <keiths@redhat.com>
2067
2068         PR symtab/12704
2069         * gdb.cp/anon-ns.cc: New file.
2070         * gdb.cp/anon-ns.exp: New file.
2071
2072 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
2073
2074         * gdb.arch/i386-dr3-watch.c: New file.
2075         * gdb.arch/i386-dr3-watch.exp: New file.
2076
2077 2011-05-30  Yao Qi  <yao@codesourcery.com>
2078
2079         * gdb.base/callfuncs.c (t_structs_fc): New.
2080         (t_structs_dc, t_structs_ldc): New.
2081         (t_double_many_args):
2082         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2083         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2084         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2085         * gdb.base/callfuncs.exp: Call new functions.
2086
2087 2011-05-30  Yao Qi  <yao@codesourcery.com>
2088
2089         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2090         Call rerun_and_prepare for each test to isolate effects.
2091
2092 2011-05-30  Yao Qi  <yao@codesourcery.com>
2093
2094         * gdb.base/varargs.c (find_max_float_real): New.
2095         (find_max_double_real, find_max_long_double_real): New.
2096         * gdb.base/varargs.exp: Call these new added functions.
2097         * lib/gdb.exp (setup_kfail_for_target): New.
2098
2099 2011-05-30  Yao Qi  <yao@codesourcery.com>
2100
2101         * gdb.base/funcargs.c (callca, callcb, callcc): New.
2102         (callcd, callce, callcf, callc1a, callc1b): New.
2103         (callc2a, callc2b): New.
2104         * gdb.base/funcargs.exp (complex_args): New.
2105         (complex_integral_args, complex_float_integral_args): New.
2106         * lib/gdb.exp (support_complex_tests): New.  Determine
2107         whether to run test cases on _Complex types.
2108
2109 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2110
2111         * gdb.threads/leader-exit.c: New file.
2112         * gdb.threads/leader-exit.exp: New file.
2113
2114 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
2115
2116         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2117
2118 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
2119
2120         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2121         remove the `supported' variable.
2122         * gdb.mi/mi-nonstop.exp: Likewise.
2123         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2124         * gdb.mi/mi-nsintrall.exp: Likewise.
2125         * gdb.mi/mi-nsmoribund.exp: Likewise.
2126         * gdb.mi/mi-nsthrexec.exp: Likewise.
2127
2128 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
2129
2130         * gdb.reverse/finish-reverse-bkpt.exp: New test.
2131
2132 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
2133
2134         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2135
2136 2011-05-24  Keith Seitz  <keiths@redhat.com>
2137
2138         PR breakpoint/12803
2139         * gdb.cp/cmpd-minsyms.cc (a): New method.
2140         (b): New method.
2141         (c): New method.
2142         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2143
2144 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
2145
2146         * gdb.base/commands.exp (watchpoint_command_test): Check that the
2147         watchpoint's command list didn't execute when the watchpoint went
2148         out of scope.
2149
2150 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
2151
2152         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2153         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2154         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2155         * gdb.arch/i386-gnu-cfi.exp: Likewise.
2156         * gdb.arch/i386-permbkpt.exp: Likewise.
2157         * gdb.arch/i386-prologue.exp: Likewise.
2158         * gdb.arch/i386-size-overlap.exp: Likewise.
2159         * gdb.arch/i386-size.exp: Likewise.
2160         * gdb.arch/i386-unwind.exp: Likewise.
2161         * gdb.reverse/i386-precsave.exp: Likewise.
2162         * gdb.reverse/i386-reverse.exp: Likewise.
2163         * gdb.reverse/i386-sse-reverse.exp: Likewise.
2164         * gdb.reverse/i387-env-reverse.exp: Likewise.
2165         * gdb.reverse/i387-stack-reverse.exp: Likewise.
2166
2167 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
2168
2169         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2170         file doesn't error, using MI.
2171
2172 2011-05-23  Tom Tromey  <tromey@redhat.com>
2173
2174         * gdb.base/charset.exp (string_display): Add tests to assign to
2175         arrays.
2176         * gdb.base/charset.c (short_array, int_array, long_array): New.
2177
2178 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
2179
2180         Cope with async mode.
2181
2182         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2183         into gdb_test + mi_expect_stop.
2184
2185 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
2186
2187         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2188         (callme): Remove printf call.
2189
2190 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
2191
2192         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2193         quote pattern to avoid problems with Cygwin/mingw expect versions.
2194         * gdb.base/default.exp (show convenience): Use double
2195         quote pattern for regular expressions.
2196
2197 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2198
2199         Fix -readnow for -gdwarf-4 unused type units.
2200         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2201         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2202
2203 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2204
2205         * gdb.base/kill-after-signal.c: New file.
2206         * gdb.base/kill-after-signal.exp: New file.
2207
2208 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
2209
2210         * gdb.ada/start.exp: Call untested with the correct test filename.
2211         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2212         test filename.  Make the test's binary unique.
2213         * gdb.arch/i386-signal.exp: Call untested with the correct test
2214         filename.
2215         * gdb.arch/i386-size-overlap.exp: Ditto.
2216         * gdb.arch/Makefile.in (EXECUTABLES): Update.
2217         * gdb.base/gcore-buffer-overflow.exp: Ditto.
2218         * gdb.cp/call-c.exp: Ditto.
2219         * gdb.mi/mi-reverse.exp: Call untested with the correct test
2220         filename.  Make the test's binary unique.
2221         * gdb.mi/Makefile.in (EXECUTABLES): Update.
2222         * gdb.python/py-mi.exp: Ditto.
2223         * gdb.python/Makefile.in (EXECUTABLES): Update.
2224         * gdb.reverse/i386-precsave.exp: Ditto.
2225         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2226         test filename.
2227         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2228         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
2229         unique.
2230         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2231         test filename.
2232         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2233         * gdb.trace/tfile.exp: Ditto.
2234
2235 2011-05-14  Yao Qi  <yao@codesourcery.com>
2236
2237         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2238         type.
2239
2240 2011-05-13  Doug Evans  <dje@google.com>
2241
2242         * gdb.python/py-objfile-script.exp: New file.
2243         * gdb.python/py-objfile-script.c: New file.
2244         * gdb.python/py-objfile-script-gdb.py: New file.
2245         * testsuite/gdb.python/py-section-script.exp: Test
2246         "info auto-load-scripts".
2247
2248 2011-05-13  Tom Tromey  <tromey@redhat.com>
2249
2250         * gdb.dwarf2/clztest.exp: New file.
2251         * gdb.dwarf2/clztest.c: New file.
2252         * gdb.dwarf2/clztest.S: New file.
2253
2254 2011-05-13  Doug Evans  <dje@google.com>
2255
2256         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2257         String16 tests.
2258
2259 2011-05-13  Tom Tromey  <tromey@redhat.com>
2260
2261         * lib/gdb.exp (is_x86_like_target): New proc.
2262         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2263         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2264         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
2265         -nostdlib to compiler.
2266         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2267         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2268         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2269         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2270         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2271
2272 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2273
2274         * gdb.python/py-function.exp: Test setting a value from a function
2275         which executes a command.
2276
2277 2011-05-12  Tom Tromey  <tromey@redhat.com>
2278
2279         * gdb.dwarf2/typeddwarf.S: New file.
2280         * gdb.dwarf2/typeddwarf.c: New file.
2281         * gdb.dwarf2/typeddwarf.exp: New file.
2282
2283 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
2284
2285         * gdb.mi/mi-basics.exp: Fix races.  Honour the
2286         `test_exec_and_symbol_mi_operatons' return value.
2287         (test_mi_interpreter_selection): Use mi_gdb_test instead of
2288         gdb_test_multiple.
2289         (test_exec_and_symbol_mi_operatons): Likewise.
2290         (test_path_specification): Likewise.
2291
2292 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2293
2294         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2295         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
2296         Replace `file copy' and `file rename' by `file mtime'.  Twice.
2297
2298 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2299
2300         * gdb.base/readline-ask.c: New file.
2301         * gdb.base/readline-ask.exp: New file.
2302         * gdb.base/readline-ask.inputrc: New file.
2303
2304 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2305
2306         * gdb.cell/bt.exp: Delete breakpoints before running to signal
2307         to avoid race condition.
2308         * gdb.cell/coremaker.c: Use small stack size.
2309         * gdb.cell/ea-standalone.exp: Use file name without path as
2310         argument to c_to.
2311         * gdb.cell/fork.exp: Allow other output when continuing to end.
2312
2313 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2314
2315         * gdb.threads/corethreads.c: New file.
2316         * gdb.threads/corethreads.exp: New file.
2317
2318 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2319
2320         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2321         Try to compile the test using -Wl,-z,norelro first.
2322         (load_core): New variable libthread_db_seen, initialize it.
2323         (zeroed-threads cannot be listed): Protect it by XFAIL on
2324         !$libthread_db_seen.
2325
2326 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2327
2328         PR 12573
2329         * gdb.dwarf2/dw2-skip-prologue.S: New file.
2330         * gdb.dwarf2/dw2-skip-prologue.c: New file.
2331         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2332
2333 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2334
2335         * gdb.cp/psymtab-parameter.cc: New file.
2336         * gdb.cp/psymtab-parameter.exp: New file.
2337
2338 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2339
2340         Fix a race.
2341         * gdb.cp/static-print-quit.exp (print c): Split to ...
2342         (print c - <return>, print c - q <return>, print c - to quit):
2343         ... these.  Make the testfile untested on gdb-7.1.
2344
2345 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
2346
2347         * lib/gdb.exp (exec_target_file, exec_symbol_file,
2348         gdb_rename_execfile, gdb_touch_execfile): New.
2349         * gdb.base/reread.exp: Use new procs to handle multiple
2350         exec files.
2351
2352 2011-05-05  Yao Qi  <yao@codesourcery.com>
2353
2354         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2355         (test_adr_32bit, test_pop_pc): New.
2356         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2357         (test_adr_32bit, test_pop_pc): New.
2358
2359 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
2360
2361         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2362         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2363         targets.
2364         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2365         handle targets.
2366
2367 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2368
2369         * gdb.base/completion.exp (complete help info wat): Rename to ...
2370         (complete 'help info wat'): ... here.
2371         Remove all `-re ".*' and `-re "^.*' redundant regexes.
2372         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2373
2374 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
2375
2376         * gdb.base/completion.exp: Use gdb_test_multiple instead of
2377         gdb_test and explicit $gdb_prompt/timeout matches.
2378
2379 2011-05-04  Yao Qi  <yao@codesourcery.com>
2380
2381         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2382         and __thumb2__.
2383
2384 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
2385
2386         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2387         in place of `gdb_test "delete breakpoints"'.  This eliminates two
2388         testcases.
2389
2390 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
2391
2392         PR testsuite/12649
2393         Fix races.
2394
2395         * gdb.base/completion.exp: Remove all sleep calls.  Remove
2396         unnecessary regexs.  Don't explicitly expect anything after the
2397         prompt.  Eat the prompt if necessary.
2398
2399 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2400
2401         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2402         accept to show the caller line again as well as the line after.
2403
2404 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
2405
2406         PR mi/12531
2407
2408         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2409         compile target.
2410         * gdb.python/py-prettyprint.exp: Add C++ object for
2411         CPLUS_FAKE_CHILD test.
2412
2413 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
2414
2415         * gdb.base/signest.exp: New file.
2416         * gdb.base/signest.c: Likewise.
2417
2418 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2419
2420         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2421         thread and breakpoint notifications.
2422
2423 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2424
2425         * gdb.base/fortran-sym-case.c: New file.
2426         * gdb.base/fortran-sym-case.exp: New file.
2427         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2428         * gdb.dwarf2/dw2-case-insensitive.c: New file.
2429         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2430
2431 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2432
2433         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2434         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2435         false #1', `if true else false #2' and `if true else false #3'.
2436
2437 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
2438
2439         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2440         while delivering signal.
2441
2442 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
2443
2444         MI breakpoint notifications.
2445
2446         * testsuite/gdb.mi/mi-cli.exp: Adust.
2447         * testsuite/gdb.mi/mi2-cli.exp: Adust.
2448         * testsuite/gdb.mi/mi-watch.exp: Adust.
2449         * testsuite/gdb.mi/mi2-watch.exp: Adust.
2450         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2451         notifications.
2452
2453 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2454
2455         * gdb.base/gdbindex-stabs-dwarf.c: New file.
2456         * gdb.base/gdbindex-stabs.c: New file.
2457         * gdb.base/gdbindex-stabs.exp: New file.
2458
2459 2011-04-25  Yao Qi  <yao@codesourcery.com>
2460
2461         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2462         with /*...*/.
2463         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2464
2465 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2466
2467         * gdb.python/py-value.exp (test_objfiles): Name the first test
2468         `py-value in file.filename'.
2469
2470 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2471
2472         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2473         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2474         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2475         !gdbserver_reconnect_p..
2476         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2477
2478 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2479
2480         * gdb.cp/cpcompletion.exp (complete class methods)
2481         (complete class methods beginning with F): Move them above runto.  New
2482         comment about the runto delimiter.
2483
2484 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
2485
2486         * gdb.base/maint.exp: Test that "maint print registers" works
2487         without a running program.
2488
2489 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
2490
2491         * gdb.base/setshow.exp: Fix racy tests.
2492         ($old_gdb_prompt): New variable.
2493
2494 2011-04-19  Tom Tromey  <tromey@redhat.com>
2495
2496         * gdb.mi/mi-nsmoribund.exp:
2497         * gdb.hp/gdb.objdbg/objdbg01.exp:
2498         * gdb.base/structs.exp (test_struct_returns):
2499         * gdb.base/call-sc.exp (test_scalar_returns):
2500         * gdb.base/bigcore.exp: Remove duplicate words.
2501
2502 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2503
2504         * gdb.base/break-interp-lib.c (v, vptr): New variables.
2505         * gdb.base/break-interp.exp (test_attach): New comment.
2506
2507 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2508
2509         * gdb.threads/gcore-thread.exp ($core0file): New variable.
2510         (clear __stack_user.next, clear stack_used.next)
2511         (save a zeroed-threads corefile): New test.
2512         Call core_load for $core0file.
2513         (zeroed-threads cannot be listed): New test.
2514
2515 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2516
2517         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2518         filename.
2519         ($srcfile): Preserve the original value.
2520         ($testfile): Match it the .exp filename.
2521         ($corefile): New variable.  Substitute it around.
2522         Use clean_restart.
2523         ($prev_timeout): Remove.
2524         (load_core): Move core loading into this proc.
2525         Fix restore of $timeout if load_core fails.
2526
2527 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2528
2529         * gdb.base/eu-strip-infcall.c: New file.
2530         * gdb.base/eu-strip-infcall.exp: New file.
2531
2532 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2533
2534         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2535         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2536
2537 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2538
2539         Fix Python access to inlined frames.
2540         * gdb.python/py-frame-inline.c: New file.
2541         * gdb.python/py-frame-inline.exp: New file.
2542
2543 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2544
2545         * gdb.base/gdb1090.exp: Change breakpoint location to read the
2546         content of 's24' correctly (avoiding "optimized out").
2547         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2548
2549 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2550
2551         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2552
2553 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2554
2555         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2556         expect a colon in watch -location output.
2557
2558 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
2559
2560         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2561         New testcase `expect response to define backtrace'.  Also remove
2562         redundant `default' block.
2563
2564 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2565
2566         * gdb.python/py-prettyprint.c (struct hint_error): New.
2567         (main): New variable hint_error.
2568         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2569         "print hint_error".
2570         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2571         (register_pretty_printers): Register it.
2572
2573 2011-04-04  Tom Tromey  <tromey@redhat.com>
2574
2575         * gdb.cp/maint.exp (test_help): Update.
2576         (test_namespace): Likewise.
2577
2578 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2579
2580         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2581         * gdb.ada/arrayptr.exp: Add new tests.
2582
2583 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
2584
2585         * gdb.ada/mi_catch_ex: New testcase.
2586
2587 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
2588
2589         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2590         base::overload(void) method without specifying "const".
2591
2592 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2593
2594         * gdb.arch/thumb-singlestep.S: New file.
2595         * gdb.arch/thumb-singlestep.exp: Likewise.
2596
2597 2011-03-31  Tom Tromey  <tromey@redhat.com>
2598
2599         * gdb.python/py-prettyprint.py (exception_flag): New global.
2600         (NoStringContainerPrinter._iterator.next): Check it.
2601         * gdb.python/py-prettyprint.c (main): New variable nstype2.
2602         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2603
2604 2011-03-29  Tom Tromey  <tromey@redhat.com>
2605
2606         * gdb.cp/anon-struct.cc: New file.
2607         * gdb.cp/anon-struct.exp: New file.
2608
2609 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2610
2611         Test STT_GNU_IFUNC support.
2612         * gdb.base/gnu-ifunc-lib.c: New file.
2613         * gdb.base/gnu-ifunc.c: New file.
2614         * gdb.base/gnu-ifunc.exp: New file.
2615
2616 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2617
2618         Support a ring of related breakpoints.
2619         * gdb.base/watchpoint-delete.c: New file.
2620         * gdb.base/watchpoint-delete.exp: New file.
2621
2622 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2623
2624         * gdb.ada/arrayparam.exp (print first after function call): Use
2625         explicit package name.  Add a comment
2626         (print lasta after function call): Rename ...
2627         (print last after function call): ... it and use explicit package
2628         name.
2629         (print length after function call): Use explicit package name.
2630         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2631         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2632         (multiple matches for symbol i): Rename ...
2633         (multiple matches for symbol integervar): ... it.
2634         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2635         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2636
2637 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
2638
2639         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2640         environment variable to make grep output more predictable. Move
2641         all the environment setup into gdb_init so it's done once per test
2642         case rather than each time we start gdb.
2643
2644 2011-03-24  Tom Tromey  <tromey@redhat.com>
2645
2646         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
2647         test.
2648
2649 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2650
2651         * gdb.dwarf2/dw2-entry-value-main.c: New file.
2652         * gdb.dwarf2/dw2-entry-value.S: New file.
2653         * gdb.dwarf2/dw2-entry-value.exp: New file.
2654
2655 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
2656
2657         PR python/12183
2658
2659         * gdb.python/py-function.exp: Add GdbError tests.
2660
2661 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2662
2663         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2664         (reglocal_test_func, statlocal_test_func): New functions.
2665         (globals_test_func): Call new functions.
2666         * gdb.trace/unavailable.exp (gdb_collect_args_test)
2667         (gdb_collect_locals_test): New procedure.
2668         (gdb_trace_collection_test): Call new procedures.
2669
2670 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
2671
2672         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2673         (test_register, test_register_unavailable): New procedures.
2674         (gdb_unavailable_registers_test): New procedure.
2675         (gdb_trace_collection_test): Call it.
2676
2677 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
2678
2679         PR python/12149
2680
2681         * gdb.python/python.exp: Add gdb.write tests.
2682
2683 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
2684
2685         * gdb.python/Makefile.in: Add py-objfile.
2686         * gdb.python/py-objfile.exp: New file.
2687         * gdb.python/py-objfile.c: New file.
2688         * gdb.python/py-block.exp: Add is_valid tests.
2689         * gdb.python/py-inferior.exp: Ditto.
2690         * gdb.python/py-infthread.exp: Ditto.
2691         * gdb.python/py-symbol.exp: Ditto.
2692         * gdb.python/py-symtab.exp: Ditto.
2693
2694 2011-03-16  Keith Seitz  <keiths@redhat.com>
2695
2696         PR c++/12273
2697         * gdb.cp/cmpd-minsyms.exp: New test.
2698         * gdb.cp/cmpd-minsyms.cc: New file.
2699
2700         PR c++/11734
2701         * gdb.cp/ovsrch.exp: New test.
2702         * gdb.cp/ovsrch.h: New file.
2703         * gdb.cp/ovsrch1.cc: New file.
2704         * gdb.cp/ovsrch2.cc: New file.
2705         * gdb.cp/ovsrch3.cc: New file.
2706         * gdb.cp/ovsrch4.cc: New file.
2707
2708 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2709
2710         PR gdb/12528
2711         * gdb.base/Makefile.in: Adjust EXECUTABLES.
2712         * gdb.base/break-on-linker-gcd-function.exp: New test.
2713         * gdb.base/break-on-linker-gcd-function.cc: New file.
2714
2715 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
2716
2717         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2718
2719 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
2720
2721         * lib/gdb.exp (gdb_unload): Add another termination case.
2722
2723 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2724
2725         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2726         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2727         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2728         Provide a stub byte there.
2729         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2730         DW_AT_entry_pc.
2731         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2732
2733 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
2734
2735         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2736         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
2737         "generic ABI, auto".
2738         (altivec_abi_tests): Accept vectors returned by reference.
2739
2740 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
2741
2742         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2743
2744 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
2745
2746         * gdb.python/py-section-script.exp: Skip test if no Python support.
2747
2748 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
2749
2750         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2751
2752 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
2753
2754         * gdb.python/py-parameter.exp: Update tests to the new Python
2755         parameter API. Add "no documentation" test.  Add deprecated API
2756         backward compatibility test.
2757
2758 2011-03-09  Tom Tromey  <tromey@redhat.com>
2759
2760         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2761         gdb_continue_to_end.
2762
2763 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
2764
2765         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2766         tabs.
2767
2768 2011-03-09  Tom Tromey  <tromey@redhat.com>
2769
2770         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
2771         parentheses.
2772         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
2773         $command.
2774         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2775         argument to gdb_continue_to_end.
2776         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2777         argument to gdb_continue_to_end.
2778         * gdb.cp/annota3.exp: Fix regex.
2779         * gdb.cp/annota2.exp: Fix regex.
2780         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2781         gdb_continue_to_end.
2782         * gdb.base/call-signal-resume.exp: Revert earlier patch.
2783         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2784         gdb_continue_to_end.
2785
2786 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2787
2788         * gdb.server/ext-run.exp
2789         (load new file without any gdbserver inferior): New test.
2790
2791 2011-03-07  Tom Tromey  <tromey@redhat.com>
2792
2793         * Makefile.in (TAGS): Rewrite.
2794
2795 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2796
2797         * gdb.trace/report.exp (12.1: trace report #1): New match for the
2798         initial commands echo.  New match for `Found trace'.  Anchor all the
2799         other matches.  Anchor and match for `No trace frame found' the final
2800         match.
2801
2802 2011-03-07  Tom Tromey  <tromey@redhat.com>
2803
2804         * Makefile.in (TAGS): New target.
2805
2806 2011-03-07  Tom Tromey  <tromey@redhat.com>
2807
2808         * lib/opencl.exp (skip_opencl_tests): Update for exit message
2809         change.
2810         * lib/mi-support.exp (mi_gdb_test): Update for exit message
2811         change.
2812         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
2813         exit message change.
2814         (skip_altivec_tests): Update for exit message change.
2815         (skip_vsx_tests): Likewise.
2816         (gdb_continue_to_end): Likewise.  Add 'command' argument.
2817         * lib/cell.exp (skip_cell_tests): Update for exit message change.
2818         * gdb.threads/tls.exp: Update for exit message change.
2819         * gdb.threads/thread-unwindonsignal.exp: Use
2820         gdb_continue_to_end.
2821         * gdb.threads/step.exp (step_it): Update for exit message change.
2822         (continue_all): Likewise.
2823         * gdb.threads/print-threads.exp (test_all_threads): Update for
2824         exit message change.
2825         * gdb.threads/interrupted-hand-call.exp: Use
2826         gdb_continue_to_end.
2827         * gdb.threads/execl.exp: Use gdb_continue_to_end.
2828         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2829         gdb_continue_to_end.
2830         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2831         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2832         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2833         * gdb.cp/method.exp: Update for exit message change.
2834         * gdb.cp/mb-templates.exp: Update for exit message change.
2835         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2836         * gdb.cp/annota3.exp: Update for exit message change.
2837         * gdb.cp/annota2.exp: Update for exit message change.
2838         * gdb.cell/fork.exp: Use gdb_continue_to_end.
2839         * gdb.base/term.exp: Update for exit message change.
2840         * gdb.base/step-test.exp (test_i): Update for exit message change.
2841         * gdb.base/sigstep.exp (advance): Update for exit message change.
2842         (advancei): Likewise.
2843         * gdb.base/siginfo.exp: Update for exit message change.
2844         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2845         * gdb.base/reread.exp: Use gdb_continue_to_end.
2846         * gdb.base/langs.exp: Use gdb_continue_to_end.
2847         * gdb.base/interrupt.exp: Update for exit message change.
2848         * gdb.base/gdb1555.exp: Update for exit message change.
2849         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2850         * gdb.base/ending-run.exp: Update for exit message change.
2851         * gdb.base/chng-syms.exp: Update for exit message change.
2852         * gdb.base/checkpoint.exp: Update for exit message change.
2853         * gdb.base/catch-syscall.exp (check_for_program_end): Use
2854         gdb_continue_to_end.
2855         (test_catch_syscall_with_wrong_args): Likewise.
2856         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2857         * gdb.base/break-interp.exp (test_ld): Update for exit message
2858         change.
2859         * gdb.base/bang.exp: Update for exit message change.
2860         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2861         (do_call_attach_tests): Likewise.
2862         * gdb.base/a2-run.exp: Update for exit message change.
2863         * gdb.arch/ppc-dfp.exp: Update for exit message change.
2864         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2865         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2866
2867 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
2868
2869         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2870
2871 2011-03-03  Tom Tromey  <tromey@redhat.com>
2872
2873         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2874         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2875         * gdb.hp/gdb.aCC/configure.ac: Remove.
2876         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2877         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2878         * gdb.hp/gdb.base-hp/configure.ac: Remove.
2879         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2880         * gdb.hp/gdb.compat/configure (Makefile): Remove.
2881         * gdb.hp/gdb.compat/configure.ac: Remove.
2882         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2883         * gdb.hp/gdb.defects/configure (Makefile): Remove.
2884         * gdb.hp/gdb.defects/configure.ac: Remove.
2885         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2886         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2887         * gdb.hp/gdb.objdbg/configure.ac: Remove.
2888         * gdb.hp/configure.ac: Remove.
2889         * gdb.hp/configure: Remove.
2890         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2891         substitution.
2892         (Makefile): Remove rule.
2893         * gdb.cell/configure.ac: Remove.
2894         * gdb.cell/configure: Remove.
2895         * gdb.stabs/Makefile.in (Makefile): Remove.
2896         (distclean): Don't remove config.status or config.log.
2897         * gdb.stabs/configure (Makefile): Remove.
2898         * gdb.stabs/configure.ac: Remove.
2899         * configure: Rebuild.
2900         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2901         Remove stabs- and cell-specific logic.  Test for existence of
2902         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
2903         subdirectories, gdb.cell, and and gdb.stabs.
2904         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2905
2906 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
2907
2908         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2909         end of buffer.
2910
2911 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
2912
2913         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2914         gdb_test when running a test where we expected no output back.
2915
2916 2011-02-28  Michael Snyder  <msnyder@vmware.com>
2917
2918         * gdb.cp/overload.cc: Change initializer value to integer.
2919
2920 2011-02-27  Michael Snyder  <msnyder@vmware.com>
2921
2922         * gdb.multi/base.exp: Add test for remove-inferiors.
2923
2924 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
2925
2926         * gdb.python/py-frame.exp: Simplify the initialization phase
2927         using prepare_for_testing.
2928
2929 2011-02-25  Michael Snyder  <msnyder@vmware.com>
2930
2931         * gdb.multi/base.exp: Add tests for info inferiors with args.
2932
2933 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2934
2935         * gdb.dwarf2/dw2-ranges.S: Rename to ...
2936         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2937         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2938         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2939         asmfile3.  Comment the STABS (#3) file compilation.  Compile
2940         everything through assembler.  Provide KFAIL for symtab/12497.
2941         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2942         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2943         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2944         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2945
2946 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2947
2948         * gdb.base/break.exp: Add tests for delete breakpoints using
2949         convenience variables and value history references.
2950
2951 2011-02-24  Michael Snyder  <msnyder@vmware.com>
2952
2953         * gdb.base/break.exp: Remove debugging 'printf' accidentally
2954         left behind in previous check-in.
2955
2956 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2957
2958         * gdb.base/break.exp: Add tests for "info break" with arguments.
2959         * gdb.trace/infotrace.exp: Update patterns for error and help.
2960         * gdb.base/completion.exp: Update pattern.
2961         * gdb.base/ena-dis-br.exp: Update pattern.
2962         * gdb.base/help.exp: Update patterns.
2963
2964 2011-02-23  Michael Snyder  <msnyder@vmware.com>
2965
2966         * gdb.base/memattr.exp: New test.
2967         * gdb.base/memattr.c: Test load for memattr.exp.
2968
2969 2011-02-22  Doug Evans  <dje@google.com>
2970
2971         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2972
2973 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2974
2975         * Makefile.in: Make more clean.
2976         * gdb.ada/Makefile.in: Ditto.
2977         * gdb.arch/Makefile.in: Ditto.
2978         * gdb.asm/Makefile.in: Ditto.
2979         * gdb.base/Makefile.in: Ditto.
2980         * gdb.cp/Makefile.in: Ditto.
2981         * gdb.dwarf2/Makefile.in: Ditto.
2982         * gdb.java/Makefile.in: Ditto.
2983         * gdb.mi/Makefile.in: Ditto.
2984         * gdb.modula2/Makefile.in: Ditto.
2985         * gdb.python/Makefile.in: Ditto.
2986         * gdb.server/Makefile.in: Ditto.
2987         * gdb.stabs/Makefile.in: Ditto.
2988         * gdb.threads/Makefile.in: Ditto.
2989         * gdb.trace/Makefile.in: Ditto.
2990
2991 2011-02-22  Michael Snyder  <msnyder@vmware.com>
2992
2993         * gdb.threads/thread-find.exp: Add tests for bad input to
2994         info threads.
2995
2996 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
2997
2998         * gdb.python/py-breakpoint.exp: Fix the expected output of
2999         one of the "maint info breakpoints" tests to accept the output
3000         generated on platforms that do not have hardware watchpoints.
3001
3002 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
3003
3004         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3005         clean_restart.  Be a little stricter in the expected output
3006         for one of the tests.  Fix a typo in one of the comments.
3007
3008 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
3009
3010         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3011         Delete variable binfile, no longer use.  Add or modify test
3012         comments to make them unique.
3013
3014 2011-02-21  Michael Snyder  <msnyder@vmware.com>
3015
3016         * Makefile.in: Update for make clean.
3017         * gdb.ada/Makefile.in: Ditto.
3018         * gdb.arch/Makefile.in: Ditto.
3019         * gdb.asm/Makefile.in: Ditto.
3020         * gdb.base/Makefile.in: Ditto.
3021         * gdb.cp/Makefile.in: Ditto.
3022         * gdb.dwarf2/Makefile.in: Ditto.
3023         * gdb.java/Makefile.in: Ditto.
3024         * gdb.mi/Makefile.in: Ditto.
3025         * gdb.modula2/Makefile.in: Ditto.
3026         * gdb.python/Makefile.in: Ditto.
3027         * gdb.server/Makefile.in: Ditto.
3028         * gdb.stabs/Makefile.in: Ditto.
3029         * gdb.threads/Makefile.in: Ditto.
3030         * gdb.trace/Makefile.in: Ditto.
3031
3032 2011-02-21  Michael Snyder  <msnyder@vmware.com>
3033
3034         * gdb.threads/thread-find.exp: Update patterns for changes in
3035         output of "info threads" command.
3036
3037 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3038             Ulrich Weigand  <uweigand@de.ibm.com>
3039
3040         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3041         (skip_hw_watchpoint_tests): Likewise.
3042         (skip_hw_watchpoint_multi_tests): Likewise.
3043
3044 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
3045
3046         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3047         (skip_hw_watchpoint_tests): Likewise.
3048         (skip_hw_watchpoint_multi_tests): Likewise.
3049         (skip_hw_watchpoint_access_tests): Likewise.
3050
3051         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3052         * gdb.base/pr11022.exp: Likewise.
3053         * gdb.base/watch-read.exp: Likewise.
3054         * gdb.base/watch_thread_num.exp: Likewise.
3055         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3056         * gdb.base/watchpoint-hw.exp: Likewise.
3057         * gdb.base/watchpoint.exp: Likewise.
3058         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3059         * gdb.threads/watchthreads-reorder.exp: Likewise.
3060         * gdb.threads/watchthreads.exp: Likewise.
3061         * gdb.threads/watchthreads2.exp: Likewise.
3062
3063 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
3064
3065         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3066         the debugger is unable to find the array bounds.
3067
3068 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3069
3070         * gdb.cp/typedef-operator.exp: New file.
3071         * gdb.cp/typedef-operator.cc: New file.
3072
3073 2011-02-17  Michael Snyder  <msnyder@vmware.com>
3074
3075         * gdb.threads/thread-find.exp: Fix regular expressions.
3076
3077 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
3078
3079         * gdb.ada/packed_array: Expand testcase to test printing of
3080         unconstrained packed array.
3081
3082 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
3083
3084         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3085
3086 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
3087
3088         * gdb.trace/collection.c (globalarr3): New global.
3089         (main): Initialize it before collecting, and and clear it
3090         afterwards.
3091         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3092         collecting with '{type} addr', where the addr expression is not an
3093         rvalue.
3094
3095 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
3096
3097         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3098         a bool variable. Expect correct OpenCL names for vector types. Use the
3099         uc3 variable name instead of referring to the uchar3 built-in type.
3100         Escape the asterisk at the half pointer test.
3101
3102 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
3103
3104         * gdb.trace/collection.c (globalarr2): New global.
3105         (main): Initialize it before collecting, and and clear it
3106         afterwards.
3107         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3108         collecting overlapping memory ranges.
3109
3110 2011-02-15  Michael Snyder  <msnyder@vmware.com>
3111
3112         * gdb.base/default.exp: Add tests for thread commands.
3113         * gdb.base/help.exp: Add tests for thread commands.
3114         * gdb.threads/thread-find.exp: New test for thread find command.
3115
3116 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
3117
3118         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3119
3120 2011-02-15  Yao Qi  <yao@codesourcery.com>
3121
3122         PR tdep/12352
3123         * gdb.arch/arm-disp-step.S : New test for str instruction.
3124         * gdb.arch/arm-disp-step.exp : Likewise.
3125
3126 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3127
3128         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3129         "vector_register2_vr" test strings.  Test the extended floating
3130         point registers (F32~F63).
3131         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3132         IBM XL C compiler.  Make the test program use a register provided
3133         by the compiler for the lxvd2x instruction.
3134
3135 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3136
3137         * gdb.trace/unavailable.cc (class Base, class Middle, class
3138         Derived): New types.
3139         (derived_unavail, derived_partial, derived_whole): New globals.
3140         (virtual_partial): New global.
3141         (virtualp): Point at virtual_partial.
3142         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3143         related to unavailable vptr.
3144
3145 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3146
3147         * gdb.trace/unavailable.cc (a, b, c): New globals.
3148         (main): Set and clear them.
3149         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3150         `a' and `c', and check that `b' isn't collected, although `a' and
3151         `c' are.
3152
3153 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3154
3155         * gdb.trace/unavailable.cc (struct Virtual): New.
3156         (virtualp): New global pointer.
3157         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3158         printing a pointer to an object whose type has a vtable, with
3159         print object on.
3160
3161 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3162
3163         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3164         value repeat handles unavailableness.
3165
3166 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3167
3168         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3169         tests for building arrays from unavailable values, subscripting
3170         non-memory rvalue unvailable arrays, and accessing fields or
3171         baseclasses of non-lazy unavailable values,
3172         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3173         struct types.
3174         (g_smallstruct, g_smallstruct_b): New globals.
3175
3176 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
3177
3178         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3179
3180 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3181
3182         Fix const/volatile qualifiers of C++ types, PR c++/12328.
3183         * gdb.cp/overload-const.exp: New file.
3184         * gdb.cp/overload-const.cc: New file.
3185
3186 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3187
3188         * gdb.opencl/callfuncs.cl: New file.
3189         * gdb.opencl/callfuncs.exp: New test.
3190         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3191
3192 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3193
3194         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3195         when computing result.
3196         * gdb.arch/altivec-abi.exp: Update expected results.
3197
3198 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3199
3200         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3201         * gdb.base/jit.exp: Likewise.
3202         * gdb.base/pie-execl.exp: Likewise.
3203         * gdb.base/solib-nodir.exp: Likewise.
3204         * gdb.base/solib-overlap.exp: Likewise.
3205
3206 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
3207
3208         * gdb.trace/collection.c (global_pieces): New.
3209         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3210         New procedure.
3211         (gdb_trace_collection_test): Call it.
3212
3213 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
3214
3215         * gdb.python/py-evthreads.c: New file.
3216         * gdb.python/py-evthreads.exp: New file.
3217         * gdb.python/py-events.py: New file.
3218         * gdb.python/py-events.exp: New file.
3219         * gdb.python/py-events.c: New file.
3220
3221 2011-02-04 David Daney <ddaney@caviumnetworks.com>
3222
3223         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3224
3225 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
3226
3227         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3228         gdb.base/disasm-end-cu.exp: New test for disassembling over the
3229         boundary between two compilation units.
3230
3231 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
3232
3233         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3234         (Virtual): New structs.
3235         (virtual_o, virtual_middle_b): New globals.
3236         * gdb.cp/virtbase.exp: New tests.
3237
3238 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
3239
3240         * gdb.base/jit.exp: New file.
3241         * gdb.base/jit-main.c: New file.
3242         * gdb.base/jit-solib.c: New file.
3243
3244 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
3245
3246         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3247         proceed to initial kernel entry point.
3248         * gdb.opencl/datatypes.exp: Likewise.
3249         * gdb.opencl/operators.exp: Likewise.
3250         * gdb.opencl/vec_comps.exp: Likewise.
3251
3252 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
3253
3254         * gdb.cp/nsnested.cc: New.
3255         * gdb.cp/nsnested.exp: New.
3256         * gdb.cp/nsnoimports.exp: New.
3257         * gdb.cp/nsnoimports.cc: New.
3258
3259 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
3260
3261         * gdb.base/interact.exp: Add extra tests that verify that
3262         the value of the interactive-mode setting does not change
3263         after the script is sourced.
3264
3265 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3266
3267         * gdb.cp/noparam.exp: New file.
3268         * gdb.cp/noparam.cc: New file.
3269
3270 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
3271
3272         * gdb.trace/tfile.exp: Test that with no traceframe selected,
3273         there's no stack or registers.
3274
3275 2011-01-26  Tom Tromey  <tromey@redhat.com>
3276
3277         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3278         space before string output.  Add test for "set print pretty off"
3279         case.
3280
3281 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
3282
3283         * gdb.base/frame-args.exp: Adjust.
3284         * gdb.dwarf2/dw2-noloc.exp: Adjust.
3285         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3286         * gdb.dwarf2/pieces.exp: Adjust.
3287         * gdb.opt/clobbered-registers-O2.exp: Adjust.
3288         * gdb.opt/inline-locals.exp: Adjust.
3289         * gdb.threads/fork-child-threads.exp: Adjust.
3290
3291 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
3292
3293         * gdb.opencl/convs_casts.cl: Move program scope variables into the
3294         OpenCL kernel function. Add a comment as marker. Add address space
3295         qualifiers for the remaining program scope variables.
3296         * gdb.opencl/datatypes.cl: Likewise.
3297         * gdb.opencl/operators.cl: Likewise.
3298         * gdb.opencl/vec_comps.cl: Likewise.
3299         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3300         Add breakpoint at the marker comment.
3301         * gdb.opencl/datatypes.exp: Likewise.
3302         * gdb.opencl/operators.exp: Likewise.
3303         * gdb.opencl/vec_comps.exp: Likewise.
3304
3305 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
3306
3307         * gdb.base/printcmds.c (some_struct): New struct and instance.
3308         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3309         procedure.
3310         <global scope>: Call it.
3311
3312 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
3313
3314         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3315         argument to the gdb_compile_opencl_hostapp call.
3316
3317 2011-01-19  Yao Qi  <yao@codesourcery.com>
3318
3319         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3320         positve list.
3321
3322 2011-01-19  Yao Qi  <yao@codesourcery.com>
3323
3324         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3325         canonical form.
3326         Remove "xscale-*-*"
3327         * gdb.xml/tdesc-regs.exp: Likewise.
3328         * gdb.python/py-section-script.exp: Replace ARM target triplet
3329         with canonical form.
3330         Match arm*-*-symbianelf*.
3331         * gdb.base/dup-sect.exp: Likewise.
3332         * lib/dwarf.exp: New.
3333         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3334         dwarf2_support.
3335         * gdb.dwarf2/dup-psym.exp: Likewise.
3336         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3337         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3338         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3339         * gdb.dwarf2/dw2-basic.exp: Likewise.
3340         * gdb.dwarf2/dw2-compressed.exp: Likewise.
3341         * gdb.dwarf2/dw2-const.exp: Likewise.
3342         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3343         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3344         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3345         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3346         * gdb.dwarf2/dw2-filename.exp: Likewise.
3347         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3348         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3349         * gdb.dwarf2/dw2-intercu.exp: Likewise.
3350         * gdb.dwarf2/dw2-intermix.exp: Likewise.
3351         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3352         * gdb.dwarf2/dw2-noloc.exp: Likewise.
3353         * gdb.dwarf2/dw2-op-call.exp: Likewise.
3354         * gdb.dwarf2/dw2-producer.exp: Likewise.
3355         * gdb.dwarf2/dw2-ranges.exp: Likewise.
3356         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3357         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3358         * gdb.dwarf2/dw2-strp.exp: Likewise.
3359         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3360         * gdb.dwarf2/implptr.exp: Likewise.
3361         * gdb.dwarf2/mac-fileno.exp: Likewise.
3362         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3363         * gdb.dwarf2/pieces.exp: Likewise.
3364         * gdb.dwarf2/pr11465.exp: Likewise.
3365         * gdb.dwarf2/valop.exp: Likewise.
3366         * gdb.dwarf2/watch-notconst.exp: Likewise.
3367         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3368
3369 2011-01-19  Tom Tromey  <tromey@redhat.com>
3370
3371         * gdb.python/py-infthread.exp: Add thread tests.
3372
3373 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3374
3375         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3376
3377 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
3378
3379         * gdb.ada/widewide: New testcase.
3380
3381 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
3382
3383         * gdb.base/interact.exp: New testcase.
3384
3385 2011-01-12  Tom Tromey  <tromey@redhat.com>
3386
3387         * gdb.mi/gdb2549.exp: Update for error message changes.
3388         * gdb.mi/mi-cli.exp: Likewise.
3389         * gdb.mi/mi-disassemble.exp: Likewise.
3390         * gdb.mi/mi-pthreads.exp: Likewise.
3391         * gdb.mi/mi-regs.exp: Likewise.
3392         * gdb.mi/mi-stack.exp: Likewise.
3393         * gdb.mi/mi-var-block.exp: Likewise.
3394         * gdb.mi/mi-var-cmd.exp: Likewise.
3395         * gdb.mi/mi2-cli.exp: Likewise.
3396         * gdb.mi/mi2-disassemble.exp: Likewise.
3397         * gdb.mi/mi2-pthreads.exp: Likewise.
3398         * gdb.mi/mi2-regs.exp: Likewise.
3399         * gdb.mi/mi2-stack.exp: Likewise.
3400         * gdb.mi/mi2-var-block.exp: Likewise.
3401         * gdb.mi/mi2-var-cmd.exp: Likewise.
3402
3403 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3404             Jan Kratochvil  <jan.kratochvil@redhat.com>
3405
3406         PR fortran/11104 and DWARF unbound arrays detection.
3407         * gdb.fortran/multi-dim.exp: New file.
3408         * gdb.fortran/multi-dim.f90: New file.
3409
3410 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
3411
3412         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3413         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3414         add new tests for opcode dumping.
3415
3416 2011-01-11  Tom Tromey  <tromey@redhat.com>
3417
3418         * gdb.python/py-infthread.exp: Load gdb-python.exp.
3419
3420 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3421
3422         Convert hardware watchpoints to use breakpoint_ops.
3423         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3424         type is not supported.
3425         * gdb.base/foll-fork.exp: Likewise.
3426         * gdb.base/foll-vfork.exp: Likewise.
3427
3428 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
3429
3430         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3431         Use load_lib gdb-python.exp.
3432         * gdb.python/python.exp: Ditto.
3433         * gdb.python/py-function.exp: Ditto.
3434
3435 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
3436
3437         * gdb.threads/tls.exp ("info address me"): Fix expected output.
3438
3439 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3440
3441         * configure: Regenerate.
3442
3443 2011-01-06  Tom Tromey  <tromey@redhat.com>
3444
3445         * gdb.python/py-frame.exp: Test gdb.newest_frame.
3446
3447 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3448
3449         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3450         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3451         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3452         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3453         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3454         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3455         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3456         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3457         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3458         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3459         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3460         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3461         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3462         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3463         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3464         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3465         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3466         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3467         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3468         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3469         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3470         gdb.ada/uninitialized_vars.exp,
3471         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3472         Simplify by using clean_restart.
3473
3474 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3475
3476         Add marker to be used as anchor for inserting breakpoints.
3477         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3478         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3479         Likewise.
3480
3481         Remove uses of gdb_start_cmd.
3482         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3483         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3484
3485         Do not run testcase if testing with GDBserver.
3486         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3487         if testing with GDBserver.
3488
3489 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
3490
3491         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3492         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3493         copyright header.
3494
3495 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3496
3497         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3498         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3499         testsuite/gdb.fortran/complex.f,
3500         testsuite/gdb.fortran/derived-type.f90,
3501         testsuite/gdb.fortran/library-module-lib.f90,
3502         testsuite/gdb.fortran/library-module-main.f90,
3503         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3504         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3505         Copyright year update.
3506
3507 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
3508
3509         * gdb.base/langs1.f: Add copyright header.
3510
3511 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3512
3513         * gdb.base/morestack.exp: New file.
3514         * gdb.base/morestack.c: New file.
3515
3516 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3517
3518         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3519
3520 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3521
3522         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3523         * gdb.ada/arrayptr.exp: Add test printing that new variable.
3524
3525 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
3526
3527         * gdb.ada/lang_switch.exp: Correct expected parameter value.
3528
3529 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
3530
3531         * gdb.threads/tls.exp: Fix typo.
3532
3533         * gdb.threads/thread-specific.exp (get_thread_list): Update.
3534         * gdb.threads/execl.exp: Update.
3535
3536 2010-12-23  Yao Qi  <yao@codesourcery.com>
3537
3538         * gdb.arch/arm-disp-step.exp: New.
3539         * gdb.arch/arm-disp-step.S: New.
3540
3541 2010-12-21  Tom Tromey  <tromey@redhat.com>
3542
3543         * gdb.threads/execl.exp: Update.
3544         * gdb.threads/linux-dp.exp: Update.
3545         * gdb.threads/manythreads.exp: Update.
3546         * gdb.threads/tls.exp: Update.
3547
3548 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3549
3550         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3551         (NextOverThrowDerivates) <resumebpt>: New.
3552         (resumebpt_test): New.
3553         (main): Call resumebpt_test.
3554         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3555
3556 2010-12-12  Stan Shebs  <stan@codesourcery.com>
3557
3558         * gdb.trace/tsv.exp: Test print command on trace state variables.
3559
3560 2010-12-09  Tom Tromey  <tromey@redhat.com>
3561
3562         * gdb.base/interp.exp: Add regression test.
3563
3564 2010-12-09  Tom Tromey  <tromey@redhat.com>
3565
3566         * gdb.java/jnpe.java: New file.
3567         * gdb.java/jnpe.exp: New file.
3568         * gdb.cp/nextoverthrow.exp: New file.
3569         * gdb.cp/nextoverthrow.cc: New file.
3570
3571 2010-12-07  Doug Evans  <dje@google.com>
3572
3573         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3574         of data-directory.
3575         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3576         updated.
3577         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3578
3579 2010-11-29  Michael Snyder  <msnyder@vmware.com>
3580
3581         * gdb.base/callfuncs.exp: Test for skip_float_tests.
3582         * gdb.base/call-sc.exp: Ditto.
3583         * gdb.base/finish.exp: Ditto.
3584         * gdb.base/return.exp: Ditto.
3585         * gdb.base/return2.exp: Ditto.
3586
3587 2010-11-30  Doug Evans  <dje@google.com>
3588
3589         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3590         (gdb_expect_list): Fix spelling errors in comments.
3591         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3592         send_gdb/gdb_expect_list where applicable.
3593         * gdb.base/call-ar-st.exp: Ditto.
3594         * gdb.base/funcargs.exp: Ditto.
3595         * gdb.base/gcore.exp: Ditto.
3596         * gdb.base/page.exp: Ditto.
3597         * gdb.base/sigaltstack.exp: Ditto.
3598         * gdb.base/siginfo.exp: Ditto.
3599         * gdb.base/sigstep.exp: Ditto.
3600         * gdb.base/trace-commands.exp: Ditto.
3601
3602 2010-11-29  Doug Evans  <dje@google.com>
3603
3604         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3605         printer-name;subprinter-name.
3606
3607 2010-11-29  Tom Tromey  <tromey@redhat.com>
3608
3609         * gdb.dwarf2/implptr.exp: New file.
3610         * gdb.dwarf2/implptr.c: New file.
3611         * gdb.dwarf2/implptr.S: New file.
3612
3613 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
3614
3615         PR python/12199
3616
3617         * gdb.python/py-breakpoint.exp: Test the delete method.
3618
3619 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3620
3621         Fix step_resume_breakpoint unsaved during an infcall.
3622         * gdb.base/step-resume-infcall.exp: New file.
3623         * gdb.base/step-resume-infcall.c: New file.
3624
3625 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3626
3627         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3628
3629 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
3630
3631         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3632         on ppc64's symbols; "finish" and "return" commands must accept to
3633         show the caller line again as well as the line after.
3634         * gdb.asm/powerpc64.inc: New file.
3635
3636 2010-11-23  Doug Evans  <dje@google.com>
3637
3638         * lib/gdb.exp (gdb_test_sequence): New function.
3639         (gdb_expect_list): Add verbose -log call for each pattern.
3640         * gdb.base/signals.exp (test_handle_all_print): Call it.
3641         Reduce timeout increment from 6 minutes to 1 minute.
3642         * gdb.server/ext-run.exp: Call it.
3643
3644 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
3645
3646         PR python/12212
3647
3648         * gdb.python/python.exp: Check that selected_thread raises an
3649         error when no inferior is loaded.
3650
3651 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3652
3653         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3654         * gdb.dwarf2/dw2-stack-boundary.S: New file.
3655
3656 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3657
3658         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3659         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3660
3661 2010-11-18  Doug Evans  <dje@google.com>
3662
3663         * gdb.server/ext-run.exp: Fix intermittent failures.
3664
3665 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3666
3667         * gdb.stabs/gdb11479.exp: Use runto_main.
3668
3669 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3670
3671         * gdb.base/break-entry.exp: Skip if using a stub.
3672
3673 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
3674
3675         * gdb.python/py-inferior.exp: Pack values in target endianness.
3676
3677 2010-11-12  Tom Tromey  <tromey@redhat.com>
3678
3679         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3680         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3681         MemoryError.
3682         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3683         type.
3684         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3685         MemoryError.
3686         (test_subscript_regression): Update exception type.
3687
3688 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
3689
3690         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3691         breakpoint tests.
3692
3693 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
3694
3695         * gdb.base/watchpoint.exp: Test "watch -location" with an
3696         innacessible location.
3697
3698 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
3699             Luis Machado  <luisgpm@br.ibm.com>
3700
3701         * gdb.base/maint.exp: Expect "." prefix.
3702         * gdb.base/nodebug.exp: Expect "." Likewise.
3703         * gdb.base/sepsymtab.exp: Expect "." Likewise.
3704         * gdb.base/watchpoint-cond-gone.exp: Likewise.
3705         * gdb.base/watchpoint.exp: Expect a software watch to be created for
3706         POWER server processors.
3707
3708 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
3709             Luis Machado  <luisgpm@br.ibm.com>
3710
3711         * gdb.base/break-entry.exp: convert entry point for
3712         ppc64 and expect leading `.' on ppc64's symbols
3713
3714 2010-11-05  Doug Evans  <dje@google.com>
3715
3716         * gdb.base/help.exp: Update expected output.
3717         * gdb.python/py-param.exp: Delete, contents moved to ...
3718         * gdb.python/py-parameter.exp: ... here.  New file.
3719         Add test for gdb.parameter ("directories").
3720
3721 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
3722
3723         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3724         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3725         * configure: Regenerate.
3726         * gdb.opencl/Makefile.in: New File.
3727         * gdb.opencl/datatypes.exp: Likewise.
3728         * gdb.opencl/datatypes.cl: Likewise.
3729         * gdb.opencl/operators.exp: Likewise.
3730         * gdb.opencl/operators.cl: Likewise.
3731         * gdb.opencl/vec_comps.exp: Likewise.
3732         * gdb.opencl/vec_comps.cl: Likewise.
3733         * gdb.opencl/convs_casts.exp: Likewise.
3734         * gdb.opencl/convs_casts.cl: Likewise.
3735         * lib/opencl.exp: Likewise.
3736         * lib/opencl_hostapp.c: Likewise.
3737         * lib/opencl_kernel.cl: Likewise.
3738         * lib/cl_util.c: Likewise.
3739         * lib/cl_util.c: Likewise.
3740         * gdb.base/default.exp (set language): Add "opencl" to the list of
3741         languages.
3742
3743 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
3744
3745         * gdb.cp/overload.exp: Added test for inheritance overload.
3746         * gdb.cp/overload.cc: Ditto.
3747         * gdb.cp/oranking.exp: Removed releveant kfails.
3748
3749 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3750             Joel Brobecker  <brobecker@adacore.com>
3751
3752         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3753         check test_compiler_info.
3754
3755 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3756
3757         * gdb.base/gnu_vector.exp: Adjust expect messages.
3758
3759 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3760
3761         * gdb.base/gnu_vector.exp: Add unary operator tests.
3762
3763 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
3764
3765         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3766
3767 2010-11-02  Doug Evans  <dje@google.com>
3768
3769         * gdb.python/py-pp-maint.c: New file.
3770         * gdb.python/py-pp-maint.exp: New file.
3771         * gdb.python/py-pp-maint.py: New file.
3772
3773 2010-11-02  Tom Tromey  <tromey@redhat.com>
3774
3775         * gdb.base/default.exp: Remove "scheme" from language list.
3776
3777 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3778
3779         Revert:
3780         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3781         * gdb.threads/sigstep-threads.exp: New file.
3782         * gdb.threads/sigstep-threads.c: New file.
3783
3784 2010-10-20  Michael Snyder  <msnyder@vmware.com>
3785
3786         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3787
3788 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3789
3790         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3791         Skip test completely if gdb,no_hardware_watchpoints.
3792
3793 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
3794
3795         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3796         strict, but do not check for any particular function name within libc.
3797
3798 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3799
3800         * gdb.cp/smartp.exp: New test.
3801         * gdb.cp/smartp.cc : New test.
3802
3803 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
3804
3805         * gdb.cp/converts.exp: Test pointer to bool conversion.
3806         Test pointer to long conversion.
3807         * gdb.cp/oranking.exp: Removed relevant kfail.
3808
3809 2010-10-18  Tom Tromey  <tromey@redhat.com>
3810
3811         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3812         argument to lazy_string.
3813         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3814         (pp_ls.to_string): Use it.
3815         * gdb.python/py-prettyprint.c (main): Move declarations to top.
3816         Add "estring2" local.
3817
3818 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3819
3820         Fix s390x compatibility.
3821         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
3822         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3823
3824 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3825
3826         * gdb.threads/sigstep-threads.exp: New file.
3827         * gdb.threads/sigstep-threads.c: New file.
3828
3829 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3830
3831         * gdb.base/pie-execl.exp: New file.
3832         * gdb.base/pie-execl.c: New file.
3833
3834 2010-10-13  Doug Evans  <dje@google.com>
3835             Jan Kratochvil  <jan.kratochvil@redhat.com>
3836
3837         PR exp/12117
3838         * gdb.cp/ptype-cv-cp.cc: New file.
3839         * gdb.cp/ptype-cv-cp.exp: New file.
3840
3841 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
3842
3843         * gdb.cp/converts.cc: New test program.
3844         * gdb.cp/converts.exp: New test.
3845         * gdb.cp/overload.exp: Added test for void* vs int*.
3846         * gdb.cp/overload.exp: Ditto.
3847         * gdb.cp/oranking.exp: Removed related kfail.
3848
3849 2010-10-13  Doug Evans  <dje@google.com>
3850
3851         * lib/gdb-python.exp (gdb_check_python_config): New function.
3852         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3853         * gdb.python/lib-types.cc: New file.
3854         * gdb.python/lib-types.exp: New file.
3855
3856 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3857
3858         * gdb.python/py-error.exp: New file.
3859         * gdb.python/py-error.py: New file.
3860
3861 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3862
3863         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3864         gdb_test_multiple.
3865
3866 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
3867
3868         * gdb.base/break-interp.exp: Use ldlags for linking flags.
3869         * gdb.base/prelink.exp: Likewise.
3870         * gdb.base/solib-nodir.exp: Likewise.
3871         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3872         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3873         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3874
3875 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
3876
3877         * break-interp.exp (test_ld): Use two separate gdb_expect statements
3878         for the "info files" test to avoid timeouts on slow machines.
3879
3880 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3881
3882         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3883         (main): Make openlib dummy call.
3884
3885 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3886
3887         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3888         * break-interp.exp (reach): Move the core body ...
3889         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
3890         (test_ld): Provide always real argument, even to the linker.  Replace
3891         dl_main by _dl_debug_state.
3892
3893 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3894
3895         Fix results of prelinked PIEs on ppc*.
3896         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3897         Accept also DISPLACEMENT "PRESENT".
3898         (main): Replace "ZERO" displacements by "PRESENT".
3899
3900 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
3901
3902         * gdb.cp/oranking.exp: New test.
3903         * gdb.cp/oranking.cc: New test program.
3904
3905 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
3906
3907         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3908         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3909
3910 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3911
3912         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3913         lush, lynx) New constant.
3914         * gdb.base/constvars.exp: Test const array types.
3915         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3916
3917 2010-10-06  Doug Evans  <dje@google.com>
3918
3919         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3920         of syscall staging area.
3921
3922 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
3923
3924         * gdb.base/gnu_vector.c: Add variable c4.
3925         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3926         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3927
3928 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
3929
3930         * gdb.arch/altivec-abi.exp: Fix a typo.
3931
3932 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
3933
3934         * lib/mi-support.exp (thread_selected_re): Correct pattern used
3935         to match a thread ID.
3936
3937 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3938
3939         Fix s390x testcase compatibility.
3940         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3941
3942 2010-10-01  Doug Evans  <dje@google.com>
3943
3944         * lib/gdb-python.exp: New file.
3945         * gdb.python/py-block.exp: Use it.
3946         * gdb.python/py-breakpoint.exp: Ditto.
3947         * gdb.python/py-frame.exp: Ditto.
3948         * gdb.python/py-inferior.exp: Ditto.
3949         * gdb.python/py-param.exp: Ditto.
3950         * gdb.python/py-prettyprint.exp: Ditto.
3951         * gdb.python/py-shared.exp: Ditto.
3952         * gdb.python/py-symbol.exp: Ditto.
3953         * gdb.python/py-symtab.exp: Ditto.
3954         * gdb.python/py-type.exp: Ditto.
3955         * gdb.python/py-value.exp: Ditto.
3956         * gdb.python/python.exp: Ditto.
3957
3958 2010-09-30  Tom Tromey  <tromey@redhat.com>
3959
3960         * gdb.base/anon.exp: New file.
3961         * gdb.base/anon.c: New file.
3962
3963 2010-09-30  Tom Tromey  <tromey@redhat.com>
3964
3965         * gdb.base/completion.exp: Test completion through anonymous
3966         union.
3967         * gdb.base/break1.c (struct some_struct): Add anonymous union.
3968
3969 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3970
3971         Fix printing parameters of inlined functions.
3972         * gdb.dwarf2/dw2-inline-param.exp: New file.
3973         * gdb.dwarf2/dw2-inline-param-main.c: New file.
3974         * gdb.dwarf2/dw2-inline-param.S: New file.
3975
3976 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
3977
3978         PR corefiles/12071.
3979         * gdb.base/corefile.exp (quit with a process, no question: load core)
3980         (quit with a core file): New tests.
3981
3982 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3983
3984         Fix GDB crash on inferior calls with self-referencing classes.
3985         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3986         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3987         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3988
3989 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3990
3991         Fix lost siginfo_t for inferior calls.
3992         * gdb.base/siginfo-infcall.exp: New file.
3993         * gdb.base/siginfo-infcall.c: New file.
3994
3995 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
3996
3997         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3998
3999 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
4000
4001         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4002         New test.
4003         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4004
4005 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
4006
4007         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4008         type of our const type.
4009
4010 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
4011
4012         * gdb.cp/pr12028.cc: New.
4013         * gdb.cp/pr12028.exp: New.
4014
4015 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
4016
4017         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4018
4019 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
4020             Jan Kratochvil  <jan.kratochvil@redhat.com>
4021
4022         PR mi/11407
4023         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4024         * gdb.mi/dw2-ref-missing-frame-main.c New File.
4025         * gdb.mi/dw2-ref-missing-frame.S New File.
4026         * gdb.mi/dw2-ref-missing-frame.exp New File.
4027
4028 2010-09-14  Tom Tromey  <tromey@redhat.com>
4029
4030         PR symtab/8399:
4031         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
4032
4033 2010-09-14  Tom Tromey  <tromey@redhat.com>
4034
4035         PR exp/11803:
4036         * gdb.threads/tls.exp: Use C++.
4037         (check_thread_local): Use K::another_thread_local.
4038         * gdb.threads/tls.c (class K): New.
4039         (another_thread_local): Now a member of K.
4040         (spin): Update.  No longer K&R C.
4041
4042 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
4043
4044         * gdb.cp/koenig.cc: created class for testing member lookup.
4045         * gdb.cp/koenig.exp: Added test for member lookup.
4046
4047 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4048
4049         Fix false FAILs on sourcetree topdir directory containing "kill".
4050         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4051         source line matching regexp.
4052
4053 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4054
4055         * gdb.python/python.exp (set height 0, collect help from uiout)
4056         (verify help to uiout): New tests.
4057
4058 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4059
4060         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4061         is_lp64_target to check 64bit target.
4062
4063 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4064
4065         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4066         (test_ld) <powerpc64-*>: New.
4067
4068 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4069
4070         * gdb.cp/templates.exp (test_template_args): Allow "struct".
4071
4072 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
4073
4074         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4075         (FunctionArg::method): New function.
4076         (empty, arg): New variables.
4077         (main): Call arg.method.
4078         * gdb.cp/templates.exp (test_template_args): New function.
4079         (do_tests): Call it.
4080
4081 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
4082
4083         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4084         of "next" to proceed over pthread_exit call.
4085
4086 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
4087
4088         * gdb.base/maint.exp: Avoid wildcards against potentially very long
4089         "maint print statistics" output to prevent expect timeouts.
4090
4091 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4092
4093         * gdb.base/printcmds.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         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4097         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4098         (test_float_rejected): ... here.
4099         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4100         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4101         (test_float_rejected): ... here.
4102         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4103         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4104         (test_float_rejected): ... here.
4105
4106 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
4107
4108         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4109         before disabling hardware watchpoints.
4110         (test_inaccessible_watchpoint): Check that hardware watchpoints
4111         are used.  Test for watchpoints on a constant address.
4112
4113 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4114
4115         * gdb.base/ui-redirect.exp: New file.
4116
4117 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4118             Joel Brobecker  <brobecker@adacore.com>
4119
4120         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4121
4122 2010-08-31  Doug Evans  <dje@google.com>
4123
4124         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4125
4126 2010-08-30  Tom Tromey  <tromey@redhat.com>
4127
4128         PR python/11792:
4129         * gdb.python/py-value.exp (test_subscript_regression): Add
4130         dynamic_type test.
4131
4132 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
4133
4134         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4135         instead of running to main.  Do not test the main function.
4136         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4137         Add new main.
4138
4139 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
4140
4141         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4142         one test.
4143
4144 2010-08-24  Doug Evans  <dje@google.com>
4145
4146         PR symtab/11942
4147         * gdb.dwarf2/dw4-sig-types.cc: New file.
4148         * gdb.dwarf2/dw4-sig-types.h: New file.
4149         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4150         * gdb.dwarf2/dw4-sig-types.exp: New file.
4151
4152 2010-08-23  Tom Tromey  <tromey@redhat.com>
4153
4154         PR python/11145:
4155         * gdb.python/py-value.c (Base, Derived): New types.
4156         (base): New global.
4157         * gdb.python/py-value.exp (test_subscript_regression): Add
4158         dynamic_cast test.
4159
4160 2010-08-23  Tom Tromey  <tromey@redhat.com>
4161
4162         PR python/10676:
4163         * gdb.python/py-type.exp (test_fields): Add tests for type
4164         equality.
4165
4166 2010-08-23  Tom Tromey  <tromey@redhat.com>
4167
4168         PR python/11915:
4169         * gdb.python/py-type.exp (test_fields): Add tests for array.
4170
4171 2010-08-23  Keith Seitz  <keiths@redhat.com>
4172
4173         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4174         have any children. Create a new abbrev for it.
4175         Add missing terminal sequence to .debug_abbrev.
4176
4177 2010-08-20  Keith Seitz  <keiths@redhat.com>
4178
4179         PR symtab/11465:
4180         * gdb.dwarf2/pr11465.exp: New test.
4181         * gdb.dwarf2/pr11465.S: New file.
4182         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4183         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4184
4185 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4186
4187         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4188         registers.  Update data sets with the new v2_double element in the
4189         VSX register union.  Add vector_register3_vr data set for the AltiVec
4190         registers.  Use gdb_test_no_output instead of send_gdb.
4191
4192 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
4193
4194         * gdb.python/py-shared.exp: New file, factored out from
4195         python.exp.
4196         * gdb.python/py-shared.c: New file.
4197         * gdb.python/py-shared-sl.c: New file.
4198         * gdb.python/python-1.c: New file.
4199         * gdb.python/python-sl.c: Delete.
4200         * gdb.python/python.c: Mention python-1.c.
4201         * gdb.python/python.exp: Move shared library tests to
4202         py-shared.exp.
4203         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4204         (MISCELLANEOUS): New.
4205         (clean mostlyclean): Also remove $MISCELLANEOUS.
4206
4207 2010-08-19  Doug Evans  <dje@google.com>
4208
4209         PR exp/11926
4210         * gdb.base/printcmds.exp (test_float_accepted): New function.
4211         Move existing float tests there.  Add tests for floats with suffixes.
4212         (test_float_rejected): New function.
4213         * gdb.java/jv-print.exp (test_float_accepted): New function.
4214         (test_float_rejected): New function.
4215         * gdb.objc/print.exp: New file.
4216         * gdb.pascal/print.exp: New file.
4217         * lib/objc.exp: New file.
4218
4219 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
4220
4221         * gdb.base/default.exp (info set): Avoid full buffer error and force
4222         reading up to final gdb prompt.
4223         (show): Likewise.
4224
4225 2010-08-18  Tom Tromey  <tromey@redhat.com>
4226
4227         PR symtab/11919:
4228         * gdb.base/completion.exp: Add test.
4229
4230 2010-08-18  Doug Evans  <dje@google.com>
4231
4232         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4233         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4234         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4235         Simplify, early exit if runto_main fails.
4236         * gdb.fortran/exprs.exp: load_lib fortran.exp.
4237         (set_lang_fortran): Moved to lib/fortran.exp.
4238         * gdb.fortran/types.exp: load_lib fortran.exp.
4239         (set_lang_fortran): Moved to lib/fortran.exp.
4240         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4241         * gdb.java/jprint.exp (set_lang_java): Ditto.
4242         * gdb.java/jv-exp.exp: load_lib java.exp.
4243         If set_lang_java fails, issue a warning instead of failure to be
4244         consistent with other set_lang_foo uses.
4245         (set_lang_java): Moved to lib/java.exp.
4246         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4247         If set_lang_java fails, issue a warning instead of failure to be
4248         consistent with other set_lang_foo uses.
4249         * gdb.pascal/types.exp: load_lib pascal.exp.
4250         (set_lang_pascal): Moved to lib/pascal.exp.
4251         * lib/fortran.exp: New file.
4252         * lib/java.exp (set_lang_java): New function.
4253         * lib/pascal.exp (set_lang_pascal): New function.
4254
4255 2010-08-18  Yao Qi  <yao@codesourcery.com
4256
4257         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4258         func_nofb_start and func_loopfb_start, so that address of functions
4259         is equal to these labels on Thumb.
4260
4261 2010-08-18  Yao Qi  <yao@codesourcery.com>
4262
4263         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4264         to reflect latest c source file.
4265
4266 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4267
4268         * gdb.cp/infcall-dlopen.exp: New file.
4269         * gdb.cp/infcall-dlopen.cc: New file.
4270         * gdb.cp/infcall-dlopen-lib.cc: New file.
4271
4272 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4273             Pedro Alves  <pedro@codesourcery.com>
4274
4275         PR breakpoints/11371
4276
4277         * gdb.base/watch-cond-infcall.exp: New file.
4278         * gdb.base/watch-cond-infcall.c: New file.
4279
4280 2010-08-16  Tom Tromey  <tromey@redhat.com>
4281
4282         * gdb.base/help.exp: Update.
4283         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4284         watchpoint.
4285         (test_watch_location): New proc.
4286         (test_watchpoint_in_big_blob): Delete watchpoint.
4287         * gdb.base/watchpoint.c (func5): New function.
4288         (main): Call it.
4289
4290 2010-08-16  Doug Evans  <dje@google.com>
4291
4292         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4293
4294 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
4295
4296         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4297         tests.
4298
4299 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
4300
4301         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4302         * gdb.base/gnu_vector.c: New File.
4303         * gdb.base/gnu_vector.exp: Likewise.
4304
4305 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
4306
4307         * gdb.python/python.c: New File.
4308         * gdb.python/python-sl.c: New File.
4309         * gdb.python/python.exp: Test solib_address and decode_line
4310         * functions.
4311
4312 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4313
4314         * gdb.python/python.exp (show height, set height 10)
4315         (verify pagination beforehand, verify pagination beforehand: q)
4316         (gdb.execute does not page, verify pagination afterwards)
4317         (verify pagination afterwards: q): New.
4318
4319 2010-08-02  Doug Evans  <dje@google.com>
4320
4321         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4322         because of an older gcc, change test2
4323         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4324         to unsupported.
4325
4326 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
4327
4328         * gdb.base/break-always.exp: Do not expect full paths to file
4329         names.
4330         * gdb.base/commands.exp: Likewise.
4331
4332 2010-07-30  Doug Evans  <dje@google.com>
4333
4334         * gdb.cp/temargs.exp: For new tests that require newer gccs,
4335         xfail them when run with older gccs.
4336
4337         * lib/gdb.exp (build_executable): Forward "c++" option to
4338         get_compiler_info.
4339
4340         * gdb.python/py-type.exp (test_template): Mark as xfail tests
4341         "python print ttype.template_argument(1)" and
4342         "python print isinstance(ttype.template_argument(1), gdb.Value)"
4343         if using gcc 4.4 or earlier.
4344
4345         * gdb.base/valgrind-db-attach.exp: Use unique test name for
4346         attach-to-debugger handling.
4347
4348 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4349
4350         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4351         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4352         (main): Use copyreloc.
4353         * gdb.base/prelink.exp (split debug of executable)
4354         (.dynbss vs. .bss address shift): New tests.
4355
4356 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
4357
4358         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4359         in gdb_test_multiple.
4360
4361 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
4362
4363         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4364         environment.
4365
4366 2010-07-28  Tom Tromey  <tromey@redhat.com>
4367
4368         PR python/11060:
4369         * gdb.python/py-type.c (Temargs): New template.
4370         (temvar): New variable.
4371         * gdb.python/py-type.exp (test_template): New proc.
4372
4373 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
4374
4375         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4376         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4377
4378 2010-07-28  Tom Tromey  <tromey@redhat.com>
4379
4380         PR c++/9946:
4381         * gdb.cp/temargs.exp: New file.
4382         * gdb.cp/temargs.cc: New file.
4383
4384 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4385
4386         * gdb.base/help.exp (help disassemble): Update the content.
4387
4388 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4389
4390         * gdb.threads/ia64-sigill.exp: New file.
4391         * gdb.threads/ia64-sigill.c: New file.
4392
4393 2010-07-27  Tom Tromey  <tromey@redhat.com>
4394
4395         * gdb.opt/inline-cmds.c (ATTR): New define.
4396         (func1): Use it.
4397         (func2): Likewise.
4398         (func3): Likewise.
4399         (outer_inline1): Likewise.
4400         (outer_inline2): Likewise.
4401         * gdb.opt/inline-bt.c (ATTR): New define.
4402         (func1): Use it.
4403         (func2): Likewise.
4404         * gdb.opt/inline-locals.c (ATTR): New define.
4405         (func1): Use it.
4406         (func2): Likewise.
4407
4408 2010-07-27  Tom Tromey  <tromey@redhat.com>
4409
4410         * gdb.stabs/gdb11479.c (hack): New function.
4411         (test): Use it.
4412         (test2): Use it.
4413         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4414         (int32_search_buf, int64_search_buf): No longer static.
4415         (x): Remove.
4416         * gdb.base/relocate.c (hack): New function.
4417
4418 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
4419
4420         * gdb.python/py-value.exp (test_inferior_function_call): New function.
4421         * gdb.python/py-value.c (func1): New function.
4422         (func2): Likewise.
4423
4424 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
4425
4426         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4427         as not to clash with .data section.
4428
4429 2010-07-26  Jerome Guitton  <guitton@adacore.com>
4430
4431         * gdb.base/code_elim.exp: New file.
4432         * gdb.base/code_elim1.c: New file.
4433         * gdb.base/code_elim2.c: New file.
4434
4435 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
4436
4437         PR symtab/11827
4438
4439         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4440         (some_volatile_enum): New variable.
4441         * gdb.base/printcmds.exp (test_print_enums): New.
4442         <top level>: Call it.
4443
4444 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
4445
4446         * gdb.cp/fpointer.cc: New test.
4447         * gdb.cp/fpointer.exp: New test.
4448
4449 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4450
4451         * gdb.base/solib-nodir.exp: New file.
4452         * lib/gdb.exp (runto): New case for a GDB internal error.
4453
4454 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4455             Ulrich Weigand  <uweigand@de.ibm.com>
4456             Tom Tromey  <tromey@redhat.com>
4457
4458         * gdb.base/charset-malloc.c: New file.
4459         * gdb.base/charset.c (malloc_stub): New prototype.
4460         (main): Call it instead of malloc itself.
4461         * gdb.base/charset.exp: Use only prepare_for_testing.
4462         (binfile): Remove the variable.
4463
4464 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4465
4466         Make core files the process_stratum.
4467         * gdb.base/corefile.exp (run: load core again)
4468         (run: sanity check we see the core file, run: with core)
4469         (run: core file is cleared, attach: load core again)
4470         (attach: sanity check we see the core file, attach: with core)
4471         (attach: core file is cleared): New tests.
4472         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
4473
4474 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
4475
4476         * gdb.arch/altivec-abi.exp: New tests.
4477
4478 2010-07-13  Tom Tromey  <tromey@redhat.com>
4479
4480         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4481         (main): Use it.
4482         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4483
4484 2010-07-13  Tom Tromey  <tromey@redhat.com>
4485
4486         * gdb.base/label.exp: New file.
4487         * gdb.base/label.c: New file.
4488
4489 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
4490             H.J. Lu  <hongjiu.lu@intel.com>
4491
4492         * lib/gdb.exp (is_ilp32_target): New.
4493         (is_lp64_target): Likewise.
4494
4495         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4496         target.
4497         * gdb.arch/amd64-disp-step.exp: Likewise.
4498         * gdb.arch/amd64-dword.exp: Likewise.
4499         * gdb.arch/amd64-i386-address.exp: Likewise.
4500         * gdb.arch/amd64-word.exp: Likewise.
4501
4502         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4503         target.
4504         * gdb.arch/i386-bp_permanent.exp: Likewise.
4505         * gdb.arch/i386-byte.exp: Likewise.
4506         * gdb.arch/i386-disp-step.exp: Likewise.
4507         * gdb.arch/i386-gnu-cfi.exp: Likewise.
4508         * gdb.arch/i386-prologue.exp: Likewise.
4509         * gdb.arch/i386-size-overlap.exp: Likewise.
4510         * gdb.arch/i386-size.exp: Likewise.
4511         * gdb.arch/i386-sse.exp: Likewise.
4512         * gdb.arch/i386-unwind.exp: Likewise.
4513         * gdb.arch/i386-word.exp: Likewise.
4514
4515         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4516         test only when building 64-bit executables.  Do not hard-code
4517         -m64 option.
4518
4519 2010-07-07  Doug Evans  <dje@google.com>
4520
4521         * lib/gdb.exp (gdb_test_list_exact): New function.
4522         * gdb.base/default.exp (show convenience): Call it, add tests for
4523         $_sdata = void, $_thread = 0.
4524
4525 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4526             Joel Brobecker  <brobecker@adacore.com>
4527
4528         Fix re-run of PIE executable, PR shlibs/11776.
4529         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4530         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
4531         and re-"run" of the inferior.
4532
4533 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4534             Joel Brobecker  <brobecker@adacore.com>
4535
4536         Cope with missing /usr/sbin/prelink.
4537         * lib/prelink-support.exp (prelink_no):
4538         <result == 1 && $output is "no such file or directory">: New.
4539         (prelink_yes): Likewise.  Return on failed prelink_no.
4540
4541 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4542             Joel Brobecker  <brobecker@adacore.com>
4543
4544         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
4545         build_executable by build_executable_own_libs.  Replace "prelink -R"
4546         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
4547         change.
4548         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
4549         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
4550         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4551         Replace build_executable by build_executable_own_libs's function
4552         build_executable_own_libs.
4553         (prelinkNO): Create new stub to call prelink_no.
4554         (prelinkYES): Create new stub to call prelink_yes.
4555         (test_attach): Rename calls of copy to file_copy.
4556         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4557         (copy): Move to ...
4558         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
4559         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4560         * gdb.base/prelink.exp: Disable testcase also for is_remote and
4561         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
4562         special flags by gdb_compile_shlib.  Replace second gdb_compile by
4563         build_executable_own_libs.  Replace "prelink -R" execution by a call of
4564         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
4565         a second call of prelink_yes.  Replace restart commands by
4566         clean_restart.
4567         (prelink): Rename to ...
4568         (seen displacement message): ... this test.  Extend its expectation
4569         strictness.
4570
4571 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4572
4573         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4574         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4575         displacement message exactly once.
4576
4577 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4578             Joel Brobecker  <brobecker@adacore.com>
4579
4580         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
4581         its restore after the <$relink_args != ""> loop.  new comment.
4582
4583 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4584             Joel Brobecker  <brobecker@adacore.com>
4585
4586         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4587         code for it.  New variable relink_args.
4588         (prelinkYES): Call prelinkNO.
4589         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
4590         in such case.  Move the core code to ...
4591         (test_attach_gdb): ... a new function.  Send GDB command "file".
4592         Extend expected "Attaching to " string.
4593
4594 2010-07-02  Tom Tromey  <tromey@redhat.com>
4595
4596         * gdb.base/bitops.exp: Remove extraneous "pass".
4597
4598 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
4599
4600         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4601
4602 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4603
4604         * gdb.base/help.exp: Adjust expected output.
4605
4606 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
4607
4608         * gdb.base/help.exp: Adjust expected output.
4609
4610 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4611
4612         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4613         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4614         c++/11702.
4615
4616 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4617             Doug Evans  <dje@google.com>
4618
4619         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4620         add .dynamic entry'.
4621
4622 2010-06-29  Doug Evans  <dje@google.com>
4623
4624         Test PR c++/11702.
4625         * gdb.cp/m-static.exp: Add testcase.
4626         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4627
4628 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
4629             Tom Tromey  <tromey@redhat.com>
4630             Thiago Jung Bauermann  <bauerman@br.ibm.com>
4631
4632         * gdb.python/py-inferior.c: New File.
4633         * gdb.python/py-infthread.c: New File.
4634         * gdb.python/py-inferior.exp: New File.
4635         * gdb.python/py-infthread.exp: New File.
4636
4637 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4638
4639         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4640         (ptype ::C::OtherFileClass typedefs): New.
4641         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4642         (C::OtherFileClass::cOtherFileClassVar2): New.
4643         (C::OtherFileClass::cOtherFileClassVar_use): Use also
4644         cOtherFileClassVar2.
4645         (C::cOtherFileType2, C::cOtherFileVar2): New.
4646         (C::cOtherFileVar_use): use also cOtherFileVar2.
4647         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4648
4649 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4650
4651         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4652         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4653         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4654         (print ::C::cOtherFileVar)
4655         (whatis C::OtherFileClass::cOtherFileClassType)
4656         (whatis ::C::OtherFileClass::cOtherFileClassType)
4657         (print C::OtherFileClass::cOtherFileClassVar)
4658         (print ::cOtherFileClassVar)
4659         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4660         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4661         trailing content.
4662         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4663         (C::OtherFileClass::cOtherFileClassVar)
4664         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4665         (C::cOtherFileVar, C::cOtherFileVar_use): New.
4666
4667 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4668
4669         Test PR c++/11703 and PR gdb/1448.
4670         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4671         gdb/1448.
4672
4673 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4674
4675         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4676         (main) <rtti_data>: New.
4677         * gdb.cp/virtbase.exp (print rtti_data): New.
4678
4679 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4680             Joel Brobecker  <brobecker@adacore.com>
4681
4682         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4683
4684 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4685
4686         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4687
4688 2010-06-28  Doug Evans  <dje@google.com>
4689
4690         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4691
4692 2010-06-27  Doug Evans  <dje@google.com>
4693
4694         * gdb.cp/m-static.exp: Update expected test output.
4695
4696 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
4697
4698         * gdb.gdb/selftest.exp: Adjust expected message for
4699         capturing start-up runtime.
4700
4701 2010-06-25  Tom Tromey  <tromey@redhat.com>
4702
4703         PR python/10808:
4704         * gdb.python/python.exp: Add new tests.
4705
4706 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
4707
4708         * gdb.cp/operator.cc: Created an import loop.
4709         * gdb.cp/operator.exp: Added testcase for import loop.
4710
4711 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4712
4713         Test PR python/11407.
4714         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4715         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4716         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4717         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4718         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
4719         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4720         binfile.  Call gdb_compile with clean_restart twice.
4721         (func_nofb print, func_nofb backtrace, func_loopfb print)
4722         (func_loopfb backtrace): New.
4723
4724 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
4725
4726         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4727         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4728         by a hand made one.
4729         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
4730         i?86 requirement.  Remove variables srcfile and binfile.  New variable
4731         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
4732
4733 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4734
4735         * gdb.cell/dwarfaddr.exp: New file.
4736         * gdb.cell/dwarfaddr.S: New file.
4737
4738 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4739
4740         Test PR 9436.
4741         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4742
4743 2010-06-24  Hui Zhu  <teawater@gmail.com>
4744
4745         * gdb.base/eval.exp: New file.
4746
4747 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4748
4749         * gdb.cell/fork.exp: New file.
4750         * gdb.cell/fork.c: Likewise.
4751         * gdb.cell/fork-spu.c: Likewise.
4752
4753 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
4754
4755         * lib/gdb.exp (banned_variables_traced): New global variable.
4756         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4757         (gdb_init): Use `trace add variable' instead of obsolete
4758         `trace variable'.
4759
4760 2010-06-21  Doug Evans  <dje@google.com>
4761
4762         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4763
4764 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4765
4766         * gdb.arch/spu-ls.exp: New file.
4767         * gdb.arch/spu-ls.c: Likewise.
4768
4769 2010-06-18  Stan Shebs  <stan@codesourcery.com>
4770
4771         * gdb.threads/thread-specific.exp: Add tests of $_thread.
4772
4773 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4774
4775         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4776         * gdb.base/watch-cond.exp: Likewise.
4777         * gdb.python/py-breakpoint.exp: Likewise.
4778
4779 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
4780
4781         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4782         clean_restart, make sure every test has a distinct message, and
4783         that messages don't include the executable' full path.
4784
4785 2010-06-17  Doug Evans  <dje@google.com>
4786
4787         * gdb.arch/i386-size.exp: Updated expected output for
4788         DISASSEMBLY_OMIT_FNAME.
4789
4790 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4791             Sergio Durigan Junior  <sergiodj@redhat.com>
4792
4793         * gdb.base/watch-notconst.c: New file.
4794         * gdb.base/watch-notconst.S: New file.
4795         * gdb.base/watch-notconst2.c: New file.
4796         * gdb.base/watch-notconst2.S: New file.
4797         * gdb.base/watch-notconst.exp: New file.
4798         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4799         (func4): Add operations on `global_ptr_ptr'.
4800         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4801         routine to test watchpoints created with a constant expression.
4802         (test_inaccessible_watchpoint): Include tests for watchpoints
4803         created with a constant expression.
4804
4805 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
4806
4807         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4808         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4809         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4810         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4811         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4812         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4813         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4814         of `_start'.
4815
4816 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4817
4818         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4819         not supported on the target.
4820         * gdb.mi/mi-nonstop-exit.exp: Likewise.
4821         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4822         * gdb.mi/mi-nsintrall.exp: Likewise.
4823         * gdb.mi/mi-nsmoribund.exp: Likewise.
4824         * gdb.mi/mi-nsthrexec.exp: Likewise.
4825
4826 2010-06-11  Stan Shebs  <stan@codesourcery.com>
4827
4828         * gdb.base/permissions.exp: New file.
4829
4830 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4831
4832         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4833         does not support ELF executable class.
4834
4835 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4836
4837         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4838
4839 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4840
4841         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4842         (runto): Catch "The target does not support running in non-stop mode.".
4843
4844 2010-06-11  Michael Snyder  <msnyder@vmware.com>
4845
4846         * gdb.base/setshow.exp (set language asm): Don't use
4847         gdb_test_no_output, fails on some targets.
4848
4849 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4850
4851         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4852         * gdb.cp/pr9167.exp: Likewise.
4853
4854 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4855
4856         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4857
4858 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4859
4860         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4861
4862 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4863
4864         * gdb.base/charset.c (main): Make sure malloc gets linked in.
4865
4866 2010-06-11  Tom Tromey  <tromey@redhat.com>
4867
4868         PR gdb/9977, PR exp/11636::
4869         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4870         (pieces_test_f6): Update expected output.
4871
4872 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4873
4874         * gdb.base/moribund-step.exp: New.
4875
4876 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4877
4878         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4879         * gdb.ada/boolean_expr.exp:
4880         * gdb.ada/frame_args.exp: Ditto.
4881         * gdb.ada/lang_switch.exp: Ditto.
4882         * gdb.ada/ptype_arith_binop.exp: Ditto.
4883         * gdb.ada/ref_param.exp: Ditto.
4884         * gdb.ada/type_coercion.exp:Ditto.
4885
4886         * gdb.asm/asm-source.exp: Ditto.
4887
4888         * gdb.base/attach.exp: Ditto.
4889         * gdb.base/bitfields2.exp: Ditto.
4890         * gdb.base/call-signal-resume.exp: Ditto.
4891         * gdb.base/callfuncs.exp: Ditto.
4892         * gdb.base/commands.exp: Ditto.
4893         * gdb.base/dbx.exp: Ditto.
4894         * gdb.base/default.exp: Ditto.
4895         * gdb.base/dump.exp: Ditto.
4896         * gdb.base/exprs.exp: Ditto.
4897         * gdb.base/freebpcmd.exp: Ditto.
4898         * gdb.base/interrupt.exp: Ditto.
4899         * gdb.base/list.exp: Ditto.
4900         * gdb.base/long_long.exp: Ditto.
4901         * gdb.base/maint.exp: Ditto.
4902         * gdb.base/ptype.exp: Ditto.
4903         * gdb.base/return.exp: Ditto.
4904         * gdb.base/setshow.exp: Ditto.
4905         * gdb.base/sigbpt.exp: Ditto.
4906         * gdb.base/sigrepeat.exp: Ditto.
4907
4908         * gdb.cp/classes.exp: Ditto.
4909
4910         * gdb.dwarf2/dw2-restore.exp: Ditto.
4911
4912         * gdb.gdb/selftest.exp: Ditto.
4913
4914         * gdb.multi/base.exp: Ditto.
4915         * gdb.multi/bkpt-multi-exec.exp: Ditto.
4916
4917         * gdb.python/py-block.exp: Ditto.
4918         * gdb.python/py-prettyprint.exp: Ditto.
4919         * gdb.python/py-template.exp: Ditto.
4920
4921         * gdb.server/ext-attach.exp: Ditto.
4922         * gdb.server/ext-run.exp: Ditto.
4923         * gdb.server/server-mon.exp: Ditto.
4924
4925         * gdb.threads/fork-thread-pending.exp: Ditto.
4926         * gdb.threads/hand-call-in-threads.exp: Ditto.
4927         * gdb.threads/interrupted-hand-call.exp: Ditto.
4928         * gdb.threads/linux-dp.exp: Ditto.
4929         * gdb.threads/manythreads.exp: Ditto.
4930         * gdb.threads/print-threads.exp: Ditto.
4931         * gdb.threads/pthreads.exp: Ditto.
4932         * gdb.threads/schedlock.exp: Ditto.
4933         * gdb.threads/thread-unwindonsignal.exp: Ditto.
4934         * gdb.threads/threadapply.exp: Ditto.
4935
4936 2010-06-08  Michael Snyder  <msnyder@vmware.com>
4937
4938         * gdb.ada/exec_changed.exp:
4939         Use ".*" instead of "" as wildcard regexp.
4940
4941         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4942         * gdb.base/call-ar-st.exp: Ditto.
4943         * gdb.base/checkpoint.exp: Ditto.
4944         * gdb.base/default.exp: Ditto.
4945         * gdb.base/dump.exp: Ditto.
4946         * gdb.base/ending-run.exp: Ditto.
4947         * gdb.base/fileio.exp: Ditto.
4948         * gdb.base/miscexprs.exp: Ditto.
4949         * gdb.base/pointers.exp: Ditto.
4950         * gdb.base/readline.exp: Ditto.
4951         * gdb.base/reread.exp: Ditto.
4952         * gdb.base/restore.exp: Ditto.
4953         * gdb.base/shlib-call.exp: Ditto.
4954         * gdb.base/valgrind-db-attach.exp: Ditto.
4955         * gdb.base/volatile.exp: Ditto.
4956         * gdb.base/watchpoints.exp: Ditto.
4957
4958         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4959
4960         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4961         * gdb.python/py-value.exp: Ditto.
4962
4963         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4964         * gdb.trace/circ.exp: Ditto.
4965         * gdb.trace/collection.exp: Ditto.
4966         * gdb.trace/packetlen.exp: Ditto.
4967         * gdb.trace/passc-dyn.exp: Ditto.
4968         * gdb.trace/report.exp: Ditto.
4969         * gdb.trace/tfile.exp: Ditto.
4970         * gdb.trace/tfind.exp: Ditto.
4971         * gdb.trace/while-dyn.exp: Ditto.
4972
4973 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4974
4975         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4976
4977 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4978
4979         Test PR 10640.
4980         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4981
4982 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
4983
4984         * gdb.cp/koenig.exp: Test for ADL operators.
4985         * gdb.cp/koenig.cc: Added ADL operators.
4986         * gdb.cp/operator.exp: New test.
4987         * gdb.cp/operator.cc: New test.
4988
4989 2010-06-04  Michael Snyder  <msnyder@vmware.com>
4990
4991         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4992         * gdb.base/pending.exp: Ditto.
4993
4994         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4995
4996 2010-06-04  Doug Evans  <dje@google.com>
4997
4998         * gdb.python/py-prettyprint.exp: Add new test for enabled and
4999         disabled printers.
5000         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5001         (enable_lookup_function): New function.
5002
5003 2010-06-04  Tom Tromey  <tromey@redhat.com>
5004
5005         * gdb.python/py-value.exp (test_value_hash): Don't test equality
5006         of hash and id.
5007
5008 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5009
5010         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5011         newline.
5012         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5013         (empty verbose non-noisy clear, empty verbose noisy clear)
5014         (empty non-verbose noisy clear): Likewise.
5015
5016 2010-06-03  Michael Snyder  <msnyder@vmware.com>
5017
5018         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5019         * gdb.base/display.exp: Ditto.
5020         * gdb.base/find.exp: Ditto.
5021         * gdb.base/ifelse.exp: Ditto.
5022         * gdb.base/multi-forks.exp: Ditto.
5023         * gdb.base/recurse.exp: Ditto.
5024         * gdb.base/setshow.exp: Ditto.
5025         * gdb.base/value-double-free.exp: Ditto.
5026         * gdb.base/watch-vfork.exp: Ditto.
5027         * gdb.base/watch_thread_num.exp: Ditto.
5028         * gdb.base/watchpoint-solib.exp: Ditto.
5029         * gdb.base/watchpoint.exp: Ditto.
5030         * gdb.base/watchpoints.exp: Ditto.
5031
5032         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5033         * gdb.cp/overload.exp: Ditto.
5034         * gdb.cp/virtfunc.exp: Ditto.
5035
5036         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5037
5038         * gdb.reverse/watch-precsave.exp:
5039         Replace gdb_test with gdb_test_no_output.
5040
5041         * gdb.threads/attach-into-signal.exp:
5042         Replace gdb_test with gdb_test_no_output.
5043         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5044         * gdb.threads/watchthreads.exp: Ditto.
5045         * gdb.threads/watchthreads2.exp: Ditto.
5046
5047         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5048         * gdb.trace/tfind.exp: Ditto.
5049
5050 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
5051
5052         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5053         successful test if message is the empty string.
5054
5055 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5056
5057         * gdb.fortran/module.exp (stopped language detection): New test.
5058
5059 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5060
5061         Support DW_TAG_module as separate namespaces.
5062         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5063         gdb.fortran/library-module-lib.f90: New.
5064         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5065         (print i): Remove.
5066         (continue to breakpoint: i-is-1, print var_i value 1)
5067         (continue to breakpoint: i-is-2, print var_i value 2)
5068         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5069         (print var_d, print var_i value 14, ptype modmany, complete `modm)
5070         (complete `modmany, complete `modmany`, complete `modmany`var)
5071         (show language, setting breakpoint at module): New tests.
5072         * gdb.fortran/module.f90 (module mod): Remove.
5073         (module mod1, module mod2, module modmany, subroutine sub1)
5074         (subroutine sub2, program module): New.
5075
5076 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5077
5078         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5079         (print value of rUC, print value of rI, print value of UI): ... here.
5080         * gdb.cp/anon-union.exp (pass): Rename to ...
5081         (print z 2): ... here.
5082
5083 2010-06-02  Michael Snyder  <msnyder@vmware.com>
5084
5085         * gdb.trace/actions.exp: Use gdb_test_no_output.
5086         * gdb.trace/circ.exp: Ditto.
5087         * gdb.trace/packetlen.exp: Ditto.
5088         * gdb.trace/save-trace.exp: Ditto.
5089         * gdb.trace/tracecmd.exp: Ditto.
5090         * gdb.trace/tsv.exp: Ditto.
5091
5092         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5093         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5094         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5095         * gdb.threads/manythreads.exp: Ditto.
5096         * gdb.threads/print-threads.exp: Ditto.
5097         * gdb.threads/pthreads.exp: Ditto.
5098         * gdb.threads/schedlock.exp: Ditto.
5099         * gdb.threads/staticthreads.exp: Ditto.
5100         * gdb.threads/thread-specific.exp: Ditto.
5101         * gdb.threads/thread-unwindonsignal.exp: Ditto.
5102         * gdb.threads/threadapply.exp: Ditto.
5103         * gdb.threads/watchthreads.exp: Ditto.
5104         * gdb.threads/watchthreads2.exp: Ditto.
5105
5106         * gdb.python/py-block.exp: Use gdb_test_no_output.
5107         * gdb.python/py-prettyprint.exp: Ditto.
5108         * gdb.python/py-template.exp: Ditto.
5109         * gdb.python/py-value.exp: Ditto.
5110
5111         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5112         * gdb.reverse/watch-reverse.exp: Ditto.
5113
5114         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5115         * gdb.server/ext-run.exp: Ditto.
5116
5117         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5118         * gdb.dwarf2/dw2-compressed.exp: Ditto.
5119         * gdb.dwarf2/dw2-intercu.exp: Ditto.
5120         * gdb.dwarf2/dw2-intermix.exp: Ditto.
5121         * gdb.dwarf2/dw2-producer.exp: Ditto.
5122         * gdb.dwarf2/mac-fileno.exp: Ditto.
5123
5124         * gdb.gdb/observer.exp: Use gdb_test_no_output.
5125         * gdb.gdb/selftest.exp: Ditto.
5126
5127         * gdb.multi/base.exp: Use gdb_test_no_output.
5128
5129         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5130
5131 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5132
5133         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5134
5135 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
5136
5137         * gdb.cp/class2.exp: Use gdb_test_no_output.
5138         * gdb.cp/classes.exp: Ditto.
5139         * gdb.cp/extern-c.exp: Ditto.
5140         * gdb.cp/inherit.exp: Ditto.
5141         * gdb.cp/maint.exp: Ditto.
5142         * gdb.cp/mb-inline.exp: Ditto.
5143         * gdb.cp/mb-templates.exp: Ditto.
5144         * gdb.cp/method2.exp: Ditto.
5145         * gdb.cp/misc.exp: Ditto.
5146         * gdb.cp/ovldbreak.exp: Ditto.
5147         * gdb.cp/punctuator.exp: Ditto.
5148         * gdb.cp/templates.exp: Ditto.
5149         * gdb.cp/virtbase.exp: Ditto.
5150
5151         * gdb.threads/attach-stopped.exp:
5152         Replace uses of send_gdb / gdb_expect.
5153         * gdb.threads/attachstop-mt.exp:
5154         Replace uses of send_gdb / gdb_expect.
5155         * gdb.threads/gcore-thread.exp:
5156         Replace uses of send_gdb / gdb_expect.
5157         * gdb.threads/hand-call-in-threads.exp:
5158         Replace uses of send_gdb / gdb_expect.
5159         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5160         * gdb.threads/print-threads.exp:
5161         Replace uses of send_gdb / gdb_expect.
5162         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5163         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5164         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5165
5166         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5167         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5168         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5169         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5170         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5171         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5172         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5173         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5174         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5175         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5176         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5177
5178 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5179
5180         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5181
5182 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
5183
5184         * gdb.cp/koenig.exp: Added new test case.
5185         * gdb.cp/koenig.cc: Ditto.
5186
5187 2010-06-01  Michael Snyder  <msnyder@vmware.com>
5188
5189         * gdb.base/arithmet.exp: Use gdb_test_no_output.
5190         * gdb.base/arrayidx.exp: Ditto.
5191         * gdb.base/attach.exp: Ditto.
5192         * gdb.base/auxv.exp: Ditto.
5193         * gdb.base/bigcre.exp: Ditto.
5194         * gdb.base/break-always.exp: Ditto.
5195         * gdb.base/break-interp.exp: Ditto.
5196         * gdb.base/break.exp: Ditto.
5197         * gdb.base/breakpoint-shadow.exp: Ditto.
5198         * gdb.base/call-ar-st.exp: Ditto.
5199         * gdb.base/call-sc.exp: Ditto.
5200         * gdb.base/call-signal-resume.exp: Ditto.
5201         * gdb.base/callfuncs.exp: Ditto.
5202         * gdb.base/catch-syscall.exp: Ditto.
5203         * gdb.base/charset.exp: Ditto.
5204         * gdb.base/code-expr.exp: Ditto.
5205         * gdb.base/commands.exp: Ditto.
5206         * gdb.base/cond-expr.exp: Ditto.
5207         * gdb.base/condbreak.exp: Ditto.
5208         * gdb.base/cursal.exp: Ditto.
5209         * gdb.base/cvexpr.exp: Ditto.
5210         * gdb.base/default.exp: Ditto.
5211         * gdb.base/del.exp: Ditto.
5212         * gdb.base/detach.exp: Ditto.
5213         * gdb.base/display.exp: Ditto.
5214         * gdb.base/ena-dis-br.exp: Ditto.
5215         * gdb.base/eval-skip.exp: Ditto.
5216         * gdb.base/foll-fork.exp: Ditto.
5217         * gdb.base/foll-vfork.exp: Ditto.
5218         * gdb.base/frame-args.exp: Ditto.
5219         * gdb.base/funcargs.exp: Ditto.
5220         * gdb.base/gcore-buffer-overflow.exp: Ditto.
5221         * gdb.base/gdbvars.exp: Ditto.
5222         * gdb.base/help.exp: Ditto.
5223         * gdb.base/ifelse.exp: Ditto.
5224         * gdb.base/included.exp: Ditto.
5225         * gdb.base/list.exp: Ditto.
5226         * gdb.base/macscp.exp: Ditto.
5227         * gdb.base/maint.exp: Ditto.
5228         * gdb.base/multi-fork.exp: Ditto.
5229         * gdb.base/overlays.exp: Ditto.
5230         * gdb.base/page.exp: Ditto.
5231         * gdb.base/pending.exp: Ditto.
5232         * gdb.base/pointers.exp: Ditto.
5233         * gdb.base/pr11022.exp: Ditto.
5234         * gdb.base/prelink.exp: Ditto.
5235         * gdb.base/printcmds.exp: Ditto.
5236         * gdb.base/psymtab.exp: Ditto.
5237         * gdb.base/randomize.exp: Ditto.
5238         * gdb.base/relational.exp: Ditto.
5239         * gdb.base/relocate.exp: Ditto.
5240         * gdb.base/remote.exp: Ditto.
5241         * gdb.base/sepdebug.exp: Ditto.
5242         * gdb.base/set-lang-auto.exp: Ditto.
5243         * gdb.base/setshow.exp: Ditto.
5244         * gdb.base/setvar.exp: Ditto.
5245         * gdb.base/signals.exp: Ditto.
5246         * gdb.base/signull.exp: Ditto.
5247         * gdb.base/sigstep.exp: Ditto.
5248         * gdb.base/sizeof.exp: Ditto.
5249         * gdb.base/solib-disc.exp: Ditto.
5250         * gdb.base/store.exp: Ditto.
5251         * gdb.base/structs.exp: Ditto.
5252         * gdb.base/structs2.exp: Ditto.
5253         * gdb.base/subst.exp: Ditto.
5254         * gdb.base/term.exp: Ditto.
5255         * gdb.base/trace-commands.exp: Ditto.
5256         * gdb.base/unwindonsignal.exp: Ditto.
5257         * gdb.base/valgrind-db-attach.exp: Ditto.
5258         * gdb.base/varargs.exp: Ditto.
5259         * gdb.base/watch-cond.exp: Ditto.
5260         * gdb.base/watch_thread_num.exp: Ditto.
5261         * gdb.base/watchpoint-cond-gone.exp: Ditto.
5262         * gdb.base/watchpoint.exp: Ditto.
5263         * gdb.base/whatis-exp.exp: Ditto.
5264
5265 2010-06-01  Michael Snyder  <msnyder@vmware.com>
5266
5267         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5268         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5269         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5270         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5271         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5272         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5273         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5274         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5275         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5276         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5277         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5278         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5279         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5280         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5281         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5282
5283 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5284
5285         * gdb.base/commands.exp (begin commands on watch): Remove excessive
5286         trailing newline.
5287         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5288         * gdb.java/jmisc.exp (p *args\n): Rename to ...
5289         (p *args): ... here and remove excessive trailing newline.
5290
5291 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
5292
5293         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5294
5295 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5296
5297         Accept the new Linux kernel "t (tracing stop)" string.
5298         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5299         Update comment.
5300         (state_wait) <T (tracing stop)>: New.
5301         (main): Update the state_wait expect string.
5302
5303 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
5304
5305         * limits.c, limits.exp: Delete files.
5306         * Makefile.in (clean mostlyclean): Adjust.
5307         * tracecmd.exp: Adjust.
5308
5309 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5310
5311         * gdb.base/tui-layout.exp: New.
5312
5313 2010-05-28  Michael Snyder  <msnyder@vmware.com>
5314
5315         * gdb.reverse/break-precsave.exp:
5316         Replace uses of send_gdb / gdb_expect.
5317         * gdb.reverse/break-reverse.exp:
5318         Replace uses of send_gdb / gdb_expect.
5319         * gdb.reverse/consecutive-precsave.exp:
5320         Replace uses of send_gdb / gdb_expect.
5321         * gdb.reverse/consecutive-reverse.exp:
5322         Replace uses of send_gdb / gdb_expect.
5323         * gdb.reverse/finish-precsave.exp:
5324         Replace uses of send_gdb / gdb_expect.
5325         * gdb.reverse/finish-reverse.exp:
5326         Replace uses of send_gdb / gdb_expect.
5327         * gdb.reverse/i386-precsave.exp:
5328         Replace uses of send_gdb / gdb_expect.
5329         * gdb.reverse/i386-reverse.exp:
5330         Replace uses of send_gdb / gdb_expect.
5331         * gdb.reverse/i386-sse-reverse.exp:
5332         Replace uses of send_gdb / gdb_expect.
5333         * gdb.reverse/i387-env-reverse.exp:
5334         Replace uses of send_gdb / gdb_expect.
5335         * gdb.reverse/i387-stack-reverse.exp:
5336         Replace uses of send_gdb / gdb_expect.
5337         * gdb.reverse/machinestate-precsave.exp:
5338         Replace uses of send_gdb / gdb_expect.
5339         * gdb.reverse/machinestate.exp:
5340         Replace uses of send_gdb / gdb_expect.
5341         * gdb.reverse/sigall-precsave.exp:
5342         Replace uses of send_gdb / gdb_expect.
5343         * gdb.reverse/sigall-reverse.exp:
5344         Replace uses of send_gdb / gdb_expect.
5345         * gdb.reverse/solib-precsave.exp:
5346         Replace uses of send_gdb / gdb_expect.
5347         * gdb.reverse/solib-reverse.exp:
5348         Replace uses of send_gdb / gdb_expect.
5349         * gdb.reverse/step-precsave.exp:
5350         Replace uses of send_gdb / gdb_expect.
5351         * gdb.reverse/step-reverse.exp:
5352         Replace uses of send_gdb / gdb_expect.
5353         * gdb.reverse/until-precsave.exp:
5354         Replace uses of send_gdb / gdb_expect.
5355         * gdb.reverse/until-reverse.exp:
5356         Replace uses of send_gdb / gdb_expect.
5357         * gdb.reverse/watch-precsave.exp:
5358         Replace uses of send_gdb / gdb_expect.
5359         * gdb.reverse/watch-reverse.exp:
5360         Replace uses of send_gdb / gdb_expect.
5361
5362 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5363
5364         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5365         excessive newline.
5366
5367 2010-05-27  Michael Snyder  <msnyder@vmware.com>
5368
5369         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5370         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5371         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5372         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5373         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5374         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5375         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5376         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5377         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5378         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5379         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5380         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5381         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5382         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5383         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5384         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5385         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5386         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5387         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5388
5389 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5390
5391         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5392         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5393
5394         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5395         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5396         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5397
5398         * gdb.reverse/consecutive-reverse.exp:
5399         Replace uses of send_gdb / gdb_expect.
5400         * gdb.reverse/consecutive-precsave.exp:
5401         Replace uses of send_gdb / gdb_expect.
5402
5403         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5404         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5405         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5406         * gdb.mi/mi-ns-stale-regcache.exp:
5407         Replace uses of send_gdb / gdb_expect.
5408         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5409         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5410         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5411         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5412         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5413         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5414         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5415         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5416         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5417
5418 2010-05-26  Michael Snyder  <msnyder@vmware.com>
5419
5420         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5421
5422         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5423
5424         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5425         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5426         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5427         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5428         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5429         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5430         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5431         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5432         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5433
5434 2010-05-25  Tom Tromey  <tromey@redhat.com>
5435
5436         * gdb.base/macscp.exp: Add missing space after setup_kfail.
5437
5438 2010-05-25  Tom Tromey  <tromey@redhat.com>
5439
5440         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5441         argument order.
5442         * gdb.base/macscp.exp: Fix setup_kfail argument order.
5443         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5444         order.
5445         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5446         order.
5447         * gdb.base/call-sc.exp (setup_kfails): Remove.
5448         (setup_compiler_kfails): Remove.
5449         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5450         argument order.
5451         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5452         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5453         (advancei): Fix setup_kfail argument order.
5454         * gdb.base/radix.exp: Fix setup_kfail argument order.
5455         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5456         order.
5457         * gdb.base/structs.exp (setup_kfails): Remove.
5458         (setup_compiler_kfails): Fix setup_kfail argument order.
5459         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5460         order.
5461         * gdb.java/jmain.exp: Fix setup_kfail argument order.
5462         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5463         setup_kfail argument order.
5464         * gdb.cp/overload.exp: Fix setup_kfail argument order.
5465
5466 2010-05-25  Tom Tromey  <tromey@redhat.com>
5467
5468         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5469
5470 2010-05-25  Michael Snyder  <msnyder@vmware.com>
5471
5472         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5473         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5474         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5475         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5476         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5477         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5478         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5479         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5480         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
5481         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5482         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5483         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5484         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5485         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5486         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5487         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5488         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5489         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5490         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5491         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5492         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5493         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5494         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
5495         * gdb.base/default.exp: Replace send_gdb with gdb_test.
5496         * gdb.base/define.exp: Replace send_gdb with gdb_test.
5497         * gdb.base/display.exp: Replace send_gdb with gdb_test.
5498         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5499         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5500         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5501         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5502         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5503         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5504         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5505         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5506         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5507         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5508         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5509         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5510         * gdb.base/help.exp: Replace send_gdb with gdb_test.
5511         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5512         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5513         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5514         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5515         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5516         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5517         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5518         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5519         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5520
5521 2010-05-25  Doug Evans  <dje@google.com>
5522
5523         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5524         gdb.string_to_argv.
5525
5526 2010-05-21  Tom Tromey  <tromey@redhat.com>
5527
5528         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5529         Call it.
5530         * gdb.dwarf2/pieces.S: Update.
5531         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5532
5533 2010-05-21  Tom Tromey  <tromey@redhat.com>
5534
5535         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5536         Call it.
5537         * gdb.dwarf2/pieces.c (struct C): New.
5538         (f6): New function.
5539         * gdb.dwarf2/pieces.S: Replace.
5540
5541 2010-05-21  Tom Tromey  <tromey@redhat.com>
5542
5543         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5544         Call it.
5545
5546 2010-05-21  Tom Tromey  <tromey@redhat.com>
5547
5548         * gdb.dwarf2.pieces.exp: New file.
5549         * gdb.dwarf2.pieces.S: New file.
5550         * gdb.dwarf2.pieces.c: New file.
5551
5552 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
5553             Joel Brobecker  <brobecker@adacore.com>
5554
5555         * lib/gdb.exp (gdb_test_no_output): New function.
5556         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5557         when testing commands that should produce no output.
5558
5559 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5560
5561         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5562         parameter that we want to watch being a constant.
5563
5564 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5565
5566         * gdb.ada/cond_lang: New testcase.
5567
5568 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5569
5570         * lib/gdb.exp (banned_variables): New variable/constant.
5571         (gdb_init): Add write trace on variables listed in banned_variables.
5572         (gdb_finish): Remove write traces on variables listed in
5573         banned_variables.
5574
5575 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
5576
5577         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5578         * gdb.cp/koenig.exp: Likewise.
5579
5580 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
5581
5582         PR python/11482
5583
5584         * gdb.python/py-value.exp (test_value_hash): New function.
5585
5586 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
5587
5588         PR exp/11530.
5589         * gdb.base/gdb11530.c: New file.
5590         * gdb.base/gdb11530.exp: New file.
5591
5592 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5593
5594         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5595         * gdb.dwarf2/dw2-modula2-self-type.S: New.
5596
5597 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
5598
5599         * gdb.cp/koenig.exp: New test.
5600         * gdb.cp/koenig.cc: New test program.
5601
5602 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
5603
5604         Remove the use of prms_id and bug_id throughout the testsuite.
5605
5606 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
5607
5608         PR exp/11349.
5609         * testsuite/gdb.cp/ref-types.exp: Add test to examine
5610         use a reference local variable.
5611
5612 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5613
5614         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5615         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
5616         variable different_dir. Move debugfile into a full directory pathname
5617         under DIFFERENT_DIR.
5618         * lib/gdb.exp (separate_debug_filename): Remove.
5619         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
5620         variable debug_dir and mkdir of it.  Update function comments.
5621
5622 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
5623
5624         PR gdb/11557
5625
5626         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5627         files.
5628
5629 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
5630
5631         * gdb.python/py-param.exp: New File.
5632
5633 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
5634
5635         * gdb.base/default.exp: Fix "set language" test.
5636
5637 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
5638
5639         PR breakpoints/11531.
5640         * gdb.base/gdb11531.c: New file.
5641         * gdb.base/gdb11531.exp: New file.
5642
5643 2010-04-26  Tom Tromey  <tromey@redhat.com>
5644
5645         * gdb.base/completion.exp: Add tests for completion and deprecated
5646         commands.
5647
5648 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5649
5650         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5651         (print /x char_array): Escape curly brackets.
5652
5653 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5654
5655         Fix deadlock on looped list of loaded shared objects.
5656         * gdb.base/solib-corrupted.exp: New.
5657
5658 2010-04-23  Doug Evans  <dje@google.com>
5659
5660         * gdb.python/py-section-script.c: New file.
5661         * gdb.python/py-section-script.exp: New file.
5662         * gdb.python/py-section-script.py: New file.
5663
5664 2010-04-20  Chris Moller  <cmoller@redhat.com>
5665
5666         PR 10179
5667
5668         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5669         * gdb.base/pr10179-a.c:
5670         * gdb.base/pr10179-b.c:
5671         * gdb.base/pr10179.exp: New files.
5672
5673 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5674
5675         Fix crashes on dangling display expressions.
5676         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5677         is SEP.
5678         (lib_flags): Remove the "debug" keyword.
5679         (libsepdebug): New variable for iterating new loop.
5680         (save_pf_prefix): New variable wrapping the loop.
5681         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
5682         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5683
5684 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5685
5686         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5687
5688 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5689
5690         PR stabs/11479.
5691         * gdb.stabs/gdb11479.exp: New file.
5692         * gdb.stabs/gdb11479.c: New file.
5693
5694 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5695
5696         * gdb.base/charset.c (Strin16, String32): New variables.
5697         * gdb.base/charset.exp (gdb_test): Test correct display
5698         of 16 or 32 bit strings.
5699
5700 2010-04-21  Chris Moller  <cmoller@redhat.com>
5701
5702         PR 9167
5703         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5704         * gdb.cp/pr9167.cc: New file.
5705         * gdb.cp/pr9167.exp: New file.
5706
5707
5708 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
5709
5710         PR pascal/11492.
5711         * gdb.pascal/gdb11492.pas: New file.
5712         * gdb.pascal/gdb11492.exp: New file.
5713
5714 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5715
5716         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5717
5718 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
5719
5720         * gdb.ada/dyn_loc: New testcase.
5721
5722 2010-04-20  Chris Moller  <cmoller@redhat.com>
5723
5724         PR 10867
5725
5726         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
5727         * gdb.cp/pr10687.cc: New file.
5728         * gdb.cp/pr10687.exp: New file.
5729
5730
5731 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5732             Sergio Durigan Junior  <sergiodj@redhat.com>
5733
5734         * gdb.fortran/logical.exp: New testcase.
5735         * gdb.fortran/logical.f90: New file.
5736
5737 2010-04-19  Doug Evans  <dje@google.com>
5738
5739         * gdb.base/help.exp (help source): Update expected output.
5740
5741 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5742
5743         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5744         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
5745         gdb_exit and return.
5746         (executable): New variable.
5747         (binfile): Use it.
5748
5749 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
5750
5751         PR breakpoints/8554.
5752
5753         * gdb.trace/save-trace.exp: Adjust.
5754
5755 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5756
5757         PR corefiles/11511
5758         * gdb.arch/system-gcore.exp: New.
5759         * gdb.arch/gcore.c: Likewise.
5760
5761 2010-04-15  Doug Evans  <dje@google.com>
5762
5763         * gdb.python/py-progspace.c: New file.
5764         * gdb.python/py-progspace.exp: New file.
5765
5766         * gdb.base/source.exp: Add tests for "source -s".
5767
5768 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
5769
5770         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5771         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5772         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5773         * gdb.python/py-mi.exp: New test for to_string returning None.
5774
5775 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
5776
5777         * gdb.python/py-breakpoint.c: Make result global.
5778
5779 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5780
5781         Fix non-GNU make compatibility.
5782         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5783
5784 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
5785
5786         * gdb.python/py-breakpoint.exp: New File.
5787         * gdb.python/py-breakpoint.C: Ditto.
5788
5789 2010-04-08  Stan Shebs  <stan@codesourcery.com>
5790
5791         * gdb.trace/actions.exp: Clear default-collect.
5792         * gdb.trace/save-trace.exp: Clear default-collect.
5793
5794 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
5795
5796         * gdb.python/py-value: Add null string variable.
5797           (test_lazy_string): Test zero length, NULL address lazy
5798           strings.
5799
5800 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5801
5802         * gdb.arch/i386-avx.c: New.
5803         * gdb.arch/i386-avx.exp: Likewise.
5804
5805         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5806
5807 2010-04-06  Doug Evans  <dje@google.com>
5808
5809         * gdb.base/source-test.gdb: New file.
5810         * gdb.base/source.exp: Test source -v.
5811
5812 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5813
5814         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5815
5816 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
5817
5818         * gdb.stabs/aout.sed: Convert all backslash to double backslash
5819         within one line, unless it is followed by a double quote.
5820         * gdb.stabs/hppa.sed: Idem.
5821         * gdb.stabs/weird.def: Add char and String constants
5822         * gdb.stabs/weird.exp: Check for correct parsing of
5823         char and string constants.
5824         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5825         in .stabs to .stabx substitution.
5826
5827 2010-04-05  Stan Shebs  <stan@codesourcery.com>
5828
5829         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5830         constant global.
5831         * gdb.trace/tfile.exp: Try to print them.
5832
5833 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5834
5835         * gdb.base/completion.exp: Update for new "info watchpoints".
5836         * gdb.base/default.exp: Ditto.
5837         * gdb.base/help.exp: Ditto.
5838         * gdb.base/watchpoint.exp: Ditto.
5839         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5840
5841 2010-04-04  Stan Shebs  <stan@codesourcery.com>
5842
5843         * gdb.trace/tfile.exp: Sharpen tfind test.
5844
5845 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
5846
5847         * gdb.base/break-entry.exp: New.
5848
5849 2010-04-02  Hui Zhu  <teawater@gmail.com>
5850             Michael Snyder <msnyder@vmware.com>
5851
5852         * gdb.reverse/i386-sse-reverse.exp: New file.
5853         * gdb.reverse/i386-sse-reverse.c: New file.
5854
5855 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
5856
5857         * gdb.trace/tfind.exp: Adjust expected disassembly output.
5858
5859 2010-04-01  Stan Shebs  <stan@codesourcery.com>
5860
5861         * gdb.trace/actions.exp: Tweak expected output.
5862         * gdb.trace/while-stepping.exp: Tweak expected output.
5863
5864 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
5865
5866         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5867
5868 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5869
5870         * gdb.base/commands.exp: Adjust.
5871         * gdb.cp/extern-c.exp: Adjust.
5872
5873 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5874
5875         * gdb.trace/collection.c (local_test_func): Define a local struct,
5876         and instanciate it.
5877
5878 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
5879
5880         * gdb.trace/collection.exp (gdb_collect_args_test)
5881         (gdb_collect_argarray_test): XFAIL the tests that assume the
5882         argarray argument's elements are collected.
5883
5884 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
5885
5886         * gdb.dwarf2/dw2-bad-parameter-type.exp,
5887         gdb.dwarf2/dw2-bad-parameter-type.S: New.
5888
5889 2010-03-31  Stan Shebs  <stan@codesourcery.com>
5890
5891         * gdb.trace/save-trace.exp: Test save/restore of default-collect
5892         and tracepoint conditionals.
5893         (gdb_verify_tracepoints): Delete unused return.
5894
5895 2010-03-26  Keith Seitz  <keiths@redhat.com>
5896
5897         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5898         appear in the output before main.
5899         Remove KFAIL for gdb/2215 aka bz 9320.
5900
5901 2010-03-30  Doug Evans  <dje@google.com>
5902
5903         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5904         by dejagnu.
5905         * gdb.arch/amd64-dword.exp: Ditto.
5906
5907         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5908         match.
5909         (break printf): Ditto.
5910
5911 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
5912
5913         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5914         gcc < 4.4.
5915         * gdb.cp/shadow.exp: Ditto.
5916
5917 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5918
5919         * gdb.trace/collection.exp (run_trace_experiment): Make sure
5920         "tstart" is silent.
5921
5922 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
5923
5924         * gdb.trace/collection.exp (executable): New.
5925         (binfile): Use it.
5926         (fpreg, spreg, pcreg): New.
5927         (test_register): Use gdb_test_multiple.  Pass /x to print.
5928         (prepare_for_trace_test): New.
5929         (run_trace_experiment): Use "continue", not gdb_run_cmd.
5930         (gdb_collect_args_test, gdb_collect_argstruct_test)
5931         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5932         prepare_for_trace_test.
5933         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
5934         fpreg, spreg and pcreg.
5935         (gdb_collect_expression_test, gdb_collect_globals_test): Use
5936         prepare_for_trace_test.
5937         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
5938         try to detect tracing support here.  Don't set breakpoints at
5939         `begin' or `end' here.
5940         <global scope>: Use clean_restart.  Run to main before checking
5941         for tracing support.  Check for for tracing support here.
5942
5943 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
5944
5945         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5946         " as $displacement" to "seen displacement message".
5947
5948 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
5949
5950         * gdb.trace/while-dyn.exp (executable): New variable.
5951         (binfile): Use it.
5952         (test_while_stepping): New function.  Move most tests here.  Call
5953         it once for each of the while-stepping, stepping and ws aliases.
5954
5955 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5956
5957         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5958         that do not provide the tagless_struct type name at all.
5959         (test_print_anon_union): Do not check value of uninitialized
5960         union member.  Do not use cp_test_ptype_class, so we can accept
5961         "long" as well as "long int".
5962
5963 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
5964
5965         * gdb.trace/tfile.c (tohex, bin2hex): New.
5966         (write_error_trace_file): Hexify error description.
5967
5968 2010-03-25  Stan Shebs  <stan@codesourcery.com>
5969
5970         * gdb.trace/tfile.c: Generate an additional trace file, improve
5971         portability.
5972         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5973         files in a better way.
5974
5975 2010-03-25  Keith Seitz  <keiths@redhat.com>
5976
5977         * gdb.java/jprint.exp: XFAIL printing of static class members
5978         because of GCC debuginfo problem.
5979
5980 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5981
5982         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5983
5984 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
5985
5986         * gdb.base/completion.exp: Allow long instead of long int.
5987         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5988         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
5989         variable p.
5990         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5991         * gdb.base/pointers.exp: Allow long instead of long int.
5992         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5993         * gdb.base/step-line.exp: Allow a directory before the source file name.
5994
5995 2010-03-24  Tom Tromey  <tromey@redhat.com>
5996
5997         PR breakpoints/9352:
5998         * gdb.base/default.exp: Update.
5999         * gdb.base/commands.exp: Update.
6000         * gdb.cp/extern-c.exp: Test setting commands on multiple
6001         breakpoints at once.
6002
6003 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
6004
6005         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6006         if gdb,nosignals.
6007         * gdb.base/watchpoints.c: Do not include unnecessary headers.
6008         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6009         exited".
6010
6011 2010-03-24  Stan Shebs  <stan@codesourcery.com>
6012
6013         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6014
6015 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
6016
6017         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6018         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6019         argument.  Handle "short" and "long".
6020         (Top level): Pass overprototyped output for old_fptr and xptr.
6021
6022 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
6023
6024         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6025         format strings and add casts to avoid compiler warnings.
6026
6027 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
6028
6029         * lib/trace-support.exp (gdb_trace_setactions):
6030         Don't expect whitespace after ">" prompt.
6031         * gdb.trace/actions.exp: Adjust for output changes.
6032         * gdb.trace/while-stepping.exp: Likewise.
6033
6034 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6035
6036         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6037         and r157645).
6038
6039 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6040
6041         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6042         New.
6043
6044 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
6045
6046         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6047         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6048
6049 2010-03-19  Stan Shebs  <stan@codesourcery.com>
6050
6051         * gdb.trace/ax.exp: New file.
6052
6053 2010-03-19  Doug Evans  <dje@google.com>
6054
6055         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6056         output from gcc.
6057
6058         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6059         named /usr/sbin/prelink<foo>.
6060
6061 2010-03-18  Stan Shebs  <stan@codesourcery.com>
6062
6063         * gdb.trace/circ.exp: Test circular-trace-buffer.
6064         * gdb.trace/tfile.exp: Update tstatus test.
6065
6066 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
6067
6068         * gdb.dwarf2/dw2-anonymous-func.S: New file.
6069         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6070
6071 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6072
6073         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6074
6075 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
6076
6077         * gdb.base/default.exp: Adjust the expected output of the finish
6078         and until commands when the inferior is not being run.
6079
6080 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
6081
6082         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6083         * gdb.cp/nsusing.exp: Ditto.
6084
6085 2010-03-15  Tom Tromey  <tromey@redhat.com>
6086
6087         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6088         * gdb.cp/userdef.cc (operator==): New function.
6089         (main): New locals mem1, mem2.
6090
6091 2010-03-15  Jie Zhang  <jie@codesourcery.com>
6092
6093         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6094         Declare and use new loadtimeout variable.
6095
6096 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
6097
6098         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6099         Use gdb_load later.
6100
6101 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
6102
6103         * gdb.base/solib-disc.c (main): Make format of fprintf a string
6104         literal.  Add missing endlines to prints to stderr.
6105
6106 2010-03-12  Tom Tromey  <tromey@redhat.com>
6107
6108         PR c++/9708:
6109         * gdb.cp/m-static.exp: Add regression test.
6110         * gdb.cp/m-static.cc (method): New method.
6111         (main): Call it.
6112
6113 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
6114
6115         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6116         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6117
6118 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
6119
6120         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6121
6122 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
6123
6124         * lib/gdb.exp (skip_stl_tests): New.
6125         (gdb_compile): Symbian needs -ldl.
6126         (shlib_target_file): New.
6127         (shlib_symbol_file): New.
6128         (gdb_load_shlibs): Use shlib_target_file.
6129         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6130         * gdb.cp/exception.exp: Use skip_stl_tests.
6131         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
6132         * gdb.cp/try_catch.exp: Use skip_stl_tests.
6133         * gdb.cp/mb-templates.exp: Ditto.
6134         * gdb.base/commands.exp: Relax regexes.
6135         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
6136         shlib_target_file and shlib_symbol_file.
6137         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
6138         sections.
6139         * gdb.base/ending-run.exp: Accept E32Main for symbian.
6140         * gdb.base/solib-disc.exp: Use
6141         shlib_target_file and shlib_symbol_file.
6142         * gdb.base/unload.exp: Don't skip on symbian.  Use
6143         shlib_target_file and shlib_symbol_file.
6144         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6145
6146 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
6147
6148         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6149         * gdb.trace/report.exp: Adjust for x86 and x86_64.
6150         Issue a tfind end before looking for a tracepoint frame.
6151         * gdb.trace/tfind.exp: Adjust tstatus output.
6152         Adjust disassembly output.
6153         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6154
6155 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6156
6157         * gdb.base/break-interp.exp: Create new displacement parameter value
6158         for the test_ld calls.
6159         (reach): New parameter displacement, verify its content.  New push of
6160         pf_prefix "reach-$func:".  Import global expect_out.
6161         (test_core): New parameter displacement, verify its content.  New push
6162         of pf_prefix "core:".  New command "set verbose on".  Import global
6163         expect_out.
6164         (test_attach): New parameter displacement, verify its content.  New
6165         push of pf_prefix "attach:".  New command "set verbose on".  Import
6166         global expect_out.
6167         (test_ld): New parameter displacement, pass it to the reach, test_core
6168         and test_attach calls and verify its content in the "ld.so exit" test.
6169         * gdb.base/prelink.exp: Remove gdb_exit and final return.
6170         (prelink): Update expected text, use gdb_test.
6171
6172 2010-03-10  Doug Evans  <dje@google.com>
6173
6174         * gdb.base/checkpoint.exp: Fix comment.
6175         Lengthen timeout while doing >600 checkpoints test.
6176         Rename duplicate "kill all one" test to keep test names unique.
6177
6178 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
6179
6180         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6181
6182 2010-03-08  Keith Seitz  <keiths@redhat.com>
6183
6184         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6185         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6186         (dm_type_long): New function.
6187         (dm_type_unsigned_short): New function.
6188         (dm_type_unsigned_long): New function.
6189         (myint): New typedef.
6190         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6191         long, unsigned shor and long, operator char*, and typedef.
6192         (test_lookup_operator_functions): Add operator char* test.
6193         (test_paddr_operator_functions): Likewise.
6194         (test_paddr_overloaded_functions): Use probe values for
6195         short, long, and unsigned short and long.
6196         (test_paddr_hairy_functions): If the demangler probe detected
6197         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6198         demangler.
6199         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6200         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6201         and "print null_pmf".
6202         Add test "ptype a.*pmf".
6203         * gdb.cp/overload.exp: Allow optional "int" to appear with
6204         "short" and "long".
6205         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6206         long expect value for men_overload1arg.
6207         Allow "int" to appear with "short" and "long".
6208         When testing "info break", add argument for main (void).
6209         Also allow "int" to appear with "short" and "long".
6210         Ditto with "unsigned" and "long long".
6211         * gdb.java/jmain.exp: Do not enclose methods names in single
6212         quotes.
6213         * gdb.java/jmisc.exp: Likewise.
6214         * gdb.java/jprint.exp: Likewise.
6215         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6216
6217         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
6218         * gdb.cp/exception.exp (backtrace after first throw)
6219         (backtrace after second throw): Allow a namespace before __cxa_throw.
6220         (backtrace after first catch, backtrace after second catch): Allow
6221         a namespace before __cxa_begin_catch.
6222
6223         * gdb.cp/cpexprs.exp: New file.
6224         * gdb.cp/cpexprs.cc: New file.
6225
6226         From Daniel Jacobowitz  <dan@codesourcery.com>
6227         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
6228         to use string_to_regexp.
6229         (ctor, dtor): New functions.  Use them to match constructor
6230         and destructor function types.
6231         (Top level): Use runto_main.
6232
6233 2010-03-05  Tom Tromey  <tromey@redhat.com>
6234
6235         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6236         gdb.target_charset.
6237         (pp_ns.to_string): Likewise.
6238
6239 2010-03-04  Keith Seitz  <keiths@redhat.com>
6240
6241         * gdb.cp/overload.exp: Test that the filename portion of a linespec
6242         can be quoted.  Test that both the filename and function/line
6243         portions can be quoted at the same time.
6244
6245 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
6246
6247         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6248
6249 2010-03-03  Doug Evans  <dje@google.com>
6250
6251         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6252         libc contains libpthread.
6253
6254         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6255         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6256         of gdb_compile.  Add another pattern to match android backtrace.
6257
6258 2010-03-03  Tom Tromey  <tromey@redhat.com>
6259
6260         PR gdb/11345:
6261         * gdb.base/printcmds.exp (test_printf): Add test.
6262
6263 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
6264
6265         * gdb.arch/amd64-byte.exp: New.
6266         * gdb.arch/amd64-dword.exp: Likewise.
6267         * gdb.arch/amd64-pseudo.c: Likewise.
6268         * gdb.arch/amd64-word.exp: Likewise.
6269         * gdb.arch/i386-byte.exp: Likewise.
6270         * gdb.arch/i386-pseudo.c: Likewise.
6271         * gdb.arch/i386-word.exp: Likewise.
6272
6273 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
6274
6275         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6276         types.  Add structreg, bitfields, and flags registers.
6277         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6278         registers.
6279
6280 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6281
6282         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
6283         (load_description): Set architecture if defined.
6284
6285 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
6286
6287         * gdb.python/py-frame.exp: Add read_var block tests.
6288         * gdb.python/py-frame.c (block): New function.
6289
6290 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6291             Daniel Jacobowitz  <dan@codesourcery.com>
6292
6293         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
6294
6295 2010-02-25  David S. Miller  <davem@davemloft.net>
6296
6297         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6298         fix logic for setting all_syscalls_numbers.
6299
6300 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
6301
6302         * Makefile.in: Add py-block and py-symbol.
6303         * gdb.python/py-symbol.exp: New File.
6304         * gdb.python/py-symtab.exp: New File.
6305         * gdb.python/py-block.exp: New File.
6306         * gdb.python/py-symbol.c: New File.
6307         * gdb.python/py-block.c: New File.
6308
6309 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
6310
6311         PR python/11314
6312         * lib/gdb.exp (skip_python_tests): New function.
6313         * gdb.python/py-cmd.exp: Use skip_python_tests.
6314         * gdb.python/py-frame.exp: Likewise.
6315         * gdb.python/py-function.exp: Likewise.
6316         * gdb.python/py-prettyprint.exp: Likewise.
6317         * gdb.python/py-template.exp: Likewise.
6318         * gdb.python/py-type.exp: Likewise.
6319         * gdb.python/py-value.exp: Likewise.
6320
6321 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
6322
6323         PR9605
6324
6325         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6326
6327 2010-02-19  Tom Tromey  <tromey@redhat.com>
6328
6329         PR c++/8693, PR c++/9496:
6330         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
6331         regression tests.
6332
6333 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6334
6335         Fix compatibility with m68k as.
6336         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
6337         Use only /* comments */.
6338
6339 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6340
6341         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6342         * configure: Regenerate.
6343
6344 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
6345
6346         * gdb.python/py-type.exp: Check for Python support.
6347
6348 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6349
6350         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6351         `regsub' syntax available.
6352
6353 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6354
6355         * gdb.base/shmain.c (main): Remove printf call.
6356         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6357         * gdb.base/unload.c (main): Make format of fprintf a string
6358         literal.  Add missing endlines to prints to stderr.
6359         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6360
6361 2010-02-17  Tom Tromey  <tromey@redhat.com>
6362
6363         * gdb.java/jprint.java (jprint.props): New field.
6364         * gdb.java/jprint.exp (set_lang_java): Add regression test.
6365
6366 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
6367
6368         * gdb.base/charset.exp: Don't assume new `regsub' syntax
6369         available.
6370
6371 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6372
6373         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6374         creation to support remote host testing.
6375
6376 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6377
6378         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6379         Recognize "command not found".
6380
6381 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6382
6383         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6384         single-stepping.
6385
6386 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6387
6388         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6389         if arguments are not supported.
6390
6391 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6392
6393         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6394         be const or non-const.
6395
6396 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6397
6398         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6399         mi_send_resuming_command to send -exec-continue.
6400
6401 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6402
6403         * gdb.base/list.exp (test_list_filename_and_function): Add test
6404         with single quotes.
6405         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6406         matching.
6407         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6408         Add KFAIL'd tests for PR gdb/11289.
6409
6410 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6411
6412         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6413
6414 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6415
6416         * gdb.base/comp-dir/subdir/dummy.txt: New file.
6417         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6418         a temporary directory.
6419
6420 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
6421
6422         * gdb.base/charset.exp: Use a single regular expression to match
6423         show host-charset and show target-charset output.
6424
6425 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6426
6427         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6428         "Illegal process-id" expect string more exact.
6429         (attach to digits-starting nonsense is prohibited): New.
6430
6431 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6432
6433         * gdb.base/prelink.exp (set verbose on): New.
6434
6435 2010-02-12  Tomas Holmberg  <th@virtutech.com>
6436
6437         * mi-reverse.exp: New file. Test for reverse option to the
6438         following MI commands: exec-continue, exec-finish, exec-next,
6439         exec-step, exec-next-instruction, exec-step-instruction.
6440
6441 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
6442
6443         * gdb.ada/ptype_tagged_param: New testcase.
6444
6445 2010-02-08  Tom Tromey  <tromey@redhat.com>
6446
6447         PR c++/8017:
6448         * gdb.cp/overload.exp: Add tests.
6449         * gdb.cp/overload.cc (struct K): New.
6450         (namespace N): New.
6451         (main): Call new functions.
6452         (K::staticoverload): Define.
6453
6454 2010-02-08  Chris Moller  <moller@mollerware.com>
6455
6456         PR gdb/10728
6457         * gdb.cp/pr10728-x.h: New file.
6458         * gdb.cp/pr10728-x.cc: New file.
6459         * gdb.cp/pr10728-y.cc: New file.
6460         * gdb.cp/pr10728.exp: New file.
6461         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6462
6463 2010-02-08  Chris Moller  <moller@mollerware.com>
6464
6465         PR gdb/9067
6466         * gdb.cp/pr9067.exp:  New
6467         * gdb.cp/pr9067.cc:   New
6468         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6469
6470 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
6471
6472         * lib/gdb.exp (gdb_test_timeout): New global variable.
6473         Set it to timeout if not already set.
6474         (gdb_init): Reset the value of timeout to gdb_test_timeout.
6475
6476 2010-02-05  Doug Evans  <dje@google.com>
6477
6478         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6479         user.
6480
6481 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
6482
6483         PR c++/7935:
6484         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6485
6486 2010-02-04  Tom Tromey  <tromey@redhat.com>
6487
6488         * gdb.cp/virtbase.exp: Make test case names unique.
6489
6490 2010-02-02  Tom Tromey  <tromey@redhat.com>
6491
6492         * gdb.cp/virtbase.exp: Add regression tests.
6493         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6494         (main): Instantiate RHC.
6495
6496 2010-02-02  Tom Tromey  <tromey@redhat.com>
6497
6498         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6499         type-printing change.
6500
6501 2010-02-02  Tom Tromey  <tromey@redhat.com>
6502
6503         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6504         * gdb.cp/virtbase.cc: New file.
6505         * gdb.cp/virtbase.exp: New file.
6506         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6507
6508 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6509
6510         PR libc/11214:
6511         * gdb.threads/current-lwp-dead.c: Include features.h.
6512         (HAS_NOMMU): New.
6513         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6514
6515 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6516
6517         * gdb.base/symbol-without-target_section.exp,
6518         gdb.base/symbol-without-target_section.c: New.
6519
6520 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6521
6522         * gdb.base/bigcore.exp: Reset increased timeout.
6523         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6524
6525 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6526
6527         * gdb.base/gcore.exp (capture_command_output): Use
6528         gdb_test_multiple.
6529
6530 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6531
6532         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6533         * gdb.arch/thumb2-it.exp (test_it_break): New function.
6534         (Top level): Call it.
6535
6536 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
6537
6538         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6539
6540 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
6541
6542         * gdb.base/call-strs.exp, gdb.base/default.exp,
6543         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6544         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6545         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6546         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6547         gdb.base/watchpoint-solib.exp: Save and restore timeout.
6548         * gdb.base/ending-run.exp: Correct restore of timeout.
6549         * gdb.base/page.exp: Remove unnecessary timeout setting.
6550
6551 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6552
6553         * gdb.ada/rec_return: New testcase.
6554
6555 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
6556
6557         * gdb.ada/call_pn: New testcase.
6558
6559 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6560
6561         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6562         (Top level): Use it to resume.
6563         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6564         the Thumb mode displaced stepping error as unsupported.
6565
6566 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
6567
6568         * gdb.cp/nsusing.exp: Added more tests.
6569         * gdb.cp/nsrecurs.exp: Ditto.
6570         * gdb.cp/nsusing.cc: Added test functions.
6571         * gdb.cp/nsrecurs.cc: Ditto.
6572
6573 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6574
6575         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6576         absolute directory pathnames in gdb.sum file.
6577
6578 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
6579
6580         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6581         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6582
6583 2010-01-26  Tom Tromey  <tromey@redhat.com>
6584
6585         PR exp/7643:
6586         * gdb.base/printcmds.exp (test_print_string_constants): Remove
6587         setup_kfail.
6588
6589 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
6590
6591         * gdb.cp/nsrecurs.exp: New test.
6592         * gdb.cp/nsrecurs.cc: New test program.
6593         * gdb.cp/nsstress.exp: New test.
6594         * gdb.cp/nsstress.cc: New test program.
6595         * gdb.cp/nsdecl.exp: New test.
6596         * gdb.cp/nsdecl.cc: New test program.
6597
6598 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
6599
6600         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6601         imported into file scope.
6602         Marked test as xfail.
6603         * gdb.cp/namespace-using.cc (marker5): New function.
6604         * gdb.cp/shadow.exp: New test.
6605         * gdb.cp/shadow.cc: New test program.
6606         * gdb.cp/nsimport.exp: New test.
6607         * gdb.cp/nsimport.cc: New test program.
6608
6609 2010-01-25  Tom Tromey  <tromey@redhat.com>
6610
6611         PR gdb/11049:
6612         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6613         with "set print null-stop on".
6614
6615 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6616
6617         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6618         Adjust it for DISASSEMBLY_OMIT_FNAME.
6619
6620 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6621
6622         PR symtab/11199:
6623         * gdb.dwarf2/member-ptr-forwardref.exp,
6624         gdb.dwarf2/member-ptr-forwardref.S: New.
6625
6626 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6627
6628         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6629         (thread1_func): Protect thread1_tid with thread1_tid_cond by
6630         thread1_tid_mutex.  Remove gdbstop_mutex handling.
6631         (thread2_func): Protect thread2_tid with thread2_tid_cond by
6632         thread2_tid_mutex.  Remove gdbstop_mutex handling.
6633         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6634         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
6635         pthread_cond_wait conditionalizations by while loops.
6636
6637 2010-01-20  Tom Tromey  <tromey@redhat.com>
6638
6639         PR backtrace/10770:
6640         * gdb.dwarf2/pr10770.exp: New file.
6641         * gdb.dwarf2/pr10770.c: New file.
6642         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6643
6644 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
6645
6646         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6647         that target was removed, and the test always runs native anyway.
6648
6649 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6650
6651         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6652         gdb.base/watchpoint-cond-gone-stripped.c: New.
6653
6654 2010-01-19  Tom Tromey  <tromey@redhat.com>
6655
6656         PR c++/8000:
6657         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
6658         existing tests.
6659         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6660         (main): Use AAA::SomeEnum.
6661
6662 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6663
6664         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6665         (test_ignore_count): Declare line_callme_body global.
6666         (run to breakpoint with ignore count): Use line_callme_body.
6667         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6668         (set line_main_hello, set line_main_return): Reindent.
6669         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6670         New.
6671         (continue to callee4): Use line_callee4_body.
6672         (check *stopped from CLI command): Use line_callee4_next.
6673         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6674         (set line_main_hello, set line_main_return): Reindent.
6675         (set line_callee4_head, set line_callee4_body): New.
6676         (continue to callee4): Use line_callee4_body.
6677
6678 2010-01-18  Tom Tromey  <tromey@redhat.com>
6679
6680         PR c++/9680:
6681         * gdb.cp/casts.cc: Add new classes and variables.
6682         * gdb.cp/casts.exp: Test new operators.
6683
6684 2010-01-18  Tom Tromey  <tromey@redhat.com>
6685             Thiago Jung Bauermann  <bauerman@br.ibm.com>
6686
6687         * gdb.python/source2.py: New file.
6688         * gdb.python/source1: New file.
6689         * gdb.python/python.exp: Test "source" command.
6690
6691 2010-01-15  Stan Shebs  <stan@codesourcery.com>
6692
6693         * gdb.trace/tfile.c: New file.
6694         * gdb.trace/tfile.exp: New file.
6695
6696 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6697
6698         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6699
6700 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6701
6702         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6703
6704 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6705
6706         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6707         (libfunc): New parameter action.  Implement also selectable "sleep".
6708         * gdb.base/break-interp-main.c: Include assert.h.
6709         (libfunc): New parameter action.
6710         (main): New parameters argc and argv.  Assert argc.  Pass argv.
6711         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6712         (test_attach): New proc.
6713         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
6714         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
6715
6716 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6717
6718         * gdb.base/break-interp.exp (test_core): New proc.
6719         (test_ld): Call it.
6720
6721 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6722
6723         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6724         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
6725         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
6726         and gdb_compile_shlib.  Use new -Wl compiler options.
6727         (dl bt, main bt): New tests.
6728
6729 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6730
6731         Support PIEs with no symfile_objfile.
6732         * gdb.base/break-interp.exp: New argument at the test_ld calls.
6733         (test_ld): New parameter trynosym.
6734         (test_ld <$trynosym>): New block.
6735
6736 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6737
6738         * gdb.base/break-interp.exp: New file.
6739
6740 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
6741
6742         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6743         * gdb.python/py-prettyprint.py (pp_ls): New printer.
6744         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6745         test.
6746         * gdb.python/py-prettyprint.c: Define lazystring test structure.
6747         * gdb.python/py-mi.exp: Add lazy string test.
6748
6749 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
6750
6751         * lib/mi-support.exp (mi_check_thread_states): Handle
6752         core number in thread listing.
6753
6754 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
6755
6756         * gdb.base/maint.exp: Adjust the expected output for the
6757         "maint print type" test. Use gdb_test_multiple instead of
6758         gdb_sent/gdb_expect.
6759
6760 2010-01-11  Doug Evans  <dje@google.com>
6761
6762         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6763         from gdbserver_download.  All callers updated.
6764
6765         * gdb.server/ext-run.exp: "info os processes" requires xml support.
6766
6767 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6768
6769         Implement binary numbers parsing.
6770         * gdb.base/printcmds.exp (test_integer_literals_accepted)
6771         (test_integer_literals_rejected): New binary tests.
6772
6773 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6774
6775         * gdb.cell/configure: Regenerate.
6776
6777 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6778
6779         * gdb.base/corefile.exp: Move the core finding block out and call it as
6780         core_find, new variable $corefile, replace corefile by $corefile and
6781         [file tail $corefile] for usage vs. test names resp.
6782         * lib/gdb.exp (core_find): Move it as a new function here.  New
6783         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
6784         $destcore.  Return "" on error.
6785
6786 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6787
6788         Workaround PR binutils/10802.
6789         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6790         (twice).
6791
6792 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
6793
6794         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6795
6796 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
6797
6798         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6799         call, to avoid interruption.
6800
6801 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6802
6803         * gdb.stabs/weird.def (args93): New.
6804
6805 2010-01-07  Doug Evans  <dje@google.com>
6806
6807         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6808
6809 2010-01-07  Tom Tromey  <tromey@redhat.com>
6810
6811         * gdb.base/source.exp: Use correct line number.
6812
6813 2010-01-05  Stan Shebs  <stan@codesourcery.com>
6814
6815         * gdb.trace/tracecmd.exp: Test ftrace.
6816
6817 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6818
6819         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6820
6821 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6822
6823         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6824         "uint_for_mi_testing".
6825
6826 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6827
6828         Test indented comment in file being sourced.
6829         * gdb.base/commands.exp: Test indented comment in file being sourced.
6830
6831 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6832
6833         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6834         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6835         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6836         notice.
6837
6838 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
6839
6840         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6841         notice.
6842
6843 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6844
6845         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6846         missing $after_stopped and comma (,) expectation.
6847
6848 2009-12-31  Stan Shebs  <stan@codesourcery.com>
6849
6850         * gdb.trace/actions.exp: Test teval action.
6851
6852 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6853
6854         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6855         (top level): Call test_watchpoint_in_big_blob.
6856         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6857         watchpoints.
6858         (func3): Write to buf.
6859
6860 2009-12-29  Stan Shebs  <stan@codesourcery.com>
6861
6862         * gdb.trace/actions.exp: Test default-collect.
6863
6864 2009-12-28  Stan Shebs  <stan@codesourcery.com>
6865
6866         * gdb.trace/tsv.exp: New file.
6867         * gdb.base/completion.exp: Update ambiguous info output.
6868
6869 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
6870
6871         * gdb.base/find.c (main): Reference search buffers.
6872         * gdb.base/included.c (main): Reference integer.
6873         * gdb.base/ptype.c (charfoo): Declare.
6874         (intfoo): Call charfoo.
6875         * gdb.base/scope0.c (useitp): New function.
6876         (usestatics): Use useitp.
6877         (useit): Add a type for val.
6878         * gdb.base/scope1.c (useit1): Take a pointer argument.
6879         (usestatics1): Update calls to useit1.
6880         * gdb.cp/call-c.cc: Declare foo.
6881         (main): Call foo.
6882         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6883         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6884         (main): Call C::ensureRefs and ensureOtherRefs.
6885         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6886         variables.
6887         (ensureOtherRefs): New function.
6888         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6889         * gdb.cp/templates.cc (main): Call t5i.value.
6890
6891 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6892
6893         Fix compatibility with G++-4.5.
6894         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6895         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6896         (uncaught return): Remove.
6897
6898 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6899             Phil Muldoon  <pmuldoon@redhat.com>
6900
6901         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6902         (bp_location13, bp_location14, bp_location17, bp_location18)
6903         (marker3_proto, marker4_proto): New variables.
6904         (breakpoint info): Update output.
6905         (run until breakpoint at marker3, run until breakpoint at marker4): New
6906         tests.
6907
6908 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6909
6910         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6911         Replace the printf call of Y by provided "y-set-1" label.  New block
6912         for the second shared library.
6913         * gdb.base/unload.exp: Compile also the second library, call
6914         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
6915         (single pending breakpoint info): Rename to ...
6916         (pending breakpoint info before run): ... this extended test.
6917         (libfile2, libname2, libsrcfile2, libsrc2)
6918         (lib_sl2): New variables.
6919         (exec_opts): Set also SHLIB_NAME2.
6920         (pending breakpoint info on first run at shrfunc1)
6921         (pending breakpoint info on second run at shrfunc1)
6922         (pending breakpoint info on second run at shrfunc2)
6923         (print y from libfile, print y from libfile2): New tests.
6924         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6925         * gdb.base/unloadshr2.c: New.
6926
6927 2009-12-22  Hui Zhu  <teawater@gmail.com>
6928
6929         * gdb.reverse/sigall-reverse.exp: Adjust.
6930
6931 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
6932
6933         PR gdb/10884
6934
6935         * gdb.mi/var-cmd.c (do_bitfield_tests): New
6936         (main): Call do_bitfield_tests.
6937         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6938
6939 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
6940
6941         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6942         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6943         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6944         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6945         gdb.modula2/unbounded1.c: Update copyright header.
6946
6947 2009-12-10  Chris Moller  <moller@mollerware.com>
6948
6949         PR gdb/9399
6950         * gdb.cp/virtfunc2.exp: New tests
6951         * gdb.cp/virtfunc2.cc: New tests
6952         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6953
6954 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
6955
6956         * gdb.reverse/i387-env-reverse.c: New file.
6957         * gdb.reverse/i387-env-reverse.exp: New file.
6958         * gdb.reverse/i387-stack-reverse.c: New file.
6959         * gdb.reverse/i387-stack-reverse.exp: New file.
6960
6961 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
6962
6963         * gdb.python/py-type.exp (test_range): New test.
6964
6965 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
6966
6967         PR python/10805
6968
6969         * gdb.python/py-type.exp: New file.
6970         * gdb.python/py-type.c: New file.
6971         * Makefile.in: Add py-type.
6972
6973 2009-12-03  Tom Tromey  <tromey@redhat.com>
6974
6975         * gdb.python/py-value.exp (test_parse_and_eval): New
6976         function.
6977
6978 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6979
6980        PR gdb/11022
6981
6982        * gdb.base/pr11022.exp: New test.
6983        * gdb.base/pr11022.c: New test.
6984
6985 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6986
6987         Fix spurious false FAILs.
6988         * gdb.base/structs.c (chartest): New.
6989         (main): Fill-in chartest.
6990         * gdb.base/structs.exp (anychar_re, first): New.
6991         (start_structs_test): Import global anychar_re and first.
6992         New gdb_test call "set print elements 300; ${testfile}"
6993         (start_structs_test <$first>): New block.
6994         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
6995
6996 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6997
6998         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6999
7000 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7001
7002         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7003         Force $srcfile file.
7004         * gdb.base/foll-fork.c (callee): Comment out the printf call.
7005
7006 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7007
7008         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7009         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7010         * gdb.threads/watchthreads-reorder.exp: Likewise.
7011
7012 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
7013
7014         PR gdb/8704
7015
7016         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7017         "if", and "thread".  Correct matching in the previous test.
7018
7019 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
7020
7021         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7022
7023 2009-11-23  Michael Snyder  <msnyder@vmware.com>
7024
7025         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7026         * gdb.reverse-watch-precsave.exp: Ditto.
7027
7028 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
7029
7030         * gdb.asm/asm-source.exp: Adjust.
7031         * gdb.base/help.exp: Adjust.
7032
7033 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
7034
7035         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7036         (do_syscall_tests_without_xml): Set data-directory to
7037         /the/path/to/nowhere.
7038
7039 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
7040
7041         * gdb.threads/local-watch-wrong-thread.c,
7042         gdb.threads/local-watch-wrong-thread.exp: New files.
7043
7044 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
7045
7046         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7047         assume new `regsub' syntax available.
7048
7049 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7050
7051         * gdb.base/watchpoint-hw-hit-once.exp,
7052         gdb.base/watchpoint-hw-hit-once.c: New.
7053
7054 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7055
7056         * gdb.threads/watchthreads-reorder.exp,
7057         gdb.threads/watchthreads-reorder.c: New.
7058
7059 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
7060
7061         * gdb.xml/tdesc-regs.exp: Use for m68k.
7062
7063 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
7064
7065         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7066
7067 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7068
7069         * lib/gdb.exp (current_target_name): New procedure.
7070         (gdb_wrapper_target): New variable.
7071         (gdb_wrapper_init): Set gdb_wrapper_target.
7072         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7073         wrapper.
7074
7075 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7076
7077         * gdb.base/remote.exp: Delete the slowest load test.
7078         Do not load with fixed packet sizes.
7079
7080 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7081
7082         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7083
7084 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7085
7086         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
7087         srcfile when setting a breakpoint.
7088
7089 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
7090
7091         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7092         macros.
7093
7094 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
7095
7096         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7097         to be in memory.
7098         * gdb.base/display.c (force_mem): New.
7099         (do_loops): Use it.  Add breakpoint comments.
7100         (do_vars): Add a breakpoint comment.
7101         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
7102         line numbers.
7103
7104 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
7105
7106         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7107         instead of a bare "run".
7108
7109 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7110
7111         * gdb.python/py-prettyprint.exp: Adjust.
7112
7113 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7114
7115         * lib/cell.exp (skip_cell_tests): Clean up test files before
7116         returning.
7117
7118 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7119
7120         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7121         and the breakpoint menu.  Do not call perror if a prompt is seen.
7122         Consume the following GDB prompt.
7123         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7124         * gdb.cp/namespace.exp: Use gdb_test.
7125         * gdb.cp/templates.exp: Use gdb_test.
7126         (test_template_breakpoints): Use gdb_test_multiple.
7127
7128 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7129
7130         * gdb.base/break1.c (struct some_struct, values): Move earlier.
7131         (marker4): Reference values.
7132
7133 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7134
7135         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7136         is missing.
7137
7138 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7139
7140         * gdb.base/break.c (need_malloc): New.
7141         * gdb.base/constvars.c (main): Reference crass and crisp.
7142         * gdb.base/gdb1821.c (main): Reference bar.
7143         * gdb.cp/gdb1355.cc (main): Reference s1.
7144         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7145         (main): Call them.
7146         * gdb.cp/hang2.cc (dummy2): Define.
7147         * gdb.cp/hang3.cc (dummy3): Define.
7148         * gdb.cp/m-data.cc (main): Reference shadow.
7149
7150 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
7151             Nathan Froyd  <froydnj@codesourcery.com>
7152
7153         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7154         remote host.
7155
7156 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
7157
7158         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7159         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7160         * gdb.dwarf2/dw2-compressed.exp: Likewise.
7161         * gdb.dwarf2/dw2-intercu.exp: Likewise.
7162         * gdb.dwarf2/dw2-intermix.exp: Likewise.
7163         * gdb.dwarf2/dw2-producer.exp: Likewise.
7164         * gdb.dwarf2/mac-fileno.exp: Likewise.
7165         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7166         py-prettyprint.py to the remote host.
7167         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7168
7169 2009-11-11  Keith Seitz  <keiths@redhat.com>
7170
7171         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7172         use it instead of "Foo".
7173         * gdb.cp/classes.exp (do_tests): Add a test to access
7174         a method through a typedef'd class name.
7175
7176 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
7177
7178         * gdb.base/long_long.exp: Permit leading zeros on floating-point
7179         exponents.
7180         * gdb.base/pointers.exp: Likewise.
7181         * gdb.cp/ref-types.exp: Likewise.
7182
7183 2009-11-11  Keith Seitz  <keiths@redhat.com>
7184
7185         * gdb.cp/cplusfuncs.cc (class foo): Add operators
7186         new[] and delete[].
7187         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7188         "void".
7189         (probe_demangler): Remove all single-quoting of
7190         method and variable names.
7191         (info_func_regexp): Remove the word "void" from any
7192         occurrence of "(void)".
7193         (print_addr_2): Remove all single-quoting of
7194         method names.
7195         (print_addr_2_kfail): Likewise.
7196         (print_addr): Single-quote C function names before
7197         passing to print_addr_2.
7198         (test_paddr_operator_functions): Remove single-quoting
7199         for method names.
7200         Add tests for operator new[] and operator delete[].
7201
7202 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7203
7204         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7205
7206 2009-11-09  Keith Seitz  <keiths@redhat.com>
7207
7208         * gdb.cp/overload.exp: Add tests for resolving overloaded
7209         methods in expression parsing/evaluation.
7210
7211 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
7212
7213         * lib/gdb.exp (default_gdb_version): Use --version instead of
7214         --command.
7215
7216 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
7217
7218         * lib/gdb.exp (gdb_compile_test): New.
7219         (skip_ada_tests, skip_java_tests): New.
7220         (gdb_compile): Use gdb_compile_test for f77.
7221         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7222         * lib/java.exp (compile_java_from_source): Remove runtests check,
7223         use gdb_compile_test to record result.
7224         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7225         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7226         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7227         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7228         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7229         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7230         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7231         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7232         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7233         adjust gdb_compile invocations.
7234
7235 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7236
7237         * Makefile.in (abs_builddir): New.
7238         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
7239         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7240         `$(abs_builddir)/site.exp'.
7241
7242 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
7243
7244         * config/m68k-emc.exp, lib/emc-support.exp,
7245         gdb.trace/gdb_c_test.c: Delete.
7246         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7247         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7248         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7249         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7250         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7251         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7252         casing for m68k-*-elf.
7253
7254 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
7255
7256         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7257         * gdb.arch/i386-prologue.exp: Likewise.
7258         * gdb.arch/i386-unwind.exp: Likewise.
7259
7260 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7261
7262         * lib/gdb.exp (gdb_expect): Fix timeout typo.
7263
7264 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7265
7266         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7267
7268 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
7269
7270         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7271
7272 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7273
7274         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7275
7276 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7277
7278         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7279         * gdb.base/sepdebug2.c: New file.
7280
7281 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7282
7283         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7284         the modified warnings for catch syscall.  Verify if GDB was compiled
7285         with support for lib expat, and choose which tests to run depending
7286         on this.
7287
7288 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
7289
7290         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7291         that composite commands are parsed OK. And also test
7292         that breakpoint commands do work.
7293
7294 2009-10-23  Michael Snyder  <msnyder@vmware.com>
7295
7296         gdb.reverse/consecutive-precsave.exp: Change expect pattern
7297         to allow for new disassembly style.
7298
7299 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7300
7301         * gdb.asm/asm-source.exp: Adjust.
7302
7303 2009-10-22  Michael Snyder  <msnyder@vmware.com>
7304
7305         * gdb.reverse/break-precsave.exp: New test.
7306         * gdb.reverse/consecutive-precsave.exp: Ditto.
7307         * gdb.reverse/finish-precsave.exp: Ditto.
7308         * gdb.reverse/i386-precsave.exp: Ditto.
7309         * gdb.reverse/machinestate-precsave.exp: Ditto.
7310         * gdb.reverse/sigall-precsave.exp: Ditto.
7311         * gdb.reverse/solilb-precsave.exp: Ditto.
7312         * gdb.reverse/step-precsave.exp: Ditto.
7313         * gdb.reverse/until-precsave.exp: Ditto.
7314         * gdb.reverse/watch-precsave.exp: Ditto.
7315
7316 2009-10-22  Michael Snyder  <msnyder@vmware.com>
7317
7318         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7319         for gdb_expect.  Adjust one test's expect strings for the new
7320         format of disassemble.
7321         * gdb.reverse/finish-reverse.exp: Delete 'return'.
7322         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7323         gdb_test_multiple.
7324         * gdb.reverse/step-reverse.exp: Delete 'return'.
7325         * gdb.reverse/until-reverse.exp: Delete blank lines.
7326         * gdb.reverse/watch-reverse.exp: Delete blank lines.
7327
7328 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
7329
7330         * gdb.base/consecutive.exp: Adjust.
7331         * gdb.base/display.exp: Likewise.
7332         * gdb.base/pc-fp.exp: Likewise.
7333         * gdb.base/sigbpt.exp: Likewise.
7334
7335 2009-10-19  Michael Snyder  <msnyder@vmware.com>
7336
7337         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7338         * gdb.reverse/finish-reverse.c: Ditto.
7339         * gdb.reverse/sigall-reverse.c: Ditto.
7340         * gdb.reverse/solib-reverse.c: Ditto.
7341         * gdb.reverse/step-reverse.c: Ditto.
7342         * gdb.reverse/watch-reverse.c: Ditto.
7343
7344 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
7345             Stan Shebs  <stan@codesourcery.com>
7346
7347         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7348         * gdb.base/foll-exec.exp: Adjust to expect a process id before
7349         "Executing new program".
7350         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7351         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
7352         left listed after having been killed.
7353         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7354         * gdb.base/maint.exp: Adjust test.
7355
7356         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7357         * gdb.multi/Makefile.in: New.
7358         * gdb.multi/base.exp: New.
7359         * gdb.multi/goodbye.c: New.
7360         * gdb.multi/hangout.c: New.
7361         * gdb.multi/hello.c: New.
7362         * gdb.multi/bkpt-multi-exec.c: New.
7363         * gdb.multi/bkpt-multi-exec.exp: New.
7364         * gdb.multi/crashme.c: New.
7365
7366 2009-10-13  Tristan Gingold  <gingold@adacore.com>
7367
7368         * gdb.base/sepdebug.exp: Check debug info are found.
7369
7370 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
7371
7372         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7373         bits.
7374
7375 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7376
7377         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7378
7379 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
7380
7381         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
7382         of the comments.
7383
7384 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
7385
7386         * gdb.base/annota1.exp: Remove obsolete match_max increase.
7387         * gdb.base/annota3.exp: Idem.
7388         * gdb.base/maint.exp: Idem.
7389
7390 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
7391
7392         * lib/gdb.exp (default_gdb_init): Set current value of match_max
7393         to default.
7394
7395 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7396
7397         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7398         mingw and cygwin targets.
7399
7400 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
7401             Pedro Alves  <pedro@codesourcery.com>
7402
7403         * lib/gdb.exp (gdb_compile): Avoid adding
7404         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7405
7406 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7407
7408         * gdb.base/shr1.c: Use %p in format string.
7409         * gdb.base/unload.c: Avoid warning in fprintf.
7410         * gdb.base/watchpoint-solib.c: Idem.
7411
7412 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
7413
7414         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7415         long type.
7416         (test_unlink): Correct printf string.
7417         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7418         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7419
7420 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7421
7422         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7423         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7424         * gdb.arch/ia64-breakpoint-shadow.S: New file.
7425
7426 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7427
7428         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7429         * gdb.objc/nondebug.exp: Likewise.
7430
7431 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7432
7433         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7434         target_info setting.
7435
7436         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7437         that detect new threads during "info threads".
7438
7439 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7440
7441         * gdb.threads/manythreads.c (main): Increase thread stack size
7442         to 2*PTHREAD_STACK_MIN.
7443         * gdb.threads/multi-create.c (main): Likewise.
7444         (create_function): Likewise.
7445
7446 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7447
7448         * gdb.base/dump.exp: Pass difference of pointer types instead
7449         of integer types as offset to restore in intarr3.srec case.
7450
7451 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7452
7453         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7454
7455 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7456
7457         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7458
7459 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
7460
7461         New test for two watchpoints, with disabling of
7462         the first inserted.
7463         * testsuite/gdb.base/watchpoints.c: New file.
7464         * testsuite/gdb.base/watchpoints.exp: New file.
7465
7466 2009-09-25  Tom Tromey  <tromey@redhat.com>
7467
7468         * gdb.base/charset.exp: Test utf-16 strings with Python.
7469
7470 2009-09-25  Tom Tromey  <tromey@redhat.com>
7471
7472         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7473         UCS-4.
7474         * gdb.base/charset.c (utf_32_string): Rename.
7475         (init_utf32): Rename.
7476         (main): Update.
7477
7478 2009-09-22  Tom Tromey  <tromey@redhat.com>
7479
7480         * gdb.python/py-function.exp: Add regression tests.
7481
7482 2009-09-21  Keith Seitz  <keiths@redhat.com>
7483
7484         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7485         with invalid operator.
7486
7487 2009-09-21  Keith Seitz  <keiths@redhat.com>
7488
7489         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7490         and destructor using typedef name of class.
7491         * gdb.cp/classes.cc (class Base1): Add a destructor.
7492         (base1): New typedef.
7493         (use_methods): Instanitate an object of type base1.
7494         * gdb.cp/templates.exp (test_template_typedef): New procedure.
7495         (do_tests): Call test_template_typedef.
7496         * gdb.cp/templates.cc (Baz::~Baz): New method.
7497         (intBazOne): New typedef.
7498         (main): Instantiate intBazOne.
7499
7500 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7501
7502         PR python/10633
7503
7504         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7505         Function.
7506         (run_lang_tests): Add print elements test.
7507
7508 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
7509
7510         * gdb.python/py-value.exp (test_subscript_regression): New
7511         function.  Test for invalid subscripts.
7512         * gdb.python/py-value.c (main): Add test array, and pointer to it.
7513         (ptr_ref): New function.
7514
7515 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7516
7517         * gdb.base/default.exp: Fix "show convenience".
7518
7519 2009-09-15  Tom Tromey  <tromey@redhat.com>
7520
7521         * lib/mi-support.exp (mi_create_varobj): Update.
7522         (mi_create_floating_varobj): Likewise.
7523         (mi_create_dynamic_varobj): New proc.
7524         (mi_varobj_update): Update.
7525         (mi_varobj_update_with_type_change): Likewise.
7526         (mi_varobj_update_kv_helper): New proc.
7527         (mi_varobj_update_dynamic_helper): Rewrite.
7528         (mi_varobj_update_dynamic): New proc.
7529         (mi_list_varobj_children): Update.
7530         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7531         * gdb.python/python-prettyprint.py (pp_outer): New class.
7532         (pp_nullstr): Likewise.
7533         (lookup_function): Register new printers.
7534         * gdb.python/python-prettyprint.c (struct substruct): New type.
7535         (struct outerstruct): Likewise.
7536         (substruct_test): New function.
7537         (struct nullstr): New type.
7538         (string_1, string_2): New globals.
7539         (main): Add new tests.
7540         * gdb.python/python-mi.exp: Added regression tests.
7541         * gdb.mi/mi2-var-display.exp: Update.
7542         * gdb.mi/mi2-var-cmd.exp: Update.
7543         * gdb.mi/mi2-var-child.exp: Update.
7544         * gdb.mi/mi2-var-block.exp: Update.
7545         * gdb.mi/mi-var-invalidate.exp: Update.
7546         * gdb.mi/mi-var-display.exp: Update.
7547         * gdb.mi/mi-var-cmd.exp: Update.
7548         * gdb.mi/mi-var-child.exp: Update.
7549         * gdb.mi/mi-var-block.exp: Update.
7550         * gdb.mi/mi-break.exp: Update.
7551         * gdb.mi/gdb701.exp: Update.
7552
7553 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7554
7555         * Makefile.in: Inclusion of catch-syscall object.
7556         * gdb.base/catch-syscall.c: New file.
7557         * gdb.base/catch-syscall.exp: New file.
7558
7559 2009-09-12  Michael Snyder  <msnyder@vmware.com>
7560
7561         * gdb.reverse/step-reverse.exp: Explicitly check for targets
7562         that can support reverse debuggnig.
7563
7564 2009-09-11  Tom Tromey  <tromey@redhat.com>
7565
7566         * gdb.dwarf2/valop.S: New file.
7567         * gdb.dwarf2/valop.exp: New file.
7568
7569 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
7570
7571         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7572
7573 2009-09-10  Doug Evans  <dje@google.com>
7574
7575         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7576         Add $gdb_prompt to second breakpoint regexp.
7577
7578 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
7579
7580         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7581         names, add missing ones.
7582         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7583         * gdb.python/py-frame.c: Rename from python-frame.c.
7584         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
7585         testfile name.
7586         * gdb.python/py-function.exp: Rename from python-function.exp.
7587         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
7588         testfile name.
7589         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7590         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7591         Adjust testfile name.
7592         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7593         * gdb.python/py-template.cc: Rename from python-template.cc.
7594         * gdb.python/py-template.exp: Rename from python-template.exp.
7595         Adjust testfile name.
7596         * gdb.python/py-value.c: Rename from python-value.c.
7597         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
7598         testfile name.
7599
7600 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7601
7602         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7603         $bpt2address.
7604         (Second breakpoint address is valid on ia64)
7605         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7606
7607 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
7608
7609         * gdb.base/ending-run.exp: Restrict regular expression matching
7610         line number to require closing brace following.
7611
7612 2009-09-03  Doug Evans  <dje@google.com>
7613
7614         * gdb.base/store.exp (check_set): Fix typo in expected value message.
7615
7616 2009-09-02  Tom Tromey  <tromey@redhat.com>
7617
7618         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7619
7620 2009-09-02  Tom Tromey  <tromey@redhat.com>
7621
7622         * gdb.dwarf2/callframecfa.exp: New file.
7623         * gdb.dwarf2/callframecfa.S: New file.
7624
7625 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7626
7627         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7628         gdb.base/solib-overlap-main.c: New.
7629
7630 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
7631
7632         PR gdb/10565
7633
7634         * gdb.base/bitfields.c (struct container, container): New.
7635         (main): Initialize it and call break5.
7636         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7637
7638 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7639
7640         Support constant DW_AT_data_member_location by GCC PR debug/40659.
7641         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7642
7643 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7644
7645         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7646
7647 2009-08-26  Michael Snyder  <msnyder@vmware.com>
7648
7649         * gdb.base/i386-reverse.c: New file.
7650         * gdb.base/i386-reverse.exp: New file.
7651         * gdb.base/Makefile.in: Add new files to be removed.
7652
7653 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
7654
7655         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7656         environment-pwd for remote host.
7657         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7658
7659 2009-08-24  Keith Seitz  <keiths@redhat.com>
7660
7661         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7662         Add two new C++ completer tests which limit the output to a
7663         given class.
7664
7665 2009-08-24  Michael Snyder  <msnyder@vmware.com>
7666
7667         * gdb.base/del.exp: Fix typo in comment.
7668         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7669
7670 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7671
7672         * configure: Regenerate.
7673         * gdb.hp/configure: Likewise.
7674         * gdb.hp/gdb.aCC/configure: Likewise.
7675         * gdb.hp/gdb.base-hp/configure: Likewise.
7676         * gdb.hp/gdb.compat/configure: Likewise.
7677         * gdb.hp/gdb.defects/configure: Likewise.
7678         * gdb.hp/gdb.objdbg/configure: Likewise.
7679         * gdb.stabs/configure: Likewise.
7680
7681 2009-08-19  Doug Evans  <dje@google.com>
7682
7683         * gdb.base/gdbvars.c: New file.
7684         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7685
7686 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
7687
7688         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7689         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7690
7691 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
7692
7693         * gdb.base/default.exp: Adjust "set language test": it's now an
7694         enum command.  Larger help string moved to "help set language".
7695         * gdb.base/help.exp: Adjust "help set language" expected output,
7696         now lists all known languages.
7697
7698 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
7699
7700         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7701         all frame arguments.
7702         * gdb.arch/altivec-regs.exp: Likewise.
7703
7704 2009-08-07  Tom Tromey  <tromey@redhat.com>
7705
7706         * gdb.base/setshow.exp: Add tests for changes to set language, set
7707         check range, and set check type.
7708
7709 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
7710
7711         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7712         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7713         Call it.
7714
7715 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7716
7717         * configure.ac: Run gdb.cell tests when appropriate.
7718         * configure: Regenerate.
7719         * lib/cell.exp: New file.
7720         * gdb.cell: New directory.
7721         * gdb.cell/configure.ac: New file.
7722         * gdb.cell/configure: New file.
7723         * gdb.cell/Makefile.in: New file.
7724         * gdb.cell/arch.exp: New file.
7725         * gdb.cell/break.c: New file.
7726         * gdb.cell/break.exp: New file.
7727         * gdb.cell/break-spu.c: New file.
7728         * gdb.cell/bt.c: New file.
7729         * gdb.cell/bt2-spu.c: New file.
7730         * gdb.cell/bt-spu.c: New file.
7731         * gdb.cell/bt.exp: New file.
7732         * gdb.cell/coremaker.c: New file.
7733         * gdb.cell/coremaker-spu.c: New file.
7734         * gdb.cell/core.exp: New file.
7735         * gdb.cell/gcore.exp: New file.
7736         * gdb.cell/data.c: New file.
7737         * gdb.cell/data.exp: New file.
7738         * gdb.cell/data-spu.c: New file.
7739         * gdb.cell/ea-cache.exp: New file.
7740         * gdb.cell/ea-cache.c: New file.
7741         * gdb.cell/ea-cache-spu.c: New file.
7742         * gdb.cell/ea-standalone.c: New file.
7743         * gdb.cell/ea-standalone.exp: New file.
7744         * gdb.cell/ea-test.c: New file.
7745         * gdb.cell/ea-test.exp: New file.
7746         * gdb.cell/f-regs.exp: New file.
7747         * gdb.cell/mem-access.c: New file.
7748         * gdb.cell/mem-access.exp: New file.
7749         * gdb.cell/mem-access-spu.c: New file.
7750         * gdb.cell/ptype.exp: New file.
7751         * gdb.cell/registers.exp: New file.
7752         * gdb.cell/size.c: New file.
7753         * gdb.cell/sizeof.exp: New file.
7754         * gdb.cell/size-spu.c: New file.
7755         * gdb.cell/solib.exp: New file.
7756         * gdb.cell/solib-symbol.exp: New file.
7757
7758 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7759
7760         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7761
7762 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
7763
7764         * gdb.base/float.exp: Handle VFP registers.
7765
7766 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7767
7768         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7769         to bring gdb to the beginning of the calling line.
7770
7771         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7772         confusing the i386 epilogue unwinder.
7773
7774 2009-07-14  Stan Shebs  <stan@codesourcery.com>
7775
7776         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7777
7778 2009-07-14  Michael Snyder  <msnyder@vmware.com>
7779
7780         * gdb.reverse/step-reverse.exp (stepi into function call):
7781         Call instruction may not be first instruction in the line.
7782         (reverse stepi from a function call): Used wrong line number.
7783
7784 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7785
7786         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7787
7788 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7789
7790         Fix gdb.base/macscp.exp when using custom inputrc.
7791         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7792         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
7793         env(TERM) set.
7794         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7795         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7796
7797 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7798
7799         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7800         * gdb.base/annota1.exp (thread_test): Import global $testfile.
7801         Change the compilation target to match the testcase name.
7802         * gdb.base/sect-cmd.exp: Change the compilation target to match the
7803         testcase name.
7804         * a2-run.exp: Use for setup prepare_for_testing.  Change the
7805         compilation target to match the testcase name.
7806         * gdb.base/commands.exp: Likewise.
7807         * gdb.base/finish.exp: Likewise.
7808         * gdb.base/float.exp: Likewise.
7809         * gdb.base/info-target.exp: Likewise.
7810         * gdb.base/relational.exp: Likewise.
7811         * gdb.base/term.exp: Likewise.
7812         * gdb.base/until.exp: Likewise.
7813         * gdb.base/volatile.exp: Likewise.
7814         * gdb.base/whatis-exp.exp: Likewise.
7815
7816 2009-07-11  Hui Zhu  <teawater@gmail.com>
7817
7818         * gdb.base/help.exp (disassemble): Update expected help text.
7819
7820 2009-07-09  Tom Tromey  <tromey@redhat.com>
7821
7822         * lib/gdb.exp: Handle TRANSCRIPT.
7823         (remote_spawn, remote_close, send_gdb): New procs.
7824
7825 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
7826
7827         * gdb.python/python-prettyprint.c: Add counted null string
7828         structure.
7829         * gdb.python/python-prettyprint.exp: Print null string. Test for
7830         embedded nulls.
7831         * gdb.python/python-prettyprint.py (pp_ns): New Function.
7832         * gdb.python/python-value.exp (test_value_in_inferior): Add
7833         variable length string fetch tests.
7834         * gdb.python/python-value.c (main): Add strings for string fetch tests.
7835
7836 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7837
7838         * gdb.base/dump.exp (inaccessible memory is reported): New test.
7839
7840 2009-07-07  Tom Tromey  <tromey@redhat.com>
7841
7842         * gdb.base/call-rt-st.exp: Update for change to escape output.
7843         * gdb.base/callfuncs.exp: Likewise.
7844         * gdb.base/charset.exp: Likewise.
7845         * gdb.base/constvars.exp: Likewise.
7846         * gdb.base/long_long.exp: Likewise.
7847         * gdb.base/pointers.exp: Likewise.
7848         * gdb.base/printcmds.exp: Likewise.
7849         * gdb.base/setvar.exp: Likewise.
7850         * gdb.base/store.exp: Likewise.
7851         * gdb.cp/ref-types.exp: Likewise.
7852         * gdb.mi/mi-var-child.exp: Likewise.
7853         * gdb.mi/mi-var-display.exp: Likewise.
7854         * gdb.mi/mi2-var-display.exp: Likewise.
7855         * gdb.base/charset.exp: Test octal escape sequence length.
7856         Update for change to escape output.
7857
7858 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7859
7860         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7861
7862 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
7863
7864         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7865
7866 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7867
7868         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7869         gdbserver increasing $portnum if "Can't bind address" has been seen.
7870
7871 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7872
7873         * gdb.base/ending-run.exp: Add "step out of main" pattern for
7874         mingw32ce.
7875
7876 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
7877
7878         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7879         VFP format.
7880
7881 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
7882
7883         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7884         linux.  Adjust to use "inferior", "info inferiors", "detach
7885         inferior" and "kill inferior" instead of "restart", "info fork",
7886         "detach fork" and "delete fork".
7887         * gdb.base/ending-run.exp: Spell out "info".
7888         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7889         the "kill" command.
7890
7891 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7892
7893         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7894         change to prefix TLS offset in hex with 0x.
7895
7896 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7897
7898         * gdb.base/default.exp: Update test case for "x" changes.
7899
7900 2009-07-01  Tristan Gingold  <gingold@adacore.com>
7901
7902         * gdb.base/bigcore.exp: Make darwin untested.
7903
7904 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7905
7906         * gdb.base/completion.exp (directory completion): Create the directory.
7907         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7908         escapeuniquesub.
7909         (directory completion 2): Expect now ${escapeuniquesub}.
7910         (Glob remaining of directory test): Remove one excessive newline.
7911         Expect the real output.
7912
7913 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7914
7915         Fix `make check//%' target after `make check' has been ran.
7916         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
7917         a mkdir call.
7918         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7919         (%/.dir): Remove.
7920
7921 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7922
7923         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7924         the expected result record.
7925
7926 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7927
7928         Remove racy FAILs relying just on the timeouts.
7929         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7930         (annotation_level 2): Remove racy FAILs.
7931
7932 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7933
7934         gdb/10275
7935         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7936
7937 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
7938
7939         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7940
7941 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
7942
7943         * gdb.mi/mi-stack.exp: Testing symbolic options
7944         to -stack-list-locals and -stack-list-arguments.
7945
7946 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7947
7948         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7949
7950 2009-06-29  Tom Tromey  <tromey@redhat.com>
7951
7952         * dg-extract-results.sh: New file.
7953         * Makefile.in (FORCE_PARALLEL): New variable.
7954         (CHECK_TARGET): New conditional variable.
7955         (check): Use CHECK_TARGET.
7956         (DO_RUNTEST): New variable.
7957         (check-single): New target.
7958         (TEST_DIRS): New variable.
7959         (TEST_TARGETS): Likewise.
7960         (check-parallel): New target.
7961         (check-gdb.%): New pattern.
7962         (BASE1_FILES): New variable.
7963         (BASE2_FILES): Likewise.
7964         (check-gdb.base%): New pattern.
7965         (%/.dir): New pattern.
7966         * configure: Rebuild.
7967         * aclocal.m4 (AM_CONDITIONAL): New defun.
7968         * configure.ac: Check whether user is using GNU make.
7969         (GMAKE): New conditional.
7970
7971 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
7972
7973         * gdb.cp/namespace-nested-import.cc: New test.
7974         * gdb.cp/namespace-nested-import.exp: New test.
7975
7976 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
7977
7978         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7979         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7980         * gdb.opt/Makefile.in (EXECUTABLES): Update.
7981         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7982         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7983         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7984         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7985         gdb.opt/inline-markers.c: New files.
7986         * lib/gdb.exp (skip_inline_frame_tests): New function.
7987         (skip_inline_var_tests): New function.
7988
7989 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
7990
7991         * gdb.cp/exception.exp: Don't require $hex before inner frame in
7992         backtrace.
7993
7994 2009-06-27  Michael Snyder  <msnyder@vmware.com>
7995
7996         * gdb.reverse: New directory.
7997         * gdb.reverse/break-reverse.c: New test.
7998         * gdb.reverse/break-reverse.exp: New test.
7999         * gdb.reverse/consecutive-reverse.c: New test.
8000         * gdb.reverse/consecutive-reverse.exp: New test.
8001         * gdb.reverse/finish-reverse.c: New test.
8002         * gdb.reverse/finish-reverse.exp: New test.
8003         * gdb.reverse/machinestate.c: New test.
8004         * gdb.reverse/ms1.c: New test.
8005         * gdb.reverse/machinestate.exp: New test.
8006         * gdb.reverse/Makefile.in: New file.
8007         * gdb.reverse/shr2.c: New test.
8008         * gdb.reverse/solib-reverse.c: New test.
8009         * gdb.reverse/solib-reverse.exp: New test.
8010         * gdb.reverse/step-reverse.c: New test.
8011         * gdb.reverse/step-reverse.exp: New test.
8012         * gdb.reverse/until-reverse.c: New test.
8013         * gdb.reverse/ur1.c: New test.
8014         * gdb.reverse/until-reverse.exp: New test.
8015         * gdb.reverse/watch-reverse.c: New test.
8016         * gdb.reverse/watch-reverse.exp: New test.
8017         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8018         * configure: Regenerate.
8019
8020 2009-06-26  Doug Evans  <dje@google.com>
8021
8022         * gdb.base/psymtab.exp: Turn off pending breakpoints.
8023
8024 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
8025
8026         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8027         windows problem for 'file delete $binfile'.
8028
8029 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
8030
8031         * gdb.cp/namespace-using.exp: New test.
8032         * gdb.cp/namespace-using.cc: New test.
8033
8034 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
8035
8036         * gdb.ada/variant_record_packed_array: New testcase.
8037
8038 2009-06-23  Tom Tromey  <tromey@redhat.com>
8039
8040         * gdb.base/charset.exp (test_combination): Regression test.
8041         * gdb.base/charset.c (my_wchar_t): New typedef.
8042         (myvar): New global.
8043         (main): Set myvar.
8044
8045 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
8046
8047         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8048         target.
8049
8050 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8051
8052         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8053
8054 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8055
8056         * gdb.mi/gdb680.exp: Update test for error message.
8057
8058 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8059
8060         * gdb.base/annota1.exp: Allow multiple occurrences of the
8061         frames-invalid annotation.
8062         * gdb.cp/annota2.exp: Likewise.
8063
8064 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
8065
8066         * gdb.cp/gdb2495.cc: New file.
8067         * gdb.cp/gdb2495.exp: New file.
8068
8069 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8070
8071         Report error on GDB crash during runto.
8072         * lib/gdb.exp (runto <eof>): New.
8073
8074 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
8075
8076         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8077         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8078         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8079         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8080         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8081         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8082         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8083         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8084         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8085         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8086         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8087         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8088         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8089         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8090         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8091         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8092         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8093         gdb.server/server-mon.exp, gdb.server/server-run.exp,
8094         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8095         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8096         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8097         gdb.trace/passcount.exp, gdb.trace/report.exp,
8098         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8099         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8100         gdb.trace/while-stepping.exp: Use a unique name for the compiled
8101         executable.
8102
8103 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
8104
8105         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8106         defined before referencing it.
8107
8108 2009-06-03  Doug Evans  <dje@google.com>
8109
8110         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8111         * gdb.arch/i386-see.c: Ditto.
8112
8113 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
8114
8115         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8116         (check_macro): Return 1 if undefined.
8117         If first test fails, check if macro debug information is available,
8118         and report unsupported test if no macro information is found.
8119
8120 2009-05-29  Doug Evans  <dje@google.com>
8121
8122         * gdb.threads/hand-call-in-threads.exp: New.
8123         * gdb.threads/hand-call-in-threads.c: New.
8124
8125 2009-05-29  Michael Snyder  <msnyder@vmware.com>
8126
8127         * gdb.base/break-always.exp: Change "1" to "on".
8128         Add confirmation check.
8129
8130 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
8131
8132         * gdb.threads/threxit-hop-specific.c: New.
8133         * gdb.threads/threxit-hop-specific.exp: New.
8134         * gdb.threads/thread-execl.c: New.
8135         * gdb.threads/thread-execl.exp: New.
8136
8137 2009-05-27  Tom Tromey  <tromey@redhat.com>
8138             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8139
8140         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8141         (mi_child_regexp): Likewise.
8142         (mi_list_varobj_children_range): Likewise.
8143         (mi_get_features): Likewise.
8144         (mi_list_varobj_children): Rewrite.
8145         * gdb.python/python-mi.exp: New file.
8146
8147 2009-05-27  Tom Tromey  <tromey@redhat.com>
8148             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8149             Phil Muldoon  <pmuldoon@redhat.com>
8150             Paul Pluzhnikov  <ppluzhnikov@google.com>
8151
8152         * gdb.python/python-prettyprint.exp: New file.
8153         * gdb.python/python-prettyprint.c: New file.
8154         * gdb.python/python-prettyprint.py: New file.
8155         * gdb.base/display.exp: print/r is now valid.
8156
8157 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8158             Tom Tromey  <tromey@redhat.com>
8159             Pedro Alves  <pedro@codesourcery.com>
8160             Paul Pluzhnikov  <ppluzhnikov@google.com>
8161
8162         * gdb.python/python-template.exp: New file.
8163         * gdb.python/python-template.cc: New file.
8164         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8165         tests.
8166         * gdb.python/python-value.exp (py_objfile_tests): New proc.
8167         Call it.
8168         (test_value_after_death): New proc.
8169         * gdb.python/python-value.c (PTR): New typedef.
8170         (main): New variable 'x'.
8171
8172 2009-05-27  Tom Tromey  <tromey@redhat.com>
8173
8174         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8175         tests.
8176         * gdb.python/python-value.exp (py_objfile_tests): New proc.
8177         Call it.
8178
8179 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
8180
8181         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8182
8183 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
8184
8185         * gdb.threads/fork-thread-pending.c: New.
8186         * gdb.threads/fork-thread-pending.exp: New.
8187
8188 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8189
8190         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8191         * gdb.dwarf2/dw2-strp.S (a_string2): New.
8192
8193 2009-05-18  Jon Beniston  <jon@beniston.com>
8194
8195         * gdb.asm/asm-source.exp: Add lm32 target.
8196
8197 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
8198
8199         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
8200         `gdb_get_line_number'.  Call `callee' in both parent and child.
8201         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8202         `gdb_get_line_number' instead of hardcoding line numbers.
8203         (catch_fork_unpatch_child): New procedure to test detaching
8204         breakpoints from child fork.
8205         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8206         hardcoding line numbers.
8207         (do_fork_tests): Run `catch_fork_unpatch_child'.
8208
8209 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
8210
8211         * gdb.mi/mi-cmd-var.exp: Check that when varobj
8212         of structure type enters or leaves the scope, it
8213         is reported by -var-update.
8214
8215 2009-05-11  Doug Evans  <dje@sebabeach.org>
8216
8217         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
8218         * gdb.threads/pending-step.c (main): Fix off-by-one error.
8219         * gdb.threads/schedlock.c (main): Fix off-by-one error.
8220
8221 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8222
8223         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8224
8225 2009-04-30  Doug Evans  <dje@google.com>
8226
8227         * gdb.threads/watchthreads2.exp: New testcase.
8228         * gdb.threads/watchthreads2.c: New testcase.
8229
8230 2009-04-29  Doug Evans  <dje@google.com>
8231
8232         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8233         * gdb.cp/mb-ctor.cc: Ditto.
8234         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8235         * gdb.cp/mb-inline.h (multi_line_foo): New function.
8236         * gdb.cp/mb-inline1.cc: Call it.
8237         * gdb.cp/mb-inline2.cc: Ditto.
8238         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8239         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8240
8241 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8242
8243         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8244         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
8245         Replace all uses of `decimal' by `nonzero'.
8246         (info macro FROM_COMMANDLINE): New test.
8247
8248 2009-04-27  Tom Tromey  <tromey@redhat.com>
8249
8250         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8251
8252 2009-04-27  Doug Evans  <dje@google.com>
8253
8254         * gdb.threads/watchthreads.c (main): Initialize args before starting
8255         the threads.  Plus formatting cleanup.
8256         * gdb.threads/watchthreads.exp: Avoid errant failures due to
8257         biased scheduling of one thread.
8258
8259 2009-04-27  Jerome Guitton  <guitton@adacore.com>
8260
8261         * gdb.cp/templates.cc (GetMax): New template.
8262         (main): Declare two instances of GetMax.
8263         * gdb.cp/templates.exp: Add new test.
8264
8265 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8266
8267         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8268
8269 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
8270
8271         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8272
8273 2009-04-15  Tom Tromey  <tromey@redhat.com>
8274
8275         * gdb.base/charset.exp: Add regression test.
8276
8277 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
8278
8279         * gdb.base/exe-lock.exp: New testcase.
8280
8281 2009-04-13  Tom Tromey  <tromey@redhat.com>
8282
8283         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8284         operator on Frame.
8285
8286 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8287
8288         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8289         * gdb.server/ext-attach.exp: Likewise.
8290
8291 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
8292
8293         Eliminate some sleep usage.
8294
8295         * gdb.mi/basics.c (do_nothing): New.
8296         (main): Use do_nothing instead of printf, so that
8297         not to introduce race condition between output of
8298         inferiour and output of gdb. Do not use sleep as it
8299         is not generally available on embedded targets.
8300
8301 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8302
8303         * gdb.server/ext-attach.exp: Expect an optional process id after
8304         "Detached from remote process".
8305
8306 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8307
8308         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8309         gdb.dwarf2/dw2-unresolved.exp: New.
8310
8311 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8312
8313         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
8314         mi_run_to_main.
8315
8316 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
8317
8318         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
8319         mi_run_to_main.  Skip thread exit test on remote targets.
8320         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
8321         mi_run_to_main.
8322         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
8323         mi_run_to_main.
8324         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8325         when expecting ^connected.  Detect when the target doesn't support
8326         non-stop mode.
8327         (mi_run_cmd): Detect if non-stop mode was requested by isn't
8328         supported.  Return -1 on error, 0 on success.
8329         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8330         (mi_runto): Return mi_runto_helper's result explicitly.
8331
8332 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
8333
8334         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8335
8336 2009-04-01  Tom Tromey  <tromey@redhat.com>
8337
8338         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8339         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8340         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8341         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8342
8343 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
8344             Jan Kratochvil  <jan.kratochvil@redhat.com>
8345
8346         PR gdb/931
8347         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8348         output.
8349         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
8350         for gdb/931.
8351         * dw2-strp.S (DW_AT_language): Change to C++.
8352         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8353
8354 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
8355
8356         * gdb.ada/tasks: New testcase.
8357
8358 2009-03-30  Stan Shebs  <stan@codesourcery.com>
8359
8360         * gdb.trace/actions.exp: Update to match new info trace format.
8361         * gdb.trace/deltrace.exp: Ditto.
8362         * gdb.trace/infotrace.exp: Ditto.
8363         * gdb.trace/passcount.exp: Ditto.
8364         * gdb.trace/save-trace.exp: Ditto.
8365         * gdb.trace/while-stepping.exp: Ditto.
8366         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8367
8368 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8369
8370         * gdb.python/python-frame.c: New file.
8371         * gdb.python/python-frame.exp: New file.
8372
8373 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8374
8375         * gdb.python/python-value.exp: Add tests for the address
8376         attribute.
8377
8378 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
8379
8380         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8381
8382 2009-03-26  Doug Evans  <dje@google.com>
8383
8384         * gdb.mi/mi-nonstop-exit.exp: New file.
8385         * gdb.mi/non-stop-exit.c: New file.
8386
8387 2009-03-26  Tom Tromey  <tromey@redhat.com>
8388
8389         Update for change to prologue skipping:
8390         * gdb.mi/mi2-simplerun.exp: Update.
8391         * gdb.mi/mi2-break.exp: Update.
8392         * gdb.mi/mi-simplerun.exp: Update.
8393         * gdb.mi/mi-break.exp: Update.
8394         * gdb.base/ending-run.exp: Update.
8395
8396 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8397
8398         * gdb.python/python-value.exp (test_value_in_inferior): Test
8399         gdb.Value.is_optimized_out attribute.
8400
8401 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
8402
8403         * gdb.dwarf2/dw2-noloc-main.c: New file.
8404         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8405         (.text): Remove.
8406         (.data): New.
8407         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8408         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8409         (DW_TAG_subprogram func_cu1, noloc): Remove.
8410         (main): New.
8411         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8412         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
8413         (file_symbols): New procedure.
8414
8415 2009-03-25  Tom Tromey  <tromey@redhat.com>
8416
8417         * gdb.base/charset.exp (valid_target_charset): New proc.
8418         Use it to skip tests on invalid charsets.
8419
8420 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
8421
8422         * gdb.base/completion.exp: Add a test for directory completion.
8423
8424 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8425
8426         Fix a racy FAIL.
8427         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8428         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8429
8430 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8431
8432         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8433         * gdb.python/python-function.exp: Add test for function returning
8434         a GDB value.
8435
8436 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8437
8438         * gdb.python/python-function.exp: New file.
8439
8440 2009-03-20  Tom Tromey  <tromey@redhat.com>
8441
8442         * gdb.base/store.exp: Update for change to escape output.
8443         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8444         to escape output.
8445         * gdb.base/pointers.exp: Update for change to escape output.
8446         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8447         to escape output.
8448         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8449         escape output.
8450         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8451         to escape output.
8452         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8453         escape output.
8454         * gdb.base/setvar.exp: Update for change to escape output.
8455         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8456         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8457         to escape output.
8458         (test_print_string_constants): Likewise.
8459         * gdb.base/charset.exp (valid_host_charset): Check size of
8460         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
8461         cases.  Handle "auto"-related output.
8462         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8463         (uvar, Uvar): New globals.
8464
8465 2009-03-19  Jerome Guitton  <guitton@adacore.com>
8466
8467         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8468         deltas.
8469         * gdb.ada/fixed_points.exp: Ditto.
8470
8471 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
8472
8473         * return-nodebug.c: Don't include stdio.h.
8474         (init): Delete.
8475         (func): Delete definition and provide extern declaration.
8476         (t): New.
8477         (main): Don't call printf.  Call func and store its result in t.
8478         * return-nodebug1.c: New.
8479         * return-nodebug.exp: Don't expect stdio output.  Instead, print
8480         the global variable t.  Drop printf formatters and cast types from
8481         foreach loop.  Don't use prepare_for_testing.  Compile
8482         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
8483         define FORMAT or CAST.
8484
8485 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8486
8487         * gdb.base/solib-display.exp: Disable test for remote targers.
8488
8489 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8490
8491         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8492
8493 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8494
8495         Fix a racy FAIL.
8496         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8497         code from `follow parent, print pids'.
8498         (`follow child, print pids', `follow parent, print pids'): Call it.
8499         Replace `gdb_test "break..."' by gdb_breakpoint.
8500
8501 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
8502
8503         * gdb.mi/mi-cli.exp: Adjust for output difference in
8504         sync and async modes.
8505
8506 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8507
8508         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8509         that was checked in by mistake. Remove loading of ada.exp, since
8510         this is not necessary in this case.
8511
8512 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8513
8514         * gdb.ada/ptype_arith_binop.exp: New testcase.
8515
8516 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8517
8518         * gdb.ada/mod_from_name: New testcase.
8519
8520 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
8521
8522         * gdb.ada/tick_last_segv: New testcase.
8523
8524 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8525
8526         * gdb.mi/mi-cli.exp: Remove debug print.
8527
8528 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
8529
8530         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8531         include the token in ^running and frame info in *stopped.
8532
8533 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8534
8535         * solib-display.exp: New file.
8536         * solib-display-main.c: New file.
8537         * solib-display-lib.c: New file.
8538
8539 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
8540
8541         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8542
8543 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8544
8545         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8546         (list_and_check_macro): Use more specific test name.
8547         (next to definition): Make the test names unique.
8548
8549 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
8550
8551         * gdb.pascal/floats.exp: Accept approximate results everywhere.
8552
8553 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8554
8555         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8556         notifications.
8557         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8558         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8559         * lib/mi-support.exp (library_loaded_re): New.
8560         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8561
8562 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
8563
8564         * gdb.gdb/observer.exp: Use test_notification observer, not
8565         normal_stop, everywhere.
8566         (test_normal_stop_notifications): Rename to...
8567         (test_notifications): ...this.
8568         (test_observer_normal_stop): Rename to...
8569         (test_observer): ...this.
8570
8571 2009-02-16  Doug Evans  <dje@google.com>
8572
8573         * gdb.arch/amd64-disp-step.S (test_int3): New test.
8574         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8575         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8576         (test_prefixed_syscall,test_int3): New tests.
8577         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8578         (test_prefixed_syscall,test_int3): New tests.
8579
8580 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
8581
8582         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8583         (mi_expect_interrupt): Likewise.
8584         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8585         response.
8586
8587 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8588
8589         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8590         * gdb.base/pc-fp.exp (get_valueofx): Remove.
8591         Replace calls to get_valueofx by get_hexadecimal_valueof.
8592
8593 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
8594
8595         * lib/gdb.exp (get_valueof): Accept anything as a return value.
8596         (get_integer_valueof): New procedure.
8597         (get_sizeof): Use new get_integer_value_of.
8598         * gdb.base/sizeof.exp: Replace all uses of get_valueof
8599         by get_integer_valueof.
8600
8601 2009-02-13  Tom Tromey  <tromey@redhat.com>
8602
8603         * gdb.base/remote.exp (get_sizeof): Remove.
8604         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8605         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8606         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8607         * lib/gdb.exp (get_valueof): Move from long_long.exp.
8608         (get_sizeof): Likewise.
8609
8610 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
8611
8612         PR fortran/9806
8613         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8614
8615 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8616
8617         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8618
8619 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
8620
8621         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8622
8623 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8624
8625         * gdb.python/python-cmd.exp: New file.
8626
8627 2009-02-06  Tristan Gingold  <gingold@adacore.com>
8628
8629         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8630
8631 2009-02-05  Tristan Gingold  <gingold@adacore.com>
8632
8633         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8634         pointer is dereferenced and use this signal name in regexp.
8635         * gdb.base/signull.exp: Ditto.
8636         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8637         * gdb.base/signull.c (main): Ditto.
8638
8639 2009-02-04  Tom Tromey  <tromey@redhat.com>
8640             Thiago Jung Bauermann  <bauerman@br.ibm.com>
8641
8642         * gdb.python/python-value.exp: Use `gdb.history' instead of
8643         `gdb.value_from_history'.
8644         (test_value_numeric_ops): Add test for conversion of enum constant.
8645         * gdb.python/python-value.c (enum e): New type.
8646         (evalue): New global.
8647         (main): Use argv.
8648
8649 2009-02-04  Jerome Guitton  <guitton@adacore.com>
8650
8651         * gdb.ada/uninitialized_vars: New test program.
8652         * gdb.ada/uninitialized_vars.exp: New testcase.
8653
8654 2009-02-02  Tom Tromey  <tromey@redhat.com>
8655
8656         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8657         * gdb.cp/pr2489.cc: Rename...
8658         * gdb.cp/pr9594.cc: ... to this.
8659
8660 2009-02-02  Tom Tromey  <tromey@redhat.com>
8661
8662         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8663         * gdb.cp/pr2489.cc: New file.
8664         * gdb.cp/cpcompletion.exp: New file.
8665
8666 2009-02-02  Tom Tromey  <tromey@redhat.com>
8667
8668         PR exp/9059:
8669         * gdb.cp/call-c.exp: Add regression test.
8670         * gdb.cp/call-c.cc (FooHandle): New typedef.
8671         (main): New variable 'handle'.
8672
8673 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8674
8675         * lib/mi-support.exp (et_mi_thread_list)
8676         (check_mi_and_console_threads): Adjust for current thread in
8677         -thread-list-ids output.
8678
8679 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
8680
8681         * gdb.mi/mi-break.exp (test_disabled_creation): New.
8682         Call it.
8683
8684 2009-01-28  Doug Evans  <dje@google.com>
8685
8686         * gdb.arch/amd64-disp-step.S: New file.
8687         * gdb.arch/amd64-disp-step.exp: New file.
8688         * gdb.arch/i386-disp-step.S: New file.
8689         * gdb.arch/i386-disp-step.exp: New file.
8690
8691 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
8692
8693         * gdb.base/find.exp: Set newline variable
8694         using quotes instead of braces to fix cygwin failures.
8695
8696 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8697
8698         * gdb.base/radix.exp: Add tests to ensure that that set
8699         input-radix 0 and set output-radix 0 are really rejected.
8700
8701 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8702
8703         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8704         copyright years.
8705
8706 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
8707
8708         PR gdb/9664:
8709         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8710
8711 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
8712
8713         PR c++/9631:
8714         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8715
8716 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
8717
8718         * gdb.server/file-transfer.exp: Use EXEEXT variable for
8719         binfile definition to fix Windows OS failure.
8720
8721 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8722
8723         PR gdb/9346
8724         * gdb.base/interrupt.c (sigint_handler): New.
8725         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
8726         on error.
8727         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8728         Test "signal SIGINT".
8729
8730 2009-01-19  Doug Evans  <dje@google.com>
8731
8732         * gdb.base/break.exp: Update expected gdb output.
8733         * gdb.base/sepdebug.exp: Ditto.
8734         * gdb.mi/mi-syn-frame.exp: Ditto.
8735         * gdb.mi/mi2-syn-frame.exp: Ditto.
8736         * gdb.base/call-signal-resume.exp: New file.
8737         * gdb.base/call-signals.c: New file.
8738         * gdb.base/unwindonsignal.exp: New file.
8739         * gdb.base/unwindonsignal.c: New file.
8740         * gdb.threads/interrupted-hand-call.exp: New file.
8741         * gdb.threads/interrupted-hand-call.c: New file.
8742         * gdb.threads/thread-unwindonsignal.exp: New file.
8743
8744 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
8745
8746         * gdb.base/define.exp: Test defining and hooking prefix commands.
8747         * gdb.python/python.exp: Update test for "show user" output.
8748
8749 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8750
8751         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
8752         now the output exactly, using less wildcards.  Expect also the output
8753         of gfortran-4.3.  Update for the f-valprint.c modification from
8754         2008-04-22.
8755         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8756         Remove gdb_test test names where matching the command.
8757
8758 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
8759
8760         PR breakpoints/9681:
8761         * gdb.base/watchpoint.exp: Add regression test.
8762
8763 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8764
8765         * gdb.threads/attach-into-signal.exp: Don't use
8766         gdb_suppress_entire_file.
8767         * gdb.threads/attach-stopped.exp: Ditto.
8768         * gdb.threads/attachstop-mt.exp: Ditto.
8769
8770 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
8771
8772         PR gdb/8812:
8773         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8774
8775 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
8776
8777         PR gdb/7536:
8778         * gdb.base/radix.exp: Add tests to ensure invalid input radices
8779         and unsupported output radices are really rejected.
8780
8781 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
8782
8783         * gdb.cp/punctuator.exp: Backslash the '$' signs.
8784
8785 2008-12-22  Tom Tromey  <tromey@redhat.com>
8786
8787         * gdb.cp/punctuator.exp: New file.
8788
8789 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8790
8791         * gdb.base/completion.exp (Completing non-existing component): New test.
8792
8793 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8794
8795         Fix for PR gdb/8648.
8796         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8797         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8798         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8799         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8800
8801 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8802
8803         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8804
8805 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
8806
8807         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8808         compiler actually generate code at the expected line number.
8809
8810 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
8811
8812         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8813
8814 2008-12-12  Tom Tromey  <tromey@redhat.com>
8815
8816         * gdb.base/commands.exp (redefine_hook_test): New proc.
8817         Call it.
8818
8819 2008-12-11  Tom Tromey  <tromey@redhat.com>
8820
8821         * gdb.base/macscp.exp: New regression test.
8822
8823 2008-12-11  Tom Tromey  <tromey@redhat.com>
8824
8825         * gdb.base/macscp.exp: Print "address.addr".
8826         * gdb.base/macscp1.c (struct outer): New struct.
8827         (address): New global.
8828
8829 2008-12-09  Tom Tromey  <tromey@redhat.com>
8830
8831         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8832         Call it.
8833
8834 2008-12-04  Doug Evans  <dje@google.com>
8835
8836         * gdb.server/ext-run.exp: Relax regexp for init program.
8837
8838 2008-12-03  Tristan Gingold  <gingold@adacore.com>
8839
8840         * gdb.base/macscp.exp: Generate an object file during compilation
8841         to work around Darwin dsymutil limitations.
8842
8843 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8844
8845         Test resolving external references to TLS variables.
8846         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8847         FILE2_THREAD_LOCAL.
8848         (testfile2, srcfile2): New variables.
8849         * gdb.threads/tls.c (file2_thread_local)
8850         (function_referencing_file2_thread_local): New.
8851         * gdb.threads/tls2.c: New file.
8852
8853 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
8854
8855         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8856         rather than integer, as integer might not be big enough when
8857         on 64bit targets.
8858
8859 2008-11-27  Jerome Guitton  <guitton@adacore.com>
8860
8861         * gdb.cp/formatted-ref.exp: Add equality test.
8862         * gdb.ada/formatted_ref.exp: Ditto.
8863
8864 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8865
8866         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8867         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8868
8869 2008-11-20  Andreas Schwab  <schwab@suse.de>
8870
8871         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8872         matching syscall entry point.
8873         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8874         (tcatch_vfork_then_child_follow): Likewise.  Finish through
8875         vfork even if we stopped at the syscall trampoline.
8876
8877 2008-11-20  Doug Evans  <dje@google.com>
8878
8879         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8880
8881 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8882
8883         * gdb.arch/ppc-dfp.exp: New file.
8884         * gdb.arch/ppc-dfp.c: New file.
8885
8886 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8887
8888         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8889
8890 2008-11-17  Doug Evans  <dje@google.com>
8891
8892         * gdb.mi/mi-syn-frame.exp: Update expected output.
8893         * gdb.mi/mi2-syn-frame.exp: Update expected output.
8894
8895 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8896
8897         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8898         "thread N" results in =thread-selected.
8899         * lib/mi-support (mi_run_cmd, mi_expect_stop)
8900         (mi_send_resuming_command_raw): Be prepared for
8901         =thread-selected.
8902
8903 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
8904
8905         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8906         * lib/mi-support.exp: Likewise.
8907
8908 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
8909
8910         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8911         commands from the expected output for "help catch".
8912
8913 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
8914
8915         * gdb.ada/int_deref.exp: New testcase.
8916
8917 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
8918
8919         * gdb.mi/gdb2549.exp: New file.
8920
8921 2008-11-11  Doug Evans  <dje@google.com>
8922
8923         * gdb.base/callexit.exp: New file.
8924         * gdb.base/callexit.c: New file.
8925
8926 2008-11-10  Doug Evans  <dje@google.com>
8927
8928         * lib/gdb.exp (GDBFLAGS): Move -nx ...
8929         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
8930         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8931         (default_gdb_start,default_gdb_exit): Ditto.
8932         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8933         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8934         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8935         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8936         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8937         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8938
8939 2008-11-03  Andreas Schwab  <schwab@suse.de>
8940
8941         * gdb.base/hashline2.exp: Fix typo.
8942         * gdb.base/hashline3.exp: Likewise.
8943
8944 2008-10-30  Tom Tromey  <tromey@redhat.com>
8945
8946         * gdb.base/pointers.exp: Add test.
8947         * gdb.base/pointers.c (k, S): New typedefs.
8948         (instance): New global.
8949
8950 2008-10-30  Andreas Schwab  <schwab@suse.de>
8951
8952         * gdb.base/args.exp: Add tests for newlines.
8953
8954 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
8955
8956         gdb.base/foll-exec.exp: Update the expected output of a couple
8957         of "info breakpoints" tests.
8958
8959 2008-10-28  Tom Tromey  <tromey@redhat.com>
8960
8961         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8962
8963 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
8964
8965         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8966         gdb_start_cmd.
8967         Use runto_main before any test that requires execution.
8968
8969 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
8970
8971         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8972         instead of SIGINT.
8973
8974 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
8975
8976         * gdb.base/completion.exp: Update expected output following
8977         the addition of the "info tasks" command.
8978
8979 2008-10-22  Tom Tromey  <tromey@redhat.com>
8980
8981         * gdb.base/exprs.exp (test_expr): Add test for string
8982         concatenation.
8983
8984 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
8985
8986         * configure.ac: Output gdb.python/Makefile.
8987         * configure: Regenerate.
8988         * gdb.python/Makefile.in: New.
8989
8990 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
8991
8992         * gdb.base/foll-fork.exp: Adjust the expected output to match
8993         the new description for fork/vfork catchpoints in the "info
8994         breakpoints" output.
8995
8996 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8997
8998         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8999
9000 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9001
9002         * gdb.python/python-value.c: New file.
9003         * gdb.python/python-value.exp: New file.
9004
9005 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
9006
9007         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9008
9009 2008-10-15  Denis Pilat  <denis.pilat@st.com>
9010
9011         * gdb.cp/mb-ctor.exp: Fix a typo.
9012
9013 2008-10-09  Tom Tromey  <tromey@redhat.com>
9014
9015         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9016         'fprintf' and 'stderr'.
9017
9018 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
9019
9020         * gdb.ada/ref_tick_size.exp: New testcase.
9021
9022 2008-10-06  Doug Evans  <dje@google.com>
9023
9024         * gdb.dwarf2/dw2-cu-size.exp: New file.
9025         * gdb.dwarf2/dw2-cu-size.S: New file.
9026
9027         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9028         .Ltype_int for clarity.
9029
9030 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9031
9032         PR gdb/2384:
9033         * gdb.cp/gdb2384.exp: Extended to test more cases.
9034         * gdb.cp/gdb2384.cc: Likewise.
9035         * gdb.cp/gdb2384-base.h: Likewise.
9036         * gdb.cp/gdb2384-base.cc: Likewise.
9037
9038 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9039
9040         * gdb.base/maint.exp (maint print type): Remove printing
9041         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9042
9043 2008-09-30  Tom Tromey  <tromey@redhat.com>
9044
9045         * gdb.base/macscp.exp: Add completion tests.
9046         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9047         (TWENTY_THREE): Likewise.
9048         (FORTY_EIGHT): Likewise.
9049
9050 2008-09-30  Tom Tromey  <tromey@redhat.com>
9051
9052         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9053         everywhere.
9054         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9055
9056 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9057
9058         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9059         testcase is derived from.  Fix racy dependency on an expected PID
9060         number.  No longer support the testcase on Linux kernel 2.4.x.
9061
9062 2008-09-27  Tom Tromey  <tromey@redhat.com>
9063
9064         * gdb.base/macscp.exp: Add tests for stringification, splicing,
9065         and varargs.
9066
9067 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
9068
9069         * lib/mi-support.exp (mi_expect_interrupt): New.
9070         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9071         from gdb.mi/mi-nonstop.exp.
9072         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9073         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9074         lib/mi-support.exp.
9075         Use mi_check_thread_states throughout.  Avoid ".*" and do not
9076         require an anchor after -exec-run.
9077
9078 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
9079
9080         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9081         stop is pending.  Avoid ".*" when two stops are pending.
9082         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9083         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9084         newlines in fullnames.
9085         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9086         (mi_expect_stop): Update comments.  Only anchor in sync mode.
9087         Do not match newlines.
9088         (mi_send_resuming_command_raw): Always return status.
9089         (mi_get_stop_line): Do not match more than one line by accident.
9090         Only anchor in sync mode.
9091         (mi_run_inline_test): If -exec-next fails, give up.
9092
9093 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9094
9095         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9096         on SPU.
9097
9098 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9099
9100         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9101
9102 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9103
9104         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9105         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9106         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9107         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9108         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9109         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9110         gdb.ada/interface.exp, gdb.ada/null_array.exp,
9111         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9112         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9113         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9114         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9115         Include the "= " sequence in the expected output of print tests.
9116
9117 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
9118
9119         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9120         description for boolean types.
9121
9122 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
9123
9124         * gdb.base/hook-stop-continue.c: New.
9125         * gdb.base/hook-stop-continue.exp: New.
9126
9127 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9128
9129         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9130
9131 2008-09-08  Jerome Guitton  <guitton@adacore.com>
9132
9133         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9134         (stack_check_probe_2, stack_check_probe_loop_1)
9135         (stack_check_probe_loop_2): New functions.
9136         (main): Add call to these new functions.
9137         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9138         functions, check that the breakpoint is inserted at the appropriate
9139         location.
9140         (insert_breakpoint): Slightly refine this procedure so that it can
9141         be called several times in the test.
9142
9143 2008-09-08  Jerome Guitton  <guitton@adacore.com>
9144
9145         * gdb.base/stack-checking.c: New file.
9146         * gdb.base/stack-checking.exp: New file.
9147
9148 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9149
9150         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9151         * gdb.arch/altivec-regs.exp: Likewise.
9152         * gdb.arch/vsx-regs.exp: Likewise.
9153
9154 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9155
9156         * gdb.arch/ppc-fp.exp: New file.
9157         * gdb.arch/ppc-fp.c: New file.
9158
9159 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9160
9161         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9162         lest gcc-4.3.1 optimizes the whole thing away.
9163
9164 2008-09-04  Michael Snyder  <msnyder@vmware.com>
9165
9166         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9167         as "at" (for non-debug functions such as _start).
9168
9169 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9170
9171         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9172         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
9173         software watchpoints.
9174         * gdb.base/watch_thread_num.exp: Likewise.
9175
9176 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
9177
9178         * gdb.arch/i386-bp_permanent.exp: New test.
9179
9180 2008-08-24  Tom Tromey  <tromey@redhat.com>
9181
9182         * gdb.base/maint.exp: Update "maint print type".
9183
9184 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
9185
9186         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9187         support.  Adjust the order of "*running" notifications.
9188         * gdb.mi/non-stop.c: Don't cast from int to void* and
9189         back.
9190
9191 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
9192
9193         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9194         expect to find it in the "info frame" output.
9195
9196 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
9197
9198         * gdb.base/interp.exp: Always consume both prompts.
9199
9200 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
9201
9202         * gdb.base/pending.exp: Test pending breakpoints without symbols
9203         loaded.
9204
9205 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
9206
9207         * lib/mi-support.exp (mi_expect_stop): Produce
9208         more details on failures.
9209         * gdb.mi/mi-nonstop.exp: New.
9210         * gdb.mi/non-stop.c: New.
9211
9212 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
9213
9214         * gdb.mi/mi-async.exp: Use 'set target-async'.
9215         * lib/mi-support.exp: Use 'set/show target-async'.
9216
9217 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
9218
9219         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9220
9221 2008-08-17  Tom Tromey  <tromey@redhat.com>
9222
9223         * gdb.base/help.exp (help catch): Rewrite.
9224
9225 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9226
9227         * gdb.base/define.exp: Test indented command documentation.
9228         * gdb.python/python.exp: Test indented multi-line command.
9229
9230 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
9231
9232         * testsuite/gdb.arch/vsx-regs.c: New source file.
9233         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9234         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9235
9236 2008-08-14  Tom Tromey  <tromey@redhat.com>
9237
9238         * gdb.base/macscp.exp: Add regression test for "macro define" or
9239         "macro undef" with no arguments.
9240
9241 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9242
9243         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9244
9245 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9246
9247         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9248
9249 2008-08-06  Tom Tromey  <tromey@redhat.com>
9250
9251         * gdb.python/python.exp: New file.
9252
9253 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
9254
9255         Fix for PR gdb/1543.
9256         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9257         $LOCATION.
9258         (location): New variable.
9259         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9260         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9261         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9262         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9263         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9264         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9265         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9266         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9267         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9268         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9269         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9270         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9271         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9272         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9273         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9274         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9275         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9276         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9277         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9278         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9279         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9280         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9281         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9282         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9283         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9284         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9285         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9286         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9287         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9288         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9289         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9290         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9291         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9292         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9293         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9294         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9295         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9296         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9297         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9298         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9299         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9300         gdb.base/type-opaque.exp, gdb.base/until.exp,
9301         gdb.base/value-double-free.c, gdb.base/varargs.exp,
9302         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9303         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9304         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9305         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9306         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9307         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9308         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9309         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9310         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9311         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9312         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9313         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9314         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9315         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9316         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9317         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9318         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9319         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9320         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9321         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9322         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9323         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9324         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9325         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9326         gdb.pascal/types.exp, gdb.stabs/weird.exp,
9327         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9328         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9329         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9330         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9331         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9332         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9333         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9334         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9335         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9336         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9337         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9338         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9339         lib/mi-support.exp, lib/trace-support.exp: Remove reference
9340         to bug-gdb@prep.ai.mit.edu .
9341
9342 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
9343
9344         * lib/mi-support.exp (mi_load_shlibs): New.
9345         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9346
9347 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
9348
9349         * lib/mi-support.exp (get_mi_thread_list)
9350         (check_mi_and_console_threads): New, moved from ...
9351         * gdb.mi/mi-pthread.exp: ...here.
9352         * gdb.mi/gdb669.exp (get_mi_thread_list)
9353         (check_mi_and_console_threads): Delete.
9354         * gdb.mi/mi2-pthread.exp: Likewise.
9355
9356 2008-07-28  Tom Tromey  <tromey@redhat.com>
9357
9358         * Makefile.in (just-check): Remove.  Move body to...
9359         (check): ... here.
9360
9361 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9362
9363         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9364         Add a test for duplicated SIGINTs.
9365
9366 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9367
9368         * gdb.threads/schedlock.exp (get_args): Update to work for any
9369         value of NUM.
9370         (Top level): Report the number of threads that did not resume.
9371
9372 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9373
9374         * gdb.dwarf2/dw2-compressed.S: Also define __start.
9375
9376 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
9377
9378         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9379         non-MI prompt.
9380
9381 2008-07-26  Tom Tromey  <tromey@redhat.com>
9382
9383         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9384         (function_struct, function_struct_ptr): New globals.
9385         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9386         function pointer in a struct.
9387
9388 2008-07-26  Tom Tromey  <tromey@redhat.com>
9389
9390         * gdb.base/macscp.exp: Add test for macro lexing bug.
9391
9392 2008-07-18  Tom Tromey  <tromey@redhat.com>
9393
9394         * gdb.base/macscp.exp: Add macro tests.
9395
9396 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9397
9398         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9399
9400 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9401
9402         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9403
9404 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9405
9406         * gdb.cp/class2.exp: fix for failure on spu-elf
9407
9408 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9409
9410         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9411
9412 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9413
9414         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9415
9416 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
9417
9418         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9419
9420 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
9421
9422         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9423         of regexp to account for changes made to GDB in the printing of
9424         byte vectors.
9425
9426 2008-07-11  Tom Tromey  <tromey@redhat.com>
9427
9428         * gdb.base/completion.exp: Add 'help' completion test.
9429
9430 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9431
9432         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9433
9434 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9435
9436         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9437
9438 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9439
9440         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9441
9442 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
9443
9444         * gdb.base/fullname.exp: Restore pwd if compiling failed.
9445
9446 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9447
9448         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9449
9450 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9451
9452         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9453         previous commit.  Add a comment.
9454
9455 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
9456
9457         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9458
9459 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
9460
9461         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9462
9463 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
9464
9465         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9466         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9467         compiling an executable, link in an object that forces unbuffered
9468         output.
9469         * lib/set_unbuffered_mode.c: New file.
9470
9471 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9472
9473         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9474
9475 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
9476
9477         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9478         mi_expect_stop.
9479         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9480         Demand that *running is output.
9481         (detect_async): Perform checking every time.
9482         (mi_send_resuming_command): Extract everything into...
9483         (mi_send_resuming_command_raw): ...this.
9484         (mi_expect_stop): Don't accept any output before *stopped.
9485
9486 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
9487
9488         Robustify mi-simplerun.
9489         * gdb.mi/basics.c (main): Add a call to sleep.
9490         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9491         * gdb.mi/mi2-cli.exp: Likewise.
9492         * gdb.mi/mi-break.exp: Likewise.
9493
9494 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
9495
9496         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9497
9498 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9499
9500         * gdb.mi/mi-console.exp: Adjust.
9501         * gdb.mi/mi-syn-frame.exp: Adjust.
9502         * gdb.mi/mi2-console.exp: Adjust.
9503         * gdb.mi/mi2-syn-frame.exp: Adjust.
9504         * lib/mi-support.exp (mi_run_cmd): Adjust.
9505         (mi_send_resuming_command): Adjust.
9506
9507 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
9508
9509         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9510         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9511         testing of stopped.
9512         * gdb.mi/mi2-syn-frame.exp: Likewise.
9513         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9514         (async, detect_async): New.
9515         (mi_expect_stop, mi_continue_to_line): Adjust expectation
9516         depending on if we're running in sync or async mode.
9517
9518 2008-06-09  Tom Tromey  <tromey@redhat.com>
9519
9520         * gdb.base/completion.exp: New tests for field name completion
9521         with spaces, and field name completion with '->'.
9522
9523 2008-06-06  Tom Tromey  <tromey@redhat.com>
9524
9525         * gdb.base/break1.c (struct some_struct): New struct.
9526         (values): New global.
9527         * gdb.base/completion.exp: Add field name completion test.
9528
9529 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9530
9531         * gdb.cp/call-c.exp: Test for incorrect handling of reference
9532         to pointer.
9533         * gdb.cp/call-c.cc: Likewise.
9534
9535 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
9536
9537         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9538         annotation.
9539
9540 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9541             Pedro Alves  <pedro@codesourcery.com>
9542
9543         * gdb.threads/execl.c, gdb.threads/execl1.c,
9544         gdb.threads/execl.exp: New tests.
9545
9546 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
9547             Daniel Jacobowitz  <dan@codesourcery.com>
9548
9549         * gdb.cp/exception.exp: Activate test, make it work with pending
9550         catchpoints.
9551
9552 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9553
9554         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9555
9556 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
9557
9558         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9559         now printed.
9560         * gdb.mi/mi2-var-cmd.exp: Likewise.
9561
9562 2008-05-27  Andreas Schwab  <schwab@suse.de>
9563
9564         * gdb.base/frame-args.exp: Handle arguments that are optimized
9565         out.
9566
9567 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
9568
9569         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9570         quiet for ppc32 and group options into a single variable.
9571
9572 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
9573
9574         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9575         of zero-size elements.
9576         * gdb.ada/null_array.exp: Test printing this new array.
9577
9578 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9579
9580         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9581
9582 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
9583
9584         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9585         of the "finish" command.
9586
9587 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
9588
9589         * gdb.base/annota1.exp: Test for new annotation.
9590
9591 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
9592
9593         * gdb.base/fixsection.exp: New file.
9594         * gdb.base/fixsection0.c: New file.
9595         * gdb.base/fixsection1.c: New file.
9596
9597 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9598
9599         * gdb.base/annota1.exp: Accept printf@... in place of printf.
9600         * gdb.base/annota3.exp: Likewise.
9601
9602 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
9603
9604         * gdb.base/watch_thread_num.exp: Don't run tests that require
9605         watchpoints if the target doesn't support them.
9606
9607 2008-05-12  Doug Evans  <dje@google.com>
9608
9609         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9610
9611 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
9612
9613         * gdb.ada/assign_1.exp: New testcase.
9614
9615 2008-05-09  Doug Evans  <dje@google.com>
9616
9617         * gdb.base/find.exp: New file.
9618         * gdb.base/find.c: New file.
9619
9620 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
9621
9622         * gdb.base/commands.exp (watchpoint_command_test): Handle
9623         gdb,no_hardware_watchpoints.
9624         * gdb.base/float.exp: Allow ARM targets without floating point.
9625         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9626
9627 2008-05-06  Jerome Guitton  <guitton@adacore.com>
9628             Joel Brobecker  <brobecker@adacore.com>
9629
9630         * gdb.ada/lang_switch: New test program.
9631         * gdb.ada/lang_switch.exp: New testcase.
9632
9633 2008-05-05  Doug Evans  <dje@google.com>
9634
9635         * gdb.base/help.exp (disassemble): Update expected help text.
9636
9637 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9638
9639         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9640
9641 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
9642
9643         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9644         different times.
9645
9646 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9647
9648         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9649         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9650         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9651         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9652
9653 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
9654
9655         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9656         notification to appear.
9657
9658 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
9659
9660         * gdb.base/fullname.c: New file.
9661         * gdb.base/fullname.exp: New file.
9662         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9663
9664 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
9665
9666         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9667         expressions with macros.
9668
9669 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9670
9671         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9672
9673 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
9674
9675         * gdb.base/completion.exp: Handle lack of other symbols beginning
9676         with "a".
9677
9678         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9679
9680 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
9681
9682         * gdb.asm/asmsrc1.s: Add scratch space.
9683
9684 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9685             Daniel Jacobowitz  <dan@codesourcery.com>
9686
9687         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9688         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9689         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9690
9691 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
9692
9693         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9694
9695 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
9696
9697         * gdb.base/info-target.exp: New testcase.
9698
9699 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9700
9701         * gdb.cp/hang.exp: Use .cc instead of .C.
9702         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9703         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9704
9705 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
9706
9707         * gdb.base/gdb1250.exp: Remove perror.
9708         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9709
9710 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
9711
9712         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9713         .2byte.
9714
9715 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
9716
9717         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
9718         (maybe_kfail): New.
9719
9720 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
9721
9722         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9723
9724 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9725
9726         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9727         * gdb.mi/mi2-syn-frame.exp: Likewise.
9728         * lib/mi-support.exp: Likewise.
9729
9730 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9731
9732         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9733         to specify regexp for the location to stop at.
9734         * gdb.base/break-always.c: New.
9735         * gdb.base/break-always.exp: New.
9736
9737 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
9738
9739         * lib/mi-support.exp (mi_runto_helper): Adjust
9740         for the original-location field.
9741         (mi_create_breakpoint, mi_list_breakpoints): New.
9742         * gdb.mi/mi-break.exp: Adjust.
9743         * gdb.mi/mi2-break.exp: Adjust.
9744         * gdb.mi/mi-pending.exp: Adjust.
9745         * gdb.mi/mi-simplerun.exp: Adjust.
9746         * gdb.mi/mi2-simplerun.exp: Adjust.
9747         * gdb.mi/mi-syn-frame.exp: Adjust.
9748         * gdb.mi/mi2-syn-frame.exp: Adjust.
9749         * gdb.mi/mi-until.exp: Adjust.
9750         * gdb.mi/mi2-until.exp: Adjust.
9751         * gdb.mi/mi-var-display.exp: Adjust.
9752         * gdb.mi/mi2-var-display.exp: Adjust.
9753         * gdb.mi/mi-watch.exp: Adjust.
9754         * gdb.mi/mi2-watch.exp: Adjust.
9755
9756 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
9757
9758         * aclocal.m4: Add override.m4.
9759         * configure: Regenerate.
9760
9761 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
9762
9763         * gdb.mi/var-cmd.c (do_at_tests): Verify that
9764         '-var-update --all-values' reports new value even the type
9765         of a variable object has changed.
9766
9767 2008-04-18  Craig Silverstein  <csilvers@google.com>
9768
9769         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9770         files.
9771
9772 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
9773
9774         * gdb.ada/atomic_enum: New test program.
9775         * gdb.ada/atomic_enum.exp: New testcase.
9776
9777 2008-04-17  Doug Evans  <dje@google.com>
9778
9779         * gdb.opt/Makefile.in: Fix whitespace.
9780
9781 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
9782
9783         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9784
9785 2008-04-17  Doug Evans  <dje@google.com>
9786
9787         * gdb.base/hashline1.exp: New testcase.
9788         * gdb.base/hashline2.exp: New testcase.
9789         * gdb.base/hashline2.exp: New testcase.
9790
9791 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
9792
9793         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9794
9795 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
9796
9797         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9798         temporary breakpoint to match "Temporary breakpoint".
9799         * gdb.base/break.exp (delete_breakpoints): Likewise.
9800         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9801         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9802         * gdb.base/display.exp: Likewise.
9803         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9804         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9805         * gdb.base/restore.exp (restore_tests): Likewise.
9806         * gdb.base/sepdebug.exp: Likewise.
9807         * gdb.base/watchpoint.exp: Likewise.
9808         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9809         * gdb.mi/mi-pending.exp: Likewise.
9810         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9811         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9812         * gdb.mi/mi-var-cmd.exp: Likewise.
9813         * gdb.mi/mi-var-display.exp: Likewise.
9814         * gdb.mi/mi2-cli.exp: Likewise.
9815         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9816         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9817         * gdb.mi/mi2-var-display.exp: Likewise.
9818         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9819         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9820         new "disp" field.
9821         (mi_expect_stop): Move after_reason argument to be really after
9822         reason. This is to support fix for PR2424.
9823
9824 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9825
9826         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9827
9828 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
9829
9830         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9831         field.  Add more floating varobj tests.
9832         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9833         field.
9834         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9835         (main): Call do_at_tests.
9836         * lib/mi-support.exp (mi_create_floating_varobj)
9837         (mi_varobj_update_with_type_change): New.
9838
9839 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
9840
9841         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9842         option of -var-evaluate-expression.
9843         * gdb.mi/mi2-var-display.exp: Likewise.
9844
9845 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
9846
9847         Introduce test setup helpers.
9848         * lib/gdb.exp (build_executable, clean_restart)
9849         (prepare_for_testing): New.
9850         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9851         * gdb.base/return.exp: Likewise.
9852         * gdb.base/ending-run.exp: Likewise.
9853
9854 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
9855
9856         * gdb.mi/mi-async.exp: New test for asynchronous Machine
9857         Interface (MI) responses.
9858
9859 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
9860
9861         * gdb.cp/breakpoint.cc: New code to test conditions involving
9862         member variables.
9863         * gdb.cp/breakpoint.exp: Test condition involving member
9864         variables.
9865
9866 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
9867
9868         * lib/mi-support.exp (mi_expect_stop): New.
9869         (mi_run_cmd): Change the
9870         token.  Use mi_send_resuming_command, use
9871         mi_expect_stop.
9872         (mi_execute_to_helper): Rename to mi_execute_to.
9873         (mi_send_resuming_command): Add more error patterns.
9874         (mi_wait_for_stop): Renamed to...
9875         (mi_get_stop_line): ...this.
9876         (mi_run_inline_test): Adjust.
9877
9878         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9879         * gdb.mi/mi-console.exp: Likewise.
9880         * gdb.mi/mi-pending.exp: Likewise.
9881         * gdb.mi/mi-simplerun.exp: Likewise.
9882         * gdb.mi/mi-stack.exp: Likewise.
9883         * gdb.mi/mi-stepi.exp: Likewise.
9884         * gdb.mi/mi-syn-frame.exp: Add comment.
9885         * gdb.mi/mi-until.exp: Likewise.
9886         * gdb.mi/mi-var-display.exp: Likewise.
9887         * gdb.mi/mi-watch.exp: Likewise.
9888         * gdb.mi/mi2-cli.exp: Likewise.
9889         * gdb.mi/mi2-console.exp: Likewise.
9890         * gdb.mi/mi2-simplerun.exp: Likewise.
9891         * gdb.mi/mi2-stack.exp: Likewise.
9892         * gdb.mi/mi2-stepi.exp: Likewise.
9893         * gdb.mi/mi2-until.exp: Likewise.
9894         * gdb.mi/mi2-var-display.exp: Likewise.
9895         * gdb.mi/mi2-watch.exp: Likewise.
9896
9897 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9898
9899         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9900
9901         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9902
9903 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
9904
9905         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9906         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9907         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9908         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9909         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9910         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9911         expect an mi error duplicated in stderr.
9912
9913 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
9914
9915         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9916         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9917         Add a couple of tests that verify the behavior when the new setting
9918         is set to "cancel" and "all".
9919         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9920         "ask" before we start the testing.
9921
9922 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
9923
9924         * gdb.cp/casts.cc: Add class reference variables.
9925         * gdb.cp/casts.exp: New test cases for up/down casting references.
9926
9927 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
9928
9929         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9930         instead of beginning to make an extra test pass.
9931         * gdb.mi/mi2-var-display.exp: Likewise.
9932
9933 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
9934
9935         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
9936
9937 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
9938             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9939
9940         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9941         value.  Add xfail for older kernels.
9942
9943 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
9944
9945         Bring mi-support in line with gdb.exp.
9946         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9947         (mi_gdb_start): New function.
9948
9949 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
9950
9951         * gdb.mi/mi-var-cmd.exp: Fix a typo.
9952
9953 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9954
9955         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9956         * gdb.mi/mi2-var-display.exp: Likewise.
9957
9958 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
9959
9960         * lib/mi-support.exp (mi_create_varobj_checked): New.
9961         (mi_list_varobj_children): Allow to check for a
9962         value.
9963         (mi_list_array_varobj_children): New.
9964
9965         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9966         and mi_list_varobj_children, as opposed to hardcoding
9967         expected strings.
9968         * gdb.mi/gdb701.exp: Likewise.
9969         * gdb.mi/gdb792.exp: Likewise.
9970         * gdb.mi/mi-var-block.exp: Likewise.
9971         * gdb.mi/mi-var-cmd.exp: Likewise.
9972         * gdb.mi/mi-var-invalidate.exp: Likewise.
9973         * gdb.mi/mi2-var-block.exp: Likewise.
9974         * gdb.mi/mi2-var-child.exp: Likewise.
9975         * gdb.mi/mi2-var-cmd.exp: Likewise.
9976         * gdb.mi/mi2-var-display.exp: Likewise.
9977
9978 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9979
9980         Fix random false FAILs on i386.
9981         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9982
9983 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9984
9985         PR gdb/544
9986         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9987
9988 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
9989
9990         PR gdb/544
9991         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9992
9993 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
9994
9995         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9996         fixed PR gdb/544.
9997
9998 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
9999
10000         * gdb.threads/fork-child-threads.exp: Test next over fork.
10001
10002 2008-03-21  Chris Demetriou  <cgd@google.com>
10003
10004         * gdb.base/break.exp (rbreak junk): New test for rbreak
10005         "Junk at end of arguments" issue.
10006
10007 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
10008
10009         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10010         *& to work on created array elements.
10011         (Top level): Test print $pc with a file.  Test string operations
10012         without a target.
10013         * gdb.base/ptype.exp: Do not expect *& to work on created array
10014         elements.
10015
10016 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
10017
10018         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10019         gdb.threads/staticthreads.exp: Update exit query.
10020
10021 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
10022
10023         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10024
10025 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
10026
10027         * gdb.base/watchpoint.c (global_ptr, func4): New.
10028         (main): Call func4.
10029         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10030         (test_inaccessible_watchpoint): New.
10031
10032 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
10033
10034         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10035         select the largest.
10036
10037 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
10038
10039         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10040         frames-invalid annotations.
10041
10042 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
10043
10044         * gdb.base/assign.exp: avoid same output for different tests.
10045
10046 2008-02-27  Doug Evans  <dje@google.com>
10047
10048         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10049         for bug 1738.
10050         (breakpoint_to_handler_entry): Ditto.
10051
10052 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
10053
10054         * gdb.base/ending-run.exp: Use the first line of code inside
10055         function body to test breakpoints.
10056         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10057         location where the breakpoint is inserted when using the line
10058         where a function is declared. Fix typo in the description of
10059         one of the tests.
10060         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10061
10062 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
10063
10064         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10065         tests.
10066
10067 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
10068
10069         * gdb.base/args.exp: avoid same output for tests
10070         with single quotes.
10071
10072 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
10073
10074         * gdb.base/annota1.exp: Adjust for 'info break'
10075         format changes.
10076         * gdb.base/annota3.exp: Likewise.
10077         * gdb.base/break.exp: Likewise.
10078         * gdb.base/condbreak.exp: Likewise.
10079         * gdb.base/pending.exp: Likewise.
10080         * gdb.base/sepdebug.exp: Likewise.
10081         * gdb.base/unload.exp: Likewise.
10082         * gdb.cp/ovldbreak.exp: Likewise.
10083         * gdb.mi/mi-pending.exp: Likewise.
10084
10085 2008-02-07  Doug Evans  <dje@google.com>
10086
10087         * gdb.cp/mb-inline.exp: New.
10088         * gdb.cp/mb-inline.h: New.
10089         * gdb.cp/mb-inline1.cc: New.
10090         * gdb.cp/mb-inline2.cc: New.
10091
10092 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
10093
10094         * gdb.pascal/floats.pas: New test program.
10095         * gdb.pascal/floats.exp: New testcase.
10096
10097 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10098
10099         * gdb.base/callfuncs.c (t_float_many_args): New function.
10100         (t_double_many_args): New function.
10101         * gdb.base/callfuncs.exp: Add tests for exceeding float
10102         and double parameters passed through the stack.
10103
10104 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
10105
10106         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10107         gdb.ada/complete/foo.adb: New files.
10108         * gdb.ada/complete.exp: New testcase.
10109
10110 2008-02-03  Doug Evans  <dje@google.com>
10111
10112         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10113
10114         * gdb.cp/gdb2384.exp: New file.
10115         * gdb.cp/gdb2384.cc: New file.
10116         * gdb.cp/gdb2384-base.h: New file.
10117         * gdb.cp/gdb2384-base.cc: New file.
10118
10119 2008-02-02  Doug Evans  <dje@google.com>
10120
10121         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10122
10123 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
10124
10125         * gdb.ada/sym_print_name: New test program.
10126         * gdb.ada/sym_print_name.exp: New testcase.
10127
10128 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
10129
10130         * gdb.ada/nested/hello.adb: New file.
10131         * gdb.ada/nested.exp: New testcase.
10132         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10133
10134 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
10135
10136         * gdb.mi/basic.c (return_1): New function.
10137         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10138         don't cause future evaluations of function to report
10139         creation of internal breakpoints.
10140
10141 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
10142
10143         * gdb.mi/mi-break.exp (test_error): New.
10144         Call it.
10145
10146 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
10147
10148         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10149         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10150
10151 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
10152
10153         * gdb.pascal/integers.pas: New test program.
10154         * gdb.pascal/integers.exp: New testcase.
10155
10156 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
10157
10158         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10159
10160 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
10161
10162         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10163         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10164
10165 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
10166
10167         * gdb.ada/formatted_ref: New test program.
10168         * gdb.ada/formatted_ref.exp: New testcase.
10169
10170         * gdb.cp/formatted-ref.cc: New file.
10171         * gdb.cp/formatted-ref.exp: New testcase.
10172
10173 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
10174
10175         * gdb.base/ptype.exp: Add testing of "ptype $pc".
10176
10177 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
10178
10179         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10180         (test_file_list_exec_source_file): Update to new macro-info field.
10181
10182 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
10183
10184         * gdb.ada/exprs: New test program.
10185         * gdb.ada/exprs.exp: New testcase.
10186
10187 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10188
10189         * dfp-test.c (DELTA, DELTA_B): New definitions.
10190         (double_val1, double_val2, double_val3, double_val4, double_val5,
10191         double_val6, double_val7, double_val8, double_val9, double_val10,
10192         double_val11, double_val12, double_val13, double_val14, dec32_val1,
10193         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10194         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10195         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10196         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10197         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10198         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10199         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10200         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10201         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10202         dec128_val16): New global variables.
10203         (decimal_dec128_align): New function.
10204         (decimal_mixed): Likewise.
10205         (decimal_many_args_dec32): Likewise.
10206         (decimal_many_args_dec64): Likewise.
10207         (decimal_many_args_dec128): Likewise.
10208         (decimal_many_args_mixed): Likewise.
10209         * dfp-test.exp: Add tests calling new inferior functions.
10210
10211 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10212
10213         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10214         gdb.server/ext-run.exp: New files.
10215         * lib/gdbserver-support.exp (gdbserver_download): New.
10216         (gdbserver_start): New.  Update gdbserver expected
10217         output.
10218         (gdbserver_spawn): Use them.
10219         (gdbserver_start_extended): New.
10220
10221 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
10222
10223         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
10224         Run on GNU/Linux.
10225         (do_exec_tests): Check for systems which do not support catchpoints.
10226         Do not match START.
10227         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
10228         Run on GNU/Linux.  Enable verbose output.
10229         (check_fork_catchpoints): New.
10230         (explicit_fork_child_follow, catch_fork_child_follow)
10231         (tcatch_fork_parent_follow): Update expected messages.
10232         (do_fork_tests): Use check_fork_catchpoints.
10233         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
10234         Run on GNU/Linux.  Enable verbose output.
10235         (check_vfork_catchpoints): New.
10236         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10237         expected messages.
10238         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10239
10240 2008-01-29  Jim Blandy  <jimb@red-bean.com>
10241
10242         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10243         host' errors.
10244         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10245
10246 2008-01-29  Jim Blandy  <jimb@red-bean.com>
10247
10248         * gdb.threads/sigthread.c: Use barriers to ensure that
10249         child_thread and child_thread_two are always initialized before we
10250         start to use them.
10251
10252 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
10253
10254         * gdb.base/watchpoint-solib.exp: New.
10255         * gdb.base/watchpoint-solib.c: New.
10256         * gdb.base/watchpoint-solib-shr.c: New.
10257
10258 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
10259
10260         * gdb.base/gdb1056.exp: Add unsigned integer test.
10261
10262 2008-01-28  Doug Evans  <dje@google.com>
10263
10264         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10265
10266 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
10267
10268         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10269
10270         * gdb.base/expand-psymtabs.exp: Doc fix.
10271
10272 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
10273
10274         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10275
10276 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
10277
10278         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10279         -var-set-format.
10280
10281 2008-01-23  Chris Demetriou  <cgd@google.com>
10282
10283         * gdb.threads/thread_events.c: New testcase source file.
10284         * gdb.threads/thread_events.exp: New testcase expect file.
10285
10286 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
10287
10288         * lib/gdb.exp: Add the variable octal.
10289
10290         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10291         -var-set-format.
10292
10293 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
10294             Vladimir Prus  <vladimir@codesourcery.com>
10295
10296         * gdb.base/float.exp: Allow missing floating point for m68k and
10297         PowerPC.
10298
10299 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
10300
10301         * gdb.mi/basics.c: Setup for testing breakpoints
10302         ignore count.
10303         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10304         * gdb.mi/mi-cli.exp: Adjust.
10305         * gdb.mi/mi2-cli.exp: Adjust.
10306
10307 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
10308
10309         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10310         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
10311         with dummy_ptr's address.
10312         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10313         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10314         all targets.
10315         * gdb.mi/mi2-var-child.exp: Likewise.
10316
10317 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
10318
10319         * gdb.ada/null_array: New test program.
10320         * gdb.ada/null_array.exp: New testcase.
10321
10322 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
10323
10324         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10325         with required float modifiers.
10326
10327 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10328
10329         * gdb.ada/funcall_param: New test program.
10330         * gdb.ada/funcall_param.exp: New testcase.
10331
10332 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10333
10334         * gdb.ada/arrayparam: New test program.
10335         * gdb.ada/arrayparam.exp: New testcase.
10336
10337 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
10338
10339         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10340         landed.  Should also fix random failures in the test following it.
10341
10342 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10343
10344         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10345         for expressions with decimal float values.
10346         (test_dfp_conversions): New function to test casts to and from
10347         decimal float types.
10348         Call test_dfp_conversions.
10349         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10350         elements.
10351         (main): Initialize ds.float4 and ds.double8 elements.
10352         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
10353         string to new error message.
10354         (d64_set_tests): Likewise.
10355         (d128_set_tests): Likewise.
10356         Add tests for expressions with decimal float variables.  Add tests for
10357         conversions to and from decimal float types.
10358
10359 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
10360
10361         * gdb.ada/packed_tagged/comp_bug.adb: New file.
10362         * gdb.ada/packed_tagged.exp: New testcase.
10363
10364 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10365
10366         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10367         gdb.ada/homonym/homonym_main.adb: New files.
10368         * gdb.ada/homonym.exp: New testcase.
10369
10370 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10371
10372         * gdb.ada/packed_array.exp: Add testing of references to
10373         a packed array.
10374
10375 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10376
10377         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10378         New files.
10379         * gdb.ada/type_coercion.exp: New testcase.
10380
10381 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10382
10383         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10384         gdb.ada/tagged/foo.adb: New file.
10385         * gdb.ada/tagged.exp: New testcase.
10386
10387 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
10388
10389         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10390         gdb.ada/ptype_field/foo.adb: New files.
10391         * gdb.ada/ptype_field.exp: New testcase.
10392
10393 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10394
10395         * gdb.ada/print_pc.exp: New testcase.
10396
10397 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10398
10399         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10400         gdb.ada/taft_type/p.adb: New files.
10401         * gdb.ada/taft_type.exp: New testcase.
10402
10403 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10404
10405         * gdb.ada/array_bounds/bar.adb: New file.
10406         * gdb.ada/array_bounds.exp: New testcase.
10407
10408 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10409
10410         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10411         gdb.ada/arrayptr/foo.adb: New files.
10412         * gdb.ada/arrayptr.exp: New testcase.
10413
10414 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10415
10416         * gdb.base/set-lang-auto.exp: New testcase.
10417
10418 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
10419
10420         * gdb.ada/fun_addr/foo.adb: New file.
10421         * gdb.ada/fun_addr.exp: New testcase.
10422
10423 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10424
10425         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10426         New files
10427
10428 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10429
10430         * array_subscript_addr/p.adb: New file.
10431         * array_subscript_addr.exp: New testcase.
10432
10433 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
10434
10435         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10436         New files.
10437         * gdb.ada/str_cmp_ref.exp: New testcase.
10438
10439 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10440
10441         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10442         gdb.ada/fun_in_declare/foo.adb: New files.
10443         * gdb.ada/fun_in_declare.exp: New testcase.
10444
10445 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10446
10447         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10448         gdb.ada/ref_param/pck.ads: New files.
10449         * gdb.ada/ref_param.exp: New testcase.
10450
10451 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
10452
10453         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10454         gdb.ada/interface/foo.adb: New files.
10455         * gdb.ada/interface.exp: New testcase.
10456
10457 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
10458
10459         * gdb.base/multi-forks.exp: Consume all output from child
10460         processes before proceeding to next test.
10461
10462 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
10463
10464         * configure: Regenerated.
10465
10466 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10467
10468         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10469         gdb.ada/fixed_cmp/fixed.adb: New files.
10470         * gdb.ada/fixed_cmp.exp: New testcase.
10471
10472 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
10473
10474         * gdb.ada/boolean_expr.exp: New testcase.
10475
10476 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
10477
10478         * gdb.base/multi-forks.exp: Doc fix.
10479
10480 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
10481
10482         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10483         * gdb.ada/char_param.exp: Do not compile our test program with
10484         -gnata, this is unnecessary.
10485         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10486
10487 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10488
10489         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10490         gdb.ada/print_chars/foo.adb: New files.
10491         * gdb.ada/print_chars.exp: New testcase.
10492
10493 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
10494
10495         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10496         gdb.ada/char_param/foo.adb: New files.
10497         * gdb.ada/char_param.exp: New testcase.
10498
10499 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
10500
10501         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10502         hard-coding source line numbers into the test.
10503         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10504         gdb_get_line_number to find.
10505
10506 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
10507
10508         * gdb.base/ptype.c (highest): New struct type.
10509         (the_highest): New variable of that type.
10510         (main): Add dummy assignment to a field of variable the_highest.
10511         * gdb.base/ptype.exp: Test type printing of our new variable.
10512
10513 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
10514
10515         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10516         and record first explicitly generated thread number.
10517         Use that thread number for thread specific watchpoint test.
10518         Add iteration number to repetitive tests.
10519
10520 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10521             Jim Blandy  <jimb@codesourcery.com>
10522
10523         * gdb.base/expand-psymtabs.c: New testcase
10524         source file.
10525         * gdb.base/expand-psymtabs.exp: New testcase
10526         expect file.
10527
10528 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
10529
10530         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10531         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10532
10533 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10534
10535         * gdb.ada/frame_args/foo.adb: New file.
10536         * gdb.ada/frame_args/pck.ads: New file.
10537         * gdb.ada/frame_args/pck.adb: New file.
10538         * gdb.ada/frame_args.exp: New testcase.
10539
10540 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
10541
10542         * gdb.base/frame-args.c: New file.
10543         * gdb.base/frame-args.exp: New testcase.
10544
10545 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
10546             Joseph Myers  <joseph@codesourcery.com>
10547
10548         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10549
10550 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
10551
10552         * gdb.mi/mi-pending.exp: New.
10553         * gdb.mi/mi-pending.c: New.
10554         * gdb.mi/mi-pendshr.c: New.
10555
10556 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
10557
10558         * gdb.base/default.exp: Update expected output for 'info catch'.
10559
10560 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10561
10562         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10563         must be set to binary.
10564
10565 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10566
10567         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10568
10569 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
10570
10571         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10572         gdb.mi/mi-file-transfer.exp: New.
10573
10574 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10575
10576         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10577
10578 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
10579
10580         * gdb.trace/backtrace.exp: Fix a typo.
10581         * gdb.trace/circ.exp: Likewise.
10582         * gdb.trace/collection.exp: Likewise.
10583         * gdb.trace/limits.exp: Likewise.
10584         * gdb.trace/report.exp: Likewise.
10585         * gdb.trace/tfind.exp: Likewise.
10586         * gdb.trace/while-dyn.exp: Likewise.
10587
10588 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
10589
10590         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10591         objects of pointers that can't be dereferenced are now
10592         "noneditable".
10593
10594 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10595
10596         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10597         (target_cpu): Remove.
10598
10599 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
10600
10601         * gdb.base/ending-run.exp: Expect the list of cleared
10602         breakpoint to come in natural order, not the reversed one.
10603
10604 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
10605
10606         * gdb.mi/mi-var-child.c (do_child_deletion): New.
10607         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10608
10609 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
10610
10611         * gdb.base/printcmds.exp: New function
10612         test_printf_with_dfp.
10613
10614 2007-11-02  Doug Evans  <dje@google.com>
10615
10616         * gdb.disasm/t01_mov.s: Remove carriage returns.
10617         * gdb.disasm/t02_mova.s: Ditto.
10618         * gdb.disasm/t03_add.s: Ditto.
10619         * gdb.disasm/t04_sub.s: Ditto.
10620         * gdb.disasm/t05_cmp.s: Ditto.
10621         * gdb.disasm/t06_ari2.s: Ditto.
10622         * gdb.disasm/t07_ari3.s: Ditto.
10623         * gdb.disasm/t08_or.s: Ditto.
10624         * gdb.disasm/t09_xor.s: Ditto.
10625         * gdb.disasm/t10_and.s: Ditto.
10626         * gdb.disasm/t11_logs.s: Ditto.
10627         * gdb.disasm/t12_bit.s: Ditto.
10628         * gdb.disasm/t13_otr.s: Ditto.
10629
10630 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10631
10632         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10633
10634 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10635
10636         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10637         provide DFP support.
10638
10639 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
10640
10641         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10642         Test "set powerpc vector-abi".  Skip auto-detection tests for old
10643         toolchains.
10644
10645 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10646
10647         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10648         with [string compare].
10649
10650 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
10651
10652         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10653         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10654
10655 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
10656
10657         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10658         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10659         * gdb.opt/Makefile.in: New makefile.
10660         * Makefile.in: Create new directory "gdb.opt".
10661         * configure.ac: Add "gdb.opt" directory.
10662         * configure: Regenerated.
10663
10664 2007-10-25  Doug Evans  <dje@google.com>
10665
10666         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10667         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10668
10669 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
10670             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10671
10672         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10673         Floating Point expressions.
10674         * gdb.base/dfp-test.exp: new file adding tests for Decimal
10675         Floating Point variables.
10676         * gdb.base/dfp-test.c: new file containing program with Decimal
10677         Floating variables, used by gdb.base/dfp-test.exp.
10678
10679 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
10680
10681         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10682
10683 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10684
10685         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10686         compiling test case with GCC.
10687         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10688
10689 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10690
10691         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10692         format changes.
10693
10694 2007-10-18  Michael Snyder  <msnyder@specifix.com>
10695
10696         * gdb.base/dbx.exp: Add missing "-re " operator.
10697
10698 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
10699
10700         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10701         * configure.ac: Removed trailing spaces after backslash.
10702         * gdb.modula2: New directory.
10703         * gdb.modula2/Makefile.in: New file.
10704         * gdb.modula2/unbounded-array.exp: New file.
10705         * gdb.modula2/unbounded1.c: New file.
10706
10707 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
10708
10709         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10710
10711 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
10712
10713         * gdb.base/sigstep.c (main): Add checks for
10714         return values for setitimer call.
10715         Call setitimer again with itimer = ITIMER_REAL
10716         if first call to setitimer fails.
10717
10718 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
10719
10720         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10721         of $timeout.
10722
10723 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
10724
10725         * gdb.server/server-run.exp: Test for dynamic linker symbols.
10726
10727 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
10728
10729         * lib/gdb.exp (gdb_run_cmd): Move comment outside
10730         of gdb_expect call, to avoid interruption.
10731
10732 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
10733
10734         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10735         (v_unsigned_long_long, v_long_long_array)
10736         (v_signed_long_long_array, v_unsigned_long_long_array)
10737         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10738         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10739         [!NO_LONG_LONG]: New.
10740         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10741         v_long_long_member.
10742
10743         (v_long_long_func, v_signed_long_long_func)
10744         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10745         (main) [!NO_LONG_LONG]: Initialize long long variants.
10746
10747         * gdb.base/whatis.exp: If board file requests no_long_long, build
10748         test with NO_LONG_LONG defined.  Test long long, signed long long,
10749         and unsigned long long variants but only if board file doesn't
10750         disable it.
10751
10752 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
10753             Daniel Jacobowitz  <dan@codesourcery.com>
10754
10755         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10756         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10757         * configure: Regenerated.
10758         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10759         gdb.pascal/types.exp, lib/pascal.exp: New files.
10760
10761 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
10762
10763         * gdb.cp/classes.exp (do_tests): Always step to the line after the
10764         call.
10765         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10766         to return to the call.
10767         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10768         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10769         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10770         * gdb.mi/mi-until.exp (test_until): Likewise.
10771         * gdb.mi/mi2-until.exp (test_until): Likewise.
10772
10773 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
10774
10775         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10776         two-char array.
10777         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10778
10779 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
10780
10781         * gdb.threads/watchthreads.c (thread_function): Sleep between
10782         iterations.
10783         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10784         at once for S/390.  Generate matching fails and passes.
10785
10786 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
10787
10788         * gdb.mi/var-cmd.c (do_children_tests): Initialize
10789         the 'struct_declarations' variable to zeros.
10790
10791 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
10792
10793         * gdb.cp/mb-ctor.cc: New.
10794         * gdb.cp/mb-ctor.exp: New.
10795         * gdb.cp/mb-templates.cc: New.
10796         * gdb.cp/mb-templates.exp: New.
10797
10798 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
10799
10800         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10801
10802 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
10803
10804         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10805         targets.
10806         * configure: Regenerate.
10807
10808 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
10809
10810         * gdb.base/annota1.exp: Adjust for 'info break'
10811         format changes.
10812         * gdb.base/annota3.exp: Likewise.
10813         * gdb.base/break.exp: Likewise.
10814         * gdb.base/condbreak.exp: Likewise.
10815         * gdb.base/pending.exp: Likewise.
10816         * gdb.base/sepdebug.exp: Likewise.
10817         * gdb.base/unload.exp: Likewise.
10818         * gdb.base/ovldbreak.exp: Likewise.
10819
10820 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
10821
10822         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10823         messages.
10824         * gdb.base/chng-syms.exp: Likewise.
10825         * gdb.base/unload.exp: Likewise.
10826
10827 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
10828
10829         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10830
10831 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
10832
10833         * schedlock.c (NUM): Change to 1.
10834         (main): Use args[0] for the main thread.
10835         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
10836         regardless of the number of threads.
10837
10838 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10839
10840         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10841         type down.
10842         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10843         test.
10844         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10845         watchpoint type down.
10846         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10847         test.
10848
10849 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
10850
10851         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10852         Move all the tests here and run them twice, once using software
10853         watchpoints and once using hardware watchpoints.
10854         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10855
10856 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
10857
10858         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10859         test.
10860
10861 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
10862
10863         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10864         build-id.
10865
10866         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10867         know about $ORIGIN.  Calculate output dir from $dest instead of
10868         using ${objdir}/{$subdir}.
10869
10870 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
10871
10872         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10873         gcore, before continuing with the test.
10874
10875 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
10876
10877         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10878         * gdb.mi/mi-watch.exp: Likewise.
10879
10880 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10881             Jim Blandy  <jimb@codesourcery.com>
10882
10883         * gdb.arch/i386-sse.exp: Do not expect character constants.
10884         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10885         * gdb.base/display.exp: Allow print/s.
10886         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10887         and unsigned char array changes.
10888
10889 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10890
10891         * gdb.base/display.exp: Add tests for printf %p.
10892
10893 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
10894
10895         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10896         the dll name to unicode.
10897
10898 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10899
10900         * gdb.base/default.exp (show version): Update the version text.
10901         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10902
10903 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10904
10905         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10906         New files.
10907
10908 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10909
10910         * lib/gdb.exp (build_id_debug_filename_get): New function.
10911         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10912         Remove the generate DEBUG file for the future testcase runs.
10913         New testcase for the NT_GNU_BUILD_ID retrieval.
10914         Move the final testing step to ...
10915         (test_different_dir): ... a new function.
10916         New parameter XFAIL to XFAIL all the tests performed.
10917         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10918         New parameter TYPE to PF_PREFIX all the tests performed.
10919
10920 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
10921
10922         * gdb.mi/mi-var-cp.cc (path_expression): New
10923         function.
10924         * gdb.mi/mi-var-cp.exp: Run path exression tests.
10925
10926 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
10927
10928         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10929         to fit into SPU Local Store memory.
10930
10931 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10932
10933         * gdb.base/default.exp: Adjust the expected output of "info
10934         warranty" after the switch to GPLv3.
10935
10936 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10937
10938         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10939         to 30000 (from 20000).
10940
10941 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10942
10943         Switch the license of all .exp files to GPLv3.
10944         Switch the license of all .f and .f90 files to GPLv3.
10945         Switch the license of all .s and .S files to GPLv3.
10946
10947 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10948
10949         * configure.ac: Switch license to GPLv3.
10950
10951 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
10952
10953         Switch the licensing to GPLv3 for all .ads and .adb files.
10954
10955 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
10956
10957         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10958         and t_int_double.
10959         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10960
10961 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10962
10963         * gdb.base/step-line.c: Switch license to GPL version 3, and
10964         update copyright year.
10965         * gdb.base/step-line.inp: Likewise.
10966
10967 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
10968
10969         * gdb.base/gdb1555.exp: Make expected output immune to formatting
10970         changes inside gdb1555.c.
10971         * gdb.base/pending.exp: Likewise.
10972
10973 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
10974
10975         * config/default.exp: New file.
10976
10977 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10978
10979         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10980         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10981
10982 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
10983
10984         * gdb.base/dump.exp: Force the correct endianness for binary
10985         formats not carrying this information.
10986
10987 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10988
10989         * gdb.threads/staticthreads.exp: Match .*sem_post.
10990
10991 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
10992
10993         * gdb.base/readline.exp (operate_and_get_next): Match the final
10994         prompt.
10995
10996 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
10997
10998         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10999         to restarting SID.
11000
11001 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
11002
11003         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11004         prior to `gdb_start'.
11005
11006 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
11007
11008         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
11009         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11010         Remove call to gdb_unload.
11011
11012 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
11013             Daniel Jacobowitz  <dan@codesourcery.com>
11014
11015         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11016         for __WIN32__.
11017         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
11018         * gdb.base/unload.exp: Use shared library test routines.
11019
11020 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
11021
11022         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11023         * gdb.base/solib-symbol-lib.c: Likewise.
11024         * gdb.base/solib-symbol-main.c: Likewise.
11025
11026 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
11027
11028         * config/gdbserver.exp (gdb_reconnect): New.
11029         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11030         gdb.base/solib-disc.exp: New files.
11031         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11032         remote debugging".
11033         (gdb_compile): Add shlib_load flag.
11034         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11035         port.
11036         (gdbserver_reconnect): New.
11037
11038 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
11039             Daniel Jacobowitz  <dan@codesourcery.com>
11040
11041         * gdb.base/annota3.exp: Test for if construct.
11042
11043 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
11044
11045         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11046
11047 2007-06-21  Chris Dearman  <chris@mips.com>
11048             Maciej W. Rozycki  <macro@mips.com>
11049
11050         * gdb.base/display.exp: Allow a newline after display/i.
11051         * gdb.base/pc-fp.exp: Likewise.
11052         * gdb.base/sigbpt.exp: Likewise.
11053
11054 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
11055
11056         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
11057         required features to be included.
11058
11059 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
11060
11061         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11062         in info threads output.
11063
11064 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11065             Markus Deuling  <deuling@de.ibm.com>
11066
11067         * gdb.arch/spu-info.exp: New testcase.
11068         * gdb.arch/spu-info.c: New file.
11069
11070 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
11071
11072         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11073         tpcs_offset.  Restore lr after the call.
11074         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11075
11076 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
11077
11078         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11079         (gdbserver_run): Kill any running gdbserver.
11080         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11081
11082 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
11083
11084         * gdb.base/sigbpt.exp: Preset segv_addr.
11085
11086 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
11087
11088         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11089         (gdb_compile_shlib): Likewise.
11090         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11091         (default_gdb_init): Clear cleanfiles.
11092         (gdb_finish): Delete recorded cleanfiles.
11093         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11094
11095         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11096         Do not use isnative.
11097         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11098         gdb.base/so-impl-ld.exp: Likewise.
11099         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
11100         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
11101         gdb_compile.
11102
11103 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
11104
11105         * config/unknown.exp: Remove.
11106
11107 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
11108
11109         * gdb.base/info-proc.exp: Check is_remote.
11110
11111 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
11112
11113         * gdb.base/gcore.exp: Initialize variable core_supported.
11114
11115 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11116
11117         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11118
11119 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11120
11121         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11122         * gdb.threads/print-threads.exp (test_all_threads): Allow
11123         negative and hexadecimal thread IDs.
11124
11125 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
11126
11127         * gdb.java/jprint.java (public): Avoid invalid call to static
11128         method.
11129
11130 2007-05-14  Denis Pilat  <denis.pilat@st.com>
11131
11132         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11133         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11134         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11135         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11136         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11137
11138 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11139
11140         * gdb.base/overlays.exp: Add support for targets with only code
11141         overlay support, not data overlay.  Support spu-*-* target in
11142         this mode.
11143         * gdb.base/ovlymgr.c: Provide stubs for spu target.
11144         * gdb.base/spu.ld: New file.
11145
11146 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
11147
11148         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11149
11150 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
11151
11152         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11153
11154 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
11155
11156         * gdb.java/jmain.exp: Handle demangled names with and without method
11157         signatures.
11158
11159 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
11160
11161         * gdb.mi/mi-syn-frame.c (main, foo, bar)
11162         (have_a_very_merry_interrupt): Remove calls to puts.
11163         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11164         inferior output.
11165         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
11166         test names.
11167
11168 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
11169             Daniel Jacobowitz  <dan@codesourcery.com>
11170
11171         * gdb.base/auxv.exp (core_works): Also check is_remote.
11172         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11173
11174 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
11175
11176         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11177         message, not the undefined 'module' variable.
11178         * gdb.base/siginfo.exp: Likewise.
11179         * gdb.base/sigstep.exp: Likewise.
11180         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11181         serialport.
11182         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11183
11184 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
11185
11186         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11187         target sim fails.  Return 0 otherwise.
11188         (gdb_load): Return prematurely if gdb_target_sim fails.
11189
11190 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11191
11192         * gdb.base/setshow.exp: Reset height after having set it to 100.
11193
11194 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11195
11196         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11197
11198 2007-04-16  Denis Pilat  <denis.pilat@st.com>
11199
11200         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11201
11202 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
11203
11204         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11205         tests. Run the frozen varobjs test.
11206         * gdb.mi/var-cmd.c (do_frozen_tests): New.
11207         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
11208
11209 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11210
11211         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11212         gdb.base/type-opaque.exp: New files.
11213
11214 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
11215
11216         * gdb.mi/mi-var-child.c
11217         (do_children_tests): User char[2] instead of
11218         char so that automatic printing of pointers to char
11219         don't give unpredicable result.
11220         * gdb.mi/var-cmd.c (do_locals_test): Initialize
11221         local variables.
11222         * gdb.mi/mi-var-child.exp: Step to right line
11223         of do_children_tests.
11224         * gdb.mi/mi2-var-child.exp: Likewise.
11225         * gdb.mi/mi-var-cmd.exp: Step to right line of
11226         do_locals_tests.
11227         (do_children_tests): User char[2] instead of
11228         char so that automatic printing of pointers to char
11229         don't give unpredicable result.
11230         * gdb.mi/mi2-var-cmd.exp: Likewise.
11231         * lib/mi-support.exp (mi_continue_to_line):
11232         Pass test name to mi_wait_for_stop.
11233
11234 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11235
11236         * gdb.asm/asm-source.exp: Remove d10v case.
11237         * lib/gdb.exp (skip_cplus_tests): Likewise.
11238         * gdb.asm/d10v.inc: Deleted.
11239
11240 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11241
11242         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11243
11244 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
11245
11246         * config/netware.exp: Delete file.
11247
11248 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
11249
11250         * gdb.dwarf2/dw2-noloc.S: New file.
11251         * gdb.dwarf2/dw2-noloc.exp: New file.
11252
11253 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
11254
11255         * gdb.cp/method2.cc: New test.
11256         * gdb.cp/method2.exp: New test.
11257         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11258
11259 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
11260
11261         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11262
11263 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
11264
11265         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11266
11267 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
11268
11269         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11270         (gdb_load): Delete, replace with...
11271         (gdb_reload): ...this.
11272         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11273         * gdb.server/server-mon.exp: Likewise.
11274         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11275         (gdb_start_cmd): New.
11276         (gdb_file_cmd): Save the last loaded file.
11277         (gdb_reload): New.
11278         (gdb_gnu_strip_debug): Use transform.
11279         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11280         support here.  Use new $last_loaded_file.  Check mtime.
11281         (gdb_target_cmd): Handle ObjC failure case.
11282         (infer_host_exec): Delete.
11283         (gdbserver_load): Rename to...
11284         (gdbserver_run): ...this.  Simplify.
11285         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11286         (mi_gdb_load): Move most contents to a new function...
11287         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
11288         (mi_run_cmd): Use mi_gdb_target_load.
11289         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11290         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11291         Use gdb_run_cmd.
11292         * gdb.base/charsign.exp: Remove incorrect comment.
11293         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11294         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11295         gdb.base/start.exp: Use gdb_start_cmd.
11296
11297 2007-03-23  Nigel Stephens  <nigel@mips.com>
11298             Maciej W. Rozycki  <macro@mips.com>
11299
11300         * gdb.base/sigbpt.exp: Fix the message when skipping test.
11301         * gdb.base/signull.exp: Similarly.
11302
11303 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11304
11305         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11306         messages available to test cases (like chng-sym.exp).
11307
11308 2007-03-14  Andreas Schwab  <schwab@suse.de>
11309
11310         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11311         format changes.
11312
11313 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
11314
11315         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11316         (optimized_1): New.
11317         (main): Call optimized_1.
11318         (gdb2029): Correct typos.  Call gdb2029_marker.
11319         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
11320         for gdb2029.
11321
11322 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
11323
11324         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11325         as tabs.  Remove redundant test pattern.
11326
11327 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11328
11329         * gdb.base/long_long.exp: Accept optional symbol name in <...>
11330         for /a format output.
11331
11332 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
11333
11334         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11335         collect output incrementally.
11336
11337 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11338
11339         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11340         for -var-create lpcharacter test.
11341         * gdb.mi/mi2-var-cmd.exp: Likewise.
11342
11343 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11344
11345         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11346         pass on targets where address zero is readable.
11347
11348 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11349
11350         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11351         just a single architecture.
11352
11353 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11354
11355         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11356         (fetch_all_registers): New function, uses gdb_test_multiple and
11357         exp_continue to fetch inferior output line-by-line.
11358         Replace all uses of do_get_all_registers by fetch_all_registers.
11359
11360 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11361
11362         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11363         in target_info.
11364
11365 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11366
11367         * gdb.threads/manythreads.exp: Use $message string for
11368         consistancy; add a default (timeout) case.
11369
11370 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11371
11372         * gdb.base/watchpoint.exp: Fix truncated comment.
11373
11374 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
11375
11376         * Makefile.in: Remove spurious single-quotes from sed command.
11377
11378 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
11379
11380         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
11381         func.
11382         * gdb.mi/mi2-var-cmd.exp: Likewise.
11383
11384 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11385
11386         * gdb.dwarf2/dw2-producer.S: New file.
11387         * gdb.dwarf2/dw2-producer.exp: New testcase.
11388
11389 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
11390
11391         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11392         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11393         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11394         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11395         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11396         Revert tests to use mi_gdb_test and include value field in output
11397         of -var-create.
11398
11399 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11400
11401         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11402
11403 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
11404
11405         * gdb.base/maint.exp: Remove full paths from test names.
11406         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11407         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11408
11409 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
11410
11411         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11412
11413 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11414
11415         * gdb.server/server-mon.exp: New test.
11416
11417 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11418
11419         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11420
11421 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
11422
11423         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11424         register capitalization.
11425
11426 2007-02-13  Denis Pilat  <denis.pilat@st.com>
11427
11428         * gdb.mi/mi-var-invalidate.exp: New file.
11429
11430 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11431
11432         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11433
11434 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11435
11436         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11437
11438 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
11439
11440         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11441         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11442
11443 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
11444
11445         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11446         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11447         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11448         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11449         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11450         * gdb.mi/gdb792.exp, lib/mi-support.exp:
11451         Update tests to include value field in output of -var-create.
11452
11453 2007-02-08  Andreas Schwab  <schwab@suse.de>
11454
11455         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11456
11457 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
11458
11459         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11460         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11461
11462 2007-02-02  Denis Pilat  <denis.pilat@st.com>
11463
11464         * gdb.threads/threadapply.exp: check that frame is not changed by
11465         the thread apply all command.
11466
11467 2007-01-31  Andreas Schwab  <schwab@suse.de>
11468
11469         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11470
11471         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11472         in the dwarf sections.
11473         * gdb.dwarf2/mac-fileno.S: Likewise.
11474
11475         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11476         bspstore register on ia64.
11477
11478 2007-01-29  Andreas Schwab  <schwab@suse.de>
11479
11480         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11481         "frame-begin" annotation.
11482
11483         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11484         number of "frames-invalid" annotations.
11485
11486 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11487
11488         * gdb.base/commands.exp: Call if_commands_test.
11489         (gdb_test_no_prompt, if_commands_test): New.
11490
11491 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
11492
11493         * gdb.threads/sigthread.c (NSIGS): Make bigger.
11494
11495 2007-01-27  Andreas Schwab  <schwab@suse.de>
11496
11497         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11498         .short/.int/.quad in the dwarf sections.
11499         * gdb.dwarf2/dw2-intercu.S: Likewise.
11500         * gdb.dwarf2/dw2-intermix.S: Likewise.
11501
11502 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
11503
11504         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
11505         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11506         array.
11507         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11508         * gdb.base/setvar.exp: Likewise.
11509
11510 2007-01-26  Andreas Schwab  <schwab@suse.de>
11511
11512         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11513         test.
11514
11515         * gdb.base/multi-forks.exp ("restart $i"): Also match
11516         __kernel_syscall_via_break.
11517
11518 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
11519
11520         * lib/mi-support.exp (mi_delete_varobj): New.
11521         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11522         testcase.
11523         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11524         (main): Call the above.
11525         (reference_update_test, base_in_reference_test)
11526         (reference_to_pointer): Delete the created varobjs.
11527
11528 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
11529
11530         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11531         * configure: Regenerated.
11532         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11533         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11534         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11535         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11536         * lib/gdb.exp (gdb_skip_xml_test): New function.
11537
11538 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
11539
11540         * gdb.base/sigrepeat.exp: Correct error message.
11541
11542 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11543             Daniel Jacobowitz  <dan@codesourcery.com>
11544
11545         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11546         gdb.arch/i386-gnu-cfi-asm.S: New files.
11547
11548 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11549
11550         * lib/gdb.exp: Abort on missing `site.exp'.
11551
11552 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11553             Daniel Jacobowitz  <dan@codesourcery.com>
11554
11555         * gdb.base/included.c, gdb.base/included.exp,
11556         gdb.base/included.h: New files.
11557
11558 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
11559
11560         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11561         (maximize_rlimit): Reduce limits on 64-bit systems.
11562
11563 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
11564
11565         From Marcus Deuling <deuling@de.ibm.com>:
11566         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11567         every case.
11568
11569 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
11570
11571         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11572         (test_path_specification): Use objdir instead of srcdir to always
11573         get an absolute filename.
11574
11575 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
11576
11577         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11578
11579 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
11580
11581         * gdb.mi/mi-var-cp.cc (reference_update_tests):
11582         Make sure the variable we're using is in scope.
11583         (reference_to_pointer): Likewise.
11584
11585 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11586
11587         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11588         has no debug information.
11589
11590 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
11591
11592         * gdb.base/annota1.exp: Remove extra send_gdb.
11593
11594 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11595
11596         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11597
11598 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11599
11600         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11601
11602 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
11603             Daniel Jacobowitz  <dan@codesourcery.com>
11604
11605         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11606         lcharacter or linteger change.  Correct duplicated test name.
11607         * gdb.mi/mi2-var-cmd.exp: Likewise.
11608
11609 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
11610
11611         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11612
11613 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
11614
11615         * gdb.base/nofield.c: New file.
11616         * gdb.base/nofield.exp: New testcase.
11617
11618 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
11619
11620         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11621
11622         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11623          test.
11624
11625 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11626
11627         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11628
11629 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11630
11631         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11632         when continuing.
11633
11634 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11635
11636         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11637         Expect ".exe" extension.
11638
11639 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11640
11641         * gdb.base/charset.exp: Add explicit filename to break.
11642         * gdb.base/dbx.exp: Add explicit filename to breaks.
11643
11644 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
11645
11646         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11647         * gdb.mi/mi2-file.exp: Likewise.
11648
11649 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11650
11651         Implement specification of MI tests as comments
11652         in C and C++ sources.
11653         * lib/mi-support.exp (mi_autotest_data): New variable.
11654         (mi_autotest_source): New variable.
11655         (count_newlines, mi_prepare_inline_tests)
11656         (mi_get_inline_test, mi_continue_to_line)
11657         (mi_run_inline_test, mi_tbreak)
11658         (mi_send_resuming_command, mi_wait_for_stop): New functions.
11659         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11660         Run inline tests.
11661         * gdb.mi/mi-var-cp.cc: Define tests here.
11662
11663 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
11664
11665         Simplify usage of mi_continue_to.
11666         * lib/mi-support.exp (mi_runto_helper): Renamed
11667         from mi_runto, added new parameter 'run_or_continue'.
11668         (mi_runto): Use mi_runto_helper.
11669         (mi_continue_to): Accept just function name as parameter.
11670         Use mi_runto_helper.
11671         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11672         * gdb.mi/mi2-var-cmd.exp: Likewise.
11673
11674 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11675
11676         Make this testcase a bit more realistic. The current code
11677         is too simplistic, and allows the compiler to optimize out
11678         some of the entities we need for this testcase.
11679         * gdb.ada/null_record/bar.ads (Void_Star): New type.
11680         (Do_Nothing): Add extra parameter.
11681         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11682         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11683         by using a variable of type Void_Star.
11684
11685 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
11686
11687         * gdb.ada/catch_ex/foo.adb: New file.
11688         * gdb.ada/catch_ex.exp: New testcase.
11689
11690 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
11691
11692         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11693         pass --image-base to linker.
11694
11695 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11696             Daniel Jacobowitz  <dan@codesourcery.com>
11697
11698         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
11699         secondary prompts.
11700
11701 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11702
11703         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11704         output.  Test the types of members and member pointers.
11705         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11706         gdb/2092.
11707         * gdb.cp/member-ptr.exp: Search for a comment instead of a
11708         statement.  Enable for GCC.  Update expected output for some tests
11709         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
11710         layout.
11711         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11712         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11713         (Diamond::vget_base): New.
11714         (main): Add new tests.
11715         * gdb.cp/printmethod.exp: Update expected output for member functions.
11716         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11717         print pEe->D::vg().
11718
11719 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11720
11721         * gdb.threads/tls.exp: Allow stops in sem_post.
11722
11723 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
11724
11725         * gdb.base/annota1.exp: Allow .*printf in backtraces.
11726         * gdb.base/annota3.exp: Likewise.
11727         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11728         again (instead of timing out).
11729         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11730         GCC bug 26475.
11731         * gdb.java/jmisc.exp: Adjust to work with method signatures including
11732         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
11733         test from jmisc1.exp.
11734         * gdb.java/jmisc1.exp: Delete.
11735         * gdb.java/jprint.exp: Adjust to work with method signatures including
11736         return types.
11737         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11738         * gdb.threads/linux-dp.exp: Don't be confused by program output.
11739         * lib/java.exp (compile_java_from_source): Pass the correct type
11740         to target_compile.
11741
11742 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
11743
11744         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11745         (stack_align_edx): New function.
11746         (stack_align_eax): New function.
11747         (main): Add calls to stack_align_edx and stack_align_eax.
11748         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11749         Add testing for the cases where the register used during a stack
11750         realignment is edx. Same for eax.
11751
11752 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
11753
11754         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11755         and generic PE targets.
11756
11757 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
11758
11759         * gdb.ada/array_return.exp: Update copyright date list.
11760
11761 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
11762
11763         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11764         (Create_Small_Float_Vector): New function.
11765         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11766         function body.
11767         * gdb.ada/array_return/p.adb: Use new type and function from
11768         package Pck.
11769         * gdb.ada/array_return.exp: Add a test verifying that GDB is
11770         able to print the value returned by a function returning an
11771         array of float.
11772
11773 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
11774
11775         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11776         The associated tests should be PASSing.
11777
11778 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11779
11780         Test for base in references.
11781         * gdb.mi/mi-var-cp.cc: Add test code.
11782         * gdb.mi/mi-var-cp.exp: Test for bases in references.
11783         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11784         * gdb.mi/mi2-watch.exp: Likewise.
11785         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11786         (mi_list_varobj_children): New function.
11787
11788 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
11789
11790         * lib/mi-support.exp
11791         (mi_runto): Accept "()" after function name.
11792         (mi_create_varobj): New function.
11793         (mi_varobj_update): New function.
11794         (mi_Check_varobj_value): New function.
11795         * gdb.mi/mi-var-cp.exp: New file.
11796         * gdb.mi/mi-var-cp.cc: New file.
11797
11798 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
11799
11800         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11801         gdb.base/weaklib2.c: New files.
11802
11803 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
11804
11805         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11806         info.  Adjust test names.
11807
11808         * gdb.base/break.c (main): Move position of malloc.
11809         * gdb.base/break.exp: Revert mistaken checkin.
11810
11811 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
11812
11813         * gdb.mi/mi-var-cmd.exp: Check -var-update after
11814         assignement of arrays and function pointers.
11815         * gdb.mi/var-cmd.c: Add declaration necessary for above
11816         tests.
11817
11818 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11819
11820         * gdb.base/break.c (main): Call malloc.
11821
11822         * gdb.threads/linux-dp.exp: Read thread table before and after
11823         creating each philosopher and verify it.
11824
11825 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
11826             Paul Brook  <paul@codesourcery.com>
11827             Daniel Jacobowitz  <dan@codesourcery.com>
11828
11829         * gdb.base/ending-run.exp: Flatten expect script stepping out of
11830         main to remove duplication.  Add start function of the form
11831         '_*start[1-9]*'. Add RVDS start function.
11832
11833 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11834
11835         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11836
11837 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11838
11839         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11840         * gdb.asm/spu.inc: New file.
11841         * gdb.base/term.exp: Disable if [target_info exists noargs].
11842         * gdb.gdb/complaints.exp: Disable if ![isnative].
11843         * gdb.gdb/selftest.exp: Likewise.
11844         * gdb.gdb/observer.exp: Likewise.
11845         * gdb.gdb/xfullpath.exp: Likewise.
11846         * gdb.base/attach.exp: Disable on SPU target.
11847         * gdb.cp/bs145503.exp: Likewise.
11848         * gdb.cp/exception.exp: Likewise.
11849         * gdb.cp/userdef.exp: Likewise.
11850
11851 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
11852
11853         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11854
11855 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
11856
11857         * gdb.base/completion.exp: Fix completion tests for
11858         'info' and 'info '.
11859         * gdb.base/help.exp (help_test_raw, test_class_help)
11860         (test_prefix_command_help): Move...
11861         * lib/gdb.exp: Here.
11862         * gdb.base/main.exp: Adjust.
11863         * gdb.cp/maint.exp: Adjust.
11864         * gdb.trace/tracecmd.exp: Use test_help_class.
11865
11866 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11867
11868         * gdb.stabs/weird.exp (print_weird_var): Use
11869         gdb_test_multiple instead of gdb_expect.
11870
11871 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
11872
11873         * gdb.base/help.exp (help_test_raw): New.
11874         (test_class_help): New.
11875         (test_prefix_command_help): New.
11876         Adjust testcases.
11877
11878 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
11879
11880         * gdb.base/constvars.c (main): Write to crass and crips, so that
11881         they are allocated by the compiler.
11882
11883 2006-10-27  Andreas Schwab  <schwab@suse.de>
11884
11885         * gdb.base/multi-forks.exp: Use "detach fork" instead of
11886         "detach-fork".
11887
11888 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
11889
11890         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11891         of patterns.
11892
11893 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11894
11895         * gdb.base/sepdebug.exp: Remove debug format test.
11896         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11897         Handle no-symtab.
11898         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11899
11900 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
11901
11902         * gdb.threads/manythreads.c (thread_function, main): Don't cast
11903         int to pointer or pointer to int.
11904         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11905
11906 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
11907
11908         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11909
11910 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11911
11912         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11913
11914 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
11915
11916         PR c++/2116
11917         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11918
11919 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11920
11921         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11922         the corresponding bug has been fixed in GDB (PR/2018).
11923
11924 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11925
11926         * gdb.base/subst.exp: New testcase.
11927
11928 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11929
11930         * gdb.ada/array_return/pck.ads: Add copyright notice.
11931         * gdb.ada/array_return/pck.adb: Likewise.
11932         * gdb.ada/array_return/p.adb: Likewise.
11933         * gdb.ada/exec_changed/first.adb: Likewise.
11934         * gdb.ada/exec_changed/second.adb: Likewise.
11935
11936 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
11937
11938         * gdb.ada/watch_arg/watch.adb: New file.
11939         * gdb.ada/watch_arg.exp: New testcase.
11940
11941 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
11942
11943         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11944         via string_to_regexp.
11945         * gdb.mi/mi2-basics.exp: Likewise.
11946
11947 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
11948
11949         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11950         Remove unused / obsolete files.
11951
11952 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
11953
11954         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11955
11956 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
11957
11958         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11959         HIGH_FRAME argument to -stack-list-arguments can be larger than
11960         the number of frames.
11961
11962 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
11963
11964         * gdb.base/args.c (main): Add breakpoint marker.
11965         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
11966         really test empty arguments.
11967         (args_load): Delete.
11968         (args_test): New.
11969
11970 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
11971
11972         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11973         check for one file.
11974
11975 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
11976
11977         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11978         HIGH_FRAME argument to -stack-list-locals can be larger than
11979         the number of frames.
11980
11981 2006-08-18  Fred Fish  <fnf@specifix.com>
11982
11983         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11984         '$' in front of skip_vmx_tests_saved when setting that.
11985
11986 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
11987
11988         * gdb.base/trace-commands.exp: New file.
11989
11990 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
11991             Daniel Jacobowitz  <dan@codesourcery.com>
11992
11993         * gdb.base/step-bt.exp: Make hexadecimal address optional in
11994         expected output of the backtrace commands.
11995
11996 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
11997
11998         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11999         untested followed by return combination.
12000         * gdb.arch/altivec-regs.exp: Likewise.
12001         * gdb.arch/e500-abi.exp: Likewise.
12002         * gdb.arch/e500-regs.exp: Likewise.
12003         * gdb.arch/gdb1291.exp: Likewise.
12004         * gdb.arch/gdb1431.exp: Likewise.
12005         * gdb.arch/gdb1558.exp: Likewise.
12006         * gdb.arch/i386-prologue.exp: Likewise.
12007         * gdb.arch/i386-unwind.exp: Likewise.
12008         * gdb.asm/asm-source.exp: Likewise.
12009         * gdb.base/a2-run.exp: Likewise.
12010         * gdb.base/advance.exp: Likewise.
12011         * gdb.base/all-bin.exp: Likewise.
12012         * gdb.base/annota1.exp: Likewise.
12013         * gdb.base/annota3.exp: Likewise.
12014         * gdb.base/args.exp: Likewise.
12015         * gdb.base/arithmet.exp: Likewise.
12016         * gdb.base/assign.exp: Likewise.
12017         * gdb.base/async.exp: Likewise.
12018         * gdb.base/attach.exp: Likewise.
12019         * gdb.base/bang.exp: Likewise.
12020         * gdb.base/bigcore.exp: Likewise.
12021         * gdb.base/bitfields.exp: Likewise.
12022         * gdb.base/bitfields2.exp: Likewise.
12023         * gdb.base/break.exp: Likewise.
12024         * gdb.base/call-sc.exp: Likewise.
12025         * gdb.base/call-strs.exp: Likewise.
12026         * gdb.base/callfuncs.exp: Likewise.
12027         * gdb.base/checkpoint.exp: Likewise.
12028         * gdb.base/chng-syms.exp: Likewise.
12029         * gdb.base/code-expr.exp: Likewise.
12030         * gdb.base/commands.exp: Likewise.
12031         * gdb.base/completion.exp: Likewise.
12032         * gdb.base/cond-expr.exp: Likewise.
12033         * gdb.base/condbreak.exp: Likewise.
12034         * gdb.base/consecutive.exp: Likewise.
12035         * gdb.base/constvars.exp: Likewise.
12036         * gdb.base/corefile.exp: Likewise.
12037         * gdb.base/cvexpr.exp: Likewise.
12038         * gdb.base/dbx.exp: Likewise.
12039         * gdb.base/define.exp: Likewise.
12040         * gdb.base/detach.exp: Likewise.
12041         * gdb.base/display.exp: Likewise.
12042         * gdb.base/dump.exp: Likewise.
12043         * gdb.base/ena-dis-br.exp: Likewise.
12044         * gdb.base/ending-run.exp: Likewise.
12045         * gdb.base/environ.exp: Likewise.
12046         * gdb.base/eval-skip.exp: Likewise.
12047         * gdb.base/exprs.exp: Likewise.
12048         * gdb.base/fileio.exp: Likewise.
12049         * gdb.base/finish.exp: Likewise.
12050         * gdb.base/float.exp: Likewise.
12051         * gdb.base/foll-exec.exp: Likewise.
12052         * gdb.base/foll-fork.exp: Likewise.
12053         * gdb.base/foll-vfork.exp: Likewise.
12054         * gdb.base/freebpcmd.exp: Likewise.
12055         * gdb.base/funcargs.exp: Likewise.
12056         * gdb.base/gcore.exp: Likewise.
12057         * gdb.base/gdb1090.exp: Likewise.
12058         * gdb.base/gdb1250.exp: Likewise.
12059         * gdb.base/huge.exp: Likewise.
12060         * gdb.base/info-proc.exp: Likewise.
12061         * gdb.base/interrupt.exp: Likewise.
12062         * gdb.base/jump.exp: Likewise.
12063         * gdb.base/langs.exp: Likewise.
12064         * gdb.base/lineinc.exp: Likewise.
12065         * gdb.base/list.exp: Likewise.
12066         * gdb.base/logical.exp: Likewise.
12067         * gdb.base/long_long.exp: Likewise.
12068         * gdb.base/macscp.exp: Likewise.
12069         * gdb.base/maint.exp: Likewise.
12070         * gdb.base/mips_pro.exp: Likewise.
12071         * gdb.base/miscexprs.exp: Likewise.
12072         * gdb.base/multi-forks.exp: Likewise.
12073         * gdb.base/opaque.exp: Likewise.
12074         * gdb.base/overlays.exp: Likewise.
12075         * gdb.base/pc-fp.exp: Likewise.
12076         * gdb.base/pointers.exp: Likewise.
12077         * gdb.base/printcmds.exp: Likewise.
12078         * gdb.base/psymtab.exp: Likewise.
12079         * gdb.base/ptype.exp: Likewise.
12080         * gdb.base/recurse.exp: Likewise.
12081         * gdb.base/relational.exp: Likewise.
12082         * gdb.base/relocate.exp: Likewise.
12083         * gdb.base/remote.exp: Likewise.
12084         * gdb.base/reread.exp: Likewise.
12085         * gdb.base/restore.exp: Likewise.
12086         * gdb.base/return.exp: Likewise.
12087         * gdb.base/return2.exp: Likewise.
12088         * gdb.base/scope.exp: Likewise.
12089         * gdb.base/sect-cmd.exp: Likewise.
12090         * gdb.base/sep.exp: Likewise.
12091         * gdb.base/sepdebug.exp: Likewise.
12092         * gdb.base/setshow.exp: Likewise.
12093         * gdb.base/setvar.exp: Likewise.
12094         * gdb.base/sigall.exp: Likewise.
12095         * gdb.base/sigbpt.exp: Likewise.
12096         * gdb.base/signals.exp: Likewise.
12097         * gdb.base/signull.exp: Likewise.
12098         * gdb.base/sizeof.exp: Likewise.
12099         * gdb.base/solib.exp: Likewise.
12100         * gdb.base/step-line.exp: Likewise.
12101         * gdb.base/step-test.exp: Likewise.
12102         * gdb.base/structs.exp: Likewise.
12103         * gdb.base/structs2.exp: Likewise.
12104         * gdb.base/term.exp: Likewise.
12105         * gdb.base/twice.exp: Likewise.
12106         * gdb.base/until.exp: Likewise.
12107         * gdb.base/varargs.exp: Likewise.
12108         * gdb.base/volatile.exp: Likewise.
12109         * gdb.base/watchpoint.exp: Likewise.
12110         * gdb.base/whatis-exp.exp: Likewise.
12111         * gdb.base/whatis.exp: Likewise.
12112         * gdb.cp/ambiguous.exp: Likewise.
12113         * gdb.cp/annota2.exp: Likewise.
12114         * gdb.cp/annota3.exp: Likewise.
12115         * gdb.cp/bool.exp: Likewise.
12116         * gdb.cp/breakpoint.exp: Likewise.
12117         * gdb.cp/casts.exp: Likewise.
12118         * gdb.cp/class2.exp: Likewise.
12119         * gdb.cp/classes.exp: Likewise.
12120         * gdb.cp/cplusfuncs.exp: Likewise.
12121         * gdb.cp/ctti.exp: Likewise.
12122         * gdb.cp/derivation.exp: Likewise.
12123         * gdb.cp/exception.exp: Likewise.
12124         * gdb.cp/gdb1355.exp: Likewise.
12125         * gdb.cp/hang.exp: Likewise.
12126         * gdb.cp/inherit.exp: Likewise.
12127         * gdb.cp/local.exp: Likewise.
12128         * gdb.cp/m-data.exp: Likewise.
12129         * gdb.cp/m-static.exp: Likewise.
12130         * gdb.cp/member-ptr.exp: Likewise.
12131         * gdb.cp/method.exp: Likewise.
12132         * gdb.cp/misc.exp: Likewise.
12133         * gdb.cp/namespace.exp: Likewise.
12134         * gdb.cp/overload.exp: Likewise.
12135         * gdb.cp/ovldbreak.exp: Likewise.
12136         * gdb.cp/pr-1023.exp: Likewise.
12137         * gdb.cp/pr-1210.exp: Likewise.
12138         * gdb.cp/pr-574.exp: Likewise.
12139         * gdb.cp/printmethod.exp: Likewise.
12140         * gdb.cp/psmang.exp: Likewise.
12141         * gdb.cp/ref-params.exp: Likewise.
12142         * gdb.cp/ref-types.exp: Likewise.
12143         * gdb.cp/rtti.exp: Likewise.
12144         * gdb.cp/templates.exp: Likewise.
12145         * gdb.cp/try_catch.exp: Likewise.
12146         * gdb.cp/userdef.exp: Likewise.
12147         * gdb.cp/virtfunc.exp: Likewise.
12148         * gdb.disasm/am33.exp: Likewise.
12149         * gdb.disasm/h8300s.exp: Likewise.
12150         * gdb.disasm/mn10300.exp: Likewise.
12151         * gdb.disasm/sh3.exp: Likewise.
12152         * gdb.disasm/t01_mov.exp: Likewise.
12153         * gdb.disasm/t02_mova.exp: Likewise.
12154         * gdb.disasm/t03_add.exp: Likewise.
12155         * gdb.disasm/t04_sub.exp: Likewise.
12156         * gdb.disasm/t05_cmp.exp: Likewise.
12157         * gdb.disasm/t06_ari2.exp: Likewise.
12158         * gdb.disasm/t07_ari3.exp: Likewise.
12159         * gdb.disasm/t08_or.exp: Likewise.
12160         * gdb.disasm/t09_xor.exp: Likewise.
12161         * gdb.disasm/t10_and.exp: Likewise.
12162         * gdb.disasm/t11_logs.exp: Likewise.
12163         * gdb.disasm/t12_bit.exp: Likewise.
12164         * gdb.disasm/t13_otr.exp: Likewise.
12165         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12166         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12167         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12168         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12169         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12170         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12171         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12172         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12173         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12174         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12175         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12176         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12177         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12178         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12179         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12180         * gdb.mi/gdb701.exp: Likewise.
12181         * gdb.mi/gdb792.exp: Likewise.
12182         * gdb.mi/mi-basics.exp: Likewise.
12183         * gdb.mi/mi-break.exp: Likewise.
12184         * gdb.mi/mi-cli.exp: Likewise.
12185         * gdb.mi/mi-console.exp: Likewise.
12186         * gdb.mi/mi-disassemble.exp: Likewise.
12187         * gdb.mi/mi-eval.exp: Likewise.
12188         * gdb.mi/mi-file.exp: Likewise.
12189         * gdb.mi/mi-read-memory.exp: Likewise.
12190         * gdb.mi/mi-regs.exp: Likewise.
12191         * gdb.mi/mi-return.exp: Likewise.
12192         * gdb.mi/mi-simplerun.exp: Likewise.
12193         * gdb.mi/mi-stack.exp: Likewise.
12194         * gdb.mi/mi-stepi.exp: Likewise.
12195         * gdb.mi/mi-syn-frame.exp: Likewise.
12196         * gdb.mi/mi-until.exp: Likewise.
12197         * gdb.mi/mi-var-block.exp: Likewise.
12198         * gdb.mi/mi-var-child.exp: Likewise.
12199         * gdb.mi/mi-var-cmd.exp: Likewise.
12200         * gdb.mi/mi-var-display.exp: Likewise.
12201         * gdb.mi/mi-watch.exp: Likewise.
12202         * gdb.mi/mi2-basics.exp: Likewise.
12203         * gdb.mi/mi2-break.exp: Likewise.
12204         * gdb.mi/mi2-cli.exp: Likewise.
12205         * gdb.mi/mi2-console.exp: Likewise.
12206         * gdb.mi/mi2-disassemble.exp: Likewise.
12207         * gdb.mi/mi2-eval.exp: Likewise.
12208         * gdb.mi/mi2-file.exp: Likewise.
12209         * gdb.mi/mi2-read-memory.exp: Likewise.
12210         * gdb.mi/mi2-regs.exp: Likewise.
12211         * gdb.mi/mi2-return.exp: Likewise.
12212         * gdb.mi/mi2-simplerun.exp: Likewise.
12213         * gdb.mi/mi2-stack.exp: Likewise.
12214         * gdb.mi/mi2-stepi.exp: Likewise.
12215         * gdb.mi/mi2-syn-frame.exp: Likewise.
12216         * gdb.mi/mi2-until.exp: Likewise.
12217         * gdb.mi/mi2-var-block.exp: Likewise.
12218         * gdb.mi/mi2-var-child.exp: Likewise.
12219         * gdb.mi/mi2-var-cmd.exp: Likewise.
12220         * gdb.mi/mi2-var-display.exp: Likewise.
12221         * gdb.mi/mi2-watch.exp: Likewise.
12222         * gdb.stabs/exclfwd.exp: Likewise.
12223         * gdb.stabs/weird.exp: Likewise.
12224         * gdb.threads/gcore-thread.exp: Likewise.
12225         * gdb.trace/actions.exp: Likewise.
12226         * gdb.trace/backtrace.exp: Likewise.
12227         * gdb.trace/circ.exp: Likewise.
12228         * gdb.trace/collection.exp: Likewise.
12229         * gdb.trace/deltrace.exp: Likewise.
12230         * gdb.trace/infotrace.exp: Likewise.
12231         * gdb.trace/limits.exp: Likewise.
12232         * gdb.trace/packetlen.exp: Likewise.
12233         * gdb.trace/passc-dyn.exp: Likewise.
12234         * gdb.trace/passcount.exp: Likewise.
12235         * gdb.trace/report.exp: Likewise.
12236         * gdb.trace/save-trace.exp: Likewise.
12237         * gdb.trace/tfind.exp: Likewise.
12238         * gdb.trace/tracecmd.exp: Likewise.
12239         * gdb.trace/while-dyn.exp: Likewise.
12240         * gdb.trace/while-stepping.exp: Likewise.
12241
12242 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
12243
12244         * gdb.base/step-bt.c: New file.
12245         * gdb.base/step-bt.exp: New testcase.
12246
12247 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
12248
12249         * config/monitor.exp (gdb_load): Remove support for obsolete
12250         download-write-size.
12251         * gdb.base/remote.exp: Likewise.  Update all callers of
12252         gdb_timed_load.
12253
12254 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
12255
12256         * cursal.exp: Pass binfile to gdb_load.
12257
12258 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
12259
12260         * gdb.base/cursal.exp: Add "" to gdb_load call.
12261
12262 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
12263
12264         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12265         NetBSD/ELF targets.
12266
12267 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
12268
12269         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12270         operator*.
12271
12272 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
12273
12274         * gdb.base/completion.exp: Update for change in "file" behavior.
12275         * gdb.stabs/weird.exp: Likewise.
12276         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12277         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
12278
12279 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
12280
12281         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12282         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12283
12284 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
12285
12286         * gdb.base/default.exp: Update source command error message.
12287         * gdb.base/help.exp: Update 'help source' message.
12288
12289 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
12290
12291         * gdb.cp/bs15503.exp: Update comment for no longer crashing
12292         test.
12293
12294 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
12295
12296         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12297
12298 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
12299
12300         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12301
12302 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
12303
12304         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12305
12306 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
12307
12308         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12309         *-*-openbsd* from targets for wich we expect ARM FPA floating
12310         point format.
12311
12312 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
12313
12314         * gdb.cp/annota3.exp: Expect frame-begin annotation.
12315
12316 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
12317
12318         * gdb.base/annota3.exp: Expect frame-begin annotation.
12319
12320 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
12321
12322         * gdb.base/help.exp: Adjust "help unset" test to accept
12323         any list of unset commands.
12324
12325 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
12326             Daniel Jacobowitz  <dan@codesourcery.com>
12327
12328         * gdb.cp/ref-params.exp: New test.
12329         * gdb.cp/ref-params.cc: New source file.
12330         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12331
12332 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
12333
12334         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12335         spaces/tabs in regular expressions since they might not be there.
12336
12337 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
12338
12339         * gdb.base/ifelse.exp: New file.
12340
12341 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
12342
12343         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12344         line.
12345         * gdb.base/huge.exp: Loop over compilation to find a size that
12346         is acceptable.
12347         * gdb.base/remote.exp: Correct expected strings.
12348         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12349
12350 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12351
12352         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12353
12354 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12355
12356         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
12357         native.
12358
12359 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12360
12361         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12362         enable stabs testing.
12363
12364 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12365
12366         * gdb.base/auxv.exp: Intercept undefined command messages before
12367         gdb_test_multiple does.
12368
12369 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
12370
12371         * Makefile.in (host_alias): Remove.
12372         (target_alias): Use @target_noncanonical@.
12373         (site.exp): Don't set host_alias.
12374         * aclocal.m4: Remove contents.  Include acx.m4.
12375         * configure: Regenerated.
12376         * configure.ac: Use ACX_NONCANONICAL_TARGET.
12377
12378 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
12379
12380         * lib/gdb.exp (gdb_load_cmd): New.
12381
12382         * gdb.base/fileio.c: Add system(NULL) test.
12383         * gdb.base/fileio.exp: Check it.
12384
12385         * gdb.base/break.c: Add 10a breakpoint at }
12386         * gdb.base/break.exp: Add test for breakpoint at }
12387         * gdb.cp/anon-union.cc: Add code at end of function.
12388         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12389         * gdb.mi/var-cmd.c: Add code at end of function.
12390         * gdb.mi/mi-var-display.exp: Adjust end of next.
12391         * gdb.mi/mi2-var-display.exp: Likewise.
12392         * gdb.base/fileio.c: Add stop function and insert calls at
12393         stopping places.
12394         * gdb.base/fileio.exp: Breakpoint stop function and remove
12395         explicit line number references.
12396
12397 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
12398
12399         * gdb.base/del.exp (test_delete_alias): New function.
12400         Now check that both "del" and "d" work as aliases for "delete".
12401
12402 2006-05-18  Fred Fish  <fnf@specifix.com>
12403
12404         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12405         required.  Check for spurious output after program exits normally.
12406
12407 2006-05-17  Fred Fish  <fnf@specifix.com>
12408
12409         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12410         gdb_load, so it works in the simulator.
12411
12412 2006-05-11  Fred Fish  <fnf@specifix.com>
12413
12414         * gdb.base/bang.exp: Ignore unexpected output between the
12415         "program exited normally" and the gdb prompt, as many other
12416         tests do.
12417
12418 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
12419
12420         * gdb.base/help.exp: Make "delete checkpoint" part option for
12421         "help d" and "help delete" tests.
12422
12423 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12424
12425         * gdb.mi/mi-basics.exp: Add missing serial number to
12426         expected output in some mi_gdb_test statements.
12427         * gdb.mi/mi2-basics.exp: Likewise.
12428
12429 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
12430
12431         * gdb.base/del.c: New file.
12432         * gdb.base/del.exp: New testcase.
12433
12434 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
12435
12436         * gdb.base/break.exp: Do not assume a breakpoint on
12437         main will actually be in $srcfile when optimizing.
12438         * gdb.base/savedregs.exp: Do not require that the dummy
12439         frame location match up to a symbol and source file location.
12440         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12441         will get printed without a mi_cmd_data_list_register_values prefix.
12442         (*-data-list-register-*): Correct regular expressions to expect the new
12443         pseudo d? floating point registers.
12444         * gdb.mi/mi2-regs.exp: Likewise.
12445
12446 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
12447
12448         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12449         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12450         is allocated by the compiler.
12451         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12452         anons, e, anone to force their allocation by the compiler.
12453
12454 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
12455
12456         * gdb.base/help.exp: Update expected text for help d and
12457         help delete.
12458
12459 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
12460
12461         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12462         NetBSD/ELF targets.
12463
12464 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
12465
12466         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12467         single-step breakpoint fails; make this a KFAIL on
12468         sparc*-*-openbsd*.
12469         * gdb.base/siginfo.exp: Likewise.
12470         * gdb.base/sigstep.exp (advance, advancei): Likewise.
12471
12472 2006-04-26  Michael Snyder  <msnyder@redhat.com>
12473
12474         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12475         which may have to consume output from other forks.
12476         Add tests to make sure that "delete fork" succeeded.
12477
12478 2006-04-20  Michael Snyder  <msnyder@redhat.com>
12479
12480         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
12481         Add support for the Renesas M32C and M16C.
12482
12483         * gdb.asm/asm-source.exp: Add m32c target.
12484         * gdb.asm/m32c.inc: Support for m32c target.
12485
12486 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
12487
12488         * gdb.base/commands.exp (recursive_source_test): New test.
12489
12490 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
12491
12492         * gdb.base/float.exp: Add pattern for sparc targets.
12493
12494 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
12495
12496         * gdb.base/commands.exp (stray_arg0_test): New test.
12497
12498 2006-03-30  Paul Brook  <paul@codesourcery.com>
12499
12500         * gdb.mi/mi-until.exp: kfail broken until command.
12501         * gdb.mi/mi2-until.exp: Ditto.
12502
12503 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
12504
12505         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12506
12507 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
12508
12509         * gdb.base/prelink.exp: Anchor tested-for regular expression
12510         on gdb prompt.
12511
12512 2006-03-07  Paul Brook  <paul@codesourcery.com>
12513
12514         * gdb.base/assign.exp: Correct fail message.
12515
12516 2006-03-07  Paul Brook  <paul@codesourcery.com>
12517
12518         * lib/compiler.c: Extract armcc version number.
12519         * lib/compiler.cc: Ditto.
12520
12521 2006-03-07  Paul Brook  <paul@codesourcery.com>
12522
12523         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12524         additional_flags=-w.
12525         * gdb.arch/altivec-regs.exp: Ditto.
12526         * gdb.arch/e500-abi.exp: Ditto.
12527         * gdb.arch/e500-regs.exp: Ditto.
12528         * gdb.base/all-bin.exp: Ditto.
12529         * gdb.base/annota1.exp: Ditto.
12530         * gdb.base/annota3.exp: Ditto.
12531         * gdb.base/args.exp: Ditto.
12532         * gdb.base/arithmet.exp: Ditto.
12533         * gdb.base/assign.exp: Ditto.
12534         * gdb.base/async.exp: Ditto.
12535         * gdb.base/bang.exp: Ditto.
12536         * gdb.base/break.exp: Ditto.
12537         * gdb.base/call-rt-st.exp: Ditto.
12538         * gdb.base/completion.exp: Ditto.
12539         * gdb.base/cond-expr.exp: Ditto.
12540         * gdb.base/condbreak.exp: Ditto.
12541         * gdb.base/consecutive.exp: Ditto.
12542         * gdb.base/define.exp: Ditto.
12543         * gdb.base/display.exp: Ditto.
12544         * gdb.base/ena-dis-br.exp: Ditto.
12545         * gdb.base/environ.exp: Ditto.
12546         * gdb.base/eval-skip.exp: Ditto.
12547         * gdb.base/info-proc.exp: Ditto.
12548         * gdb.base/jump.exp: Ditto.
12549         * gdb.base/logical.exp: Ditto.
12550         * gdb.base/long_long.exp: Ditto.
12551         * gdb.base/maint.exp: Ditto.
12552         * gdb.base/miscexprs.exp: Ditto.
12553         * gdb.base/pc-fp.exp: Ditto.
12554         * gdb.base/pointers.exp: Ditto.
12555         * gdb.base/relational.exp: Ditto.
12556         * gdb.base/reread.exp: Ditto.
12557         * gdb.base/sect-cmd.exp: Ditto.
12558         * gdb.base/sep.exp: Ditto.
12559         * gdb.base/sepdebug.exp: Ditto.
12560         * gdb.base/until.exp: Ditto.
12561         * gdb.base/whatis-exp.exp: Ditto.
12562         * gdb.cp/annota2.exp: Ditto.
12563         * gdb.cp/annota3.exp: Ditto.
12564         * gdb.trace/actions.exp: Ditto.
12565         * gdb.trace/backtrace.exp: Ditto.
12566         * gdb.trace/circ.exp: Ditto.
12567         * gdb.trace/collection.exp: Ditto.
12568         * gdb.trace/deltrace.exp: Ditto.
12569         * gdb.trace/infotrace.exp: Ditto.
12570         * gdb.trace/limits.exp: Ditto.
12571         * gdb.trace/packetlen.exp: Ditto.
12572         * gdb.trace/passc-dyn.exp: Ditto.
12573         * gdb.trace/passcount.exp: Ditto.
12574         * gdb.trace/report.exp: Ditto.
12575         * gdb.trace/save-trace.exp: Ditto.
12576         * gdb.trace/tfind.exp: Ditto.
12577         * gdb.trace/tracecmd.exp: Ditto.
12578         * gdb.trace/while-dyn.exp: Ditto.
12579         * gdb.trace/while-stepping.exp: Ditto.
12580         * lib/gdb.exp: Ditto.
12581         (gdb_compile): Handle nowarning option.
12582
12583 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
12584
12585         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12586         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
12587         Rename executable to prelinkt.  Don't re-prelink if we didn't
12588         get a core file.  Test prelink -u exit status to tell whether
12589         prelinking failed.  Use gdb_test_multiple.
12590
12591 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
12592
12593         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12594         (do_tests): Call it.
12595
12596 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
12597
12598         * gdb.base/prelink.exp: New test.
12599         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12600
12601 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
12602
12603         * gdb.fortran/derived-type.f90: New file.
12604         * gdb.fortran/derived-type.exp: New testcase.
12605
12606 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
12607
12608         * gdb.base/default.exp: Allow ';' as a directory separator.
12609
12610 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12611
12612         * gdb.base/help.exp (help add-symbol-file): Update.
12613
12614 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
12615
12616         * gdb.base/help.exp (help load): Update expected results.
12617
12618 2006-02-19  Fred Fish  <fnf@specifix.com>
12619
12620         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12621         specifix hex value as part of results.
12622         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12623
12624 2006-02-16  Fred Fish  <fnf@specifix.com>
12625
12626         * gdb.base/whatis.c: Define variables using typedefs char_addr,
12627         ushort_addr, and slong_addr, so the typedefs are not optimized
12628         away.
12629         * gdb.base/whatis.exp: Add tests using type name for struct type,
12630         union type, enum type, and typedef.
12631
12632 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
12633
12634         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12635
12636 2006-02-13  Jim Blandy  <jimb@redhat.com>
12637
12638         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12639         case where it takes two "next" commands to skip past the init
12640         call.
12641
12642 2006-02-12  Fred Fish  <fnf@specifix.com>
12643
12644         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12645         to handle cases where it takes two "next" commands to skip
12646         past the init call.
12647
12648 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
12649
12650         * gdb.ada/array_return.exp: Mark the last test as expected to fail
12651         on hppa32 targets.
12652
12653 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
12654
12655         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12656         field.
12657
12658 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
12659
12660         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12661
12662 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
12663
12664         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12665         files.
12666
12667 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
12668
12669         * gdb.cp/maint.exp: Set complaints to a positive value.
12670
12671 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12672
12673         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
12674         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
12675         function name.
12676
12677 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
12678
12679         * gdb.base/checkpoint.c: Update copyright notice.  Include
12680         <stdlib.h>.
12681
12682 2006-01-04  Jim Blandy  <jimb@redhat.com>
12683
12684         * gdb.asm/asm-source.exp: Independently provide default values for
12685         asm-flags and debug-flags.  Use 'string equal' to do the
12686         comparison, not the implicit expr's '==' operator.  Remove
12687         now-unneeded assignments to asm-flags.  In h8300 case, place
12688         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12689
12690 2006-01-04  Michael Snyder  <msnyder@redhat.com>
12691
12692         * gdb.base/checkpoint.c: New file.
12693         * gdb.base/checkpoint.exp: New file.
12694         * gdb.base/multi-fork.c: New file.
12695         * gdb.base/multi-fork.exp: New file.
12696         * gdb.base/pi.txt: New file (data for checkpoint.c test).
12697
12698 2006-01-04  Fred Fish  <fnf@specifix.com>
12699
12700         * gdb.base/ptype.c (foo): Add typedef.
12701         (intfoo): Add function.
12702         * gdb.base/ptype1.c: New file.
12703         * gdb.base/ptype.exp: Handle compilation and linking with two
12704         source files.  Test that proper type for "foo" is found based
12705         on source context rather than first match found in symtabs.
12706
12707 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
12708
12709         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12710         * gdb.asm/openbsd.inc: Indent commands.
12711
12712 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
12713
12714         * gdb.base/freebpcmd.exp: Increase timeout.
12715
12716         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12717
12718 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
12719
12720         * gdb.base/default.exp: Update check for "show version".
12721
12722 2005-12-09  Randolph Chung  <tausq@debian.org>
12723
12724         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12725         * gdb.asm/pa64.inc: New file.
12726
12727 2005-12-09  Randolph Chung  <tausq@debian.org>
12728
12729         * gdb.asm/common.inc: Indent commands.
12730         * gdb.asm/asmsrc1.s: Likewise.
12731         * gdb.asm/asmsrc2.s: Likewise.
12732
12733 2005-12-09  Randolph Chung  <tausq@debian.org>
12734
12735         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12736         (get_addr_of_sym): Remove duplicate print.
12737         (gen_core): xfail hppa*-*-hpux*, update expected output.
12738         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12739         * gdb.arch/pa64-nullify.s: New file.
12740
12741 2005-12-09  Randolph Chung  <tausq@debian.org>
12742
12743         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12744
12745 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
12746
12747         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12748         code generation for these functions.
12749         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12750         error message.
12751
12752 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
12753
12754         * gdb.base/help.exp (help b, help br, help bre, help brea)
12755         (help break): Update the expected message.
12756
12757 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
12758
12759         * gdb.asm/m68hc11.inc: Setup the data section.
12760         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12761         script for this test.
12762         (m6812-*-*): Likewise.
12763
12764 2005-11-09  Randolph Chung <tausq@debian.org>
12765
12766         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12767
12768 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
12769
12770         * gdb.base/break.exp: Fix a comment typo.
12771
12772 2005-11-03  Jim Blandy  <jimb@redhat.com>
12773
12774         Checked in by Elena Zannoni  <ezannoni@redhat.com>
12775
12776         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12777
12778 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
12779
12780         * gdb.arch/gdb1558.c: Include stdio.h.
12781
12782 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12783
12784         * gdb.asm/asm-source.exp: Use -e instead of --entry.
12785
12786 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
12787
12788         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12789
12790 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
12791
12792         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12793         vscr" tests to better match output.
12794
12795 2005-10-12  Jim Blandy  <jimb@redhat.com>
12796
12797         * gdb.base/structs.exp (any): New function.
12798         (test_struct_returns): Don't make any assumptions at all about
12799         what value the function returns when GDB can't set the return
12800         value.
12801
12802 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12803
12804         * gdb.ada/arrayidx/p.adb: New file.
12805         * gdb.ada/arrayidx.exp: New testcase
12806
12807 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
12808
12809         * gdb.ada/array_return/pck.ads: New file.
12810         * gdb.ada/array_return/pck.adb: New file.
12811         * gdb.ada/array_return/p.adb: New file.
12812         * gdb.ada/array_return.exp: New testcase.
12813
12814 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
12815
12816         * gdb.base/arrayidx.c: New file.
12817         * gdb.base/arrayidx.exp: New testcase.
12818
12819 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
12820
12821         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12822         frames-invalid and breakpoints-invalid are no longer generated
12823         with level 3 so don't expect them in the output.
12824
12825 2005-09-27  Bob Rossi  <bob@brasko.net>
12826
12827         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12828         from test.  Escape the | in mi_gdb_test call.
12829         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12830         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12831         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12832         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12833         expected regex's in mi_gdb_test calls.
12834         * lib/mi-support.exp: Remove arbitrary .* from tests.
12835         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12836         Fully anchor GDB/MI expected results in mi_gdb_test.
12837         * lib/gdb.exp (string_to_regexp): Escape the ] character.
12838         * gdb.base/sizeof.exp: Remove escape character. Correct test.
12839
12840 2005-09-26  Paul Brook  <paul@codesourcery.com>
12841
12842         * long_long.exp: Exclude eabi targets from arm FPA float format test.
12843
12844 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12845
12846         * bfp-test.c: New file.
12847         * bfp-test.exp: New testcase.
12848
12849 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
12850
12851         * gdb.fortran/subarray.exp: New testcase to test the evaluation
12852         of subarray and substring variable.
12853         * gdb.fortran/subarray.f: New source file for the test of subarray
12854         and substring variable evaluation.
12855         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12856         of string constant.
12857
12858 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
12859
12860         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12861         copyright dates.
12862
12863 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
12864
12865         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12866         powerpc altivec' test with an almost identical 'info vector' test.
12867
12868 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12869
12870         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12871         vscr" tests to match output.
12872
12873 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
12874
12875         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12876         output.
12877
12878 2005-09-11  Bob Rossi  <bob@brasko.net>
12879
12880         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12881         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12882         commands that return an MI output command and an asyncronous MI output
12883         command.
12884         * gdb.mi/mi-console.exp: Ditto.
12885
12886 2005-09-11  Bob Rossi  <bob@brasko.net>
12887
12888         * gdb.mi/mi-var-child.c: Include <string.h>.
12889
12890 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
12891
12892         * killed.exp: Correct gdb_expect syntax.
12893
12894 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
12895
12896         * lib/mi-support.exp (mi_gdb_load): Fix typo.
12897
12898 2005-08-02  Bob Rossi  <bob@brasko.net>
12899
12900         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12901         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12902         Change tests to inferior-tty-set/show.
12903         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12904         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12905         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12906         inferior.  Use mi_gdb_test to get GDB and Inferior output.
12907         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12908         descriptor.
12909         (mi_inferior_tty_name): Add inferior PTY file name.
12910         (mi_gdb_start): Add INFERIOR_PTY parameter.
12911         (mi_gdb_test): Add IPATTERN parameter.
12912
12913 2005-08-02   Bob Rossi  <bob@brasko.net>
12914
12915         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12916         parameter to mi_gdb_test.
12917         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12918
12919 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12920
12921         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12922         struct_declarations.
12923         * gdb.mi/mi-var-child.exp: Step over the initialization of
12924         struct_declarations.
12925
12926 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
12927
12928         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12929         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12930         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12931         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12932         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12933         file.
12934
12935 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
12936
12937         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12938         (do_children_tests): Assign values to the extra elements.
12939
12940         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12941         them for tests for "-var-update --no-values" and
12942         "-var-update --all-values".
12943         Add test for "-var-list-children --simple-values".
12944
12945         * gdb.mi/basics.c (callee4): Add integer array D[3]...
12946
12947         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12948         "-stack-list-locals --simple-values"  Improve doc strings and
12949         comments.
12950
12951 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
12952
12953         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12954         *-*-openbsd*.
12955         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12956
12957         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12958         sigaltsatck'.
12959
12960 2005-07-14  Bob Rossi  <bob@brasko.net>
12961
12962         * gdb.base/default.exp (tty): Changed output of command.
12963         * gdb.base/help.exp (help tty): Ditto.
12964
12965 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
12966
12967         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12968
12969 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
12970
12971         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12972         -stack-select-frame without arguments.
12973         (test_stack_frame_listing): Add test for newly implemented command
12974         -stack-info-frame.
12975
12976 2005-07-06  Bob Rossi  <bob@brasko.net>
12977
12978         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12979         command.
12980         (Copyright): Update copyright.
12981
12982 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
12983
12984         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12985         tests to evaluate exponentiation expression.
12986
12987 2005-06-29  Andreas Schwab  <schwab@suse.de>
12988
12989         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12990         main to avoid warnings.
12991
12992         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12993
12994 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
12995
12996         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12997         -stack-select-frame without arguments.
12998         (test_stack_frame_listing): Add test for newly implemented command
12999         -stack-info-frame.
13000
13001 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
13002
13003         * gdb.fortran/array-element.f: New file.
13004         * gdb.fortran/array-element.exp: New testcase.
13005
13006 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
13007
13008         * gdb.base/bigcore.exp: Correct checks for systems which can
13009         not dump a large core file.
13010
13011 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
13012
13013         * gdb.base/relocate.c: Add a copyright notice.
13014         (dummy): Remove.
13015         * gdb.base/relocate.exp: Test printing the values of variables
13016         from a relocatable file.
13017
13018 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
13019
13020         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13021         excess MI output after an error.
13022
13023 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
13024
13025         * gdb.arch/alpha-step.c: New file.
13026         * gdb.arch/alpha-step.exp: New testcase.
13027
13028 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
13029             Dennis Brueni  <dennis@slickedit.com>
13030
13031         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13032         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13033         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13034         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13035         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13036         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13037         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13038
13039 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
13040             Wu Zhou  <woodzltc@cn.ibm.com>
13041
13042         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
13043         IBM's xlc compiler.
13044         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13045         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13046
13047 2005-05-13  Jim Blandy  <jimb@redhat.com>
13048
13049         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13050         calling gdb_suppress_entire_file.
13051         * gdb.base/charset.exp: Same.
13052         * gdb.base/call-rt-st.exp: Same.
13053
13054 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
13055
13056         * lib/gdb.exp (fullname_syntax): Added global regex.
13057         (fullname_syntax_POSIX): Ditto.
13058         (fullname_syntax_UNC): Ditto.
13059         (fullname_syntax_DOS_CASE): Ditto.
13060         (fullname_syntax_DOS): Ditto.
13061         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13062         fullname_syntax variable to scope and use it.
13063         (test_file_list_exec_source_files): Ditto.
13064         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13065
13066 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
13067
13068         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13069
13070 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
13071
13072         * lib/gdb.exp (skip_altivec_tests): New function, based on
13073         check_vmx_hw_available from the GCC testsuite.
13074         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13075         * lib/gdb.arch/altivec-regs.exp: Likewise.
13076
13077 2005-05-02  Jim Blandy  <jimb@redhat.com>
13078
13079         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13080         calling gdb_suppress_entire_file.
13081
13082 2005-04-30  Randolph Chung  <tausq@debian.org>
13083
13084         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13085         Slightly relax "sem_post" name checking.
13086
13087 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
13088
13089         * gdb.base/unload.exp: Use new shared library infrastructure.
13090
13091 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
13092
13093         * gdb.base/so-impl-ld.exp: Use new shared library
13094         infrastructure.
13095
13096 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
13097
13098         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13099         * gdb.asm/h8300.inc: New file.
13100
13101 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13102
13103         * gdb.base/shlib-call.exp: Change to use new shared library
13104         infrastructure.
13105
13106 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13107
13108         * gdb.base/pending.exp: Change to use new shared library
13109         infrastructure.
13110
13111 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
13112
13113         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13114         use test_compiler_info instead of gcc_compiled, and update copyright.
13115
13116 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
13117
13118         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13119         shared objects being adjusted and update copyright years.
13120
13121 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
13122
13123         * ChangeLog: Correct some 2003-01-13 dates.
13124         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13125         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13126         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13127         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13128         gdb.trace/tfind.exp: Update copyright years.
13129
13130 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
13131             Daniel Jacobowitz  <dan@codesourcery.com>
13132
13133         * lib/gdb.exp (gdb_compile): Handle shlib=.
13134         (gdb_compile_shlib): New function.
13135
13136 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
13137
13138         * lib/gdb.exp (test_compiler_info): Give argument a default value.
13139
13140 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
13141
13142         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13143         gdb.server.
13144         * configure.ac: Likewise.
13145         * configure: Regenerated.
13146         * gdb.gdbserver/Makefile.in: Moved to...
13147         * gdb.server/Makefile.in: ... here.
13148         * gdb.gdbserver/server.c: Moved to...
13149         * gdb.server/server.c: ... here.
13150         * gdb.gdbserver/server-run.exp: Moved to...
13151         * gdb.server/server-run.exp: ... here.
13152
13153 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
13154
13155         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13156         * configure.ac: Create gdb.gdbserver/Makefile.
13157         * configure: Regenerated.
13158         * lib/gdbserver-support.exp: New file, derived from
13159         config/gdbserver.exp.
13160         * config/gdbserver.exp: Use gdbserver-support.exp.
13161         * gdb.gdbserver/Makefile.in: New file.
13162         * gdb.gdbserver/server.c: New file.
13163         * gdb.gdbserver/server-run.exp: New file.
13164
13165 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
13166
13167         * lib/gdb.exp (test_compiler_info): Return compiler_info
13168         if no arguments are given.
13169
13170 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
13171
13172         * gdb.arch/altivec-abi.exp: Check for compiler and set
13173         use altivec' flag accordingly.
13174         * gdb.arch/altivec-regs.exp: Likewise.
13175
13176 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
13177
13178         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13179
13180 2005-03-27  Andreas Schwab  <schwab@suse.de>
13181
13182         * gdb.base/bigcore.c (main): Add missing mode argument in open
13183         call.
13184
13185 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
13186
13187         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13188         downloads.
13189         * config/gdbserver.exp (gdb_load): Likewise.
13190
13191 2005-03-14  Paul Brook  <paul@codesourcery.com>
13192
13193         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13194         targets.
13195
13196 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
13197
13198         * gdb.dwarf2/dup-psym.S: New file.
13199         * gdb.dwarf2/dup-psym.exp: New testcase.
13200
13201 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
13202
13203         * gdb.ada/exec_changed/first.adb: New file.
13204         * gdb.ada/exec_changed/second.adb: New file.
13205         * gdb.ada/exec_changed.exp: New testcase.
13206
13207 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
13208
13209         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13210         (A2): New class.
13211         (main): Test operator+.
13212         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
13213         breakpoint test.
13214
13215         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13216         * gdb.base/signull.exp: Disable if gdb,nosignals.
13217         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13218         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13219         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13220         * gdb.mi/mi2-console.exp: Likewise.
13221         * gdb.trace/collection.exp (run_trace_experiment): Consume the
13222         continue output at start.
13223         (gdb_collect_locals_test): Robustify regexp.
13224         * gdb.trace/passc-dyn.exp: Fix comment typo.
13225         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13226
13227 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
13228
13229         * gdb.asm/asm-source.exp: Add iq2000 case.
13230         * gdb.asm/iq2000.inc: New file.
13231
13232 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
13233
13234         * gdb.base/command.exp: Change hardcoded value to regular expression.
13235         * gdb.base/float.exp: Add powerpc to the list of targets checked.
13236
13237 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
13238
13239         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13240         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13241         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13242         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13243         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13244
13245 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
13246
13247         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13248         changes.
13249
13250 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
13251
13252         * lib/compiler.c: Add test for IBM's xlc compiler.
13253         * lib/compiler.cc: Likewise.
13254
13255 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
13256
13257         * gdb.ada/fixed_points.exp: Create compilation object directory
13258         before running the test.
13259         * gdb.ada/null_record.exp: Likewise.
13260         * gdb.ada/packed_array.exp: Likewise.
13261         * gdb.ada/start.exp: Likewise.
13262
13263 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
13264
13265         * gdb.ada/packed_array/pa.adb: New file.
13266         * gdb.ada/packed_array.exp: New testcase.
13267
13268 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
13269
13270         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13271         files.
13272
13273         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13274         on *-*-openbsd*.  Correctly match whitespace in regukar
13275         expressions.
13276
13277 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
13278
13279         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13280         PR exp/1821
13281         * gdb.base/gdb1821.c: New test file.
13282         * gdb.base/gdb1821.exp: New test file.
13283
13284 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
13285
13286         * gdb.base/start.c: New file.
13287         * gdb.base/start.exp: New testcase.
13288
13289 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
13290
13291         * gdb.ada/start/dummy.adb: New file.
13292         * gdb.ada/start.exp: New testcase.
13293
13294 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
13295
13296         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13297         for printing symbols and statistics.
13298         Add test for using relative pathnames in "maint print msymbols" test.
13299         Mark "maint info sections DATA" XFAIL on Cygwin.
13300         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13301         tests.
13302
13303 2005-02-09  Andreas Schwab  <schwab@suse.de>
13304
13305         Committed by Andrew Cagney  <cagney@gnu.org>
13306         * gdb.base/remotetimeout.exp: New file.
13307
13308 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
13309
13310         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13311
13312 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
13313
13314         * gdb.ada/gnat_ada.gpr: New file.
13315         * gdb.ada/gnat_ada.gin: Delete, no longer used.
13316         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13317         * configure.ac: No longer generate gnat_ada.gpr.
13318         * configure: Regenerate.
13319         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13320         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13321         * gdb.ada/null_record/bar.ads: Likewise.
13322         * gdb.ada/null_record/bar.adb: Likewise.
13323         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13324         * gdb.ada/null_record.exp (testdir): New variable.
13325         (testfile): executable is now in testdir subdirectory.
13326         (srcfile): Use full path to the main compilation unit.
13327         * gdb.ada/fixed_points.exp: Same changes as above.
13328
13329 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
13330
13331         * gdb.base/interp.exp: New test.
13332
13333 2005-01-24  Andrew Cagney  <cagney@gnu.org>
13334
13335         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13336
13337 2005-01-19  Andrew Cagney  <cagney@gnu.org>
13338
13339         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13340         configure.ac not configure.in.
13341
13342         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13343         of powerpc*-*-*.
13344         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13345         * gdb.base/list.exp (test_list_function)
13346         (test_list_filename_and_function): Ditto.
13347         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13348
13349 2005-01-16  Andrew Cagney  <cagney@gnu.org>
13350
13351         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13352
13353         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13354
13355 2005-01-14  Andrew Cagney  <cagney@gnu.org>
13356
13357         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13358         * gdb.mi/mi2-var-cmd.exp: Ditto.
13359
13360 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
13361
13362         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13363
13364 2005-01-07  Andrew Cagney  <cagney@gnu.org>
13365
13366         * configure.ac: Rename configure.in, require autoconf 2.59.
13367         * configure: Re-generate.
13368         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13369         * gdb.stabs/configure: Re-generate.
13370         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13371         * gdb.hp/configure: Re-generate.
13372         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13373         autoconf 2.59.
13374         * gdb.hp/gdb.objdbg/configure: Re-generate.
13375         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13376         autoconf 2.59.
13377         * gdb.hp/gdb.defects/configure: Re-generate.
13378         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13379         autoconf 2.59.
13380         * gdb.hp/gdb.compat/configure: Re-generate.
13381         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13382         autoconf 2.59.
13383         * gdb.hp/gdb.base-hp/configure: Re-generate.
13384         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13385         autoconf 2.59.
13386         * gdb.hp/gdb.aCC/configure: Re-generate.
13387
13388 2004-12-15  Jim Blandy  <jimb@redhat.com>
13389
13390         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13391         under NPTL when there is debugging info available for libpthread.
13392
13393 2004-12-13  Jerome Guitton  <guitton@gnat.com>
13394
13395         * gdb.ada/fixed_points.c: New file.
13396         * gdb.ada/fixed_points.exp: New file.
13397
13398 2004-12-03  Randolph Chung  <tausq@debian.org>
13399
13400         * gdb.arch/pa-nullify.exp: New file.
13401         * gdb.arch/pa-nullify.s: New file.
13402
13403 2004-11-30  Randolph Chung  <tausq@debian.org>
13404
13405         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13406         instead of "tbug".  Fix regexp to work properly with gdb_test.
13407
13408 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
13409
13410         * gdb.base/bitfields2.exp: New test.
13411         * gdb.base/bitfields2.c: New file.
13412
13413 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
13414
13415         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13416
13417 2004-11-16  Randolph Chung  <tausq@debian.org>
13418
13419         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13420
13421 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
13422
13423         * gdb.threads/threadapply.exp: Correct "macro details" test.
13424
13425 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
13426
13427         * gdb.threads/threadapply.exp: New test.
13428         * gdb.threads/threadapply.c: New file.
13429
13430 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
13431
13432         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13433         frames.
13434
13435 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
13436
13437         * gdb.base/cursal.exp: New file.
13438         * gdb.base/cursal.c: New file.
13439
13440 2004-11-03  Andrew Cagney  <cagney@gnu.org>
13441
13442         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13443
13444 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
13445
13446         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13447         NetBSD/ELF targets.
13448
13449 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
13450
13451         * gdb.threads/bp_in_thread.c: New file, copied from
13452         pthread_cond_wait.c.
13453         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13454         file, rather than reusing the .c file from another testcase.
13455
13456 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
13457
13458         * gdb.ada/null_record.exp: Check where we stopped after
13459         sending the start command, instead of where the associated
13460         temporary breakpoint was inserted.
13461
13462 2004-10-14  Andrew Cagney  <cagney@gnu.org>
13463
13464         * gdb.mi/gdb701.c (main): Return 0.
13465
13466 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
13467
13468         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
13469
13470 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
13471
13472         * gdb.threads/schedlock.c: Add comment markers to use to find
13473         line numbers.
13474         * gdb.threads/schedlock.exp: Adjust regex to handle the new
13475         comments.
13476         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13477         breakpoint lines.
13478
13479 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13480
13481         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13482
13483 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
13484
13485         * configure.in: Add gdb.dwarf2.
13486         * configure: Regenerated.
13487         * Makefile.in: Add gdb.dwarf2.
13488         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13489         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13490         gdb.dwarf2/file1.txt: New files.
13491
13492 2004-10-11  Orjan Friberg  <orjanf@axis.com>
13493
13494         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
13495         of "run", since the latter doesn't work with remote targets.  Adjust
13496         the breakpoint numbering accordingly.
13497         * gdb.threads/pthread_cond_wait.exp: Ditto.
13498
13499 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
13500
13501         * gdb.base/overlays.exp: Update copyright years.
13502
13503 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
13504
13505         * gdb.base/overlays.exp: Disable if target is Linux.
13506
13507 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
13508
13509         * config/gdbserver.exp (gdb_load): Use right filename on remote.
13510
13511 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
13512
13513         * gdb.asm/asm-source.exp: Add m32r-linux target.
13514         * gdb.asm/m32r-linux.inc: New file.
13515
13516 2004-09-24  Andrew Cagney  <cagney@redhat.com>
13517             David Anderson <anderson@redhat.com>
13518
13519         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13520         command fails, assume things will work.
13521         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13522         (_GNU_SOURCE): Define.
13523         (print_unsigned, print_hex): Change parameter to "long long".
13524         (print_byte_count): New function, use to print byte counts.
13525         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13526         O_LARGEFILE.
13527         (main): Compute an upper bound on a corefile in max_core_size.
13528         Limit memory chunk size to max_core_size.  Limit total memory
13529         allocated to max_core_size.
13530
13531 2004-09-23  Andrew Cagney  <cagney@gnu.org>
13532
13533         * gdb.base/bigcore.exp: Replace the code that creates a corefile
13534         from a separate process with code that creates a corefile by
13535         making the inferior dump core.
13536
13537 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
13538
13539         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13540         block.
13541
13542 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
13543
13544         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13545         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
13546         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13547         Likewise.
13548
13549 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
13550
13551         * gdb.java/jprint.exp: New test case for java inferior call.
13552         * gdb.java/jprint.java: Ditto.
13553
13554 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
13555
13556         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13557
13558 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13559
13560         * gdb.threads/killed.c: Include <stdlib.h>.
13561         * gdb.threads/pthreads.c: Likewise.
13562
13563 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
13564
13565         * gdb.threads/killed.c: Add copyright notice.
13566
13567 2004-09-10  Jason Molenda  (jmolenda@apple.com)
13568
13569         * gdb.base/define.exp: Two new tests to verify zero space chars
13570         after 'if' and 'while' commands in a user-defined command is correctly
13571         parsed.
13572
13573 2004-09-08  Andrew Cagney  <cagney@gnu.org>
13574
13575         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
13576         delivery test with duplicate at end of file.
13577
13578 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
13579
13580         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13581
13582 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13583
13584         * config/hppro.exp: Removed.
13585
13586 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13587
13588         * config/sparclet.exp: Removed.
13589
13590 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
13591
13592         * config/udi.exp: Removed.
13593
13594 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
13595
13596         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13597         of "exp_continue".
13598         (advancei): Likewise.
13599
13600 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13601
13602         * gdb.base/unload.exp: Fix so messages aren't duplicated.
13603
13604 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
13605
13606         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13607         to check for nodebug in executable.
13608         * gdb.gdb/observer.exp (setup_test): Likewise.
13609         * gdb.gdb/selftest.exp (test_with_self): Likewise.
13610         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13611
13612 2004-09-01  Andrew Cagney  <cagney@gnu.org>
13613
13614         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13615         files.
13616
13617 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
13618
13619         * gdb.base/unload.exp: Fix expected warning message to match
13620         latest format.
13621
13622 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
13623
13624         * gdb.base/call-rt-st.exp: Fix typos.
13625
13626 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
13627
13628         * gdb.threads/thread_check.exp: New testcase.
13629         * gdb.threads/thread_check.c: New testcase.
13630
13631 2004-08-31  Andrew Cagney  <cagney@gnu.org>
13632
13633         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13634         (skip_to_handler_entry): New procedures.  Test stepping into a
13635         handler when the breakpoint is at the handler's entry point.
13636
13637 2004-08-30  Andrew Cagney  <cagney@gnu.org>
13638
13639         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13640         gdb/1757.
13641
13642 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13643
13644         With code from Manoj Iyer <manjo@austin.ibm.com>:
13645         * lib/gdb.exp (gdb_file_cmd): Return more information in the
13646         return value.  Add an arm for "no debugging symbols found".
13647         Change a stray "error" to "perror".
13648         (gdb_run_cmd): Adapt to new return value.
13649         * gdb.base/remote.exp: Adapt to new return value.
13650         * gdb.gdb/complaints.exp: Likewise.
13651         * gdb.gdb/observer.exp: Likewise.
13652         * gdb.gdb/selftest.exp: Likewise.
13653         * gdb.gdb/xfullpath.exp: Likewise.
13654
13655 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
13656
13657         * gdb.threads/bp_in_thread.exp: New testcase.
13658
13659 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
13660
13661         Fix PR testsuite/1735.
13662         * gdb.threads/schedlock.c (thread_function): Add a cast
13663         to suppress a gcc warning.
13664         * gdb.threads/thread-specific.c (thread_function): Likewise.
13665
13666 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13667
13668         * gdb.base/unload.c: Include <stdlib.h>.
13669
13670 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13671
13672         From Paul Gilliam <pgilliam@us.ibm.com>:
13673         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13674         synchronized after the "return".
13675
13676 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13677
13678         * gdb.mi/basics.c: Include <stdio.h>.
13679         * gdb.mi/pthreads.c: Include <stdlib.h>.
13680         * gdb.mi/var-cmd.c: Include <stdlib.h>.
13681
13682 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
13683
13684         * gdb.threads/schedlock.c: Add copyright notice.
13685
13686 2004-08-25  Andrew Cagney  <cagney@gnu.org>
13687
13688         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13689         (skip_over_handler, breakpoint_over_hander): New test procedures.
13690         (advance, advancei): Add a proper prefix, do not use
13691         rerun_to_main.
13692         * gdb.base/sigstep.c (main): Change to use an infinite loop.
13693
13694 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
13695
13696         * gdb.mi/basics.c: Add copyright notice.
13697         * gdb.mi/var-cmd.c: Add copyright notice.
13698
13699 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13700
13701         * lib/gdb.exp: Remove signed_keyword_not_used.
13702         * lib/compiler.c: Likewise.
13703         * lib/compiler.cc: Likewise.
13704
13705 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13706
13707         * gdb.base/whatis.c: Remove conditional disabling of "signed".
13708         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13709
13710 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
13711
13712         * gdb.base/whatis.c: Add copyright notice.
13713
13714 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
13715
13716         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
13717         it to skip the breakpoints encoded in the inline assembly.
13718
13719 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13720
13721         * Makefile.in: Add gdb.fortran.
13722
13723 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
13724
13725         * gdb.base/call-sc.exp (test_scalar_returns):
13726         Fix cut-and-paste glitch in "Make fun return now".
13727
13728 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13729
13730         * configure.in: Add gdb.fortran.
13731         * configure: Regenerate.
13732         * gdb.fortran/Makefile.in: New file.
13733         * lib/gdb.exp (skip_fortran_tests): New procedure.
13734
13735 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
13736
13737         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
13738         reference to bug-gnu@prep.ai.mit.edu.
13739         * gdb.mi/mi-var-child.exp: Likewise.
13740         * gdb.mi/mi-var-cmd.exp: Likewise.
13741         * gdb.mi/mi-var-display.exp: Likewise.
13742         * gdb.mi/mi2-var-block.exp: Likewise.
13743         * gdb.mi/mi2-var-child.exp: Likewise.
13744         * gdb.mi/mi2-var-cmd.exp: Likewise.
13745         * gdb.mi/mi2-var-display.exp: Likewise.
13746
13747 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
13748
13749         * gdb.base/unload.c (main): Make local variable msg const.
13750
13751 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13752
13753         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
13754         to bug-gnu@prep.ai.mit.edu.
13755         * gdb.mi/mi-disassemble.exp: Likewise.
13756         * gdb.mi/mi-eval.exp: Likewise.
13757         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
13758         default line number.
13759         * gdb.mi/mi-return.exp: Likewise.
13760         * gdb.mi/mi-simplerun.exp: Likewise.
13761         * gdb.mi/mi-stack.exp: Likewise.
13762         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
13763         number with explicit range test.
13764         * gdb.mi/mi-watch.exp: Likewise.
13765         * gdb.mi/mi2-break.exp: Likewise.
13766         * gdb.mi/mi2-cli.exp: Likewise.
13767         * gdb.mi/mi2-disassemble.exp: Likewise.
13768         * gdb.mi/mi2-eval.exp: Likewise.
13769         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
13770         default line number.
13771         * gdb.mi/mi2-return.exp: Likewise.
13772         * gdb.mi/mi2-simplerun.exp: Likewise.
13773         * gdb.mi/mi2-stack.exp: Likewise.
13774         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
13775         number with explicit range test.
13776         * gdb.mi/mi2-watch.exp: Likewise.
13777
13778 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
13779
13780         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13781         * gdb.cp/m-static.exp: Likewise.
13782         * gdb.cp/rtti.exp: Likewise.
13783
13784 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
13785
13786         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13787
13788 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
13789
13790         * ChangeLog: Prefix Local Variables with semi-colons and indent
13791         the reference to older ChangeLog files, to fix fontification in
13792         Emacs.
13793
13794 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13795
13796         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13797         * gdb.mi/mi2-break.exp: Likewise.
13798
13799 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13800
13801         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13802
13803 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13804
13805         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13806
13807 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
13808
13809         * gdb.cp/classes.exp: Remove unused declarations.  Just let
13810         test names default instead of providing special names.  Remove
13811         extraneous demangler test.
13812
13813 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
13814
13815         * gdb.base/unload.exp: New test for breakpoints in dynamically
13816         loaded libraries.
13817         * gdb.base/unload.c: Ditto.
13818         * gdb.base/unloadshr.c: Ditto.
13819
13820 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
13821
13822         * gdb.cp/classes.exp (test_ptype_class_objects): Call
13823         cp_test_ptype_class.
13824         (test_enums): Likewise.
13825
13826 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13827
13828         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13829         files.
13830
13831 2004-08-10  Andrew Cagney  <cagney@gnu.org>
13832
13833         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13834         init_malloc call.
13835
13836 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
13837
13838         * ChangeLog: Add copyright notice.  The notice is copied
13839         from emacs 21.3 top level ChangeLog.
13840
13841 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13842
13843         * lib/cp-support.exp: New file.
13844         * lib/cp-support.exp (cp_test_type_class): New function.
13845         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13846         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13847         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13848         cp_test_ptype_class.
13849
13850 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13851
13852         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13853         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13854         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13855         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13856         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13857         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13858         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13859         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13860         gdb.mi/mi2-watch.exp: Update copyright years.
13861
13862 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
13863
13864         * gdb.base/sigaltstack.exp: Provide proper anchoring.
13865
13866 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
13867
13868         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13869         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13870         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13871         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13872         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13873         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13874         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13875         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13876         gdb.mi/mi-watch.exp: Update copyright years.
13877
13878 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13879
13880         PR gdb/1738
13881         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13882         from a breakpoint with a pending signal.
13883
13884 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13885
13886         PR gdb/1736
13887         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13888         * gdb.base/sigaltstack.exp (finish_test): Consume output until
13889         the prompt.
13890         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13891
13892 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13893
13894         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13895
13896 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13897
13898         PR gdb/1736
13899         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
13900         for i?86-*-linux*.
13901
13902 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
13903
13904         * gdb.arch/i386-prologue.exp: Compile without debug information.
13905
13906 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
13907
13908         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13909         rather than asking gdb to search.
13910
13911 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13912
13913         * gdb.base/gcore.c: Include <string.h>.
13914
13915 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13916
13917         * gdb.base/gcore.c: Add copyright notice.
13918
13919 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
13920
13921         * gdb.base/freebpcmd.c: Include <stdio.h>.
13922         * gdb.base/long_long.c: Include <string.h>.
13923         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13924         * gdb.base/siginfo.c: Include <string.h>.
13925         * gdb.base/sigstep.c: Include <string.h>.
13926
13927 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13928
13929         * gdb.base/complex.c: Include <stdlib.h>.
13930
13931 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13932
13933         * gdb.base/complex.c: Add copyright notice.
13934
13935 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13936
13937         * gdb.base/charset.c: Include <stdlib.h>.
13938
13939 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13940
13941         * gdb.base/auxv.c: Include <stdlib.h>.
13942
13943 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13944
13945         * gdb.base/auxv.c: Add copyright notice.
13946
13947 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
13948
13949         * gdb.base/coremaker.c: Add copyright notice.
13950         * gdb.base/coremaker2.c: Add copyright notice.
13951
13952 2004-08-04  Andrew Cagney  <cagney@gnu.org>
13953
13954         * gdb.base/store.exp: Update copyright.
13955         (check_set, up_set, check_struct, up_struct): Add a prefix to test
13956         names, do not import gdb_prompt.
13957
13958 2004-08-01  Andrew Cagney  <cagney@gnu.org>
13959
13960         Fix PR testsuite/1729.
13961         * gdb.base/dump.exp: Add test name to callers of capture_value, do
13962         not use capture_value with value 4.
13963         (capture_value): Add optional test name parameter.
13964         (test_reload_saved_value, test_restore_saved_value): Use $msg as
13965         the prefix, pass to capture_value.
13966
13967 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
13968
13969         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13970         * gdb.arch/i386-prologue.c (standard): New prototype and function.
13971         (main): Call new function.
13972
13973 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13974
13975         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13976
13977 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13978
13979         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13980
13981 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
13982
13983         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13984         Accept more values of vtbl pointer.  Remove some messages
13985         about "obsolete gcc or gdb".
13986
13987 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13988
13989         * gdb.cp/classes.exp: Accept more varieties of ptype output.
13990
13991 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
13992
13993         * gdb.base/asm-source.exp: Properly convert target board
13994         debug flags from gcc format to binutils format.
13995
13996 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
13997
13998         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13999         gdb1718".  PR backtrace/1718 partially fixed.
14000
14001 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
14002
14003         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14004
14005 2004-07-26  Nick Clifton  <nickc@redhat.com>
14006
14007         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
14008         good default value for a specific architecture is available then
14009         set it to that value.  Otherwise default to the -gstabs switch.
14010         Remove the -g... switches from the asm-flags variable.  Allow the
14011         target board info to override the value if it wants to.  Pass the
14012         switch on the assembler command line.
14013
14014 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
14015
14016         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14017         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14018         (main): Call new function.
14019
14020 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
14021
14022         Test for PR exp/1715.
14023         * gdb.base/radix.exp: Refactor common procedures.  Make all
14024         test names unique.  Change XFAIL to KFAIL.
14025
14026 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
14027
14028         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14029         * gdb.ada/gnat_ada.gin: ... to here.
14030         * configure.in: Use gnat_ada.gin.
14031         * configure: Regenerate.
14032
14033 2004-07-20  Andrew Cagney  <cagney@gnu.org>
14034
14035         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14036         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
14037         XFAILs.  Clean up test messages and comments.  Check backtraces.
14038         Delete re-sync code.
14039
14040 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
14041
14042         Fix PR cli/740.
14043         * gdb.base/annota1.exp: Honor gdb,nosignals.
14044         * gdb.base/annota3.exp: Likewise.
14045
14046 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
14047
14048         * lib/java.exp: Update copyright notice.
14049
14050 2004-07-19  Andrew Cagney  <cagney@gnu.org>
14051
14052         * gdb.base/selftest.exp: Copy file from here ...
14053         * gdb.gdb/selftest.exp: ... to here.
14054
14055 2004-07-16  Andrew Cagney  <cagney@redhat.com>
14056
14057         * lib/insight-support.exp: Delete file.
14058         * lib/java.exp (java_init): Fix copyright.
14059
14060 2004-07-16  Andrew Cagney  <cagney@gnu.org>
14061
14062         * gdb.base/restore.c: Append "prologue" to comments marking the a
14063         function's prologue.
14064         * gdb.base/restore.exp: Update copyright, re-indent.
14065         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
14066         callerN" prefix where needed.  Update patterns that match a
14067         function's prologue.
14068
14069 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
14070
14071         * gdb.base/restore.c: Add copyright notice.
14072
14073 2004-07-16  Andrew Cagney  <cagney@gnu.org>
14074
14075         * gdb.base/logical.exp: Update copyright.
14076         (evaluate): New procedure.  Use to re-implement tests using
14077         several tables.
14078
14079 2004-07-14  Martin Hunt  <hunt@redhat.com>
14080
14081         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14082         which fixes some problems where init.tcl was not found.
14083
14084 2004-07-13  Andrew Cagney  <cagney@gnu.org>
14085
14086         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14087         (check_sizeof, check_valueof): Do not include the output in the
14088         test name.  Use gdb_test.
14089         (get_valueof): Use gdb_test_multiple.
14090
14091         * gdb.base/step-test.exp: Update copyright.  Use
14092         gdb_test_multiple.  Ensure that test names do not include
14093         architecture dependent output.
14094
14095         * gdb.gdb/observer.exp: Update copyright.
14096         (setup_test): Use gdb_test_multiple.
14097         (attach_first_observer, attach_second_observer)
14098         (attach_third_observer, detach_first_observer)
14099         (detach_second_observer, detach_third_observer)
14100         (reset_counters, check_counters): Make $message a prefix.
14101         (test_normal_stop_notifications): Add "args" parameter - a list of
14102         init functions to be called.  Make $message a prefix,
14103         (test_observer_normal_stop): Change the message prefixes so that
14104         they are unique, pass the attach / detach procedures to
14105         test_normal_stop_notifications.
14106
14107         * gdb.base/signull.exp (test_segv): Prefix all tests with
14108         "${name}".  Clean up test messages.
14109
14110         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14111
14112         * gdb.base/ena-dis-br.exp: Update copyright.
14113         (break_at): New function.  Replace send_gdb with gdb_test,
14114         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
14115         ignore count, not stopped at bpt", with KFAIL.
14116
14117 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
14118
14119         * gdb.base/attach.exp: Remove cleanupfile handling.
14120
14121 2004-07-12  Andrew Cagney  <cagney@gnu.org>
14122
14123         * gdb.base/annota1.exp: Cleanup corefile test name.
14124         * gdb.base/annota3.exp: Ditto.
14125
14126 2004-07-12  Andrew Cagney  <cagney@gnu.org>
14127
14128         * gdb.base/signals.exp: Clean up copyright, re-indent.
14129
14130         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14131         gdb_test and gdb_test_multiple.
14132
14133 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
14134
14135         * gdb.java/jmain.exp: Fix expected line number for main to
14136         break at.  Set XFAIL for break at main test since gcj does not
14137         provide line number info for first statement in main.
14138
14139 2004-07-08  Andrew Cagney  <cagney@gnu.org>
14140
14141         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
14142
14143         * gdb.base/sigbpt.exp: Make the common part of each test name a
14144         prefix instead of suffix.
14145
14146 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
14147
14148         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14149         test from test_tbreak_creation_and_listing to
14150         test_file_list_exec_source_file
14151         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14152         Changed name of test from test_tbreak_creation_and_listing to
14153         test_file_list_exec_source_file
14154
14155 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
14156
14157         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14158         the jmisc() constructor instead of <init>.
14159         * gdb.java/jmisc1.exp: Ditto.
14160
14161 2004-07-07  Andrew Cagney  <cagney@gnu.org>
14162
14163         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14164         corrupting the PC.
14165
14166 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
14167
14168         * gdb.cp/templates.exp: Accept whitespace change in demangler
14169         output.
14170
14171 2004-07-06  Andrew Cagney  <cagney@gnu.org>
14172
14173         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14174
14175 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
14176
14177         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14178         * lib/compiler.cc: Likewise.
14179
14180 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
14181
14182         * lib/compiler.cc: Work around string preprocessing problem
14183         with old hp c++ compiler.
14184         * lib/compiler.c: Likewise.
14185
14186 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
14187
14188         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
14189         directives to conditionalize symbol prefixing.
14190         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14191         additional_flags handling.  Add underscore prefix for Cygwin.
14192         * gdb.arch/i386-unwind.c: Use preprocessor directives to
14193         conditionalize symbol prefixing.
14194         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14195         additional_flags handling.  Add underscore prefix for Cygwin.
14196
14197 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
14198
14199         * gdb.base/bigcore.exp: Skip test on Cygwin.
14200
14201 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
14202
14203         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14204         formats for "info register".  Use gdb_test_multiple.  Fix
14205         the "invalid register" test.
14206
14207 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
14208
14209         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
14210         PID for Cygwin.  Add Cygwin specific strings to check for in some
14211         tests.
14212         (do_attach_tests): Add a test for user interaction when attaching
14213         to a process with no matching symbol table already loaded.
14214
14215 2004-06-26  Andrew Cagney  <cagney@gnu.org>
14216
14217         Test PR java/1567 and PR java/1565.
14218         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14219         * gdb.java/jmisc2.exp: Delete file.
14220
14221 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
14222
14223         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14224
14225 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
14226
14227         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14228         attach process.
14229
14230 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
14231
14232         * gdb.cp/pr-1553.exp: Remove.
14233
14234 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
14235
14236         * gdb.cp/pr-1553.cc: Remove.
14237         * gdb.cp/pr-1553.exp: Disable this test.
14238
14239 2004-06-20  Jim Blandy  <jimb@redhat.com>
14240
14241         Fix PR testsuite/1680.
14242         * gdb.arch/i386-sse.exp: Properly quote curly braces in
14243         regular expressions.
14244
14245 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
14246
14247         Fix PR testsuite/1679.
14248         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14249         Issue an UNSUPPORTED result instead.
14250
14251 2004-06-18  Jim Blandy  <jimb@redhat.com>
14252
14253         * gdb.base/charset.exp: Only send a control-C if we see a new
14254         prompt and incomplete command.
14255
14256 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
14257
14258         * gdb.cp/pr-574.cc: Add copyright notice.
14259
14260 2004-06-17  Jim Blandy  <jimb@redhat.com>
14261
14262         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14263         cases where the regexp has no groups; this grabs random text from
14264         the previous test suite, whatever that was.
14265
14266 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
14267
14268         * gdb.cp/printmethod.cc: Add copyright notice.
14269
14270 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
14271
14272         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14273
14274 2004-06-16  Andrew Cagney  <cagney@gnu.org>
14275
14276         * gdb.base/signull.c: Update copyright.  Include <string.h>.
14277         (bowler): Replace data_pointer with data_read
14278         and data_write cases.  Add code_descriptor case.
14279         (zero, desc): New array and pointer.
14280         (data, code): Change to simple pointers.
14281         * gdb.base/signull.exp: Fix probe pattern matching a function
14282         descriptor SIGSEGV.  Replace data_pointer with data_read and
14283         data_write tests.
14284
14285 2004-06-16  Andrew Cagney  <cagney@gnu.org>
14286
14287         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14288
14289 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
14290
14291         * gdb.base/long_long.c: Add copyright notice.
14292
14293 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
14294
14295         * gdb.base/long_long.exp: Remove reference to
14296         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
14297         to gdb_breakpoint and gdb_continue_to_breakpoint.
14298
14299 2004-06-14  Jim Blandy  <jimb@redhat.com>
14300
14301         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14302         endian case.
14303
14304 2004-06-14  Andrew Cagney  <cagney@gnu.org>
14305
14306         * gdb.base/gcore.exp (capture_command_output): Delete the always
14307         passing tests containing inferior values.
14308         * gdb.base/ending-run.exp: Do not include the breakpoint address
14309         in the test message.  Update copyright.
14310         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14311         size in the test name, use gdb_test_multiple.  Update copyright.
14312
14313 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
14314
14315         * gdb.cp/ref-types.cc: Add copyright notice.
14316
14317 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
14318
14319         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14320         hp_aCC_compiler.
14321         * lib/compiler.cc: Likewise.
14322         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14323         'set' commands.  Log diagnostics for other lines.  Set
14324         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14325
14326 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
14327
14328         * gdb.cp/try_catch.cc: Add copyright notice.
14329
14330 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
14331
14332         * gdb.cp/userdef.cc: Add copyright notice.
14333
14334 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
14335
14336         * gdb.cp/virtfunc.cc: Add copyright notice.
14337
14338 2004-06-11  Randolph Chung  <tausq@debian.org>
14339
14340         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14341         problem.
14342
14343 2004-06-10  Andrew Cagney  <cagney@gnu.org>
14344
14345         * lib/compiler.cc, lib/compiler.c: Append either
14346         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14347         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14348         instead of gcc-3-3.
14349
14350 2004-06-09  Andrew Cagney  <cagney@gnu.org>
14351
14352         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14353         gdb/1455, bug is specific to "long long" and "double".
14354
14355         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14356         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14357         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
14358         fixed.
14359
14360 2004-06-09  Andrew Cagney  <cagney@gnu.org>
14361
14362         * gdb.base/structs.exp (test_struct_returns): Replace
14363         "return_value_unknown" and "finish_value_unknown" by
14364         "return_value_known" and "finish_value_known".  Instead of
14365         "return_value_unknown" iff "finish_value_unknown", check
14366         "return_value_known" implies "finish_value_known".
14367
14368 2004-06-08  Martin Hunt  <hunt@redhat.com>
14369
14370         * gdb.base/float.exp: Add pattern for mips targets.
14371
14372 2004-06-08  Randolph Chung  <tausq@debian.org>
14373
14374         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14375         message for unknown architectures more clear.
14376
14377 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
14378
14379         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14380         start the execution of the program.
14381
14382 2004-06-07  Jim Blandy  <jimb@redhat.com>
14383
14384         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14385         * gdb.arch/i386-cpuid.h: New helper file.
14386
14387 2004-06-07  Randolph Chung  <tausq@debian.org>
14388
14389         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14390         has started.
14391
14392 2004-06-04  Roland McGrath  <roland@redhat.com>
14393
14394         Fix PR gdb/1647.
14395         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14396         differently to be robust to output buffering differences.
14397
14398 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
14399
14400         * gdb.threads/pthreads.exp: Update copyright years.
14401         (check_control_c): Change asynchronous 'after' to synchronous.
14402
14403 2004-06-04  Roland McGrath  <roland@redhat.com>
14404
14405         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14406         next gdb prompt.
14407
14408 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
14409
14410         Fix PR gdb/1636.
14411         * gdb.threads/manythreads.exp: Change asynchronous 'after'
14412         calls to synchronous.
14413
14414 2004-05-26  Jim Blandy  <jimb@redhat.com>
14415
14416         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14417
14418 2004-05-24  Randolph Chung  <tausq@debian.org>
14419
14420         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14421         * gdb.asm/pa.inc: New file.
14422
14423 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
14424
14425         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14426
14427 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
14428             Daniel Jacobowitz  <drow@mvista.com>
14429
14430         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14431         GDB prompt.
14432
14433 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14434
14435         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14436         setjmp/longjmp.  Use sigaction instead of signal.
14437
14438 2004-05-19  J. Brobecker  <brobecker@gnat.com>
14439             Michael Snyder  <msnyder@redhat.com>
14440
14441         * gdb.threads/pthread_cond_wait.c: New file.
14442         * gdb.threads/pthread_cond_wait.exp: New testcase.
14443
14444 2004-05-13  Andrew Cagney  <cagney@redhat.com>
14445
14446         * gdb.base/signull.exp, gdb.base/signull.c: New files.
14447         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14448
14449 2004-05-11  Andrew Cagney  <cagney@redhat.com>
14450
14451         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
14452         fixed but revealed gdb/1639.
14453
14454 2004-05-10  Andrew Cagney  <cagney@redhat.com>
14455
14456         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14457         func1" and "next to 2nd alarm", kernel bug avoided.
14458
14459 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
14460
14461         PR external/1568
14462         * gdb.base/bigcore.exp: Check the size of the dumped core file.
14463         XFAIL if it is smaller than bytes_allocated.
14464         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14465         (main): Make chunks_allocated unsigned.  Correct comment.
14466
14467 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
14468
14469         * gdb.arch/powerpc-aix-prologue.c: New file.
14470         * gdb.arch/powerpc-aix-prologue.exp: New file.
14471
14472 2004-05-07  Jim Blandy  <jimb@redhat.com>
14473
14474         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14475         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14476
14477 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
14478
14479         * gdb.base/sep.exp: No longer setup_kfail when the program was
14480         built with dwarf2.
14481
14482 2004-05-05  Jim Ingham  <jingham@apple.com>
14483
14484         * gdb.base/pending.exp: Make sure pending breakpoints
14485         preserve the ignore count.
14486
14487 2004-04-27  Jerome Guitton  <guitton@gnat.com>
14488
14489         * i386-prologue.exp: Add testcase for jump instruction as first
14490         instruction of the real code.
14491         * i386-prologue.c (jump_at_beginning): New function.
14492
14493 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14494
14495         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14496         x86_64-*-*.
14497
14498 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
14499
14500         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14501         i*86-*-*.
14502
14503 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
14504
14505         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14506         expression that checks the return type.
14507
14508 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14509
14510         * gdb.base/call-sc.exp: New test of scalar call/return values.
14511         * gdb.base/call-sc.c: Ditto.
14512
14513 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14514
14515         * gdb.threads/manythreads.c: Reduce thread stack size.
14516
14517 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
14518
14519         * gdb.threads/manythreads.c: Add copyright notice.
14520
14521 2004-04-23  Andrew Cagney  <cagney@redhat.com>
14522
14523         * gdb.base/siginfo.exp: Better handle step out of signal.
14524         * gdb.base/sigstep.exp: Ditto.
14525
14526 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
14527             Daniel Jacobowitz  <drow@mvista.com>
14528
14529         * gdb.threads/manythreads.c: New testcase.
14530         * gdb.threads/manythreads.exp: Ditto.
14531
14532 2004-04-22  Jim Blandy  <jimb@redhat.com>
14533
14534         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14535         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14536
14537 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
14538
14539         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14540
14541 2004-04-21  Andrew Cagney  <cagney@redhat.com>
14542
14543         * gdb.base/sigstep.c: New file.
14544         * gdb.base/sigstep.exp: New file.
14545
14546 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
14547
14548         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14549         call to observer_notify_normal_stop.
14550
14551 2004-04-15  Andrew Cagney  <cagney@redhat.com>
14552
14553         * gdb.base/siginfo.c: New file.
14554         * gdb.base/siginfo.exp: New file.
14555
14556 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14557
14558         * gdb.base/sep.exp: Fix typo in comment.
14559
14560 2004-04-12  J. Brobecker  <brobecker@gnat.com>
14561
14562         * gdb.base/sep.c: New file.
14563         * gdb.base/sep-proc.c: New file.
14564         * gdb.base/sep.exp: New testcase.
14565
14566 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
14567
14568         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14569         support.
14570
14571 2004-04-05  Andrew Cagney  <cagney@redhat.com>
14572
14573         * gdb.base/sigaltstack.c: New file.
14574         * gdb.base/sigaltstack.exp: New file.
14575
14576 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
14577
14578         * gdb.base/foll-fork.exp: Update the expected output for
14579         "help set follow-fork-mode", to match a change that was made
14580         to the help of this variable on 2004-01-13.
14581
14582 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14583
14584         * lib/ada.exp: Add copyright notice.
14585         * bar.ads: Likewise.
14586         * bar.adb: Likewise.
14587         * null_record.adb: Likewise.
14588         * null_record.exp: Likewise.
14589         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14590
14591 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14592
14593         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14594         * configure: Regenerate.
14595
14596 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
14597
14598         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14599         to build the application. Remove the message printed when in
14600         verbose mode, redundant with the UNSUPPORTED message above.
14601
14602 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14603
14604         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14605         * gdb.ada (null_record.exp): New testcase.
14606
14607 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14608
14609         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14610
14611 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14612
14613         * gdb.ada: New subdirectory.
14614         * gdb.ada/Makefile.in: New file.
14615         * gdb.ada/gnat_ada.gpr.in: New file.
14616
14617 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
14618
14619         * lib/ada.exp: New file.
14620
14621 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
14622
14623         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14624         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14625
14626 2004-03-22  Andrew Cagney  <cagney@redhat.com>
14627
14628         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14629         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14630         Problem identified by Ulrich Weigand.
14631
14632 2004-03-17  David Carlton  <carlton@kealia.com>
14633
14634         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14635         PR c++/826.
14636
14637 2004-03-16  Roland McGrath  <roland@redhat.com>
14638
14639         * gdb.base/auxv.exp: New file.
14640         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14641
14642 2004-03-12  David Carlton  <carlton@kealia.com>
14643
14644         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
14645         * gdb.cp/pr-1553.cc: Ditto.
14646         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14647         pass branch.
14648
14649 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
14650
14651         * gdb.cp/templates.exp: Accept more template types.
14652
14653 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14654
14655         From Corinna Vinschen with modifications.
14656         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14657         local variable obj_with_enum.
14658         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14659         results with obj_with_enum.
14660
14661 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14662
14663         * gdb.cp/classes.cc: New file, copied from misc.cc.
14664         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14665
14666 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
14667
14668         * gdb.cp/misc.cc: Add copyright notice.
14669
14670 2004-03-05  David Carlton  <carlton@kealia.com>
14671
14672         * gdb.cp/rtti.exp: Add 'print *obj3' test.
14673         * gdb.cp/rtti.h: Update copyright.
14674         (namespace n2::n3): New.
14675         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14676         (n2::n3::func3): New.
14677         (main): Call n2::n3::func3.
14678         * gdb.cp/rtti2.cc: Update copyright.
14679         (n2::create3): New.
14680
14681 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
14682
14683         * gdb.asm/openbsd.inc: Fix typo.
14684
14685 2004-03-03  Fred Fish  <fnf@redhat.com>
14686
14687         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14688         "val" instead of unused "size".  Update copyright year.
14689
14690 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14691
14692         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
14693         to use unsigned char.
14694         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14695         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14696
14697 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
14698
14699         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14700         line of output.
14701
14702 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14703
14704         * gdb.base/relocate.c (dummy): Initialize.
14705
14706 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
14707
14708         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
14709         a breakpoint at exit.
14710
14711 2004-02-27  Fred Fish  <fnf@redhat.com>
14712
14713         * gdb.base/chng-syms.exp: Add expect condition to match failing
14714         case that isn't a timeout.
14715
14716 2004-02-27  Andrew Cagney  <cagney@redhat.com>
14717
14718         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14719         support.
14720
14721 2004-02-26  Fred Fish  <fnf@redhat.com>
14722
14723         * gdb.arch/gdb1431.c: Remove.
14724         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14725         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14726         of "until" incorrectly.
14727
14728 2004-02-26  J. Brobecker  <brobecker@gnat.com>
14729
14730         * gdb.cp/class2.cc (empty): New class.
14731         (refer): New function.
14732         (main): Declare an object of type empty and use it.
14733         * gdb.cp/class2.exp: Print the value of an object of type empty.
14734
14735 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
14736
14737         * gdb.base/langs.exp: Update query string to match the
14738         new nquery format used for pending breakpoints.
14739
14740 2004-02-26  Andrew Cagney  <cagney@redhat.com>
14741
14742         Fix PR i18n/1570.
14743         * gdb.base/charset.c: Update copyright notice.
14744         (main, init_string): Remove the escape character '\e' tests.
14745         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14746         * gdb.base/charset.exp (valid_host_charset): Ditto.
14747         * gdb.base/setvar.exp: Ditto.
14748
14749 2004-02-24  Andrew Cagney  <cagney@redhat.com>
14750
14751         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14752         mmapped data in core file" PASS and FAIL messages consistent.
14753
14754         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14755         setting a breakpoint.  Work around PR java/1565.
14756
14757 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
14758
14759         * lib/gdb.exp (gdb_breakpoint): Update query string to match
14760         new nquery format.
14761         * gdb.base/pending.exp: Ditto.
14762
14763 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
14764
14765         * configure.in: Run stabs tests on *BSD.
14766         * configure: Regenerated.
14767
14768 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
14769
14770         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14771
14772 2004-02-20  Fred Fish  <fnf@redhat.com>
14773
14774         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14775         blank in test for "returns short", for consistency with other
14776         "returns xxx" tests.  Update copyright year.
14777
14778 2004-02-19  Fred Fish  <fnf@redhat.com>
14779
14780         New testcase for PR breakpoint/1558.
14781         * gdb.arch/gdb1558.exp: New file.
14782         * gdb.arch/gdb1558.c: New file.
14783
14784 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
14785
14786         * gdb.base/nodebug.exp: Fix typo.
14787
14788 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14789
14790         Committed by Jim Blandy  <jimb@redhat.com>.
14791
14792         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14793
14794         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14795
14796         * gdb.base/float.exp: Support s390*-*-* targets.
14797
14798 2004-02-17  Adam Fedor  <fedor@gnu.org>
14799
14800         * gdb.base/gdb1555.exp: New file.
14801         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14802
14803 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
14804
14805         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14806
14807 2004-02-16  Fred Fish  <fnf@redhat.com>
14808
14809         * gdb.arch/gdb1291.c: Remove
14810         * gdb.arch/gdb1291.s: New test input file.
14811         * gdb.arch/gdb1291.exp: Expand test to check case that should not
14812         fail.  Test for correct result, known incorrect result, other
14813         failures and timeouts.
14814
14815 2004-02-16  Andrew Cagney  <cagney@redhat.com>
14816
14817         * gdb.base/bigcore.exp: New file.
14818         * gdb.base/bigcore.c: New file.
14819
14820 2004-02-13  Andrew Cagney  <cagney@redhat.com>
14821
14822         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14823         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14824         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14825         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14826         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14827         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14828         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14829         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14830         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14831         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14832
14833 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
14834
14835         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14836         executed is an alloc instruction.
14837
14838 2004-02-11  David Carlton  <carlton@kealia.com>
14839
14840         * gdb.cp/breakpoint.exp: New.
14841         * gdb.cp/breakpoint.cc: New.
14842
14843 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
14844
14845         Partial fix for PR gdb/1543.
14846         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14847         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14848         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14849         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14850         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14851         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14852         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14853         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14854         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14855         to bug-gdb@prep.ai.mit.edu .
14856         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14857         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14858         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14859         Likewise.
14860
14861 2004-02-10  Andrew Cagney  <cagney@redhat.com>
14862
14863         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14864         using gdb_internal_error_resync.
14865
14866 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
14867
14868         * gdb.threads/thread-specific.exp: Stop early if no threads are
14869         found.
14870
14871 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
14872
14873         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14874
14875 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
14876
14877         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14878         breakpoints.
14879
14880 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
14881
14882         * config/sim.exp (gdb_load): Handle $arg == "".
14883         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14884         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14885
14886 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
14887
14888         * gdb.base/maint.exp: Update test to reflect
14889          obstack changes.
14890
14891 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
14892
14893         * gdb.base/pendshr.c (pendfunc): New function that calls
14894         pendfunc1.
14895         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14896
14897 2004-02-04  Fred Fish  <fnf@redhat.com>
14898
14899         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14900         function symbols and update copyright years.
14901         * gdb.arch/gdb1291.c: Ditto.
14902
14903 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14904
14905         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14906
14907 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14908
14909         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14910
14911 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
14912
14913         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14914
14915 2004-02-02  Fred Fish  <fnf@redhat.com>
14916
14917         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14918         remote targets.  Update copyright years.
14919
14920 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
14921
14922         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14923         support.
14924         * gdb.base/langs.exp: Fix test which attempts to create
14925         breakpoint on non-existent function to handle new pending
14926         support.
14927         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14928         a breakpoint.
14929         * gdb.base/pending.exp: New test.
14930         * gdb.base/pending.c: New file.
14931         * gdb.base/pendshr.c: Ditto.
14932
14933 2004-02-02  David Carlton  <carlton@kealia.com>
14934
14935         * gdb.cp/overload.exp: Add overloadNamespace tests.
14936         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14937         (overloadNamespace, XXX): New.
14938         (main): Call XXX::marker2.
14939
14940 2004-02-01  Fred Fish  <fnf@redhat.com>
14941
14942         * gdb.base/dump.exp: Use runto_main instead of "runto main".
14943         * gdb.base/finish.exp: Ditto.
14944         * gdb.base/gcore.exp: Ditto.
14945         * gdb.base/huge.exp: Ditto.
14946         * gdb.base/info-proc.exp: Ditto.
14947         * gdb.base/return2.exp: Ditto.
14948         * gdb.threads/gcore-thread.exp: Ditto.
14949
14950 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14951
14952         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14953
14954 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14955
14956         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14957         that opening the file succeeds on OpenBSD.
14958
14959 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14960
14961         * gdb.threads/thread-specific.c: New file.
14962         * gdb.threads/threads-specific.exp: New test script.
14963         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14964         to expect_out.
14965
14966 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
14967
14968         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
14969         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14970         only on the "print_small_structs from print_long_arg_list" test.
14971
14972 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
14973
14974         * gdb.base/completion.exp: Kill a stray backslash.
14975
14976         From Jim Ingham <jingham@apple.com>:
14977         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14978         agrees with the result from sending a tab.
14979
14980 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
14981
14982         * gdb.base/chng-syms.exp: Remove stray newline.
14983
14984 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
14985
14986         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14987         *-*-openbsd*.
14988         * gdb.asm/openbsd.inc: New file.
14989
14990 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
14991
14992         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
14993         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14994         *-*solaris2*.  Remove commented out default settings for
14995         asm-flags.  Replace gdb_compile with target_link.
14996
14997 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
14998
14999         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
15000         for all tests.  Remove old hp-ux and cygnus xfail cases.
15001
15002 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
15003
15004         * gdb.base/chng-syms.exp: New file.
15005         * gdb.base/chng-syms.c: New file.
15006
15007 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
15008
15009         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
15010         Provide arms for current output in all my configurations.
15011
15012 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
15013
15014         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15015         * lib/compiler.cc: Likewise.
15016         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15017         get the right preprocessor.  Eval the output directly.  Remove
15018         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
15019         hp_f77_compiler and hp_f90_compiler completely.
15020         (gdb_preprocess): Delete.
15021         (get_compiler): Delete.
15022
15023 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
15024
15025         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15026         <string.h>.
15027
15028 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
15029
15030         * gdb.mi/mi-stack.exp: Update copyright.
15031
15032 2004-01-23  David Carlton  <carlton@kealia.com>
15033
15034         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
15035         test for cp_lookup_transparent_type.
15036         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
15037         call them.
15038
15039 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
15040
15041         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
15042         after -var-update.
15043
15044 2004-01-23  David Carlton  <carlton@kealia.com>
15045
15046         * gdb.cp/namespace.cc (C::ensureRefs): New.
15047         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15048
15049 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
15050
15051         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15052         case "-stack-list-locals 2".
15053         * gdb.mi/mi-var-child.exp: Test for case
15054         "-var-list-children --all-values NAME".
15055
15056 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
15057
15058         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15059
15060 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
15061
15062         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15063         used with gdb_test_multiple.
15064
15065         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15066         read at address 0.  This fixes PR testsuite/1504.
15067
15068 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
15069
15070         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15071         Remove downloading, guessing the host executable, the calls to
15072         gdb_file_cmd and gdb_target_cmd, and "load" support.
15073         (infer_host_exec): New function broken out from gdb_load.
15074         (gdb_load): New wrapper for gdbserver_gdb_load.
15075         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15076         gdb_target_cmd.  Use -target-select.
15077         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15078         Download binaries to the host.  Clear last_mi_remote_file when
15079         we load a new binary.
15080         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
15081         call gdbserver_gdb_load and mi_gdb_target_cmd.
15082
15083 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
15084
15085         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15086         type patterns.
15087
15088 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
15089
15090         * gdb.cp/templates.exp: Fix typo in test name of
15091         "print Foo<volatile char*>::foo".
15092
15093 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
15094
15095         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15096
15097 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
15098
15099         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15100         (clean mostlyclean): Remove empty rm.
15101
15102 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
15103
15104         * gdb.base/setvar.exp: Add copyright years.
15105
15106 2004-01-14  David Carlton  <carlton@bactrian.org>
15107
15108         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
15109         PR c++/1511 and update coment.
15110         * gdb.cp/templates.exp: Update patterns to match current output.
15111         If changes involve something other than whitespace, KFAIL
15112         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15113
15114 2004-01-14  David Carlton  <carlton@kealia.com>
15115
15116         * gdb.cp/namespace.exp: Add tests involving classes defined within
15117         namespaces.
15118         * gdb.cp/namespace.cc (C::CClass): New.
15119         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15120
15121 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
15122
15123         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15124         what debug info we have. Print a better message if something goes
15125         wrong while producing the separate debug info file.
15126
15127 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
15128
15129         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15130
15131 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
15132
15133         * gdb.base/callfuncs.c: Add copyright notice.
15134
15135 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
15136
15137         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15138         inheritance.  PR gdb/1498, PR gcc/13539.
15139
15140 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
15141
15142          * gdb.threads/gcore-thread.exp: Prefix name of binary with
15143          test specific name.
15144          * gdb.mi/gdb669.exp: Ditto.
15145          * gdb.mi/mi-pthreads.exp: Ditto.
15146          * gdb.mi/mi1-pthreads.exp: Ditto.
15147          * gdb.mi/mi2-pthreads.exp: Ditto.
15148
15149 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
15150
15151         * gdb.cp/member-ptr.cc: Add copyright notice.
15152
15153 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
15154
15155         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
15156         some patterns for recent versions of gcc and hpacc.  Delete
15157         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
15158         Delete tests that access a NULL pointer-to-member-data.  This
15159         script is still disabled for gcc.
15160
15161 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
15162
15163         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15164         escaped correctly.
15165
15166 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
15167
15168         * gdb.base/sepdebug.exp: New file.
15169         * gdb.base/sepdebug.c: New file.
15170         * lib/gdb.exp (separate_debug_filename): New procedure.
15171         (gdb_gnu_strip_debug): New procedure.
15172
15173 2004-01-12  Andrew Cagney  <cagney@redhat.com>
15174
15175         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
15176         * gdb.mi/ChangeLog-1999-2003: New file.
15177
15178 2004-01-12  Andrew Cagney  <cagney@redhat.com>
15179
15180         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
15181         "Renaming a directory to a non-empty directory returns ENOTEMPTY
15182         or EEXIST", treat EBUSY as an XFAIL.
15183
15184 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
15185
15186         * gdb.base/scope.exp: Remove obsolete setup_xfail for
15187         hp_cc_compiler.
15188
15189 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
15190
15191         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15192         decorations.
15193
15194 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
15195
15196         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15197         and "(aCC)" decorations.  Remove obsolete doco about old
15198         test results.
15199
15200 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15201
15202         * gdb.cp/exception.exp: Fix typo in doco.
15203
15204 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
15205
15206         * gdb.base/gdb1476.exp: Fix typo.
15207
15208 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15209
15210         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15211         file.
15212
15213 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
15214
15215         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15216         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15217         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
15218         for recent version of gdb.  Delete second half, which was a copy
15219         of the first half with different build flags.  This test is
15220         still disabled because it is still not ready for production.
15221
15222 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15223
15224         * gdb.cp/exception.cc: Add copyright notice.
15225         * gdb.cp/exception.exp: Add a notice that this file is broken
15226         because of line number changes caused by addition of copyright
15227         notice.
15228
15229 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15230
15231         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15232         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15233
15234 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15235
15236         * gdb.cp/classes.exp: Accept gnu abi 2.
15237         * gdb.cp/derivation.exp: Likewise.
15238         * gdb.cp/overload.exp: Likewise.
15239         * gdb.cp/virtfunc.exp: Likewise.
15240
15241 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
15242
15243         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15244         semicolon after end of function.
15245
15246 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15247
15248         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15249         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
15250         boilerplate code for compiling and running the program under
15251         test.  Add some string method tests.
15252
15253 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15254
15255         * gdb.cp/bs15503.cc: Add copyright notice.
15256         * gdb.cp/bs15503.exp: Adjust line number.
15257
15258 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15259
15260         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15261         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15262
15263 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15264
15265         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15266         hp_cc_compiler.
15267
15268 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15269
15270         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15271         * gdb.cp/ctti.exp: Use the marker instead of "next".
15272         With gcc, run further before bailing.
15273
15274 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15275
15276         * gdb.cp/cttiadd.cc: Add copyright notice.
15277         * gdb.cp/cttiadd1.cc: Likewise.
15278         * gdb.cp/cttiadd2.cc: Likewise.
15279         * gdb.cp/cttiadd3.cc: Likewise.
15280
15281 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15282
15283         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
15284         Use gdb_test, gdb_test_multiple.  Use floating-point values that
15285         have exact representations in IEEE-ish formats.
15286
15287 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15288
15289         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15290         compilers.  Delete duplicate call to get_compiler_info.
15291         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15292         * gdb.base/volatile.exp: Likewise.
15293
15294 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
15295
15296         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15297         memory at address 0.
15298
15299 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
15300
15301         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15302         to test for hp-ux assembler.  Fix copyright years.
15303
15304 2004-01-07  Andrew Cagney  <cagney@redhat.com>
15305
15306         * gdb.base/fileio.c (strerrno): Add "EBUSY".
15307
15308 2004-01-07  Andrew Cagney  <cagney@redhat.com>
15309
15310         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15311         when creating the read-only file.  From analysis by Roland McGrath
15312         and Elena Zannoni.
15313
15314 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15315
15316         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15317
15318 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15319
15320         * gdb.base/cvexpr.c: Be type-safe with function pointers and
15321         data pointers.
15322
15323 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15324
15325         * gdb.cp/m-static.exp: Compile one source file at a time.
15326         Delete unused call to get_compiler_info.
15327
15328 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
15329
15330         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15331         * gdb.base/call-rt-st.exp: Likewise.
15332         * gdb.base/nodebug.exp: Likewise.
15333         * gdb.base/volatile.exp: Likewise.
15334         * gdb.cp/ref-types.exp: Likewise.
15335         * gdb.cp/templates.exp: Likewise.
15336
15337 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
15338
15339         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15340
15341 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
15342
15343         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15344         hppa*-hp-hpux*.
15345
15346 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
15347
15348         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15349         x86_64-*-*.
15350
15351         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15352         sparc64-*-* and sparc*-solaris2*.
15353
15354 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
15355
15356         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15357         return ${tests}" test.  The ${tests} already mentions the
15358         filename.
15359
15360 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15361
15362         * gdb.cp/local.exp: Accept gcc abi 2.
15363
15364 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15365
15366         * gdb.cp/templates.exp: Accept gcc abi 2.
15367
15368 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
15369
15370         * lib/compiler.cc: Remove supports_template_debugging.
15371         * gdb.cp/templates.exp: Do not test supports_template_debugging.
15372
15373 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15374
15375         * gdb.cp/namespace.exp: Accept gcc abi 2.
15376
15377 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15378
15379         * gdb.cp/method.exp: Accept gcc abi 2.
15380
15381 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15382
15383         * gdb.cp/classes.exp: Generate identical results as old version.
15384         * gdb.cp/derivation.exp: Likewise.
15385         * gdb.cp/overload.exp: Likewise.
15386         * gdb.cp/virtfunc.exp: Likewise.
15387
15388 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15389
15390         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15391         mysterious bug with sourceware version of expect.
15392
15393 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15394
15395         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
15396         current versions of gcc, including gcc abi 2.  Remove gratuitous
15397         restart of test program.  Use gdb_test_multiple and gdb_test for
15398         all tests.  Add patterns to xfail missing "const" in "const char *"
15399         and kfail PR gdb/1155.
15400
15401 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
15402
15403         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
15404         current versions of gcc, including gcc abi 2.  Remove gratuitous
15405         restart of test program.  Use gdb_test_multiple and gdb_test for
15406         all tests.  Add patterns to kfail PR gdb/1498.
15407
15408 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15409
15410         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
15411         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15412         and "continue" instead of restarting the target program.  Use
15413         gdb_test_multiple and gdb_test for all tests.
15414
15415 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
15416
15417         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
15418         for *-*-solaris2*.
15419
15420 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
15421
15422         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
15423         current versions of gcc, including gcc abi 2.  Use "breakpoint"
15424         and "continue" instead of restarting the target program several
15425         times.  Use gdb_test_multiple and gdb_test for all tests.
15426
15427 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
15428
15429         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15430         source files.
15431
15432 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15433
15434         * gdb.base/environ.exp: Handle compiling test case from multiple
15435         source files.
15436
15437 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15438
15439         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15440
15441 2003-12-17  Jim Blandy  <jimb@redhat.com>
15442
15443         * gdb.base/freebpcmd.c: Add copyright notice.
15444
15445         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15446
15447 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
15448
15449         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15450
15451 2003-12-13  Jim Blandy  <jimb@redhat.com>
15452
15453         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15454
15455 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
15456
15457         * gdb.asm/frv.inc: New file.
15458         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15459
15460 2003-12-09  Fred Fish  <fnf@redhat.com>
15461
15462         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15463         functions to break1.c and leave prototypes behind.  Add more
15464         "set breakpoint NN here" comments.
15465         * gdb.base/break1.c: New file.
15466
15467         * gdb.base/break.exp: Handle compiling test case from multiple
15468         source files and change source file references as needed.
15469         * gdb.base/completion.exp: Ditto.
15470         * gdb.base/condbreak.exp: Ditto.
15471         * gdb.base/define.exp: Ditto.
15472         * gdb.base/ena-dis-br.exp: Ditto.
15473         * gdb.base/info-proc.exp: Ditto.
15474         * gdb.base/maint.exp: Ditto.
15475         * gdb.base/until.exp: Ditto.
15476
15477         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15478         hardcoded line numbers.
15479         * gdb.base/define.exp: Ditto.
15480         * gdb.base/ena-dis-br.exp: Ditto.
15481         * gdb.base/maint.exp: Ditto.
15482         * gdb.base/until.exp: Ditto.
15483
15484         * gdb.base/completion.exp: Use "break1" for completion tests since
15485         "break" is no longer a unique prefix.
15486
15487 2003-12-06  Andrew Cagney  <cagney@redhat.com>
15488
15489         * gdb.base/structs.exp (test_struct_returns): When applicable, set
15490         "return_value_unimplemented".  When an unimplemented struct return
15491         architecture, report incorrect values as a KFAIL
15492
15493 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15494
15495         * gdb.cp/rtti.exp: Accept new wording of warning from
15496         cp_lookup_rtti_type.
15497
15498 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
15499
15500         Partial fix for PR testsuite/1456.
15501         * gdb.base/scope.exp (test_at_main): Replace references to
15502         gcc_compiled with calls to test_compiler_info.
15503         (test_at_foo): Likewise.
15504         (test_at_bar): Likewise.
15505
15506 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
15507
15508         Partial fix for PR testsuite/1456.
15509         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15510         to test_compiler_info.
15511
15512 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
15513
15514         * gdb.base/so-impl-ld.exp: Update copyright notice.
15515
15516 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
15517
15518         Partial fix for PR testsuite/1456.
15519         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15520         to test_compiler_info.
15521
15522 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15523
15524         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15525         from current versions of gdb.  Clean up regular expressions.
15526         Delete redundant timeout case.
15527
15528 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15529
15530         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15531         from current versions of gdb.  Clean up regular expressions.
15532         Delete redundant timeout case.
15533
15534 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
15535
15536         Partial fix for PR testsuite/1456.
15537         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15538         gcc_compiled with call to test_compiler_info.
15539
15540 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
15541
15542         Partial fix for PR testsuite/1456.
15543         * gdb.base/list.exp (test_list_function): Delete unused declaration
15544         of gcc_compiled.
15545
15546 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
15547
15548         Partial fix for PR testsuite/1456.
15549         * gdb.base/complex.exp: Replace reference to gcc_compiled with
15550         call to test_compiler_info.
15551
15552 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
15553
15554         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
15555         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
15556         it to create the appropriate note.inc.
15557         * gdb.asm/asmsrc1.s: Include "note.inc".
15558         * gdb.asm/netbsd.inc: New file.
15559         * gdb.asm/empty.inc: New file.
15560
15561 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
15562
15563         Partial fix for PR testsuite/1456.
15564         * gdb.base/constvars.exp: Replace references to gcc_compiled with
15565         calls to test_compiler_info.
15566
15567 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
15568
15569         Partial fix for PR testsuite/1456.
15570         * gdb.base/volatile.exp: Replace references to gcc_compiled with
15571         calls to test_compiler_info.
15572
15573 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
15574
15575         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15576         pattern for the KFAILs.
15577
15578 2003-11-25  Adam Fedor  <fedor@gnu.org>
15579
15580         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15581         * gdb.objc/objcdecode.m: New file.
15582
15583 2003-11-25  Adam Fedor  <fedor@gnu.org>
15584
15585         * gdb.objc/nondebug.exp: Test for PR objc/1236.
15586         * gdb.objc/nondebug.m: New file.
15587
15588 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
15589
15590         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15591         NetBSD as it does on FreeBSD.  Modelled on a similar change by
15592         Mark Kettenis on 2003-05-30.
15593         (link-flags): Set to "--entry _start" regardless of target.
15594         Special linker flags are to be appended to $link-flags.
15595         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15596
15597 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15598
15599         * gdb.cp/method.exp: Accept output of new demangler.
15600
15601 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15602
15603         * gdb/class2.exp: New file.
15604         * gdb/class2.cc: New file.
15605
15606 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
15607
15608         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15609         of new demangler.
15610
15611 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15612
15613         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15614         of gdb_test "run".
15615
15616 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
15617
15618         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
15619         "continue" into "run".
15620
15621 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15622
15623         Partial fix for PR testsuite/1456.
15624         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15625         call to test_compiler_info.
15626         * gdb.cp/ctti.exp: Likewise.
15627         * gdb.cp/derivation.exp: Likewise.
15628         * gdb.cp/member-ptr.exp: Likewise.
15629         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15630         reference to gcc_compiled.
15631
15632 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
15633
15634         Fix PR testsuite/1463.
15635         * gdb.base/structs.exp (start_structs_test): Call
15636         get_debug_format before using the debug format.
15637
15638 2003-11-22  Andrew Cagney  <cagney@redhat.com>
15639
15640         * lib/gdb.exp (gdb_test_multiple): Add simple example.
15641         * gdb.base/structs.exp: Use gdb_test_multiple.
15642
15643 2003-11-20  Andrew Cagney  <cagney@redhat.com>
15644
15645         * gdb.base/structs.exp: Handle and recover from internal errors.
15646         Replace "foo${n}" with "foo<n>" in test messages.
15647
15648         * gdb.base/structs.exp: Update copyright.  Rewrite.
15649         * gdb.base/structs.c: Update copyright.  Rewrite.
15650
15651         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15652         resync count exceeded.
15653
15654         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15655         from the internal error.
15656         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15657         Original from Jim Blandy.
15658         (gdb_test_multiple): Use gdb_internal_error_resync.
15659
15660 2003-11-19  Andrew Cagney  <cagney@redhat.com>
15661
15662         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15663         KFAIL.
15664
15665 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
15666
15667         New testcase for PR backtrace/1435.
15668         * gdb.arch/i386-unwind.exp: New file.
15669         * gdb.arch/i386-unwind.c: New file.
15670
15671 2003-11-17  Andrew Cagney  <cagney@redhat.com>
15672
15673         * lib/gdb.exp (compiler_info): New global.
15674         (test_compiler_info): New function.
15675         (get_compiler_info): Set compiler_info.
15676         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
15677         "compiler_info" to gcc-<major>-<minor>.
15678
15679 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
15680
15681         * gdb.trace/configure: Remove.
15682
15683 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
15684
15685         * gdb.base/break.c: Add comments to aid finding line numbers for
15686         breakpoints.
15687         * gdb.base/break.exp: Remove all references to explicit line
15688         numbers.
15689
15690 2003-11-11  Nick Clifton  <nickc@redhat.com>
15691
15692         * gdb.base/shreloc.exp: Do not run for targets which do not
15693         support shared objects.
15694
15695 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
15696
15697         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15698         Don't run tests if nofileio flag is given.
15699
15700 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
15701
15702         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15703         as well as 'Watchpoint'.
15704
15705 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15706
15707         Reported by Jim Ingham <jingham@apple.com>:
15708         * gdb.base/annota1.exp: Match at least one occurrence of the
15709         signal handler annotation.
15710
15711 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
15712
15713         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15714         as well as 'Watchpoint'.
15715
15716 2003-11-05  Michael Chastain  <mec@shout.net>
15717
15718         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15719
15720 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
15721
15722         * gdb.arch/gdb1291.c: New test file.
15723         * gdb.arch/gdb1291.exp: New test script.
15724         * gdb.arch/gdb1431.c: New test file.
15725         * gdb.arch/gdb1431.exp: New test script.
15726
15727 2003-10-22  Michael Chastain  <mec@shout.net>
15728
15729         * gdb.mi/pthreads.c: Add copyright notice.
15730
15731 2003-10-22  Michael Chastain  <mec@shout.net>
15732
15733         * gdb.threads/pthreads.c: Add copyright notice.
15734
15735 2003-10-20  Michael Chastain  <mec@shout.net>
15736
15737         * gdb.base/gdb1056.exp: New test script.
15738
15739 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15740
15741         * gdb.threads/killed.exp: Use gdb_run_cmd.
15742
15743 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
15744
15745         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15746         create a core file.
15747         * gdb.threads/gcore-thread.exp: Likewise.
15748
15749 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
15750
15751         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15752         type, based on char type.
15753         (struct bit_flags_short_t): New bitfield type, based on short type.
15754         (init_bit_flags_char): New fuction.
15755         (init_bit_flags_short): Ditto.
15756         (print_bit_flags_char): Ditto.
15757         (print_bit_flags_short): Ditto.
15758         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15759
15760 2003-10-11  Michael Chastain  <mec@shout.net>
15761
15762         * gdb.base/call-rt-st.exp: Update copyright year.
15763
15764 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
15765
15766         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15767         * gdb.disasm/sh3.s: Ditto.
15768
15769 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
15770
15771         * gdb.threads/switch-threads.exp: New test.
15772         * gdb.threads/switch-threads.c: New source file.
15773
15774 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
15775
15776         * gdb.base/ending-run.exp: Add sh specific case.
15777
15778 2003-10-06  Andrew Cagney  <cagney@redhat.com>
15779
15780         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15781         * gdb.disasm/mn10200.exp: Delete obsolete file.
15782
15783 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
15784
15785         * ChangeLog: Correct an entry command.exp -> commands.exp.
15786         * gdb.base/commands.exp (bp_deleted_in_command_test)
15787         (temporary_breakpoint_commands): Check noargs.
15788
15789 2003-09-25  David Carlton  <carlton@kealia.com>
15790
15791         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
15792         of some print tests, where appropriate.  Add tests for C::D::cd,
15793         E::ce, F::cXfX, G::XgX.
15794         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15795
15796 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
15797
15798         * lib/java.exp (java_init): Import target_alias before using it.
15799
15800 2003-09-25  David Carlton  <carlton@kealia.com>
15801
15802         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15803
15804 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
15805
15806         * gdb.base/selftest.exp: Accomodate more instruction reordering
15807         weirdness.
15808
15809 2003-09-17  Michael Chastain  <mec@shout.net>
15810
15811         * gdb.cp/gdb1355.exp: New file.
15812         * gdb.cp/gdb1355.c: New file.
15813
15814 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
15815
15816         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15817         * gdb.asm/sh.inc: New file.
15818
15819 2003-09-11  David Carlton  <carlton@kealia.com>
15820
15821         * gdb.cp/namespace.exp: Add tests for namespace types.
15822         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15823         (test_namespace): New.
15824
15825 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
15826
15827         * gdb.base/relocate.exp: Handle new gdb output at startup.
15828         * gdb.stabs/weird.exp: Ditto.
15829
15830 2003-09-08  Michael Chastain  <mec@shout.net>
15831
15832         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15833
15834 2003-09-07  Michael Chastain  <mec@shout.net>
15835
15836         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15837         'parse error'.
15838
15839 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
15840
15841         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15842
15843 2003-08-30  Michael Chastain  <mec@shout.net>
15844
15845         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15846         * gdb.gdb/observer.exp: Ditto.
15847         * gdb.gdb/xfullpath.exp: Ditto.
15848
15849 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
15850
15851         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15852         *-*-*bsd*.
15853
15854 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
15855
15856         * gdb.base/dump.exp: Skip for ia64.
15857
15858 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
15859
15860         * gdb.asm/asm-source.exp: Add ia64 support.
15861         * gdb.asm/ia64.inc: New file.
15862
15863 2003-08-22  Michael Chastain  <mec@shout.net>
15864
15865         * gdb.cp: New directory.
15866         * gdb.cp/*: Copy from gdb.c++/*.
15867         * gdb.c++/*: Remove.
15868         * Makefile.in: Change gdb.c++ to gdb.cp.
15869         * configure.in:  Ditto.
15870         * configure: Regnerate.
15871
15872 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
15873
15874         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15875         * gdb.arch/i386-prologue.c (gdb1338): Add function.
15876
15877 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15878
15879         * mi-var-display.exp (-var-list-children weird): Accept function
15880         pointers with argument types.
15881         * mi1-var-display.exp (-var-list-children weird): Likewise.
15882         * mi2-var-display.exp (-var-list-children weird): Likewise.
15883
15884 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
15885
15886         * gdb.base/annota3.exp: Add missing newline.
15887
15888 2003-08-06  Michael Chastain  <mec@shout.net>
15889
15890         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15891
15892 2003-08-12  Michael Snyder  <msnyder@redhat.com>
15893
15894         * gdb.base/float.exp: Add test for SH.
15895
15896 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
15897
15898         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15899
15900 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15901
15902        * gdb.base/completion.exp: Remove reduntant completion test
15903        on filename.
15904
15905 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15906
15907         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15908         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15909         gdb.trace/save-trace.exp: Make sure that full pathnames are
15910         escaped correctly.
15911
15912 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
15913
15914         * configure.in: Don't generate config.h from config.hin.
15915         * configure: Regenerate.
15916         * config.hin: Remove file.
15917         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15918         * gdb.threads/pthreads.c: Ditto.
15919
15920 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
15921
15922         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15923         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15924         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15925         Replace ld24 with seth/add3.
15926
15927 2003-08-02  Andrew Cagney  <cagney@redhat.com>
15928
15929         * gdb.base/annota3.exp: New file.
15930         * gdb.base/annota3.c: New file.
15931         * gdb.c++/annota3.exp: New file.
15932         * gdb.c++/annota3.cc: New file.
15933
15934 2003-07-29  Michael Chastain  <mec@shout.net>
15935
15936         * gdb.threads/tls.c (spin): Check errno only if sem_wait
15937         actually failed.
15938         (do_pass): Likewise.
15939         * gdb.threads/tls.exp: Always initialize no_of_threads.
15940
15941 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
15942
15943         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15944         pattern.
15945         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15946         * gdb.threads/tls.exp: Recognize one case of the host library not
15947         supporting TLS.
15948
15949 2003-07-27  Andrew Cagney  <cagney@redhat.com>
15950
15951         * gdb.base/fileio.exp: Use SH when running commands using
15952         remote_exec.
15953
15954 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
15955
15956         From Kei Sakamoto <sakamoto.kei@renesas.com>:
15957         * gdb.base/relocate.c (dummy): New padding array.
15958
15959 2003-07-22  Michael Snyder  <msnyder@redhat.com>
15960
15961         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15962
15963         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15964         patterns to be more general, accepting old and new output.
15965         Some output chars (such as '+') also must be quoted.
15966         Some addresses are displayed numerically instead of
15967         symbolically.
15968
15969 2003-07-23  Michael Snyder  <msnyder@redhat.com>
15970
15971         * gdb.base/return2.exp: Don't test long-long return.
15972
15973         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15974         * gdb.disasm/t01_mov.exp: Ditto.
15975         * gdb.disasm/t02_mova.s: Ditto.
15976         * gdb.disasm/t02_mova.exp: Ditto.
15977         * gdb.disasm/t03_add.s: Ditto.
15978         * gdb.disasm/t03_add.exp: Ditto.
15979         * gdb.disasm/t04_sub.s: Ditto.
15980         * gdb.disasm/t04_sub.exp: Ditto.
15981         * gdb.disasm/t05_cmp.s: Ditto.
15982         * gdb.disasm/t05_cmp.exp: Ditto.
15983         * gdb.disasm/t06_ari2.s: Ditto.
15984         * gdb.disasm/t06_ari2.exp: Ditto.
15985         * gdb.disasm/t07_ari3.s: Ditto.
15986         * gdb.disasm/t07_ari3.exp: Ditto.
15987         * gdb.disasm/t08_or.s: Ditto.
15988         * gdb.disasm/t08_or.exp: Ditto.
15989         * gdb.disasm/t09_xor.s: Ditto.
15990         * gdb.disasm/t09_xor.exp: Ditto.
15991         * gdb.disasm/t10_and.s: Ditto.
15992         * gdb.disasm/t10_and.exp: Ditto.
15993         * gdb.disasm/t11_logs.s: Ditto.
15994         * gdb.disasm/t11_logs.exp: Ditto.
15995         * gdb.disasm/t12_bit.s: Ditto.
15996         * gdb.disasm/t12_bit.exp: Ditto.
15997         * gdb.disasm/t13_otr.s: Ditto.
15998         * gdb.disasm/t13_otr.exp: Ditto.
15999
16000 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
16001
16002         * gdb.threads/tls.exp :Add kfail for 'info address' case.
16003
16004 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
16005
16006         * gdb.threads/tls.c : New file.
16007         * gdb.threads/tls.exp : New file.
16008         * gdb.threads/tls-main.c : New file.
16009         * gdb.threads/tls-shared.c : New file.
16010         * gdb.threads/tls-shared.exp : New file.
16011
16012 2003-07-22  Andreas Schwab  <schwab@suse.de>
16013
16014         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16015
16016 2003-07-20  Andreas Schwab  <schwab@suse.de>
16017
16018         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16019         due to insn reordering.
16020
16021 2003-07-15  Andrew Cagney  <cagney@redhat.com>
16022
16023         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16024
16025 2003-07-15  Michael Chastain  <mec@shout.net>
16026
16027         * gdb.base/gdb1250.exp: New file.
16028         * gdb.base/gdb1250.c: New file.
16029
16030 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
16031
16032         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16033         expansion of size_t to 'unsigned long', not only to 'unsigned'.
16034
16035 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
16036
16037         * gdb.threads/tls.c: New file.
16038         * gdb.threads/tls.exp: New file.
16039         * gdb.threads/tls-main.c: New file.
16040         * gdb.threads/tls-shared.c: New file.
16041         * gdb.threads/tls-shared.exp: New file.
16042
16043 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
16044
16045         * gdb.base/annota1.exp: Make sure that we properly escape the
16046         full path of the source file. Xfail more permissive patterns,
16047         due to a compiler debug info problem.
16048
16049 2003-07-07  Andreas Schwab  <schwab@suse.de>
16050
16051         * gdb.asm/m68k.inc: New file.
16052         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16053
16054         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16055         arguments"): Also match negative number.
16056
16057         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16058
16059 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
16060
16061         * gdb.base/store.c (charest): New typedef.
16062         (add_char): Rename to add_charest, update.
16063         (wack_char): Rename to wack_charest, update types.  Return l + r
16064         to keep r live across the call.
16065         (wack_short, wack_int, wack_long, wack_longest, wack_float)
16066         (wack_double, wack_doublest): Return l + r to keep r live across
16067         the call.
16068         * gdb.base/store.exp: Accomodate store.c changes.
16069
16070 2003-06-30  David Carlton  <carlton@kealia.com>
16071
16072         * gdb.c++/maint.exp (test_invalid_name): New.
16073         (test_first_component): Add tests for invalid names.
16074
16075 2003-06-29  Michael Chastain  <mec@shout.net>
16076
16077         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16078         output of '<VTT for class>' for virtual base classes.
16079
16080 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16081
16082         * gdb.base/completion.exp: Tab-complete "complet" instead of
16083         "compl".
16084         * gdb.base/complex.exp, gdb.base/complex.c: New files.
16085
16086 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16087
16088         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16089         * gdb.base/volatile.exp: Likewise.
16090
16091 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
16092
16093         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16094         gdb/1265.
16095
16096 2003-06-28  Michael Chastain  <mec@shout.net>
16097             Daniel Jacobowitz  <drow@mvista.com>
16098
16099         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16100         initial line count of 'captured_main' from 26 to 32.
16101         (test_with_self): Allow xmalloc call to be interleaved with the
16102         preceding two lines.
16103
16104 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
16105
16106         * gdb.base/bang.exp: New testcase.
16107
16108 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
16109
16110         * gdb.base/langs.exp: Add some tests for the "minimal" language
16111         support.
16112
16113 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
16114
16115         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16116         the testcase.
16117
16118 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
16119
16120         * gdb.base/relocate.exp: Test add-symbol-file with a variable
16121         offset.
16122
16123 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
16124
16125         * gdb.c++/pr-1210.cc: New file.
16126         * gdb.c++/pr-1210.exp: New file.
16127
16128 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
16129
16130         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16131         000-exec-continue.
16132
16133 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
16134
16135         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16136         on *-*-*bsd* instead of *-*-freebsd*.
16137
16138 2003-06-14  Andrew Cagney  <cagney@redhat.com>
16139
16140         * gdb.base/store.exp: Test longest and doublest.  Test all
16141         parameters.  Weaken return statement match.
16142         * gdb.base/store.c: Add longest and doublest - aka long long and
16143         long double functions.  Put all parameters into local register
16144         variables.  Use negative values.
16145
16146 2003-06-14  Andrew Cagney  <cagney@redhat.com>
16147
16148         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
16149         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
16150         exit status.
16151         * gdb.base/fileio.exp: Disable target when nointerrupts and
16152         noinferiorio, instead of limiting it to remote.  Use remote_exec
16153         instead of system.
16154
16155 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
16156
16157         * gdb.base/float.exp: Add ia64 support.
16158
16159 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
16160
16161         * gdb.base/fileio.exp: Run only on remote targets.
16162
16163 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
16164
16165         * gdb.base/fileio.c: New file, testing File-I/O.
16166         * gdb.base/fileio.exp: Ditto.
16167
16168 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
16169
16170         * gdb.base/shreloc.exp: New file, check symbol values obtained from
16171         shared objects after relocation at load time (gdb PR/1132).
16172         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
16173         as above, part of the shared object relocation test.
16174
16175 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
16176
16177         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16178         fully filled history list.
16179         * gdb.base/gdb_history: New file.
16180
16181         * gdb.base/signals.exp: XFAIL "continue to func1" on
16182         i*86-*-freebsd*.
16183
16184         * gdb.base/attach.exp: When trying to attach to a nonexistent
16185         process, make it possible to specify the PID based on the target,
16186         and do so for *-*-freebsd*.
16187
16188 2003-06-02  Richard Henderson  <rth@redhat.com>
16189
16190         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16191
16192 2003-06-02  Richard Henderson  <rth@redhat.com>
16193
16194         * gdb.base/selftest.exp: Next over lim_at_start initialization.
16195
16196 2003-06-02  Richard Henderson  <rth@redhat.com>
16197
16198         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16199
16200 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
16201
16202         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16203         of globalvar.
16204
16205 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
16206
16207         * gdb.asm/asm-source.exp: Check for memory read errors in
16208         disassembler test on *BSD too.
16209
16210 2003-06-01  Richard Henderson  <rth@redhat.com>
16211
16212         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16213         for .frame.
16214         (gdbasm_call): Lose ldgp.
16215         (gdbasm_startup): Add frame information.
16216         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16217
16218 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
16219
16220         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16221         i?86-*-*.
16222
16223 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
16224
16225         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16226         FreeBSD.
16227
16228 2003-05-29  Richard Henderson  <rth@redhat.com>
16229
16230         * gdb.asm/alpha.inc: New file.
16231         * gdb.asm/asm-source.exp: Use it.
16232
16233 2003-05-29  Jim Blandy  <jimb@redhat.com>
16234
16235         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16236         'core.PID'.
16237
16238 2003-05-22  Jim Blandy  <jimb@redhat.com>
16239
16240         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16241         backtrace.
16242
16243 2003-05-20  David Carlton  <carlton@math.stanford.edu>
16244
16245         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16246         this time.
16247
16248 2003-05-19  David Carlton  <carlton@bactrian.org>
16249
16250         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16251         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16252
16253 2003-05-19  David Carlton  <carlton@bactrian.org>
16254
16255         * gdb.c++/namespace.exp: Add namespace scope and anonymous
16256         namespace tests.
16257         Bump copyright date.
16258         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16259         (main): Call C::D::marker2.
16260         * gdb.c++/namespace1.cc: New file.
16261
16262 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
16263
16264         Roland McGrath  <roland@redhat.com>
16265         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16266         there is no manager thread.
16267
16268 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
16269
16270         * gdb.threads/schedlock.exp: Remove assumption that all threads
16271         will run in a particular small time slice.  Also ensure we break
16272         in one of the child threads rather than the main thread.
16273
16274 2003-05-07  Jim Blandy  <jimb@redhat.com>
16275
16276         Add support for assembly source testing on the s390x.
16277         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16278         architecture.
16279         * gdb.asm/s390x.inc: New file.
16280
16281         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16282         succession of 'if' statements.
16283
16284 2003-05-05  Andrew Cagney  <cagney@redhat.com>
16285
16286         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16287
16288 2003-05-05  Andrew Cagney  <cagney@redhat.com>
16289
16290         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16291         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16292
16293 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
16294
16295         * gdb.base/charset.exp: Update based on new behavior of set/show
16296         charset commands.
16297
16298 2003-05-01  Andrew Cagney  <cagney@redhat.com>
16299
16300         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16301         variable do not give memory errors.
16302
16303 2003-04-30  Adam Fedor  <fedor@gnu.org>
16304
16305         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16306         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16307         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16308         gdb.objc/basicclass.m: : New files
16309
16310         * lib/gdb.exp (gdb_compile_objc): New procedure.
16311
16312 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
16313
16314         * gdb.base/signals.exp: Make backtrace tests more specific.
16315
16316 2003-04-23  David Carlton  <carlton@bactrian.org>
16317
16318         * gdb.c++/maint.exp (test_first_component): Add tests for
16319         'operator' in more locations.
16320
16321 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
16322
16323         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16324
16325 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
16326
16327         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16328         func marke' instead. Update test name.
16329
16330 2003-04-15  David Carlton  <carlton@math.stanford.edu>
16331
16332         * gdb.c++/maint.exp: New file.
16333
16334 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
16335
16336         * gdb.threads/schedlock.c: Change type of thread function argument
16337         to long, to avoid warnings on 64-bit platforms.
16338
16339 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
16340
16341         * gdb.base/attach.exp: Add new message from ptrace in case of
16342         attaching to nonexistent process.
16343
16344 2003-04-11  Jim Blandy  <jimb@redhat.com>
16345
16346         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16347         gdb.c++/userdef.cc: Place comments on the lines to which the
16348         marker function might return.
16349         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16350         gdb.c++/userdef.exp: Look for those comments to check that we've
16351         returned to the right place, instead of checking line numbers.
16352
16353 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
16354
16355         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16356         match on sourcefile name, instead of directory name.
16357
16358 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
16359
16360         * gdb.base/completion.exp: Use string_to_regexp to match the
16361         working directory name.
16362
16363 2003-04-09  Jim Blandy  <jimb@redhat.com>
16364
16365         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16366         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16367         after an inferior function call, report the failure, but allow the
16368         test to continue.
16369
16370 2003-04-05  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-05  Stephane Carrez  <stcarrez@nerim.fr>
16376
16377         * gdb.base/break.exp: Revert last patch.
16378
16379 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
16380
16381         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16382         with -DPROTOTYPES.
16383
16384 2003-04-02  Andrew Cagney  <cagney@redhat.com>
16385
16386         * gdb.base/callfuncs.exp: Make "print add" messages unique.
16387         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16388         matching directories by the name breakpoint.
16389         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16390         Make "continue to marker1" consistent.
16391         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16392         message consistent.
16393         * lib/gdb.exp: Put "the program is no longer running", and "the
16394         program exited" in parenthesis.
16395         * lib/mi-support.exp: Ditto.
16396
16397 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
16398
16399         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16400
16401 2003-03-29  Andrew Cagney  <cagney@redhat.com>
16402
16403         * gdb.base/sizeof.c (main): Print the value of '\377'.
16404         * gdb.base/sizeof.exp: Check the sign of '\377'.
16405
16406 2003-03-27  Michael Chastain  <mec@shout.net>
16407
16408         * gdb.base/gdb1090.exp: New file.
16409         * gdb.base/gdb1090.cc: New file.
16410
16411 2003-03-27  J. Brobecker  <brobecker@gnat.com>
16412
16413         * gdb.gdb/observer.exp: New regression test.
16414
16415 2003-03-27  Michael Chastain  <mec@shout.net>
16416
16417         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16418         * gdb.base/ptype.exp: Likewise.
16419
16420 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
16421
16422         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16423
16424 2003-03-26  Michael Chastain  <mec@shout.net>
16425
16426         * gdb.base/ptype.exp: Actually use some typedef'd types.
16427
16428 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
16429
16430         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16431         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16432
16433 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16434
16435         * gdb.base/default.exp: Fix regular expression.
16436
16437 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16438
16439         * gdb.base/args.exp: Fix regular expression.
16440
16441 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16442
16443         * gdb.base/help.exp: Allow Win32 child process.
16444
16445 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16446
16447         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16448         when stepping out of main().
16449
16450 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16451
16452         * gdb.base/default.exp: Check for win32 specific message when calling
16453         "run" without executable.
16454
16455 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16456
16457         * gdb.base/args.exp: Expect .exe in output.
16458
16459 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
16460
16461         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16462         Cygwin native.
16463
16464 2003-03-17  Andrew Cagney  <cagney@redhat.com>
16465
16466         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
16467         vector registes.
16468         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16469         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16470
16471 2003-03-17  David Carlton  <carlton@math.stanford.edu>
16472
16473         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16474         test, for PR breakpoints/38.
16475         Call test_watchpoint_and_breakpoint.
16476         * gdb.base/watchpoint.c (func3): New function.
16477         (main): Call func3.
16478
16479 2003-03-04  David Carlton  <carlton@math.stanford.edu>
16480
16481         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16482         Garply<Garply<char> >:: garply".
16483         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16484         with respect to PR c++/1111; note also PR c++/1113.
16485         (test_template_breakpoints): KFAIL "constructor breakpoint" with
16486         respect to PR c++/1062.
16487         KFAIL "destructor breakpoint" with respect to PR c++/1112.
16488
16489 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16490
16491         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16492         with respect to PR c++/57.
16493         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16494         c++/826.
16495         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16496         respect to PR c++/57.
16497
16498 2003-03-03  David Carlton  <carlton@math.stanford.edu>
16499
16500         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16501         respect to PR c++/33 into FAILs.
16502
16503 2003-03-03  Michael Chastain  <mec@shout.net>
16504
16505         * configure.in: Update copyright years.
16506
16507 2003-03-03  Michael Chastain  <mec@shout.net>
16508
16509         * Makefile.in: Update copyright years.
16510
16511 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16512
16513         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16514         print class instead of struct and/or superfluous protection
16515         specifiers, as long as the resulting output is equivalent to the
16516         source code.
16517         Delete FIXME from end of messages on tests that don't need
16518         fixing.
16519
16520 2003-02-28  David Carlton  <carlton@math.stanford.edu>
16521
16522         * gdb.c++/templates.exp (do_tests): Allow const in the two
16523         Foo<volatile char *>::foo tests.
16524
16525 2003-02-27  Michael Snyder  <msnyder@redhat.com>
16526
16527         * gdb.base/restore.c (main): Return zero, so exit code
16528         will be consistant.
16529
16530 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16531
16532         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16533         char *>::foo" test with respect to PR c++/33.  Create a new test
16534         which is identical to that one except that it doesn't put the
16535         space between the "char" and the "*"; KFAIL it, too.
16536
16537 2003-02-26  David Carlton  <carlton@math.stanford.edu>
16538
16539         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16540         template types into either PASSes or KFAILs (corresponding to PR
16541         c++/57).  Tweak indentation.  Update copyright.
16542
16543 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
16544
16545         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16546
16547 2003-02-13  Michael Chastain  <mec@shout.net>
16548
16549         * gdb.base/exprs.exp: Remove i960 remnants.
16550         * gdb.base/funcargs.exp: Likewise.
16551         * gdb.base/list.exp: Likewise.
16552         * gdb.base/ptype.exp: Likewise.
16553
16554 2003-02-14  David Carlton  <carlton@math.stanford.edu>
16555
16556         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16557         pEe->D::vg()" from XFAIL to KFAIL.
16558
16559 2003-02-13  Jason Molenda  (jmolenda@apple.com)
16560
16561         * gdb.base/maint.exp: Update maint print statistics regexp to include
16562         new entries.
16563
16564 2003-02-13  Michael Chastain  <mec@shout.net>
16565
16566         * gdb.c++/inherit.exp: Remove call to get_debug_format.
16567
16568 2003-02-12  Michael Chastain  <mec@shout.net>
16569
16570         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16571         * gdb.c++/inherit.exp: Likewise.
16572         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16573         * gdb.c++/templates.exp: Likewise.
16574         * gdb.c++/virtfunc.exp: Likewise.
16575
16576 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
16577
16578         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16579         why the code is written that way.
16580
16581 2003-02-05  Michael Chastain  <mec@shout.net>
16582
16583         * gdb.base/dump.exp: Add missing copyright line.
16584
16585 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
16586
16587         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16588         at the beginning so the breakpoint doesn't get set on the loop.
16589
16590 2003-02-05  Michael Chastain  <mec@shout.net>
16591
16592         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16593         output for configurations with gcc 2.95.3.
16594
16595 2003-02-05  Keith Seitz  <keiths@redhat.com>
16596             Andrew Cagney  <ac131313@redhat.com>
16597
16598         * gdb.mi/mi-cli.exp: New file.
16599
16600 2003-02-04  Michael Chastain  <mec@shout.net>
16601
16602         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16603         Call perror and then continue.
16604
16605 2003-02-03  Michael Chastain  <mec@shout.net>
16606
16607         * gdb.c++/pr-1023.cc: New file.
16608         * gdb.c++/pr-1023.exp: New file.
16609
16610 2003-02-05  Jim Blandy  <jimb@redhat.com>
16611
16612         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16613         it's local to foobar.  Check for it there, and check that it's not
16614         present in main.
16615         * gdb.c++/local.cc (marker2): New function.
16616         (foobar): Call marker1.
16617         (main): Call marker2 instead of marker1.
16618
16619 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
16620
16621         * gdb.disasm/mn10200.exp: Obsolete file.
16622         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16623         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16624         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16625
16626 2003-02-04  David Carlton  <carlton@math.stanford.edu>
16627
16628         * gdb.c++/overload.exp: Test intToChar(1).
16629         * gdb.c++/overload.cc (intToChar): New.
16630         (main): Call intToChar.
16631
16632 2003-02-03  David Carlton  <carlton@math.stanford.edu>
16633
16634         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16635         'might_kfail' arg.
16636         KFAIL some of the continue_to_bp_overloaded calls, according to
16637         PR c++/1025.
16638
16639 2003-02-01  Michael Chastain  <mec@shout.net>
16640
16641         * gdb.base/advance.c (marker1): New marker function.
16642         * gdb.base/advance.exp: When the 'advance' command lands on the
16643         return breakpoint, it can legitimately stop on either the
16644         current line or the next line.  Accommodate both outcomes.
16645         * gdb.base/until.exp: Likewise.
16646
16647 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
16648
16649         2002-11-10 Jason Molenda (jason-cl@molenda.com):
16650         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16651         now a list, not a tuple.
16652         * gdb.mi/mi-var-display.exp: Ditto.
16653         * gdb.mi/gdb792.exp: Ditto.
16654
16655 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
16656
16657         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16658         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16659         stack backtraces.
16660         * gdb.mi/mi-syn-frame.c: Part of same.
16661
16662 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
16663
16664         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16665         gdb.mi/mi1-pthreads.exp: Return instead of calling
16666         gdb_suppress_entire_file.
16667
16668 2003-02-01  Mark Salter  <msalter@redhat.com>
16669
16670         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16671
16672 2003-01-31  Mark Salter  <msalter@redhat.com>
16673
16674         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16675         Support empty arg.
16676
16677 2003-01-30  Michael Chastain  <mec@shout.net>
16678
16679         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16680         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
16681         has been fixed in gdb/readline on 2003-01-09.
16682
16683 2003-01-29  Michael Snyder  <msnyder@redhat.com>
16684
16685         * gdb.base/maint.exp: Allow for leading underscore in symbol.
16686         * gdb.base/display.exp: Allow for leading underscore in symbol.
16687         * gdb.base/args.exp: Skip if target does not support args passing.
16688
16689 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
16690
16691         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16692         gdb_test.  Accept a list of expect arguments as the third
16693         parameter.
16694         (gdb_test): Use it.
16695
16696 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
16697
16698         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16699         allow for different test tree configurations.  Update some
16700         tescases accordingly.
16701         * gdb.arch/altivec-regs.exp: Ditto.
16702         * gdb.asm/asm-source.exp: Ditto.
16703         * gdb.base/advance.exp: Ditto.
16704         * gdb.base/display.exp: Ditto.
16705         * gdb.base/long_long.exp: Ditto.
16706         * gdb.base/mips_pro.exp: Ditto.
16707         * gdb.base/overlays.exp: Ditto.
16708         * gdb.base/relocate.exp: Ditto.
16709         * gdb.base/setshow.exp: Ditto.
16710         * gdb.base/step-line.exp: Ditto.
16711         * gdb.base/step-test.exp: Ditto.
16712         * gdb.base/until.exp: Ditto.
16713         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16714
16715 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16716
16717         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16718         corresponding to PR c++/945.
16719         Update copyright.
16720
16721 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16722
16723         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16724         corresponding to PR c++/68.
16725
16726 2003-01-17  David Carlton  <carlton@math.stanford.edu>
16727
16728         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16729         (test_paddr_hairy_functions): Call print_addr_2_kfail for
16730         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
16731
16732 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16733
16734         * gdb.base/break.exp: Fix change of default location, because of
16735         removal of until tests.
16736         * gdb.base/help.exp: Update test for new 'until' help message.
16737         Add test for help on 'advance'.
16738         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16739
16740 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
16741
16742         * gdb.base/default.exp: Adapt "info float" test for recent changes
16743         to that command.  Add test for "info vector".
16744         * gdb.base/float.exp: New file.  Add test for "info float" that
16745         resembles the old test in gdb.base/default.exp.
16746
16747 2003-01-15  David Carlton  <carlton@math.stanford.edu>
16748
16749         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16750
16751 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
16752
16753         * gdb.base/break.exp: Move the tests of until command from here...
16754         * gdb.base/until.exp: ... to here. New file. Add other tests.
16755         * gdb.base/advance.c: New file.
16756         * gdb.base/advance.exp: New file.
16757
16758 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
16759
16760         * gdb.base/args.c: New file.
16761         * gdb.base/args.exp: New file.
16762
16763 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16764
16765         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16766
16767 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16768
16769         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16770
16771 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
16772
16773         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
16774         dates.
16775
16776 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16777
16778         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16779
16780 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16781
16782         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16783         (ptype &*"foo").
16784         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16785
16786 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16787
16788         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16789         * gdb.mi/mi1-console.exp: Likewise.
16790
16791 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16792
16793         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16794         * gdb.mi/mi1-console.exp: Likewise.
16795
16796 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
16797
16798         * gdb.c++/overload.exp: Remove some fixed XFAILs.
16799
16800 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16801
16802         * gdb.base/detach.exp: New test.
16803
16804 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
16805
16806         * Makefile.in (ALL_SUBDIRS): New variable.
16807         (subdirs, clean, distclean): Use it.
16808         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
16809         regenerating Makefile, since it is generated from the top level.
16810         * gdb.asm/Makefile.in: Likewise.
16811         * gdb.base/Makefile.in: Likewise.
16812         * gdb.c++/Makefile.in: Likewise.
16813         * gdb.disasm/Makefile.in: Likewise.
16814         * gdb.java/Makefile.in: Likewise.
16815         * gdb.mi/Makefile.in: Likewise.
16816         * gdb.threads/Makefile.in: Likewise.
16817         * gdb.trace/Makefile.in: Likewise.
16818
16819 2003-01-09  David Carlton  <carlton@math.stanford.edu>
16820
16821         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16822         Add copyright year 2003.
16823
16824 2003-01-06  Michael Chastain  <mec@shout.net>
16825
16826         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16827         When selecting a thread, 'line' and 'file' are optional.
16828         * gdb.mi/mi1-pthreads.exp: Likewise.
16829
16830 2003-01-06  Andreas Schwab  <schwab@suse.de>
16831
16832         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16833         failures.
16834
16835 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16836
16837         Fix PR gdb/844
16838         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16839         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16840
16841         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
16842         instead of calling gdb_suppress_entire_file.
16843         * gdb.threads/print-threads.exp: Likewise.
16844         * gdb.threads/schedlock.exp: Likewise.
16845
16846         * gdb.threads/killed.exp: Return instead of calling
16847         gdb_suppress_entire_file.
16848         * gdb.threads/linux-dp.exp: Likewise.
16849         * gdb.threads/pthreads.exp: Likewise.
16850
16851 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16852
16853         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16854         stabs.
16855         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16856         * gdb.base/whatis.exp: Always allow (void) after function names.
16857
16858 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
16859
16860         * gdb.c++/casts.exp: Correct regexp.
16861
16862 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
16863
16864         * configure.in: Call AC_CONFIG_HEADER.  Don't call
16865         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16866         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
16867         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
16868         aforementioned directories in the AC_OUPUT call.
16869         * config.hin: New file.
16870         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16871         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16872         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16873         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16874         pass -I$objdir instead of -I$objdir/$subdir in compilation.
16875         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16876         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16877         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16878         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16879         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16880         gdb.threads/configure.in, gdb.threads/configure,
16881         gdb.threads/config.in, gdb.trace/configure.in,
16882         gdb.trace/configure: Removed.
16883
16884 2003-01-03  Michael Chastain  <mec@shout.net>
16885
16886         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16887         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16888
16889 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
16890
16891         * gdb.base/store.exp: Fix regular expressions.
16892
16893 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
16894
16895         * configure.in: Rewrite.
16896         * configure: Regenerated.
16897
16898 2003-01-03  David Carlton  <carlton@math.stanford.edu>
16899
16900         * gdb.base/psymtab.exp: New file.
16901         * gdb.base/psymtab1.c: Ditto.
16902         * gdb.base/psymtab2.c: Ditto.
16903
16904 2002-12-23  Adam Fedor  <fedor@gnu.org>
16905
16906         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16907
16908 2002-12-23  David Carlton  <carlton@math.stanford.edu>
16909
16910         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16911         and current_directory initialization.
16912
16913 2002-12-22  Jim Blandy  <jimb@redhat.com>
16914
16915         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16916         rather than as part of the output file name.
16917
16918         * gdb.base/attach.exp: There's no need to copy the test program to
16919         /tmp; that was only ever necessary on HP/UX, and this test is
16920         entirely disabled there anyway.
16921
16922 2002-12-21  Jim Blandy  <jimb@redhat.com>
16923
16924         * gdb.c++/psmang.exp: Doc fix.
16925
16926         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16927         test.
16928
16929 2002-12-20  David Carlton  <carlton@math.stanford.edu>
16930
16931         * gdb.c++/annota2.exp: KFAIL annotate-quit.
16932
16933 2002-12-18  Michael Chastain  <mec@shout.net>
16934
16935         * gdb.c++/annota2.exp: Add copyright year 2002.
16936
16937 2002-12-17  David Carlton  <carlton@math.stanford.edu>
16938
16939         * gdb.c++/try_catch.cc: Add marker comments.
16940         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16941         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16942         * gdb.c++/m-static.cc: Ditto.
16943         * gdb.c++/m-static1.cc: Ditto.
16944         * gdb.c++/try_catch.cc: Ditto.
16945
16946 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
16947
16948         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16949         to see whether we are using the new -environment-directory
16950         command which resets via -r or the old version of the command
16951         which may prompt the user.  Part of fix for gdb/741.
16952
16953 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
16954
16955         * gdb.fortran/types.exp: Update obsolete comment.
16956         * gdb.fortran/exprs.exp: Ditto.
16957         * lib/gdb.exp: Delete obsolete code.
16958         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16959         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16960         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16961         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16962         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16963         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16964         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16965         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16966         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16967         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16968         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16969         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16970         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16971         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16972         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16973         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16974         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16975         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16976         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16977         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16978         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16979         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16980         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16981         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16982         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16983         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16984         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16985         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16986         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16987         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16988         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16989         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16990         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16991         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16992         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16993         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16994         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16995
16996 2002-12-11  David Carlton  <carlton@math.stanford.edu>
16997
16998         * gdb.c++/m-data.exp: Add test for members that shadow global
16999         variables: see PR gdb/804.
17000         * gdb.c++/m-data.cc: Ditto.
17001
17002 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
17003
17004         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17005
17006 2002-12-06  David Carlton  <carlton@math.stanford.edu>
17007
17008         * gdb.base/store.c: Don't declare functions static.
17009
17010 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
17011
17012         * gdb.base/store.exp, gdb.base/store.c: New files.
17013
17014 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
17015
17016         * gdb.base/selftest.exp: Update for current gdb.
17017
17018 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
17019
17020         * gdb.base/maint.exp: Only dump symbols from one source file
17021         or objfile.
17022
17023 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
17024
17025         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17026         function call.
17027
17028 2002-11-25  Jim Blandy  <jimb@redhat.com>
17029
17030         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17031         function appearing in error message.
17032
17033 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
17034
17035         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17036
17037 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
17038
17039         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17040         for mi1 and current mi is in correct format.  New mi startup message
17041         should be in mi console format.  This is part of fix for PR gdb/604.
17042
17043 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
17044
17045         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17046         which explicitly prints the zero offset as "+0".
17047
17048 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
17049
17050         * gdb.threads/schedlock.c (args): Make unsigned.
17051
17052 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
17053
17054         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
17055         numbers.  Allow "foo2|selected stack frame".
17056         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17057         * gdb.asm/asmsrc2.s: Likewise.
17058         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
17059         comments.
17060         * gdb.asm/mips.inc: New file.
17061
17062 2002-10-18  Adam Fedor  <fedor@gnu.org>
17063
17064         * gdb.base/default.exp: Update expected output to include 'ObjC'.
17065         * gdb.base/help.exp: Likewise.
17066
17067 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
17068
17069         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17070         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17071
17072 2002-10-02  Jim Blandy  <jimb@redhat.com>
17073
17074         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17075
17076 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
17077
17078         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17079         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17080         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17081         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17082         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17083         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17084         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17085
17086 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
17087
17088         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17089         * mi0-disassemble.exp, mi0-eval.exp: Delete.
17090         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17091         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17092         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17093         * mi0-var-block.exp, mi0-var-child.exp: Delete.
17094         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17095
17096 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
17097
17098         * gdb.base/annota1.exp (info break): Make directory components of
17099         path optional since not all compilers emit this debug information.
17100
17101         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17102         step ends up stepping out of the function instead of stopping on
17103         the epilogue.
17104
17105 2002-09-26  Keith Seitz  <keiths@redhat.com>
17106
17107         * lib/insight-support.exp (gdbtk_start): Figure out where
17108         the insight executable is based on where gdb is. Use this
17109         executable to start insight instead of gdb.
17110
17111 2002-09-25  Andrew Cagney  <cagney@redhat.com>
17112
17113         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17114
17115 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
17116
17117         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17118         test_isolated_complaints.
17119         (test_empty_complaint): New function.
17120         (test_empty_complaints): New function.  Check no output when no
17121         complaints.
17122
17123 2002-09-19  Jim Blandy  <jimb@redhat.com>
17124
17125         * gdb.base/charset.exp, gdb.base/charset.c: New files.
17126
17127 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
17128
17129         * gdb.gdb/complaints.exp: New file.
17130
17131 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
17132
17133         * gdb.base/maint.exp: Check `help maint internal-warning'.
17134
17135 2002-09-18  David Carlton  <carlton@math.stanford.edu>
17136
17137         * gdb.c++/m-static.exp: Remove breakpoints depending on line
17138         numbers, and replace them by a single breakpoint after the
17139         constructors are all finished.
17140         Add test 4.
17141         * gdb.c++/m-static.cc: Add test 4.
17142         * gdb.c++/m-static.h: New file.
17143         * gdb.c++/m-static1.cc: New file.
17144
17145         * gdb.c++/printmethod.exp: New file.
17146         * gdb.c++/printmethod.cc: New file.
17147
17148         * gdb.c++/pr-574.exp: New file.
17149         * gdb.c++/pr-574.cc: New file.
17150
17151 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17152
17153         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17154         embedded targets which never actually exit.
17155
17156 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
17157
17158         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17159         "don't step after run" as unresolved or unsupported, instead of xfail.
17160
17161 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17162
17163         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17164         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17165         Add newline to expected string in "step out of main (status wrapper)"
17166         case.
17167
17168 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
17169
17170         * lib/gdb.exp (rerun_to_main): Allow restarting application.
17171         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17172
17173 2002-09-17  Tom Tromey  <tromey@redhat.com>
17174
17175         * gdb.base/printcmds.exp (test_print_string_constants): Expect
17176         \000, not \0, in double-quoted string.
17177
17178 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
17179
17180         * gdb.base/commands.exp: Don't expect a "Program exited normally"
17181         string after running the commands execution on breakpoint tests.
17182
17183 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
17184
17185         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17186
17187 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
17188
17189         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17190
17191 2002-09-10  Keith Seitz  <keiths@redhat.com>
17192
17193         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17194         runto proc.
17195         (mi_run_to_main): Use mi_runto.
17196         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17197
17198 2002-09-10  Keith Seitz  <keiths@redhat.com>
17199
17200         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17201         regexp for stopping at main. Could have multiple event notifications.
17202         Don't assume that main was declared with no parameters.
17203         (mi_next): Use mi_step_to.
17204         (mi_step): Use mi_next_to.
17205
17206 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
17207
17208         * gdb.base/default.exp: Fix expected string in `info float' test.
17209
17210 2002-09-09  Ben Elliston  <bje@redhat.com>
17211
17212         * config/mips.exp: Update comments.
17213         * config/mips-idt.exp: Likewise.
17214         * config/nind.exp: Likewise.
17215         * config/slite.exp: Likewise.
17216         * config/sparclet.exp: Likewise.
17217         * config/udi.exp: Likewise.
17218         * config/vx.exp: Likewise.
17219         * config/vxworks29k.exp: Likewise.
17220
17221 2002-09-05  Jim Blandy  <jimb@redhat.com>
17222
17223         * gdb.threads/killed.exp: Fix test failure message.
17224
17225 2002-09-04  Keith Seitz  <keiths@redhat.com>
17226
17227         * lib/mi-support.exp: Update copyright.
17228         (mi_gdb_test): Increase the priority of the expected pattern
17229         so that it matches gdb_test.
17230
17231 2002-09-03  Keith Seitz  <keiths@redhat.com>
17232
17233         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17234         Use integer comparison instead of string comparison for testing
17235         whether binary was built.
17236
17237 2002-09-03  Jim Blandy  <jimb@redhat.com>
17238
17239         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17240
17241 2002-08-29  Jim Blandy  <jimb@redhat.com>
17242
17243         * gdb.threads/pthreads.exp: Move the portable thread compilation
17244         code into a function in lib/gdb.exp, and call that from here.
17245         * lib/gdb.exp (gdb_compile_pthreads): New function.
17246
17247 2002-08-29  Keith Seitz  <keiths@redhat.com>
17248
17249         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17250         expect_out so that callers can get at it.
17251
17252 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
17253
17254         * gdb.threads/print-threads.c: New file.
17255         * gdb.threads/print-threads.exp: New file.
17256         * gdb.threads/schedlock.c: New file.
17257         * gdb.threads/schedlock.exp: New file.
17258
17259 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
17260
17261         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17262         not altivec.c.
17263
17264 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
17265
17266         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17267         targets.  The problem should be fixed now.
17268
17269 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
17270
17271         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17272         2002-07-24 change that removes final dots from error messages.
17273
17274 2002-08-13  Tom Tromey  <tromey@redhat.com>
17275
17276         * gdb.base/readline.exp: New file.
17277
17278 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
17279
17280         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17281         supress message.
17282
17283 2002-08-01  Andrew Cagney  <cagney@redhat.com>
17284
17285         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17286         CHILL_FOR_TARGET and CHILL_LIB.
17287         * configure.in (configdirs): Remove gdb.chill.
17288         * configure: Regenerate.
17289         * lib/gdb.exp: Obsolete references to chill.
17290         * gdb.fortran/types.exp: Ditto.
17291         * gdb.fortran/exprs.exp: Ditto.
17292
17293 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
17294
17295         * gdb.base/shlib-call.exp (additional_flags): Conditionally
17296         set Irix-specific compile and link flags.
17297
17298 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
17299
17300         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17301         source files.  The ``-o'' option doesn't work with the ``-E'' option
17302         when using the Irix compiler.
17303
17304 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
17305
17306         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17307         Improve support for reusing an exec file.  Copy exec file
17308         to target, and run gdbserver on the target instead of on the host.
17309
17310 2002-07-18  Jim Blandy  <jimb@redhat.com>
17311
17312         * gdb.base/ending-run.exp: Don't expect to see the program end in
17313         some orderly fashion when we're running on a real stand-alone
17314         board.
17315
17316         * gdb.base/interrupt.exp: Correct logic for skipping tests on
17317         targets that don't support interrupts.
17318
17319 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
17320
17321         * gdb.base/attach.exp: Add patterns to match output from /proc-based
17322         systems.
17323         Move comments in expect statements to inside the actions, so that they
17324         don't get matched against.
17325
17326 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
17327
17328         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17329         function when asleep" test.
17330
17331 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
17332
17333         * gdb.base/page.exp: Rewrite to handle problems with very long
17334         `info set' output.  Update copyright.
17335
17336 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
17337
17338         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17339         gdb.threads-hp.
17340         * gdb.hp/configure: Regenerate.
17341         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17342         * gdb.hp/gdb.threads-hp/configure: Delete file.
17343         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17344
17345 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
17346
17347         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17348         setlocale, bindtextdomain and textdomain.
17349
17350 2002-06-11  Jim Blandy  <jimb@redhat.com>
17351
17352         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17353         preprocessor macro information is present.
17354
17355         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17356         tests.
17357
17358 2002-06-06  Michael Snyder  <msnyder@redhat.com>
17359
17360         * gdb.base/overlays.exp: Record addresses of overlay
17361         functions in TCL variables rather than in GDB variables,
17362         to avoid having GDB convert them to pointers (with loss
17363         of information).
17364
17365         * gdb.base/d10v.ld: Merge in several years worth of
17366         default linker script changes.
17367         * gdb.base/long_long.exp: Add check for sizeof (long double).
17368
17369 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
17370
17371         * gdb.asm/asm-source.exp: Add x86-64 target.
17372         * gdb.asm/x86_64.inc: New.
17373
17374 2002-05-30  Michael Chastain  <mec@shout.net>
17375
17376         From Benjamin Kosnik <bkoz@redhat.com>:
17377         * gdb.c++/m-static.cc: New file.
17378         * gdb.c++/m-static.exp: New file.
17379
17380 2002-05-28  Michael Snyder  <msnyder@redhat.com>
17381
17382         * gdb.base/call-ar-st.exp: Allow for reduced floating point
17383         precision.
17384
17385 2002-05-27  Michael Chastain  <mec@shout.net>
17386
17387         From Benjamin Kosnik <bkoz@redhat.com>:
17388         * gdb.c++/m-data.cc: New file.
17389         * gdb.c++/m-data.exp: New file.
17390
17391 2002-05-27  Michael Chastain  <mec@shout.net>
17392
17393         From Benjamin Kosnik <bkoz@redhat.com>:
17394         * gdb.c++/try_catch.cc: New file.
17395         * gdb.c++/try_catch.exp: New file.
17396
17397 2002-05-27  Michael Chastain  <mec@shout.net>
17398
17399         * gdb.c++/local.exp: Accept more nested types in output.
17400
17401 2002-05-26  Michael Chastain  <mec@shout.net>
17402
17403         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17404
17405 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
17406
17407         * lib/gdb.exp (gdb_wrapper_init): Just because
17408         gdb_wrapper_file exists, this does not mean that the file
17409         should not be rebuilt.  That is what gdb_wrapper_initialized
17410         is for.
17411         (default_gdb_init): Reset gdb_wrapper_initialized.
17412
17413 2002-05-23  Michael Snyder  <msnyder@redhat.com>
17414
17415         * gdb.base/all-bin.exp: Revise previous patch by just reducing
17416         the precision of the floating point test results.
17417         * gdb.base/call-rt-st.exp: Ditto.
17418
17419         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17420         * gdb.base/call-rt-st.exp: Ditto.
17421
17422 2002-05-19  Michael Chastain  <mec@shout.net>
17423
17424         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17425
17426 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
17427
17428         * configure.in (configdirs): Add gdb.arch.
17429         * configure: Regenerate.
17430
17431 2002-05-17  Jim Blandy  <jimb@redhat.com>
17432
17433         * gdb.base/completion.exp: Recognize the more detailed error
17434         messages produced by the macro expander's lexical analyzer.
17435
17436 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17437
17438         * gdb.arch/altivec-abi.c: New file.
17439         * gdb.arch/altivec-abi.exp: New file.
17440         * gdb.arch/altivec-regs.c: New file.
17441         * gdb.arch/altivec-regs.exp: New file.
17442
17443 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
17444
17445         * gdb.base/maint.exp (maint print type): Update for new type
17446         structure.
17447
17448 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
17449
17450         * gdb.arch: New directory.
17451         * gdb.arch/configure.in: New file.
17452         * gdb.arch/configure: New file.
17453         * gdb.arch/Makefile.in: New file.
17454
17455 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
17456
17457         * gdb.asm/asm-source.exp: Add v850 as supported target.
17458         * gdb.asm/v850.inc: New file.
17459
17460 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
17461
17462         * gdb.c++/annota2.exp (annotate-quit): Add comment.
17463
17464 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
17465
17466         * gdb.base/break.exp: Check 'break "marker2"'.
17467
17468 2002-05-10  Michael Snyder  <msnyder@redhat.com>
17469
17470         * gdb.base/long_long.exp: Fix typo.
17471
17472 2002-05-10  Jim Blandy  <jimb@redhat.com>
17473
17474         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
17475         a bug.
17476
17477         * gdb.base/printcmds.exp (test_integer_literals_rejected):
17478         Recognize more detailed error message produced by the macro
17479         expander's lexical analyzer.
17480         * lib/gdb.exp (test_print_reject): Same.
17481
17482 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
17483
17484         * gdb.c++/method.exp: Fix typo.
17485
17486 2002-05-08  Michael Snyder  <msnyder@redhat.com>
17487
17488         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17489         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
17490         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
17491         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17492         Add iftarget clause for strongarm.
17493
17494 2002-05-06  Michael Snyder  <msnyder@redhat.com>
17495
17496         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17497         (gdb_continue_to_end): Accept output from status wrapper.
17498         * gdb.base/ending-run.exp: Add case for output from status wrapper.
17499         Clean up fail messages to match pass messages.
17500
17501         Enable the "needs_status_wrapper" testsuite feature.
17502         * lib/gdb.exp (gdb_wrapper_init): New procedure.
17503         (gdb_compile): Conditionally call gdb_wrapper_init.
17504         * gdb.base/a2-run.exp: Recognize output from status wrapper.
17505         * gdb.c++/method.exp: Recognize output from status wrapper.
17506
17507 2002-05-06  Ben Elliston  <bje@redhat.com>
17508 From Graydon Hoare  <graydon@redhat.com>
17509
17510         * config/sid.exp: Include support for "rawsid" protocol.
17511
17512 2002-05-03  Jim Blandy  <jimb@redhat.com>
17513
17514         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17515         * gdb.c++/hang3.C: New file.
17516
17517 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
17518
17519         * gdb.base/default.exp: Remove obsolete code.
17520         * gdb.c++/misc.exp: Ditto.  Update copyright.
17521         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
17522         * gdb.base/whatis.exp: Ditto.  Update copyright.
17523         * gdb.base/scope.exp: Ditto.  Update copyright.
17524         * gdb.base/ptype.exp: Ditto.  Update copyright.
17525         * gdb.base/printcmds.exp: Ditto.  Update copyright.
17526         * gdb.base/opaque.exp: Ditto.  Update copyright.
17527         * gdb.base/list.exp: Ditto.
17528         * gdb.base/funcargs.exp: Ditto.  Update copyright.
17529         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17530         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17531         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17532         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17533         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17534         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17535
17536 2002-05-02  Michael Snyder  <msnyder@redhat.com>
17537
17538         * gdb.base/watchpoint.exp: Add xscale target.
17539         * gdb.base/long_long.exp: Add xscale target.
17540         * gdb.base/default.exp: Add xscale target.
17541
17542 2002-05-01  Jim Blandy  <jimb@redhat.com>
17543
17544         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17545         gdb.c++/hang.exp: New test.
17546
17547 2002-05-01  Fred Fish  <fnf@redhat.com>
17548
17549         * gdb.base/completion.exp: Handle completions of "./Make" for
17550         more than one completion possibility, as is the case when we
17551         build and test in the source tree.
17552
17553 2002-04-29  Anthony Green  <green@redhat.com>
17554
17555         * gdb.java/jmisc1.exp: New file.
17556         * gdb.java/jmisc2.exp: New file.
17557
17558 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
17559
17560         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17561
17562 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
17563
17564         * gdb.base/help.exp: Change 'help status' to allow for target
17565         dependent output differences.
17566
17567 2002-04-22  Michael Chastain  <mec@shout.net>
17568
17569         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17570
17571 2002-04-22  Michael Chastain  <mec@shout.net>
17572
17573         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17574
17575 2002-04-17  David S. Miller  <davem@redhat.com>
17576
17577         * gdb.asm/sparc64.inc: New file.
17578         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17579
17580 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
17581
17582         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17583         instruction file directly into the build tree.  Clean up at end of
17584         test.
17585
17586 2002-04-18  David S. Miller  <davem@redhat.com>
17587
17588         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17589         handle 64-bit platforms correctly.
17590         * gdb.base/maint.exp: Likewise.
17591
17592 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17593
17594         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17595         ``-fpic'' when compiling files comprising a shared library, but
17596         it does need additional linker flags in order to find shared
17597         libraries at run time.
17598
17599 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
17600
17601         * gdb.base/cvexpr.c (use): New function.
17602         (main): Invoke use() on all global variables to prevent
17603         some linkers from deleting these otherwise unused symbols.
17604
17605 2002-04-17  Michael Chastain  <mec@shout.net>
17606 From David S. Miller  <davem@redhat.com>
17607
17608         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17609         handle 64-bit platforms correctly.
17610
17611 2002-04-12  Michael Snyder  <msnyder@redhat.com>
17612 From Jim Blandy  <jimb@redhat.com>
17613         * gdb.base/foo.c (foox): Remove section attribute; the linker
17614         script can handle this instead.
17615         * gdb.base/bar.c (barx): Same.
17616         * gdb.base/baz.c (bazx): Same.
17617         * gdb.base/grbx.c (grbxx): Same.
17618
17619         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17620         manager doesn't automatically unmap overlays unnecessarily.
17621
17622 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
17623
17624         * gdb.base/ending-run.exp: Fix pattern for Mips targets
17625         stepping out of main.
17626
17627 2002-04-09  Michael Chastain  <mec@shout.net>
17628
17629         * gdb.c++/local.cc (main): Move call to marker1() inside nested
17630         scope so that the nested scope tests will make sense.
17631         * gdb.c++/local.exp: Write patterns that actually work with gcc
17632         (the HP patterns "were never known to work with gcc").
17633         Keep the old aCC patterns too.
17634
17635 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
17636
17637         * gdb.base/attach.exp: Correct target board test.
17638
17639 2002-04-08  Michael Chastain  <mec@shout.net>
17640
17641         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17642         in a const method.  Add some xfail and fail cases for configurations
17643         that do not emit the "const ...".
17644
17645 2002-04-07  Michael Chastain  <mec@shout.net>
17646
17647         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17648         Accept "A * const" and "const A * const" as type of "this".
17649         Fix spelling of getFunky throughout.  Make messages uniform.
17650
17651 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17652
17653         Work around for PR gdb/285:
17654         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17655
17656 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
17657
17658         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17659         instructions file at run time instead of configure time.
17660         Sometimes we run the test in a directory that is not the one we
17661         configured in.
17662         * gdb.asm/configure.in: Delete creation of symlink.
17663         * gdb.asm/configure: Regenerate.
17664
17665 2002-04-05  J. Brobecker  <brobecker@gnat.com>
17666
17667         * gdb.gdb/xfullpath.exp: New test, to exercise the new
17668         xfullpath () function.
17669
17670 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17671
17672         * gdb.asm/Makefile.in: Correct dependencies.
17673
17674         * gdb.asm/powerpc.inc: New file.
17675         * gdb.asm/asm-source.exp: Add PowerPC.
17676         * gdb.asm/configure.in: Likewise.
17677         * gdb.asm/configure: Regenerated.
17678
17679 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
17680
17681         * gdb.base/relocate.exp: New file.
17682         * gdb.base/relocate.c: New file.
17683
17684 2002-04-04  Fred Fish  <fnf@redhat.com>
17685
17686         * gdb.base/step-test.exp: Update comment regarding stopping in
17687         memcpy/bcopy calls inserted as part of the compiler runtime.
17688
17689 2002-04-04  Michael Snyder  <msnyder@redhat.com>
17690
17691         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17692
17693 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
17694
17695         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17696         (gdb_expect): Remove $notransfer hack.
17697
17698 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
17699
17700         * gdb.c++/classes.exp ("calling method for small class"): Match
17701         updated register output.
17702
17703 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17704
17705         Fix PR gdb/452
17706         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17707         when finished.  Make gdb_file_cmd send "exec-file" when
17708         appropriate.
17709
17710 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
17711
17712         * gdb.base/attach.exp: Remove extra setup_xfail.
17713
17714 2002-03-26  Michael Snyder  <msnyder@redhat.com>
17715
17716         * gdb.base/default.exp: Add tests for dump, append, and restore.
17717         * gdb.base/help.exp: Add tests for dump, append, and restore.
17718         * gdb.base/dump.exp: New file, test dump, append and restore.
17719         * gdb.base/dump.c: New file.
17720
17721 2002-03-27  Michael Snyder  <msnyder@redhat.com>
17722
17723         * gdb.base/help.exp: Modify expect strings to reflect
17724         clean-ups in help messages.
17725
17726 2002-03-26  Fred Fish  <fnf@redhat.com>
17727
17728         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17729         have debugging info for those functions and the compiler uses them
17730         internally to copy structs around.
17731
17732 2002-03-26  Fred Fish  <fnf@redhat.com>
17733
17734         * gdb.base/list.exp: Revert the change made yesterday and add note
17735         about why we don't list the default lines for remote targets.
17736
17737 2002-03-25  Michael Snyder  <msnyder@redhat.com>
17738
17739         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17740
17741 2002-03-25  Fred Fish  <fnf@redhat.com>
17742
17743         * gdb.base/list.exp: This test works on remote targets so remove
17744         the short circuit for remote targets.  Update copyright.
17745
17746 2002-03-25  Fred Fish  <fnf@redhat.com>
17747
17748         * gdb.base/attach.exp: Fix logic error that was suppressing this
17749         test for all non hppa*-*-hpux* targets, instead of the hp target.
17750         Move comments closer to the suppression point.  Also now need to
17751         check that we are running natively.
17752
17753 2002-03-22  Michael Snyder  <msnyder@redhat.com>
17754
17755         * gdb.base/default.exp: Add test for gcore.  Update copyright.
17756         * gdb.base/help.exp: Add test for gcore.  Update copyright.
17757
17758 2002-03-06  Fred Fish  <fnf@redhat.com>
17759
17760         * gdb.base/funcargs.c:  Remove extraneous ';' character.
17761         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17762
17763 2002-03-04  Michael Chastain  <mec@shout.net>
17764
17765         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17766         accommodate gcc v3 function signature.
17767         * gdb.mi/mi0-var-cmd-exp: Ditto.
17768
17769 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
17770
17771         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17772         ``GNU/Linux'' or ``Linux kernel''
17773         * testsuite/gdb.threads/pthreads.c: Ditto.
17774
17775 2002-02-24  Michael Chastain  <mec@shout.net>
17776
17777         * gdb.threads/pthreads.c (thread1): Add a return statement.
17778         (thread2): Likewise.
17779         (foo): Likewise.
17780
17781 2002-02-23  Michael Chastain  <mec@shout.net>
17782
17783         * gdb.threads/linux-dp.c (philosopher): Add a return statement
17784         to placate gcc.
17785
17786 2002-02-23  Michael Chastain  <mec@shout.net>
17787
17788         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17789         test "ptype bint".  The test passes on all my stabs configurations.
17790
17791 2002-02-21  Jim Blandy  <jimb@redhat.com>
17792
17793         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17794         filename at a time, and watch for the ones we want to see.
17795
17796         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17797         types of pointers to prototyped functions.
17798
17799 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
17800
17801         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
17802         signed, unsigned and straight char.
17803         (padding_char, padding_short, padding_int, padding_long,
17804         padding_long_long, padding_float, padding_double,
17805         padding_long_double): New global variables.
17806         (fill, fill_structs): New functions.
17807
17808         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
17809         for correctly sized writes.  Update copyright.
17810         (get_valueof): New procedure.
17811         (get_sizeof): Call get_valueof.
17812         (check_valueof): New procedure.
17813         (check_padding): New procedure.
17814
17815 2002-02-20  Michael Chastain  <mec@shout.net>
17816
17817         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17818         to setup_xfail.  Document some of the remaining calls.
17819
17820 2002-02-18  Michael Chastain  <mec@shout.net>
17821
17822         * gdb.c++/userdef.exp: Update copyright year.
17823
17824 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
17825
17826         * gdb.c++/userdef.exp: Test overloaded operators properly.
17827         Remove xfails.
17828
17829 2002-02-14  Michael Snyder  <msnyder@redhat.com>
17830
17831         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17832
17833 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
17834
17835         * gdb.base/a2-run.exp: Check for a remote target properly.
17836         * gdb.base/annota1.exp: Likewise.
17837         * gdb.base/list.exp: Likewise.
17838         * gdb.base/reread.exp: Likewise.
17839         * gdb.base/scope.exp: Likewise.
17840         * gdb.base/shlib-call.exp: Likewise.
17841         * gdb.base/term.exp: Likewise.
17842         * gdb.c++/annota2.exp: Likewise.
17843
17844 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
17845
17846         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17847
17848 2002-02-10  Michael Chastain  <mec@shout.net>
17849
17850         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17851         (call_after_alloca): Ditto.
17852
17853 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
17854
17855         * gdb.base/ending-run.exp: Guard "cont" test with
17856         gdb_skip_stdio_test.
17857
17858 2002-02-06  Jim Blandy  <jimb@redhat.com>
17859
17860         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17861         from here...
17862         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17863         To here.  Disable this test on non-HP platforms.  Add big comment.
17864
17865 2002-02-04  Michael Snyder  <msnyder@redhat.com>
17866
17867         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
17868           other than d10v and m32r.
17869
17870 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
17871
17872         * gdb.base/default.exp: Rewrite test patterns to reduce time
17873         taken to match them.
17874
17875 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17876
17877         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17878         Allow a start function above main.
17879         * gdb.threads/linux-dp.exp: Fix copyright date.
17880
17881 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17882
17883         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17884         (check_philosopher_stack): Check for manager thread before checking
17885         for a just-starting thread.
17886
17887 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
17888
17889         From Neil Booth <neil@daikokuya.demon.co.uk>:
17890         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17891         warnings.
17892
17893 2002-01-21  Fred Fish  <fnf@redhat.com>
17894
17895         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17896         not caller.
17897
17898 2002-01-21  Jim Blandy  <jimb@redhat.com>
17899
17900         * gdb.base/reread.exp: Check that GDB properly re-reads the
17901         executable file when it changes while no inferior is running.
17902
17903 2002-01-21  Fred Fish  <fnf@redhat.com>
17904
17905         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17906         optionally accept the "shlib events" variation.
17907
17908 2002-01-21  Jim Blandy  <jimb@redhat.com>
17909
17910         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17911         call `fflush' after every `printf', so that the output is produced
17912         at predictable points, regardless of whatever buffering does (or
17913         doesn't) take place.
17914         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17915         at different points.
17916
17917 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17918
17919         * gdb.c++/inherit.exp: Update copyright years.
17920         * gdb.c++/method.exp: Likewise.
17921
17922 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
17923
17924         * gdb.c++/classes.exp: Update for improved v3 support and skipping
17925         artificial methods/arguments.
17926         * gdb.c++/derivation.exp: Likewise.
17927         * gdb.c++/inherit.exp: Likewise.
17928         * gdb.c++/method.exp: Likewise.
17929         * gdb.c++/virtfunc.exp: Likewise.
17930
17931 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
17932
17933         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17934         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17935         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17936         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17937         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17938         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17939
17940 2002-01-17  Jim Blandy  <jimb@redhat.com>
17941
17942         * gdb.asm/asm-source.exp (info symbol): Take another shot at
17943         anchoring the pattern matching the entry point symbol's name.
17944
17945 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
17946
17947         * gdb.base/maint.exp: Update ``maint internal-error'' to match
17948         continue/quit query.  Update copyright.
17949
17950 2002-01-14  Michael Snyder  <msnyder@redhat.com>
17951
17952         * gdb.base/gcore.exp: Remove extra debugging output.
17953
17954 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17955
17956         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17957         for slightly dubious v2 mangled string.
17958
17959 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
17960
17961         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17962
17963 2002-01-10  Jason Merrill  <jason@redhat.com>
17964
17965         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17966
17967         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17968         constructors.
17969         * gdb.c++/derivation.exp: Likewise.
17970         * gdb.c++/templates.exp: Likewise.
17971         * gdb.c++/virtfunc.exp: Likewise.
17972
17973 2002-01-10  Michael Snyder  <msnyder@redhat.com>
17974
17975         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17976
17977 2002-01-08  Michael Snyder  <msnyder@redhat.com>
17978
17979         * gdb.base/gcore.exp: New test for generate-core-file command.
17980         * gdb.base/gcore.c: Testcase for above.
17981         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17982
17983 2002-01-08  Jason Merrill  <jason@redhat.com>
17984
17985         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17986
17987 2002-01-07  Fred Fish  <fnf@redhat.com>
17988
17989         * gdb.c++/overload.exp: Remove unconditional xfails for:
17990         print foo_instance1.overloadargs(1)
17991         print foo_instance1.overloadargs(1, 2)
17992         print foo_instance1.overloadargs(1, 2, 3)
17993         print foo_instance1.overloadargs(1, 2, 3, 4)
17994         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17995         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17996         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17997         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17998         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17999         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18000         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18001         print foo_instance1.overload1arg()
18002         print foo_instance1.overload1arg((char)arg2)
18003         print foo_instance1.overload1arg((signed char)arg3)
18004         print foo_instance1.overload1arg((unsigned char)arg4)
18005         print foo_instance1.overload1arg((int)arg7)
18006         print foo_instance1.overload1arg((unsigned int)arg8)
18007         print foo_instance1.overload1arg((float)arg11)
18008         print foo_instance1.overload1arg((double)arg12)
18009
18010 2002-01-07  Michael Snyder  <msnyder@redhat.com>
18011
18012         * gdb.base/huge.exp: New test.  Print a very large target data object.
18013         (skip_huge_test): New test variable.  Define if you want to skip this
18014         test.  The test reads an 8 megabyte data object from the target, so it
18015         might be very time consuming on remote targets with a slow connection.
18016         * gdb.base/huge.c: New file.  Test case for above.
18017
18018 2002-01-07  Fred Fish  <fnf@redhat.com>
18019
18020         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18021         g_instance.bfoo, and g_instance.cfoo.
18022
18023 2002-01-07  Jeffrey A Law  <law@redhat.com>
18024
18025         * gdb.base/break.c (multi_line_if_conditional): New function.
18026         (multi_ilne_while_conditional): Likewise.
18027         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18028         IF or WHILE condition puts the breakpoint at the start of
18029         the condition.
18030
18031         * gdb.base/selftest.exp (backtrace through signal handler): Remove
18032         hppa*-*-hpux* expected failure.
18033         * gdb.base/structs.exp (do_function_calls): Similarly.
18034
18035         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18036         watchpoints.
18037
18038 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
18039
18040         Fix PR gdb/66.
18041         * gdb.base/structs.exp: Replace skip for a29k with skip for
18042         gdb,cannot_call_functions.
18043         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18044         * gdb.base/callfuncs.exp: Ditto.
18045         * gdb.base/call-rt-st.exp: Ditto.
18046         * gdb.base/call-strs.exp: Ditto.
18047         * gdb.base/callfwmall.exp: Ditto.
18048         * gdb.base/scope.exp: Obsolete xfail a29k.
18049         * gdb.c++/misc.exp: Ditto.
18050         * gdb.c++/cplusfuncs.exp: Ditto.
18051         * gdb.base/ptype.exp: Ditto.
18052         * gdb.base/printcmds.exp: Ditto.
18053         * gdb.base/opaque.exp: Ditto.
18054         * gdb.base/list.exp: Ditto.
18055         * gdb.base/funcargs.exp: Ditto.
18056         * gdb.base/default.exp: Ditto.
18057
18058 2002-01-04  Michael Snyder  <msnyder@redhat.com>
18059
18060         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18061         * gdb.base/maint.exp: Add tests for maint info sections options.
18062
18063 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
18064
18065         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18066
18067 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
18068
18069         * gdb.asm/arm.inc: New file.
18070         * gdb.asm/asm-source.exp: Add arm targets.
18071         * gdb.asm/configure.in: Ditto.
18072         * gdb.asm/configure: Recreated from configure.in.
18073
18074 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
18075
18076         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18077         with HP's compiler.
18078         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18079         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18080         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18081         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18082
18083         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18084         either HP's compilers or GCC.
18085
18086         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18087         a SIGBUS or SIGSEGV.
18088
18089         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18090
18091         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18092         can be compiled with either HP's compiler or GCC.
18093
18094         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18095         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18096         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18097
18098         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18099         to match current gdb output.  Update due to using auto-solib-limit
18100         for limiting instead of overloading auto-solib-add.
18101         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18102         test program.
18103
18104         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18105         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18106         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18107         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18108         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18109         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18110         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18111         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18112         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18113         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18114         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18115         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18116         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18117
18118         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18119         a SIGTRAP to the inferior.
18120
18121 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
18122
18123         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18124         Substitute call to target_link by call to gdb_compile.
18125
18126 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
18127
18128         * gdb.base/break.exp: Fix HP specific search string when testing
18129         backtracing in a called function.
18130
18131         * gdb.base/constvars.exp: Only set lang to C++ if we're
18132         compiling the test with HP's compilers.
18133         * gdb.base/volatile.exp: Similarly.
18134
18135 2001-12-19  Jim Blandy  <jimb@redhat.com>
18136
18137         * gdb.base/printcmds.exp: Expect the null character to be printed
18138         as '\0', and the '\013' to be printed as '\v'.
18139         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18140         * gdb.base/setvar.exp: Same.
18141
18142 2001-12-17  Jim Blandy  <jimb@redhat.com>
18143
18144         * gdb.base/completion.exp: Rather than completing very long
18145         filenames, which can make the readline library produce output we
18146         don't recognize, cd to the directory first, and then complete
18147         using nice, short relative paths.
18148
18149         * gdb.base/completion.exp: On some systems, there is, in fact, a
18150         variable named `b' in scope, since GDB treats all static
18151         variables as being in scope.  So use `no_var_named_this'
18152         instead of `b'.
18153
18154         * gdb.base/corefile.exp: Recognize the message saying that GDB
18155         can't find the core file's registers as a failure.
18156
18157 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
18158
18159         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18160         test expect string more specific.
18161
18162 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
18163
18164         * gdb.asm/asm-source.exp: Add support for xstormy16.
18165         * gdb.asm/configure.in: Ditto.
18166         * gdb.asm/configure: Rebuild.
18167         * gdb.asm/xstormy16.inc: New file.
18168
18169 2001-12-10  Fred Fish  <fnf@redhat.com>
18170
18171         * gdb.base/maint.exp: Update to match changes in type dumping code.
18172
18173 2001-12-10  Jim Blandy  <jimb@redhat.com>
18174
18175         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
18176         matching the entry point symbol's name at the beginning of the
18177         line.
18178
18179 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
18180
18181         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18182         gdb.c++/inherit.exp, gdb.c++/method.exp,
18183         gdb.c++/namespace.exp, gdb.c++/templates.exp,
18184         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18185         and class layout support.
18186
18187 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
18188
18189         * gdb.c++/classes.exp: Add test for static member function.
18190         * gdb.c++/misc.cc: Add class with static member function.
18191
18192 2001-12-07  Jim Blandy  <jimb@redhat.com>
18193
18194         If GDB says it can't find the struct the function returned, report
18195         those tests as `unsupported'.
18196         * gdb.base/call-rt-st.exp (print_struct_call): New function.
18197         Rewrite subsequent tests to use it.
18198
18199         If GDB says it can't find the struct the function returned, report
18200         those tests as `unsupported'.
18201         * gdb.base/structs.exp (call_struct_func): New function.
18202         (do_function_calls): Use call_struct_func to call the functions
18203         returning structs.
18204
18205         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18206         whether functions are prototyped or not, so we can't possibly pass
18207         arguments to t_float_values2 properly.
18208
18209         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18210         value of `timeout' for targets other than the mips*tx39-*.
18211
18212 2001-12-06  Michael Snyder  <msnyder@redhat.com>
18213
18214         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
18215         and detect whether the start symbol has a leading underscore.
18216
18217 2001-12-04  Jim Blandy  <jimb@redhat.com>
18218
18219         * gdb.base/completion.exp: Clarify indentation.
18220
18221 2001-12-03  Jim Blandy  <jimb@redhat.com>
18222
18223         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18224         variables on the S/390, not `.word'.
18225
18226 2001-11-30  Jim Blandy  <jimb@redhat.com>
18227
18228         Add assembly-source tests for s390-ibm-linux.
18229         * gdb.asm/s390.inc: New file.
18230         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18231         the S/390 architecture.
18232         * gdb.asm/configure: Regenerated.
18233
18234 2001-11-30  Michael Snyder  <msnyder@redhat.com>
18235
18236         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18237         next, info source, info sources, info line, global and static
18238         variables, and static functions.
18239         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18240         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18241         * gdb.asm/asmsrc1.s: Add a static function and some variables.
18242         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18243         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18244         (gdbasm_leave): Restore frame pointer.
18245         (gdbasm_startup): Copy stack set-up from crt0.S.
18246
18247 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
18248
18249         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
18250         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18251         to a local (non-static) variable. Copy tstruct.a to a static buffer
18252         and return a pointer to that buffer.
18253         * gdb.base/callfwmall.c (t_structs_a): Ditto.
18254
18255 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
18256
18257         * gdb.asm/configure.in: Fix recognition of ix86 target.
18258         * gdb.asm/configure: Regenerate.
18259
18260 2001-11-21  Michael Snyder  <msnyder@redhat.com>
18261
18262         * gdb.asm/sparc.inc: New file.
18263         * gdb.asm/asm-source.exp: Recognize sparc target.
18264         * gdb.asm/configure.in: Recognize sparc target.
18265         * gdb.asm/configure: Regenerate.
18266
18267 2001-11-21  Michael Snyder  <msnyder@redhat.com>
18268
18269         * gdb.asm/m32r.inc: New file.
18270         * gdb.asm/asm-source.exp: Recognize m32r target.
18271         * gdb.asm/configure.in: Recognize m32r target.
18272         * gdb.asm/configure: Regenerate.
18273
18274 2001-11-20  Michael Snyder  <msnyder@redhat.com>
18275
18276         * gdb.asm/i386.inc: New file.
18277         * gdb.asm/asm-source.exp: Recognize ix86 target.
18278         * gdb.asm/configure.in: Recognize ix86 target.
18279         * gdb.asm/configure: Regenerate.
18280
18281         * gdb.c++/namespace.exp: Fix quotes in output messages.
18282
18283 2001-11-14  Michael Snyder  <msnyder@redhat.com>
18284
18285         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
18286         qualifier in a type cast expression, to designate an address
18287         in the instruction space (Harvard architecture).
18288
18289 2001-11-13  Michael Snyder  <msnyder@redhat.com>
18290
18291         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18292         Tests for expressions using 'const' and 'volatile'.
18293
18294 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
18295
18296         * gdb.asm/asm-sources.exp: Allow defining linker flags.
18297
18298 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
18299
18300         * lib/mi-support.exp (mi_run_to_helper): Move comments
18301         outside of gdb_expect.
18302
18303 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
18304
18305         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18306         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18307         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18308         mi0_run_to): New functions.
18309         * gdb.mi/mi-simplerun.exp: Use them.
18310         * gdb.mi/mi0-simplerun.exp: Likewise.
18311         * gdb.mi/mi-var-cmd.exp: Likewise.
18312         * gdb.mi/mi0-var-cmd.exp: Likewise.
18313
18314 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
18315
18316         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18317         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18318
18319 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
18320
18321         * gdb.base/restore.exp: Include $expected value in restored test
18322         message.
18323
18324 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
18325
18326         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18327         implemented.
18328
18329 2001-11-08  Michael Snyder  <msnyder@redhat.com>
18330
18331         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18332         Add pass/fail message for stop at breakpoint in call dummy function.
18333
18334 2001-11-07  Michael Snyder  <msnyder@redhat.com>
18335
18336         * gdb.c++/templates.exp (test_template_breakpoints):
18337         If we get an overload menu, but it does not match what
18338         we expect, we still need to issue the "cancel" command.
18339         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18340         making the whitespace optional.  Argument for "new" may be
18341         "unsigned" as well as "unsigned int/long".
18342         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18343         making the whitespace optional.  Also replace "(void) with
18344         "((void|)), making the keyword "void" optional.
18345         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18346         making the whitespace optional.  Also replace "(void) with
18347         "((void|)), making the keyword "void" optional.
18348         * gdb.base/callfuncs.c (t_float_values): This function must
18349         _not_ be prototyped, and the following function (t_float_values2)
18350         must be prototyped (if the compiler supports it), so that GDB
18351         can be tested against both cases.  Usually one case involves
18352         promotion of float to double, while the other does not.
18353         * gdb.base/callfwmall.c: Ditto.
18354         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18355         includes a stack frame for "start".
18356
18357 2001-11-05  Jim Blandy  <jimb@redhat.com>
18358
18359         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
18360         pointers are 32 bits long, and that offsets of relocs are always
18361         stored in the data (REL-style), and not in the reloc entry itself
18362         (RELA-style).
18363         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18364         stabs.
18365
18366 2001-11-01  Michael Snyder  <msnyder@redhat.com>
18367
18368         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18369         and regular expression operators by using quoting.
18370
18371 2001-10-31  Michael Snyder  <msnyder@redhat.com>
18372
18373         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18374         depending on what the symbol table contains.
18375         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18376         the output of the ptype command.  Similarly, accept both "const &"
18377         and "const&".
18378
18379 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
18380
18381         * gdb.base/miscexprs.c (main): Add usage of preprocessor
18382         symbol `STORAGE' to allow to choose the storage class of
18383         the local datastructures.
18384         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18385         compiler directive.
18386
18387 2001-10-30  Michael Snyder  <msnyder@redhat.com>
18388
18389         * gdb.base/jump.exp: Allow it to run for all targets.
18390
18391 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18392
18393         * gdb.base/call-ar-st.c (print_double_array): Match for loop
18394         with new double_array size.
18395         (main): Change storage class of all local variables to static.
18396         Reduce size of double_array to 9.
18397         * gdb.base/call-ar-st.exp:  Increase timeout value.
18398         Change expected output for double array to match new size in
18399         call-ar-st.c.
18400
18401 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
18402
18403         * gdb.base/ending-run.exp: Create identical output when passing
18404         `step to end of run' case.  Add regular expression branch satisfying
18405         Stormy16 target.
18406
18407 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
18408
18409         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18410         that we catch the expected failure under Linux/x86.
18411
18412 2001-10-29  Orjan Friberg  <orjanf@axis.com>
18413
18414         * gdb.base/setvar.exp: Escape curly braces.
18415         * gdb.stabs/weird.exp: Ditto.
18416
18417 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
18418
18419         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18420         * gdm.mi/mi0-hack-cli.exp: Likewise.
18421
18422 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
18423
18424         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18425         messages.
18426
18427 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
18428
18429         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18430         checking MI enabled.
18431
18432 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
18433
18434         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18435
18436 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
18437
18438         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18439         if gdb child process crashes, just signal an error.
18440
18441 2001-10-02  Jim Blandy  <jimb@redhat.com>
18442
18443         * lib/gdb.exp (test_xfail_format): Simplify.
18444
18445         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18446         front of the variable name `format'.  Simplify `if'.
18447
18448 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18449
18450         * gdb.threads/pthreads.exp: Wait for output and delay
18451         before sending ^C.
18452
18453 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
18454
18455         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
18456         some incorrect output instead of timing out.
18457         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
18458
18459 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
18460
18461         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18462         check to allow additional `int'.
18463
18464 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
18465
18466         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18467         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18468
18469 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18470
18471         * lib/gdb.exp (test_debug_format): New proc.
18472         (setup_xfail_format): Use new proc test_debug_format.
18473         * gdb.base/constvars.exp (local_compiler_xfail_check): New
18474         proc; use new service proc test_debug_format.
18475         Replace all other "gcc_compiled" tests with this test.
18476         * gdb.base/volatile.exp (local_compiler_xfail_check): New
18477         proc; use new service proc test_debug_format.
18478         Replace all other "gcc_compiled" tests with this test.
18479
18480 2001-09-27  Michael Snyder  <msnyder@redhat.com>
18481
18482         * gdb.base/cvexpr.exp: New file.
18483         * gdb.base/cvexpr.c: New file
18484         Test for expressions using const and volatile keywords.
18485
18486 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
18487
18488         * gdb.base/constvars.exp: Check for different orders of keywords
18489         and additional "int" strings in output.
18490
18491 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
18492
18493         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18494         responses from "help maint".
18495
18496 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
18497
18498         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18499         to localhost:NNN instead of :NNN, in case Xvfb is listening
18500         only on TCP.
18501
18502 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
18503
18504         * gdb.base/recurse.exp: When checking leaving the watchpoint
18505         scope, recognize when gdb is in function's epilogue and pass.
18506
18507 2001-09-18  Keith Seitz  <keiths@redhat.com>
18508
18509         * lib/insight-support.exp (_gdbtk_export_target_info): Add
18510         support for running tests against sid targets.
18511         (gdbtk_done): Ditto.
18512
18513 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
18514
18515         * gdb.base/ending-run.c (main): Set stdout buffersize
18516         to the same reasonable value for any target.
18517         * gdb.base/ending-run.exp: Add a regular expression
18518         to make testsuite happy on Sanyo Stormy16 target.
18519
18520 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
18521
18522         * gdb.base/display.c (do_loops): Add float variable `f'.
18523         Increment f in loop.
18524         * gdb.base/display.exp: Increment timeout by 60 seconds.
18525         Change float display test to use variable `f'.
18526
18527 2001-09-17  Jim Blandy  <jimb@redhat.com>
18528
18529         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18530         overflowing the limited breakpoint tables on some ROM monitors
18531         (like the ROM68K).
18532
18533 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
18534
18535         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18536         the "-ac" (disable access control) flag.
18537
18538 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
18539
18540         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18541         ints.
18542
18543 2001-08-30  Keith Seitz  <keiths@redhat.com>
18544
18545         * lib/gdb.exp: Move all insight-related functionality into
18546         separate file.
18547         * lib/insight-support.exp: New file.
18548
18549 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
18550
18551         * config/sid.exp (sid_start): Never set sid verbosity; disable
18552         expect_background {} that consumed its stdout; tolerate </dev/null.
18553         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
18554
18555 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18556
18557         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18558         CLI jump command to start it.
18559         (mi_run_to_main): Fail immediatly when unexpected output.
18560
18561 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
18562
18563         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18564         beginning of function.  Fix PR gdb/191.
18565
18566 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
18567
18568         * config/sid.exp (sid_start): Don't warn if we cannot figure out
18569         what to force sid endianness to.
18570
18571 2001-08-15  Keith Seitz  <keiths@redhat.com>
18572
18573         * lib/gdb.exp (gdbtk_start): Don't set environment
18574         variables for TCL_LIBRARY and friends. Insight will
18575         now figure these out for itself.
18576
18577 2001-08-02  Michael Snyder  <msnyder@redhat.com>
18578
18579         * gdb.base/completion.exp: Remove the symbol "a64l" from
18580         the expect string; this is target-specific, and not related
18581         to what is being tested.
18582
18583 2001-08-02  Dave Brolley  <brolley@redhat.com>
18584
18585         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18586
18587 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18588
18589         * gdb.base/consecutive.exp: New file.  Test stepping over
18590         breakpoints on consecutive instructions.
18591         * gdb.base/consecutive.c: New file.
18592
18593         * gdb.base/call-rt-st.exp: Use double-backslash to quote
18594         curly braces in regular expressions.
18595
18596 2001-07-25  Michael Snyder  <msnyder@redhat.com>
18597
18598         * gdb.base/ending-run.exp: Accept "Program exited normally" as
18599         legitimate output from stepping out of main.
18600
18601 2001-07-22  Keith Seitz  <keiths@redhat.com>
18602
18603         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18604         the empty string, do not run the tests.
18605
18606 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18607
18608         * gdb.base/long_long.exp: Detect size of pointer.  Take into
18609         account 2-byte pointers when testing for p/a results.
18610
18611 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18612
18613         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18614         and defined to 1K for m68hc11.
18615         (random_data): Reduce table to 1K for embedded platforms (68hc11).
18616         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18617         (sizeof_random_data): New variable to tell the size of the data table;
18618         don't test past this size; always run to main.
18619
18620 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18621
18622         * gdb.base/return2.exp: return of long long and double fails for
18623         68HC11; don't execute these tests on that platform.
18624         * gdb.base/return.exp: Return of a double fails for 68hc11.
18625
18626 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
18627
18628         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18629         tests that print a float.
18630         * call-rt-st.exp: Likewise.
18631
18632 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
18633
18634         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18635         running this test on Linux.
18636
18637 2001-06-24  Michael Chastain  <chastain@redhat.com>
18638
18639         * gdb.base/arithmet.exp: Remove some tests to make all test names
18640         unique.
18641
18642 2001-07-03  Michael Snyder  <msnyder@redhat.com>
18643
18644         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18645         the output of the ptype command.
18646
18647 2001-07-02  Michael Snyder  <msnyder@redhat.com>
18648
18649         * gdb.base/completion.exp: Don't assume that break.c is the only
18650         source file that may contain functions named "marker".
18651         * gdb.base/corefile.exp: Quote the curly braces in regexp.
18652
18653 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
18654
18655         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18656         of files to delete.
18657
18658         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18659         * gdb.disasm/h8300s.exp: New file.
18660         gdb.disasm/h8300s.s: Likewise.
18661
18662 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
18663
18664         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18665         empty breakpoint tables.
18666
18667 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
18668
18669         * lib/mi-support.exp: Update args=... part of stop-reason
18670         patterns. Accept either a list or a tuple.
18671
18672 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
18673
18674         * lib/mi-support.exp: Remove local emacs variable defining
18675         change-log-default-name.
18676
18677 2001-06-22  Michael Chastain  <chastain@redhat.com>
18678
18679         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18680         This is operationally compatible with the previous version.
18681
18682 2001-06-13  Jim Blandy  <jimb@redhat.com>
18683
18684         * lib/gdb.exp (gdb_test): Doc fix.
18685
18686 2001-06-10  Michael Chastain  <chastain@redhat.com>
18687
18688         * gdb.base/exprs.exp: Remove a duplicate test.
18689
18690 2001-06-06  Jim Blandy  <jimb@redhat.com>
18691
18692         * gdb.base/return2.exp (main): Use values to test float and double
18693         returns that are not NaN's, to avoid being confused by IEEE
18694         comparison rules.
18695
18696 2001-06-04  Michael Snyder  <msnyder@redhat.com>
18697
18698         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18699         non-zero if control_c fails.  Terminate the test on failure,
18700         rather than wait for 12 more tests to time out.
18701
18702 2001-06-06  Jim Blandy  <jimb@redhat.com>
18703
18704         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18705         Don't forget to match the GDB prompt.
18706
18707         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18708
18709 2001-06-04  Jim Blandy  <jimb@redhat.com>
18710
18711         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18712         command.
18713
18714 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
18715
18716         * gdb.base/annota1.exp (info break): Match four or more spaces
18717         after "Address".
18718
18719 2001-05-31  Michael Chastain  <chastain@redhat.com>
18720
18721         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18722         (dm_type_int_star): Likewise.
18723         (dm_type_long_star): Likewise.
18724         (dm_type_void_star): Likewise.
18725
18726 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
18727
18728         * gdb.base/completion.exp (INPUTRC): Set this environment variable
18729         to a known value in order to get consistent results regardless
18730         of the setting of INPUTRC or the presence or contents of .inputrc.
18731
18732 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18733
18734         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18735         Don't require that the main thread and the manager thread are the
18736         first in the list.
18737
18738         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18739         debugging.  If test fails, issue an "unsupported" not a "fail".
18740
18741 2001-05-24  Jim Blandy  <jimb@redhat.com>
18742
18743         Don't assume that short is shorter than int.
18744         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18745         assume that shorts are smaller than ints.  On a 16-bit machine,
18746         this isn't true.
18747         ("print unsigned char == (~0)"): Add test that verifies that ~0,
18748         an int, is not equal to ~0 stored in an unsigned char.  This tests
18749         the same thing that the previous test meant to, but works on
18750         16-bit machines, too.
18751         ("print unsigned char != (~0)"): Same test, complemented.
18752
18753 2001-05-24  Michael Snyder  <msnyder@redhat.com>
18754
18755         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18756         test for (full_coverage == 0).  This makes the test run faster,
18757         and prevents dejagnu getting out of step.
18758
18759 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
18760
18761         * gdb.base/finish.exp (finish_void): Revise pattern for
18762         stopping on the call statement to not permit stopping at
18763         the start of the instructions comprising the call sequence.
18764
18765 2001-05-19  Michael Chastain  <chastain@redhat.com>
18766
18767         * gdb.base/callfuncs.exp: Make all test names unique.
18768         * gdb.base/commands.exp: Make all test names unique.
18769         * gdb.base/condbreak.exp: Make all test names unique.
18770         * gdb.base/dbx.exp: Make all test names unique.
18771         * gdb.base/default.exp: Make all test names unique.
18772         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
18773         and TIMEOUT messages to their corresponding PASS message.
18774         * gdb.base/ending-run.exp: Make all test names unique.
18775         * gdb.base/long_long.exp: Remove duplicate test.
18776
18777 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
18778
18779         * gdb.base/finish.exp (finish_void): Allow "finish" command to
18780         stop on the call statement as well as the statement after the
18781         call.
18782
18783 2001-05-21  Michael Snyder  <msnyder@redhat.com>
18784
18785         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18786
18787 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18788
18789         * gdb.base/completion.exp: Revamp test. Make it execute on all
18790         platforms.
18791
18792 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
18793
18794         * config/gdbserver.exp (gdb_load): Handle the case
18795         in which the arguments to gdbserver are given in the
18796         baseboard configuration file.
18797         Also handle the case in which the server needs to do a
18798         load.
18799
18800 2001-05-07  Keith Seitz <keiths@cygnus.com>
18801
18802         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18803         set up the display for testing.
18804         (gdbtk_start): Convert all paths to paths that tcl will like.
18805         Export target information to environment.
18806         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18807         necessary.
18808         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18809         (to_tcl_path): New proc to convert a given pathname into
18810         a path acceptible as an argument to a tcl command.
18811         (_gdbtk_export_target_info): New proc to export target info
18812         into the environment for gdbtk testing.
18813         (gdbtk_done): New proc to signal end-of-test.
18814
18815 2001-05-06  Jim Blandy  <jimb@redhat.com>
18816
18817         * restore.c: Make the code of caller0 correspond to its comment.
18818
18819 2001-05-03  Michael Snyder  <msnyder@redhat.com>
18820
18821         * config/sid.exp (gdb_target_sid): Check for error messages.
18822         On error or timeout, don't make expect exit (which will terminate
18823         all subsequent tests); instead just make gdb exit.
18824         (gdb_load): Check for error messages.  On error or timeout,
18825         return a negative value.
18826
18827 2001-04-24  Jim Blandy  <jimb@redhat.com>
18828
18829         * gdb.c++/templates.exp: If we see the prompt for the overload
18830         list, but we haven't recognized any of the longer patterns,
18831         arrange for this test to fail, not hang.
18832
18833         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18834         variations.
18835
18836 2001-04-22  Michael Chastain  <chastain@redhat.com>
18837
18838         * gdb.c++/local.exp: Use the 'runto' library function.
18839         * gdb.c++/namespace.exp: Likewise.
18840         * gdb.c++/overload.exp: Likewise.
18841
18842 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
18843
18844         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18845         * gdb.base/step-line.exp: New file.  Test step/next in presence of
18846         #line directives.
18847         * gdb.base/step-line.c: New file.  Test program for the above.
18848         * gdb.base/step-line.inp: New file.  We pretend that this file has
18849         been transformed by some other tool into step-line.c.
18850
18851 2001-03-21  Jim Blandy  <jimb@redhat.com>
18852
18853         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18854         unmangled operator names.
18855
18856 2001-03-20  Jim Blandy  <jimb@redhat.com>
18857
18858         * gdb.threads/linux-dp.exp: Recognize an additional message
18859         generated by GDB when it doesn't understand how to debug threads
18860         on the target system.
18861
18862 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
18863
18864         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18865
18866 2001-03-12  Michael Chastain  <chastain@redhat.com>
18867
18868         * gdb.c++/derivation.exp: Use the 'runto' library function.
18869
18870 2001-03-12  Michael Chastain  <chastain@redhat.com>
18871
18872         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18873
18874 2001-02-24  Michael Chastain  <chastain@redhat.com>
18875
18876         * gdb.c++/ref-types.exp: Change handwritten code to library
18877         function 'runto'.
18878
18879 2001-03-16  Orjan Friberg  <orjanf@axis.com>
18880
18881         * gdb.base/signals.exp: Set count to 0 explicitly.
18882
18883 2001-03-15  Mark Salter  <msalter@redhat.com>
18884
18885         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18886         (gdb_target_monitor): Add check of gdb_target_cmd return value.
18887         (gdb_load): Add support for additional target_info: gdb_download_size
18888         and gdb_load_timeout.
18889
18890 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
18891
18892         * gdb.base/annota1.exp: Move test of isnative to earlier in the
18893         file -- to prevent failing when the compile fails but we have no
18894         intention of running the tests anyway.
18895
18896         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18897         tests if set.
18898
18899         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18900         integers.
18901
18902         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18903         * gdb.c++/namespace.exp: Ditto.
18904
18905 2001-03-07  Orjan Friberg  <orjanf@axis.com>
18906
18907         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18908         * gdb.base/pointers.exp: Relax pattern match of decimals.
18909
18910 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
18911
18912         * Makefile.in, config/abug.exp, config/cfdbug.exp,
18913         config/cpu32bug.exp, config/dve.exp, config/est.exp,
18914         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18915         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18916         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18917         config/sh.exp, config/sid.exp, config/slite.exp,
18918         config/sparclet.exp, config/udi.exp, config/unknown.exp,
18919         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18920         config/vxworks.exp, config/vxworks29k.exp,
18921         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18922         gdb.base/all-bin.exp, gdb.base/annota1.exp,
18923         gdb.base/arithmet.exp, gdb.base/assign.exp,
18924         gdb.base/async.exp, gdb.base/attach.exp,
18925         gdb.base/bitfields.exp, gdb.base/bitops.exp,
18926         gdb.base/break.exp, gdb.base/call-ar-st.exp,
18927         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18928         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18929         gdb.base/commands.exp, gdb.base/completion.exp,
18930         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18931         gdb.base/constvars.exp, gdb.base/corefile.exp,
18932         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18933         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18934         gdb.base/ending-run.exp, gdb.base/environ.exp,
18935         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18936         gdb.base/finish.exp, gdb.base/foll-exec.exp,
18937         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18938         gdb.base/funcargs.exp, gdb.base/help.exp,
18939         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18940         gdb.base/logical.exp, gdb.base/long_long.exp,
18941         gdb.base/maint.exp, gdb.base/mips_pro.exp,
18942         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18943         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18944         gdb.base/pointers.exp, gdb.base/printcmds.exp,
18945         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18946         gdb.base/regs.exp, gdb.base/relational.exp,
18947         gdb.base/remote.exp, gdb.base/reread.exp,
18948         gdb.base/restore.exp, gdb.base/return2.exp,
18949         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18950         gdb.base/selftest.exp, gdb.base/setshow.exp,
18951         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18952         gdb.base/sigall.exp, gdb.base/signals.exp,
18953         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18954         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18955         gdb.base/step-test.exp, gdb.base/structs.c,
18956         gdb.base/structs.exp, gdb.base/structs2.exp,
18957         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18958         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18959         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18960         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18961         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18962         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18963         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18964         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18965         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18966         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18967         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18968         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18969         gdb.fortran/types.exp, gdb.java/jmisc.exp,
18970         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18971         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18972         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18973         gdb.trace/circ.exp, gdb.trace/collection.exp,
18974         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18975         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18976         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18977         gdb.trace/report.exp, gdb.trace/save-trace.exp,
18978         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18979         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18980         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18981         notices.
18982
18983 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
18984
18985         * gdb.base/varargs.c (find_max_double): Fix printf format string:
18986         first arg is int not float.
18987
18988 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
18989
18990         * gdb.base/reread.exp: Unsupported for non-native targets;
18991         doesn't work for remote debugging.
18992
18993 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
18994
18995         From  Drew Moseley  <dmoseley@redhat.com>
18996         * gdb.base/ending-run.exp: Properly handle the BSP state when
18997         stepping past the end of main.
18998
18999 2001-02-19  John Moore  <jmoore@redhat.com>
19000
19001         * gdb.base/commands.exp (infrun_breakpoint_command_test):
19002         Converted HPUX fix for non-expected items following multiple
19003         step commands into general solution for all platforms.
19004
19005 2001-02-18  Michael Chastain  <chastain@redhat.com>
19006
19007         * gdb.c++/classes.exp (do_tests): Change runto statements
19008         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
19009         statements demangler agnostic.
19010         * gdb.c++/virtfunc.exp (do_tests): Likewise.
19011         (gdb_virtfunc_restart): Likewise.
19012
19013 2001-02-14  Michael Chastain  <chastain@redhat.com>
19014
19015         * gdb.c++/inherit.exp (do_tests): Change runto statements
19016         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
19017         statements demangler agnostic.
19018
19019 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
19020
19021         * gdb.threads/pthreads.exp: Unify pass/fail messages for
19022         ``continue to bkpt at common_routine in thread 2'' and ``stopped
19023         before calling common_routine 15 times'' tests.
19024
19025 2001-02-11  Michael Chastain  <chastain@redhat.com>
19026
19027         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19028         Helps the test script figure out which demangler is in use.
19029         (dm_type_foo_ref): Ditto.
19030         (dm_type_int_star): Ditto.
19031         (dm_type_long_star): Ditto.
19032         (dm_type_unsigned_int): Ditto.
19033         (dm_type_void): Ditto.
19034         (dm_type_void_star): Ditto.
19035         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
19036         Probe the gdb demangler and set variables to accommodate
19037         formatting differences.
19038         (info_func_regexp): New function.  Same as info_func, but
19039         matches against a regexp.
19040         (info_func): Match against a literal string.
19041         (print_addr_2): New function.  Match against a literal string,
19042         which can be different from the input to gdb.
19043         (print_addr): Simply call print_addr_2 with the same argument twice.
19044         (test_lookup_operator_functions): Use demangler formatting variables.
19045         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
19046         the tests in the same order as the C++ class declaration.
19047         (test_paddr_operator_functions): Ditto.
19048         (test_paddr_overloaded_functions): Ditto.
19049         (test_paddr_hairy_functions): Use demangler formatting variables.
19050         Add reference to gdb/19 for related tests.
19051         (do_tests): Call probe_demangler.
19052
19053 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
19054
19055         * gdb.c++/templates.cc (printf): Remove unused function definition.
19056
19057 2001-01-26  Felix Lee  <flee@redhat.com>
19058
19059         * sid.exp (sid_exit): Pass host, not target, to remote_close.
19060
19061 2001-01-25  matthew green  <mrg@redhat.com>
19062
19063         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19064         up sid.
19065         (sid_exit): Call `remote_pop_conn' after GDB is gone.
19066
19067 2001-01-25  matthew green  <mrg@redhat.com>
19068
19069         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19070         Deprecate $sid_spawn_id.
19071         (sid_exit): Remove code necessary only for `spawn.'
19072
19073 2001-01-25  matthew green  <mrg@redhat.com>
19074
19075         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19076
19077 2001-01-28  Michael Chastain  <chastain@redhat.com>
19078
19079         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19080         to call when tests fail.  It takes gdb out of the overloaded
19081         function choice menu back to the main prompt, so that the test
19082         program stays synchronized.
19083         (set_bp_overloaded): New proc to collect all the common
19084         code for setting a breakpoint on an overloaded name.  Calls
19085         take_gdb_out_of_choice_menu when needed.
19086         (menu_overload1arg): New variable to collect the repeated
19087         instances of the expected menu for an overloaded name.  Change
19088         the regular expression to handle changes in g++ type encoding:
19089         "void" can be either "void" or "", and "unsigned int" can be
19090         either "unsigned int" or "unsigned".
19091         (continue_to_bp_overloaded): Change regular expressions to handle
19092         changes in g++ type encoding.
19093         (no proc): Call take_gdb_out_of_choice_menu when needed.
19094         Remove redundant calls to "info break".  Accept either "canceled"
19095         or "cancelled".  Change regular expressions in "info break"
19096         calls to handle changes in g++ type encoding.  Give all tests
19097         unique strings.
19098
19099 2001-01-17  Ben Elliston  <bje@redhat.com>
19100
19101         * config/sid.exp: New file.
19102
19103 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
19104
19105         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19106
19107 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
19108
19109         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19110         Add a RE to accept a non-ascii char if one is ever presented.
19111
19112 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
19113
19114         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19115
19116 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
19117
19118         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19119         in regexp.  One '\' does not suffice on Linux.
19120
19121 2000-12-09  Michael Chastain  <chastain@redhat.com>
19122
19123         * gdb.base/break.exp (test_clear_command): Use a marker function
19124         rather than 'main' for the test function.  Also move this
19125         test to an execution point where the marker function names are
19126         guaranteed to be bound to functions.  (Executing tests after a
19127         'finish' from main runs into name conflicts with local names
19128         in __libc_start_main).
19129
19130 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
19131
19132         * gdb.base/finish.exp: New test for gdb's "finish" command.
19133         * gdb.base/return2.exp: New test for gdb's "return" command.
19134         * gdb.base/return2.c: New source file for above.
19135
19136 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
19137
19138         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19139         * gdb.base/miscexprs.exp: Ditto.
19140         * gdb.base/pointers.exp:  Ditto.
19141         * gdb.c++/derivation.exp: Ditto.
19142         * gdb.c++/local.exp:      Ditto.
19143         * gdb.c++/namespace.exp:  Ditto.
19144         * gdb.c++/overload.exp:   Ditto.
19145         * gdb.c++/ref-types.exp:  Ditto.
19146
19147 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
19148
19149         * gdb.base/constvars.exp: Test result of "up" command.
19150         * gdb.base/miscexprs.exp: Ditto.
19151         * gdb.base/pointers.exp:  Ditto.
19152         * gdb.base/scope.exp:     Ditto.
19153         * gdb.c++/derivation.exp: Ditto.
19154         * gdb.c++/local.exp:      Ditto.
19155         * gdb.c++/namespace.exp:  Ditto.
19156         * gdb.c++/overload.exp:   Ditto.
19157         * gdb.c++/ref-types.exp:  Ditto.
19158
19159 2000-11-22  Michael Chastain  <chastain@redhat.com>
19160
19161         * mips_pro.exp: Accept either "middle -> top -> main" or
19162         "middle -> main" in the backtrace, because gcc can optimize
19163         tail calls to jumps.  Remove setup_xfail for the hppa case.
19164         Add a comment with the original warning messages from PR 3016,
19165         which was filed in 1993, to preserve them for posterity.
19166
19167 2000-11-17  Nick Duffek  <nsd@redhat.com>
19168
19169         * lib/gdb.exp (gdb_test): Override timeout with board info.
19170
19171 2000-11-17  Nick Duffek  <nsd@redhat.com>
19172
19173         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
19174         the second kill and detach messages.
19175
19176 2000-11-17  Nick Duffek  <nsd@redhat.com>
19177
19178         * configure.in: Add AC_EXEEXT.
19179         * configure: Regenerate.
19180         * Makefile.in (just-check): Export EXEEXT.
19181         * lib/gdb.exp ($EXEEXT): Import from environment.
19182         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
19183         expect "maint dump-me" on Cygwin.
19184         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19185         $EXEEXT.
19186
19187 2000-11-17  Nick Duffek  <nsd@redhat.com>
19188
19189         * gdb.base/break.exp: Test backtrace and finish from called
19190         function on all platforms, not just HP-UX.
19191
19192 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
19193
19194         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19195         code from gdb_target_monitor, so it can be used independantly
19196         for gdbserver.  Also comment out an unnecessary PUTS.
19197
19198 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
19199
19200         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19201         * gdb.base/corefile.exp: Expect the message "Program is being
19202         debugged already" when we send the "corefile" command, since
19203         the preceeding gdb_load may have connected gdb to a remote target.
19204         * gdb.base/display.exp: Disable hardware watchpoints if new
19205         board info variable "no_hardware_watchpoints" is true.
19206         Replace single-letter commands with more readable ones.
19207         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19208         if new board info variable "no_hardware_watchpoints" is true.
19209         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19210         to see if stdio (printf) testing is possible.
19211         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19212         board info variable "no_hardware_watchpoints" is true.  Use new
19213         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19214
19215 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
19216
19217         From Orjan Friberg  <orjanf@axis.com>:
19218         * gdb.base/printcmds.exp: Escape curly braces followed by a number
19219         in array print pattern match.
19220
19221 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
19222
19223         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19224         spelling "cancelled" to U.S. spelling "canceled" to match changes
19225         made to gdb.
19226         * gdb.c++/ovldbreak.exp: Ditto.
19227
19228 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
19229
19230         * gdb.base/callfuncs.c (main):  Moved to end of file, call
19231         t_double_values to initialize the FPU before inferior calls are made.
19232         * gdb.base/callfuncs.exp:  Test for register preservation after calling
19233         inferior functions.  Add tests for continuining, finishing and
19234         returning from a stop in a call dummy.
19235
19236 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
19237
19238         * gdb.base/commands.exp: Break up long lines, and re-indent.
19239
19240 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
19241
19242         * config/gdbserver.exp:  Rewritten from the ground up, to make it
19243         compatible with the current dejagnu tree, and to make it work with
19244         the new "gdbserver" in libremote.
19245
19246 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
19247
19248         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19249         * gdb.base/varargs.exp: Skip entire test if no printf support.
19250         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19251         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19252
19253 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
19254
19255         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
19256         no floating point support.
19257         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
19258         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19259         * gdb.base/call-rt-st.exp: Ditto.
19260         * gdb.base/call-strs.exp: Ditto.
19261
19262 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
19263
19264         * gdb.base/sizeof.c: include <stdio.h>.
19265
19266         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19267         'finish', otherwise uncaptured gdb_prompt would potentially
19268         throw remaining test points out of sync.
19269
19270 2000-07-26  Scott Bambrough <scottb@netwinder.org>
19271
19272         * gdb.base/recurse.exp: Run tests for all targets.
19273         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19274         gnu-oldld case on ARM.
19275         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19276         for ARM targets.
19277
19278 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
19279
19280         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19281         * gdb.java/configure: Rebuild.
19282
19283 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
19284
19285         * gdb.java/jv-exp.exp: New file.
19286
19287 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
19288
19289         * configure: Rebuilt.
19290         * configure.in (configdirs): Add gdb.java.
19291         * gdb.java/jmisc.java: New file.
19292         * gdb.java/jmisc.exp: New file.
19293         * gdb.java/Makefile.in: New file.
19294         * gdb.java/configure: Rebuilt.
19295         * gdb.java/configure.in: New file.
19296         * lib/java.exp: New file.
19297
19298 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19299
19300         * gdb.base/exprs.exp: Test casts to a pointer including over and
19301         underflow.
19302
19303 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19304
19305         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
19306         and the compilers sizes.
19307
19308 2000-07-09  Nick Duffek  <nsd@redhat.com>
19309
19310         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19311         (use_methods): New function.
19312         (main): Call use_methods().
19313         * gdb.c++/classes.exp (test_method_param_class): New procedure.
19314         (do_tests): Call test_method_param_class.
19315
19316 2000-07-09  Nick Duffek  <nsd@redhat.com>
19317
19318         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19319         spelling.
19320         (test_enums): New procedure.  Move enum tests from end of script
19321         to here.  Set breakpoint on function name instead of line number.
19322         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19323         (enums2): New marker function.
19324         (enums1): New function.
19325         (main): Call enums1().  Move enum tests to enums1().
19326
19327 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19328
19329         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19330         compile/link program.  Update line numbers.
19331         * gdb.asm/d10v.inc: Define ``startup''.
19332         * gdb.asm/asmsrc1.s: Add definition of _start.
19333
19334 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19335
19336         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19337
19338 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19339
19340         * gdb.base/maint.exp: Add 'maint print architecture' item to output
19341         of 'help maint print' command.
19342
19343 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19344
19345         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19346         they use gdb_expect_list.
19347
19348 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19349
19350         * gdb.base/commands.exp: Use ``set remote
19351         memory-read-packet-size'' instead of ``set endian big'' to test
19352         long commands.
19353
19354 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
19355
19356         * gdb.c++/templates.exp (do_tests): Make all of these work under
19357         g++, and stop skipping them.
19358
19359         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19360         work under g++.
19361
19362         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19363         initialization.
19364
19365 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19366
19367         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19368         the regular expression: accept an (almost) arbitrary sequence of
19369         "frames-invalid" and "breakpoints-invalid" messages both before
19370         and after the "starting" message.
19371
19372 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
19373
19374         * gdb.c++/local.exp: This test has never been known to work with g++.
19375
19376 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
19377
19378         * gdb.base/annota1.exp (annotate-signal-handler-caller):
19379         Relax the regular expression a little, make it pass on Solaris 8.
19380
19381 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
19382
19383         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19384         a call, do not require that gdb stop on the line after the call.
19385         Instead, it is permissible for gdb to stop on the line of the
19386         call itself.
19387
19388 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
19389
19390         * gdb.base/break.exp (bp on small function, optimized file):
19391         Add a second pass pattern.  The behavior differs here between stabs
19392         and dwarf for one-line functions.  Stabs preserves two line symbols
19393         (one before the prologue and one after) with the same line number,
19394         but dwarf regards these as duplicates and discards one of them.
19395         Therefore the address after the prologue (where the breakpoint is)
19396         has no exactly matching line symbol, and GDB reports the breakpoint
19397         as if it were in the middle of a line rather than at the beginning.
19398
19399 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
19400
19401         * gdb.base/interrupt.exp: Make "pass" message say "send"
19402         rather than "send_gdb" (for consistancy).
19403
19404 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19405
19406         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
19407         * gdb.c++/templates.cc: Properly check for GCC version number.
19408         * lib/compiler.cc: Likewise
19409
19410 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
19411
19412         * gdb.base/break.exp: When compiled with -O2 optimization,
19413         gdb may not stop at the first line of main, due to code motion.
19414
19415 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
19416
19417         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19418         This test depends on parsing the printf output from the target.
19419         Since the sparclet stub doesn't do stdio, this will never work.
19420         * gdb.base/call-rt-st.exp: ditto.
19421         * gdb.base/call-strs: ditto.
19422
19423 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
19424
19425         * gdb.base/miscexprs.exp: make sizeof long array test portable.
19426
19427         * gdb.base/ending-run.exp: After connecting to a remote target,
19428         but before running, the target will appear to be in a random
19429         location.  Specify both a file and a line for breakpoints.
19430         Also, the function that calls main may be called 'init'
19431         rather than 'start'.
19432
19433 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19434
19435         * gdb.base/help.exp: Update output for add-symbol-file command.
19436
19437 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
19438
19439         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19440         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19441
19442 2000-04-07  J.T. Conklin  <jtc@redback.com>
19443
19444         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19445
19446         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19447
19448 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
19449
19450         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19451         values that can be represented exactly.
19452         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19453         above change, and to not check against the directory part of the source
19454         file name.
19455         (step into print_long_arg_list): Likewise.
19456         (print print_small_structs from print_long_arg_list): Likewise.
19457         (print print_long_arg_list): Likewise.
19458
19459 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19460
19461         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
19462
19463 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19464
19465         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19466
19467 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
19468
19469         * gdb.base/commands.exp (deprecated_command_test): Add test for
19470         deprecate with no arguments.
19471
19472 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
19473
19474         * gdb.base/break.exp: Add new test for setting breakpoints on
19475         optimized code so we can test breakpoints work even when function
19476         prologues may be optimized away
19477
19478 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19479
19480         From David Whedon <dwhedon@gordian.com>
19481         * gdb.base/commands.exp : Added command deprecator tests.
19482
19483 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
19484
19485        * gdb.base/help.exp: Added test for new apropos command.
19486
19487 2000-03-21  Kevin Buettner <kevinb@redhat.com>
19488
19489         * gdb.base/pointers.c (usevar): New function.
19490         (main): Make sure that global variables v_int_pointer2, rptr,
19491         and y are all referenced someplace in the program by calling
19492         usevar() on them.  [Some linkers delete symbols which are
19493         never referenced.  The space remains, but there's no way to
19494         get a (symbolic) handle on the variable from the debugger.]
19495
19496 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19497
19498         * gdb.base/printcmds.c: Add typedeffed arrays.
19499
19500         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
19501         procedure to test arrays that are typedef'd.
19502
19503 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
19504
19505         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
19506         the library directories.
19507
19508 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
19509
19510         * configure.in (configdirs): Add sub directory gdb.mi.
19511         * configure: Re-generate.
19512
19513         * gdb.mi: New directory.
19514
19515 2000-02-25  Scott Bambrough <scottb@netwinder.org>
19516
19517         * gdb.base/long_long.exp: Correct test suite failure when printing
19518         a long long value as a double on ARM platforms.
19519
19520 2000-02-16  Jim Blandy  <jimb@redhat.com>
19521
19522         * gdb.base/break.exp ("breakpoint line number"): Make sure the
19523         default source file is set properly before running this test.
19524
19525 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19526
19527         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19528         gdbtk/library directory, not in gdbtcl2.
19529
19530 2000-02-04  Jim Blandy  <jimb@redhat.com>
19531
19532         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19533         backslash from regexp pattern.
19534
19535         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19536         procedure.  Use it to run all the "continue to bp overloaded"
19537         tests.  Note that this changes the names of the tests slightly.
19538         If the breakpoint hit message includes a hex PC value, because
19539         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19540         from the real source code, still consider that a pass.
19541
19542         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19543         XFAIL here if the breakpoint message contains a hex address.  Note
19544         similar change on 1999-11-02.
19545
19546         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19547
19548         * gdb.base/ptype.exp: Establish a default source file before
19549         calling get_debug_format.
19550
19551 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19552
19553         * gdb.base/watchpoint.exp: Remove duplication of test messages.
19554
19555 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19556
19557         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19558         of successive stepi commands -- while in the prologue we should see
19559         the function entry bracket.
19560
19561 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19562
19563         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19564         reach __change_mode() when stepping through the end of main().
19565
19566 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19567
19568         * gdb.base/default.exp: Fix expected pattern.
19569         * gdb.base/help.exp: Same.
19570
19571 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19572
19573         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19574         Don't use xfail's because that affects only the following test.
19575
19576         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19577         solaris or linux.
19578
19579         * gdb.base/selftest.exp: Update to reflect changes to main.c.
19580
19581 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
19582
19583         * gdb.base/display.exp: Some yacc parsers like to say
19584         "A syntax error" rather than "A parse error".  Accept both.
19585
19586 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19587
19588         * gdb.base/default.exp: Remove OS dependent string from "target
19589         remote" test.
19590         * gdb.base/help.exp: Same for "help target remote" test.
19591
19592 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19593
19594         From Jim Kingdon <kingdon@redhat.com>:
19595
19596         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19597         prompt (cleanup rather than necessity, but still might keep output
19598         from spilling to next test).
19599
19600 2000-01-02  Fred Fish  <fnf@cygnus.com>
19601
19602         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19603         AIX, which defines them in <sys/types.h>.
19604
19605 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
19606
19607         * gdb.base/default.exp: Match arm* etc instead of arm in "info
19608         float" test.
19609
19610 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
19611
19612         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19613
19614         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19615         outermost frame disallowed".
19616
19617 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19618
19619         * gdb.base/setvar.exp: New tests for setting the value of a struct
19620         with a constant list.
19621
19622 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19623
19624         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19625         require the user to type a cast before setting the value of a struct.
19626
19627 1999-12-06  Jim Blandy  <jimb@cygnus.com>
19628
19629         * gdb.base/default.exp: Expect the new 'info float' command on
19630         all i386 platforms.
19631
19632         * gdb.threads/linux-dp.exp: Expand our ability to recognize
19633         LinuxThreads libraries that don't support debugging.
19634
19635 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19636
19637         * gdb.base/remote.c: Fill the buffer with truely random data.
19638         Change the buffer type to ``unsigned char'' to simplify size
19639         arithmetic.
19640
19641         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
19642         stub only handles 400-1 byte packets.  Verify that the download
19643         worked.
19644
19645 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19646
19647         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19648         tests, using UNRESOLVED for the untested cases.  Also, does not wait
19649         for a timeout if the prompt was received before a recognizable pattern.
19650
19651 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
19652
19653         * lib/gdb.exp (gdb_expect_list): Fix spelling.
19654
19655 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19656
19657         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19658         watchpoints.
19659
19660 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
19661
19662         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19663
19664         * gdb.c++/local.exp: Be more flexible in recognizing local class
19665         name mangling.  Don't allow horribly truncated method names.
19666         * gdb.c++/derivation.exp: Expect protected inheritance.
19667         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19668         * gdb.c++/virtfunc.exp: Likewise.
19669         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
19670         when printing a nested enum.
19671
19672 1999-11-22  Jim Blandy  <jimb@cygnus.com>
19673
19674         * gdb.base/step-test.exp: Properly await GDB's response to setting
19675         a breakpoint on the call to large_struct_by_value.
19676
19677         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19678         just because we have debug info for the `start' function.
19679
19680 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
19681
19682         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19683         "Unknown signal" messages, which indicate (on LinuxThreads) that
19684         GDB doesn't know how to debug threads on this system.  This is
19685         better than hanging while philosopher 0 dumps chatter into gdb.log.
19686
19687 1999-11-18  Tom Tromey  <tromey@cygnus.com>
19688
19689         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19690
19691 1999-11-18  Fred Fish  <fnf@cygnus.com>
19692
19693         * gdb.base/coremaker2.c: Add sample program for generating
19694         cores that is more self contained than coremaker.c.  Eventually
19695         I'll add more code to this and tie it into the testsuite.
19696
19697 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
19698
19699         * gdb.base/dollar.exp: Remove, now in gdb.hp.
19700
19701 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
19702
19703         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19704         from $srcdir/lib/.
19705         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19706         and gdb.c++/.
19707
19708         * gdb.c++/derivation.exp: remove redundant get compiler info code.
19709
19710         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19711         'continue with watch' test point.
19712
19713 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
19714
19715         Merged from p2linux-990323-branch:
19716
19717         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19718
19719 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19720
19721         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19722         {limit,fixed}''.  Test ``set download-write-size''.
19723
19724 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19725
19726         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19727         gdb_expect_list.
19728
19729 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19730
19731         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19732
19733 1999-11-03  Mark Salter  <msalter@cygnus.com>
19734
19735         * gdb.base/break.exp: Fix "stub continue" pattern.
19736
19737 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
19738
19739         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19740
19741 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
19742
19743         * gdb.base/display.exp ("finish"): Add timeout clause.
19744
19745         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19746         plain prompt clause, so this doesn't have to time out in order to
19747         fail.
19748
19749         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19750         breakpoint hit messages include an address.
19751
19752         * gdb.base/display.exp: Don't forget to escape parens in regular
19753         expressions.  Unix regexp notatation sucks.
19754
19755 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19756
19757         * gdb.base/annota1.exp: Test for annotate-signalled: change output
19758         order for 'signalled' message.
19759
19760 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
19761
19762         From Jimmy Guo  <guo@cup.hp.com>:
19763         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19764         * gdb.base/annota1.c: Add code for tests to work with.
19765
19766 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
19767
19768         * gdb.base/remote.exp: New test for remote downloading settings.
19769         * gdb.base/remote.c: New file with large .data.
19770
19771 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
19772
19773         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19774         for LinuxThreads support, merged from the Code Fusion branch.
19775
19776 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
19777
19778         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19779         containing exp_continue into a while within an expect.  Don't
19780         attempt a start more than three times.  Check return value from
19781         gdb_load.
19782
19783 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19784
19785         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19786         a pass case.
19787
19788 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
19789
19790         * gdb.base/break.c (main): Added a statement that we can step
19791         off of.
19792         * gdb.base/break.exp: Added tests for setting a breakpoint
19793         at an offset and stepping onto a breakpoint.
19794
19795 1999-10-01  Fred Fish  <fnf@cygnus.com>
19796
19797         * gdb.base/help.exp (help add-symbol-file): Update to match current
19798         gdb output.
19799
19800 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
19801
19802         * gdb.base/break.exp: Code locations are in hex, don't forget!
19803         (For HP-UX.)
19804
19805 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
19806
19807         * condbreak.exp: Use break.c as test program.
19808         * condbreak.c: Remove, redundant with break.c.
19809
19810 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
19811
19812         * config/monitor.exp (gdb_target_monitor): Disable X- and
19813         Z-packets if the target needs it.
19814
19815 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
19816
19817         * gdb.c++/overload.exp: Added tests for listing overloaded
19818         functions with function pointers in the arg, explicitly calling
19819         out the version you want.
19820
19821 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
19822
19823         * long_long.exp: Add variations of test cases that work for
19824         targets with 16-bit ints and 32-bit doubles.
19825
19826 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
19827
19828         * break.c (main): Compare a possibly-uninitialized argc with an
19829         unlikely value that fits in 16 bits.
19830
19831 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
19832
19833         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19834         0xfeeb, don't want negative numbers if ints are 16 bits.
19835
19836         * lib/gdb.exp (skip_cplus_tests): New proc.
19837         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19838         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19839         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19840         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19841         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19842         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19843         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19844         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19845
19846         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19847
19848 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
19849
19850         * gdb.base/corefile.exp (up): Allow a parameter to appear
19851         in the frame that we're going up to.
19852
19853         From Jim Blandy <jimb@cygnus.com>:
19854
19855         * gdb.base/default.exp (info float): Expect some output now.
19856
19857         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19858         returning floating-point values to fail on the x86.
19859         * gdb.base/callfwmall.exp (do_function_calls): Same.
19860
19861         * gdb.base/list.exp (test_listsize): Correct expectations for
19862         listing line 1 with listsize 2.  Also, listing a single line
19863         works now, as does listing three lines.  [Kevin's note: There
19864         were a number of other cases fixed too where the expectations
19865         differed...]
19866
19867 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
19868
19869         * gdb.base/selftest.exp: Add case for when version prints as
19870         constant string instead of char pointer.
19871
19872 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
19873
19874         * gdb.base/ending-run.exp: Add Solaris case for what happens when
19875         stepping out of main.
19876
19877         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19878         G++ used.
19879
19880         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19881         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19882
19883         * gdb.c++/ovldbreak.exp: Update match string in test that
19884         includes a warning of multiple breakpoints.
19885
19886 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
19887
19888         * gdb.base/display.exp: Improve precision of step-after-finish
19889         added yesterday.
19890
19891         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19892         test.
19893
19894         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19895         configs when using G++, not just hppa*.
19896
19897 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19898
19899         * gdb.base/async.c: New file.
19900         * gdb.base/async.exp: New file.
19901
19902 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
19903
19904         * gdb.base/break.exp: Tweak PA specific tests to properly handle
19905         PA64.
19906
19907 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
19908
19909         * gdb.base/display.exp: "finish" can leave us mid-line on many
19910         targets, deal with it.  Add a small constant to main, instead of
19911         1000 since main+1000 may not be a valid address in the target.
19912
19913         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19914         on hpux11.
19915
19916         * gdb.base/attach.exp: Handle another hpux11 error message variant
19917         when attaching to a process that does not exist.
19918
19919 1999-08-19  J.T. Conklin  <jtc@redback.com>
19920
19921         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19922         characters in 'continue to 1241' test.
19923
19924 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
19925
19926         * gdb.base/call-ar-st.exp: Add a shorter match case for the
19927         stop in print_long_arg_list, define and use a whitespace
19928         variable in print_small_structs test, add an XFAIL for Solaris.
19929         * gdb.base/dbx.exp: XFAIL func commands until somebody is
19930         interested enough to fix.
19931
19932 1999-08-13  Keith Seitz  <keiths@cygnus.com>
19933
19934         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19935         (dbx_gdb_load): Remove. Use gdb_load instead, since that
19936         proc knows about targets other than the natives.
19937         (test_assign): Use "gdb_run_cmd" to "run" the target.
19938         Check that we've actually hit the breakpoint at main.
19939         When we attempt to assign a value to a local variable, check
19940         that the variable is in the current scope, i.e., don't use
19941         a test with an empty result.
19942
19943 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
19944
19945         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19946         command.
19947
19948 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
19949
19950         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19951         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19952         gdb.compat, gdb.threads-hp.
19953         gdb.hp/configure, gdb.hp/configure.in: New files.
19954         gdb.hp/Makefile.in: Recurse into new subdirs.
19955         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19956         gdb.hp/gdb.objdbg: New directory, tests for debugging info
19957         in object files.
19958         gdb.hp/tools: New directory, aux tools for HP-specific tests.
19959
19960 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
19961
19962         * gdb.base/display.exp: Help expect by putting a newline in the
19963         funky printf, remove a bogus p/a test.
19964
19965 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
19966
19967         * gdb.base/display.exp: Make sure that when we say 'run', we are
19968         connected to the target. This is necessary when running not
19969         natively.
19970
19971 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
19972
19973         * gdb.base/step-test.exp: Removed some extraneous messages.
19974
19975         * gdb.base/long_long.exp: Don't run memory examination tests
19976         on little-endian targets (they will need a different set of
19977         results to match).
19978
19979 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
19980
19981         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19982         until somebody decides to fix GDB.
19983
19984         * gdb.base/long_long.c: Stop compiler complaint by specifying long
19985         constant as "ULL".
19986         * gdb.base/long_long.exp: Loosen x/c test, add partial result
19987         matches for a couple x/2 commands.
19988
19989 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
19990
19991         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19992         by merging in ref-types2 tests.
19993         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19994
19995         From Jimmy Guo <guo@cup.hp.com> and others at HP:
19996         * gdb.c++/Makefile.in: Add standard actions.
19997         (EXECUTABLES): Rename from PROGS, update list.
19998         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19999         from gdb.hp.
20000         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20001         foo and bar locals.
20002         * gdb.c++/anon-union.exp: Fix tests to match.
20003         * gdb.c++/classes.exp: Run if HP compiler used, add extra
20004         expect matches to handle output variations.
20005         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20006         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
20007         output, add HP alternatives for new and delete prints.
20008         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
20009         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
20010         * gdb.c++/demangle.exp: Use $style when reporting failure.
20011         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20012         * gdb.c++/inherit.exp: Run if HP compiler used, add some
20013         match alternatives.
20014         * gdb.c++/local.exp: Add match alternatives or xfails for HP
20015         compilers.
20016         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20017         * gdb.c++/method.exp: Add match alternatives.
20018         * gdb.c++/misc.cc: Add bool types.
20019         * gdb.c++/misc.exp: Add tests for bool types.
20020         * gdb.c++/overload.exp: Add xfails.
20021         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20022         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20023         add some more template parameter tests (only for HP currently).
20024         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20025         * gdb.c++/virtfunc.cc: Add return type and value for main.
20026         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20027         match alternatives.
20028
20029 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20030
20031         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20032
20033 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
20034
20035         * gdb.base/signals.exp: Don't expect getting a backtrace from
20036         within a signal handler to fail on Linux.
20037
20038 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
20039
20040         From Jimmy Guo <guo@cup.hp.com> and others at HP:
20041         * lib/gdb.exp: Remove some gratuitious semicolons.
20042         (delete_breakpoints): Increase timeout.
20043         (gdb_expect): Add -notransfer option.
20044         (gdb_test): Use -notransfer option.
20045         (get_compiler_info): Add f77 case.
20046         (get_compiler): New proc, split out from gdb_preprocess, add f77
20047         case.
20048         (gdb_preprocess): Call get_compiler.
20049
20050         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20051         * gdb.base/attach.exp, gdb.base/display.exp,
20052         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20053         gdb.base/long_long.exp, gdb.base/printcmds.exp,
20054         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20055         third arg to gdb_test.
20056         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20057         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20058         HP-UX xfails, add others.
20059         * gdb.base/completion.exp: Reflect name change of self-test.
20060         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20061         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20062         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20063         HP failure number.
20064         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20065         useless HP-UX 10.30 references.
20066         * gdb.base/maint.exp: Loosen matches.
20067         * gdb.base/pointers.c (main): Declare more_code.
20068         * gdb.base/pointers.exp: Match on output of a `next'.
20069         * gdb.base/structs.c: Add prototypes.
20070         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20071         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20072
20073 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20074
20075         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20076         command.
20077
20078 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20079
20080         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20081         Fix run to main failures. Watchpoint can be hardware watchpoint.
20082
20083         * gdb.base/annota1.exp: Clean up some more, in case printf has
20084         debug info.  Deal with lack of signal hanlder info in stack.
20085
20086         From Jim Kingdon  <kingdon@redhat.com>:
20087         * gdb.base/annota1.exp: If printf has debug info, deal with it.
20088
20089 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
20090
20091         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20092         gdb.base/foll-vfork.exp: Don't run for crosses.
20093
20094 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20095
20096         * gdb.base/configure.in: Check for gdbvars.exp instead of
20097         a1-selftest.exp.
20098         * gdb.base/configure: Re-generate.
20099
20100 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
20101
20102         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20103         in trying to run first and name is too long.
20104
20105         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20106         pointers2.c and pointers2.exp, respectively.
20107         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20108         doschk happier.
20109
20110 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
20111
20112         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20113         callfuncs2.c and callfuncs2.exp.
20114
20115         * gdb.base/list.exp: Remove mistaken xfails.
20116         * gdb.base/list0.h: Add optional prototypes.
20117
20118 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
20119
20120         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20121         calling malloc.
20122         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20123         * ptype.exp: Move test for get_debug_format to before its first
20124         use.
20125
20126 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20127
20128         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20129         * gdb.base/annota2.cc, annota2.exp: Move from here.
20130         * gdb.c++/annota2.cc, annota2.exp: To here.
20131         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20132
20133 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20134
20135         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20136         a consistent format.
20137
20138 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
20139
20140         From Jimmy Guo <guo@cup.hp.com> and others at HP:
20141         * lib/gdb.exp (get_compiler_info): Add detection for assorted
20142         HP compilers, also set the globals $true and $false.
20143
20144         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20145         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20146         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20147         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20148         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20149         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20150         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20151         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20152         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20153         whatis.c} Add C++ compatible function definitions and return
20154         types, add includes for library functions.
20155         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20156         * gdb.base/step-test.c (myglob): Rename from glob.
20157         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20158         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20159         files, move here from gdb.hp.
20160         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20161         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20162         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20163         Adjust line numbers in regexps.
20164
20165         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20166         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20167         instead of 0/1.
20168
20169         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20170         foll-vfork.exp: New files, move here from gdb.hp.
20171         * gdb.base/page.exp: New file, test of pagination command.
20172
20173         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20174         recursion test.
20175         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20176
20177         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
20178         gdb.base/solib.exp: Fix compiler invocation process.
20179
20180         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
20181         HP-UX 11, turn off overload resolution explicitly.
20182         * gdb.base/commands.exp: Set argument list explicitly, add
20183         watchpoint test.
20184         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20185         them work.
20186         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20187         expressions properly.
20188         * gdb.base/corefile.exp: Loosen the match slightly.
20189         * gdb.base/default.exp: Allow "Error accessing memory" message
20190         also.
20191         * gdb.base/display.exp: Skip over x/0 j if PA64.
20192         * gdb.base/funcargs.exp: Add xfails for HP-UX.
20193         * gdb.base/interrupt.exp: Ditto.
20194         * gdb.base/langs.exp: Add symbolic matches governed by compiler
20195         in use.
20196         * gdb.base/list.exp: Add xfails for HP-UX.
20197         * gdb.base/long_long.exp: Refine some of the numeric matches.
20198         * gdb.base/mips_pro.exp: Xfail on HP-UX.
20199         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20200         * gdb.base/nodebug.exp: Succeed on more varieties of output.
20201         * gdb.base/opaque.exp: Remove some HP-UX xfails.
20202         * gdb.base/ptype.exp: Succeed on more varieties of output.
20203         * gdb.base/scope.exp: Add xfails for HP-UX.
20204         * gdb.base/sect-cmd.exp: Add more cases.
20205         * gdb.base/setvar.exp: Add xfails for HP-UX.
20206         * gdb.base/shlib-call.exp: Loosen some matches slightly.
20207         * gdb.base/signals.exp: Match on void symbolically.
20208         * gdb.base/step-test.exp: Add case for PA64.
20209         * gdb.base/term.exp: Add exit and restart.
20210         * gdb.base/twice.exp: Clean up after self.
20211         * gdb.base/varargs.exp: Disable overload resolution explicitly.
20212         * gdb.base/whatis.exp: Allow more ways to pass tests.
20213
20214         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
20215         no longer useful.
20216
20217 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20218
20219         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
20220         list of patterns.
20221         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
20222         print_double_array(double_array)", "continuing to breakpoint
20223         1018", "print print_double_array(array_d)" and "continuing to
20224         1034" tests.
20225
20226 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
20227
20228         * Makefile.in: Add empty html and install-html targets.
20229
20230 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
20231
20232         * config/mt-*: Remove, these haven't been used since 1996.
20233
20234 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
20235
20236         * gdb.base/call-strs.c, gdb.base/ending-run.c,
20237         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
20238         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20239
20240 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
20241
20242         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20243         simpler match case for the ptype of the big class.
20244
20245 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20246
20247         * gdb.exp: Fix test for gdb_prompt existence.
20248
20249 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20250
20251         * gdb.exp (gdb_test): Add fail after calls to perror.
20252
20253 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20254
20255         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20256
20257 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20258
20259         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20260
20261 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20262
20263         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
20264         malloc() is linked in.
20265
20266 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
20267
20268         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20269         step at end.
20270
20271         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20272
20273 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20274
20275         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
20276
20277 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
20278
20279         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20280         * gdb.base/mips_pro.exp: Likewise.
20281
20282 1999-06-02  Keith Seitz  <keiths@cygnus.com>
20283
20284         * gdb.c++/templates.cc: Change all "new" operators to throw
20285         an exception.
20286         * gdb.c++/cplusfuncs.cc: Likewise.
20287
20288         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20289
20290 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
20291
20292         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20293         * gdb.base/ending-run.exp: When stepping out of main, accept a
20294         step into an arbitrary assembler file.
20295
20296 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20297
20298         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20299         "breakpoint-invalid" to be printed.
20300         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20301         number of "frames-invalid" and "breakpoint-invalid" to be printed.
20302         * gdb.base/annota2.cc: Initialize a.x to 0.
20303
20304 1999-05-17  Keith Seitz  <keiths@cygnus.com>
20305
20306         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20307         when "skip_float_tests" set.
20308         Ditto for "print print_double_array(array_d)", "print print_small_structs",
20309         "print print_ten_doubles", and "step into print_long_arg_list".
20310         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20311         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20312         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20313         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20314         "skip_float_tests" is set.
20315         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20316         when "skip_float_tests" set.
20317
20318 1999-05-06  Keith Seitz  <keiths@cygnus.com>
20319
20320         * gdb.base/annota2.cc: Include stdio.h.
20321
20322 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
20323
20324         * gdb.base/crossload.exp: Remove, this has been disabled ever
20325         since BFD stopped including all targets, and cross-GDB gets
20326         plenty of testing anyway.
20327         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20328         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20329         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20330         * gdb.base/README: Remove, was doc for this.
20331         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20332         needed.
20333
20334 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20335
20336         * gdb.base/call-ar-st.exp: Fix one regular expression in test
20337         output.
20338
20339         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20340         * gdb.base/annota2.exp: New file. More annotation tests.
20341         * gdb.base/annota1.c: New file. Source file for annota1.exp.
20342         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20343
20344 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
20345
20346         * config/cfdbug.exp: New file.
20347
20348 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
20349
20350         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20351         Marcus Daniel's and Dale Hawkins's demangler crashes.
20352
20353         * gdb.c++/demangle.exp (test_gnu_style_demangling,
20354         test_lucid_style_demangling, test_arm_style_demangling,
20355         test_hp_style_demangling): Try Tom Tromey's core-dumping
20356         identifier under each demangling style.
20357
20358 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20359
20360         * gdb.c++/demangle.exp: Include the current demangling style
20361         in all test names.
20362         (current_demangling_style): New global variable.
20363         (set_demangling_style, test_demangling_core, test_demangling,
20364         test_demangling_exact): New functions.
20365         (test_gnu_style_demangling, test_lucid_style_demangling,
20366         test_arm_style_demangling, test_hp_style_demangling): Use those,
20367         instead of calling gdb_test and gdb_test_exact directly.
20368         (catch_demangling_errors): New function, which reports errors
20369         signalled by the demangling test functions in an orderly way.
20370         (do_tests): Use catch_demangling_errors.
20371
20372 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
20373
20374         * gdb.base/signals.exp (test_handle_all_print): Use () for
20375         grouping in expressions, not {}.
20376
20377         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
20378         initialized yet.
20379
20380 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
20381
20382         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20383         are listed.
20384
20385 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
20386
20387         * gdb.stabs/weird.exp: Test for CC being defined before
20388         looking at its value.
20389
20390 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
20391
20392         * gdb.base/call-ar-st.exp: Remove stray '#'.
20393         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20394         "short int" and "long int".
20395         * gdb.c++/overload.cc: Cast the string added in the previous
20396         change, to mollify finicky HP compiler.
20397         * gdb.hp/reg-test.exp (testfile): Fix file name.
20398         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20399
20400         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20401         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20402         alternate form of enum ptype.
20403
20404 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
20405
20406         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20407         * gdb.hp/*.exp: Change all to run compiler probe only after
20408         passing skip_hp_tests, so as not to waste time on guaranteed
20409         failure.
20410
20411         * gdb.c++/overload.cc: Pass string instead of char addr, always
20412         init ccpfoo.
20413         * gdb.c++/templates.cc: Fix syntax error.
20414
20415 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20416
20417         * gdb.base/commands.exp: Add test for correct position of '>'
20418         when issuing the 'commands' command after a 'while' or 'if'
20419         command.
20420
20421 1999-03-18  James Ingham  <jingham@cygnus.com>
20422
20423         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20424
20425         * gdb.c++/method.exp: It was testing an uninitialized int on the
20426         stack and assuming it was positive.
20427
20428         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20429
20430         * gdb.base/step-test.exp: Catch a case where finish is broken and
20431         keep it from killing the rest of the tests.
20432         Use gdb_continue_to_end.
20433
20434         * gdb.base/sigall.exp: use gdb_continue_to_end.
20435
20436         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20437
20438         * gdb.base/display.exp: use runto_main, not run.
20439
20440         * gdb.base/default.exp: Check for the current error message in the
20441         r abbreviation test.
20442         Add strongarm to the targets that know info float.
20443
20444         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20445         run which doesn't work with monitors.
20446
20447         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20448
20449         * gdb.base/break.exp: use the gdb_continue_to_end proc.
20450
20451         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20452         program.  Traps the case (in Cygmon) when the program never really
20453         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
20454         more places, so I used my name.  Sorry Mark...
20455
20456         * config/monitor.exp (gdb_target_monitor): added another
20457         target_info parameter: remotebinarydownload.  This will set the
20458         remotebinarydownload flag if this is causing some boards trouble.
20459
20460 1999-03-18  Mark Salter  <msalter@cygnus.com>
20461
20462         * lib/gdb.exp (continue_to_exit): New function.
20463
20464         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20465         * gdb.base/ending-run.exp: Ditto.
20466         * gdb.base/step-test.exp: Ditto.
20467
20468 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
20469
20470         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20471         (suggested by Art Haas <ahaas@neosoft.com>).
20472
20473 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
20474
20475         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
20476
20477 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
20478
20479         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
20480         descriptions of types (short unsigned int vs unsigned short, etc).
20481
20482 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
20483
20484         * gdb.base/call-strs.exp: Don't assume that `step' will step over
20485         a call to strlen; sometimes we do have sources.
20486
20487 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20488
20489         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
20490         character, so GDB won't print garbage after its end.
20491
20492         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20493         breakpoint there instead.  Sometimes GCC emits memcpy to handle
20494         the large structures being passed by value, so we step into that
20495         instead of sum_array_print, which obscures what we're really testing.
20496         * gdb.base/step-test.exp: However, we do want a test that notices
20497         the bizarre steps into memcpy, so do that here.  Add check for
20498         stepping into function calls that pass large structures by value.
20499         ("Is that a noun clause, or are you just happy to see me?")
20500         Remove all references to specific line numbers.
20501         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20502         New type and function.
20503         (main): Call large_struct_by_value, passing it a large struct by value.
20504         * lib/gdb.exp (gdb_get_line_number): New function.
20505
20506         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20507         more portable.
20508
20509 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
20510
20511         * lib/gdb.exp: Doc fixes.
20512
20513 1999-03-05  Nick Clifton  <nickc@cygnus.com>
20514
20515         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20516
20517 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
20518
20519         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20520         commands.  They're not germane to this test, and they don't work
20521         that way on remote targets.
20522
20523 1999-03-01  James Ingham  <jingham@cygnus.com>
20524
20525         * Changelog entries merged over from gdb development branch.
20526
20527        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
20528
20529                * lib/gdb.exp (gdbtk_analyze_results): Generic function
20530                for outputting results of test run.
20531
20532         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
20533
20534                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20535
20536 1999-02-25  Felix Lee  <flee@cygnus.com>
20537
20538         * lib/gdb.exp (debug_format): initialize
20539
20540 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
20541
20542         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20543         * gdb.base/call-rt-st.c: Ditto.
20544
20545 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
20546
20547         * gdb.threads/pthreads.exp (horiz): New variable.
20548         (test_startup): Fix regexps that capture thread numbers.
20549
20550 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
20551
20552         * gdb.base/smoke.exp: Disambiguate two test case names (both
20553         called ``print'').
20554
20555 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20556
20557         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20558         compilation.
20559
20560 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20561
20562         * gdb.base/miscexprs.exp: Change patterns to match GDB's
20563         actual output formatting.
20564         * gdb.base/smoke.exp: GDB removes leading 0's.
20565         * gdb.base/volatile.exp: Don't check type of remuneration;
20566         that variable is no longer defined in constvars.c.
20567         * gdb.base/step-test.c (main): Exit with explicit exit code.
20568         * gdb.base/step-test.exp: Remove two nexti checks--they are
20569         not portable.
20570
20571 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
20572
20573         * gdb.base/help.exp ("help delete display"): Fix test to match
20574         gdb's output.
20575
20576         * gdb.base/long_long.c (known_types): Initialize values to zero.
20577         * gdb.base/long_long.exp: Step one more line
20578         so 'dec' is initialized in "get to known place".  GDB removes
20579         leading zeros.  Explicitly ask for hex formatting.  Use
20580         unique test case names.
20581
20582 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20583
20584         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20585
20586         * gdb.c++/method.exp: Add missing close brace.
20587
20588 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
20589
20590         * gdb.base/maint.exp: Use 'set height 0' to disable page
20591         prompting, not 'set height 400'.
20592
20593         Fix a bunch of timeouts.
20594         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20595         four separate tests, so expect doesn't take forever to match a ton
20596         of text against a regexp with lots of .* forms.
20597         ("maint print psymbols", "maint print symbols"): Make some of
20598         these greps more selective, so that expect doesn't try to wade
20599         through huge piles of output and time out.
20600
20601         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20602
20603         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20604         tests: one which doesn't expect shlib events to be reported, and
20605         another which does, but is XFAIL for all platforms other than
20606         HP/UX.
20607
20608         * gdb.base/break.exp: Teach the test suite that the `catch
20609         fork', `catch vfork', and `catch exec' commands produce error
20610         messages on platforms that don't provide these features.
20611
20612 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
20613
20614         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20615         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20616         (shortening names from solib_threshold.exp etc), won't run on
20617         anything but HP-UX for the foreseeable future.
20618         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20619         reflect move.
20620
20621 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
20622
20623         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20624         gdb.trace/Makefile.in (clean): Remove all test executables.
20625
20626 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
20627
20628         * gdb.base/shlib-call.exp: add test cases to verify that gdb
20629         successfully re-sets breakpoints in shared libraries.
20630         * gdb.base/shmain.c (main): return 0, don't fall off the end.
20631
20632 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20633
20634         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20635         and compiled w/o GCC.
20636
20637         * gdb.hp/watch-cmd.exp: ditto.
20638
20639         * gdb.hp/watch-hp.exp: ditto.
20640
20641         * gdb.hp/xdb1.exp: ditto.
20642
20643         * gdb.hp/xdb2.exp: ditto.
20644
20645         * gdb.hp/dbx.exp: ditto.
20646
20647 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
20648
20649         * constvars.c: Remove C++-isms.
20650         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20651         with GCC.
20652
20653 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
20654
20655         The following changes are part of the HP merge.
20656
20657         * gdb.base/break.exp: new tests to verify that catchpoints for
20658         fork, vfork, and exec don't trigger inappropriately.
20659
20660         * gdb.base/opaque.exp: compile one file at a time, then link.
20661
20662         * gdb.base/signals.exp: be more restrictive about which hppa
20663         systems receive a setup_xfail.  new tests.
20664
20665         * gdb.base/solib_threshold.build: new file.
20666         * gdb.base/solib_threshold.exp: new file.
20667         * gdb.base/solib_threshold.link_opts: new file.
20668         * gdb.base/solib_threshold.mk: new file.
20669         * gdb.base/gen_solib_threshold.c: new file.
20670
20671         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20672         tests.  New tests for enums inside classes.
20673
20674         * gdb.c++/compiler.cc: indicate support of template debugging.
20675
20676         * gdb.c++/demangle.exp: run hp style demangling tests.
20677
20678         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20679         tests.
20680
20681         * gdb.c++/misc.cc: changes to support new tests.
20682
20683         * gdb.c++/templates.cc: changes to support HP's compiler; changes
20684         to support new tests.
20685
20686         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20687         gcc, then skip these tests.
20688
20689 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
20690
20691         The following files are part of the HP merge; some had longer
20692         names at HP, but have been renamed to be no more than 14
20693         characters in length.
20694
20695         * gdb.hp/ambiguous.cc: new file.
20696         * gdb.hp/ambiguous.exp: new file.
20697         * gdb.hp/attach.exp: new file.
20698         * gdb.hp/attach2.exp: new file.
20699         * gdb.hp/classes-hp.exp: new file.
20700         * gdb.hp/ctti.exp: new file.
20701         * gdb.hp/ctti-add.cc: new file.
20702         * gdb.hp/ctti-add1.cc: new file.
20703         * gdb.hp/ctti-add2.cc: new file.
20704         * gdb.hp/ctti-add3.cc: new file.
20705         * gdb.hp/dbx.exp: new file.
20706         * gdb.hp/exception.cc: new file.
20707         * gdb.hp/exception.exp: new file.
20708         * gdb.hp/foll-exec.c: new file.
20709         * gdb.hp/foll-exec.exp: new file.
20710         * gdb.hp/foll-fork.c: new file.
20711         * gdb.hp/foll-fork.exp: new file.
20712         * gdb.hp/foll-vfork.c: new file.
20713         * gdb.hp/foll-vfork.exp: new file.
20714         * gdb.hp/inherit-hp.exp: new file.
20715         * gdb.hp/more-steps.exp: new file.
20716         * gdb.hp/namespace.cc: new file.
20717         * gdb.hp/namespace.exp: new file.
20718         * gdb.hp/optimize.exp: new file.
20719         * gdb.hp/pxdb.c: new file.
20720         * gdb.hp/pxdb.exp: new file.
20721         * gdb.hp/quicksort.exp: new file.
20722         * gdb.hp/reg-test.exp: new file.
20723         * gdb.hp/reg-test.s: new file.
20724         * gdb.hp/sized-enum.c: new file.
20725         * gdb.hp/sized-enum.exp: new file.
20726         * gdb.hp/start-stop.exp: new file.
20727         * gdb.hp/templ-hp.cc: new file.
20728         * gdb.hp/templ-hp.exp: new file.
20729         * gdb.hp/thr-lib.c: new file.
20730         * gdb.hp/thr-lib.exp: new file.
20731         * gdb.hp/thr-lib.h: new file.
20732         * gdb.hp/thr-liblib.c: new file.
20733         * gdb.hp/virtfun-hp.c: new file.
20734         * gdb.hp/virtfun-hp.exp: new file.
20735         * gdb.hp/watch-cmd.exp: new file.
20736         * gdb.hp/watch-hp.exp: new file.
20737         * gdb.hp/xdb1.exp: new file.
20738         * gdb.hp/xdb2.exp: new file.
20739         * gdb.hp/xdb3.exp: new file.
20740
20741 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
20742
20743         The following files are part of the HP merge; some had longer
20744         names at HP, but have been renamed to be no more than 14
20745         characters in length.
20746
20747         * gdb.base/ss.h: new file.
20748         * gdb.base/call-ar-st.c: new file.
20749         * gdb.base/call-ar-st.exp: new file.
20750         * gdb.base/call-rt-st.c: new file.
20751         * gdb.base/call-rt-st-exp: new file.
20752         * gdb.base/call-strs.exp: new file.
20753         * gdb.base/ena-dis-br.exp: new file.
20754         * gdb.base/environ.exp: new file.
20755         * gdb.base/long_long.exp: new file.
20756         * gdb.base/sect-cmd.exp: new file.
20757         * gdb.base/shlib-cl2.exp: new file.
20758         * gdb.base/smoke.exp: new file.
20759         * gdb.base/so-impl-ld.c: new file.
20760         * gdb.base/so-impl-ld.exp: new file.
20761         * gdb.base/so-indr-cl.c: new file.
20762         * gdb.base/so-indr-cl.exp: new file.
20763         * gdb.base/varargs.exp: new file.
20764         * gdb.base/volatile.exp: new file.
20765         * gdb.base/whatis-exp.exp: new file.
20766         * gdb.base/display.exp: new file.
20767         * gdb.c++/derivation.exp: new file.
20768         * gdb.c++/local.exp: new file.
20769         * gdb.c++/member-ptr.exp: new file.
20770         * gdb.c++/overload.exp: new file.
20771         * gdb.c++/ovldbreak.exp: new file.
20772         * gdb.c++/ref-types.exp: new file.
20773         * gdb.c++/ref-types2.exp: new file.
20774         * gdb.c++/userdef.exp: new file.
20775
20776 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
20777
20778         * gdb.base/default.exp: Reflect wording change in remote.c.
20779
20780 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
20781
20782         * gdb.base/help.exp: Update to reflect current text.
20783
20784 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
20785
20786         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20787         they're stack variables and contain garbage.
20788         * gdb.c++/anon-union.exp: new file.
20789
20790         The following changes were made by David Taylor
20791         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20792         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20793         in changes by HP.
20794
20795         * gdb.base/bitops.exp: new file.
20796         * gdb.base/default.exp: change expected messages for catch and
20797         info catch tests to reflect HP merge changes.
20798         * gdb.base/enable-disable-break.exp
20799         * gdb.base/ending-run.c: new file.
20800         * gdb.base/long_long.c: new file.
20801         * gdb.base/maint.exp: new file.
20802         * gdb.base/pointers2.exp: new file.
20803         * gdb.base/shlib-call2.exp: new file.
20804         * gdb.base/solib.exp: new file.
20805         * gdb.base/step-test.c: new file.
20806         * gdb.c++/anon-union.cc: new file.
20807         * gdb.c++/local.cc: new file.
20808         * gdb.c++/member-pointer.cc: new file.
20809         * gdb.c++/method.cc: new file.
20810         * gdb.c++/ref-types.cc: new file.
20811         * gdb.c++/ref-types2.cc: new file.
20812         * gdb.c++/userdef.cc: new file.
20813
20814         * gdb.base/scope.exp: compile one file at a time, then link.
20815         * gdb.base/langs.exp: ditto.
20816         * gdb.base/list.exp: ditto.
20817
20818 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
20819
20820         The following changes were made by David Taylor
20821         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20822         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20823         in changes by HP.
20824
20825         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20826         skip tests.  When compiling pass c++ flag to gdb_compile.
20827         * gdb.c++/
20828
20829         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20830         test for on hppa*-*-hpux*; use args to see if c++ was specified.
20831         (skip_hp_tests): new function.
20832         (gdb_preprocess): new function.
20833
20834         * configure.in (hpdir): decide whether to configure gdb.hp.
20835         * configure: regenerated.
20836
20837         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20838         to delete on clean.
20839         (EXECUTABLES): update to reflect new additions.
20840         * gdb.base/commands.exp: update message expected.
20841         * gdb.base/default.exp: add copyright notice.
20842         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20843         * gdb.base/help.exp: update messages to reflect current text.
20844         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20845         targets for recurse tests.
20846         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20847         skip this file.
20848
20849         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20850         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20851         compilation.
20852         * gdb.c++/misc.exp: ditto.
20853         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20854         run the tests.  tell gdb_compile that it's a c++ compilation.
20855
20856         * gdb.threads/pthreads.exp: fix typo in message.
20857
20858         * gdb.base/all-bin.exp: new file.
20859         * gdb.base/arithmet.exp: new file.
20860         * gdb.base/assign.exp: new file.
20861         * gdb.base/completion.exp: new file.
20862         * gdb.base/cond-expr.exp: new file.
20863         * gdb.base/condbreak.exp: new file.
20864         * gdb.base/define.exp: new file.
20865         * gdb.base/dollar.exp: new file.
20866         * gdb.base/environment.exp: new file.
20867         * gdb.base/eval-skip.exp: new file.
20868         * gdb.base/jump.exp: new file.
20869         * gdb.base/logical.exp: new file.
20870         * gdb.base/pointers.exp: new file.
20871         * gdb.base/relational.exp: new file.
20872         * gdb.base/section_command.exp: new file.
20873         * gdb.base/whatis-expr.exp: new file.
20874
20875         * gdb.base/all-types.c: new file.
20876         * gdb.base/call-array-struct.c: new file.
20877         * gdb.base/call-return-struct.c: new file.
20878         * gdb.base/call-strings.c: new file.
20879         * gdb.base/callfuncs2.c: new file.
20880         * gdb.base/condbreak.c: new file.
20881         * gdb.base/constvars.c: new file.
20882         * gdb.base/display.c: new file.
20883         * gdb.base/int-type.c: new file.
20884         * gdb.base/jump.c: new file.
20885         * gdb.base/miscexprs.c: new file.
20886         * gdb.base/pointers.c: new file.
20887         * gdb.base/pointers2.c: new file.
20888         * gdb.base/shmain.c: new file.
20889         * gdb.base/shr1.c: new file.
20890         * gdb.base/shr2.c: new file.
20891         * gdb.base/solib.c: new file.
20892         * gdb.base/solib1.c: new file.
20893         * gdb.base/solib2.c: new file.
20894         * gdb.base/varargs.c: new file.
20895         * gdb.c++/derivation.cc: new file.
20896         * gdb.c++/overload.cc: new file.
20897         * gdb.c++/ovldbreak.cc: new file.
20898         * gdb.hp/attach.c: new file.
20899         * gdb.hp/attach2.c: new file.
20900         * gdb.hp/average.c: new file.
20901         * gdb.hp/compiler.c: new file.
20902         * gdb.hp/compiler.cc: new file.
20903         * gdb.hp/execd-program.c: new file.
20904         * gdb.hp/follow-exec.c: new file.
20905         * gdb.hp/follow-fork.c: new file.
20906         * gdb.hp/follow-vfork-and-exec.c: new file.
20907         * gdb.hp/misc-hp.cc: new file.
20908         * gdb.hp/more-steps.c: new file.
20909         * gdb.hp/optimize.c: new file.
20910         * gdb.hp/quicksort.c: new file.
20911         * gdb.hp/run-hp.c: new file.
20912         * gdb.hp/start-stop.c: new file.
20913         * gdb.hp/sum.c: new file.
20914         * gdb.hp/templates-hp.cc: new file.
20915         * gdb.hp/thread-local-in-lib.c: new file.
20916         * gdb.hp/thread-local-in-lib.h: new file.
20917         * gdb.hp/thread-local-in-lib.lib.c: new file.
20918         * gdb.hp/vforked-program.c: new file.
20919         * gdb.hp/virtfunc-hp.cc: new file.
20920         * gdb.hp/watchpoint-hp.c: new file.
20921         * gdb.hp/xdb.c: new file.
20922         * gdb.hp/xdb0.c: new file.
20923         * gdb.hp/xdb0.h: new file.
20924         * gdb.hp/xdb1.c: new file.
20925
20926 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
20927
20928         The following change was made by Edith Epstein
20929         <eepstein@cygnus.com> as part of a project to merge in changes
20930         originally made by HP; HP did not create ChangeLog entries.
20931
20932         * gdb.c++/demangle.exp: changed the expected output for some
20933         ARM-style mangling -- removed second reference to datatype.
20934         For example, maint demangle __dt__11T1__pt__2_cFv
20935                      T1<char>::~T1<char>(void)
20936         becomes,
20937                      maint demangle __dt__11T1__pt__2_cFv
20938                      T1<char>::~T1(void)
20939
20940         (test_hp_style_demangling): new hp specific demangling test cases.
20941
20942 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
20943
20944         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20945         * gdb.trace/backtrace.exp: Likewise.
20946         * gdb.trace/circ.exp: Likewise.
20947         * gdb.trace/collection.exp: Likewise.
20948         * gdb.trace/deltrace.exp: Likewise.
20949         * gdb.trace/infotrace.exp: Likewise.
20950         * gdb.trace/limits.exp: Likewise.
20951         * gdb.trace/packetlen.exp: Likewise.
20952         * gdb.trace/passc-dyn.exp: Likewise.
20953         * gdb.trace/passcount.exp: Likewise.
20954         * gdb.trace/report.exp: Likewise.
20955         * gdb.trace/save-trace.exp: Likewise.
20956         * gdb.trace/tfind.exp: Likewise.
20957         * gdb.trace/tracecmd.exp: Likewise.
20958         * gdb.trace/while-dyn.exp: Likewise.
20959         * gdb.trace/while-stepping.exp: Likewise.
20960
20961 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
20962
20963         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20964
20965 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
20966
20967         From Brendan Kehoe:
20968         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20969         int return types.
20970
20971 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
20972
20973         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20974         remote dos host testing right.
20975
20976 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
20977
20978         * gdb.base/corefile.exp: remove some xfails.
20979
20980 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20981
20982         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20983         have different timestamps.
20984
20985 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20986
20987         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20988         gdb.base/default.exp: Replace "exec" with "executable".
20989
20990 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
20991
20992         * gdb.base/default.exp: Change else if to elseif from previous
20993         delta.
20994
20995 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
20996
20997         * gdb.base/default.exp: Add brace missing from previous delta.
20998
20999 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
21000
21001         * gdb.base/default.exp: Support test for info float for all
21002         varieties of arm toolchain.
21003
21004 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
21005
21006         * gdb.trace/*.exp: remove "remote_download" command.
21007
21008 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
21009
21010         * gdb.trace/*.exp: remove -gdwarf from compile.
21011
21012 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
21013
21014         * gdb.trace/configure.in(AC_INIT): typo
21015         * gdb.trace/configure: regenerated
21016
21017 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
21018
21019         * config/m68k-emc.exp: New file.
21020         * lib/<emc-support.exp trace-support.exp}: New files.
21021         * configure.in: add new test directory gdb.trace.
21022         * gdb.trace/{configure configure.in Makefile.in}: New files.
21023         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21024         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21025         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21026         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21027         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21028         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21029         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
21030
21031 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
21032
21033         * gdb.c++/classes.exp: Change all regular expressions to match
21034         arbitrary combinations of newline/carriage-return, so that they
21035         will work equally well on Unix and Windows.
21036         * gdb.c++/inherit.exp: ditto.
21037         * gdb.c++/virtfunc.exp: ditto.
21038
21039 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
21040
21041         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21042
21043 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
21044
21045         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21046         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
21047         to use a0-a3/d0-d3 as needed.
21048
21049 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
21050
21051         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21052         * gdb.disasm/am33.exp: Corresponding changes.
21053
21054 1998-07-11  Felix Lee  <flee@cygnus.com>
21055
21056         * gdb.base/callfuncs.exp: add cmp10 test.
21057         * gdb.base/callfuncs.c (cmp10): new function.
21058
21059 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
21060
21061         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21062         into two parts to get around a synchronization problem in expect.
21063
21064 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
21065
21066         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21067
21068         * configure.in: Add options for gdbtk testsuite.
21069
21070         * configure: Regenerate.
21071
21072         * gdb.gdbtk: New directory to hold gdbtk tests.
21073
21074 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
21075
21076         * gdb.fortran/types.exp:  Escape brackets in expect patterns
21077         for test_float_literal_types_accepted tests.
21078         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
21079         before run test.
21080
21081 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
21082
21083         * am33.exp: Just compile, do not link the testcase.
21084         * am33.s: Add ".am33" pseudoop to force am33 mode.
21085
21086 1998-06-25  Felix Lee  <flee@cygnus.com>
21087
21088         * gdb.base/setshow.exp: make sure $pc is sane.
21089
21090         * gdb.stabs/weird.exp: split expect patterns properly.
21091
21092 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
21093
21094         * gdb.disasm/am33.s: New disassembler testfile for the am33.
21095         * gdb.disasm/am33.exp: Run it.
21096
21097 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
21098
21099         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21100         match processing (and eliminate spurious timeouts when running).
21101
21102 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
21103
21104         * gdb.base/signals.exp (test_handle_all_print): put back Mach
21105         exception test, but conditionalize it on target [mach | gnu].
21106
21107 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
21108
21109         * gdb.base/overlays.exp: fixup compile line for linker script.
21110
21111 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
21112
21113         * gdb.fortran/types.exp: don't guess at float size.
21114
21115 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
21116
21117         * gdb.base/exprs.exp: delete test that depends on int size.
21118
21119 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
21120
21121         * config/sim.exp: Removed checks for target triplets.
21122         (gdb_target_sim): Use gdb,target_sim_options.
21123
21124 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
21125
21126         * gdb.base/reread.exp: New file.
21127         * gdb.base/reread1.c: New file.
21128         * gdb.base/reread2.c: New file.
21129
21130 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
21131
21132         * config/sim.exp: Use 'target sim -sparclite' when running
21133         SPARClite programs.
21134
21135 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
21136
21137         * gdb.base/structs2.exp: New file.
21138         * gdb.base/structs2.c: New file.
21139
21140 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
21141
21142         * gdb.asm/common.inc: New file.
21143         * gdb.asm/d10v.inc: New file.
21144         * asm-source.exp: Pass -I's to gas to find .inc files.
21145         Update line numbers in expected output.
21146         * asmsrc1.s: Rewrite.
21147         * asmsrc2.s: Rewrite.
21148         * configure.in: Create arch.inc symlink.
21149         * configure: Regenerate.
21150         * Makefile.in (distclean): Delete arch.inc.
21151
21152 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
21153
21154         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
21155         (t_enum_value2): ditto
21156         (t_enum_value3): ditto
21157         (main): ditto
21158 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
21159
21160         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
21161         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21162         change.
21163         Use gdb_test instead of send_gdb/gdb_expect sequences.
21164
21165 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
21166
21167         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21168         not void.
21169
21170 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
21171
21172         * gdb.base/branches.c: Code with lots of loops and
21173         subroutines. Used to test gdbs ability to single step through PC
21174         changes, especially to test mips-tdep.c:mips_next_pc
21175
21176 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21177
21178         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21179         more rigorous EGCS C++ error checking.
21180
21181 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21182
21183         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
21184         tests.
21185         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
21186         function when asleep.
21187         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
21188         for i*86 Linux and SVR4 signal handling problems.
21189         Remove linux xfail for `next to handler in signals_tests_1', fixed
21190         by recent infrun.c change.
21191         Limit backtrace to 10 frames to avoid timeout problems with infinite
21192         stack backtraces.
21193         Adjust expect pattern in `handle all print' test to match Apr 28 1997
21194         target.[ch] change.
21195
21196 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
21197
21198         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21199         for a newline from gdb before continuing.
21200         (default_gdb_exit): Just look for y or n.
21201         (gdb_test): Detect abnormal exit from GDB running on DOS; if
21202         it does, fail the rests of the tests in the file.
21203
21204 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
21205
21206         * config/cygmon.exp: New file.
21207
21208 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
21209
21210         * gdb.base/list.exp: Fix problem with "list default lines around
21211         main" test on remote targets.
21212
21213         * gdb.base/scope.exp: Fix problem with filelocal_bss before
21214         run test on remote targets.
21215
21216 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
21217
21218         * gdb.asm: New directory.
21219         * configure.in: Configure it.
21220         * configure: Regenerate.
21221         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21222         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21223
21224 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
21225
21226         * config/mn10300-eval.exp: New file to support MN10300 eval board.
21227
21228 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
21229
21230         * gdb.base/overlays (several files): Merge the two overlay
21231         managers into one.  Change variables (foox, barx, bazx, grbxx)
21232         back into ints but force them to load in their proper sections.
21233
21234 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21235
21236         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
21237         on-chip insn memory and IMAP1 to upper 128k.
21238         (D10VCopy): Handle memory regions crossing 16k boundaries.
21239         (D10VCopy): Transfer data in 32 bit chunks.
21240
21241 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21242
21243         * gdb.base/overlays.c (main): Exit normally when result is
21244         correct.
21245
21246         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21247         map.  Include space for printf in .text segment.
21248
21249         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21250         updated d10v memory VMA/LMA map.
21251         (D10VCopy): Call D10VTranslate.
21252
21253 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
21254
21255         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21256
21257         * gdb.base/bar.c (barx, bar): Change variable to small array so
21258         that it won't be put into the .sdata - small data -
21259         section. Update reference.
21260         * gdb.base/baz.c (bazx, baz): Ditto.
21261         * gdb.base/foo.c (foox, foo): Ditto.
21262         * gdb.base/grbx.c (grbxx, grbx): Ditto.
21263
21264         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21265         to be arrays.
21266
21267 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
21268
21269         * gdb.base/overlays.exp: fix up and get working again.
21270         Add tests for backtraces from an overlay function.
21271
21272 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
21273
21274         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21275         "calling function with watchpoint enabled".
21276
21277 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
21278
21279         * gdb.base/break.exp (test_next_with_recursion): Remove
21280         gdb_suppress_tests for d10v-*-*.
21281         * lib/gdb.exp (gdb_suppress_tests): Disable this function
21282         pending review of whether it is useful or not.
21283
21284 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
21285
21286         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21287
21288 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
21289
21290         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21291         * config/dve.exp: New file to support Densan boards.
21292
21293 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21294
21295         * gdb.base/interrupt.exp: Document problem of simulators, signals,
21296         reads and BSD.
21297
21298 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21299
21300         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21301         response.
21302
21303         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21304
21305 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21306
21307         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21308         test.
21309
21310         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21311         target_sizeof_long and target_bigendian_p.
21312         (structs_by_value, structs_by_reference): Check values according
21313         to targets word size and endianess.
21314
21315 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
21316
21317         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21318         output.
21319
21320 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
21321
21322         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21323         Update test of set args help to match source change.
21324
21325 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
21326
21327         * gdb.base/default.exp: Expect help system output to be in
21328         alphabetical order.
21329         * gdb.base/help.exp: Ditto.
21330
21331 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21332
21333         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21334         "i*86-pc-linux-gnu*".
21335         * gdb.base/interrupt.exp: Ditto.
21336         * gdb.base/corefile.exp: Ditto.
21337
21338         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21339         define vxworks when building the testcase.
21340
21341         * gdb.base/ptype.exp: Fix testnames to be unique.
21342         * gdb.base/radix.exp: Ditto.
21343         * gdb.base/term.exp: Ditto.
21344         * gdb.base/whatis.exp: Ditto.
21345         * gdb.c++/classes.exp: Ditto.
21346
21347 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
21348
21349         * gdb.base/callfuncs.exp: Fix indentation.
21350
21351         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21352         suppress_flag has been set.
21353         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21354         target feature.
21355
21356 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21357
21358         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21359         the testcase.
21360
21361         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21362         set_debug_traps() and breakpoint().
21363         * gdb.c++/misc.cc (main): Ditto.
21364         * gdb.c++/templates.cc (main): Ditto.
21365         * gdb.c++/virtfunc.cc (main): Ditto.
21366
21367 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
21368
21369         * lib/gdb.exp(gdb_step_for_stub): New function.
21370         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21371         exists, reload the executable and do a "continue" instead of
21372         doing a jump.
21373         (runto_main): Use gdb_step_for_stub.
21374
21375         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21376         tests to have unique names.
21377         * gdb.base/callfuncs.exp: Ditto.
21378         * gdb.base/commands.exp: Ditto.
21379         * gdb.base/default.exp: Ditto.
21380         * gdb.base/help.exp: Ditto.
21381         * gdb.base/list.exp: Ditto.
21382         * gdb.base/opaque.exp: Ditto.
21383         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21384         similar tests.
21385
21386         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21387         * gdb.c++/cplusfuncs.cc: Ditto.
21388         * gdb.c++/virtfunc.cc: Ditto.
21389
21390         * config/monitor.exp: Keep track of the last file we saw, rather
21391         than trying to get the info from gdb.
21392
21393         * gdb.fortran/types.exp: Move comment to previous line.
21394
21395 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
21396
21397         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21398         target mode.
21399
21400 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
21401
21402         From Bob Manson:
21403         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21404         string from GDB when it connects.
21405
21406         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21407
21408 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21409
21410         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21411         if we can't get a debug format from GDB (we may be testing an
21412         older GDB). Use a 10 second timeout when checking for the format.
21413
21414         * gdb.stabs/weird.exp: Fix quoting.
21415
21416         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21417
21418 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21419
21420         * config/arm-ice.exp: New file.
21421
21422 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21423
21424         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21425         until it has been modified to work with the new testsuite.
21426
21427         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21428         testcase won't compile, cause all of the testcases in the file to
21429         fail instead.
21430
21431         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21432         (gdb_clear_suppressed): New procedure.
21433         (gdb_stop_suppressing_tests): Only clear suppress_flag if
21434         it contains a positive value.
21435
21436 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
21437
21438         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21439
21440         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21441
21442 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
21443
21444         * lib/gdb.exp (setup_xfail_format): New function.
21445         (get_debug_format): New function to get debug format.
21446         (debug_format): New global variable to hold last value set
21447         by get_debug_format.
21448         * gdb.base/list.exp: Call get_debug_format and expect some
21449         tests to fail for DWARF 1 and COFF formats.
21450         * gdb.c++/ptype.exp: Ditto.
21451         * gdb.c++/classes.exp: Ditto.
21452         * gdb.c++/cplusfuncs.exp: Ditto.
21453         * gdb.c++/inherit.exp: Ditto.
21454         * gdb.c++/templates.exp: Ditto.
21455         * gdb.c++/virtfunc.exp: Ditto.
21456
21457 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
21458
21459         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21460         host doesn't have a currently-open connection.
21461
21462         * config/sparclet.exp: Cleanups and fixes to make it generic for
21463         any gdb stub target. Handle cases where gdb doesn't respond when
21464         interrupted in a sane fashion.
21465
21466         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
21467         same thing in a totally different way.
21468
21469         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
21470         setting "timeout".
21471         (gdb_start): We set the global gdb_prompt variable in
21472         default_gdb_init now.
21473
21474 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
21475
21476         * gdb.base/printcmds.exp: Fix "check for floating addition"
21477         regexp to accept results within approx +/- .01 of exact value.
21478         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21479
21480 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21481
21482         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
21483         properly.
21484         (gdb_expect): Add optional timeout parameter, and add timeout
21485         value to various calls.
21486         (gdb_suppress_tests): Only give one warning message per group.
21487
21488 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
21489
21490         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
21491         global variables. Handle getting a value for $timeout more
21492         gracefully.
21493
21494 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21495
21496         * lib/gdb.exp: Close connection to remote host if gdb doesn't
21497         initialize.
21498         (default_gdb_init): New procedure; allow gdb_init to be overridden
21499         by a target configuration file.
21500         (gdb_expect): Pass the timeout to remote_expect.
21501
21502         * config/monitor.exp(gdb_load): Fix typo in regexp.
21503
21504 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21505
21506         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21507
21508 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21509
21510         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21511         here. Call gdb_target_exec before rebooting the target, to make
21512         sure the connection to the target is closed.
21513         (gdb_load): Pass the name of the executable to gdb_target_monitor.
21514         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21515         Also detect "Timeout reading from remote" error.
21516
21517         * config/gdbserver.exp: Pass the executable being loaded to
21518         gdb_target_monitor. Don't call gdb_file_cmd here; let
21519         gdb_target_monitor do it.
21520
21521         * gdb.disasm/hppa.exp: Don't use exec_output.
21522
21523 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
21524
21525         * gdb.base/list.exp: If we're debugging a non-native target,
21526         try to set the pc register to point to the start of the
21527         program before doing the first list command.
21528
21529         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21530         test_calls after restarting.
21531
21532         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21533         reloading.
21534
21535         * gdb.base/watchpoint.exp: Fix typo.
21536
21537         * gdb.base/setshow.exp: Check for use_gdb_stub.
21538
21539         * gdb.base/break.exp: Fix continue until exit test for the gdb
21540         stub case.
21541         * gdb.base/langs.exp: Ditto.
21542
21543         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21544         gdb_load_offset. If we weren't given a file to load, figure out
21545         what the current file is and use it.
21546
21547         * config/i386-bozo.exp: New file.
21548
21549 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
21550
21551         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21552         feature.
21553
21554         * config/proelf.exp: New entry.
21555
21556 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
21557
21558         * lib/gdb.exp: Remove spurious .* patterns at the beginning
21559         of regexps.
21560
21561         * gdb.base/watchpoint.exp: Don't run the test_stepping
21562         tests if gdb can't call functions on the target.
21563
21564         * gdb.base/setshow.exp: Don't run the set prompt tests if
21565         the board has gdb_prompt set.
21566
21567 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
21568
21569         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21570         * gdb.base/commands.exp: Likewise.
21571         * gdb.base/setshow.exp: Likewise.
21572
21573 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21574
21575         * config/monitor.exp(gdb_start): Look for gdb_prompt target
21576         feature.
21577
21578         * config/i960.exp: New file.
21579
21580 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
21581
21582         * gdb.base/funcargs.exp: Check for gdb,short_int target
21583         feature instead of looking for explicit target triplets.
21584
21585 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
21586
21587         * gdb.base/printcmds.exp: add a couple more tests a la
21588         "p 123DEADBEEF", to check parse_number.
21589         * top.c: change "to enable to enable" to "to enable" in a couple
21590         of help strings.
21591
21592 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
21593
21594         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21595         on the mn10300.
21596
21597 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
21598
21599         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21600         where the test executable is run with explicit args.
21601         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21602
21603 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
21604
21605         * gdb.base/run.c: Use FAKEARGV to build test executable that
21606         does not require a command line arg, since most simulators
21607         don't currently support passing such an arg into the simulated
21608         program.
21609         * gdb.base/commands.exp: Change tests to insert the proper
21610         value as the arg to the first recursive factorial call.  Change
21611         compilation line to define FAKEARGV at compile time.
21612
21613 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
21614
21615         * gdb.base/recurse.exp: Enable these tests for the mn10300.
21616         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21617         function with watchpoint enabled" test.
21618
21619 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21620
21621         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21622         Don't call gdb_test when the command doesn't return to a gdb prompt.
21623
21624         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21625         "Tests restarted" messages.
21626
21627 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
21628
21629         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21630
21631 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
21632
21633         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21634         for INFO SYMBOL; add help tests for OVERLAY commands.
21635         * gdb.base/default.exp: add tests for INFO SYMBOL command;
21636         add tests for OVERLAY commands
21637         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21638         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21639         * gdb.base/sigall.c: add usestubs code frag
21640         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21641
21642 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
21643
21644         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21645         failures.
21646         (gdb_stop_suppressing_tests): Note that tests have restarted.
21647
21648 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
21649
21650         * config/h8300.exp: New file.
21651
21652 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21653
21654         * gdb.base/setshow.exp: Check for the existence of a
21655         feature, not its value.
21656
21657 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
21658
21659         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21660
21661         * gdb.base/scope.exp: It's now init0(), not init().
21662
21663         * gdb.base/scope0.c: For now, change init() to be init0().
21664
21665         * config/monitor.exp: Use gdb_serial in preference to serial
21666         or netport.
21667
21668         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21669         and it's not already set.
21670
21671 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
21672
21673         * gdb.base/setshow.exp: Only test the run command if the target
21674         isn't using a stub and if it supports argument passing.
21675
21676 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21677
21678         * config/udi.exp(gdb_start): Make sure UDICONF is set
21679         properly before starting gdb.
21680
21681 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
21682
21683         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21684         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21685         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21686
21687 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21688
21689         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21690         specialized code to reboot the board, use remote_reboot instead.
21691
21692         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21693
21694         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21695
21696         * config/monitor.exp: Make sure we disconnect from the target.
21697         Also, try a reboot/reload cycle instead of failing if the
21698         load fails.
21699
21700 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
21701
21702         * gdb.base/default.exp: Don't set match_max.
21703         * gdb.base/help.exp: Ditto.
21704         * gdb.base/list.exp: Ditto.
21705         * gdb.base/signals.exp: Ditto.
21706
21707         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21708         set, use remote_ld to download the testcase instead of
21709         the GDB loader.
21710
21711 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21712
21713         * config/vr5000.exp: New file.
21714
21715         * config/monitor.exp(gdb_target_monitor): Add pattern for
21716         "Ending remote" to detect errors in connecting.
21717
21718         * gdb.base/setshow.exp: Add .* within auto language test.
21719
21720         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21721         target feature.
21722
21723         * config/monitor.exp(gdb_load): Check for a failure when loading,
21724         and reboot the board if necessary.
21725
21726         * gdb.base/setvar.exp(test_set): Handle multiple prints within
21727         a set of tests. Remove print.* from the patterns being checked.
21728
21729 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
21730
21731         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21732         refer to gdb_spawn_id.
21733
21734         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21735         longer used.
21736         * config/sparclet.exp: Ditto.
21737         * config/sparclet-old.exp: Ditto.
21738         * config/slite.exp: Ditto.
21739         * config/sim.exp: Ditto.
21740         * gdb.base/funcargs.exp: Ditto.
21741
21742         * lib/gdb.exp:Remove references to gdb_spawn_id.
21743         (gdb_expect): Move to remote.exp.
21744
21745 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
21746
21747         * config/monitor.exp: Detect the "Couldn't establish connection"
21748         message from GDB.
21749
21750 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
21751
21752         * gdb.base/bitfields.exp: Use runto instead of explicit
21753         gdb_run_cmd/gdb_expect sequences.
21754
21755         * gdb.base/break.exp(text_next_with_recursion): Add match for
21756         gdb_expect call.
21757
21758         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21759         We also need to handle the "A program is being debugged already"
21760         prompt from gdb. Use gdb_test to set the baud rate.
21761
21762         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21763         to 20000. Really. I mean it.
21764
21765 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
21766
21767         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21768         fails. If suppress_flag is set, skip perror message about not
21769         being able to send to GDB.
21770         (send_gdb): If suppress_flag is set, don't try to send commands to
21771         GDB.
21772         (gdb_expect): If suppress_flag is set, always fail immediately.
21773         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21774         (gdb_init): Call gdb_stop_suppressing_tests.
21775         (default_gdb_exit): Ditto.
21776         (default_gdb_start): Ditto.
21777
21778         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21779         gdb_stop_suppressing_tests as appropriate.
21780         * gdb.base/break.exp: Ditto.
21781         * gdb.base/callfuncs.exp: Ditto.
21782         * gdb.base/commands.exp: Ditto.
21783         * gdb.base/exprs.exp: Ditto.
21784         * gdb.base/funcargs.exp: Ditto.
21785         * gdb.base/list.exp: Ditto.
21786         * gdb.base/recurse.exp: Ditto.
21787         * gdb.base/scope.exp:  Ditto.
21788         * gdb.base/structs.exp: Ditto.
21789         * gdb.c++/inherit.exp: Ditto.
21790
21791 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
21792
21793         * config/vr4300.exp: New file.
21794
21795         * gdb.*/*.exp: Call gdb_expect instead of expect.
21796
21797         * lib/gdb.exp(gdb_expect): New function.
21798
21799 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21800
21801         * lib/gdb.exp(gdb_init): New function.
21802
21803         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21804         for each individual variable set.
21805
21806         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21807         name.
21808
21809         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21810
21811         * gdb.base/scope.exp: Use gdb_test.
21812
21813         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21814         aborting; the testsuite driver will do that for us (see
21815         gdb_finish). Also, use gdb_test in a few more places.
21816
21817 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
21818
21819         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21820
21821 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
21822
21823         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21824         and "add_tests" are not at the same address.
21825
21826 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
21827
21828         * gdb.base/ptype.exp: Use gdb_test.
21829
21830 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
21831
21832         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21833         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21834         left in.  No longer expect them to fail.
21835
21836         * gdb.stabs/*.mt; Deleted, no longer used.
21837         * gdb.stabs/configure.in: Remove references to target makefile
21838         frags.
21839         * gdb.stabs/configure: Rebuilt.
21840
21841         * gdb.disasm/*.mt: Deleted, no longer used.
21842         * gdb.disasm/configure.in: Remove references to target makefile
21843         frags.  Use "sh3.s" as the unique filename for this directory.
21844         * gdb.disasm/configure: Rebuilt.
21845
21846         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21847         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21848         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21849
21850 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
21851
21852         * config/udi.exp: Use mondfe,name instead of remote_host.
21853
21854 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
21855
21856         * gdb.base/watchpoint.exp: Don't expect a failure when calling
21857         a function with a watchpoint enabled on the mn10200.
21858
21859         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21860         before trying to create it!
21861
21862 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
21863
21864         * config/vx.exp: Use hostname instead of netport.
21865
21866         * config/vxworks.exp: New file.
21867
21868         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21869
21870         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21871         gdb before assuming everything worked. Send a ^C if a timeout
21872         occurs.
21873
21874         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21875         $gdb_spawn_id directly.
21876         (gdb_run_cmd): Try _start as well as start. Use the target feature
21877         gdb,start_symbol as the symbol to start from when jumping.
21878
21879 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
21880
21881         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21882         redundant) test.
21883
21884         * gdb.base/recurse.exp: Relax final value test for 'b' so that
21885         it doesn't lose for 16bit integer systems.
21886
21887 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
21888
21889         * gdb.fortran/types.exp: If the target doesn't support "double"
21890         data types, then expect "real" types to only be 4 bytes.
21891
21892         * gdb.c++/virtfunc.exp: Expect failure for virtual function
21893         call tests if the target doesn't support inferior function calls.
21894
21895         * gdb.base/printcmds.exp: Allow minor deviation in FP values
21896         in printf tests.
21897
21898 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
21899
21900         * gdb.base/help.exp: Disable "help set", "help show", and
21901         "help support".  Simplify regexp for "help stack".
21902
21903         * gdb.base/default.exp: Set match_max to 5000 and the timeout
21904         to 60 seconds.  Temporarily set match_max to 15000 around the
21905         "info copying" test.
21906
21907         * gdb.base/nodebug.exp: Don't try to do an inferior function
21908         call if the target doesn't support them.
21909         * gdb.base/printcmds.exp: Likewise.
21910         * gdb.base/setvar.exp: Likewise.
21911         * gdb.base/structs.exp: Likewise.
21912         * gdb.c++/templates.exp: Likewise.
21913         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
21914
21915         * gdb.base/recurse.exp: Enable for the mn10200.
21916
21917         * configure.in: Do configure gdb.stabs directory for *-*-elf
21918         targets.
21919         * configure: Rebuilt.
21920
21921         * gdb.base/break.exp: Check for gdb,noresults before testing
21922         exit status and/or results from the target.
21923         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21924         * lib/gdb.exp: Remove old (now bogus) initialization of
21925         noinferior, noargs, noresults and nosignals.
21926
21927 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
21928
21929         * config/sh.exp: New file.
21930
21931         * config/slite.exp: Try to connect multiple times to the board
21932         before rebooting. Only send a "monitor run" if need_monitor_run
21933         is set.
21934
21935         * gdb.base/break.exp: Don't do the "stub continue" test if
21936         the target has gdb_stub set.
21937
21938         * gdb.base/callfuncs.exp: Increase the timeout.
21939
21940         * gdb.base/interrupt.exp: Don't even try to compile the testcase
21941         if the target has gdb,noinferiorio set.
21942
21943         * gdb.base/list.exp: Increase match_max to 10000 characters.
21944
21945         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21946
21947         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21948         target.
21949
21950         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21951
21952 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
21953
21954         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21955         trying to delete the copy of gdb. Catch the file delete so we
21956         don't die if the delete fails; also, the file should be copied to
21957         the host, not to the build.
21958
21959 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
21960
21961         * lib/gdb.exp(gdb_test): Surround the result pattern with
21962         parenthesis in case it contains multiple regexps separated
21963         with |.
21964
21965         * gdb.base/watchpoint.exp: Use gdb_test.
21966         * gdb.base/default.exp: Ditto.
21967
21968 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
21969
21970         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21971
21972         * gdb.base/scope.exp: Use gdb_test.
21973         * gdb.c++/classes.exp: Ditto.
21974         * gdb.c++/inherit.exp: Ditto.
21975
21976 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
21977
21978         * gdb.base/crossload.exp: Don't use execute_anywhere, use
21979         remote_exec instead.
21980         * gdb.base/corefile.exp: Don't be ridiculous.
21981         * gdb.base/*.c: Add missing stub invocations.
21982
21983 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
21984
21985         * config/slite.exp: Miscellaneous fixes.
21986
21987         * lib/gdb.exp: Fix runto.
21988
21989         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21990         the target.
21991
21992         * gdb.base/watchpoint.exp: Fix regexp.
21993
21994         * lib/gdb.exp(default_gdb_exit): Add a catch to the
21995         close and wait commands, as the descriptor may now be
21996         invalid. Always call "remote_close host".
21997
21998 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
21999
22000            Major rewrite for testsuite revision.
22001
22002         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22003         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22004         instead of relying on spawn_id to always contain a valid
22005         spawn id.
22006         (get_compiler_info): New procedure to build the ${binfile}.ci
22007         file, instead of replicating this in N different places.
22008         (gdb_compile): New procedure.
22009
22010         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
22011         appropriate arguments) instead of compile. Use gdb_test in a lot
22012         more places.  Use send_gdb instead of send. Always run gdb_start
22013         at the start of a testcase, as this is no longer done magically.
22014
22015         config/*-gdb.exp: Rename without the -gdb suffix.
22016
22017         config/mips.exp: Use remote_close instead of exit_remote_shell.
22018         config/monitor.exp: Use target_info instead of looking at
22019         baud, timeout, etc.
22020         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22021
22022 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22023
22024         * gdb.c++/templates.exp (test_ptype_of_templates),
22025         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22026         Update expect patterns for destructors and assignment operators
22027         to match corresponding c-typeprint.c changes.
22028         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
22029         to destructor breakpoint test, GDB should be able to set the
22030         destructor breakpoint without specifying arguments.
22031
22032 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
22033
22034         * gdb.threads/pthreads.exp: Change result for failure to compile due
22035         to lack of pthreads runtime support from an error to simply an
22036         unsupported test, per dejagnu standards.
22037
22038 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22039
22040         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
22041         where GDB exits to reduce pattern match time.
22042         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
22043
22044         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
22045
22046 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
22047
22048         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22049         * gdb.base/default.exp:   ditto.
22050         * gdb.base/nodebug.exp:   ditto.
22051         * gdb.base/printcmds.exp: ditto.
22052         * gdb.base/ptype.exp:     ditto.
22053         * gdb.base/setvar.exp:    ditto.
22054         * gdb.base/structs.exp:   ditto.
22055         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
22056
22057 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
22058
22059         * configure, */configure: Rebuild with autoconf 2.12.
22060
22061 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
22062
22063         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22064         use new i*86-pc-linux*-gnu quads.
22065         * gdb.base/corefile.exp: Ditto.
22066         * gdb.base/signals.exp: Ditto.
22067         * gdb.base/sigall.exp: Ditto.
22068         * gdb.base/interrupt.exp: Ditto.
22069
22070         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22071         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
22072         RedHat 4.0.
22073
22074         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22075         linux.  This allows the test case to at least compile on latest
22076         linux, but still not run due to missing the threads runtime library.
22077
22078 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22079
22080         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
22081         directory to search gdb directory. Accept and step over conditional
22082         stack alignment code. Consume $prompt in failure cases.
22083         Reset timeout to $oldtimeout instead of some arbitrary value.
22084         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
22085         timeout problems with infinite stack backtraces.
22086         * gdb.base/ptype.exp (ptype struct link, union tu_link):
22087         Accept function parameters for linkfunc member.
22088
22089 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
22090
22091         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22092         (CXXFLAGS): Remove, unreferenced.
22093         (B_OPTIONS): Add for -B options and add code to initialize with
22094         previous -B options and also add -B option to pick up cross compiled
22095         runtime.
22096         (TARGET_INCLUDES): Add for -I options and add code to initialize when
22097         doing cross compiles.
22098         (target_alias): Declare global.
22099         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
22100         to verify that gcc exists in build tree, and if so set CC to that
22101         gcc and to use B_OPTIONS and TARGET_INCLUDES.
22102
22103 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
22104
22105         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22106         ptype test for anonymous union.  Fixup testcase to match
22107         current gcc debug output.
22108
22109 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
22110
22111         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22112         force argument to an unsigned long type.
22113
22114 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
22115
22116         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22117         tests and anonymous union print/ptype tests.
22118         * gdb.base/list.exp (test_forward-search): Increase timeout by
22119         5 minutes for the "search extremely long line" case.
22120         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22121         completely optional and that the pass/fail messages use the command as
22122         the message if that third arg is a null string.
22123         (gdb_test_exact):  Arrange that a null string pattern means match a
22124         null string output rather than any output, which might include random
22125         errors.
22126         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22127         backtrace test.
22128         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22129         always failing and failure is now exposed by gdb.exp changes.
22130
22131 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
22132
22133         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22134         weren't being noted.
22135
22136 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22137
22138         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
22139         * gdb.stabs/weird.exp:  Remove v_comb xfails.
22140
22141 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
22142
22143         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22144                     list.exp scope.exp watchpoint.exp]
22145           Make all timeout error msgs explicitly say "(timeout)".
22146
22147 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
22148
22149         * config/monitor.exp: Increase download timeout to 1000 seconds.
22150
22151 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
22152
22153         * config/m32r.exp: Increase timeout to 120 seconds.
22154
22155 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
22156
22157         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22158         and accept older ordering as obsolescent gcc or gdb.
22159         * gdb.c++/templates.exp: Ditto.
22160         * gdb.c++/virtfunc.exp: Ditto.
22161
22162 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
22163
22164         * gdb.base/coremaker.c: Add code to mmap some data so we
22165         can check that it ends up in the core file.
22166         * gdb.base/corefile.exp: Add test to read mmapped data
22167         from core file.
22168
22169 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
22170
22171         * config/m32r.exp: New file.
22172
22173 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
22174
22175         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
22176         that cflags can contains -gstabs, and work correctly for other tests.
22177
22178 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
22179
22180         * gdb.base/setshow.exp: New file, tests show and set.
22181         * gdb.base/setshow.c:   New file, tests show and set.
22182         * gdb.base/help.exp: Add test for help set|show annotate.
22183         * gdb.base/default.exp: Add test for set|show annotate.
22184
22185 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
22186
22187         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
22188         errors unique.
22189         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
22190         explicitly.
22191
22192 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
22193
22194         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
22195         and width commands.  This is done elsewhere.
22196         * (gdb_start):  Don't call gdb_start_sim here.  That's already
22197         done in gdb_load.  This fixes lots of failures in default.exp.
22198
22199 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
22200
22201         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22202         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22203         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22204         in the same we we treat other failures (since it may be an expected
22205         condition), rather than as an error.
22206         * gdb.base/signals.exp (test_handle_all_print): Revert back to
22207         old test format.
22208
22209 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
22210
22211         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22212         (distclean maintainer-clean realclean): No need to remove files
22213         twice.  Nuke the duplicates.
22214         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
22215         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
22216         Remove config.h along with other config files.
22217
22218 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
22219
22220         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22221         "p func1 ()" and note that rests of tests are skipped.
22222         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
22223         setup_xfails for "print func2::coremaker_local".
22224         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22225         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22226         affected by the previous run test.
22227         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22228         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22229         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22230         "pass int powerset tuple" and "pass modeless int powerset tuple".
22231         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22232         "real write 4" and "real write 8".
22233         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
22234         setup_xfails for "print vs1 after tuple assign 2",
22235         "print \$i after tuple assign 2", and
22236         "print vs2 after tuple assign 2".
22237         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22238         meaningful error message and return -1 so the caller can
22239         suppress further tests and avoid a cascade of errors.
22240
22241 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
22242
22243         * gdb.base/a1-selftest.exp: Tweak tests to account for new
22244         format for printing version.
22245         * gdb.base/default.exp: Ditto.
22246         * gdb.base/interrupt.exp: Fix problem with cascade of
22247         errors if child process dies while calling a function.
22248
22249 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
22250
22251         * Makefile.in (VPATH): Add
22252         * Makefile.in (Makefile, config.status): Fix rules so things get
22253         remade when necessary.
22254
22255 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
22256
22257         * Makefile.in (just-check): Add path to sibling expect dir
22258         to environment variable specified by RPATH_ENVVAR.
22259
22260 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
22261
22262         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22263         (just-check): Add shared library paths for libstdc++, tk,
22264         tcl, bfd, and opcodes to the environment variable specified
22265         in RPATH_ENVVAR.
22266         * configure.in: Add support to recognize --enable-shared flag
22267         and generate correct value for RPATH_ENVVAR.
22268         * configure: Regenerated with autoconf.
22269
22270 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
22271
22272         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22273         include all osf versions.
22274         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22275         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
22276         when target is linux.  When failing to build pthreads test
22277         executable, give more meaningful message.
22278         * gdb.threads/pthreads.c: Hpux also uses old definition of second
22279         arg for pthread_create.
22280
22281 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
22282
22283         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22284         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22285         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22286         and -lpthreads (everybody else).
22287         (test_startup): Fail gracefully if threads are not supported.
22288         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22289         "p/c array_index("abcdef",2)" when not gcc compiled.
22290         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22291         "print func2::coremaker_local" when not gcc compiled.
22292         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22293         "ptype on opaque struct tagname (statically)",
22294         "ptype on opaque struct tagname (dynamically) 1", and
22295         "ptype on opaque struct tagname (dynamically) 2"
22296         for not compiled with gcc.
22297         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22298         backtrace when compiled with gcc.
22299         * lib/gdb.exp (runto_main): Return result of "runto main" rather
22300         than always return success.
22301
22302 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
22303
22304         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22305
22306 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
22307
22308         * gdb.base/structs.exp: Undo last change.
22309
22310 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
22311
22312         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22313         encapsulate all the steps/nexts done during self test, starting
22314         at main, and makes them less sensitive to optimization issues.
22315         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22316         signal handler" test.
22317         * gdb.threads/pthreads.exp: Only run this for native configs.
22318         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22319         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22320         tests.
22321         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22322         for "runto test_calls(void)" test.
22323
22324 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
22325
22326         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22327         and don't expect address info in breakpoint confirmations.
22328
22329 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
22330
22331         * gdb.base/list.exp (test_forward_search): Increase timeout
22332         temporarily by 60 seconds for searching extremely long line,
22333         and then reset to old value when done.  Increase expect input
22334         buffer to 10000.
22335
22336 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
22337
22338         * gdb.base/list.exp (test_forward_search): Fix to handle very
22339         long source line without overflowing expect's input buffer.
22340
22341 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
22342
22343         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22344         "buffer_full".
22345
22346         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22347         "buffer_full".
22348
22349         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22350         "buffer_full".
22351
22352         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22353         "buffer_full".
22354
22355 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
22356
22357         * configure.in (configdirs): Add gdb.threads.
22358         * configure: Regenerated with autoconf.
22359         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22360         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22361         * gdb.threads/configure: New, generated with autoconf.
22362
22363 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
22364
22365         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22366
22367 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
22368
22369         * gdb.base/signals.exp (test_handle_all_print): Test separately for
22370         each signal's status in the output of "handle all print".
22371         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22372         the \r\n sequence that immediately precedes the gdb prompt.
22373         * gdb.base/a1-selftest.exp: Save original timeout and restore
22374         after test.
22375
22376 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
22377
22378         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22379         symbol.
22380
22381 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
22382
22383         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22384
22385 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
22386
22387         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22388         timeout by 60 seconds.
22389
22390 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
22391
22392         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22393         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22394         error return.
22395
22396 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
22397
22398         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22399         gdb initialization, also report how long dejagnu waited.  Restore
22400         old timeout before doing error return.  Temporarily increase timeout
22401         by 3 minutes to allow for slow startups over heavy NFS use.
22402
22403 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
22404
22405         * lib/gdb.exp: Report timeout value for verbosity level 2.
22406         * config/gdbserver.exp: Ditto.
22407         * config/hppro.exp: Ditto.
22408         * config/mips-gdb.exp: Ditto.
22409         * config/monitor.exp: Ditto.
22410         * config/netware.exp: Ditto.
22411         * config/sim-gdb.exp: Ditto.
22412         * config/slite-gdb.exp: Ditto.
22413         * config/udi-gdb.exp: Ditto.
22414         * config/unix-gdb.exp: Ditto.
22415         * config/vx-gdb.exp: Ditto.
22416         * gdb.base/a1-selftest.exp: Ditto.
22417         * gdb.base/a2-run.exp: Ditto.
22418         * gdb.base/break.exp: Ditto.
22419         * gdb.base/corefile.exp: Ditto.
22420         * gdb.base/list.exp: Ditto.
22421         * gdb.base/recurse.exp: Ditto.
22422         * gdb.base/scope.exp: Ditto.
22423         * gdb.base/signals.exp: Ditto.
22424
22425 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22426
22427         * gdb.threads/Makefile.in (docdir): Removed.
22428
22429 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
22430
22431         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22432         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22433         @srcdir@.
22434         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22435         autoconf 2.5 or higher.
22436         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22437
22438 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
22439
22440         * configure: Regenerated.
22441         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22442         avoid name clashes with SunOS headers.
22443
22444 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
22445
22446         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22447
22448 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
22449
22450         * gdb.base/callfuncs.exp: Finish last change -- make sure the
22451         prototype information ends up in the compiler info file.
22452
22453 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
22454
22455         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22456         attempting to regenerate it.  Eliminate use of a temporary file
22457         and just generate the info file directly.  Source it immediately,
22458         for consistency of use.
22459         * gdb.base/corefile.exp: Ditto
22460         * gdb.base/exprs.exp: Ditto.
22461         * gdb.base/funcargs.exp: Ditto.
22462         * gdb.base/langs.exp: Ditto.
22463         * gdb.base/list.exp: Ditto.
22464         * gdb.base/mips_pro.exp: Ditto.
22465         * gdb.base/nodebug.exp: Ditto.
22466         * gdb.base/opaque.exp: Ditto.
22467         * gdb.base/ptype.exp: Ditto.
22468         * gdb.base/scope.exp: Ditto.
22469         * gdb.base/setvar.exp: Ditto.
22470         * gdb.base/signals.exp: Ditto.
22471         * gdb.base/whatis.exp: Ditto.
22472         * gdb.c++/templates.exp: Ditto.
22473         * gdb.c++/virtfunc.exp: Ditto.
22474         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
22475         whether or not to add -lstdc++ to the compile command line args.
22476
22477 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22478
22479         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
22480         it got fixed by the recent lookup_minimal_symbol_by_pc change.
22481         Increase timeout, a lot of single stepping might be needed if the
22482         target has no hardware watchpoints.
22483
22484 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
22485
22486         * gdb.base/break.exp: Ignore compiler warnings when compiling
22487         break.c.
22488         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22489         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
22490         from remote-sim.
22491         * gdb.base/exprs.exp: Add h8300 xfails.
22492         * gdb.base/funcargs.exp: Likewise.
22493         * gdb.base/nodebug.exp: Likewise.
22494         * gdb.base/printcmds.exp: Likewise.
22495         * gdb.base/ptype.exp: Likewise.
22496         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
22497         h8300 xfails.
22498         * gdb.base/return.exp: Handle float/double precision problems
22499         on the h8300.
22500         * gdb.base/funcargs.c: Explicitly make last constant argument to
22501         call_after_alloca_subr an unsigned long type.
22502         * gdb.base/return.c: Include stdio.h.
22503
22504 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
22505
22506         * config/abug.exp: New file for the older Motorola Bug monitor
22507         that runs on the mvme13x series VME boards.
22508         * config/monitor.exp: Use the new config array for target settings
22509         if they exist.
22510
22511 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
22512
22513         * sim-gdb.exp: Make the SH simulator allocate less space when
22514         it is targeted.
22515
22516 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
22517
22518         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22519         test.
22520
22521 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
22522
22523         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22524         "rs6000-*-*" for "list function in include file" when gcc compiled.
22525         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22526         for "p ctable1[120]".
22527         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22528         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22529         Remove setup_xfail for "rs6000-*-*" for
22530         "print 'scope0.c'::filelocal before run".
22531         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22532         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22533         since some compilers don't allow both options to be given
22534         on the same command line.  Create object file and move it.
22535
22536 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
22537
22538         * gdb.base/corefile.exp: Always regenerate the core file, since
22539         we always regenerate the coremaker program.  Detect special case
22540         where registers cannot be read from core file.
22541
22542 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
22543
22544         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22545         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22546         * gdb.c++/templates.exp: Only match on basename of file since
22547         some formats like xcoff don't encode directory information.
22548         * gdb.stabs/weird.exp: Use the right sed script for powerpc
22549         and rs6000 AIX xcoff targets.
22550         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22551         * configure: Regenerate.
22552         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22553         here, rather than in distclean.
22554
22555 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
22556
22557         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22558         defined, and use it to compile the test case with -O2.  The
22559         native compilation still uses no optimization.
22560         * gdb.base/mips_pro.c: Remove inline assembly code since
22561         it is compiled PIC by default, which results in assembler
22562         warnings that make the testsuite think the compilation
22563         was unsuccessful.
22564
22565 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
22566
22567         * gdb.c++/misc.exp: Add note to message for
22568         "print s.a for foo struct" that this is a known gcc 2.7.2
22569         and earlier bug.
22570
22571 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
22572
22573         * gdb.base/break.exp: Fix pattern for matching "Delete all
22574         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
22575         setup_xfail for deleting all breakpoints test.  Fix various
22576         timeout messages to include "(timeout)".
22577         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22578         for "p t_float_values2(3.14159,float_val2)".
22579         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22580         for "continue to call2g" when gcc compiled.
22581         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22582         "up to foo in langs.exp", "show language at foo in langs.exp",
22583         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22584         and "show language at fsub in langs.exp".
22585         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22586         "list line 1 in include file", "list message for lines past EOF",
22587         "list function in include file", "list list0.h:foo", and
22588         "list filename:function; nonexistant function".
22589         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22590         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22591         and "ptype t_char_array" to be for native cc only.
22592
22593 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
22594
22595         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22596         setup_xfail for "print coremaker_bss", "print coremaker_ro",
22597         "print func2::coremaker_local", and "backtrace in corefile.exp".
22598
22599 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
22600
22601         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22602         "bt in signals.exp".  This problem only appears when running
22603         the testsuite, and then only intermittently.
22604
22605 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
22606
22607         * gdb.base/return.exp (return_tests): Differentiate between
22608         two tests of continuing.
22609
22610 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
22611
22612         * */Makefile.in (maintainer-clean): Remove config.log.
22613         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22614         * gdb.c++/Makefile.in (PROGS): Add inherit.
22615         (clean): Remove *.ci.
22616
22617 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
22618
22619         * gdb.c++/misc.cc: Add test code from Mike Stump.
22620         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22621
22622 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
22623
22624         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22625         to "alpha-*-osf2*" and add comment.
22626         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22627         setup_xfail for "step over execarg initialization" and
22628         "step over corearg initialization".
22629         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22630         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22631         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22632         gcc compiled for "print coremaker_bss", "print coremaker_ro",
22633         "print func2::coremaker_local", and "backtrace in corefile.exp".
22634         * gdb.base/signals.exp: Build and source signals.ci.
22635         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22636         to be for gcc only.
22637         * lib/gdb.exp: Move verbose statements outside conditionals.
22638
22639 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22640
22641         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
22642         Feb 3 procfs.c change.
22643
22644 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
22645
22646         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22647
22648 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
22649
22650         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22651         from dejagnu's apparent default of 10 seconds, which gives random
22652         results when running the tests over NFS on moderately loaded systems.
22653         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22654
22655 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
22656
22657         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
22658         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22659         result reports.
22660
22661 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
22662
22663         * configure.in (CY_AC_PATH_TCLH): Remove.
22664         * configure: Regenerate.
22665
22666 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
22667
22668         * gdb.c++/Makefile.in (clean): Add missing '{'.
22669
22670 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
22671
22672         * lib/gdb.exp: Provide a default value for noinferior.
22673
22674         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22675         Load libgloss.exp.
22676
22677 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
22678
22679         * gdb.disasm/hppa.exp: Compile directly into an executable, use
22680         the executable, not the .o to run the tests from.
22681
22682 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
22683
22684         * gdb.base/break.exp: Don't test for program exit or exit status
22685         if $noresults if nonzero.
22686         * gdb.base/langs.exp: Likewise.
22687         * gdb.base/watchpoint.exp: Likewise.
22688
22689         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22690         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22691         trying to compile the testcase.
22692
22693 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
22694
22695         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22696         * gdb.base/signals.exp (continue to handler): Likewise.
22697
22698 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
22699
22700         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
22701
22702         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
22703
22704 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
22705
22706         * gdb.base/corefile.exp: Recognize "not found" as failure
22707         when trying to determine if a core file was generated.
22708         If no core file was generate the first time, try again without
22709         the ulimit -c to work around braindamaged shells.
22710
22711 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
22712
22713         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22714         [] tests with "test" and enclose string in quotes.
22715         * gdb.stabs/configure: Rebuild
22716
22717 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
22718
22719         Changes in sync with expect:
22720         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22721         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22722         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22723         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
22724         argument to AC_REQUIRE.
22725         * configure: Regenerated.
22726
22727 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
22728
22729         * gdb.base/corefile.exp: When generating a core, discard any
22730         error messages about ulimit not found and the "core dumped"
22731         message from the shell that runs the coredumper.
22732
22733 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
22734
22735         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22736
22737         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22738         which sed script to run.  Expect failure for v_comb test
22739         on PA targets too.
22740
22741 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
22742
22743         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22744         "print func2::coremaker_local" and for "backtrace in corefile.exp"
22745
22746 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
22747
22748         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22749         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22750         "sparc-sun-solaris*" xfails for "p v_comb".
22751         * lib/gdb.exp (default_gdb_start): Fix typo.
22752         * gdb.base/corefile.exp: Allow "Core was generated by ..."
22753         messages to not include the full program name that caused
22754         the core dump since some systems (such as solaris) apparently
22755         truncate this path to about 80 characters.
22756         When generating a core file first try increasing the core file
22757         size limit to unlimited since some systems may default it to
22758         zero, and it is harmless to try it.  Move the test for failing
22759         to generate a core file to where it will actually get executed.
22760         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22761         new gdb result from g++ debug info improvements and make old
22762         pattern obsolescent.  Also account for size_t differences
22763         (may be int or long).
22764         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22765         initialization before function call is placed in the delay slot
22766         and thus appears to be skipped over by commands such as "next".
22767
22768 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
22769
22770         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22771
22772 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
22773
22774         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22775         input source file; fix code to compile test to deal with this
22776         convention.
22777         * gdb.c++/*.exp: Likewise.
22778
22779 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
22780
22781         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22782         "bt in signals.exp".
22783
22784 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
22785
22786         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22787         "step over execarg initialization" and
22788         "step over corearg initialization".
22789
22790 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
22791
22792         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22793         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
22794
22795 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
22796
22797         From Rob Savoye  (rob@poseidon.cygnus.com)
22798         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22799         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22800         configure.in}, gdb.disasm/{Makefile.in, configure.in},
22801         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22802         configure.in}: Major reworking for autoconfig.
22803         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22804         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22805         New files.
22806         * config/unix-gdb.exp:  Make GDB global.
22807         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22808         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22809         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22810         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22811         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22812         term.exp, twice.exp, watchpoint.exp, whatis.exp},
22813         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22814         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22815         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22816         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22817         pr-8136.exp, result.exp, string.exp, tuples.exp},
22818         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22819         to returns as necessary, arrange for test to compile own testcase
22820         executable.
22821         * lib/gdb.exp: Changes for testsuite to compile own test cases.
22822
22823 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
22824
22825         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22826         clear_xfail at end of test which might not call either pass or fail.
22827         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22828         "backtrace through signal handler".
22829
22830 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22831
22832         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
22833         continuing from a job control stop signal.
22834         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
22835
22836 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
22837
22838         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22839         * gdb.base/corefile.exp: Likewise.
22840         * gdb.base/funcargs.exp: Likewise.
22841
22842 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
22843
22844         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
22845         * config/monitor.exp:  Add support for setting baud rate.
22846
22847 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
22848
22849         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22850         i*86-*-linux* xfails for "backtrace through signal handler".
22851         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22852         "print func2::coremaker_local".
22853         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22854         alpha-dec-osf2* xfail for
22855         "delete all breakpoints when none".
22856
22857 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
22858
22859         * gdb.base/break.exp: Change test that deletes all breakpoints
22860         when no user breakpoints are installed.  A post 4.15 change
22861         causes gdb to no longer prompt in this case.
22862
22863 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
22864
22865         * gdb.base/return.exp (return_tests):  Change xfail for test
22866         "correct value returned double test" to stop xfailing at
22867         Solaris 2.5.  Apparently the bug has been fixed.
22868
22869 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
22870
22871         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22872         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22873
22874 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
22875
22876         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22877         * gdb.disasm/hppa.s: Corresponding changes.
22878
22879 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
22880
22881         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22882         makefile fragment.
22883         * config/mt-hpux: Deleted.
22884
22885 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
22886
22887         * Many files: When warning about suppressed tests due to a
22888         nonexistant test binary, avoid incrementing the warning count.
22889
22890 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
22891
22892         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
22893
22894 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22895
22896         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
22897         "sparc-*-solaris2*".
22898
22899 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22900
22901         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
22902         Add global and local variables and initialize them.
22903         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
22904         by printing variables. Remove rs6000 and powerpc xfails, BFD now
22905         extracts the file name and terminating signal from the core file.
22906         * TODO:  Remove note about tests for correct mapping of corefile.
22907         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
22908         from optimizing it away.
22909         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
22910         handles common blocks.
22911
22912 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
22913
22914         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22915         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22916
22917 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
22918
22919         * Makefile.in (maintainer-clean): New target, synonym for
22920         realclean.
22921         * gdb.base/Makefile.in (maintainer-clean): Likewise.
22922         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22923         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22924         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22925         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22926         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22927
22928 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
22929
22930         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
22931         xfails when not gcc compiled for "print foo::funclocal".
22932         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22933         "print foo::funclocal at foo",
22934         "print 'scope1.c'::foo::funclocal at foo",
22935         "print foo::funclocal_bss at foo",
22936         "print 'scope1.c'::foo::funclocal_bss at foo",
22937         "print foo::funclocal_ro at foo",
22938         "print 'scope1.c'::foo::funclocal_ro at foo",
22939         "print bar::funclocal at foo" and
22940         "print 'scope1.c'::bar::funclocal at foo".
22941         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
22942         gcc compiled for "print foo::funclocal at bar".
22943         Expand all messages to ensure that they identify that
22944         the test is at bar().
22945         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22946         gcc compiled for:
22947         "ptype on opaque struct pointer (statically)",
22948         "ptype on opaque struct tagname (statically)",
22949         "ptype on opaque struct pointer (dynamically) 1",
22950         "ptype on opaque struct tagname (dynamically) 1",
22951         "ptype on opaque struct pointer (dynamically) 2" and
22952         "ptype on opaque struct tagname (dynamically) 2
22953         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22954         gcc compiled for:
22955         "p datalocal"
22956         "whatis datalocal",
22957         "ptype datalocal",
22958         "p bsslocal",
22959         "whatis bsslocal", and
22960         "ptype bsslocal".
22961         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22962         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22963         when not gcc compiled.
22964         * gdb.base/funcargs.exp (float_and_integral_args):  Add
22965         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22966         compiled.
22967         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
22968         "backtrace from call6a" when not gcc compiled.
22969         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22970         "backtrace from call7a" when not gcc compiled.
22971         * gdb.base/callfuncs.exp (do_function_calls):
22972         Add "hppa*-*-hpux*" xfail when not gcc compiled for
22973         "p t_char_array_values(char_array_val2,char_array_val1)",
22974         "p t_char_array_values(char_array_val1,char_array_val2)",
22975         "p t_char_array_values("carray 1","carray 2")",
22976         "p t_char_array_values("carray 1",char_array_val2)",
22977         "p t_char_array_values(char_array_val1,"carray 2")",
22978         "p sum_args(1,{2})",
22979         "p sum_args(2,{2,3})",
22980         "p sum_args(3,{2,3,4})",
22981         "p sum_args(4,{2,3,4,5})"
22982         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22983         "backtrace in corefile.exp" when not gcc compiled.
22984
22985 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22986
22987         * gdb.base/signals.exp:  Rewrite `handle all print' test as
22988         a procedure. Accept blanks or TABs as whitespace, increase
22989         timeout and expect input buffer size for the large output
22990         from the command. Remove "i*86-*-bsdi2.0" xfail.
22991
22992 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22993
22994         * gdb.base/setvar.exp:  Add new testcases for truncation when
22995         assigning invalid values to bitfields.
22996
22997 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
22998
22999         * gdb.base/callfuncs.exp (do_function_calls):  Remove
23000         mips-sgi-irix* xfail for
23001         "call inferior func with struct - returns char *"
23002         and fix test so that an optional (unsigned char *) cast is
23003         accepted in the result.
23004
23005 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
23006
23007         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
23008         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23009         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23010         * gdb.base/signals.exp: Remove duplicate "handle all print" test
23011         that accidentally got checked in.
23012
23013 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
23014
23015         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
23016         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23017         compiled test.
23018         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23019         Add mips-sgi-irix5* xfail for not gcc compiled.
23020         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
23021         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23022         "p top", "whatis top", "p middle", and "whatis middle".
23023         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23024         "whatis signed char" for not gcc compiled.
23025         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23026         "set variable signed char=-1 (-1)" and
23027         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23028         * gdb.base/funcargs.exp (float_and_integral_args):
23029         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23030         Add mips-sgi-irix* xfail when not gcc compiled for
23031         "continue to call2b".
23032         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23033         "continue to call2g".
23034         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23035         "backtrace from call6a"
23036         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23037         "backtrace from call7k".
23038         Add mips-sgi-irix5* xfail when not gcc compiled for
23039         "backtrace from call7a".
23040         (localvars_after_alloca):  Fix gdb_test cmds for
23041         "print * after runto ...".
23042         Remove rs6000-*-* xfails for
23043         "print i after runto localvars_after_alloca" and
23044         "print l after runto localvars_after_alloca"
23045         for all compilers.
23046         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
23047         when not compiled with gcc, for:
23048         "print signed char == (minus)",
23049         "print signed char != (minus)",
23050         "print signed char < (minus)",
23051         "print signed char > (minus)".
23052         * gdb.base/callfuncs.exp (do_function_calls):
23053         Add mips-sgi-irix* xfail, when compiled with native compiler, for
23054         "call inferior func with struct - returns char *".
23055         * gdb.base/return.exp (return_tests): Change xfail for
23056         "correct value returned double test" to include Solaris 2.4.
23057         * gdb.base/funcargs.exp (float_and_integral_args):
23058         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23059
23060 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23061
23062         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
23063         enumeration bitfields if compiling with GNU C.
23064         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
23065         to empty' prompt.
23066
23067 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
23068
23069         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23070         test for PRO targets.
23071
23072         * gdb.base/funcargs.exp: Avoid ever setting more than 8
23073         breakpoints in the inferior at any given time by making
23074         two groups of breakpoints for call2*, call6* and call7*
23075         tests.
23076
23077 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23078
23079         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
23080         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
23081         from optimizing it away.
23082         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
23083         "call inferior func with struct".
23084
23085 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
23086
23087         * configure.in: Only configure gdb.chill for particular targets.
23088
23089 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
23090
23091         * gdb.base/Makefile.in:  Add action to .c.o transformation
23092         rule that generates a .ci file for each .o file and remove
23093         explicit .c.o rules except for callfuncs.o.
23094         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
23095         generates a .ci file for each .o file and remove explicit
23096         .cc.o rules.
23097         (clean): Remove *.tmp *.ci files.
23098         (EXECUTABLES): Remove templ-info.exp.
23099         * gdb.base/compiler.c: New file.
23100         * gdb.c++/compiler.cc: New file
23101         * gdb.base/scope.exp: Source gdb.base/scope.ci.
23102         Change rs6000-*-* xfail for
23103         "print 'scope0.c'::filelocal_ro" and
23104         "print 'scope1.c'::filelocal" and
23105         "print 'scope1.c'::filelocal_bss" and
23106         "print 'scope1.c'::filelocal_ro" and
23107         "print 'scope1.c'::foo::funclocal" and
23108         "print 'scope1.c'::foo::funclocal_ro" and
23109         "print 'scope1.c'::bar::funclocal" and
23110         "print 'scope0.c'::filelocal_ro" and
23111         "print 'scope1.c'::filelocal at foo" and
23112         "print 'scope1.c'::filelocal_bss at foo" and
23113         "print 'scope1.c'::filelocal_ro at foo" and
23114         "print 'scope1.c'::foo::funclocal at foo" and
23115         "print 'scope1.c'::foo::funclocal_bss at foo" and
23116         "print 'scope1.c'::foo::funclocal_ro at foo" and
23117         "print 'scope1.c'::bar::funclocal at foo" and
23118         "print 'scope0.c'::filelocal_ro" and
23119         "print 'scope1.c'::filelocal" and
23120         "print 'scope1.c'::filelocal_bss" and
23121         "print 'scope1.c'::filelocal_ro" and
23122         "print 'scope1.c'::foo::funclocal" and
23123         "print 'scope1.c'::foo::funclocal_bss" and
23124         "print 'scope1.c'::foo::funclocal_ro" and
23125         "print 'scope1.c'::bar::funclocal" and
23126         "print 'scope1.c'::bar::funclocal_bss"
23127         to only be xfail'd when not compiled with gcc.
23128         Add rs6000-*-* xfail for
23129         "print 'scope0.c'::filelocal_bss before run"
23130         when compiled with gcc.
23131         (test_at_main): Add rs6000-*-* xfail for
23132         "print filelocal_ro in test_at_main"
23133         when compiled with gcc.
23134         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23135         Add rs6000-*-aix* xfail for
23136         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23137         "ptype t_char_array",  not compiled with gcc.
23138         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
23139         xfail for "list foo (in include file)" when gcc compiled.
23140         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23141         (integral_args): Add rs6000-*-* xfail for
23142         "run to call0a" if not compiled with gcc.
23143         (unsigned_integral_args): Add rs6000-*-* xfail for
23144         "run to call1a" if not compiled with gcc.
23145         (float_and_integral_args):  Add rs6000-*-* xfail for
23146         "run to call2a" if not compiled with gcc and for
23147         "continue to call2b" for any compiler.
23148         Add rs6000-*-* xfail to
23149         "print f1 after run to call2a" for gcc compiled.
23150         (discard_and_shuffle): Add rs6000-*-* xfail for
23151         "run to call6a".
23152         (shuffle_round_robin): Add rs6000-*-* xfail for
23153         "backtrace from call7a" if not compiled with gcc.
23154         Add rs6000-*-* xfail for
23155         "backtrace from call7b" if compiled with gcc.
23156         (call_after_alloca): Add rs6000-*-* xfail for
23157         "print c in call_after_alloca" and
23158         "print s in call_after_alloca" and
23159         "backtrace from call_after_alloca_subr"
23160         if not compiled with gcc.
23161         (localvars_in_indirect_call): Add rs6000-*-* xfail for
23162         "print c in localvars_in_indirect_call" and
23163         "print c in localvars_in_indirect_call" and
23164         "backtrace in indirectly called function" and
23165         "stepping into indirectly called function"
23166         if not compiled with gcc.
23167         (localvars_after_alloca): Add rs6000-*-* xfail for
23168         "print c after runto localvars_after_alloca" and
23169         "print s after runto localvars_after_alloca" and
23170         "print i after runto localvars_after_alloca" and
23171         "print l after runto localvars_after_alloca"
23172         for all compilers.
23173         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23174         than whatis-info.exp.
23175         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23176         than opaque-info.exp.
23177         Setup rs6000-*-* xfail for
23178         "ptype on opaque struct pointer (statically)" and
23179         "ptype on opaque struct pointer (dynamically)" when
23180         not compiled with gcc.
23181         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23182         rather than callf-info.exp.
23183         (do_function_calls):  Add clear_xfail for rs6000-*-* for
23184         "p t_float_values2(3.14159,float_val2)".  Seems to work
23185         fine there, both with xlc and gcc.  Need to find out what
23186         it is doing right and fix other platforms.
23187         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23188         "call inferior func with struct - returns int",
23189         "call inferior func with struct - returns long",
23190         "call inferior func with struct - returns float",
23191         "call inferior func with struct - returns double",
23192         "call inferior func with struct - returns char *",
23193         but only if not gcc compiled (presumes xlc compiled).
23194         Change rs6000-*-* xfails for
23195         "call inferior func with struct - returns char" and
23196         " call inferior func with struct -  returns short" to only
23197         xfail if not using gcc.
23198         (clean mostlyclean):  Remove *.ci and *.tmp files.
23199         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23200         than templ-info.exp.
23201         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
23202         Add rs6000-*-* xfail for "up to foo in langs.exp"
23203         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
23204         when not gcc compiled.
23205
23206 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23207
23208         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23209         * gdb.base/corefile.exp: Likewise.
23210         * gdb.base/list.exp: Likewise.
23211         * gdb.base/scope.exp: Likewise.
23212         * gdb.base/siganls.exp: Likewise.
23213
23214         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
23215         compiler output.
23216         * gdb.base/whatis.exp: Likewise.
23217
23218 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
23219
23220         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23221         failure (opcode table has been fixed to match reality).
23222
23223 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
23224
23225         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23226         "call inferior func with struct - returns char",
23227         "call inferior func with struct - returns short"
23228
23229         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23230         "print 'scope0.c'::filelocal at main",
23231         "print 'scope0.c'::filelocal_bss in test_at_main",
23232         "print 'scope0.c'::filelocal at foo",
23233         "print 'scope0.c'::filelocal_bss in test_at_foo",
23234         "print 'scope0.c'::filelocal at bar",
23235         "print 'scope0.c'::filelocal_bss in test_at_bar"
23236
23237         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23238         in source file 1".  This bug seems to have been fixed with both
23239         gcc and native cc (was native assembler bug?).
23240
23241 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
23242
23243         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23244         "backtrace through signal handler" to "i*86-*-sysv4*".
23245         * gdb.base/signals.exp: Add xfail for "'next' behaved as
23246         continue" case.  Add "known SVR4 bug" to fail message.
23247         Add "i*86-*-bsdi2.0" xfail for "handle all print".
23248         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23249         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23250         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23251         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23252         "up to foo in langs.exp", "show language at foo in
23253         langs.exp", "up to cppsub_ in langs.exp", "show
23254         language at cppsub_ in langs.exp", "up to fsub in
23255         langs.exp", and "show language at fsub in langs.exp".
23256         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23257         "bactrace in corefile.exp".
23258         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23259         "call inferior function with struct - returns float" and
23260         "call inferior function with struct - returns double".
23261
23262 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
23263
23264         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23265         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23266         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23267         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23268
23269 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
23270
23271         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23272         (or overriden) "CHILL" macro rather then bare "gcc".
23273         Also look for ../../gcc/xgcc since that is what we will
23274         actually need, not "Makefile".  Remove following assignment
23275         of CHILL to CHILL_FOR_TARGET because that results in
23276         recursive definition.
23277
23278 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
23279
23280         * gdb.base/corefile.exp:  Change xfail for backtrace in
23281         corefile.exp from linuxaout to all linux.
23282         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
23283         cases where we miss the breakpoint at the signal handler
23284         for some reason.  Setup xfail for linuxoldld/linuxaout and
23285         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
23286         hitting SIGURG breakpoint.
23287         * gdb.base/signals.exp:  Setup xfail for "next" acting like
23288         continue to add linuxoldld.  Setup xfail for all linux for
23289         "next to handler in signals_tests_1", "backtrace in
23290         signals_tests_1", "continue to func1", "pass SIGUSR1",
23291         and continue to handler".
23292
23293 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
23294
23295         * Update all FSF addresses except those in COPYING* files.
23296
23297 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
23298
23299         * gdb.base/a2-run.exp: Change messages to be more explicit about
23300         the status of args, and quote binfile in results.
23301
23302 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
23303
23304         * gdb.base/callfuncs.exp: Add tests for passing structs to
23305         inferior functions and return various types.
23306         * gdb.base/callfuncs.c: Add functions to receive a struct
23307         and return a member of the struct, in various types.
23308
23309 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23310
23311         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
23312
23313 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
23314
23315         * config/vxworks29k.exp: New file, sources vxworks.exp.
23316
23317 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23318
23319         * config/gdbremote.exp: New file.  Testing framework using
23320         gdbserver.
23321
23322 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
23323
23324         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23325         "call function when asleep" and "send end of file".
23326         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23327         for "backtrace in corefile.exp".
23328         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23329         for "backtrace through signal handler".
23330         * gdb.base/corefile.exp: Make sure we actually generate a core file
23331         before trying the core tests.  Some systems allow the user to suppress
23332         generation of core files and default to that (linux for example).
23333         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23334         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
23335
23336 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23337
23338         * gdb.threads: New directory with some crude multi-threaded
23339         gdb tests (step.exp and step2.exp).
23340         * config/mt-lynx (STEP_EXECUTABLE): Define.
23341         (THREADFLAGS): Define.
23342
23343 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
23344
23345         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23346
23347         * gdb.base/signals.exp: Disable whole file for lynx until
23348         further notice.
23349
23350         * gdb.base/signals.exp: xfail test where "next" acts like
23351         "continue" for lynx.
23352
23353         * gdb.base/interrupt.exp: xfail test for calling function while
23354         inferior is asleep for lynx.
23355
23356         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23357         than one cr-lf  after each command.
23358
23359 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23360
23361         * configure.in:  Reinstate setting of stabsdirs variable, fix
23362         typo in setting up configdirs for native builds.
23363
23364         * gdb.base/return.exp:  Fix typo in return double test.
23365         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
23366         compiler from optimizing them away.
23367
23368 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
23369
23370         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23371         sequences to be echo'd by gdb when using gdb_test.
23372         * gdb.chill/chexp.exp: Likewise.
23373         * gdb.fortran/exprs.exp: Likewise
23374
23375 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
23376
23377         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23378         after the inferior gdb has started.
23379
23380         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23381         after each command.
23382         * gdb.base/funcargs.exp: Likewise.
23383         * gdb.base/gdbvars.exp: Likewise.
23384         * gdb.base/interrupt.exp: Likewise.
23385         * gdb.base/list.exp: Likewise.
23386         * gdb.base/watchpoint.exp: Likewise.
23387         * gdb.c++/demangle.exp: Likewise.
23388         * gdb.c++/inherit.exp: Likewise.
23389         * gdb.chill/chexp.exp: Likewise.
23390         * gdb.fortran/exprs.exp: Likewise.
23391
23392         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23393         test if we can't handle IO to/from the inferior.
23394
23395         * gdb.c++/misc.exp: Always check for a program already being
23396         started after sending a "run" command to gdb.
23397
23398         * gdb.base/twice.exp: Start with a fresh gdb.
23399
23400         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23401         only depend on gdb's expression code, not the chill runtime.
23402
23403         * gdb.base/return.c: Put return values into variables so we
23404         can have gdb print them rather than depending on the program
23405         to print them.
23406         * gdb.base/return.exp: Corresponding changes.
23407
23408         * lib/gdb.exp: Provide default value for noinferiorio.
23409         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23410         the inferior.
23411
23412         * gdb.base/break.exp: Always check for a program already being
23413         started after sending a "run" command to gdb.
23414         (text_next_with_recursion): Don't check the output from the
23415         program's printf statement.  Instead just make sure the program
23416         exited.
23417
23418         * gdb.base/commands.exp: Protect tests which need arguments with
23419         $noargs conditionals.
23420
23421 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23422
23423         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
23424         of structure member arrays to match gdb/valops.c:value_addr change.
23425
23426 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
23427
23428         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23429         cases.
23430
23431 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
23432
23433         * configure.in (configdirs):  Remove gdb.chill from default list
23434         of subdirs and then add it back in only if doing a native build.
23435         The current chill compiler does not yet work in any cross build.
23436         * Revert all signal changes from Jul 6.
23437         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
23438         for sh-hms targets, allowing these tests to link, with no other
23439         changes.  Testing is suppressed by setting "nosignals" in site.exp.
23440
23441 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
23442
23443         * configure.in (signaldirs): Define and add to configdirs for all
23444         targets except some specific ones that are known to not support signals.
23445         Also clean up formatting.
23446         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
23447         (signals, sigall):  Remove rules to build.
23448         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23449         Moved to new gdb.signals directory.
23450         * gdb.signals: New test directory.
23451         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23452         signals.c signals.exp}:  New or moved files.
23453
23454 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
23455
23456         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23457
23458 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
23459
23460         * gdb.base/return.exp:  Xfail `return double' test failure
23461         on at least Solaris 2.3 and handle future/past versions on
23462         a case by case basis as appropriate.  Also update message
23463         to include i*86 failures.
23464
23465 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23466
23467         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23468
23469         * lib/gdb.exp: Fix comment which erroneously identified
23470         gdb_file_cmd as gdb_load (the 19 May change was in fact to
23471         gdb_file_cmd not gdb_load).
23472         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23473
23474         * gdb.base/setvar.exp: Make test names consistent between pass and
23475         fail cases.  Use gdb_test more.
23476
23477 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23478
23479         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23480
23481 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23482
23483         * gdb.base/help.exp:  Fix expected help string for `show commands'.
23484
23485 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
23486
23487         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23488
23489         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23490         of a text section.
23491
23492 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
23493
23494         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
23495         that loop eventually terminates.  Fix Connection refused logic so
23496         that testsuite will expire nicely.
23497
23498 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
23499
23500         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23501         config/rom68k.exp:  New tcl glue for the appropriate monitors.
23502         These all just end up calling monitor.exp.
23503         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
23504         refused' by retrying.  Cleanup some timeout issues.
23505         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
23506         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
23507         callers don't have to set/restore global timeout variable.
23508
23509         * The following set of changes centralizes management of the global
23510         timeout variable.  This way, it can be set in one target dependent
23511         place instead of dozens of places scattered throughout the test suite.
23512         If you need to lengthen a timeout, then you should either set timeout
23513         in one of the config/{target}.exp files, or multiply it by a factor.
23514         Setting it to an absolute value is always going to lose for some
23515         targets.
23516         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
23517         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
23518         * gdb.base/funcargs.exp:  Don't set timeout.
23519         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
23520         * gdb.base/printcmds.exp (test_print_string_constants
23521         test_print_array_constants):  Don't set timeout.
23522         * gdb.base/ptype.exp:  Don't set timeout.
23523         * gdb.base/recurse.exp:  Don't set timeout.
23524         * gdb.base/return.exp:  Don't set timeout.
23525         * gdb.base/watchpoint.exp:  Don't set timeout.
23526         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
23527         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
23528
23529 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
23530
23531         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23532
23533 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23534
23535         * lib/gdb.exp: Disable chill tests for irix5.
23536
23537 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23538
23539         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
23540         each test pass or fail.
23541
23542 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23543
23544         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23545         xlc not gcc.
23546
23547 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
23548
23549         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
23550
23551 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
23552
23553         * config/est.exp:  Fix copyright and comments.  Remove dead code.
23554         Use targetname, serialport and baud variables instead of fixed
23555         constants.
23556         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
23557         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
23558
23559 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23560
23561         * gdb.base/watchpoint.exp: Don't run
23562         test_watchpoint_triggered_in_syscall for sunos.
23563
23564 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23565
23566         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23567         they don't seem to exist.  Do include stdio.h.
23568
23569 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23570
23571         * gdb.base/a1-selftest.exp: Add alpha xfail.
23572
23573 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23574
23575         * gdb.base/watchpoint.c (main): Prompt before calling read().
23576         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23577         Revise accordingly.  Remove cruft about sending "123" several
23578         times, until it gets noticed.  Clean up the "print buf[0]" stuff
23579         so that it passes or fails, and waits for prompts in the usual way.
23580
23581 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23582
23583         * gdb.base/recurse.exp: Fix comment.
23584
23585         * TODO: Remove item about printing variables in nodebug.exp.  Add
23586         item about enabling tests which are only run on some targets.
23587
23588         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23589         fail, make test names unique, use new gdb_test convention
23590         regarding pattern, use gdb_test more, etc.).
23591
23592         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23593         fail, make test names unique, etc.).
23594
23595 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23596
23597         * gdb.base/nodebug.c:  Change return type of top and middle to
23598         short.
23599         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
23600         are fixed by the recent mdebugread.c changes. Allow `short ()'
23601         as type for top and middle.
23602
23603 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23604
23605         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
23606         nearly as I can tell, the whole thing was an accident in Stu's
23607         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23608         to replace a send/expect pair with gdb_test, but ended up only
23609         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
23610         of 30 Mar 1995 took care of it, but left this vestigial comment
23611         which I am now nuking.
23612
23613 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23614
23615         * gdb.base/break.exp: Look for different line number for
23616         breakpoint at main depending on usestubs.
23617
23618 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23619
23620         * gdb.base/list.exp:  Adjust some alternate expect patterns to
23621         match recent list0.c change. Add alternate expect pattern for
23622         output from `list default lines around main' for optimizing
23623         compilers.
23624
23625 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23626
23627         * lib/gdb.exp: If nosignals is not set, set it to 0.
23628
23629 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
23630
23631         * config/slite-gdb.exp: Responds to load symbol table prompt.
23632         * gdb.base/break.exp: Adjust line number, fix rerun.
23633         * gdb.base/langs0.c: Add #ifdef usestubs.
23634
23635 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
23636
23637         * gdb.base/list.exp: Adjust line contents after adding new lines in
23638         list0.c. Also fix a syntax error.
23639
23640         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23641         * gdb.base/break.exp: ditto.
23642         * gdb.base/list.exp: ditto.
23643         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23644         * gdb.base/run.c: ditto.
23645         * gdb.base/list0.c: ditto.
23646         * gdb.base/funcargs.c: ditto.
23647
23648 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
23649
23650         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
23651         $targetname, $serialport and $baud instead of hardwired variables.
23652         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
23653         target doesn't support signals.
23654
23655 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
23656
23657         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23658
23659 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23660
23661         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
23662         Don't rely on the value of an auto variable before it has been
23663         initialized.  Use gdb_test more.
23664
23665 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23666
23667         * lib/gdb.exp (default_gdb_version): A version number must start
23668         with a digit, but other than that contains all characters up to
23669         the first whitespace character.
23670
23671 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23672
23673         * gdb.base/commands.exp (breakpoint_command_test): New tests.
23674
23675 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23676
23677         * gdb.c++/*.exp: Warn if executable does not exist.  The original
23678         reason for skipping the warning was that configure.in sometimes
23679         intentionally skipped building the executables but the tcl code
23680         had no way of knowing.  That (a) was always bogus with respect to
23681         error handling, (b) is no longer true (right now there is no way
23682         to skip C++ tests).
23683
23684         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23685
23686 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23687
23688         * gdb.base/list.exp:  Add expect patterns for output from
23689         SunPRO compiled executables.
23690         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
23691         types.
23692
23693 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23694
23695         * gdb.base/break.exp (test_next_with_recursion): Accept any line
23696         number (we are already testing that the correct source line text
23697         gets printed).
23698
23699         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
23700         that is what is intended, but something needed to be done to get
23701         sunos4 native working again.
23702
23703         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23704
23705         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23706         apparently went with a (very) old xfail.
23707
23708 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
23709
23710         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23711         runto_main is a proc in gdb.exp that will do 'step' for target use
23712         stubs.
23713         * gdb.base/exprs.exp: ditto.
23714         * gdb.base/interrupt.exp: ditto.
23715         * gdb.base/opaque.exp: ditto.
23716         * gdb.base/printcmds.exp: ditto.
23717         * gdb.base/ptype.exp: ditto.
23718         * gdb.base/scope.exp: ditto.
23719         * gdb.base/setvar.exp: ditto.
23720         * gdb.base/signals.exp: ditto.
23721         * gdb.base/twice.exp: ditto.
23722         * gdb.c++/classes.exp: ditto.
23723         * gdb.c++/inherit.exp: ditto.
23724         * gdb.c++/templates.exp: ditto.
23725         * gdb.base/break.exp: no run and hit main for stubs. Change line
23726         numbers for breakpoints and info breakpoint.
23727         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23728         breakpoint().
23729         * gdb.base/callfuncs.c: ditto.
23730         * gdb.base/exprs: ditto.
23731         * gdb.base/interrupt.c: ditto.
23732         * gdb.base/opaque0.c: ditto.
23733         * gdb.base/printcmds.c: ditto.
23734         * gdb.base/ptype.c: ditto.
23735         * gdb.base/scope0.c: ditto.
23736         * gdb.base/setvar.c: ditto.
23737         * gdb.base/signals.c: ditto.
23738         * gdb.base/twice.c: ditto.
23739         * gdb.c++/misc.cc: ditto.
23740         * gdb.c++/templates.cc: ditto.
23741
23742 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23743
23744         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23745
23746         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23747         somewhere between `read' and `main.c'.  I'm pretty sure the
23748         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23749         and it isn't particularly useful.
23750
23751         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
23752
23753 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23754
23755         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23756
23757 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
23758
23759         * config/mt-slite: add LIBS and -nostdlib.
23760         * config/slite-gdb.exp: add this new file to support sparclite target.
23761
23762 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
23763
23764         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23765
23766         * gdb.base/a2-run.exp: Change argument to istarget from
23767         "*-*-vxworks" to "*-*-vxworks*".
23768         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23769
23770 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
23771
23772         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23773         will not runto main but do a 'step' to step out of breakpoint().
23774         * config/mt-slite: add -Dusestubs.
23775
23776 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23777
23778         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23779         instead of just @.
23780
23781         * gdb.base/signals.exp: Add test for "handle all print".
23782         * TODO: Remove "handle all print".  Also remove item about
23783         checking copyright date (I don't like the idea of a spurious FAIL
23784         based on when we run the tests).
23785
23786         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
23787         for SunOS4 (reason for failure not investigated).  Remove
23788         redundant test for $binfile.
23789
23790         * gdb.base/nodebug.c (array_index): Call malloc.
23791
23792         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23793
23794 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
23795
23796         * gdb.base/recurse.exp: Update gdb_test invocation to use new
23797         conventions and slightly simplify the matching regexp.
23798
23799 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23800
23801         * gdb.base/break.exp: Update gdb_test invocation to use new
23802         convention.
23803
23804         * lib/gdb.exp: If noargs is not set, set it to 0.
23805
23806         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
23807         tests unique.
23808
23809         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23810
23811 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23812
23813         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23814         one argument of type "<non-float parameter>".
23815
23816 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
23817
23818         * config/rom68k.exp:  New file to support Motorola IDP board.
23819         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
23820         * gdb.base/break.c:  Change things around so that this program
23821         doesn't depend upon args.  This is necessary to make remote
23822         targets work (in general, they can't take args).
23823         * gdb.base/break.exp:  Don't try to send args to program.  Don't
23824         expect output.  Also, replace lots of code with gdb_test.
23825
23826 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23827
23828         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23829         printing of '\'' (which is what the comment says we are testing,
23830         even though we were not), not '''.
23831         (test_integer_literals_rejected): Test that printing ''' is an error.
23832
23833         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23834         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23835         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23836         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23837         Use gdb_test not test_print_accept.
23838         * lib/gdb.exp: Remove test_print_accept.
23839
23840         * gdb.base/signals.exp (signal_tests_1): Make pass message
23841         consistent with fail message.
23842
23843         * gdb.base/whatis.exp: Remove xfails for printing char vs.
23844         unsigned char; the bug (PR 1821) is fixed.
23845
23846         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23847
23848         * gdb.base/scope.exp (test_at_localscopes): Call pass for
23849         successful tests--makes xfailing them work right.
23850
23851 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23852
23853         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23854         only \r\n, not .*.  The test can pass .* as the last thing in
23855         $pattern if that is what it wants.  In addition to providing this
23856         flexibility, this change should speed up pattern matching in cases
23857         where the pattern already ended with .* (there were a number of
23858         them).  This change also helps catch bad patterns--in the old
23859         scheme the typo "char \*" instead of "char \\*" would pass.  Now
23860         it is caught.
23861         * Many .exp files: Update callers.
23862
23863         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
23864         clearer and does not spuriously match multiple ('s.  Likewise for
23865         ) and *.
23866
23867         * gdb.base/nodebug.exp: Test ability to call a function and pass
23868         it a string (even with no debugging info).
23869
23870         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23871         "p '\'", which is the same as "p ''" once tcl gets done with
23872         quoting, to "p '\\'", which I suspect is what is intended (one
23873         backslash gets sent to GDB).
23874
23875         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23876
23877 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23878
23879         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
23880         1817) was fixed literally years ago.
23881
23882 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23883
23884         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
23885         test, it causes stepping out of call_after_alloca_subr with
23886         optimizing compilers.
23887         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
23888         fails.
23889
23890         * gdb.c++/templates.exp:  Source templ-info.exp only if
23891         the templates executable exists.
23892
23893         * gdb.c++/misc.cc (class Contains_static_instance,
23894         class Contains_nested_static_instance),
23895         gdb.c++/classes.exp (test_static_members):  Test printing of
23896         a class that contains a static instance of the class.
23897
23898 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23899
23900         * gdb.base/langs2.c (cppsub_): Don't prototype.
23901         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23902         only, I believe).
23903
23904 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23905
23906         * lib/gdb.exp (skip_chill_tests): New procedure.
23907
23908         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23909
23910 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
23911
23912         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23913         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
23914
23915 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23916
23917         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23918
23919         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23920         disassemble 8, not 16, instructions for part 4.
23921
23922         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
23923         support the latter anymore.
23924
23925         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23926         -DNO_PROTOTYPES.
23927         * gdb.base/callfuncs.c: Control use of prototypes based on
23928         NO_PROTOTYPES, not __STDC__.
23929         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23930         t_float_values2 tests if prototypes in use.
23931
23932         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23933         t_double_values):  When checking differences against DELTA, check
23934         that difference is within the range (-DELTA,DELTA), not just
23935         (-infinity,DELTA).
23936
23937 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
23938
23939         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23940         'file' command firts, then 'target', then 'load', this is due to gdb
23941         target set up.
23942         * config/mips-gdb.exp: Fix a couple regular exp bugs.
23943
23944 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
23945
23946         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23947         FP load/store variants.
23948         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23949
23950 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23951
23952         * gdb.base/term.exp: Do not give a warning if not native, it is
23953         not an abnormal condition.
23954
23955 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
23956
23957         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23958         t_char_array".
23959
23960 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
23961
23962         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23963         are getting the version number.
23964
23965         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23966         if not native, it is not an abnormal condition.
23967
23968 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
23969
23970         * lib/gdb.exp: Just use "file exists", rather than undocumented
23971         dejagnu procedure "findfile".
23972
23973 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23974
23975         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23976           (LDFLAGS): Set to -Xlinker -Ur.
23977
23978         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23979           Removed, these values are set by lib/gdb.exp.
23980
23981         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23982
23983 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
23984
23985         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23986           of replicating gdb startup code.
23987
23988         * config/mt-vxworks (LDFLAGS): Set to -r.
23989           (CFLAGS_FOR_TARGET): Removed.
23990
23991         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23992           (gdb) and gdb for vxworks uses (vxgdb).
23993
23994         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23995           executable is not in the tree and host != target, use sed and
23996           program_transform_name to determine the gdb name used by the
23997           target.
23998
23999         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24000           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24001
24002 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24003
24004         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24005         floats, chars, and shorts where there are ANSI-style function
24006         definitions.
24007
24008         * gdb.base/langs.exp, gdb.base/langs*: New test.
24009         * gdb.base/Makefile.in: Build it.
24010         * TODO: Remove item about checking that C names don't get C++
24011         demangling applied; this test tests it.
24012
24013 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24014
24015         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24016         went with the const70 xfail.  The xfail went away a year ago.
24017
24018         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24019
24020         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
24021         for hp300.
24022
24023         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24024
24025         * gdb.base/a1-selftest.exp: Don't run on hp300.
24026
24027 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24028
24029         * Makefile.in (site.exp): Set host_alias and target_alias as well
24030         as host_triplet and target_triplet.
24031
24032 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24033
24034         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24035
24036         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24037         places as other ecoff systems).
24038
24039         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24040         ultrix.
24041
24042 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24043
24044         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24045         remove them.
24046         * gdb.base/nodebug.exp: Accept "function" in addition to "text
24047         variable and "variable" in addition to "data variable".
24048         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24049
24050         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24051         2.
24052         * gdb.base/list1.c (long_line): Add additional statement at start
24053         of function.
24054         * gdb.base/list.exp (test_forward_search): Update line number to
24055         reflect new statement.
24056
24057 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24058
24059         * gdb.base/signals.exp:  Reinitialize searched source directories
24060         after gdb_start call.
24061
24062 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
24063
24064         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24065         * gdb.stabs/Makefile.in: Likewise.
24066
24067         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24068         change.  Instead split the tests into smaller pieces.
24069         * gdb.disasm/hppa.s: Corresponding changes.
24070
24071 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24072
24073         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24074         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
24075
24076         * gdb.base/funcargs.exp: Modify many tests so that every test
24077         either passes or fails.  Make some test names unique.
24078
24079 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24080
24081         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24082         Call stty to set interrupt character.
24083
24084         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24085         for HP assembler versus GNU assembler based on actual behavior of
24086         $(CC), rather than assuming that $(AS) is always the GNU assembler.
24087
24088         * TODO: Suggest a few more stepping tests.
24089
24090 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
24091
24092         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24093         restart GDB for h8300 after a continue.
24094         (return): Add pattern to match a29k-udi behavior.
24095         * gdb.base/nodebug.exp: Remove obsolete comment.
24096         * gdb.base/regs.exp: New file, testing of register displays.
24097         * gdb.base/return.exp: Fix typo in reference to $objdir.
24098         * gdb.base/whatis.exp: Always start with a fresh GDB.
24099
24100 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24101
24102         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24103         higher, these tests generate a lot of output.
24104
24105 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24106
24107         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
24108         code following the catch silently ignored some errors; without the
24109         catch they should be thrown like any other tcl error.  Also, the
24110         catch used "" instead of {} which meant all the callers who wanted
24111         to include one of the characters "[]$ had to quote it an extra time.
24112         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24113         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24114         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24115         Remove extra quoting.
24116
24117 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
24118
24119         * gdb.base/commands.exp: Make test names unique; every test either
24120         passes or fails.  Update some comments.
24121
24122         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24123
24124 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24125
24126         The following fixes a FAIL caused by the fact that the alpha stabs
24127         configuration didn't use the ".if alpha" code in weird.def.
24128         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24129         bit pointer, so the 32 bit version works even on the alpha.
24130         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24131         Remove the stuff which allowed us to have separate versions for
24132         alpha and everything else.
24133
24134         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24135         regexp which "info func operator\[\](" is supposed to match.  Fix
24136         string to send to GDB.  Note that GDB still doesn't work right.  Add a
24137         new test for "info func .perator\[\](" which GDB does handle correctly.
24138
24139         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24140
24141 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24142
24143         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24144         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24145         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24146         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24147         it makes the tests harder to understand and confuses test-o-matic.
24148         The preferred style is that each test provides a PASS or a FAIL,
24149         and has a unique message (e.g. "continue #54" not just "continue")
24150         which is the same for the pass and the fail.
24151         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24152         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24153         to lib/gdb.exp.
24154         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
24155         prt_accept which was basically the same thing.  Likewise for
24156         test_print_reject and prt_reject.
24157         * lib/gdb.exp (test_print_reject): Add some more error message
24158         patterns to match from the former printcmds.exp (prt_reject).
24159         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24160         One defect of the passcount stuff is that some of it failed to
24161         report XPASS where appropriate.
24162         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24163         stuff before and after arg in expected pattern.
24164         (test_paddr_operator_functions): Re-do test without print_addr_of;
24165         this is the only test which seems to want extra stuff there.
24166
24167 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24168
24169         * gdb.base/nodebug.exp: Update new tests to reflect improved
24170         wording of gdb output.
24171
24172         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24173         and "ptype" work on variables in files compiled without -g.
24174         Replaces commented out "maint print msymbol" tests.
24175
24176 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24177
24178         * gdb.base/setvar.c (dummy): Call malloc.
24179
24180         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24181         losing with the irix4 sed.
24182
24183         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24184         ALRM" on irix4.
24185
24186 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24187
24188         * TODO: Remove items about corefile.exp testing new exec-file and
24189         backtrace; both are now done.  Add items about printing enums.
24190
24191 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24192
24193         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24194         "get signal $thissig" test fails.
24195
24196         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24197
24198 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24199
24200         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24201         compiler warning with dec alpha compiler.
24202
24203         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24204         extra \n from gdb_test call (this explains why the prompt test
24205         that I removed yesterday was there).
24206         (user_defined_command_test): Remove extra \n and prompt test.
24207
24208         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24209         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24210         doesn't exist.
24211         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24212         Also remove alpha workaround, which turns out to be because
24213         SIGABRT == SIGLOST.
24214
24215         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24216
24217         * gdb.base/help.exp: Don't test "help show".
24218
24219 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24220
24221         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24222         "set print address" is on.
24223         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24224         pass prompt to gdb_test; gdb_test already looks for the prompt.
24225
24226         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24227
24228         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
24229         was a vestige of the manual TESTSTRATEGY, and the purpose of it
24230         was to make sure that gdb can read a core file.  But (a) the "read
24231         the corefile" part didn't make it to a1-selftest.exp, we just
24232         delete the corefile after creating it, and (b) we test reading
24233         corefiles in corefile.exp anyway.  Also, this test left around a
24234         xgdb process on Solaris.
24235
24236         * gdb.base/corefile.exp: Also test backtrace.
24237
24238 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
24239
24240         * gdb.base/commands.exp: Test a simple user defined command with
24241         arguments and if/while statements; verify the full user command is
24242         printed by "show user".
24243
24244         * gdb.base/commands.exp: Test if/while commands as part of a
24245         breakpoint command list; verify they appear in breakpoint
24246         information.
24247
24248 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24249
24250         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24251         than by dividing by zero.
24252
24253 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
24254
24255         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24256         performing an inferior call with watchpoints enabled.
24257         * gdb.base/watchpoint.c (main): Delete second unnecessary read
24258         call.
24259
24260 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24261
24262         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24263         of "file" command.
24264
24265         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24266         Add additional pattern for when "int operator int(void);" appears
24267         in a different order.
24268
24269 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
24270
24271         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24272
24273         * gdb.base/help.exp: Replace most of docstrings for "info signals"
24274         and "signal" with ".*".
24275
24276 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
24277
24278         * TODO: Add note about "handle all nostop".
24279
24280         * gdb.base/{sigall.c, sigall.exp}: New test.
24281         * gdb.base/Makefile.in: Add it.
24282
24283 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
24284
24285         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24286         when invoking GDB, suppresses any windowing interface.
24287
24288 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
24289
24290         * config/sim-gdb: New file, simulator testing support.
24291
24292 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
24293
24294         * gdb.base/interrupt.exp: Test calling func1 twice.
24295
24296 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
24297
24298         * gdb.base/list.exp (test_forward_search): Set timeout higher
24299         when we'll be getting lots of output from gdb.
24300
24301         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24302         "init_malloc" to after the expect statement.  Run it if that
24303         regexp is taken, but also for two others which happen if source
24304         cannot be found.
24305
24306 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24307
24308         * gdb.base/printcmds.exp: New test, for printing register before
24309         program is running.
24310
24311 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24312
24313         * gdb.base/list.exp:  Correct some alternate expect patterns
24314         to reflect changes in list1.c.
24315
24316 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24317
24318         * TODO: Add item regarding large frames.
24319
24320         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24321
24322         * TODO: Remove item about enabling return.exp; it
24323         is enabled.  Suggest a few more "return" tests.
24324
24325 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24326
24327         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
24328         anonymous unions.
24329
24330 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24331
24332         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24333         and pr-5646.o, so "make" is the same as "make all", not "make
24334         pr-4975.o".
24335
24336 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
24337
24338         * gdb.base/list.exp: Adjust expectations to reflect changes in
24339         list1.c.
24340         (test_forward_search): New test proc.
24341         * gdb.base/list1.c (long_line): New function, has long source line.
24342
24343 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
24344
24345         * gdb.base/a1-selftest.exp: Change initial stepping to know about
24346         additional line of code that was added.
24347
24348 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
24349
24350         * gdb.disasm/hppa.s: Break the large branching tests into smaller
24351         tests so as not to overflow expect's input buffers.
24352         * gdb.disasm/hppa.exp: Corresponding changes.
24353
24354 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24355
24356         Beginnings of template debugging tests.
24357         * gdb.c++/templ-info.cc:  New file to test for template
24358         debugging capability of the compiler.
24359         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
24360         templ-info.cc.
24361         * gdb.c++/templates.cc:  Add explicit template instantiations
24362         to enable compiling with -fno-implicit-templates. Add destructor
24363         and 'value' method to T5 class for template tests.
24364         * gdb.c++/templates.exp:  Add testcases for printing of template
24365         types, setting breakpoints on template methods and calling a
24366         template method.
24367
24368 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
24369
24370         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24371         branch target since some assemblers (gas-2.5)  may emit a
24372         relocation for the branch instead of resolving it in the
24373         assembler.
24374
24375 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24376
24377         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
24378         through signal handler.
24379
24380 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24381
24382         * configure.in (*-*-netware): Use config/mt-netware.
24383
24384         * config/mt-netware: New file.
24385         * config/mt-i386-netware: Removed, separate configs for different
24386           netware architectures are no longer needed now that we have
24387           --with-headers.
24388
24389 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24390
24391         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
24392         by the recent changes to use ANSI C arithmetic conversions.
24393
24394 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24395
24396         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24397         bug involving using inferior_pid to figure out whether to select a
24398         frame.
24399
24400 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
24401
24402         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24403         match the current disassembler output.
24404
24405 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
24406
24407         * gdb.fortran/exprs.exp: Expect VOID instead of void.
24408         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24409         types, expect "int" as type of integer values (for now).
24410
24411 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
24412
24413         * gdb.base/commands.exp: New tests for if/while commands.
24414
24415 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24416
24417         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
24418         by .*, since hex values have different syntax in Chill mode.
24419
24420 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24421
24422         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
24423         linefeed from expect pattern for repeated types with indices > 9.
24424
24425 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
24426
24427         First part of Fortran test suite.
24428         * gdb.fortran: New directory.
24429         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24430
24431 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24432
24433         * gdb.base/default.exp:  Update expect pattern for load command
24434         without arguments.
24435
24436 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
24437
24438         * configure.in: Change i386 to i[345]86.
24439         * gdb.base/configure.in: Likewise.
24440         * gdb.c++/configure.in: Likewise.
24441         * gdb.chill/configure.in: Likewise.
24442
24443 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
24444
24445         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24446         patterns, since that is not a valid context for comments.
24447
24448 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
24449
24450         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24451         repeated types and repeated types with indices > 9.
24452
24453 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
24454
24455         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24456         2417; old bug has been fixed.
24457
24458 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
24459
24460         * gdb.base/interrupt.exp: When trying to wake up the inferior,
24461         send the newline ourselves instead of assuming gdb_test will do
24462         so when passed an empty input string.
24463
24464         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24465         stabs testcode.
24466
24467 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24468
24469         * lib/gdb.exp (gdb_test): Don't send anything if the first
24470           argument is an empty string.  This makes cases where we want to
24471           match output that is already in expect's buffers (for example,
24472           matching a breakpoint after gdb_run_cmd has been called) work
24473           reliably.
24474
24475 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24476
24477         * config/netware.exp: New file.
24478
24479 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24480
24481         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24482           the -B and -L prefixes so we can find the debugging stub.
24483
24484         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24485           there and we are using the gcc from the tree.
24486
24487         * gdb.base/types.c: Removed.
24488
24489         * gdb.base/configure.in: Look for makefile fragments in ../config.
24490           Recognize i386-*-netware.
24491         * gdb.c++/configure.in: Likewise.
24492
24493 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24494
24495         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
24496         the correct TCL syntax.
24497
24498 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24499
24500         * gdb.base/opaque.exp: use runto instead of messing around with
24501           breakpoints.  Simplify by using gdb_test.
24502
24503         * gdb.base/bitfields.exp: restart between tests on netware targets
24504           because breakpoints aren't relocated after target death.  Run
24505           processes to completion.
24506
24507         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24508
24509 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
24510
24511         * Makefile.in:  Remove extra tabs that confuse some versions
24512         of "make".  Use the newly built gdb to test with by default,
24513         rather than the first one in the tester's search path.
24514
24515 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
24516
24517         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24518
24519         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24520         condition help.
24521
24522 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24523
24524         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24525
24526         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24527           running.
24528         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24529         * gdb.base/funcargs.exp: Likewise.
24530
24531         * gdb.base/bitfields.exp: Simplify by using gdb_test.
24532         * gdb.base/funcargs.exp: Likewise.
24533
24534         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24535           message is "".
24536
24537 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24538
24539         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24540           return,signals,twice}.exp: Handle non-existant binaries
24541           consistantly.
24542
24543         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24544         * gdb.base/Makefile.in: Don't try to generate a core dump, we
24545           might testing a cross development system.
24546
24547 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24548
24549         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24550           runtest script is relative to ${srcdir}, not ${rootdir}.
24551
24552 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
24553
24554         * gdb.base/signals.exp: Allow for optionality of breakpoint
24555         address.
24556
24557 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24558
24559         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24560
24561 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
24562
24563         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24564           for size_t definition.
24565         * gdb.c++/templates.cc: Likewise
24566
24567         * config/mt-i386-netware: New file.
24568
24569         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24570           defined.
24571
24572         * gdb.base/Makefile.in: Added support for systems that name core
24573           files by appending "core" to the program name.
24574         * gdb.base/a1-selftest.exp: Likewise.
24575
24576 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24577
24578         * gdb.base/return.exp:  Add comment and message for `return double'
24579         test failure on Sparc Solaris.
24580
24581 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
24582
24583         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24584
24585 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24586
24587         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
24588         from optimizing them away.
24589         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
24590         patterns to include default constructors and assignment operators,
24591         to match gcc versions beyond 2.5.8. Accept any cplus demangling
24592         character in the output of the virtual base pointer.
24593
24594 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24595
24596         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
24597         expression match in print_addr_of to avoid unintented matches.
24598         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
24599         versions up to 2.5.8.
24600
24601 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24602
24603         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
24604         included file to run under newer versions of expect.
24605         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
24606         consecutive >'s in templates to accomodate recent cplus-dem.c change.
24607         Remove xfail for the virtual table of BDDHookV.
24608
24609 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
24610
24611         * lib/gdb.exp (string_to_regexp): Set a default result.
24612         (default_gdb_start): Fix misleading message.
24613
24614 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
24615
24616         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24617         Remove all CC, etc definitions.
24618         * config/mt-hpux: New file.
24619         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24620         (CFLAGS, LDFLAGS): Define.
24621         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24622
24623         * Makefile.in (site.exp): Don't insert host_os, etc.
24624         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24625         (distclean): Check existence of subdir.
24626         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24627         * gdb.base/Makefile.in: General cleanup and simplification.
24628         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24629         to build executables.   Use default rule to build .o files.
24630         (EXPECT, RUNTEST, CC): Fix relative pathname.
24631         (site.exp): Don't insert host_os, etc.
24632         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24633         and/or SIGUSR1 defined.
24634         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24635         * gdb.c++/Makefile.in: General cleanup and simplification.
24636         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24637         (CFLAGS): Remove.
24638         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24639
24640 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
24641
24642         * gdb.base/recurse.exp: Misc changes to get tests running again
24643         after Kung's changes to the watchpoint code.
24644         * gdb.base/watchpoint.exp: Likewise.
24645
24646 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24647
24648         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
24649
24650 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
24651
24652         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24653         * lib/gdb.exp (default_gdb_start): Define.
24654         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24655         gdb.base/funcargs.exp, gdb.base/opaque.exp,
24656         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24657         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24658         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24659         Don't call gdb_target_udi in between tests.
24660
24661 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24662
24663         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24664         (which was basically just a local version of the same thing).  In
24665         addition to avoiding duplication, gdb_test_exact is faster.
24666         * lib/gdb.exp (gdb_test_exact): Fix typo.
24667
24668         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24669         don't give an error.
24670
24671         * gdb.base/term.exp: Call delete_breakpoints before starting.
24672
24673         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24674         (t10): Add comment.
24675
24676 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24677
24678         Reorganization of the GDB Test Suite.
24679
24680         * gdb.base: New directory, contains all the basic tests.
24681         * gdb.c++: New directory, tests specific to C++.
24682         * gdb.chill: New directory, tests specific to Chill.
24683         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24684         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24685         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24686         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24687         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24688         t30-31 to chill).
24689         * */gdbme.*: Rename to match appropriate expect scripts.
24690         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24691         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24692         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24693         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24694         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24695         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24696         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24697         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24698         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24699         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24700         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24701         gdb.c++/virtfunc.cc: New names of C++ files.
24702         * gdb.chill/chillvars.ch: New name of Chill file.
24703         * gdb.base/configure.in, gdb.c++/configure.in,
24704         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24705         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24706         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24707         * configure.in (configdirs): Update to reflect directory changes.
24708         (target_abbrev): No longer define for any configuration.
24709         * Makefile.in: Cosmetic improvements to header comments.
24710
24711 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24712
24713         Various changes to gdb.t31:
24714
24715         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
24716         * gdbme.ch:  Make all key-words and predefineds be upper-case.
24717         * chillvars.exp:  Expect key-words and predefinds in upper-case.
24718
24719         * chillvars.exp:  Use gdb_test_exact many places.
24720         Change expected output for arrays (which now includes index labels).
24721
24722         * pr-5020.exp, gdme.ch (module PR_5020):
24723         New test, for PR-5020.
24724
24725 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24726
24727         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
24728         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
24729
24730 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
24731
24732         * Makefile.in:  Fix bit-rot in definitions of CHILL,
24733         CHILL_FOR_TARGET and Chill_LIB.
24734         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
24735         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
24736         CHILL, and CHILL_LIB.
24737
24738 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
24739
24740         * Revert the previous changes.  Please see Rob's directory
24741           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24742
24743 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24744
24745         * Makefile.in, configure.in, config/mips-gdb.exp,
24746           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24747           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24748           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24749           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24750           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24751           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24752           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24753           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24754           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24755           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24756           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24757           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24758           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24759           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24760           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
24761           changes from 94Q1.
24762
24763 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
24764
24765         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24766           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24767           Rob's new testing fragments.
24768
24769 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
24770
24771         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24772           lib/gdb.exp: Replace error proc calls with perror.
24773
24774 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
24775
24776         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24777         version also, match on casted version strings, and match on
24778         gdb startup case where the line numbers might be messed up.
24779
24780 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
24781
24782         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24783           (CFLAGS): Delete it from here.
24784
24785 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
24786
24787         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24788
24789 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
24790
24791         * Makefile.in (RUNTEST): Default to just "runtest".
24792
24793 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24794
24795         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24796         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24797         the code has been restructured.
24798
24799 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24800
24801         * gdb.t00/default.exp (set write): Allow any number of \r and/or
24802         \n, not just one of each.
24803
24804         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24805         /bin/cc gives a warning if you do.
24806
24807 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
24808
24809         * gdb.t24/demangle.exp: change expect pattern of
24810         __t10ListS_link1ZUiRCUiPT0
24811
24812 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24813
24814         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24815         on local variables in recursive functions.
24816
24817         * gdb.t07/Makefile.in: Build the new test.
24818
24819 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24820
24821         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24822         directly.  Instead compare the return values from actual calls.
24823
24824 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
24825
24826         * Makefile.in (check): Set TCL_LIBRARY for runtest.
24827
24828 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24829
24830         * From Peter Schauer with minor modifications.
24831         * gdb.t15/return.exp (return_tests): Handle targets where "return"
24832         stops in mid-line in the caller.  Add xfail for returning a float
24833         value on X86 targets.
24834
24835 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24836
24837         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24838         to avoid expect lossage.
24839         (fmem_LRbug_tests): Likewise.
24840         * gdb.disasm/hppa.s: Corresponding changes.
24841
24842         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24843         conditions to work with latest dejagnu/expect.
24844
24845         * gdb.t15/funcargs.exp (finish from indirect call): No longer
24846         expected to fail on the PA.
24847         (backtrace in call with trampolines): Explicitly require main
24848         to be frame #1 (no trampolines should show up in backtrace).
24849
24850         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24851         "continue -expect".
24852         * gdb.t06/break.exp: Likewise.
24853         * gdb.t07/watchpoint.exp: Likewise.
24854         * gdb.t13/bitfields.exp: Likewise.
24855         * gdb.t15/{funcargs,return}.exp: Likewise.
24856         * gdb.stabs/weird.exp: Likewise.
24857         * config/{mips,udi}-gdb.exp: Likewise.
24858
24859         * hppa.sed: Enclose comments within a sed command to avoid
24860         losing with the old OSF1 sed.
24861
24862 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24863
24864         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
24865         sequent dynix.
24866         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
24867         * gdb.t15/funcargs.exp:  Conditionally step again to really
24868         finish from marker_call_with_trampolines. Handle the case where
24869         the first step from within call_with_trampolines already steps
24870         us back to main.
24871         * gdb.t15/gdbme.c:  Add comment to closing brace of
24872         call_with_trampolines for funcargs.exp.
24873
24874 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24875
24876         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24877         Fix typo(s).
24878
24879 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24880
24881         * gdb.t07/gdbme.c: More code for watchpoint testing.
24882
24883         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24884         "Hardware watchpoint" throughout file.
24885         (test_watchpoint_triggered_in_syscall): New test.
24886         (test_complex_watchpoint): New test.
24887
24888 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24889
24890         * gdbme.c (call_with_trampolines): New function to try and step
24891         into.  Tests trampoline problems on the PA.
24892
24893         * funcargs.exp (localvars_in_indirect_call): No longer expect
24894         stepping into indirect call to fail on PAs.
24895         (test_stepping_over_trampolines): New test.
24896
24897 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24898
24899         * TODO: Add suggestions for static member function tests, and
24900         completion tests.
24901
24902 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24903
24904         * TODO: Add suggestions for "p/a" tests.
24905
24906         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24907         (default_gdb_exit): Replace all the hair with sending "quit" to
24908         the process with a simple close.
24909
24910 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24911
24912         * TODO: Add suggestions for shared library tests.
24913
24914 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24915
24916         * TODO: Add suggestions for x/s tests.
24917
24918 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24919
24920         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24921         "enable once", and "enable breakpoints once" with ".*".
24922
24923 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24924
24925         * TODO: Add suggestions about structure passing tests.
24926
24927 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
24928
24929         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
24930         the primary1 test, use work around if __GNUC__ < 2.
24931         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
24932         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
24933         Test for bad output rather than waiting for timeout.  Issue
24934         second continue only if first continue failed.
24935
24936 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24937
24938         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24939         operator[] test with gdb_test because the old code didn't seem to
24940         be getting the quoting right with the new dejagnu.
24941
24942 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
24943
24944         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24945         one from the path.
24946         * Makefile.in: Use a fresh expect if there is one, use runtest
24947         from the src tree if there is one.
24948
24949 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24950
24951         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24952         next over recursive call.  Revise the tests from that point on
24953         (which had been skipped) to match GDB's actual (correct) output.
24954
24955         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24956         with next over a breakpoint whose condition is false.
24957
24958         * gdb.t00/help.exp: Comment out "help set print" tests just like
24959         (and for same reason as) "help set" test.
24960
24961 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
24962
24963         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24964         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24965
24966 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
24967
24968         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24969         necessary gdb_target_udi.
24970
24971         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24972
24973         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24974         1838 and 2417; they are fixed.
24975
24976         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24977         gdb.t03/ptype.exp (ptype structure, ptype union):
24978         Remove xfails; the test is looser than when the xfails were added.
24979
24980         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24981         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24982
24983         * gdb.t01/run.exp: Only run shell test if isnative.
24984
24985         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24986         since "run" automatically loads if necessary.  Call gdb_target_udi
24987         after the "file" since "file" kills any execution target.
24988
24989         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24990         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
24991         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24992         argument for UDI.
24993
24994 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
24995
24996         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24997
24998         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24999
25000 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25001
25002         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25003         properly quoting regexps.  This makes the second argument to
25004         demangle a fixed string, which matches the callers, instead of a
25005         shell-style pattern which is what the previous implementation
25006         used.  Update some of the callers.
25007
25008 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25009
25010         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25011         (comib_nullified_tests): Fix typo.
25012         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25013         strings.  No longer expected to fail.
25014
25015         * gdb.disasm/hppa.s (addib_tests): Fix typo.
25016         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25017         strings.  No longer expected to fail.
25018
25019         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25020         string.  No longer expected to fail.
25021
25022 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25023
25024         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25025         No longer expected to fail.
25026
25027         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25028         string.  No longer expected to fail.
25029
25030 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25031
25032         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25033         only in the names (I probably got most of them).  I was even
25034         generous with some which differed in underscores in names, and
25035         probably missed a few, and I *still* was able to remove almost a
25036         third of the file with almost no impact on testsuite coverage.
25037
25038 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25039
25040         * gdb.t00/default.exp: Match udi_attach error message as well as
25041         the one from child_attach.
25042
25043         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25044
25045         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25046
25047         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25048         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25049
25050         * Move test with enums and partial symbols back to
25051         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25052         Reverts the change of 26 May 93.  Per today's change to
25053         stabs.texinfo, the behavior that weird.exp was expecting was
25054         unreasonable; what is important is that the compiler+gdb get
25055         things right, which happens with a recent gcc.  Also fix the test
25056         to deal with native compilers which put out the stab gdb can't
25057         deal with.
25058
25059 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25060
25061         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25062         in the names.  The main thing these accomplish is to slow things down.
25063         Many more such duplicates surely remain.
25064
25065         * gdb.t00/help.exp: Comment out "help support" test just like
25066         (and for same reason as) "help set" test.
25067
25068 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
25069
25070         * gdb.t06/break.exp:  Remove setup_xfails for
25071         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25072         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
25073         about known bug in gcc to include up through 2.5.8.
25074         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
25075         well as "_vb$".
25076         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25077         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25078         with latest gcc and gdb.
25079         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
25080         well as "_vb$".
25081
25082 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25083
25084         * configure.in (hppa*-*-*): Also configure and build stabs-only
25085         tests.
25086
25087 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25088
25089         * gdb.t10/hppa.mt: A makefile fragment for the PA.
25090         * gdb.t10/configure.in (hppa*-*-*): Use it.
25091
25092 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25093
25094         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
25095
25096 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25097
25098         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
25099         versions prior to 1.13.5.
25100
25101 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25102
25103         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25104         the prompt is at the start of a line.
25105
25106 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
25107
25108         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25109         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
25110         in the copr tests now.
25111         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
25112         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
25113         expected to fail.
25114
25115 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25116
25117         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25118         gdb.t31/chillvars.exp, lib/gdb.exp:
25119         Tweak to run under either version of expect.
25120         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25121         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25122         * gdb.t11/list.exp: Remove extraneous whitespace.
25123
25124 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25125
25126         * gdb.t16/printcmds.exp (test_print_strings): Accept
25127         "(unsigned char *) " before the string.
25128
25129         * TODO: Add notes about printing of fancy types and GDB expressions.
25130
25131 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
25132
25133         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25134         * gdb.t06/configure.in: Don't try to compile signals test program
25135         if doing mips-idt-ecoff.
25136
25137 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25138
25139         * Most .exp files: Tweak to run under either version of expect.
25140
25141 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25142
25143         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
25144         xfails; I'm not sure why they are failing, but not because of PR 1806.
25145
25146 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
25147
25148         * config/unix-gdb.exp: Remove gdb_unload cause it's already
25149         defined in lib/gdb.exp.
25150
25151 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25152
25153         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
25154         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25155         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
25156         have to be typeless.
25157
25158 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
25159
25160         * TODO: Add suggestion for copyright year test.
25161
25162 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
25163
25164         * configure.in (*-*-lynxos*): Add stabs tests.
25165
25166 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
25167
25168         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25169         so insert a tab before any assembler directive in column zero.
25170
25171         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25172         stores.
25173         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25174         stores.
25175         (fpu_short_memory_tests): Likewise.
25176
25177 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25178
25179         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
25180         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
25181         .stabs directives in comments.
25182
25183 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25184
25185         * TODO: New file, describing tests we could write.
25186         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25187
25188 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25189
25190         * gdb.t06/signals.exp: Add kludge to force re-sync.
25191
25192         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25193         to xgdb instead of gdb, get out of gdb.
25194
25195 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
25196
25197         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25198         for info.
25199
25200 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
25201
25202         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25203         * gdb.stabs/configure.in (hppa*-*-*): Use it.
25204         * gdb.stabs/hppa.sed: New sed script for the PA.
25205
25206 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25207
25208         * gdb.stabs: Re-write weird.def and configuration to use sed
25209         instead of cpp.  sed is portable and POSIX; cpp is neither.
25210
25211 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25212
25213         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25214
25215 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25216
25217         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25218
25219 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25220
25221         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25222         "_vb$".
25223         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25224         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25225
25226 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25227
25228         * lib/gdb.exp: Comment out code which depends on non-existent
25229         `transform' procedure.
25230
25231 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25232
25233         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25234         * lib/gdb.exp: Transform tool name.
25235         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25236         1.1's new error handling system.
25237
25238 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25239
25240         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25241
25242 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25243
25244         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25245         They made pattern matching so slow that timeouts happened on
25246         heavily loaded systems.  Now any output from "show print" which
25247         gets us back to the GDB prompt is a PASS.
25248
25249 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
25250
25251         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
25252
25253 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25254
25255         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25256
25257         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25258         It is not from PR 3220.
25259
25260 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25261
25262         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25263         just started failing because they depended on the order the
25264         subcommands are presented, or exact docstring text.  This kind of
25265         test is a pain and has minimal benefit.
25266
25267 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25268
25269         * gdb.t09/corefile.exp: At end of test, use "core" command with
25270         no arguments.
25271
25272 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
25273
25274         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25275         17}/Makefile.in:  Make it possible to run the testsuite with Sun
25276         make and CC = cross gcc by adding explicit build rules for .o
25277         files.
25278
25279 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25280
25281         * gdb.t15/funcargs.exp: Don't put comments on same line as
25282         setup_xfail (@#$*%& tcl braindamage!).
25283
25284 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25285
25286         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25287
25288 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
25289
25290         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25291         * gdb.t20/inherit.exp: remove three dumplicate entries.
25292
25293 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25294
25295         * gdb.t06/break.exp: For "next over recursive call", fail on any
25296         incorrect output, not just on "factorial (value=2)".
25297
25298 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25299
25300         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
25301         working now. Add an xfail if accesing a bss variable causes
25302         a memory error if the target is not yet run.
25303
25304 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25305
25306         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25307         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25308         name of __st* demangling (2 strings).  Did Kung really get the
25309         more than 95 others right without testing them?
25310
25311 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
25312
25313         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25314
25315 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
25316
25317         * configure.in (configdirs): Add gdb.disasm
25318         * gdb.disasm: New directory for GDB disassembler tests.
25319         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25320
25321 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25322
25323         * gdb.t00/help.exp: Don't test "help set".
25324
25325         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25326         from within expect statements.  None of these happen anymore and
25327         they cause regressions to be silently unnoticed.
25328
25329         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25330         messages) about known failures with gcc cygnus-2.4.5-930417.
25331
25332         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25333         comp-info.exp so it gets built if it doesn't exist.
25334
25335         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25336         it is no longer used.
25337         * gdb.t13/comp-info.c: Removed.
25338
25339 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25340
25341         * gdb.t06/signals.exp: Add xfail for sun3.
25342
25343 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25344
25345         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25346         relevant because ^C doesn't get sent but failure can be reproduced
25347         interactively).
25348
25349 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25350
25351         * gdb.stabs/alpha.mt:  New configuration file for alpha.
25352         * gdb.stabs/configure.in:  Use it.
25353         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
25354         sharing with alpha.mt, redefine long to word via preprocessor.
25355         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
25356         for alpha.
25357         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
25358         native cc.
25359         * gdb.t00/teststrategy.exp:  Change expect string so that we
25360         consume the `(xgdb)' from the command echo and from the gdb prompt.
25361         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
25362         gdb currently compares all values as long, so this failure probably
25363         applies to any configuration where LONGEST is bigger than a target int.
25364         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
25365         with gcc.
25366         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
25367         to handle opaque pointers, gcc is.
25368         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
25369         as first argument. Include <sys/types.h> and change all operator
25370         new definitions to use size_t.
25371         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
25372         now that we use size_t.
25373
25374 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25375
25376         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
25377         a long or float array cast all array members to the same type.
25378         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
25379         with 64 bit longs.
25380         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
25381         on alpha.
25382         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
25383
25384 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25385
25386         * gdb.t24 (demangle.exp): Constructors of templates have names like
25387         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
25388         section 14.6 of the ARM.
25389
25390         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25391         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25392         accomplish little and slow down the testsuite.
25393
25394         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25395         Accept spaces various places.
25396
25397 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25398
25399         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25400         with watchpoint enabled.
25401
25402         * Makefile.in: Remove definition of CC and remove the second
25403         definition of CXX (the "CXX = gcc" one remains).  These definitions
25404         were causing backquotes to be expanded within backquotes, which
25405         doesn't work.
25406
25407 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
25408
25409         * gdb.t17/callfuncs.exp: Add "return 0" to end.
25410
25411 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25412
25413         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
25414         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
25415         by mips cc and contains no stabs entries.
25416
25417 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25418
25419         * config/vx-gdb.exp: Use fake device to load files rather than
25420         NFS.
25421         * lib/gdb.exp: New proc to do "file" command.
25422         * config/unix-gdb.exp: Use new "file" proc.
25423
25424 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
25425
25426         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25427         Rework board rebooting slightly.
25428         (gdb_exit): Don't exit from the remote shell; there isn't one.
25429         * gdb.stabs/weird.exp: If a program is being debugged already,
25430         kill it.
25431         * gdb.t04/setvar.exp: Stop and restart gdb.
25432         * gdb.t05/expr.exp: Likewise.
25433         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25434         restart gdb and reload the program.
25435         * gdb.t08/opaque.exp: Likewise.
25436         * gdb.t12/scope.exp: Likewise.
25437         * gdb.t13/bitfields.exp: Likewise.
25438         * gdb.t15/funcargs.exp: Likewise.
25439         * gdb.t20/classes.exp: Likewise.
25440         * gdb.t03/ptype.exp: Increase timeout.
25441         * gdb.t16/printcmds.exp (test_print_string_constants,
25442         test_print_array_constants): Likewise.
25443         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25444         * gdb.t20/classes.exp (do_tests): Likewise.
25445         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25446
25447 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
25448
25449         * gdb.stabs: Renamed *wierd* to *weird*.
25450
25451 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25452
25453         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25454         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
25455
25456 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
25457
25458         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25459         (do_tests): Remove xfail for whatis on one_var and two_var.
25460
25461 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25462
25463         * Makefile.in: Made cross building work better by adding
25464         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25465
25466 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25467
25468         * gdb.t15/{return.c,return.exp,Makefile.in}:
25469         New test, currently commented out.
25470
25471 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25472
25473         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25474         still running and removes the leftover named socket so GDb can do
25475         clean restarts.
25476
25477 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
25478
25479         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25480         console, not GDB.
25481         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25482         cross testing works better with "make check"
25483         * config/unix-gdb: Use default procedures for exit and version.
25484         * config/vx-gdb.exp: Cleaned up and massaged back to working order
25485         with the newest VxWorks.
25486
25487 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25488
25489         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25490         old form.
25491
25492         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25493         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25494
25495         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25496
25497         * config/unix-gdb.exp: Remove this version of gdb_exit
25498         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25499         Rob says he'll look at it when he gets back to testing boards.
25500
25501 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
25502
25503         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
25504         an expected fail for certain ptype commands.
25505
25506         * gdb.t20/classes.exp:  Update expected results of "ptype class
25507         Base1" to account for the constructor that now appears in the type.
25508
25509 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
25510
25511         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
25512         disappeared from list.
25513         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
25514         "alldone" proc with call to cleanup and exit.
25515         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25516         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25517         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25518         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25519         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
25520         "alldone" proc with simple returns that suppress remaining
25521         tests.  The alldone proc went away many months ago.
25522
25523 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25524
25525         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25526
25527         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25528
25529 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25530
25531         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
25532         as vax gdb will display them.
25533
25534 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25535
25536         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25537         optimizers.
25538
25539         * scope.exp: Change "bad value for localval" messages so each one
25540         is unique.
25541
25542         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25543         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25544
25545         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25546
25547 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25548
25549         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25550         doesn't exist (due to optimization).
25551
25552 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25553
25554         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25555         contains \r because the filename is long.
25556
25557         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25558         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25559
25560 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25561
25562         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25563         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
25564         Ultrix.
25565         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
25566         int tests.
25567         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
25568
25569 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
25570
25571         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
25572
25573         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
25574         to match does not match the passing case but still matches the
25575         failing case.
25576
25577 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25578
25579         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25580
25581 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
25582
25583         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
25584         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25585         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25586         Remove various versions of gdb_exit.
25587         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
25588         gdb_exit.
25589         * config/unix-gdb.exp:  gdb_exit remains here, and should override
25590         the generic version, since it's doing a lot of wierd stuff that
25591         the other versions aren't.  FIXME, fold it in, or abandon this
25592         version.
25593
25594 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25595
25596         * gdb.t24/demangle.exp: Add tests for PR 3220.
25597
25598 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25599
25600         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25601
25602 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
25603
25604         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
25605         "i386-*-*".  Works for i486 as well.
25606
25607         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
25608         bug, and expand domain of xfail to all SVR4 systems, since the
25609         actual problem is likely to be in generic SVR4 /proc support.
25610
25611 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25612
25613         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25614
25615 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
25616
25617         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
25618         xfails for other systems.  Match a missing 'Continuing.' as an
25619         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25620
25621         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25622         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25623         Only issue warning for missing executables if -all option is used.
25624
25625         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
25626         file if -all option is used.  It's like an unpredictable XFAIL.
25627
25628 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25629
25630         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25631         for dynamically linked binaries.
25632
25633         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25634
25635 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25636
25637         * gdb.t20/inherit.exp: Change message for "print tagless struct"
25638         to state that this is a known bug in old versions of g++.
25639
25640 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25641
25642         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
25643         while waiting for `Continuing'.
25644
25645 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
25646
25647         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
25648         in text, data, and bss.
25649         * gdb.t10/nodebug.c:  Add local and global test variables for
25650         initialized and uninitialized data.
25651
25652 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25653
25654         * config/unix-gdb.exp (gdb_exit): Add "wait".
25655
25656 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25657
25658         * gdb.t06/signals.exp:  xfail the continue from the handler for all
25659         targets.
25660
25661         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
25662         function with watchpoints enabled, the i386 call dummy starts with
25663         a call.
25664
25665         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
25666         386 bsd names its corefiles.
25667
25668 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
25669
25670         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
25671         compilers don't grok it.
25672         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
25673         with small octal ints rather than character constants, which
25674         are signed and might not fit if first promoted to int.
25675
25676 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
25677
25678         * gdb.t09/Makefile.in (clean):  Remove corefile.
25679
25680 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25681
25682         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25683
25684 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25685                           and Jim Kingdon (kingdon@cygnus.com)
25686
25687         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25688         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
25689         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25690
25691 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25692
25693         * gdb.t17/interrupt.exp: Add xfail for hppa.
25694
25695 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25696
25697         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25698         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
25699         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
25700         to determine signed-ness of bitfields and use the result to setup
25701         the xfail.
25702         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
25703         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
25704         call line is reached if necessary.
25705
25706 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25707
25708         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25709
25710 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25711
25712         * gdb.t06/break.exp: Also test `clear' command.
25713
25714 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25715
25716         * gdb.t00/teststrategy.exp: Remove extra quote.
25717
25718         * gdb.t07/watchpoint.exp: Change xfail for calling function with
25719         watchpoint enabled to be for all non-68k machines.
25720
25721         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25722
25723 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25724
25725         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25726         targets use aout.mt instead of ecoff.mt as gas understands
25727         standard aout format.
25728
25729 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
25730
25731         * lib/gdb.exp (runto): Don't insist that function we are running to
25732         was compiled with -g.
25733
25734         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25735
25736         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25737         to get back into the read system call.
25738         Accept leading newline in case where we woke it up.
25739
25740 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25741
25742         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
25743         to make the stabs test work on ecoff systems using gcc and -with-stabs.
25744         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
25745         enable ecoff configuration.
25746
25747 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25748
25749         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25750
25751 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25752
25753         * gdb.t16/printcmds.exp: Add another printf test.
25754
25755 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
25756
25757         * configure.in: If configured -with-stabs on any target, add
25758         stabsdirs to configdirs.
25759
25760 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25761
25762         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25763         fun" so pattern does not match the command itself.
25764
25765 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25766
25767         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25768
25769 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25770
25771         * gdb.t17/interrupt.exp: Test for more things.
25772
25773 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25774
25775         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25776         compiler arranges the code and line numbers.
25777
25778         * gdb.t17/interrupt.exp: Don't send \n after ^C.
25779
25780 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25781
25782         * gdb.t00/help.exp:  Increase expect input buffer size.
25783
25784 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25785
25786         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25787
25788         * gdb.t07/watchpoint.exp: Add xfail for hppa.
25789
25790         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25791
25792         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25793         [0-9]*, not just [0-9].
25794
25795 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25796
25797         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25798
25799         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25800
25801 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25802
25803         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25804
25805 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25806
25807         * gdb.t06/signals.c: Add xfails for sun3.
25808
25809         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25810
25811         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
25812         test_stepping tests.
25813
25814 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25815
25816         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25817
25818         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25819
25820         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25821         rather than actually putting it through cpp twice.
25822
25823         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25824
25825 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
25826
25827         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25828         no longer needed.
25829
25830 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25831
25832         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25833
25834         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25835         C++ features prints as "struct", make it a pass, not an xfail.
25836
25837 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25838
25839         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25840         Don't require VA to print as "class" rather than "struct".
25841
25842 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
25843
25844         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25845
25846 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25847
25848         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25849
25850 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25851
25852         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
25853         order.
25854
25855 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25856
25857         * gdb.t16/printcmds.exp: Add printf tests.
25858
25859         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25860
25861         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25862
25863 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
25864
25865         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
25866         pass counts, to counteract any existing or future setup_xfails.
25867
25868 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25869
25870         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25871         {BEGIN,END}_COMMON for common block instead of STAB.
25872         * gdb.stabs/wierd.exp: Add xfail for rs6000.
25873
25874         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25875         intp_var should be N_GSYM not N_LSYM.
25876         wierd-aout.S: Use a label for the value of the N_SO.
25877         wierd.def: Remove all backslashes.
25878         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25879
25880 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25881
25882         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25883         get the expected next to inheritance3.
25884
25885 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
25886
25887         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25888         now that gcc-2.4 gets it right.
25889
25890 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
25891
25892         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25893
25894         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25895         generating comp-info.exp which works for cross-compilation.
25896
25897 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
25898
25899         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
25900         "*-*-sysv4.*".
25901
25902 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
25903
25904         * gdb.t01/run.exp:  Start with a fresh gdb.
25905         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
25906         SVR4.x.
25907
25908 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
25909
25910         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25911         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25912         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25913         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
25914         things to remove.
25915
25916 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
25917
25918         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
25919         test cases from bug reports.
25920
25921 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
25922
25923         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
25924         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
25925           avoid spurious xfails.
25926         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
25927         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
25928         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
25929
25930 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
25931
25932         * gdb.t00/teststrategy.exp:  Rework to provide more useful
25933         description of each test, fix problem with systems that define
25934         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25935         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
25936         results for "next over recursive call" so timeouts aren't taken
25937         by error.
25938
25939 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25940
25941         * gdb.t12/scope.exp: Test printing of variables before run.
25942
25943         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25944         printed in wrong order due to sorting.
25945
25946 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
25947
25948         * gdb.t00/teststrategy.exp:  Fix expected results for printing
25949         user entered string constant.  Is array of char, prints with no
25950         address.
25951
25952         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
25953         commands.
25954         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
25955         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
25956         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
25957         of struct of char arrays.
25958         * gdb.t00/radix.exp:  New tests for radix commands.
25959
25960 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
25961
25962         * gdb.t16/printcmd.exp: Print a variable before running program
25963         (with xfail for AIX).
25964
25965 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
25966
25967         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25968
25969         * gdb.t16/printcmd.exp: Don't print variables before running program.
25970
25971         * gdb.t06/break.exp: Don't require envp argument to main.
25972
25973         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25974
25975         * gdb.t02/whatis.exp, gdb.t11/list.exp:
25976         Add xfails for rs6000.
25977
25978         * gdb.t02/whatis.exp: Change other tests not to re-test something
25979         we already tested.
25980
25981         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25982         each type used has a variable of that type.
25983
25984 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
25985
25986         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25987
25988 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
25989
25990         * configure.in: change srctrigger to be a file, not a directory
25991
25992 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
25993
25994         * configure.in (mips-idt-ecoff*): Added trailing '*'.
25995
25996         * gdb.t11/list.exp: Fixed a couple of typos.
25997
25998 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
25999
26000         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
26001         is fixed and PR is closed.
26002         * gdb.t16 (gdbme.c):  Add simple test string variable.
26003         * gdb.t16 (printcmds.exp):  Add tests with simple test string
26004         variable, primarily for boundaries on "set print elements".
26005
26006 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
26007
26008         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26009         Make leading 0's optional and don't expect a tab in the middle
26010         of the number.
26011
26012         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26013
26014         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26015         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
26016         don't end command passed to gdb_test with newline.
26017
26018         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26019         signed keyword away, don't expect signed bitfields to be signed.
26020
26021         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26022         printing with only as many 1's as are in the field as well as printing
26023         with 32 1's (see comment).
26024
26025 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
26026
26027         * gdb.t00/default.exp:  Start with a fresh gdb.
26028         * configure.in (configdirs):  Remove gdb.t31 until the chill
26029         compiler works again.  It no longer is able to find chillrt0
26030         since it isn't in libchill.a anymore.
26031         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
26032         wierd.o, make more modular.
26033         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
26034         spurious newlines that caused problems.
26035
26036 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26037
26038         * Move test with enums and partial symbols from gdb.t03/ptype.exp
26039         to gdb.stabs/wierd.exp since GCC has worked around the bug.
26040         gdb.stabs/wierd.{exp,def}: Many new tests.
26041
26042         * gdb.t00/default.exp: update info line for new message.
26043
26044         * gdb.t02/{whatis.exp,gdbme.c}:
26045         Test that "char *" doesn't print as "caddr_t".
26046
26047 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26048
26049         * gdb.t00/help.exp: Use .* in place of some help messages which
26050         just changed.
26051         gdb.t00/default.exp: Update "info frame" test for new message.
26052         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26053         Remove some xfails
26054
26055 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26056
26057         * gdb.t03/{gdbme.c,ptype.exp}:
26058         Add tests for typedef'd struct and union without tags.
26059         Also check "whatis" on a variable of a typedef'd enum without a tag.
26060
26061         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26062         PRMS 1823; the bug still exists but isn't reproduced by this test
26063         anymore), and remove rs6000 XFAIL (the bug is fixed).
26064
26065         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26066         duplicated from whatis.exp.  For those that are left, accept
26067         "long", "long int", or "int" for long variables (whatis.exp already
26068         has an XFAIL for "int", so no need to fail it here).
26069
26070         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26071         Deal with GCC's names for types now that GDB uses the compiler's names.
26072
26073         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
26074         setup_xfail's for sunos4.  If we #defined the signed keyword away,
26075         don't expect GDB to know that char it is signed.
26076
26077         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26078
26079 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
26080
26081         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
26082         should work on any system, regardless of debugging format.
26083         * gdb.t21/demangle.exp:  Move to gdb.t24.
26084         * gdb.t24/demangle.exp:  Move from gdb.t21.
26085         * gdb.t24/{Makefile.in, configure.in}:  New files.
26086
26087 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26088
26089         * configure.in: Do gdb.stabs and C++ tests only for stabs.
26090         * gdb.stabs: New directory.
26091
26092 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26093
26094         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26095         not just "Quit anyway?".
26096
26097 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
26098
26099         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
26100         that all setup_xfails are immediately followed by clear_xfails.
26101
26102 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
26103
26104         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26105         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26106         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26107         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26108         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26109         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26110         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26111         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26112         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26113         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26114         gdb.t31/chillvars.exp, lib/gdb.exp:
26115         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26116         bug-gdb@prep.ai.mit.edu.
26117
26118 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
26119
26120         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
26121         with 0.0, not integer 0.
26122
26123 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
26124
26125         * gdb.t06/break.exp: Update for "Kill the program" message change.
26126
26127 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
26128
26129         * Makefile.in (GDBFLAGS):  Set to -nx.
26130         * Makefile.in (site.exp):  Use GDBFLAGS.
26131
26132 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
26133
26134         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26135           Makefiles.
26136           (check): depend on just-check.
26137           (just-check): added so that tests can be run without a noop
26138           build pass.
26139
26140 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
26141
26142         Switch to using configure's configdirs.
26143         * Makefile.in (Makefile): add configure.in dependency.
26144           (SUBDIRS): removed redundant assignment.
26145         * configure.in: switch subdirs assignment to configdirs.
26146         * gdb.t*/configure.in: new files.
26147
26148 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
26149
26150         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26151         works.
26152
26153 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
26154
26155         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
26156         in explicit rules.  Apparently this is not supported by some makes.
26157
26158 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
26159
26160         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
26161
26162 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26163
26164         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
26165         disappeared.
26166
26167 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
26168
26169         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
26170
26171 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
26172
26173         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
26174         watchpoint problem that is now fixed.
26175         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
26176         uninitialized convenience variables.
26177         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
26178         structures.
26179
26180 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26181
26182         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26183         which causes expect to get out of sync with gdb on long output
26184         from help set.
26185         * gdb.t09/corefile.exp: Make expected pattern for core file
26186         failing signal and frame output format less sun specific.
26187
26188 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
26189
26190         * gdb.t31/chillvars.exp:  Add and remove initial dummy
26191         breakpoint, so that symbol table is forced in.
26192         (Needed at least on Sunos4, though it seems not SVR4.)
26193         * gdb.t31/chillvars.exp:  Update for changed output format.
26194
26195 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
26196
26197         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
26198
26199 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
26200
26201         * Makefile.in: Added --srcdir when invoking runtest, removed the
26202         need for a local config file. (optional now)
26203
26204 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
26205
26206         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
26207         failure count used to force early termination.  Add some more
26208         expected failures for gnu style demangling.
26209
26210 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26211
26212         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26213         pmi variable from gdb.t20/gdbme to get optimized away.
26214         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26215         Check for written corefile upon timeout _and_ eof.
26216
26217 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26218
26219         * config/unix-gdb.exp:  Add missing return 0.
26220
26221 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26222
26223         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
26224         test termination.
26225
26226 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
26227
26228         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
26229         disappeared.
26230
26231 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
26232
26233         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
26234         time as i860 support works.
26235
26236         * gdb.t15/funcargs.exp:  Fix expected outputs to include
26237         "backtrace 100\r" rather than just "backtrace\r", to match last
26238         change.
26239
26240 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
26241
26242         * config/udi-gdb.exp (gdb_exit): Remove close command.
26243         (gdb_target_udi): New procedure to set the UDI target.
26244         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
26245         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26246         Added waits for prompts after several question responses.  Added
26247         some more responses used by a29k-amd-udi-gdb.
26248         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26249         pass different arguments, restart UDI connection after program
26250         completion.
26251         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26252         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26253         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26254         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26255         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26256         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26257         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26258         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26259         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26260         after program completion.
26261         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26262         compiled with a SELECT_VECS setting.
26263         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26264         infinite recursion.
26265
26266         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26267         Added checks for COFF results, and made them expected failures for
26268         all targets.  It would be better to make them expected failures
26269         for COFF targets only.
26270
26271 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
26272
26273         * Makefile.in: add null dvi target, don't bother to recurse
26274         through test directories for info and install-info; rename
26275         $(datadir) to be dejagnu instead of deja-gnu
26276
26277 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
26278
26279         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
26280         compiler to coredump.
26281         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
26282         code.
26283
26284 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
26285
26286         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
26287         coredump.
26288         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
26289         code.
26290
26291 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
26292
26293         * gdb.t03/ptype.exp: tests for return code from gdb_test.
26294         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26295         which in a shell. Deletes xgdb when done.
26296         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26297         Tests the return from the "set height" or "set width" commands.
26298         Added a few return codes where needed.
26299
26300 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
26301
26302         * Makefile.in (SUBDIRS):  Add gdb.t17.
26303         * configure.in (subdirs):  Add gdb.t17.
26304         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
26305         files to test gdb's calling of functions in the inferior with
26306         the correct arguments and gdb's ability to retrieve any
26307         result returned.
26308
26309 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
26310
26311         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
26312         may be called after gdb goes away.  Previous versions of expect
26313         needed these to avoid file descriptor leaks, but they cause
26314         errors with the current revision of expect.
26315         * gdb.t00/gdbvars.exp:  Use -re on expected output after
26316         setting sevenbit-strings.
26317         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
26318         to set sevenbit-strings consistent across tests.
26319         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
26320         set sevenbit-strings consistent across tests.
26321
26322 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
26323
26324         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
26325         expected output to match current "expect" expectations.
26326
26327 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
26328
26329         * gdb.t00/default.exp:  Change expected output for default "source"
26330         command, to match new gdb behavior which requires a filename to
26331         source.
26332
26333 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
26334
26335         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
26336         expected fail for i486-*-* that misses the marker2 function.
26337         * gdb.t10/crossload.exp (bfddefault):  Allow successful
26338         recognition of a format to pass even if no symbols are found.
26339         Explicitly catch failures where the format is not recognized
26340         or is ambiguous, and add the reason to the fail message.
26341         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
26342         the cause is and invalid target and add reason to failure message.
26343         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
26344         elf32-i386, elf32-sparc, and elf32-i860.
26345         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26346         Set up expected failure for 'filename'::variable scope resolution,
26347         which is now apparently broken on all targets.
26348         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26349         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26350         gdb.t23/templates.exp:   Change failure for missing binfile into
26351         just a warning.
26352         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
26353         references.
26354
26355 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
26356
26357         * gdb.t00/default.exp:  Add expected output for default "source"
26358         command, to match new gdb behavior.
26359         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
26360
26361 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
26362
26363         * config/*-gdb.exp: returns an error, rather than exiting on
26364         internal errors.
26365
26366 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
26367
26368         * gdb.t03/gdbme.c:  Add pointer to struct variable.
26369         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
26370         referencing struct members.
26371
26372 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
26373
26374         * configure.in (mips-idt-ecoff): New target.
26375         * config/mips-gdb.exp: New file for remote board using MIPS remote
26376         debugging protocol.
26377
26378         * Redid configuration scheme.  Removed gdb.t*/configure.in.
26379         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
26380         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
26381         distclean targets.  Built executables via .o files.  Adjusted
26382         tests to account for source files in $(srcdir) rather than
26383         $(objdir).
26384         * lib/gdb.exp (runto): Don't expect () after the function name,
26385         because it may have arguments.
26386
26387 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
26388
26389         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26390         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26391         expected failures for mips-idt-* and mips-sgi-*.
26392         * gdb.t00/default.exp (attach): Kill process if requested.
26393         * gdb.t00/help.exp (help target core, help target): Accept a gdb
26394         that does not read core files.
26395         * gdb.t01/run.exp: Removed checks for exit status code.
26396         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26397         it is linked in.
26398         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26399         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26400         appropriate, rather than doing it by hand.
26401         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26402         execution.
26403         * gdb.t10/crossload.exp: Kill existing program if needed.
26404         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26405         appropriate, rather than doing it by hand.  Always increase
26406         timeout for this test, not just for VxWorks.
26407
26408 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
26409
26410         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
26411         of Chill STRUCT types and STRUCT values.
26412         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
26413         than "char".
26414         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26415         struct2):  New struct definitions and initializations to test
26416         simple Chill STRUCT types.
26417
26418 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
26419
26420         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
26421         the null byte at the end of strings.
26422         * gdb.t00/default.exp:  Make show version insensitive to copyright
26423         date.
26424         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
26425         to avoid dependencies on target char signedness.
26426         * gdb.t16/printcmds.exp:  Update expected results for explicitly
26427         unsigned char.
26428         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
26429         now work.
26430         * gdb.t21/demangle.exp:  Add many more patterns for template
26431         demangling, most of them being expected failures.
26432         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
26433         string we are matching for, to match on the whole string.
26434         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
26435         and fix a whole bunch that had incorrect expected output but were
26436         passing anyway because of the bug in "proc demangle".
26437         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
26438         type.
26439         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
26440
26441 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26442
26443         * gdb/testsuite: made modifications to testcases, etc., to allow
26444         them to work properly  given the reorganization of deja-gnu and the
26445         relocation of the testcases from deja-gnu to a "tool" subdirectory.
26446
26447 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
26448
26449         * gdb/testsuite: Initial creation of gdb/testsuite.
26450         Migrated dejagnu testcases and support files for testing nm to
26451         gdb/testsuite from deja-gnu.  These files were moved "as is"
26452         with no modifications.  This migration is part of a major overhaul
26453         of dejagnu.  The modifications to these testcases, etc., which
26454         will allow them to work with the new version of dejagnu will be
26455         made in a future update.
26456
26457  For additional changes see gdb.mi/ChangeLog-1999-2003.
26458 \f
26459 ;; Local Variables:
26460 ;; mode: change-log
26461 ;; left-margin: 8
26462 ;; fill-column: 74
26463 ;; version-control: never
26464 ;; End:
26465
26466     Copyright 1993-2005, 2012 Free Software Foundation, Inc.
26467   Copying and distribution of this file, with or without modification,
26468   are permitted provided the copyright notice and this notice are preserved.