Check for NULL character before calling strchr.
[platform/upstream/binutils.git] / gdb / testsuite / ChangeLog
1 2013-07-16  Andrew Burgess  <aburgess@broadcom.com>
2
3         * gdb.base/printcmds.exp (test_printf): Add tests for format
4         strings with missing format specifier.
5
6 2013-07-16  Tom Tromey  <tromey@redhat.com>
7
8         * gdb.ada/info_types.exp: Use standard_testfile.
9
10 2013-07-16  Tom Tromey  <tromey@redhat.com>
11
12         * gdb.mi/mi-basics.exp: Use standard_output_file.
13         (test_dir_specification, test_cwd_specification)
14         (test_path_specification): Use testsubdir, not subdir and objdir.
15
16 2013-07-16  Tom Tromey  <tromey@redhat.com>
17
18         * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
19
20 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
21
22         * gdb.ada/small_reg_param.exp: Accept optional entry value
23         for parameter "w".
24
25 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
26
27         * gdb.ada/small_reg_param.exp: Remove trailing space.
28
29 2013-07-09  Doug Evans  <dje@google.com>
30
31         * gdb.base/default.exp: Update expected output of "show print array"
32         and "show print pretty".
33
34 2013-07-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
35
36         * gdb.threads/wp-replication.exp: Stop counting available hardware
37         watchpoints after NR_THREADS iterations.
38
39 2013-07-08  Andrew Burgess  <aburgess@broadcom.com>
40
41         * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
42
43 2013-07-07  Yao Qi  <yao@codesourcery.com>
44
45         * boards/native-gdbserver.exp: Move invoke of
46         process_multilib_options to gdbserver-base.exp.
47         Move set_board_info 'compiler', 'gdb,noinferiorio',
48         'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
49         gdbserver-base.exp.
50         Move proc ${board}_download, ${board}_upload and
51         ${board}_file to gdbserver-base.exp.
52         * boards/native-extended-gdbserver.exp: Likewise.
53         * boards/native-stdio-gdbserver.exp: Likewise.
54         * boards/gdbserver-base.exp: New file.
55
56 2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
57
58         * gdb.base/dump.exp: Remove arch-specific tests and do a
59         generic data address check to set is64bitonly correctly.
60
61 2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
62
63         * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
64         the register number instead of expecting only 0.
65
66 2013-07-05  Will Newton  <will.newton@linaro.org>
67
68         * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
69         in asm syntax to allow building on ARM.
70
71 2013-07-05  Yao Qi  <yao@codesourcery.com>
72
73         * boards/local-remote-host.exp: Remove obsolete comments.
74         * boards/native-extended-gdbserver.exp: Likewise.
75         * boards/native-gdbserver.exp: Likewise.
76         * boards/native-stdio-gdbserver.exp: Likewise.
77
78 2013-07-04  Andrew Burgess  <aburgess@broadcom.com>
79
80         * gdb.dwarf2/dw2-reg-undefined.exp: New file.
81         * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
82         * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
83
84 2013-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
85
86         * gdb.base/break-on-linker-gcd-function.exp: Replace
87         prepare_for_testing by build_executable_from_specs and clean_restart.
88
89 2013-06-27  Tom Tromey  <tromey@redhat.com>
90
91         * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
92         gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
93         gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
94         gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
95         gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
96         gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
97         gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
98         gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
99         gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
100         gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
101         gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
102         Use standard_testfile, standard_output_file, prepare_for_testing,
103         clean_restart.
104
105 2013-06-27  Tom Tromey  <tromey@redhat.com>
106
107         * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
108         gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
109         gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
110         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
111         gdb.base/shreloc.exp, gdb.base/sigall.exp,
112         gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
113         gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
114         gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
115         gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
116         gdb.base/signull.exp, gdb.base/sigrepeat.exp,
117         gdb.base/sigstep.exp, gdb.base/sizeof.exp,
118         gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
119         gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
120         gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
121         gdb.base/solib-weak.exp, gdb.base/source.exp,
122         gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
123         gdb.base/stap-probe.exp, gdb.base/start.exp,
124         gdb.base/step-break.exp, gdb.base/step-bt.exp,
125         gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
126         gdb.base/step-test.exp, gdb.base/structs.exp,
127         gdb.base/structs2.exp, gdb.base/structs3.exp,
128         gdb.base/symbol-without-target_section.exp: Use standard_testfile,
129         standard_output_file, prepare_for_testing, clean_restart.
130
131 2013-06-27  Tom Tromey  <tromey@redhat.com>
132
133         * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
134         gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
135         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
136         gdb.base/pending.exp, gdb.base/permissions.exp,
137         gdb.base/pie-execl.exp, gdb.base/pointers.exp,
138         gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
139         gdb.base/printcmds.exp, gdb.base/prologue.exp,
140         gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
141         gdb.base/ptype.exp, gdb.base/randomize.exp,
142         gdb.base/readline-ask.exp, gdb.base/recpar.exp,
143         gdb.base/recurse.exp, gdb.base/relativedebug.exp,
144         gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
145         gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
146         standard_testfile, standard_output_file, prepare_for_testing,
147         clean_restart.
148
149 2013-06-27  Tom Tromey  <tromey@redhat.com>
150
151         * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
152         gdb.base/huge.exp, gdb.base/included.exp,
153         gdb.base/inferior-died.exp, gdb.base/infnan.exp,
154         gdb.base/info-fun.exp, gdb.base/info-macros.exp,
155         gdb.base/info-os.exp, gdb.base/info-proc.exp,
156         gdb.base/info-target.exp, gdb.base/infoline.exp,
157         gdb.base/interp.exp, gdb.base/interrupt.exp,
158         gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
159         gdb.base/kill-after-signal.exp, gdb.base/label.exp,
160         gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
161         gdb.base/logical.exp, gdb.base/long_long.exp,
162         gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
163         gdb.base/memattr.exp, gdb.base/mips_pro.exp,
164         gdb.base/miscexprs.exp, gdb.base/morestack.exp,
165         gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
166         standard_testfile, standard_output_file, prepare_for_testing,
167         clean_restart.
168
169 2013-06-27  Tom Tromey  <tromey@redhat.com>
170
171         * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
172         gdb.base/enumval.exp, gdb.base/environ.exp,
173         gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
174         gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
175         gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
176         gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
177         gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
178         gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
179         gdb.base/fullname.exp, gdb.base/funcargs.exp,
180         gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
181         gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
182         gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
183         gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
184         gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
185         gdb.base/gnu_vector.exp: Use standard_testfile,
186         standard_output_file, prepare_for_testing, clean_restart.
187
188 2013-06-27  Tom Tromey  <tromey@redhat.com>
189
190         * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
191         gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
192         gdb.base/call-strs.exp, gdb.base/callexit.exp,
193         gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
194         gdb.base/catch-syscall.exp, gdb.base/charset.exp,
195         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
196         gdb.base/code-expr.exp, gdb.base/code_elim.exp,
197         gdb.base/commands.exp, gdb.base/completion.exp,
198         gdb.base/complex.exp, gdb.base/cond-expr.exp,
199         gdb.base/condbreak.exp, gdb.base/consecutive.exp,
200         gdb.base/constvars.exp, gdb.base/corefile.exp,
201         gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
202         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
203         gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
204         gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
205         gdb.base/dup-sect.exp: Use standard_testfile,
206         standard_output_file, prepare_for_testing, clean_restart.
207
208 2013-06-27  Tom Tromey  <tromey@redhat.com>
209
210         * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
211         gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
212         gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
213         gdb.base/async-shell.exp, gdb.base/async.exp,
214         gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
215         gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
216         gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
217         gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
218         gdb.base/break-entry.exp, gdb.base/break-interp.exp,
219         gdb.base/break-on-linker-gcd-function.exp,
220         gdb.base/breakpoint-shadow.exp: Use standard_testfile,
221         standard_output_file, prepare_for_testing, clean_restart.
222
223 2013-06-26  Yao Qi  <yao@codesourcery.com>
224
225         * gdb.trace/mi-trace-frame-collected.exp: New.
226
227 2013-06-25  Yao Qi  <yao@codesourcery.com>
228
229         * boards/native-extended-gdbserver.exp: Set board_info
230         'gdb,predefined_tsv'.
231         * boards/native-gdbserver.exp: Likewise.
232         * boards/native-stdio-gdbserver.exp: Likewise.
233         * gdb.server/ext-attach.exp: Load trace-support.exp.  Check
234         uploaded TSVs if target supports tracing.
235         * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
236         tracing and target has predefined tsv.
237
238 2013-06-25  Yao Qi  <yao@codesourcery.com>
239             Hui Zhu  <hui@codesourcery.com>
240             Pedro Alves  <palves@redhat.com>
241
242         PR breakpoints/15075
243         PR breakpoints/15434
244         * gdb.base/dprintf-next.c: New file.
245         * gdb.base/dprintf-next.exp: New file.
246         * gdb.base/dprintf-non-stop.c: New file.
247         * gdb.base/dprintf-non-stop.exp: New file.
248         * gdb.base/dprintf.exp: Don't check "continue" in the output
249         of "info breakpoints".
250         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
251         Don't check "continue" in script field.
252
253 2013-06-21  Tom Tromey  <tromey@redhat.com>
254
255         * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
256         name in a test name.
257
258 2013-06-20  Yao Qi  <yao@codesourcery.com>
259
260         * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
261         and set an action.
262         (test_trace_unavailable): Test command -data-list-register-values
263         in the context of traceframe and with option --skip-unavailable.
264         * gdb.trace/trace-unavailable.c (foo): New.
265         (main): Call it.
266         * gdb.mi/gdb2549.exp: Update matching pattern.
267
268 2013-06-19  Mike Frysinger  <vapier@gentoo.org>
269
270         * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
271         * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
272         * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
273         * gdb.arch/i386-sse.c: Call new i386_cpuid function.
274         * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
275
276 2013-06-19  Luis Machado  <lgustavo@codesourcery.com>
277
278         * gdb.base/subst.exp: Delete default rules before further
279         tests.
280
281 2013-06-19  Yao Qi  <yao@codesourcery.com>
282
283         * gdb.base/maint.exp: Make the test to command 'maint dump-me'
284         unsupported if it is not registered.
285
286 2013-06-18  Tom Tromey  <tromey@redhat.com>
287
288         * gdb.base/random-signal.c: New file.
289         * gdb.base/random-signal.exp: New file.
290
291 2013-06-18  Will Newton  <will.newton@linaro.org>
292
293         * gdb.base/skip.c: Use comma to evaluate results of foo()
294         and bar() before passing to baz().
295         * gdb.base/skip.c: baz() now takes one argument instead of
296         two.
297
298 2013-06-18  Tom Tromey  <tromey@redhat.com>
299
300         * gdb.dwarf2/implptrpiece.exp: New file.
301         * gdb.dwarf2/implptrconst.exp (d): New variable.
302         Print d.
303         * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
304
305 2013-06-18  Tom Tromey  <tromey@redhat.com>
306
307         * lib/selftest-support.exp (do_self_tests): Reject remote or
308         non-native targets.
309         * gdb.gdb/complaints.exp: Remove check.
310         * gdb.gdb/observer.exp: Remove check.
311         * gdb.gdb/xfullpath.exp: Remove check.
312         * gdb.gdb/complaints.exp: Remove check.
313
314 2013-06-07  Pedro Alves  <palves@redhat.com>
315
316         * boards/native-extended-gdbserver.exp: Remove semicolon.
317         * config/arm-ice.exp: Likewise.
318         * config/bfin.exp: Likewise.
319         * config/cygmon.exp: Likewise.
320         * config/h8300.exp: Likewise.
321         * config/monitor.exp: Likewise.
322         * config/sid.exp: Likewise.
323         * config/sim.exp: Likewise.
324         * config/slite.exp: Likewise.
325         * config/vx.exp: Likewise.
326         * gdb.arch/i386-bp_permanent.exp: Likewise.
327         * gdb.asm/asm-source.exp: Likewise.
328         * gdb.base/args.exp: Likewise.
329         * gdb.base/attach-pie-misread.exp: Likewise.
330         * gdb.base/auxv.exp: Likewise.
331         * gdb.base/bigcore.exp: Likewise.
332         * gdb.base/bitfields2.exp: Likewise.
333         * gdb.base/bitfields.exp: Likewise.
334         * gdb.base/break.exp: Likewise.
335         * gdb.base/break-interp.exp: Likewise.
336         * gdb.base/callfuncs.exp: Likewise.
337         * gdb.base/call-sc.exp: Likewise.
338         * gdb.base/commands.exp: Likewise.
339         * gdb.base/corefile.exp: Likewise.
340         * gdb.base/dbx.exp: Likewise.
341         * gdb.base/ending-run.exp: Likewise.
342         * gdb.base/exprs.exp: Likewise.
343         * gdb.base/funcargs.exp: Likewise.
344         * gdb.base/hbreak2.exp: Likewise.
345         * gdb.base/huge.exp: Likewise.
346         * gdb.base/list.exp: Likewise.
347         * gdb.base/memattr.exp: Likewise.
348         * gdb.base/overlays.exp: Likewise.
349         * gdb.base/printcmds.exp: Likewise.
350         * gdb.base/recurse.exp: Likewise.
351         * gdb.base/remotetimeout.exp: Likewise.
352         * gdb.base/reread.exp: Likewise.
353         * gdb.base/savedregs.exp: Likewise.
354         * gdb.base/scope.exp: Likewise.
355         * gdb.base/sepdebug.exp: Likewise.
356         * gdb.base/setshow.exp: Likewise.
357         * gdb.base/setvar.exp: Likewise.
358         * gdb.base/sigaltstack.exp: Likewise.
359         * gdb.base/siginfo-addr.exp: Likewise.
360         * gdb.base/siginfo.exp: Likewise.
361         * gdb.base/siginfo-obj.exp: Likewise.
362         * gdb.base/sigrepeat.exp: Likewise.
363         * gdb.base/sigstep.exp: Likewise.
364         * gdb.base/structs.exp: Likewise.
365         * gdb.base/testenv.exp: Likewise.
366         * gdb.base/twice.exp: Likewise.
367         * gdb.base/valgrind-db-attach.exp: Likewise.
368         * gdb.base/valgrind-infcall.exp: Likewise.
369         * gdb.base/varargs.exp: Likewise.
370         * gdb.base/watchpoint.exp: Likewise.
371         * gdb.cp/gdb1355.exp: Likewise.
372         * gdb.cp/misc.exp: Likewise.
373         * gdb.disasm/hppa.exp: Likewise.
374         * gdb.disasm/t01_mov.exp: Likewise.
375         * gdb.disasm/t02_mova.exp: Likewise.
376         * gdb.disasm/t03_add.exp: Likewise.
377         * gdb.disasm/t04_sub.exp: Likewise.
378         * gdb.disasm/t05_cmp.exp: Likewise.
379         * gdb.disasm/t06_ari2.exp: Likewise.
380         * gdb.disasm/t07_ari3.exp: Likewise.
381         * gdb.disasm/t08_or.exp: Likewise.
382         * gdb.disasm/t09_xor.exp: Likewise.
383         * gdb.disasm/t10_and.exp: Likewise.
384         * gdb.disasm/t11_logs.exp: Likewise.
385         * gdb.disasm/t12_bit.exp: Likewise.
386         * gdb.disasm/t13_otr.exp: Likewise.
387         * gdb.gdb/selftest.exp: Likewise.
388         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
389         * gdb.mi/mi-reverse.exp: Likewise.
390         * gdb.pascal/floats.exp: Likewise.
391         * gdb.python/py-inferior.exp: Likewise.
392         * gdb.threads/attach-into-signal.exp: Likewise.
393         * gdb.threads/pthreads.exp: Likewise.
394         * gdb.threads/thread_events.exp: Likewise.
395         * gdb.threads/watchthreads.exp: Likewise.
396         * gdb.trace/actions-changed.exp: Likewise.
397         * gdb.trace/actions.exp: Likewise.
398         * gdb.trace/ax.exp: Likewise.
399         * gdb.trace/backtrace.exp: Likewise.
400         * gdb.trace/change-loc.exp: Likewise.
401         * gdb.trace/deltrace.exp: Likewise.
402         * gdb.trace/disconnected-tracing.exp: Likewise.
403         * gdb.trace/ftrace.exp: Likewise.
404         * gdb.trace/infotrace.exp: Likewise.
405         * gdb.trace/passc-dyn.exp: Likewise.
406         * gdb.trace/passcount.exp: Likewise.
407         * gdb.trace/pending.exp: Likewise.
408         * gdb.trace/qtro.exp: Likewise.
409         * gdb.trace/range-stepping.exp: Likewise.
410         * gdb.trace/report.exp: Likewise.
411         * gdb.trace/save-trace.exp: Likewise.
412         * gdb.trace/status-stop.exp: Likewise.
413         * gdb.trace/strace.exp: Likewise.
414         * gdb.trace/tfile.exp: Likewise.
415         * gdb.trace/tfind.exp: Likewise.
416         * gdb.trace/trace-break.exp: Likewise.
417         * gdb.trace/tracecmd.exp: Likewise.
418         * gdb.trace/trace-mt.exp: Likewise.
419         * gdb.trace/tspeed.exp: Likewise.
420         * gdb.trace/tsv.exp: Likewise.
421         * gdb.trace/while-stepping.exp: Likewise.
422         * lib/gdb.exp: Likewise.
423         * lib/gdbserver-support.exp: Likewise.
424         * lib/java.exp: Likewise.
425         * lib/mi-support.exp: Likewise.
426         * lib/pascal.exp: Likewise.
427         * lib/prompt.exp: Likewise.
428         * lib/trace-support.exp: Likewise.
429
430 2013-06-07  Pedro Alves  <palves@redhat.com>
431
432         * gdb.ada/info_types.c: Fix formating in copyright header.
433         * gdb.base/break-on-linker-gcd-function.cc: Likewise.
434         * gdb.base/float.c: Likewise.
435         * gdb.base/inferior-died.c: Likewise.
436         * gdb.base/interp.c: Likewise.
437         * gdb.base/jit-main.c: Likewise.
438         * gdb.base/jit-solib.c: Likewise.
439         * gdb.base/long_long.c: Likewise.
440         * gdb.base/longjmp.c: Likewise.
441         * gdb.base/nextoverexit.c: Likewise.
442         * gdb.base/pr11022.c: Likewise.
443         * gdb.base/prelink-lib.c: Likewise.
444         * gdb.base/prelink.c: Likewise.
445         * gdb.base/prologue.c: Likewise.
446         * gdb.base/restore.c: Likewise.
447         * gdb.base/sigchld.c: Likewise.
448         * gdb.base/solib-search-lib1.c: Likewise.
449         * gdb.base/solib-search-lib2.c: Likewise.
450         * gdb.base/solib-search.c: Likewise.
451         * gdb.base/solib-search.h: Likewise.
452         * gdb.base/whatis.c: Likewise.
453         * gdb.cp/abstract-origin.cc: Likewise.
454         * gdb.cp/anon-struct.cc: Likewise.
455         * gdb.cp/baseenum.cc: Likewise.
456         * gdb.cp/bs15503.cc: Likewise.
457         * gdb.cp/call-c-1.c: Likewise.
458         * gdb.cp/call-c.cc: Likewise.
459         * gdb.cp/class2.cc: Likewise.
460         * gdb.cp/classes.cc: Likewise.
461         * gdb.cp/cttiadd.cc: Likewise.
462         * gdb.cp/cttiadd1.cc: Likewise.
463         * gdb.cp/cttiadd2.cc: Likewise.
464         * gdb.cp/cttiadd3.cc: Likewise.
465         * gdb.cp/derivation.cc: Likewise.
466         * gdb.cp/derivation2.cc: Likewise.
467         * gdb.cp/dispcxx.cc: Likewise.
468         * gdb.cp/exception.cc: Likewise.
469         * gdb.cp/gdb2384-base.cc: Likewise.
470         * gdb.cp/gdb2384-base.h: Likewise.
471         * gdb.cp/gdb2384.cc: Likewise.
472         * gdb.cp/gdb2495.cc: Likewise.
473         * gdb.cp/mb-inline.h: Likewise.
474         * gdb.cp/mb-inline1.cc: Likewise.
475         * gdb.cp/mb-inline2.cc: Likewise.
476         * gdb.cp/member-name.cc: Likewise.
477         * gdb.cp/member-ptr.cc: Likewise.
478         * gdb.cp/misc.cc: Likewise.
479         * gdb.cp/namespace1.cc: Likewise.
480         * gdb.cp/nextoverthrow.cc: Likewise.
481         * gdb.cp/pr-574.cc: Likewise.
482         * gdb.cp/pr9631.cc: Likewise.
483         * gdb.cp/printmethod.cc: Likewise.
484         * gdb.cp/psmang1.cc: Likewise.
485         * gdb.cp/psmang2.cc: Likewise.
486         * gdb.cp/psymtab-parameter.cc: Likewise.
487         * gdb.cp/ptype-flags.cc: Likewise.
488         * gdb.cp/ref-params.cc: Likewise.
489         * gdb.cp/ref-types.cc: Likewise.
490         * gdb.cp/smartp.cc: Likewise.
491         * gdb.cp/try_catch.cc: Likewise.
492         * gdb.cp/userdef.cc: Likewise.
493         * gdb.cp/using-crash.cc: Likewise.
494         * gdb.cp/virtfunc.cc: Likewise.
495         * gdb.cp/virtfunc2.cc: Likewise.
496         * gdb.dwarf2/callframecfa.S: Likewise.
497         * gdb.dwarf2/dw2-ranges.c: Likewise.
498         * gdb.dwarf2/dw2-ranges2.c: Likewise.
499         * gdb.dwarf2/dw2-ranges3.c: Likewise.
500         * gdb.dwarf2/dw2-restore.S: Likewise.
501         * gdb.dwarf2/pieces.S: Likewise.
502         * gdb.dwarf2/valop.S: Likewise.
503         * gdb.java/jnpe.java: Likewise.
504         * gdb.mi/mi-stepn.c: Likewise.
505         * gdb.mi/mi-var-cp.cc: Likewise.
506         * gdb.mi/mi-var-rtti.cc: Likewise.
507         * gdb.mi/ns-stale-regcache.c: Likewise.
508         * gdb.mi/pr11022.c: Likewise.
509         * gdb.mi/solib-lib.c: Likewise.
510         * gdb.mi/solib-main.c: Likewise.
511         * gdb.python/py-arch.c: Likewise.
512         * gdb.python/py-block.c: Likewise.
513         * gdb.python/py-breakpoint.c: Likewise.
514         * gdb.python/py-events.c: Likewise.
515         * gdb.python/py-evthreads.c: Likewise.
516         * gdb.python/py-explore.c: Likewise.
517         * gdb.python/py-explore.cc: Likewise.
518         * gdb.python/py-finish-breakpoint.c: Likewise.
519         * gdb.python/py-finish-breakpoint2.cc: Likewise.
520         * gdb.python/py-symbol.c: Likewise.
521         * gdb.threads/execl.c: Likewise.
522         * gdb.threads/execl1.c: Likewise.
523
524 2013-06-07  Will Newton  <will.newton@linaro.org>
525
526         * gdb.base/long_long.exp: Fix ARM EABI target glob.
527
528 2013-06-07  Will Newton  <will.newton@linaro.org>
529
530         * gdb.cp/annota2.exp: Add empty line between "post-prompt"
531         and "starting".
532
533 2013-06-07  Will Newton  <will.newton@linaro.org>
534
535         * gdb.cp/anon-struct.exp: Conditionalize constructor and
536         destructor prototypes for ARM ABI.
537         * gdb.cp/m-static.exp: Likewise.
538
539 2013-06-07  Yao Qi  <yao@codesourcery.com>
540
541         * gdb.trace/mi-trace-unavailable.exp: New.
542         * gdb.trace/trace-unavailable.c: New.
543
544 2013-06-06  Doug Evans  <dje@google.com>
545
546         * gdb.cp/derivation.exp: Make tests have unique names.
547
548 2013-06-06  Tom Tromey  <tromey@redhat.com>
549
550         * gdb.base/dump.exp (capture_value): Don't put expression into
551         test name if arguments passed in.
552         Rename a couple more tests to make them unique.
553
554 2013-06-06  Tom Tromey  <tromey@redhat.com>
555
556         * gdb.base/break-always.exp: Explicitly specify test name.
557
558 2013-06-05  Doug Evans  <dje@google.com>
559             Keith Seitz  <keiths@redhat.com>
560
561         * gdb.cp/derivation2.cc: New file.
562         * gdb.cp/derivation.cc (main): Call foo2.
563         * gdb.cp/derivation.exp: Add tests for typedefs in another
564         file, and when there's an active block.
565
566 2013-06-05  Luis Machado  <lgustavo@codesourcery.com>
567
568         * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
569         from targets that use function descriptors in the virtual tables.
570         Handle presence of dot symbols.
571
572 2013-06-04  Gary Benson  <gbenson@redhat.com>
573
574         * gdb.base/break-probes.exp: New file.
575         * gdb.base/break-probes.c: Likewise.
576         * gdb.base/break-probes-solib.c: Likewise.
577         * gdb.base/info-shared.exp: New file.
578         * gdb.base/info-shared.c: Likewise.
579         * gdb.base/info-shared-solib1.c: Likewise.
580         * gdb.base/info-shared-solib2.c: Likewise.
581
582 2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
583             Gary Benson  <gbenson@redhat.com>
584
585         * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
586         gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
587         * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
588         to be set to "no" to indicate that no ld.so copy should be made.
589         * gdb.base/break-interp.exp (solib_bp): New constant.
590         (reach_1): Use the above instead of "_dl_debug_state".
591         (test_attach): Likewise.
592         (test_ld): Likewise.
593         * gdb.threads/dlopen-libpthread.exp: New file.
594         * gdb.threads/dlopen-libpthread.c: Likewise.
595         * gdb.threads/dlopen-libpthread-lib.c: Likewise.
596         * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
597
598 2013-05-30  Yao Qi  <yao@codesourcery.com>
599
600         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
601         Add a test that no MI notification is emitted when executing
602         -exec-arguments.
603
604 2013-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
605
606         PR testsuite/12649
607         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
608         $mi_gdb_prompt expectation by mi_expect_stop.
609         (mi 1st dprintf, agent, mi 2nd dprintf, agent)
610         (mi info dprintf second time): Replace them by mi_send_resuming_command
611         and mi_expect_stop.
612
613 2013-05-24  Gary Benson  <gbenson@redhat.com>
614
615         * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
616         backslash.
617         * gdb.base/unload.exp (exec_opts): Remove two unnecessary
618         backslashes.
619         * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
620         backslash.
621
622 2013-05-24  Yao Qi  <yao@codesourcery.com>
623
624         * gdb.trace/tfile.exp: Test inferior and thread.
625
626 2013-05-24  Yao Qi  <yao@codesourcery.com>
627             Pedro Alves  <palves@redhat.com>
628
629         * gdb.base/range-stepping.exp: Skip the rest of tests if the
630         test fails.
631         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
632         Return 0 if the test passes, otherwise return 1.
633
634 2013-05-23  Doug Evans  <dje@google.com>
635
636         * boards/fission-dwp.exp: New file.
637
638 2013-05-23  Yao Qi  <yao@codesourcery.com>
639             Pedro Alves  <palves@redhat.com>
640
641         * gdb.base/range-stepping.c: New file.
642         * gdb.base/range-stepping.exp: New file.
643         * gdb.trace/range-stepping.c: New file.
644         * gdb.trace/range-stepping.exp: New file.
645         * lib/range-stepping-support.exp: New file.
646
647 2013-05-22  Tom Tromey  <tromey@redhat.com>
648
649         * gdb.cp/class2.cc (main): New local 'aref'.
650         * gdb.cp/class2.exp: Check printing of 'aref'.
651
652 2013-05-22  Doug Evans  <dje@google.com>
653
654         * gdb.threads/wp-replication.c (main): Insert some code at the start
655         to ensure the breakpoint on main is only hit once.  Fix comment.
656
657 2013-05-21  Keith Seitz  <keiths@redhat.com>
658             Pedro Alves  <palves@redhat.com>
659
660         * gdb.base/filesym.exp: Use gdb_test_multiple instead of
661         gdb_expect.
662         Add test to flush the remaining input buffer so that this
663         file passes testsuite/12649.
664
665 2013-05-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
666
667         * gdb.base/catch-signal-fork.exp: New file.
668         * gdb.base/catch-signal-fork.c: New file.
669
670 2013-05-21  Sterling Augustine  <saugustine@google.com>
671
672         * boards/remote-stdio-gdbserver.exp: New file.
673
674 2013-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
675
676         PR testsuite/12649
677         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
678         racy matches.
679
680 2013-05-21  Christian Groessler  <chris@groessler.org>
681
682         * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
683         since it's not supported in all shells.
684
685 2013-05-21  Hui Zhu  <hui@codesourcery.com>
686
687         * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
688         * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
689
690 2013-05-20  Doug Evans  <dje@google.com>
691
692         * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
693         (_handle_DW_TAG): Use it.
694         (cu, tu): Replace parameters is_64, version, addr_size with options.
695         All callers updated.  Add Fission support.
696         * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
697         * gdb.dwarf2/method-ptr.exp: Ditto.
698         * gdb.dwarf2/nostaticblock.exp: Ditto.
699         * gdb.dwarf2/subrange.exp: Ditto.
700         * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
701
702 2013-05-20  Tom Tromey  <tromey@redhat.com>
703
704         * gdb.gdb/python-selftest.exp: New file.
705
706 2013-05-20  Doug Evans  <dje@google.com>
707
708         * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
709         -fdebug-types-section.
710
711 2013-05-20  Joel Brobecker  <brobecker@adacore.com>
712
713         * gdb.ada/float_param: New testcase.
714
715 2013-05-17  Doug Evans  <dje@google.com>
716
717         * gdb.base/maint.exp: Update test for "maint check-psymtabs".
718         Add tests for "maint check-symtabs", "maint expand-symtabs".
719
720         * gdb.base/maint.exp: Remove testing of individual maint command
721         help output.
722
723 2013-05-16  Pedro Alves  <palves@redhat.com>
724
725         * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
726         comment.  Use gdb_test_no_output.
727
728 2013-05-16  Joel Brobecker  <brobecker@adacore.com>
729
730         * gdb.ada/complete.exp: Add test verifying completion using
731         the "tab" key.
732
733 2013-05-15  Keith Seitz  <keiths@redhat.com>
734
735         * gdb.base/filesym.exp: New completer test.
736         * gdb.base/filesym.c: New file.
737
738 2013-05-15  Pedro Alves  <palves@redhat.com>
739
740         * gdb.base/fixsection.c: Remove attribution.
741         * gdb.base/watch-read.exp: Ditto.
742
743 2013-05-13  Tom Tromey  <tromey@redhat.com>
744
745         * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
746         size and change type sizes to 4 bytes.
747
748 2013-05-13  Tom Tromey  <tromey@redhat.com>
749
750         * gdb.base/exprs.exp (test_expr): Add regression test.
751         * gdb.base/exprs.c (null_t_struct): New global.
752
753 2013-05-13  Muhammad Bilal  <mbilal@codesourcery.com>
754
755        * gdb.base/default.exp: Disable history saving.
756        * gdb.base/setshow.exp: Likewise.
757
758 2013-05-10  Pedro Alves  <palves@redhat.com>
759
760         PR remote/15455
761
762         * gdb.trace/qtro.c: New file.
763         * gdb.trace/qtro.exp: New file.
764
765 2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
766
767         * gdb.python/py-framefilter.py: New File.
768         * gdb.python/py-framefilter-mi.exp: Ditto.
769         * gdb.python/py-framefilter.c: Ditto.
770         * gdb.python/py-framefilter-mi.exp: Ditto.
771         * gdb.python/py-framefilter-mi.c: Ditto,
772         * gdb.python/py-framefilter-gdb.py.in: Ditto.
773
774 2013-05-08  Tom Tromey  <tromey@redhat.com>
775
776         * gdb.base/solib-search.exp: Set test name for "set
777         solib-search-path" test.
778
779 2013-05-08  Hafiz Abid Qadeer  <abidh@codesourcery.com>
780
781         * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
782         (set_a_tracepoint): Set tracepoint before prologue.
783         (run_trace_experiment): Test setup_tracepoints and 'break end'
784         in it.
785         (trace_buffer_normal): Remove.
786         (gdb_trace_circular_tests): Remove.  Move tests to...
787         (top level): ...here.  Call 'runto_main' before checking for
788         trace support.  Use commands to check the support for circular
789         trace buffer and changing of trace buffer size.  Add test
790         to calculate size of single frame.  Use this size to
791         calculate the size of trace buffer.  Use 'tfind pc func9'
792         instead of 'tfind 9'.  Use 'with_test_prefix'.
793
794 2013-05-07  Tom Tromey  <tromey@redhat.com>
795
796         * lib/selftest-support.exp: New file.
797         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
798         do_self_tests.
799         (setup_test, find_gdb): Remove.
800         * gdb.gdb/observer.exp: Load selftest-support.exp.  Use
801         do_self_tests.
802         (setup_test, find_gdb): Remove.
803         (test_observer): Don't call setup_test.  Remove argument.
804         * gdb.gdb/selftest.exp: Load selftest-support.exp.
805         (find_gdb): Remove.
806         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
807         do_self_tests.
808         (setup_test, find_gdb): Remove.
809         (test_with_self): Don't call setup_test.  Remove argument.
810
811 2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
812
813         * gdb.arch/system-gcore.exp: Remove.
814         * gdb.arch/gcore.c: Remove.
815         * gdb.base/gcore.exp: Add "info reg system".
816
817 2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
818
819         PR breakpoints/15413:
820         * gdb.base/pending.exp: Add test for completion of the "condition"
821         command for pending breakpoints.
822         * gdb.linespec/linespec.ex: Add test for completion of the
823         "condition" command when dealing with multiple locations.
824
825 2013-05-07  Luis Machado  <lgustavo@codesourcery.com>
826
827         * gdb.threads/wp-replication.c: New file.
828         * gdb.threads/wp-replication.exp: New file.
829
830 2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
831
832         * gdb.xml/tdesc-regs.exp: Add case for nios2.
833
834 2013-05-06  Doug Evans  <dje@google.com>
835
836         * gdb.base/solib-search-lib1.c: New file.
837         * gdb.base/solib-search-lib2.c: New file.
838         * gdb.base/solib-search.c: New file.
839         * gdb.base/solib-search.h: New file.
840         * gdb.base/solib-search.exp: New file.
841
842         * lib/gdb.exp (gdb_core_cmd): New function.
843         * gdb.arch/system-gcore.exp: Use it.
844         * gdb.arch/vsx-regs.exp: Ditto.
845         * gdb.base/gcore.exp: Ditto.
846         * gdb.threads/gcore-thread.exp: Ditto.
847
848         * gdb.reverse/shr.h: New file.
849         * gdb.reverse/shr1.c: New file.
850         * gdb.reverse/shr2.c: #include "shr.h".
851         * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
852         #include "shr.h".  Replace calls to printf,sleep to call shr1 instead.
853         * gdb.reverse/solib-precsave.exp: Build shr2.sl.
854         Update tests using sleep/printf to use shr2.sl instead.
855         * gdb.reverse/solib-reverse.exp: Ditto.
856
857 2013-05-06  Tom Tromey  <tromey@redhat.com>
858
859         * gdb.dwarf2/implptrconst.c: New file.
860         * gdb.dwarf2/implptrconst.exp: New file.
861         * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
862         (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
863         (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
864
865 2013-05-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
866
867         * gdb.base/catch-sig.c (main): Raise SIGINT.
868         * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
869
870 2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
871
872         * status-stop.exp (test_tstart_tstart): Check for error
873         returned by the second 'tstart' command.
874
875 2013-03-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
876
877         * gdb.xml/maint_print_struct.exp: New file.
878         * gdb.xml/maint_print_struct.xml: New file.
879
880 2013-04-25  Tom Tromey  <tromey@redhat.com>
881
882         * gdb.dwarf2/nostaticblock.exp: New file.
883
884 2013-04-24  Muhammad Bilal  <mbilal@codesourcery.com>
885
886         PR gdb/10462
887         * gdb.base/setshow.exp: Add test case.
888
889 2013-04-23  Hui Zhu  <hui@codesourcery.com>
890
891         PR gdb/15293
892         * gdb.base/dprintf.exp: Add ignore command.
893
894 2013-04-23  Hui Zhu  <hui@codesourcery.com>
895
896         PR gdb/15165
897         * gdb.base/save-bp.exp: Add test for dprintf.
898
899 2013-04-22  Tom Tromey  <tromey@redhat.com>
900
901         * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
902         notice_open_fds.
903
904 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
905
906         * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
907         ldflags.
908
909 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
910
911         * gdb.arch/arm-bl-branch-dest.c: New file.
912         * gdb.arch/arm-bl-branch-dest.exp: Likewise.
913
914 2013-04-19  Vladimir Kargov  <kargov@gmail.com>
915             Pedro Alves  <palves@redhat.com>
916
917         * gdb.arch/i386-float.S: New file.
918         * gdb.arch/i386-float.exp: New file.
919
920 2013-04-18  Luis Machado  <lgustavo@codesourcery.com>
921
922         * gdb.mi/mi-var-create-rtti.exp: Create a variable of
923         type void *.
924
925 2013-04-17  Doug Evans  <dje@google.com>
926
927         * lib/dwarf.exp (Dwarf): New proc "tu".
928         * gdb.dwarf2/missing-sig-type.exp: New file.
929
930 2013-04-15  Siva Chandra Reddy  <sivachandra@google.com>
931
932         Add option to link testcases with Pthreads library when
933         using 'prepare_for_testing' in tests.
934
935         * lib/gdb.exp (build_executable_from_specs): Use
936         gdb_compile_pthreads to compile if option "pthreads" is
937         specified.
938
939 2013-04-15  Tom Tromey  <tromey@redhat.com>
940
941         * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
942
943 2013-04-15  Tom Tromey  <tromey@redhat.com>
944
945         * gdb.base/default.exp: Update for $_exception.
946         * gdb.cp/exceptprint.cc: New file.
947         * gdb.cp/exceptprint.exp: New file.
948         * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
949
950 2013-04-15  Tom Tromey  <tromey@redhat.com>
951
952         * gdb.cp/typeid.cc: New file.
953         * gdb.cp/typeid.exp: New file.
954
955 2013-04-15  Tom Tromey  <tromey@redhat.com>
956
957         * gdb.cp/exception.exp: Add "catch rethrow" tests.
958
959 2013-04-13  Yao Qi  <yao@codesourcery.com>
960
961         * gdb.base/completion.exp: Test completion of command
962         'target ctf' if target ctf is supported.
963
964 2013-04-10  Pedro Alves  <palves@redhat.com>
965
966         * gdb.base/completion.exp: Test "set height", "set listsize" and
967         "set trace-buffer-size" completion.
968         * gdb.base/setshow.exp: Test "set height unlimited".
969         * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
970         unlimited".
971
972 2013-04-10  Yao Qi  <yao@codesourcery.com>
973
974         * gdb.trace/actions.exp: Save trace data to CTF.
975         Change to ctf target if GDB supports, read CTF data in ctf
976         target, and check the actions of tracepoints.
977         * gdb.trace/while-stepping.exp: Likewise.
978         * gdb.trace/report.exp: Test GDB saves trace data to CTF
979         format and read CTF trace file if GDB supports.
980         * gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
981         target is supported, change to ctf target, read trace data and
982         check output of command "tstatus".
983         * gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
984         read CTF data by target ctf and call check_tsv.
985
986 2013-04-10  Yao Qi  <yao@codesourcery.com>
987
988         * gdb.trace/actions.exp (check_tracepoint): New.
989         (top level): Start the tracing and check the actions of
990         tracepoints.  Save trace data to tfile format.  Restart GDB
991         and read trace file in tfile target.  Check the actions of
992         tracepoints again.
993         * gdb.trace/while-stepping.exp: Likewise.
994
995 2013-04-10  Yao Qi  <yao@codesourcery.com>
996
997         * gdb.trace/report.exp: Use standard_output_file for saved
998         trace file.
999
1000 2013-04-10  Hui Zhu  <hui@codesourcery.com>
1001
1002         * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1003         (MISCELLANEOUS): Add dprintf-pendshr.sl.
1004         * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1005
1006 2013-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1007
1008         * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1009         response.
1010
1011 2013-04-08  Pedro Alves  <palves@redhat.com>
1012
1013         * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1014         the location.
1015
1016 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
1017
1018         * gdb.cp/cplabel.exp: Allow empty directory in file reported
1019         for breakpoint location.
1020
1021 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
1022
1023         * gdb.linespec/linespec.exp: Make dir/file:line tests
1024         conditional for non-remote hosts only.
1025
1026 2013-04-04  Stan Shebs  <stan@codesourcery.com>
1027             Pedro Alves  <palves@redhat.com>
1028
1029         * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1030         * gdb.trace/actions-changed.c: New file.
1031         * gdb.trace/actions-changed.exp: New file.
1032         * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1033         (gdb_trace_setactions_command): ... this.  Add "actions_command"
1034         parameter, and handle it.
1035         (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1036
1037 2013-04-04  Yao Qi  <yao@codesourcery.com>
1038
1039         * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1040         'step'.
1041
1042 2013-04-03  Yao Qi  <yao@codesourcery.com>
1043
1044         * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1045         "tfile-basic.tf".
1046         (test_tfind_tfile): Likewise.
1047
1048 2013-04-03  Yao Qi  <yao@codesourcery.com>
1049
1050         * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1051         "tfile-basic.tf" instead of "basic.tf".
1052         (write_error_trace_file): Pass argument "tfile-error.tf"
1053         instead of "error.tf".
1054         * gdb.trace/tfile.exp: Update tfile names to
1055         "tfile-basic.tf" and "tfile-error.tf".
1056
1057 2013-04-02  Sandra Loosemore  <sandra@codesourcery.com>
1058
1059         * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1060         empty directory in file for breakpoint hit.
1061
1062 2013-03-29  Yao Qi  <yao@codesourcery.com>
1063
1064         * gdb.base/completion.exp: Test completion of commands
1065         "target core", "target tfile" and "target exec".
1066         * gdb.trace/tfile.exp: Test completion of command
1067         "target tfile".
1068
1069 2013-03-28  Joel Brobecker  <brobecker@adacore.com>
1070
1071         * gdb.ada/win_fu_syms: New testcase.
1072
1073 2013-03-28  Doug Evans  <dje@google.com>
1074
1075         * gdb.base/maint.exp (maint print statistics): Update expected output.
1076
1077 2013-03-28  Pedro Alves  <palves@redhat.com>
1078
1079         PR gdb/15294
1080
1081         * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1082         mean unlimited instead of $arg < 0.
1083         (test_listsize): Remove "listsize of 0 suppresses output" test.
1084         Test that "set listsize 0" ends up with an unlimited listsize.
1085
1086 2013-03-28  Pedro Alves  <palves@redhat.com>
1087
1088         * gdb.base/list.exp (last_line): New global.
1089         (last_line_re): New global.
1090         (test_listsize, test_list_function, test_list_forward)
1091         (test_repeat_list_command, test_list_range)
1092         (test_list_filename_and_function): Use them.
1093         * gdb.base/list0.c: Comment the last line of the file with "last
1094         line".
1095
1096 2013-03-28  Pedro Alves  <palves@redhat.com>
1097
1098         * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1099         list the whole file.
1100
1101 2013-03-28  Pedro Alves  <palves@redhat.com>
1102
1103         * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1104         "set listsize".
1105
1106 2013-03-26  Keith Seitz  <keiths@redhat.com>
1107
1108         * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1109         from passing.
1110
1111 2013-03-26  Pedro Alves  <palves@redhat.com>
1112
1113         * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1114         until after GDB has run.
1115
1116 2013-03-26  Yao Qi  <yao@codesourcery.com>
1117
1118         * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1119         * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1120
1121 2013-03-26  Markus Metzger  <markus.t.metzger@intel.com>
1122
1123         * gdb.btrace/enable.exp: Add regression test.
1124
1125 2013-03-25  Tom Tromey  <tromey@redhat.com>
1126
1127         * gdb.cp/m-static.exp: Add destructor-printing tests.
1128
1129 2013-03-25  Tom Tromey  <tromey@redhat.com>
1130
1131         * gdb.cp/m-static.exp: Add constructor ptype tests.
1132         * gdb.cp/m-static.cc (single_constructor): New class.
1133         (main): Make instance of single_constructor.
1134
1135 2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1136             Pedro Alves  <palves@redhat.com>
1137
1138         * gdb.server/server-kill.c: New file.
1139         * gdb.server/server-kill.exp: New file.
1140
1141 2013-03-21  Pedro Alves  <palves@redhat.com>
1142
1143         * gdb.trace/trace-buffer-size.exp (get default buffer size):
1144         Expect $gdb_prompt in gdb_test_multiple.
1145
1146 2013-03-21  Doug Evans  <dje@google.com>
1147
1148         * gdb.base/maint.exp: Update tests for per-command stats.
1149
1150 2013-03-21  Tom Tromey  <tromey@redhat.com>
1151
1152         * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1153         * gdb.cp/misc.exp: Add test for FILENAME:: case.
1154
1155 2013-03-20  Pedro Alves  <palves@redhat.com>
1156
1157         PR gdb/15289
1158
1159         * gdb.base/remote.exp: Test
1160         "set remote hardware-watchpoint-limit -1",
1161         "set remote hardware-breakpoint-limit -1",
1162         "set remote hardware-watchpoint-limit 2147483647" and
1163         "set remote hardware-breakpoint-limit 2147483647".
1164
1165 2013-03-20  Pedro Alves  <palves@redhat.com>
1166             Yao Qi  <yao@codesourcery.com>
1167
1168         * gdb.trace/tfile.c: Add comments.
1169         (nonconstglob): New global.
1170         * gdb.trace/tfile.exp: Add comments.  Test printing a non-const
1171         global that is not covered by the trace frame.  Test
1172         disassembling.
1173
1174 2013-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1175
1176         * gdb.base/valgrind-infcall.exp
1177         (continue #$continue_count) <remote connection closed>
1178         (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1179         $valgrind_pid.
1180
1181 2013-03-15  Tom Tromey  <tromey@redhat.com>
1182
1183         * gdb.cp/overload.cc (intintfunc): New.
1184         * gdb.cp/overload.exp: Add regression test.
1185
1186 2013-03-15  Yao Qi  <yao@codesourcery.com>
1187
1188         * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1189         using with_test_prefix.
1190         * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1191         * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1192         * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1193         * gdb.threads/watchpoint-fork.exp (test): Likewise.
1194         * gdb.base/break-interp.exp (test_core): Likewise.
1195         (test_attach_gdb): Likewise.
1196         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1197         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1198         Likewise.
1199         * gdb.base/jit-so.exp (one_jit_test): Likewise.
1200         * gdb.base/jit.exp (one_jit_test): Likewise.
1201         * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1202         * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1203         * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1204         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1205         Likewise.
1206         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1207         Likewise.
1208         * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1209         * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1210         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1211         (tracepoint_change_loc_2): Likewise.
1212         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1213         Likewise.
1214         (disconnected_tfind): Likewise.
1215         * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1216         Likewise.
1217         (test_tfind_remote): Likewise.
1218         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1219         Likewise.
1220         (test_pending_resolved): Likewise.
1221         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1222         Likewise.
1223         (test_upload_tsv): Likewise.
1224         * gdb.trace/pending.exp (pending_tracepoint_resolved):
1225         Likewise.
1226         (pending_tracepoint_works): Likewise.
1227         * gdb.trace/report.exp (use_collected_data): Likewise.
1228         * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1229         Likewise.
1230         (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1231         * gdb.trace/strace.exp (strace_info_marker): Likewise.
1232         (strace_trace_on_same_addr): Likewise.
1233         (strace_trace_on_diff_addr): Likewise.
1234         * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1235         (gdb_collect_locals_test): Likewise.
1236         (gdb_unavailable_registers_test): Likewise.
1237         (gdb_collect_globals_test): Likewise.
1238
1239 2013-03-15  Yao Qi  <yao@codesourcery.com>
1240
1241         * gdb.base/condbreak.exp: Add semicolon back which was removed
1242         by my previous commit.
1243
1244 2013-03-14  Yao Qi  <yao@codesourcery.com>
1245
1246         * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1247         'return'.
1248         (gdb_target_monitor, gdb_load): Likewise.
1249         * config/sid.exp (gdb_load): Likewise.
1250         * config/slite.exp (gdb_load): Likewise.
1251         * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1252         * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1253         * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1254         (single_step_until): Likewise.
1255         * gdb.arch/powerpc-d128-regs.exp: Likewise.
1256         * gdb.arch/system-gcore.exp: Likewise.
1257         * gdb.base/bigcore.exp (extract_heap): Likewise.
1258         * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1259         * gdb.base/call-ar-st.exp: Likewise.
1260         * gdb.base/call-rt-st.exp: Likewise.
1261         * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1262         * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1263         * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1264         * gdb.base/corefile.exp: Likewise.
1265         * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1266         * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1267         * gdb.base/fixsection.exp: Likewise.
1268         * gdb.base/funcargs.exp: Likewise.
1269         * gdb.base/gcore-buffer-overflow.exp: Likewise.
1270         * gdb.base/gcore-relro.exp: Likewise.
1271         * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1272         * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1273         * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1274         * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1275         * gdb.base/list.exp: Likewise.
1276         (set_listsize): Likewise.
1277         * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1278         * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1279         * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1280         * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1281         * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1282         * gdb.base/setvar.exp: Likewise.
1283         (test_set): Likewise.
1284         * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1285         * gdb.base/solib-overlap.exp: Likewise.
1286         * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1287         * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1288         * gdb.base/watchpoint.exp (initialize): Likewise.
1289         (test_simple_watchpoint): Likewise.
1290         (test_disabling_watchpoints): Likewise.
1291         (test_watchpoint_triggered_in_syscall): Likewise.
1292         * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1293         * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1294         * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1295         * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1296         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1297         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1298         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1299         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1300         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1301         * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1302         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1303         * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1304         * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1305         * gdb.mi/gdb792.exp: Likewise.
1306         * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1307         * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1308         * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1309         * gdb.threads/gcore-thread.exp: Likewise.
1310         (load_core): Likewise.
1311         * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1312         (test_startup, check_control_c): Likewise.
1313         * gdb.threads/sigstep-threads.exp: Likewise.
1314         * gdb.threads/thread_check.exp: Likewise.
1315         * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1316         * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1317         (set_a_tracepoint, trace_buffer_normal): Likewise.
1318         (gdb_trace_circular_tests): Likewise.
1319         * gdb.trace/collection.exp: Likewise.
1320         * gdb.trace/disconnected-tracing.exp: Likewise.
1321         * gdb.trace/infotrace.exp: Likewise.
1322         * gdb.trace/mi-traceframe-changed.exp: Likewise.
1323         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1324         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1325         * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1326         * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1327         * gdb.trace/stap-trace.exp: Likewise.
1328         * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1329         * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1330         * gdb.trace/trace-buffer-size.exp: Likewise.
1331         * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1332         * gdb.trace/unavailable.exp: Likewise.
1333         * gdb.trace/while-dyn.exp: Likewise.
1334         * lib/fortran.exp (set_lang_fortran): Likewise.
1335         * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1336         (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1337         (default_gdb_start, get_compiler_info): Likewise.
1338         (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1339         (get_debug_format, setup_xfail_format): Likewise.
1340         (rerun_to_main, gdb_skip_float_test): Likewise.
1341         (build_id_debug_filename_get, get_remotetimeout): Likewise.
1342         * lib/java.exp (set_lang_java): Likewise.
1343         * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1344         (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1345         (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1346         (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1347         * lib/objc.exp (set_lang_objc): Likewise.
1348         * lib/pascal.exp (set_lang_pascal): Likewise.
1349         * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1350         * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1351         (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1352
1353 2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
1354
1355         PR c++/15203
1356         PR c++/15210
1357         * gdb.cp/m-static.cc (keepalive_int): New function.
1358         (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1359         * gdb.cp/m-static.exp: New test for `sintvar'.
1360
1361 2013-03-14  Yao Qi  <yao@codesourcery.com>
1362
1363         * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1364         of 'tstatus' into tstatus_output.
1365         (top level): Save the trace data to tfile.  Read trace file in
1366         tfile target.  Check the trace status.
1367
1368 2013-03-13  Yao Qi  <yao@codesourcery.com>
1369
1370         * gdb.trace/tsv.exp (check_tsv): New.
1371         (top level): Save a tfile on current trace session. Call
1372         check_tsv on live target.  Load the tfile with target tfile
1373         and call check_tsv again.
1374
1375 2013-03-13  Yao Qi  <yao@codesourcery.com>
1376
1377         * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1378         Replace some "gdb_test" with "gdb_test_no_output".
1379
1380 2013-03-12  Paul Hilfinger  <hilfingr@adacore.com>
1381
1382         * gdb.ada/expr_delims.exp: New file.
1383         * gdb.ada/expr_delims/foo.adb: New file.
1384         * gdb.ada/expr_delims/pck.ads: New file.
1385         * gdb.ada/expr_delims/pck.adb: New file.
1386
1387 2013-03-11  Keith Seitz  <keiths@redhat.com>
1388
1389         * watchpoint.exp (test_no_hw_watchpoints): Add test using
1390         both condition and thread.  Then delete the watchpoint.
1391
1392 2013-03-11  Christian Himpel  <christian.himpel@intel.com>
1393
1394         * Makefile.in: Add btrace testsuite.
1395         * configure: Regenerated.
1396         * configure.ac: Add btrace testsuite.
1397         * gdb.btrace/Makefile.in: New file.
1398         * gdb.btrace/enable.c: New file.
1399         * gdb.btrace/enable.exp: New file.
1400         * gdb.btrace/function_call_history.c: New file.
1401         * gdb.btrace/function_call_history.exp: New file.
1402         * gdb.btrace/instruction_history.c: New file.
1403         * gdb.btrace/instruction_history.exp: New file.
1404         * gdb.btrace/instruction_history.S: New file.
1405         * lib/gdb.exp: Add btrace skip proc.
1406
1407 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1408
1409         Fix entry-values if the callee called a noreturn function.
1410         * gdb.arch/amd64-tailcall-noret.S: New file.
1411         * gdb.arch/amd64-tailcall-noret.c: New file.
1412         * gdb.arch/amd64-tailcall-noret.exp: New file.
1413
1414 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1415
1416         Fix entry-values in C++ across CUs.
1417         * gdb.arch/amd64-tailcall-cxx.exp: New file.
1418         * gdb.arch/amd64-tailcall-cxx1.S: New file.
1419         * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1420         * gdb.arch/amd64-tailcall-cxx2.S: New file.
1421         * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1422
1423 2013-03-08  Stan Shebs  <stan@codesourcery.com>
1424             Hafiz Abid Qadeer  <abidh@codesourcery.com>
1425
1426         gdb/testsuite/
1427         * gdb.trace/trace-buffer-size.exp: New file.
1428         * gdb.trace/trace-buffer-size.c: New file.
1429
1430 2013-03-06  Pedro Alves  <palves@redhat.com>
1431
1432         * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1433         doesn't support the tested optional feature, call "unsupported"
1434         with the same test message as the "pass" case, instead of calling
1435         "pass" with a different message.  Use the same text for the "fail"
1436         cases too.
1437
1438 2013-03-06  Yao Qi  <yao@codesourcery.com>
1439
1440         * gdb.trace/tstatus.exp: Remove the invocation of
1441         gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1442         (test_tracepoints): Don't set fast tracepoint.
1443         (top level): Don't check agent library is loaded or not.
1444
1445 2013-03-06  Yao Qi  <yao@codesourcery.com>
1446
1447         * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1448         parentheses by "\\".
1449
1450 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1451
1452         * gdb.linespec/base/one/thefile.cc (twodup): New.
1453         (m): Call it.
1454         * gdb.linespec/base/two/thefile.cc (dupname): New.
1455         (n): Call it.
1456         * gdb.linespec/break-ask.exp: New file.
1457         * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1458
1459 2013-02-28  Yao Qi  <yao@codesourcery.com>
1460
1461         * gdb.trace/report.exp: Move some code to ...
1462         (use_collected_data): New.
1463         (top level): Call use_collected_data once on the live target.
1464         Save at file of the current trace session, load it with target
1465         tfile, and call use_collected_data again.
1466
1467 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1468
1469         * gdb.threads/fork-thread-pending.c (main): Add alarm.
1470
1471 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1472
1473         * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1474         Add final kill of ${valgrind_pid}.
1475
1476 2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
1477
1478         * gdb.python/py-arch.c: New test case
1479         * gdb.python/py-arch.exp: New tests to test
1480         gdb.Architecture.disassemble
1481         * gdb.python/Makefile.in: Add py-arch to the list of
1482         EXECUTABLES.
1483
1484 2013-02-18  Tom Tromey  <tromey@redhat.com>
1485
1486         * gdb.dwarf2/subrange.exp: New file.
1487
1488 2013-02-15  Pedro Alves  <pedro@codesourcery.com>
1489             Hafiz Abid Qadeer  <abidh@codesourcery.com>
1490
1491         * gdb.trace/tfile.exp: Add test for -trace-status command.
1492
1493 2013-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
1494
1495         * gdb.threads/pthread_cond_wait.c (main): Remove variable ts.  Replace
1496         nanosleep by sleep.
1497
1498 2013-02-14  Pedro Alves  <palves@redhat.com>
1499
1500         * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1501
1502 2013-02-14  Pedro Alves  <pedro@codesourcery.com>
1503             Hafiz Abid Qadeer  <abidh@codesourcery.com>
1504
1505         * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1506
1507 2013-02-12  Tom Tromey  <tromey@redhat.com>
1508
1509         * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1510         * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1511
1512 2013-02-12  Pedro Alves  <palves@redhat.com>
1513
1514         * gdb.base/catch-signal.c: Update copyright years.
1515         * gdb.base/catch-signal.exp: Update copyright years.
1516         * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1517         * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1518         * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1519         * gdb.dwarf2/dw2-error.S: Update copyright years.
1520         * gdb.dwarf2/dw2-error.c: Update copyright years.
1521         * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1522         * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1523         * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1524
1525 2013-02-12  Pedro Alves  <palves@redhat.com>
1526
1527         * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1528         message.
1529         * gdb.base/sigaltstack.exp: Ditto.
1530         * gdb.base/siginfo.exp: Ditto.
1531         * gdb.base/sizeof.exp: Ditto.
1532
1533 2013-02-12  Pedro Alves  <palves@redhat.com>
1534
1535         * gdb.mi/mi-basics.exp: Tweak intro comment.
1536         * gdb.mi/mi-break.exp: Tweak intro comment.
1537         * gdb.mi/mi-console.exp: Tweak intro comment.
1538         * gdb.mi/mi-file.exp: Tweak intro comment.
1539         * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1540         * gdb.mi/mi-return.exp: Tweak intro comment.
1541         * gdb.mi/mi-stepi.exp: Tweak intro comment.
1542         * gdb.mi/mi-until.exp: Tweak intro comment.
1543         * gdb.mi/mi-watch.exp: Tweak intro comment.
1544
1545 2013-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
1546
1547         * gdb.server/no-thread-db.exp: New file.
1548         * gdb.server/no-thread-db.c: New file.
1549         * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1550
1551 2013-02-11  Doug Evans  <dje@google.com>
1552
1553         * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1554         two decfloats.
1555
1556 2013-02-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1557
1558         * gdb.base/bitfields.c (struct internalvartest): New declaration.
1559         * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1560
1561 2013-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1562
1563         * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1564
1565 2013-02-06  Yao Qi  <yao@codesourcery.com>
1566
1567         * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1568         to ...
1569         (test_create_delete_modify_tsv): ... here.  New test on modifying
1570         the initial value of a tsv.
1571
1572 2013-02-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1573
1574         * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1575         (cd .../rdir): ... here.
1576
1577 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1578
1579         * gdb.linespec/base/one/header.h: New file.
1580         * gdb.linespec/base/two/header.h: New file.
1581         * gdb.linespec/macro-relative.c: New file.
1582         * gdb.linespec/macro-relative.exp: New file.
1583
1584 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1585
1586         * gdb.base/fullpath-expand-func.c: New file.
1587         * gdb.base/fullpath-expand.c: New file.
1588         * gdb.base/fullpath-expand.exp: New file.
1589         * gdb.base/realname-expand-real.c: New file.
1590         * gdb.base/realname-expand.c: New file.
1591         * gdb.base/realname-expand.exp: New file.
1592
1593 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1594
1595         * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1596         * gdb.dwarf2/dw2-dir-file-name.c: New file.
1597
1598 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1599
1600         * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1601         (compare_filenames_for_search does not match)
1602         (compare_filenames_for_search does match): New tests.
1603
1604 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1605
1606         * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1607
1608 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1609
1610         * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1611
1612 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1613
1614         * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1615         ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1616         ${binfile}.mini_debuginfo-debuglink and
1617         ${binfile}.mini_debuginfo-debuglink.xz.
1618
1619 2013-02-01  Tom Tromey  <tromey@redhat.com>
1620
1621         * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1622         attributes.
1623
1624 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1625             Tom Tromey  <tromey@redhat.com>
1626
1627         * gdb.dwarf2/method-ptr.exp: Link with c++.
1628         * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1629
1630 2013-01-31  Tom Tromey  <tromey@redhat.com>
1631
1632         * gdb.base/jit.exp (compile_jit_test): New proc.
1633         Add PIE tests.
1634
1635 2013-01-31  Tom Tromey  <tromey@redhat.com>
1636
1637         * gdb.dwarf2/method-ptr.cc: New file.
1638         * gdb.dwarf2/method-ptr.exp: New file.
1639
1640 2013-01-31  Tom Tromey  <tromey@redhat.com>
1641
1642         * lib/dwarf.exp (namespace Dwarf): New.
1643
1644 2013-01-29  Tom Tromey  <tromey@redhat.com>
1645
1646         * gdb.dwarf2/fission-reread.exp: Add unload test.
1647
1648 2013-01-28  Doug Evans  <dje@google.com>
1649
1650         * gdb.dwarf2/fission-loclists.exp: New file.
1651         * gdb.dwarf2/fission-loclists.S: New file.
1652
1653 2013-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1654
1655         Code cleanup.
1656         * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1657         gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1658         and prepare_for_testing.
1659         * gdb.base/store.exp: Likewise.
1660
1661 2013-01-25  Tom Tromey  <tromey@redhat.com>
1662
1663         * gdb.python/py-explore.exp: Expect the gdb prompt.
1664
1665 2013-01-25  Andrew Burgess  <aburgess@broadcom.com>
1666
1667         * gdb.base/gnu_vector.c: New variable for use in tests.
1668         * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1669         changes in scalar to vector casting and widening.
1670         * gdb.python/py-type.c: New variables for use in tests.
1671         * gdb.python/py-type.exp: Update vector related tests to reflect
1672         changes in scalar to vector casting and widening.
1673
1674 2013-01-24  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1675
1676         * gdb.base/prologue-include.c: New file.
1677         * gdb.base/prologue-include.exp: New file.
1678         * gdb.base/prologue-include.h: New file.
1679
1680 2013-01-24  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1681
1682         PR gdb/13443
1683         * gdb.mi/mi-var-block.exp: Make test messages unique.
1684
1685 2013-01-23  Tom Tromey  <tromey@redhat.com>
1686
1687         * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1688
1689 2013-01-23  Tom Tromey  <tromey@redhat.com>
1690
1691         * gdb.cp/converts.cc (main): Initialize 'a'.
1692
1693 2013-01-23  Siva Chandra Reddy  <sivachandra@google.com>
1694
1695         * testsuite/gdb.python/frame.exp: Add a test for
1696         gdb.Frame.architecture() method.
1697
1698 2013-01-22  Pedro Alves  <palves@redhat.com>
1699
1700         * gdb.base/annota1.exp (signal sent): No longer expect
1701         breakpoints-invalid.
1702         * gdb.cp/annota2.exp (continue until exit)
1703         (watch triggered on a.x): Ditto.
1704
1705 2013-01-22  Pedro Alves  <palves@redhat.com>
1706
1707         * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1708         Adjust tests to breakpoints-invalid changes.
1709         * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1710         variables.
1711         Adjust tests to breakpoints-invalid changes.
1712
1713 2013-01-22  Pedro Alves  <palves@redhat.com>
1714
1715         * gdb.base/annota1.exp (annotate ignore count change): Add
1716         expected output for failure case.
1717
1718 2013-01-22  Tom Tromey  <tromey@redhat.com>
1719
1720         * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1721         call.
1722
1723 2013-01-21  Marc Khouzam  <marc.khouzam@ericsson.com>
1724
1725         * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1726         * gdb.mi/mi-catch-load.exp: Ditto.
1727         * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1728         Also handle 'thread' field.
1729         * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1730         * gdb.mi/mi-watch.exp: Ditto.
1731         * lib/mi-support.exp: Ditto.
1732
1733 2013-01-21  Siva Chandra Reddy  <sivachandra@google.com>
1734
1735         * gdb.python/py-explore.exp: Improve a test
1736
1737 2013-01-18 Â David Blaikie Â <dblaikie@gmail.com>
1738
1739         * gdb.base/label.c (main): Correct the type of the second
1740         parameter.
1741
1742 2013-01-18  Tom Tromey  <tromey@redhat.com>
1743
1744         * gdb.dwarf2/trace-crash.s: New file.
1745         * gdb.dwarf2/trace-crash.exp: New file.
1746
1747 2013-01-18  Hafiz Abid Qadeer<abidh@codesourcery.com>
1748
1749         PR gdb/13443
1750         * gdb.base/checkpoint.exp: Update test messages to make them
1751         unique.
1752
1753 2013-01-18  Yao Qi  <yao@codesourcery.com>
1754
1755         * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1756         output of 'info tracepoints'.
1757         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1758         Likewise.
1759         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1760         * gdb.trace/disconnected-tracing.c (struct foo): New.
1761
1762 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1763
1764         * gdb.dwarf2/dw2-dos-drive.S: New file.
1765         * gdb.dwarf2/dw2-dos-drive.exp: New file.
1766
1767 2013-01-17  Doug Evans  <dje@google.com>
1768
1769         * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1770         CXX_FOR_TARGET.
1771
1772         * boards/cc-with-tweaks.exp: New file.
1773
1774 2013-01-17  Tom Tromey  <tromey@redhat.com>
1775
1776         * gdb.base/completion.exp: Add "set cp-abi" completion test.
1777
1778 2013-01-17  Pedro Alves  <palves@redhat.com>
1779
1780         Merge dg-extract-results.sh from upstream (svn 195224).
1781
1782         2013-01-15  David Blaikie <dblaikie@gmail.com>
1783         * dg-extract-results.sh: Fix order of summary counts.
1784
1785         2013-01-15  David Blaikie <dblaikie@gmail.com>
1786         * dg-extract-results.sh: Constrain the start-of-log pattern.
1787
1788         2013-01-15  David Blaikie <dblaikie@gmail.com>
1789         * dg-extract-results.sh: Handle KPASSes.
1790
1791         2010-05-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1792         * dg-extract-results.sh: Redirect grep output to /dev/null instead
1793         of grep -q.
1794
1795 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
1796
1797         * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1798         interface.
1799         * gdb.base/jithost.c: New file.
1800         * gdb.base/jithost.h: New file.
1801         * gdb.base/jitreader.c : New file.
1802         * gdb.base/jit-protocol.h: New file.
1803
1804 2013-01-16  Tom Tromey  <tromey@redhat.com>
1805
1806         * gdb.base/catch-signal.c: New file.
1807         * gdb.base/catch-signal.exp: New file.
1808
1809 2013-01-16  Tom Tromey  <tromey@redhat.com>
1810
1811         * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1812
1813 2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1814
1815         * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1816
1817 2013-01-14  Tom Tromey  <tromey@redhat.com>
1818
1819         * gdb.base/completion.exp: Add "set gnutarget" test.
1820
1821 2013-01-14  Tom Tromey  <tromey@redhat.com>
1822
1823         * gdb.dwarf2/dw2-restrict.S: New file.
1824         * gdb.dwarf2/dw2-restrict.c: New file.
1825         * gdb.dwarf2/dw2-restrict.exp: New file.
1826
1827 2013-01-14  Tom Tromey  <tromey@redhat.com>
1828
1829         * gdb.dwarf2/dw2-error.exp: New file.
1830         * gdb.dwarf2/dw2-error.c: New file.
1831         * gdb.dwarf2/dw2-error.S: New file.
1832
1833 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1834
1835         * gdb.cp/parse-lang.cc: New file.
1836         * gdb.cp/parse-lang.exp: New file.
1837
1838 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1839
1840         * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1841         (set substitute-path): New test.
1842         (fullname present): Remove content.
1843         (substituted fullname): New test.
1844
1845 2013-01-13  Joel Brobecker  <brobecker@adacore.com>
1846
1847         * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1848         check.  Move $gdb_py_is_py24 value check right after.
1849
1850 2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1851
1852         * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1853         targets.
1854
1855 2013-01-11  Yao Qi  <yao@codesourcery.com>
1856
1857         * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1858         for dprintf.
1859         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1860         Check the fields in "=breakpoint-created" for dprintf.
1861
1862 2012-12-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1863
1864         * gdb.mi/mi-fullname-deleted.exp: New file.
1865
1866 2012-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1867
1868         * gdb.base/skip-solib.exp (info skip with pending file): Update the
1869         expected output.
1870         (info skip with pending file): Remove.
1871         (ignoring function in solib, info skip for function multiply): Update
1872         the expected output.
1873         * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1874         (info skip (delete 1), info skip after disabling all)
1875         (info skip after enabling all, info skip after disabling 4 2-3)
1876         (info skip after enabling 2-3, info skip 2-3)
1877         (info skip after deleting 2 3): Update the expected output.
1878         * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1879         statement to its initialization and return.
1880         * gdb.linespec/skip-two.exp: New file.
1881
1882 2012-12-19  Doug Evans  <dje@google.com>
1883
1884         * gdb.base/maint.exp: Handle testing with .gdb_index.
1885
1886 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
1887
1888         * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1889         Cavium to FSF.
1890
1891 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
1892
1893         * dg-extract-results.sh: Update contact info in copyright notice.
1894         * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1895         GPL v3 or later.  Update contact info.
1896         * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1897         gdb.threads/watchpoint-fork-mt.c,
1898         gdb.threads/watchpoint-fork-parent.c,
1899         gdb.threads/watchpoint-fork-st.c,
1900         gdb.threads/watchpoint-fork.h: Likewise.
1901
1902 2012-12-15  Yao Qi  <yao@codesourcery.com>
1903
1904         * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1905         'installed' field in '=breakpoint-modified'.
1906         (test_reconnect): Check 'installed' field in
1907         '=breakpoint-modified' and '=breakpoint-created'.
1908
1909         * gdb.trace/actions.exp: Update test for 'installed' field.
1910         * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1911         (tracepoint_change_loc_2): Likewise.
1912         Check 'info tracepoint' display nothing else.
1913         * gdb.trace/deltrace.exp: Likewise.
1914         * gdb.trace/infotrace.exp: Likewise.
1915         * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1916         Likewise.
1917         * gdb.trace/passcount.exp: Likewise.
1918         * gdb.trace/tracecmd.exp: Likewise.
1919         * gdb.trace/while-stepping.exp: Likewise.
1920
1921 2012-12-14  Tom Tromey  <tromey@redhat.com>
1922
1923         * gdb.cp/member-name.exp: New file.
1924         * gdb.cp/member-name.cc: New file.
1925
1926 2012-12-14  Tom Tromey  <tromey@redhat.com>
1927
1928         * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1929
1930 2012-12-14  Doug Evans  <dje@google.com>
1931
1932         * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1933         DW_OP_GNU_implicit_pointer is section-relative.
1934
1935 2012-12-14  Tom Tromey  <tromey@redhat.com>
1936
1937         * gdb.base/info-proc.exp: Add core file tests.
1938
1939 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
1940
1941         * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
1942
1943 2012-12-13  Doug Evans  <dje@google.com>
1944
1945         * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1946         * gdb.multi/multi-arch.exp: Ditto.
1947
1948 2012-12-12  Keven Boell  <keven.boell@intel.com>
1949
1950         * gdb.mi/mi-catch-load-so.c: New. Clone of the
1951         catch load test library source file.
1952         * gdb.mi/mi-catch-load.c: New. Clone of the catch
1953         load test source file.
1954         * gdb.mi/mi-catch-load.exp: New. Test file for
1955         basic MI -catch-load and -catch-unload tests.
1956
1957 2012-12-11  Paul Koning  <paul_koning@dell.com>
1958
1959         * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
1960         exception.
1961         (_iterator_except): New function.
1962         (ArrayPrinter): Use _iterator function instead of local _iterator
1963         class for Python 3 compatibility.
1964         (NoStringContainerPrinter): Use _iterator_except instead of
1965         _iterator.
1966         * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
1967         execfile for Python 3 compatibility.
1968         * gdb.python/python.exp: Handle Python 2.4 exception traceback
1969         format in error_prompt test.
1970
1971 2012-12-10  Paul Koning  <paul_koning@dell.com>
1972
1973         * gdb.base/charset.exp: Change print syntax for Python 3
1974         compatibility.
1975         * gdb.python/py-block.exp: Ditto.
1976         * gdb.python/py-breakpoint.exp: Ditto.
1977         * gdb.python/py-cmd.exp: Ditto.
1978         * gdb.python/py-events.py: Ditto.
1979         * gdb.python/py-finish-breakpoint.py: Ditto.
1980         * gdb.python/py-finish-breakpoint2.exp: Ditto.
1981         * gdb.python/py-finish-breakpoint2.py: Ditto.
1982         * gdb.python/py-frame-inline.exp: Ditto.
1983         * gdb.python/py-frame.exp: Ditto.
1984         * gdb.python/py-infthread.exp: Ditto.
1985         * gdb.python/py-objfile.exp: Ditto.
1986         * gdb.python/py-parameter.exp: Ditto.
1987         * gdb.python/py-progspace.exp: Ditto.
1988         * gdb.python/py-prompt.exp: Ditto.
1989         * gdb.python/py-symbol.exp: Ditto.
1990         * gdb.python/py-symtab.exp: Ditto.
1991         * gdb.python/py-template.exp: Ditto.
1992         * gdb.python/py-value-cc.exp: Ditto.
1993         * gdb.python/python.exp: Ditto.
1994         * gdb.python/source2.py: Ditto.
1995         * gdb.python/lib-types.exp: Change print syntax for Python 3
1996         compatibility.
1997         Use sorted() function rather than sort() method.
1998         Accept either int or long values for enum values.
1999         * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2000         execfile for Python 3 compatibility.
2001         * gdb.python/py-evsignal.exp: Ditto.
2002         * gdb.python/py-evthreads.exp: Ditto.
2003         * gdb.python/py-mi.exp: Ditto.
2004         * gdb.python/py-pp-maint.exp: Ditto.
2005         * gdb.python/py-prettyprint.exp: Ditto.
2006         * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2007         Python 3 compatibility.
2008         Skip tests for Python 2.4.
2009         * gdb.python/py-inferior.exp: Change print syntax for
2010         Python 3 compatibility.
2011         Use byte string rather than character string in memory write test
2012         if Python 3.
2013         * gdb.python/py-pp-maint.py: Change class declarations to "new
2014         class" syntax.
2015         * gdb.python/py-prettyprint.py: Change iterator class to generator
2016         function for Python 3 compatibility.
2017         Make all classes "new style".
2018         Fix indentation issue and stray semicolon.
2019         * gdb.python/py-shared.expChange print syntax for Python 3
2020         compatibility.
2021         Define "long" if Python 3.
2022         * gdb.python/py-type.exp: Change print syntax for Python 3
2023         compatibility.
2024         Accept either int or long values for enum values.
2025         * gdb.python/py-value.exp: Change print syntax for Python 3
2026         compatibility.
2027         Skip "long" and "unicode" tests if Python 3.
2028         Accept either "type" or "class" in type checks.
2029         * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2030         (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2031
2032 2012-12-10  Tom Tromey  <tromey@redhat.com>
2033
2034         * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2035         (test): Add "two_cu" argument.
2036         * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2037         for types; allow two CUs.
2038
2039 2012-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2040
2041         * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2042         * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2043
2044 2012-12-08  Yao Qi  <yao@codesourcery.com>
2045             Pedro Alves  <palves@redhat.com>
2046
2047         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2048         '=breakpoint-created' when GDB merges the tracepoints of both
2049          sides.
2050
2051 2012-12-07  Tom Tromey  <tromey@redhat.com>
2052
2053         * gdb.base/break1.c (enum some_enum, union some_union): New.
2054         (some_enum_global, some_union_global, some_value): New globals.
2055         * gdb.base/completion.exp: Add tag completion tests.
2056
2057 2012-12-07  Tom Tromey  <tromey@redhat.com>
2058
2059         * gdb.base/completion.exp: Add tests for ptype and whatis
2060         completion.
2061
2062 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
2063
2064         * gdb.base/stale-infcall.exp: Fix copyright line.
2065
2066 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
2067
2068         * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2069
2070 2012-12-06  Pedro Alves  <palves@redhat.com>
2071             Tom Tromey  <tromey@redhat.com>
2072
2073         * gdb.base/exprs.exp: Add tests for cast to void.
2074
2075 2012-12-06  Jens Elmenthaler <jens.elmenthaler@advantest.com>
2076
2077         * gdb.python/py-mi.exp: Correct expected results for attribute
2078         "dynamic" returned by -var-update.
2079         Add test case for correct handling of "diplayhint" for children
2080         of dynamic varobjs.
2081         * gdb.python/py-prettyprint.c (set_itme): New function.
2082         (bug_14741) New function.
2083         (main) Add call to bug_14741().
2084         * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2085
2086 2012-12-05  Ulrich Weigand  <uweigand@de.ibm.com>
2087
2088         * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2089         ${binfile}.funcsyms list.
2090
2091 2012-12-04  Yao Qi  <yao@codesourcery.com>
2092
2093         PR gdb/13443
2094         * gdb.trace/actions.exp: Make test messages unique.
2095
2096 2012-11-29  Tom Tromey  <tromey@redhat.com>
2097
2098         * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2099
2100 2012-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
2101
2102         * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2103         * gdb.opencl/datatypes.exp: Likewise.
2104         * gdb.opencl/operators.exp: Likewise.
2105         * gdb.opencl/vec_comps.exp: Likewise.
2106
2107 2012-11-29  Jerome Guitton  <guitton@adacore.com>
2108
2109         * gdb.ada/iwide: New testcase.
2110
2111 2012-11-29  Jerome Guitton  <guitton@adacore.com>
2112
2113         * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2114         ptype test.
2115
2116 2012-11-29  Jerome Guitton  <guitton@adacore.com>
2117
2118         * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2119         form {VARIANT_TYPE}ADDRESS.
2120
2121 2012-11-27  Daniel Jacobowitz  <dan@codesourcery.com>
2122
2123         * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2124         (func): New function.
2125         (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2126         * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2127         pointers to members with pointer-to-function type.
2128
2129 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2130             Tom Tromey  <tromey@redhat.com>
2131
2132         * gdb.base/gnu-debugdata.exp: New file.
2133         * gdb.base/gnu-debugdata.c: New file.
2134         * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2135         (gdb_unload): Return 0 on success.
2136
2137 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2138
2139         * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2140
2141 2012-11-26  Joel Brobecker  <brobecker@adacore.com>
2142
2143         * gdb.base/empty_exe.exp: New testcase.
2144
2145 2012-11-20  Mike Frysinger  <vapier@gentoo.org>
2146
2147         * gdb.base/completion.exp: Add test for help aliases completion.
2148
2149 2012-11-20  Yao Qi  <yao@codesourcery.com>
2150
2151         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2152         Don't test 'maint set show-debug-regs'.
2153         Use command 'set remotecache' instead of
2154         'set circular-trace-buffer'.
2155
2156 2012-11-16  Keith Seitz  <keiths@redhat.com>
2157
2158         PR c++/13615
2159         * gdb.cp/baseenum.cc: New file.
2160         * gdb.cp/baseenum.exp: New file.
2161         * gdb.cp/derivation.cc (A): Add copyright.
2162         Add a typedef.
2163         (B): Use A::value_type instead of int.  Change all references.
2164         (D): Use value_type instead of int.  Change all references.
2165         (E): Likewise.
2166         (F); Likewise.
2167         (Z): New class.
2168         (ZZ): New class.
2169         (N, Base, Derived): New namespace and classes.
2170         (main): Add instances of Z and ZZ.
2171         Make sure all symbols from N are kept.
2172         * gdb.cp/derivation.exp: Update typedef changes in tests.
2173         Add tests for class typedefs both before and after starting
2174         the inferior.
2175         Add tests for searching for a typedef while stopped in a
2176         method.
2177
2178 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
2179
2180         * gdb.mi/mi-var-create-rtti.c: New file.
2181         * gdb.mi/mi-var-create-rtti.exp: New file.
2182
2183 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
2184
2185         * gdb.base/structs3.exp: Run to main before doing any tests.
2186
2187 2012-11-14  Andrew Burgess  <aburgess@broadcom.com>
2188
2189         * gdb.python/py-type.exp: Uniquify test names.
2190
2191 2012-11-14  Yao Qi  <yao@codesourcery.com>
2192
2193         * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2194         (thread_function) [DEBUG]: Call 'printf'.
2195         * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2196         command line if 'DEBUG=1' is passed to test.
2197         Remove a pattern to match inferior's output.
2198
2199 2012-11-13  Giuseppe Montalto  <giuseppe.montalto@st.com>
2200
2201         * gdb.mi/mi-fill-memory.exp: New test.
2202
2203 2012-11-12  Tom Tromey  <tromey@redhat.com>
2204
2205         * gdb.base/completion.exp: Update for "info type-printers".
2206         * gdb.python/py-typeprint.cc: New file.
2207         * gdb.python/py-typeprint.exp: New file.
2208         * gdb.python/py-typeprint.py: New file.
2209
2210 2012-11-12  Tom Tromey  <tromey@redhat.com>
2211
2212         * gdb.base/call-sc.exp: Use "ptype/r".
2213         * gdb.base/volatile.exp: Don't expect "int".
2214         * gdb.cp/ptype-flags.cc: New file.
2215         * gdb.cp/ptype-flags.exp: New file.
2216         * gdb.cp/templates.exp: Use ptype/r.
2217         (test_ptype_of_templates, test_template_typedef): Likewise.
2218         * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2219         argument.  Handle template names and template parameters.
2220         * gdb.mi/mi-var-cmd.exp: Accept "long".
2221         * gdb.mi/mi-var-child.exp: Accept "long".
2222         * gdb.mi/mi-var-display.exp: Accept "long".
2223         * gdb.mi/mi2-var-child.exp: Accept "long".
2224
2225 2012-11-12  Tom Tromey  <tromey@redhat.com>
2226
2227         * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2228         "ptype" from calls to cp_test_ptype_class.
2229         (test_enums): Likewise.
2230         * gdb.cp/derivation.exp: Remove "ptype" from calls to
2231         cp_test_ptype_class.
2232         * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2233         calls to cp_test_ptype_class.
2234         (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2235         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2236         from calls to cp_test_ptype_class.
2237         * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2238         command here.  Change "in_command" argument to "in_exp".
2239
2240 2012-11-10  Keith Seitz  <keiths@redhat.com>
2241
2242         PR gdb/14288
2243         * gdb.base/printcmds.c: Add invalid_XXX globals
2244         for repeated byte tests.
2245         * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2246         * gdb.base/wchar.c (main): Add and construct a wchar_t
2247         array with repeated characters.
2248         * gdb.base/wchar.exp: Add repeated character tests.
2249
2250 2012-11-09  Andrew Burgess  <aburgess@broadcom.com>
2251
2252         * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2253         disassembly output.
2254
2255 2012-11-09  Pedro Alves  <palves@redhat.com>
2256
2257         PR gdb/14306
2258
2259         * gdb.multi/multi-arch-exec.c: New file.
2260         * gdb.multi/multi-arch-exec.exp: New file.
2261
2262 2012-11-09  Yao Qi  <yao@codesourcery.com>
2263
2264         * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2265         (top level): Call it.
2266
2267 2012-11-09  Yao Qi  <yao@codesourcery.com>
2268
2269         * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2270         typo.
2271
2272 2012-11-09  Pedro Alves  <palves@redhat.com>
2273
2274         * gdb.multi/multi-arch.exp: New.
2275
2276 2012-11-08  Tom Tromey  <tromey@redhat.com>
2277
2278         * gdb.base/siginfo-obj.exp: Create core file.  Test siginfo from
2279         core files, if possible.
2280         * gdb.base/siginfo-thread.c: New file
2281         * gdb.base/siginfo-thread.exp: New file
2282
2283 2012-11-08  Tom Tromey  <tromey@redhat.com>
2284
2285         * gdb.base/comprdebug.exp: New file.
2286
2287 2012-11-06  Pedro Alves  <palves@redhat.com>
2288
2289         PR gdb/14810
2290
2291         * gdb.base/disabled-location.c: New file.
2292         * gdb.base/disabled-location.exp: New file.
2293
2294 2012-11-06  Tom Tromey  <tromey@redhat.com>
2295
2296         * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2297         * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2298         gdb_gcore_cmd.
2299         * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2300         * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2301         * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2302         * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2303         * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2304         * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2305         * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2306         * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2307         * lib/gdb.exp (gdb_gcore_cmd): New proc.
2308
2309 2012-11-05  Pedro Alves  <palves@redhat.com>
2310
2311         * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2312         procedure.
2313         (do_vfork_and_follow_child_tests_exec)
2314         (do_vfork_and_follow_child_tests_exit): Call it.
2315
2316 2012-11-05  Pedro Alves  <palves@redhat.com>
2317
2318         * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2319         fails.
2320
2321 2012-11-03  Yao Qi  <yao@codesourcery.com>
2322
2323         Fix PR gdb/14617.
2324         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2325         Remove setup_kfail, and update test.
2326
2327 2012-11-02  Tom Tromey  <tromey@redhat.com>
2328
2329         * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2330         test.
2331
2332 2012-11-02  Pedro Alves  <palves@redhat.com>
2333
2334         PR gdb/14766
2335
2336         * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2337         setup_kfail.
2338         (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2339         get registers".
2340
2341 2012-11-02  Pedro Alves  <palves@redhat.com>
2342
2343         * gdb.base/foll-vfork-exit.c: New file.
2344         * gdb.base/foll-vfork.exp (top level): New file-describing
2345         comment.
2346         (vfork_child_follow_to_exit): New procedure.
2347         (tcatch_vfork_then_child_follow): Rename as ...
2348         (tcatch_vfork_then_child_follow_exec): ... this.
2349         (tcatch_vfork_then_child_follow_exit): New procedure.
2350         (do_vfork_and_follow_parent_tests): New procedure, factored out
2351         from do_vfork_and_exec_tests.
2352         (do_vfork_and_follow_child_tests_exec): Ditto.
2353         (do_vfork_and_exec_tests): Delete.
2354         (do_vfork_and_follow_child_tests_exit): New procedure.
2355         (top level): Run tests with both the program that has the vfork
2356         child execing, and the program has the vfork child exiting.
2357
2358 2012-11-02  Pedro Alves  <palves@redhat.com>
2359
2360         * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2361         (check_vfork_catchpoints, vfork_parent_follow_through_step)
2362         (vfork_parent_follow_to_bp): Call it.
2363         (kill_child): Delete.
2364         (vfork_and_exec_child_follow_to_main_bp)
2365         (vfork_and_exec_child_follow_through_step): Call setup_gdb.  No
2366         longer call kill_child.
2367         (tcatch_vfork_then_parent_follow): Call setup_gdb.
2368         (do_vfork_and_exec_tests): Don't runto_main before calling each
2369         test procedure.
2370         (top level): Don't clean restart and set verbose before running
2371         each test procedure.
2372
2373 2012-11-02  Pedro Alves  <palves@redhat.com>
2374
2375         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2376         (vfork_parent_follow_to_bp)
2377         (vfork_and_exec_child_follow_to_main_bp)
2378         (vfork_and_exec_child_follow_through_step)
2379         (tcatch_vfork_then_parent_follow)
2380         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2381         Use with_test_prefix.
2382
2383 2012-11-02  Pedro Alves  <palves@redhat.com>
2384
2385         * gdb.base/foll-vfork.c: Add copyright header.
2386         * gdb.base/vforked-prog.c: Add copyright header.
2387
2388 2012-11-02  Pedro Alves  <palves@redhat.com>
2389
2390         * gdb.base/foll-vfork.exp
2391         (vfork_and_exec_child_follow_through_step): Don't skip on
2392         non-HP/UX targets.  Expect the next to only step one line on
2393         non-HP/UX targets, rather than stopping only after the exec.
2394
2395 2012-11-02  Pedro Alves  <palves@redhat.com>
2396
2397         Don't hard code line numbers.
2398
2399         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2400         Expect text from the sources instead of a line number.
2401         (vfork_parent_follow_to_bp)
2402         (vfork_and_exec_child_follow_to_main_bp)
2403         (vfork_and_exec_child_follow_through_step)
2404         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2405         Use gdb_get_line_number.
2406
2407 2012-11-02  Pedro Alves  <palves@redhat.com>
2408
2409         Modernize.
2410
2411         * gdb.base/foll-vfork.exp: Use standard_testfile and
2412         build_executable.  Pass descriptive string to untested.
2413         (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2414         (vfork_and_exec_child_follow_to_main_bp)
2415         (vfork_and_exec_child_follow_through_step)
2416         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2417         (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2418         of send_gdb/gdb_expect.
2419
2420         (kill_child): New procedure.
2421         (vfork_and_exec_child_follow_to_main_bp)
2422         (vfork_and_exec_child_follow_through_step): Use it.
2423
2424 2012-11-02  Yao Qi  <yao@codesourcery.com>
2425
2426         * gdb.base/setvar.exp: Test setting nested struct.
2427         * gdb.base/setvar.c (v_struct3): New.
2428
2429 2012-11-01  Doug Evans  <dje@google.com>
2430
2431         * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2432         changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2433         use them.
2434
2435 2012-10-31  Andrew Burgess  <aburgess@broadcom.com>
2436
2437         PR cli/14772
2438         * gdb.base/gnu_vector.c (union_with_vector_1)
2439         (struct_with_vector_1): Add new struct and union for testing
2440         ptype.
2441         * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2442         structs / unions containing vectors.
2443
2444 2012-10-25  Yao Qi  <yao@codesourcery.com>
2445
2446         * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2447         'setup_kfail' instead of 'setup_kfail_for_target'.
2448         * gdb.base/varargs.exp: Likewise.
2449         * lib/gdb.exp (setup_kfail_for_target): Remove.
2450
2451 2012-10-25  Mark Kettenis  <kettenis@openbsd.nfra.nl>
2452
2453         * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2454
2455 2012-10-25  Mark Kettenis  <kettenis@gnu.org>
2456
2457         * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2458
2459 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
2460
2461         * gdb.ada/set_wstr: New testcase.
2462
2463 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
2464
2465         * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2466
2467 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
2468
2469         * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2470
2471 2012-10-24  Mark Kettenis  <kettenis@gnu.org>
2472
2473         * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2474
2475 2012-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2476
2477         * gdb.base/callfuncs.exp (do_function_calls): Fix
2478         setup_kfail_for_target for -m32 mode.
2479
2480 2012-10-23  Mark Kettenis  <kettenis@gnu.org>
2481
2482         * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2483         are now fixed.
2484
2485 2012-10-23  Yao Qi  <yao@codesourcery.com>
2486
2487         * gdb.base/info-os.exp: Resume the inferior until it exits.
2488
2489 2012-10-18  Yufeng Zhang  <yufeng.zhang@arm.com>
2490
2491         * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2492         * gdb.base/print-file-var.exp: Likewise.
2493         * gdb.base/type-opaque.exp: Likewise.
2494
2495 2012-10-17  Yao Qi  <yao@codesourcery.com>
2496
2497         * gdb.mi/mi-memory-changed.exp: New.
2498
2499 2012-10-16  Yao Qi  <yao@codesourcery.com>
2500
2501         * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2502         returns true.
2503         Call gdb_load_shlibs.
2504         * gdb.reverse/solib-reverse.exp: Likewise.
2505
2506 2012-10-15  Keith Seitz  <keiths@redhat.com>
2507
2508         * lib/cp-support.exp (cp_test_ptype_class): Add support
2509         for class typedefs.
2510
2511         * gdb.cp/derivation.exp: Add tests for g_instance.
2512
2513 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2514
2515         Fix entry values resolving in inlined frames.
2516         * gdb.arch/amd64-entry-value-inline.S: New file.
2517         * gdb.arch/amd64-entry-value-inline.c: New file.
2518         * gdb.arch/amd64-entry-value-inline.exp: New file.
2519
2520 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2521             Doug Evans  <dje@google.com>
2522
2523         Fix recent gdb_breakpoint regression.
2524         * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2525         braces from the parameter.
2526         * gdb.java/jprint.exp: Likewise.
2527
2528 2012-10-15  Doug Evans  <dje@google.com>
2529
2530         * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2531
2532 2012-10-15  Yufeng Zhang  <yufeng.zhang@arm.com>
2533
2534         * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2535
2536 2012-10-15  Tom Tromey  <tromey@redhat.com>
2537
2538         * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2539
2540 2012-10-15  Tom Tromey  <tromey@redhat.com>
2541
2542         * gdb.python/py-symbol.exp: Test symbol destructor.
2543
2544 2012-10-14  Yao Qi  <yao@codesourcery.com>
2545
2546         * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2547         * gdb.mi/mi-cli.exp: New.
2548
2549         * gdb.mi/mi2-basics.exp: Remove.
2550         * gdb.mi/mi2-break.exp: Remove.
2551         * gdb.mi/mi2-console.exp: Remove.
2552         * gdb.mi/mi2-disassemble.exp: Remove.
2553         * gdb.mi/mi2-eval.exp: Remove.
2554         * gdb.mi/mi2-file.exp: Remove.
2555         * gdb.mi/mi2-hack-cli.exp: Remove.
2556         * gdb.mi/mi2-pthreads.exp: Remove.
2557         * gdb.mi/mi2-read-memory.exp: Remove.
2558         * gdb.mi/mi2-regs.exp: Remove.
2559         * gdb.mi/mi2-return.exp: Remove.
2560         * gdb.mi/mi2-simplerun.exp: Remove.
2561         * gdb.mi/mi2-stack.exp: Remove.
2562         * gdb.mi/mi2-stepi.exp: Remove.
2563         * gdb.mi/mi2-syn-frame.exp: Remove.
2564         * gdb.mi/mi2-until.exp: Remove.
2565         * gdb.mi/mi2-watch.exp: Remove.
2566         * gdb.mi/mi2-var-block.exp: Remove.
2567         * gdb.mi/mi2-var-cmd.exp: Remove.
2568         * gdb.mi/mi2-var-display.exp: Remove.
2569
2570 2012-10-12  Yao Qi  <yao@codesourcery.com>
2571
2572         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2573         trail '.*' on matching patterns.
2574
2575 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2576
2577         * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2578         * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2579         * gdb.arch/i386-disp-step.exp: Likewise.
2580         * gdb.arch/i386-gnu-cfi.exp: Likewise.
2581         * gdb.arch/i386-prologue.exp: Likewise.
2582         * gdb.arch/i386-size-overlap.exp: Likewise.
2583         * gdb.arch/i386-size.exp: Likewise.
2584         * gdb.arch/i386-unwind.exp: Likewise.
2585
2586 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2587
2588         * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2589         * gdb.arch/i386-word.exp: Likewise.
2590
2591 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2592
2593         * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2594         is_ilp32_target to set nr_regs.
2595         * gdb.arch/i386-sse.exp: Likewise.
2596
2597 2012-10-11  Doug Evans  <dje@google.com>
2598
2599         PR breakpoints/14643.
2600         * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2601         * gdb.linespec/thread.c: New file.
2602         * gdb.linespec/thread.exp: New file.
2603
2604         * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2605         Recognize "message" -> print pass and fail.  Add eof case.
2606         (runto): Recognize message, no-message.  Print pass/fail if requested,
2607         with same treatment as gdb_breakpoint.
2608         (runto_main): Pass no-message to runto.
2609         (gdb_internal_error_resync): Add log message.
2610         (gdb_file_cmd): Tweak internal error fail text for consistency.
2611
2612 2012-10-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2613
2614         Fix crash during stepping on ppc32.
2615         * gdb.base/step-symless.c: New file.
2616         * gdb.base/step-symless.exp: New file.
2617
2618 2012-10-03  Doug Evans  <dje@google.com>
2619
2620         PR symtab/14601
2621         * gdb.cp/using-crash.exp: New file.
2622         * gdb.cp/using-crash.cc: New file.
2623
2624 2012-10-02  Doug Evans  <dje@google.com>
2625
2626         * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2627         more consistent.
2628         (runto,gdb_debug_format): Ditto.
2629         (gdb_file_cmd): Watch for eof in nested gdb_expect.
2630         Clean up logging and error messages.
2631
2632 2012-10-01  Andrew Burgess  <aburgess@broadcom.com>
2633
2634         Test find command on unmapped memory.
2635         * gdb.base/find-unmapped.c: New file.
2636         * gdb.base/find-unmapped.exp: New file.
2637
2638 2012-09-29  Yao Qi  <yao@codesourcery.com>
2639
2640         * gdb.trace/mi-tracepoint-changed.exp: New.
2641         * gdb.mi/mi-breakpoint-changed.exp: New.
2642         * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2643         * gdb.mi/pendshr2.c: New.
2644
2645 2012-09-28  Yao Qi  <yao@codesourcery.com>
2646
2647         * gdb.mi/pr11022.exp: New.
2648         * gdb.mi/pr11022.c: New.  Copied from gdb.base/.
2649
2650 2012-09-27  Tom Tromey  <tromey@redhat.com>
2651
2652         * gdb.cp/derivation.exp: Add regression test.
2653         * gdb.cp/derivation.cc (class V_base, class V_inter, class
2654         V_derived): New.
2655         (vderived): New global.
2656
2657 2012-09-26  Tom Tromey  <tromey@redhat.com>
2658
2659         * gdb.dwarf2/dw2-common-block.S: New file.
2660         * gdb.dwarf2/dw2-common-block.exp: New file.
2661
2662 2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2663
2664         * gdb.fortran/common-block.exp: New file.
2665         * gdb.fortran/common-block.f90: New file.
2666
2667 2012-09-26  Andrew Burgess  <aburgess@broadcom.com>
2668
2669         * gdb.base/duplicate-bp.c: New file.
2670         * gdb.base/duplicate-bp.exp: New file.
2671
2672 2012-09-26  Yao Qi  <yao@codesourcery.com>
2673
2674         * gdb.mi/mi2-cli.exp:  Avoid line number in test summary.
2675
2676         Revert:
2677         2012-09-21  Yao Qi  <yao@codesourcery.com>
2678
2679         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2680
2681 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2682
2683         * gdb.base/longest-types.c: New test case.
2684         * gdb.base/longest-types.exp: New test case.
2685
2686 2012-09-25  Yao Qi  <yao@codesourcery.com>
2687
2688         * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2689
2690 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2691
2692         Fix internal error on canonicalization of clang types.
2693         * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2694         * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2695         * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2696
2697 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2698
2699         Fix disassemble without parameters in tailcall frame.
2700         * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2701
2702 2012-09-21  Andrew Burgess  <aburgess@broadcom.com>
2703
2704         * gdb.dwarf2/dw2-op-out-param.S: New file.
2705         * gdb.dwarf2/dw2-op-out-param.exp: New file.
2706
2707 2012-09-21  Yao Qi  <yao@codesourcery.com>
2708
2709         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2710
2711 2012-09-21  Yao Qi  <yao@codesourcery.com>
2712
2713         * gdb.mi/mi-cli.exp: Remove.
2714         * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2715
2716 2012-09-21  Yao Qi  <yao@codesourcery.com>
2717
2718         * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2719         "=record-started" notification.
2720
2721 2012-09-21  Yao Qi  <yao@codesourcery.com>
2722
2723         * gdb.mi/mi-record-changed.exp: New.
2724         * gdb.mi/mi-reverse.exp: Adjust expected output.
2725
2726 2012-09-20  Tom Tromey  <tromey@redhat.com>
2727
2728         * gdb.python/python.exp: Test atexit.register.
2729
2730 2012-09-20  Doug Evans  <dje@google.com>
2731
2732         * boards/dwarf4-gdb-index.exp: New file.
2733
2734         * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2735         while running the tests.
2736
2737 2012-09-18  Joel Brobecker  <brobecker@adacore.com>
2738
2739         * gdb.ada/bp_reset: New testcase.
2740
2741 2012-09-18  Yao Qi  <yao@codesourcery.com>
2742
2743         * gdb.trace/mi-tsv-changed.exp: New.
2744
2745 2012-09-18  Yao Qi  <yao@codesourcery.com>
2746
2747         * gdb.trace/mi-traceframe-changed.exp: New.
2748
2749 2012-09-17  Yao Qi  <yao@codesourcery.com>
2750
2751         * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2752         when it is less than 0.
2753
2754 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2755
2756         PR 14119
2757         * gdb.arch/amd64-tailcall-ret.S: New file.
2758         * gdb.arch/amd64-tailcall-ret.c: New file.
2759         * gdb.arch/amd64-tailcall-ret.exp: New file.
2760         * gdb.reverse/amd64-tailcall-reverse.S: New file.
2761         * gdb.reverse/amd64-tailcall-reverse.c: New file.
2762         * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2763
2764 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2765
2766         PR 14548
2767         * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2768         * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2769         * gdb.reverse/singlejmp-reverse.S: New file.
2770         * gdb.reverse/singlejmp-reverse.c: New file.
2771         * gdb.reverse/singlejmp-reverse.exp: New file.
2772
2773 2012-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2774
2775         Fix compatibility with old GCC (~4.1).
2776         * gdb.cp/converts.cc (my_enum_var): New variable.
2777
2778 2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
2779
2780         * gdb.xml/tdesc-regs.exp: Update expected output for new
2781         vector_size syntax of vector types.
2782
2783 2012-09-13  Khoo Yit Phang  <khooyp@cs.umd.edu>
2784
2785         Refactor Python "gdb" module into a proper Python package, by
2786         introducing a new "_gdb" module for code implemented in C, and
2787         using reload/__import__ instead of exec.
2788         * gdb.python/python.exp (Test stderr location): Update module
2789         location of GDB-specific sys.stderr.
2790         (Test stdout location): Ditto for sys.stdout.
2791
2792 2012-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2793
2794         * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2795
2796 2012-09-12  Keith Seitz  <keiths@redhat.com>
2797
2798         * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2799         conversion statement.
2800
2801 2012-09-12  Doug Evans  <dje@google.com>
2802
2803         * gdb.base/help.exp: Remove testing of individual command help text,
2804         too much of a maintenance burden.  Instead, test the functionality
2805         of "help" itself.
2806
2807 2012-09-11  Doug Evans  <dje@google.com>
2808
2809         * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2810         breakpoint.
2811
2812         * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2813         * gdb.dwarf2/fission-reread.S: Ditto.
2814         * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2815         * gdb.dwarf2/fission-reread.exp: Ditto.
2816
2817 2012-09-11  Andrew Burgess  <aburgess@broadcom.com>
2818
2819         * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2820
2821 2012-09-10  Joel Brobecker  <brobecker@adacore.com>
2822
2823         * gdb.ada/optim_drec: New testcase.
2824
2825 2012-09-10  Doug Evans  <dje@google.com>
2826
2827         * boards/fission.exp: Explicitly mark "board" as not remote.
2828
2829 2012-09-10  Keith Seitz  <keiths@redhat.com>
2830
2831         PR gdb/13483
2832         * gdb.cp/converts.cc (A::A): Add ctor.
2833         (A::member_): Add member.
2834         (enum my_enum): New enumeration.
2835         (main): Add calls to foo1_7 with various
2836         permitted arguments.
2837         * gdb.cp/converts.exp: Add tests for boolean
2838         conversions permitted by the standard.
2839
2840 2012-09-08  Khoo Yit Phang  <khooyp@cs.umd.edu>
2841
2842         Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2843         avoid spurious results due to ~/.gdbinit.
2844         * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2845         $INTERNAL_GDBFLAGS in run command.
2846         * gdb.gdb/observer.exp (setup_test): Ditto.
2847         * gdb.gdb/selftest.exp (test_with_self): Ditto.
2848         * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2849
2850 2012-09-06  Doug Evans  <dje@google.com>
2851
2852         * boards/fission.exp: New file.
2853
2854         * gdb.python/py-value.exp: Use clean_restart.
2855
2856 2012-09-05  Doug Evans  <dje@google.com>
2857
2858         * gdb.base/info-macros.c: Fix whitespace.
2859
2860 2012-08-28  Pedro Alves  <palves@redhat.com>
2861
2862         PR gdb/14428
2863
2864         * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2865
2866 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2867
2868         * gdb.base/break-caller-line.c: New file.
2869         * gdb.base/break-caller-line.exp: New file.
2870
2871 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2872
2873         * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2874         * gdb.arch/i386-cfi-notcurrent.S: New file.
2875         * gdb.arch/i386-cfi-notcurrent.exp: New file.
2876
2877 2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
2878             Yao Qi <yao@codesourcery.com>
2879             Pedro Alves <palves@redhat.com>
2880
2881         * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2882         New procedures.
2883         (top level): Add overlap checking tests.
2884
2885 2012-08-24  Tom Tromey  <tromey@redhat.com>
2886
2887         * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2888         gdb_test_multiple fails for other reasons.
2889
2890 2012-08-24  Yao Qi  <yao@codesourcery.com>
2891
2892         * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2893
2894 2012-08-23  Pedro Alves  <palves@redhat.com>
2895
2896         * gdb.base/help.exp: Adjust to "handle" help text change.
2897
2898 2012-08-23  Yao Qi  <yao@codesourcery.com>
2899
2900         * gdb.trace/disconnected-tracing.c (start, end): New.
2901         (main): Call start and end.
2902         * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2903         existing tests into this proc.
2904         (disconnected_tfind): New.
2905
2906 2012-08-23  Yao Qi  <yao@codesourcery.com>
2907
2908         * boards/native-gdbserver.exp (${board}_upload): New.
2909         * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2910         * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2911         Execute tfile on remote target.
2912         Copy trace file from target to host.
2913
2914 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
2915
2916         * gdb.arch/thumb-bx-pc.S: New file.
2917         * gdb.arch/thumb-bx-pc.exp: New file.
2918
2919 2012-08-22  Tom Tromey  <tromey@redhat.com>
2920
2921         * gdb.base/maint.exp: Update.
2922
2923 2012-08-22  Tom Tromey  <tromey@redhat.com>
2924
2925         * lib/gdb.exp (skip_unwinder_tests): New proc.
2926         * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2927         * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2928
2929 2012-08-21  Tom Tromey  <tromey@redhat.com>
2930
2931         * gdb.hp/gdb.aCC/exception.exp: Remove.
2932
2933 012-08-19  Andrew Pinski  <apinski@cavium.com>
2934
2935         * gdb.arch/mips-octeon-bbit.c: New file.
2936         * gdb.arch/mips-octeon-bbit.exp: New Test.
2937
2938 012-08-19  Keith Seitz  <keiths@redhat.com>
2939
2940         PR c++/14365
2941         * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2942         * gdb.dwarf2/dw2-anon-mptr.S: New file.
2943
2944 2012-08-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2945
2946         * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2947         verbose -log by more specific untested call.
2948
2949 2012-08-18  Yao Qi  <yao@codesourcery.com>
2950
2951         * gdb.trace/tfind.exp: Move tests on various command help before
2952         checking target supports trace.
2953         Fix the expected output of 'help tfind end'.
2954
2955 2012-08-17  Keith Seitz  <keiths@redhat.com>
2956
2957         PR c++/13356
2958         * gdb.base/default.exp: Update all "check type" tests.
2959         * gdb.base/help.exp: Likewise.
2960         * gdb.base/setshow.exp: Likewise.
2961         * gdb.cp/converts.cc (foo1_type_check): New function.
2962         (foo2_type_check): New function.
2963         (foo3_type_check): New function.
2964         (main): Call new functions.
2965         * converts.exp: Add tests for integer-to-pointer conversions
2966         with/without strict type-checking.
2967
2968 2012-08-16  Mike Frysinger  <vapier@gentoo.org>
2969
2970         * gdb.base/help.exp: Update expected output.
2971
2972 2012-08-16  Joel Brobecker  <brobecker@adacore.com>
2973
2974         * gdb.ada/rdv_wait: New testcase.
2975
2976 2012-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2977
2978         * gdb.base/attach-twice.exp: Remove excessive ps exec.
2979
2980 2012-08-13  Doug Evans  <dje@google.com>
2981
2982         * gdb.base/help.exp: Update expected output.
2983         * gdb.base/default.exp: Update expected output of "show convenience".
2984
2985 2012-08-10  Doug Evans  <dje@google.com>
2986
2987         * gdb.python/py-strfns.c: New file.
2988         * gdb.python/py-strfns.exp: New file.
2989         * gdb.python/py-type.exp (test_fields): Add vector tests.
2990
2991 2012-08-10  Mike Frysinger  <vapier@gentoo.org>
2992
2993         PR cli/10436:
2994         * gdb.base/completion.exp: Add tests for handle completion.
2995
2996 2012-08-09  Yao Qi  <yao@codesourcery.com>
2997
2998         * gdb.mi/mi-cmd-param-changed.exp: New.
2999         * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3000         * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3001         * gdb.mi/mi2-prompt.exp: Likewise.
3002
3003 2012-08-08  Doug Evans  <dje@google.com>
3004
3005         * gdb.base/debug-expr.c: New file.
3006         * gdb.base/debug-expr.exp: New file.
3007         * gdb.base/exprs.exp: Test {type} casts.
3008         * gdb.cp/debug-expr.exp: New file.
3009
3010 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3011
3012         * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3013         global variable loop, not a 'break'.  Add loop count limit to 100.
3014         Add new fail case for terminated vgdb.
3015
3016 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3017             Jean-Marc Saffroy  <saffroy@gmail.com>
3018
3019         PR 11804
3020         * gdb.base/gcore-relro.exp: New file.
3021         * gdb.base/gcore-relro-main.c: New file.
3022         * gdb.base/gcore-relro-lib.c: New file.
3023
3024 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3025
3026         Do not false FAIL with old GCCs.
3027         * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3028         GCC < 4.5 in $no_hw mode.
3029
3030 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3031
3032         * gdb.base/default.exp (cd): Accept new directory with no arguments.
3033
3034 2012-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3035
3036         * gdb.base/list.exp (test_only_end): New function.
3037         Call it.
3038
3039 2012-08-06  Tom Tromey  <tromey@redhat.com>
3040
3041         * gdb.python/py-mi.exp: Add test for printer whose children
3042         are a list.
3043         * gdb.python/py-prettyprint.c (struct children_as_list): New.
3044         (main): New variable children_as_list.
3045         * gdb.python/py-prettyprint.py (class pp_children_as_list):
3046         New.
3047         (register_pretty_printers): Register new printer.
3048
3049 2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3050
3051         * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3052         symbols. Abort if vgdb remote connection is closed.
3053
3054 2012-08-02  Doug Evans  <dje@google.com>
3055
3056         * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3057
3058 2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3059
3060         * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3061         s390x, PowerPC 64 and m68k-linux.
3062
3063 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
3064
3065         * gdb.base/annota1.exp: Accept no frames-invalid notification
3066         when starting up the program.
3067         * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3068         show a symbolic value as well.
3069         * gdb.server/server-exec-info.exp: Skip test when skipping
3070         gdbserver test and/or when skipping shared library tests.
3071         * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3072         avoid name conflicts with other tests.
3073
3074 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
3075
3076         * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3077         Fix wrong output on big-endian systems.
3078         * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3079         4-byte pointer types on 64-bit s390x.
3080
3081 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
3082
3083         * gdb.base/watchpoint.c (func2): Initialize local_a.  Add
3084         marker comment at the beginning (after intialization).
3085         * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3086         breakpoint on marker comment instead of function begin.
3087         (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3088         PowerPC.
3089         (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3090         or 64-bit PowerPC.
3091         (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3092         gdb,no_hardware_watchpoints flag is set.
3093         (initialize): Remove now redundant can-use-hw-watchpoints change.
3094
3095 2012-08-02  Yao Qi  <yao@codesourcery.com>
3096             Pedro Alves  <palves@redhat.com>
3097
3098         * boards/local-remote-host.exp: New.
3099
3100 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
3101
3102         * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3103         * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3104         * gdb.base/print-file-var.exp: Likewise.
3105         * gdb.server/solib-list.exp: Skip on remote targets.
3106
3107 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
3108
3109         * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3110         watchpoints on ARM.  When expecting software watchpoints, tolerate
3111         (remote) targets that report unsupported hardware watchpoint only
3112         at continue time.
3113         (test_wide_location_2): Likewise.
3114
3115 2012-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3116
3117         * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3118         valgrind versions.
3119
3120 2012-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
3121
3122         * gdb.base/valgrind-infcall.c: New file.
3123         * gdb.base/valgrind-infcall.exp: New file.
3124
3125         * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3126
3127 2012-07-30  Keith Seitz  <keiths@redhat.com>
3128
3129         * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3130         linespecs.
3131
3132 2012-07-30  Doug Evans  <dje@google.com>
3133
3134         * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3135         * gdb.dwarf2/pr13961.S: Ditto.
3136
3137         * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3138
3139 2012-07-30  Andrew Burgess  <aburgess@broadcom.com>
3140
3141         * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3142         change its format immediately after reloading the binary.
3143
3144 2012-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3145
3146         Fix testsuite regression after --use-deprecated-index-sections removal.
3147         * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3148         string.
3149         * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3150
3151 2012-07-27  Yao Qi  <yao@codesourcery.com>
3152
3153         KFAIL for PR remote/14161.
3154         * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3155         Cleanup socket files.
3156         (strace_info_marker): Detach inferior.
3157
3158 2012-07-26  Tom Tromey  <tromey@redhat.com>
3159
3160         * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3161
3162 2012-07-26  Markus Metzger  <markus.t.metzger@intel.com>
3163
3164         * gdb.python/py-inferior.c (thread): New function.
3165         (check_threads): New function.
3166         (test_threads): New function.
3167         * gdb.python/py-inferior.exp: Added test.
3168         Replaced runto with continue to breakpoint.
3169
3170 2012-07-26  Tom Tromey  <tromey@redhat.com>
3171
3172         * lib/ada.exp (standard_ada_testfile): New proc.
3173         * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3174         * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3175         * gdb.ada/array_return.exp: Use standard_ada_testfile.
3176         * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3177         * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3178         * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3179         * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3180         * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3181         * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3182         * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3183         * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3184         * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3185         * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3186         * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3187         * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3188         * gdb.ada/char_param.exp: Use standard_ada_testfile.
3189         * gdb.ada/complete.exp: Use standard_ada_testfile.
3190         * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3191         standard_output_file.
3192         * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3193         * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3194         * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3195         standard_output_file.
3196         * gdb.ada/exprs.exp: Use standard_ada_testfile.
3197         * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3198         * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3199         * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3200         * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3201         * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3202         * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3203         * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3204         * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3205         * gdb.ada/homonym.exp: Use standard_ada_testfile.
3206         * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3207         * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3208         * gdb.ada/interface.exp: Use standard_ada_testfile.
3209         * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3210         standard_output_file
3211         * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3212         * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3213         * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3214         * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3215         * gdb.ada/nested.exp: Use standard_ada_testfile.
3216         * gdb.ada/null_array.exp: Use standard_ada_testfile.
3217         * gdb.ada/null_record.exp: Use standard_ada_testfile.
3218         * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3219         * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3220         * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3221         * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3222         * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3223         * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3224         * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3225         * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3226         * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3227         * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3228         * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3229         * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3230         * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3231         * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3232         * gdb.ada/start.exp: Use standard_ada_testfile.
3233         * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3234         * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3235         * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3236         * gdb.ada/tagged.exp: Use standard_ada_testfile.
3237         * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3238         * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3239         * gdb.ada/tasks.exp: Use standard_ada_testfile.
3240         * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3241         * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3242         * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3243         * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3244         * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3245         * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3246         * gdb.ada/widewide.exp: Use standard_ada_testfile.
3247
3248 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3249
3250         Fix testsuite regression after --use-deprecated-index-sections removal.
3251         * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3252
3253 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3254
3255         Fix compatibility with Tcl before 7.5.
3256         * lib/future.exp (lreverse): New function if it does not exist.
3257
3258 2012-07-25  Marc Khouzam  <marc.khouzam@ericsson.com>
3259
3260         * gdb.mi/mi-pending.c: New method to set a second pending
3261         breakpoint.
3262         * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3263         condition.
3264
3265 2012-07-20  Pedro Alves  <palves@redhat.com>
3266
3267         PR threads/11692
3268         PR gdb/12203
3269
3270         * gdb.threads/create-fail.c: New file.
3271         * gdb.threads/create-fail.exp: New file.
3272
3273 2012-07-19  Pedro Alves  <palves@redhat.com>
3274
3275         * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3276         * config/vx.exp (gdb_start): Likewise.
3277         * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3278         * gdb.base/setvar.exp (test_set): Likewise.
3279         * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3280         * gdb.reverse/sigall-precsave.exp: Likewise.
3281         * gdb.reverse/sigall-reverse.exp: Likewise.
3282
3283 2012-07-19  Pedro Alves  <palves@redhat.com>
3284
3285         * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3286         handler before recording.
3287
3288 2012-07-19  Tom Tromey  <tromey@redhat.com>
3289
3290         * gdb.cp/casts.exp: Add tests for typeof and decltype.
3291         * gdb.cp/casts.cc (decltype): New function.
3292         (main): Use it.
3293
3294 2012-07-19  Pedro Alves  <palves@redhat.com>
3295
3296         * gdb.base/sigall.exp (signals): New list.
3297         <top level>: Loop over signals in the $signals list instead of
3298         calling a test function once per signal.
3299         * gdb.reverse/sigall-precsave.exp (signals): New list.
3300         <top level>: Loop over signals in the $signals list instead of
3301         calling a test function once per signal.
3302         * gdb.reverse/sigall-reverse.exp (signals): New list.
3303         <top level>: Loop over signals in the $signals list instead of
3304         calling a test function once per signal.
3305
3306 2012-07-19  Yao Qi  <yao@codesourcery.com>
3307
3308         * gdb.base/setshow.exp: Test 'set args ~'.
3309
3310 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3311
3312         * gdb.base/store.exp (check_set): Import gdb_prompt.
3313         (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3314         (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3315
3316 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3317
3318         PR 11914
3319         * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3320         (main): Call eval_sub.
3321         * gdb.python/py-prettyprint.exp:
3322         (python execfile ('py-prettyprint.py')): Move it earlier.
3323         New breakpoint for eval-break.
3324         (continue to breakpoint: eval-break, info locals): New test.
3325         (python execfile ('py-prettyprint.py')): Move it from here.
3326         * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3327         (register_pretty_printers): Register pp_eval_type.
3328
3329 2012-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3330
3331         Fix a testcase regression by me.
3332         * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3333         DW_FORM_data4.
3334
3335 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3336             Doug Evans  <dje@google.com>
3337
3338         * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3339         * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3340
3341 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3342
3343         Fix gdbserver run regression.
3344         * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3345
3346 2012-07-12  Tom Tromey  <tromey@redhat.com>
3347
3348         * lib/gdb.exp (standard_testfile): Don't declare objdir.
3349         (clean_restart): Likewise.
3350         (core_find): Use standard_output_file.
3351
3352 2012-07-12  Tom Tromey  <tromey@redhat.com>
3353
3354         * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3355         * gdb.dwarf2/dw2-anonymous-func.exp: Use
3356         prepare_for_testing_full.
3357         * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3358         * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3359         * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3360         * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3361         * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3362         * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3363         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3364         prepare_for_testing_full.
3365         * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3366         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3367         prepare_for_testing_full.
3368         * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3369         * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3370         * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3371
3372 2012-07-12  Tom Tromey  <tromey@redhat.com>
3373
3374         * lib/gdb.exp (build_executable_from_specs): New proc, from
3375         build_executable.
3376         (build_executable): Use it.
3377         (prepare_for_testing_full): New proc.
3378
3379 2012-07-11  Tom Tromey  <tromey@redhat.com>
3380
3381         * gdb.reverse/break-precsave.exp: Use standard_output_file.
3382         * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3383         * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3384         * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3385         * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3386         * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3387         * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3388         * gdb.reverse/step-precsave.exp: Use standard_output_file.
3389         * gdb.reverse/until-precsave.exp: Use standard_output_file.
3390         * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3391
3392 2012-07-10  Tom Tromey  <tromey@redhat.com>
3393
3394         * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3395         standard_output_file.
3396         * gdb.mi/gdb2549.exp: Use standard_testfile.
3397         * gdb.mi/gdb669.exp: Use standard_testfile.
3398         * gdb.mi/gdb701.exp: Use standard_testfile.
3399         * gdb.mi/gdb792.exp: Use standard_testfile.
3400         * gdb.mi/mi-async.exp: Use standard_testfile.
3401         * gdb.mi/mi-basics.exp: Use standard_testfile.
3402         * gdb.mi/mi-break.exp: Use standard_testfile.
3403         * gdb.mi/mi-cli.exp: Use standard_testfile.
3404         * gdb.mi/mi-console.exp: Use standard_testfile.
3405         * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3406         * gdb.mi/mi-eval.exp: Use standard_testfile.
3407         * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3408         * gdb.mi/mi-file.exp: Use standard_testfile.
3409         * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3410         * gdb.mi/mi-logging.exp: Use standard_testfile.
3411         * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3412         * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3413         * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3414         * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3415         * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3416         * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3417         * gdb.mi/mi-pending.exp: Use standard_testfile,
3418         standard_output_file.
3419         * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3420         * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3421         * gdb.mi/mi-regs.exp: Use standard_testfile.
3422         * gdb.mi/mi-return.exp: Use standard_testfile.
3423         * gdb.mi/mi-reverse.exp: Use standard_testfile.
3424         * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3425         * gdb.mi/mi-solib.exp: Use standard_testfile,
3426         standard_output_file.
3427         * gdb.mi/mi-stack.exp: Use standard_testfile.
3428         * gdb.mi/mi-stepi.exp: Use standard_testfile.
3429         * gdb.mi/mi-stepn.exp: Use standard_testfile.
3430         * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3431         * gdb.mi/mi-until.exp: Use standard_testfile.
3432         * gdb.mi/mi-var-block.exp: Use standard_testfile.
3433         * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3434         * gdb.mi/mi-var-child.exp: Use standard_testfile.
3435         * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3436         * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3437         * gdb.mi/mi-var-display.exp: Use standard_testfile.
3438         * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3439         standard_output_file.
3440         * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3441         * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3442         * gdb.mi/mi-watch.exp: Use standard_testfile.
3443         * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3444         * gdb.mi/mi2-basics.exp: Use standard_testfile.
3445         * gdb.mi/mi2-break.exp: Use standard_testfile.
3446         * gdb.mi/mi2-cli.exp: Use standard_testfile.
3447         * gdb.mi/mi2-console.exp: Use standard_testfile.
3448         * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3449         * gdb.mi/mi2-eval.exp: Use standard_testfile.
3450         * gdb.mi/mi2-file.exp: Use standard_testfile.
3451         * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3452         * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3453         * gdb.mi/mi2-regs.exp: Use standard_testfile.
3454         * gdb.mi/mi2-return.exp: Use standard_testfile.
3455         * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3456         * gdb.mi/mi2-stack.exp: Use standard_testfile.
3457         * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3458         * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3459         * gdb.mi/mi2-until.exp: Use standard_testfile.
3460         * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3461         * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3462         * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3463         * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3464         * gdb.mi/mi2-watch.exp: Use standard_testfile.
3465
3466 2012-07-10  Tom Tromey  <tromey@redhat.com>
3467
3468         * gdb.cp/abstract-origin.exp: Use standard_testfile.
3469         * gdb.cp/ambiguous.exp: Use standard_testfile,
3470         prepare_for_testing.
3471         * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3472         * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3473         * gdb.cp/anon-ns.exp: Use standard_testfile.
3474         * gdb.cp/anon-struct.exp: Use standard_testfile.
3475         * gdb.cp/anon-union.exp: Use standard_testfile,
3476         prepare_for_testing.
3477         * gdb.cp/arg-reference.exp: Use standard_testfile,
3478         prepare_for_testing.
3479         * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3480         * gdb.cp/breakpoint.exp: Use standard_testfile,
3481         prepare_for_testing.
3482         * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3483         * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3484         standard_output_file.
3485         * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3486         * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3487         * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3488         (test_static_members): Update.
3489         * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3490         * gdb.cp/converts.exp: Use standard_testfile.
3491         * gdb.cp/cp-relocate.exp: Use standard_testfile.
3492         * gdb.cp/cpcompletion.exp: Use standard_testfile,
3493         prepare_for_testing.
3494         * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3495         * gdb.cp/cplabel.exp: Use standard_testfile.
3496         * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3497         prepare_for_testing.
3498         * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3499         * gdb.cp/derivation.exp: Use standard_testfile,
3500         prepare_for_testing.
3501         * gdb.cp/destrprint.exp: Use standard_testfile.
3502         * gdb.cp/dispcxx.exp: Use standard_testfile.
3503         * gdb.cp/exception.exp: Use standard_testfile,
3504         prepare_for_testing.
3505         * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3506         * gdb.cp/extern-c.exp: Use standard_testfile,
3507         prepare_for_testing.
3508         * gdb.cp/formatted-ref.exp: Use standard_testfile,
3509         prepare_for_testing.
3510         * gdb.cp/fpointer.exp: Use standard_testfile.
3511         * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3512         * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3513         standard_output_file.
3514         * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3515         * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3516         * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3517         standard_output_file.
3518         * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3519         (do_tests): Update.
3520         * gdb.cp/koenig.exp: Use standard_testfile.
3521         * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3522         * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3523         * gdb.cp/m-static.exp: Use standard_testfile,
3524         prepare_for_testing.
3525         * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3526         * gdb.cp/mb-inline.exp: Use standard_testfile,
3527         prepare_for_testing.
3528         * gdb.cp/mb-templates.exp: Use standard_testfile,
3529         prepare_for_testing.
3530         * gdb.cp/member-ptr.exp: Use standard_testfile,
3531         prepare_for_testing.
3532         * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3533         * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3534         * gdb.cp/method2.exp: Use standard_testfile.
3535         * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3536         standard_output_file.
3537         * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3538         (do_tests): Update.
3539         * gdb.cp/namespace-enum.exp: Use standard_testfile,
3540         prepare_for_testing.
3541         * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3542         prepare_for_testing.
3543         * gdb.cp/namespace.exp: Use standard_testfile,
3544         prepare_for_testing.
3545         * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3546         * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3547         * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3548         * gdb.cp/nsimport.exp: Use standard_testfile,
3549         prepare_for_testing.
3550         * gdb.cp/nsnested.exp: Use standard_testfile.
3551         * gdb.cp/nsnoimports.exp: Use standard_testfile.
3552         * gdb.cp/nsrecurs.exp: Use standard_testfile,
3553         prepare_for_testing.
3554         * gdb.cp/nsstress.exp: Use standard_testfile,
3555         prepare_for_testing.
3556         * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3557         * gdb.cp/operator.exp: Use standard_testfile.
3558         * gdb.cp/oranking.exp: Use standard_testfile.
3559         * gdb.cp/overload-const.exp: Use standard_testfile.
3560         * gdb.cp/overload.exp: Use standard_testfile,
3561         prepare_for_testing.
3562         * gdb.cp/ovldbreak.exp: Use standard_testfile.
3563         * gdb.cp/ovsrch.exp: Use standard_testfile.
3564         * gdb.cp/paren-type.exp: Use standard_testfile.
3565         * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3566         prepare_for_testing.
3567         * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3568         * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3569         * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3570         * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3571         * gdb.cp/pr10728.exp: Use standard_testfile,
3572         standard_output_file.
3573         * gdb.cp/pr12028.exp: Use standard_testfile.
3574         * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3575         * gdb.cp/pr9167.exp: Use standard_testfile.
3576         * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3577         * gdb.cp/printmethod.exp: Use standard_testfile,
3578         prepare_for_testing.
3579         * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3580         * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3581         * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3582         * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3583         standard_output_file.
3584         * gdb.cp/readnow-language.exp: Use standard_testfile.
3585         * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3586         (gdb_start_again): Use clean_restart.
3587         * gdb.cp/ref-types.exp: Use standard_testfile,
3588         prepare_for_testing.
3589         * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3590         * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3591         * gdb.cp/smartp.exp: Use standard_testfile.
3592         * gdb.cp/static-method.exp: Use standard_testfile.
3593         * gdb.cp/static-print-quit.exp: Use standard_testfile.
3594         * gdb.cp/temargs.exp: Use standard_testfile.
3595         * gdb.cp/templates.exp: Use standard_testfile,
3596         prepare_for_testing.
3597         (do_tests): Update.
3598         * gdb.cp/try_catch.exp: Use standard_testfile,
3599         prepare_for_testing.
3600         * gdb.cp/typedef-operator.exp: Use standard_testfile.
3601         * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3602         * gdb.cp/virtbase.exp: Use standard_testfile,
3603         prepare_for_testing.
3604         * gdb.cp/virtfunc.exp: Use standard_testfile,
3605         prepare_for_testing.
3606         (do_tests): Update.
3607         * gdb.cp/virtfunc2.exp: Use standard_testfile,
3608         prepare_for_testing.
3609
3610 2012-07-10  Tom Tromey  <tromey@redhat.com>
3611
3612         * lib/gdb.exp (standard_testfile): Unset output variables from
3613         earlier invocations.
3614
3615 2012-07-10  Yao Qi  <yao@codesourcery.com>
3616
3617         * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3618         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3619         * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3620         * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3621         * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3622         * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3623         * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3624         * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3625         * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3626         * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3627         * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3628         * gdb.mi/mi-var-display.exp: Likewise.
3629         * gdb.mi/mi-var-invalidate.exp: Likewise.
3630         * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3631         * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3632         * gdb.mi/mi2-console.exp: Likewise.
3633         * gdb.mi/mi2-disassemble.exp: Likewise.
3634         * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3635         * gdb.mi/mi2-read-memory.exp: Likewise.
3636         * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3637         * gdb.mi/mi2-simplerun.exp: Likewise.
3638         * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3639         * gdb.mi/mi2-syn-frame.exp: Likewise.
3640         * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3641         * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3642         * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3643
3644 2012-07-09  Tom Tromey  <tromey@redhat.com>
3645
3646         * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3647         * gdb.base/callfuncs.exp: Add cast-based test.
3648         * gdb.base/callfuncs.c (voidfunc): New function.
3649
3650 2012-07-08  Doug Evans  <dje@google.com>
3651
3652         * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3653
3654 2012-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3655
3656         Fix XFAIL compatibility with old i386 systems.
3657         * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3658         Check also 'Cannot insert breakpoint 0'.
3659
3660 2012-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3661
3662         PR 14321
3663         * gdb.base/find.exp
3664         (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3665
3666 2012-07-06  Tom Tromey  <tromey@redhat.com>
3667
3668         * gdb.base/whatis.exp: Add test.
3669
3670 2012-07-06  Tom Tromey  <tromey@redhat.com>
3671
3672         * gdb.base/whatis.exp: Add regression test.
3673
3674 2012-07-06  Tom Tromey  <tromey@redhat.com>
3675
3676         * gdb.base/whatis.exp: Add tests.
3677
3678 2012-07-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3679
3680         PR 12649
3681         * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3682         gdb_test_multiple $gdb_prompt terminator.
3683
3684 2012-07-04  Pedro Alves  <palves@redhat.com>
3685
3686         * gdb.mi/mi-reverse.exp: Use supports_reverse and
3687         supports_process_record.
3688
3689 2012-07-04  Pedro Alves  <palves@redhat.com>
3690
3691         * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3692         endings.
3693         * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3694
3695 2012-07-03  Stan Shebs  <stan@codesourcery.com>
3696
3697         * gdb.base/info-os.c (main): Retry resource acquisition until an
3698         available one is found.
3699         * gdb.base/info-os.exp: Collect resource keys from the program
3700         and use them in matching.
3701
3702 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3703
3704         * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3705         Wrap the test into loop for corefile and core0file.
3706
3707 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3708
3709         * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3710         Change CU pointer size to 4 bytes, adjust .8byte to .4byte.  Remove
3711         .note.GNU-stack.
3712
3713         * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3714
3715 2012-07-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3716
3717         * gdb.base/help.exp (help b, help br, help bre, help brea, help
3718         break): Include help message for the new `-probe' and `-probe-stap'
3719         options.
3720
3721 2012-07-02  Stan Shebs  <stan@codesourcery.com>
3722
3723         * gdb.base/dprintf.exp: Add agent style tests.
3724
3725 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3726
3727         * gdb.base/stale-infcall.c (infcall): New label test-next.
3728         (main): New labels test-pass and test-fail.
3729         * gdb.base/stale-infcall.exp: Continue to test-next.  Put breakpoint
3730         $test_fail_bpnum to test-fail.
3731         (test system longjmp tracking support): New test.
3732         Delete $test_fail_bpnum.
3733         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3734         breakpoint.
3735
3736 2012-06-30  Doug Evans  <dje@google.com>
3737
3738         * gdb.dwarf2/fission-reread.S: New file.
3739         * gdb.dwarf2/fission-reread.exp: New file.
3740
3741 2012-06-28  Stan Shebs  <stan@codesourcery.com>
3742
3743         * gdb.mi/mi-logging.exp: New file.
3744
3745 2012-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3746             Pedro Alves  <palves@redhat.com>
3747
3748         * gdb.threads/siginfo-threads.exp: New file.
3749         * gdb.threads/siginfo-threads.c: New file.
3750         * gdb.threads/sigstep-threads.exp: New file.
3751         * gdb.threads/sigstep-threads.c: New file.
3752
3753 2012-06-28  Tom Tromey  <tromey@redhat.com>
3754
3755         * gdb.go/package.exp: Partially revert earlier patch; use
3756         gdb_compile again.  Use standard_output_file.
3757
3758 2012-06-27  Doug Evans  <dje@google.com>
3759
3760         * gdb.dwarf2/fission-base.c: New file.
3761         * gdb.dwarf2/fission-base.S: New file.
3762         * gdb.dwarf2/fission-base.exp: New file.
3763
3764 2012-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3765
3766         * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3767
3768 2012-06-27  Tom Tromey  <tromey@redhat.com>
3769
3770         * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3771         * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3772
3773 2012-06-27  Tom Tromey  <tromey@redhat.com>
3774
3775         * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3776         * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3777         * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3778         * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3779         * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3780         prepare_for_testing.
3781         * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3782         * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3783         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3784         standard_testfile.
3785         * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3786         * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3787         * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3788         * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3789         prepare_for_testing.
3790         * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3791         * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3792         * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3793         * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3794         * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3795         * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3796         * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3797         * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3798         * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3799         * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3800         * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3801         * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3802         * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3803         * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3804         * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3805         * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3806         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3807         * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3808         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3809         * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3810         * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3811         * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3812         standard_output_file.
3813         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3814         standard_output_file.
3815         * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3816         * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3817         * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3818         * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3819         * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3820         * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3821         * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3822         * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3823         * gdb.dwarf2/implptr.exp: Use standard_testfile.
3824         * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3825         * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3826         * gdb.dwarf2/pieces.exp: Use standard_testfile.
3827         * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3828         * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3829         * gdb.dwarf2/valop.exp: Use standard_testfile,
3830         prepare_for_testing.
3831
3832 2012-06-27  Tom Tromey  <tromey@redhat.com>
3833
3834         * gdb.python/python.exp: Fix regexps in pagination tests.
3835
3836 2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>
3837
3838         * gdb.python/py-symtab.exp: Add tests to test the new attribute
3839         'last' of gdb.Symtab_and_line.
3840         * gdb.python/py-symbol.c: Move break point comment to enable
3841         testing of gdb.Symtab_and_line.last.
3842
3843 2012-06-26  Tom Tromey  <tromey@redhat.com>
3844
3845         * gdb.threads/step.c: Remove.
3846         * gdb.threads/step.exp: Remove.
3847         * gdb.threads/step2.exp: Remove.
3848
3849 2012-06-26  Tom Tromey  <tromey@redhat.com>
3850
3851         * gdb.threads/watchpoint-fork.exp (test): Use
3852         standard_output_file.  Don't declare objdir.
3853         * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3854         standard_output_file.
3855         * gdb.threads/attach-stopped.exp: Use standard_testfile.
3856         * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3857         clean_restart.  Remove incdir.
3858         * gdb.threads/corethreads.exp: Use standard_testfile.
3859         * gdb.threads/execl.exp: Use standard_testfile,
3860         standard_output_file, clean_restart.
3861         * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3862         clean_restart.
3863         * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3864         clean_restart.
3865         * gdb.threads/gcore-thread.exp: Use standard_testfile.  Remove
3866         incdir.
3867         * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3868         clean_restart.  Remove incdir.
3869         * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3870         * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3871         clean_restart.  Remove incdir.
3872         * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3873         Remove incdir.
3874         * gdb.threads/leader-exit.exp: Use standard_testfile.
3875         * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3876         * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3877         clean_restart.
3878         * gdb.threads/manythreads.exp: Use standard_testfile,
3879         clean_restart.  Remove incdir.
3880         * gdb.threads/multi-create.exp: Use standard_testfile,
3881         clean_restart.
3882         * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3883         * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3884         * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3885         * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3886         * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3887         * gdb.threads/pending-step.exp: Use standard_testfile,
3888         clean_restart.  Remove incdir.
3889         * gdb.threads/print-threads.exp: Use standard_testfile,
3890         clean_restart.  Remove incdir.
3891         * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3892         clean_restart.  Remove incdir.
3893         * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3894         Remove incdir.
3895         * gdb.threads/schedlock.exp: Use standard_testfile.  Remove
3896         incdir.
3897         * gdb.threads/sigthread.exp: Use standard_testfile,
3898         clean_restart.
3899         * gdb.threads/staticthreads.exp: Use standard_testfile,
3900         clean_restart.  Remove incdir.
3901         * gdb.threads/switch-threads.exp: Use standard_testfile,
3902         clean_restart.  Remove incdir.
3903         * gdb.threads/thread-execl.exp: Use standard_testfile,
3904         clean_restart.  Remove incdir.
3905         * gdb.threads/thread-find.exp: Use standard_testfile,
3906         clean_restart.
3907         * gdb.threads/thread-specific.exp: Use standard_testfile,
3908         clean_restart.  Remove incdir.
3909         * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3910         clean_restart.  Remove incdir.
3911         * gdb.threads/thread_check.exp: Use standard_testfile,
3912         clean_restart.  Remove incdir.
3913         * gdb.threads/thread_events.exp: Use standard_testfile.  Remove
3914         incdir.
3915         * gdb.threads/threadapply.exp: Use standard_testfile,
3916         clean_restart.  Remove incdir.
3917         * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3918         clean_restart.  Remove incdir.
3919         * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3920         clean_restart.
3921         * gdb.threads/tls-shared.exp: Use standard_testfile,
3922         clean_restart, standard_output_file.
3923         * gdb.threads/tls-var.exp: Use standard_testfile,
3924         standard_output_file.
3925         * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3926         Remove incdir.
3927         * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3928         * gdb.threads/watchthreads.exp: Use standard_testfile.  Remove
3929         incdir.
3930         * gdb.threads/watchthreads2.exp: Use standard_testfile,
3931         clean_restart.  Remove incdir.
3932
3933 2012-06-26  Tom Tromey  <tromey@redhat.com>
3934
3935         * gdb.trace/actions.exp: Use standard_testfile.
3936         * gdb.trace/ax.exp: Use standard_testfile.
3937         * gdb.trace/backtrace.exp: Use standard_testfile.
3938         * gdb.trace/change-loc.exp: Use standard_testfile.
3939         * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3940         * gdb.trace/collection.exp: Use standard_testfile,
3941         prepare_for_testing.
3942         * gdb.trace/deltrace.exp: Use standard_testfile.
3943         * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3944         * gdb.trace/ftrace.exp: Use standard_testfile.
3945         * gdb.trace/infotrace.exp: Use standard_testfile.
3946         * gdb.trace/packetlen.exp: Use standard_testfile.
3947         * gdb.trace/passc-dyn.exp: Use standard_testfile.
3948         * gdb.trace/passcount.exp: Use standard_testfile.
3949         * gdb.trace/pending.exp: Use standard_testfile.
3950         * gdb.trace/report.exp: Use standard_testfile.
3951         * gdb.trace/save-trace.exp: Use standard_testfile.
3952         * gdb.trace/stap-trace.exp: Use standard_testfile.
3953         * gdb.trace/status-stop.exp: Use standard_testfile.
3954         * gdb.trace/strace.exp: Use standard_testfile.
3955         * gdb.trace/tfile.exp: Use standard_testfile.
3956         * gdb.trace/tfind.exp: Use standard_testfile.
3957         * gdb.trace/trace-break.exp: Use standard_testfile.
3958         * gdb.trace/trace-mt.exp: Use standard_testfile.
3959         * gdb.trace/tracecmd.exp: Use standard_testfile.
3960         * gdb.trace/tspeed.exp: Use standard_testfile.
3961         * gdb.trace/tstatus.exp: Use standard_testfile.
3962         * gdb.trace/tsv.exp: Use standard_testfile.
3963         * gdb.trace/unavailable.exp: Use standard_testfile,
3964         prepare_for_testing.
3965         * gdb.trace/while-dyn.exp: Use standard_testfile.
3966         * gdb.trace/while-stepping.exp: Use standard_testfile.
3967
3968 2012-06-26  Tom Tromey  <tromey@redhat.com>
3969
3970         * gdb.reverse/break-precsave.exp: Use standard_testfile.
3971         * gdb.reverse/break-reverse.exp: Use standard_testfile.
3972         * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
3973         * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
3974         * gdb.reverse/finish-precsave.exp: Use standard_testfile.
3975         * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
3976         * gdb.reverse/finish-reverse.exp: Use standard_testfile.
3977         * gdb.reverse/i386-precsave.exp: Use standard_testfile,
3978         prepare_for_testing.
3979         * gdb.reverse/i386-reverse.exp: Use standard_testfile,
3980         prepare_for_testing.
3981         * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
3982         prepare_for_testing.
3983         * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
3984         prepare_for_testing.
3985         * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
3986         prepare_for_testing
3987         * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
3988         * gdb.reverse/machinestate.exp: Use standard_testfile.
3989         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
3990         * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
3991         build_executable.
3992         * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
3993         build_executable.
3994         * gdb.reverse/solib-precsave.exp: Use standard_testfile,
3995         standard_output_file.
3996         * gdb.reverse/solib-reverse.exp: Use standard_testfile,
3997         standard_output_file.
3998         * gdb.reverse/step-precsave.exp: Use standard_testfile.
3999         * gdb.reverse/step-reverse.exp: Use standard_testfile.
4000         * gdb.reverse/until-precsave.exp: Use standard_testfile.
4001         * gdb.reverse/until-reverse.exp: Use standard_testfile.
4002         * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4003         * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4004
4005 2012-06-26  Tom Tromey  <tromey@redhat.com>
4006
4007         * gdb.stabs/weird.exp: Remove directory-checking code.  Use
4008         standard_output_file.
4009         * gdb.stabs/exclfwd.exp: Use standard_testfile,
4010         prepare_for_testing.  Remove directory-checking code.
4011
4012 2012-06-25  Tom Tromey  <tromey@redhat.com>
4013
4014         * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4015         * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file.  Use
4016         build_executable, not prepare_for_testing.
4017         * gdb.multi/base.exp: Use standard_output_file.  Use
4018         build_executable,  not prepare_for_testing.
4019
4020 2012-06-25  Tom Tromey  <tromey@redhat.com>
4021
4022         * gdb.fortran/subarray.exp: Use standard_testfile,
4023         prepare_for_testing.
4024         * gdb.fortran/multi-dim.exp: Use standard_testfile.
4025         * gdb.fortran/module.exp: Use standard_testfile.
4026         * gdb.fortran/logical.exp: Use standard_testfile.
4027         * gdb.fortran/library-module.exp: Use standard_testfile,
4028         standard_output_file.
4029         * gdb.fortran/derived-type.exp: Use standard_testfile,
4030         prepare_for_testing.
4031         * gdb.fortran/complex.exp: Use standard_testfile,
4032         prepare_for_testing.
4033         * gdb.fortran/charset.exp: Use standard_testfile.
4034         * gdb.fortran/array-element.exp: Use standard_testfile,
4035         prepare_for_testing.
4036
4037 2012-06-25  Keith Seitz  <keiths@redhat.com>
4038
4039         * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4040         Change rbreak-related tests to KFAIL and add bugzilla numbers.
4041
4042 2012-06-25  Tom Tromey  <tromey@redhat.com>
4043
4044         * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4045         * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4046         * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4047         * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4048
4049 2012-06-25  Tom Tromey  <tromey@redhat.com>
4050
4051         * gdb.linespec/ls-errs.exp: Use standard_testfile.
4052         * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4053         * gdb.linespec/linespec.exp: Use standard_testfile.
4054
4055 2012-06-25  Tom Tromey  <tromey@redhat.com>
4056
4057         * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4058         prepare_for_testing.
4059
4060 2012-06-25  Tom Tromey  <tromey@redhat.com>
4061
4062         * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4063         prepare_for_testing.
4064         * gdb.opt/inline-break.exp: Use standard_testfile,
4065         prepare_for_testing.
4066         * gdb.opt/inline-bt.exp: Use standard_testfile,
4067         prepare_for_testing.
4068         * gdb.opt/inline-cmds.exp: Use standard_testfile,
4069         prepare_for_testing.
4070         * gdb.opt/inline-locals.exp: Use standard_testfile,
4071         prepare_for_testing.
4072
4073 2012-06-25  Tom Tromey  <tromey@redhat.com>
4074
4075         * gdb.asm/asm-source.exp: Use standard_output_file,
4076         standard_testfile.  Construct .o files in proper subdir.
4077
4078 2012-06-25  Tom Tromey  <tromey@redhat.com>
4079
4080         * gdb.server/ext-attach.exp: Use standard_testfile,
4081         prepare_for_testing.
4082         * gdb.server/ext-run.exp: Use standard_testfile,
4083         build_executable.
4084         * gdb.server/file-transfer.exp: Use standard_testfile,
4085         prepare_for_testing.
4086         * gdb.server/server-exec-info.exp: Use standard_testfile.
4087         * gdb.server/server-mon.exp: Use standard_testfile,
4088         prepare_for_testing.
4089         * gdb.server/server-run.exp: Use standard_testfile,
4090         build_executable.
4091         * gdb.server/solib-list.exp: Use standard_testfile,
4092         standard_output_file.
4093
4094 2012-06-25  Tom Tromey  <tromey@redhat.com>
4095
4096         * lib/gdb.exp (standard_output_file): Use "file join".
4097         * gdb.go/chan.exp: Use standard_testfile.
4098         * gdb.go/handcall.exp: Use standard_testfile.
4099         * gdb.go/hello.exp: Use standard_testfile.
4100         * gdb.integers/chan.exp: Use standard_testfile.
4101         * gdb.go/methods.exp: Use standard_testfile.
4102         * gdb.go/package.exp: Use standard_testfile.
4103         * gdb.go/strings.exp: Use standard_testfile.
4104         * gdb.go/types.exp: Use standard_testfile.
4105         * gdb.go/unsafe.exp: Use standard_testfile.
4106
4107 2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
4108
4109         * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4110
4111 2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4112
4113         Fix regression by the previous commit.
4114         * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4115
4116 2012-06-22  Tom Tromey  <tromey@redhat.com>
4117
4118         * gdb.python/lib-types.exp: Use standard_testfile,
4119         prepare_for_testing.
4120         * gdb.python/py-block.exp: Use standard_testfile.
4121         * gdb.python/py-breakpoint.exp: Use standard_testfile.
4122         * gdb.python/py-events.exp: Use standard_testfile,
4123         standard_output_file.
4124         * gdb.python/py-evsignal.exp: Use standard_testfile.
4125         * gdb.python/py-evethreads.exp: Use standard_testfile.
4126         * gdb.python/py-explore-cc.exp: Use standard_testfile.
4127         * gdb.python/py-explore.exp: Use standard_testfile.
4128         * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4129         standard_output_file.
4130         * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4131         prepare_for_testing.
4132         * gdb.python/py-frame-inline.exp: Use standard_testfile.
4133         * gdb.python/py-frame.exp: Use standard_testfile.
4134         * gdb.python/py-inferior.exp: Use standard_testfile.
4135         * gdb.python/py-infthread.exp: Use standard_testfile.
4136         * gdb.python/py-mi.exp: Use standard_testfile.
4137         * gdb.python/py-objfile-script.exp: Use standard_testfile,
4138         build_executable.
4139         * gdb.python/py-objfile.exp: Use standard_testfile.
4140         * gdb.python/py-pp-maint.exp: Use standard_testfile,
4141         prepare_for_testing.
4142         * gdb.python/py-prettyprint.exp: Use standard_testfile.
4143         * gdb.python/py-progspace.exp: Use standard_testfile,
4144         build_executable.
4145         * gdb.python/py-prompt.exp: Use standard_testfile,
4146         build_executable.
4147         * gdb.python/py-section-script.exp: Use standard_testfile,
4148         build_executable.
4149         * gdb.python/py-shared.exp: Use standard_testfile,
4150         standard_output_file, clean_restart.
4151         * gdb.python/py-symbol.exp: Use standard_output_file,
4152         prepare_for_testing.
4153         * gdb.python/py-symtab.exp: Use standard_output_file,
4154         prepare_for_testing
4155         * gdb.python/py-template.exp: Use standard_testfile.
4156         * gdb.python/py-type.exp: Use standard_testfile.
4157         * gdb.python/py-value-cc.exp: Use standard_testfile.
4158         * gdb.python/py-value.exp: Use standard_testfile.
4159         * gdb.python/python.exp: Use standard_testfile, build_executable.
4160
4161 2012-06-22  Tom Tromey  <tromey@redhat.com>
4162
4163         * gdb.objc/basicclass.exp: Use standard_testfile.
4164         (do_objc_tests): Don't declare objdir.
4165         * gdb.objc/nondebug.exp: Use standard_testfile.
4166         (do_objc_tests): Don't declare objdir.
4167         * gdb.objc/objcdecode.exp: Use standard_testfile.
4168         (do_objc_tests): Don't declare objdir.
4169
4170 2012-06-22  Tom Tromey  <tromey@redhat.com>
4171
4172         * gdb.java/jmain.exp: Use standard_testfile.
4173         * gdb.java/jmisc.exp: Use standard_testfile.
4174         * gdb.java/jnpe.exp: Use standard_testfile.
4175         * gdb.java/jprint.exp: Use standard_testfile.
4176
4177 2012-06-22  Tom Tromey  <tromey@redhat.com>
4178
4179         * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4180         (standard_output_file, standard_testfile): New procs.
4181         (build_executable, clean_restart): Use standard_output_file.
4182
4183 2012-06-22  Yao Qi  <yao@codesourcery.com>
4184
4185         * boards/native-gdbserver.exp: New proc ${board}_exec.
4186         * boards/native-stdio-gdbserver.exp: Likewise.
4187
4188 2012-06-21  Tom Tromey  <tromey@redhat.com>
4189
4190         * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4191         (build_executable): Update.
4192         (get_compiler_info): Remove 'binfile' argument.
4193         * gdb.ada/arrayidx.exp: Update.
4194         * gdb.ada/null_array.exp: Update.
4195         * gdb.arch/altivec-abi.exp: Update.
4196         * gdb.arch/altivec-regs.exp: Update.
4197         * gdb.arch/amd64-byte.exp: Update.
4198         * gdb.arch/amd64-dword.exp: Update.
4199         * gdb.arch/amd64-word.exp: Update.
4200         * gdb.arch/i386-avx.exp: Update.
4201         * gdb.arch/i386-byte.exp: Update.
4202         * gdb.arch/i386-sse.exp: Update.
4203         * gdb.arch/i386-word.exp: Update.
4204         * gdb.arch/ppc-dfp.exp: Update.
4205         * gdb.arch/ppc-fp.exp: Update.
4206         * gdb.arch/vsx-regs.exp: Update.
4207         * gdb.base/all-bin.exp: Update.
4208         * gdb.base/annota1.exp: Update.
4209         * gdb.base/async.exp: Update.
4210         * gdb.base/attach.exp: Update.
4211         * gdb.base/break-interp.exp: Update.
4212         * gdb.base/call-ar-st.exp: Update.
4213         * gdb.base/call-rt-st.exp: Update.
4214         * gdb.base/call-sc.exp: Update.
4215         * gdb.base/callfuncs.exp: Update.
4216         * gdb.base/catch-load.exp: Update.
4217         * gdb.base/completion.exp: Update.
4218         * gdb.base/complex.exp: Update.
4219         * gdb.base/condbreak.exp: Update.
4220         * gdb.base/consecutive.exp: Update.
4221         * gdb.base/constvars.exp: Update.
4222         * gdb.base/corefile.exp: Update.
4223         * gdb.base/eval-skip.exp: Update.
4224         * gdb.base/expand-psymtabs.exp: Update.
4225         * gdb.base/exprs.exp: Update.
4226         * gdb.base/fileio.exp: Update.
4227         * gdb.base/fixsection.exp: Update.
4228         * gdb.base/funcargs.exp: Update.
4229         * gdb.base/gdb11530.exp: Update.
4230         * gdb.base/gdb1555.exp: Update.
4231         * gdb.base/gnu-ifunc.exp: Update.
4232         * gdb.base/gnu_vector.exp: Update.
4233         * gdb.base/info-macros.exp: Update.
4234         * gdb.base/jit-simple.exp: Update.
4235         * gdb.base/jit-so.exp: Update.
4236         * gdb.base/jit.exp: Update.
4237         * gdb.base/langs.exp: Update.
4238         * gdb.base/list.exp: Update.
4239         * gdb.base/logical.exp: Update.
4240         * gdb.base/long_long.exp: Update.
4241         * gdb.base/longjmp.exp: Update.
4242         * gdb.base/macscp.exp: Update.
4243         * gdb.base/mips_pro.exp: Update.
4244         * gdb.base/miscexprs.exp: Update.
4245         * gdb.base/morestack.exp: Update.
4246         * gdb.base/nodebug.exp: Update.
4247         * gdb.base/opaque.exp: Update.
4248         * gdb.base/pc-fp.exp: Update.
4249         * gdb.base/pending.exp: Update.
4250         * gdb.base/permissions.exp: Update.
4251         * gdb.base/pointers.exp: Update.
4252         * gdb.base/prelink.exp: Update.
4253         * gdb.base/printcmds.exp: Update.
4254         * gdb.base/psymtab.exp: Update.
4255         * gdb.base/ptype.exp: Update.
4256         * gdb.base/relational.exp: Update.
4257         * gdb.base/scope.exp: Update.
4258         * gdb.base/setvar.exp: Update.
4259         * gdb.base/shlib-call.exp: Update.
4260         * gdb.base/shreloc.exp: Update.
4261         * gdb.base/signals.exp: Update.
4262         * gdb.base/sizeof.exp: Update.
4263         * gdb.base/so-impl-ld.exp: Update.
4264         * gdb.base/so-indr-cl.exp: Update.
4265         * gdb.base/solib-disc.exp: Update.
4266         * gdb.base/solib-display.exp: Update.
4267         * gdb.base/solib-nodir.exp: Update.
4268         * gdb.base/solib-overlap.exp: Update.
4269         * gdb.base/solib-symbol.exp: Update.
4270         * gdb.base/solib-weak.exp: Update.
4271         * gdb.base/solib.exp: Update.
4272         * gdb.base/store.exp: Update.
4273         * gdb.base/structs.exp: Update.
4274         * gdb.base/structs2.exp: Update.
4275         * gdb.base/type-opaque.exp: Update.
4276         * gdb.base/unload.exp: Update.
4277         * gdb.base/varargs.exp: Update.
4278         * gdb.base/volatile.exp: Update.
4279         * gdb.base/watch_thread_num.exp: Update.
4280         * gdb.base/watchpoint-solib.exp: Update.
4281         * gdb.base/watchpoint.exp: Update.
4282         * gdb.base/watchpoints.exp: Update.
4283         * gdb.base/whatis.exp: Update.
4284         * gdb.cell/arch.exp: Update.
4285         * gdb.cell/break.exp: Update.
4286         * gdb.cell/bt.exp: Update.
4287         * gdb.cell/core.exp: Update.
4288         * gdb.cell/data.exp: Update.
4289         * gdb.cell/ea-cache.exp: Update.
4290         * gdb.cell/f-regs.exp: Update.
4291         * gdb.cell/fork.exp: Update.
4292         * gdb.cell/gcore.exp: Update.
4293         * gdb.cell/mem-access.exp: Update.
4294         * gdb.cell/ptype.exp: Update.
4295         * gdb.cell/registers.exp: Update.
4296         * gdb.cell/sizeof.exp: Update.
4297         * gdb.cell/solib-symbol.exp: Update.
4298         * gdb.cell/solib.exp: Update.
4299         * gdb.cp/ambiguous.exp: Update.
4300         * gdb.cp/breakpoint.exp: Update.
4301         * gdb.cp/bs15503.exp: Update.
4302         * gdb.cp/casts.exp: Update.
4303         * gdb.cp/class2.exp: Update.
4304         * gdb.cp/cpexprs.exp: Update.
4305         * gdb.cp/cplusfuncs.exp: Update.
4306         * gdb.cp/ctti.exp: Update.
4307         * gdb.cp/dispcxx.exp: Update.
4308         * gdb.cp/gdb1355.exp: Update.
4309         * gdb.cp/gdb2384.exp: Update.
4310         * gdb.cp/gdb2495.exp: Update.
4311         * gdb.cp/infcall-dlopen.exp: Update.
4312         * gdb.cp/local.exp: Update.
4313         * gdb.cp/m-data.exp: Update.
4314         * gdb.cp/m-static.exp: Update.
4315         * gdb.cp/mb-ctor.exp: Update.
4316         * gdb.cp/mb-inline.exp: Update.
4317         * gdb.cp/mb-templates.exp: Update.
4318         * gdb.cp/member-ptr.exp: Update.
4319         * gdb.cp/method.exp: Update.
4320         * gdb.cp/namespace.exp: Update.
4321         * gdb.cp/nextoverthrow.exp: Update.
4322         * gdb.cp/nsdecl.exp: Update.
4323         * gdb.cp/nsrecurs.exp: Update.
4324         * gdb.cp/nsstress.exp: Update.
4325         * gdb.cp/nsusing.exp: Update.
4326         * gdb.cp/pr-1023.exp: Update.
4327         * gdb.cp/pr-1210.exp: Update.
4328         * gdb.cp/pr-574.exp: Update.
4329         * gdb.cp/pr9631.exp: Update.
4330         * gdb.cp/printmethod.exp: Update.
4331         * gdb.cp/psmang.exp: Update.
4332         * gdb.cp/re-set-overloaded.exp: Update.
4333         * gdb.cp/rtti.exp: Update.
4334         * gdb.cp/shadow.exp: Update.
4335         * gdb.cp/templates.exp: Update.
4336         * gdb.cp/try_catch.exp: Update.
4337         * gdb.dwarf2/dw2-ranges.exp: Update.
4338         * gdb.dwarf2/pr10770.exp: Update.
4339         * gdb.fortran/library-module.exp: Update.
4340         * gdb.hp/gdb.aCC/optimize.exp: Update.
4341         * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4342         * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4343         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4344         * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4345         * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4346         * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4347         * gdb.hp/gdb.compat/xdb1.exp: Update.
4348         * gdb.hp/gdb.compat/xdb2.exp: Update.
4349         * gdb.hp/gdb.compat/xdb3.exp: Update.
4350         * gdb.hp/gdb.defects/bs14602.exp: Update.
4351         * gdb.hp/gdb.defects/solib-d.exp: Update.
4352         * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4353         * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4354         * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4355         * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4356         * gdb.mi/gdb792.exp: Update.
4357         * gdb.mi/mi-pending.exp: Update.
4358         * gdb.mi/mi-solib.exp: Update.
4359         * gdb.mi/mi-var-cp.exp: Update.
4360         * gdb.opt/clobbered-registers-O2.exp: Update.
4361         * gdb.opt/inline-bt.exp: Update.
4362         * gdb.opt/inline-cmds.exp: Update.
4363         * gdb.opt/inline-locals.exp: Update.
4364         * gdb.python/py-events.exp: Update.
4365         * gdb.python/py-finish-breakpoint.exp: Update.
4366         * gdb.python/py-type.exp: Update.
4367         * gdb.reverse/solib-precsave.exp: Update.
4368         * gdb.reverse/solib-reverse.exp: Update.
4369         * gdb.server/solib-list.exp: Update.
4370         * gdb.stabs/weird.exp: Update.
4371         * gdb.threads/attach-into-signal.exp: Update.
4372         * gdb.threads/attach-stopped.exp: Update.
4373         * gdb.threads/tls-shared.exp: Update.
4374         * gdb.trace/change-loc.exp: Update.
4375         * gdb.trace/strace.exp: Update.
4376
4377 2012-06-19  Tom Tromey  <tromey@redhat.com>
4378
4379         * gdb.base/whatis.exp: Add tests.
4380
4381 2012-06-19  Tom Tromey  <tromey@redhat.com>
4382
4383         * gdb.cp/m-static.cc (keepalive): New function.
4384         (gnu_obj_1::method): Use it.
4385
4386 2012-06-18  Doug Evans  <dje@google.com>
4387
4388         * gdb.base/info-fun.exp: New file.
4389         * gdb.base/info-fun.c: New file.
4390         * gdb.base/info-fun-solib.c: New file.
4391
4392 2012-06-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4393
4394         Remove stale dummy frames.
4395         * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4396         (maintenance info breakpoints): New tests.
4397         * gdb.base/stale-infcall.c: New file.
4398         * gdb.base/stale-infcall.exp: New file.
4399
4400 2012-06-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4401
4402         * gdb.arch/amd64-entry-value-param.S: New file.
4403         * gdb.arch/amd64-entry-value-param.c: New file.
4404         * gdb.arch/amd64-entry-value-param.exp: New file.
4405
4406 2012-06-15  Tom Tromey  <tromey@redhat.com>
4407
4408         * gdb.cp/namespace.exp: Add "show lang" test.
4409
4410 2012-06-15  Iain Sandoe <iain@codesourcery.com>
4411
4412         * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4413         case. (top level): Use gdb_file_cmd instead of gdb_load.
4414
4415 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4416
4417         PR tdep/14222
4418         * gdb.arch/i386-sse-stack-align.S: New file.
4419         * gdb.arch/i386-sse-stack-align.c: New file.
4420         * gdb.arch/i386-sse-stack-align.exp: New file.
4421
4422 2012-06-13  Keith Seitz  <keiths@redhat.com>
4423
4424         PR breakpoints/13798 and mi/11541
4425         * gdb.linespec/ls-errs.exp: Add a few more tests for
4426         filenames with spaces and colons.
4427
4428 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4429
4430         PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4431         * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4432         (test_function): Call CV_f.
4433         * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4434         (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4435         (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4436         (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4437         (p CV_f(CV::i)): New tests.
4438
4439 2012-06-13  Tom Tromey  <tromey@redhat.com>
4440
4441         * gdb.base/condbreak.exp: Add tests for "condition" completion.
4442
4443 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4444
4445         Fix regression by the "ambiguous linespec" series.
4446         * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4447         tests.
4448
4449 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4450
4451         * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4452         missing.
4453
4454 2012-06-11  Tom Tromey  <tromey@redhat.com>
4455
4456         * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4457         location...
4458         (main): ...here.
4459
4460 2012-06-07  Yao Qi  <yao@codesourcery.com>
4461
4462         * gdb.trace/strace.exp: Shorten some too-long lines.
4463
4464 2012-06-06  Pedro Alves  <palves@redhat.com>
4465
4466         * gdb.threads/clone-new-thread-event.c: New file.
4467         * gdb.threads/clone-new-thread-event.exp: New file.
4468
4469 2012-06-06  Yao Qi  <yao@codesourcery.com>
4470
4471         * gdb.base/dprintf.c (main): Add extra parameter when calling
4472         printf and fprintf.
4473         (bar): New function.  It is a dead function, but to ensure
4474         'malloc' is linked explicitly.
4475
4476 2012-06-06  Yao Qi  <yao@codesourcery.com>
4477
4478         * gdb.base/info-proc.exp: Return if target doesn't support
4479         'info proc'.
4480
4481 2012-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4482
4483         * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4484         (run program with breakpoint commands): XFAIl if it is not.
4485
4486 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
4487
4488         * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4489         and add comment.
4490         * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4491         * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4492         "STOP" marker.  Adjust testing strategy to make it work on
4493         all targets.
4494
4495         * gdb.base/print-file-var-main.c (main): Rewrite using local
4496         variables and adjust get_version_2's return value check.
4497         Add small comment.
4498         * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4499         marker.  Adjust testing strategy to make it work on all targets.
4500
4501 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
4502
4503         * gdb.ada/bad-task-bp-keyword: New testcase.
4504
4505 2012-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4506
4507         * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4508         Simplify it to ...
4509         (symbol-file ${testfile1}): ... here.
4510         (test eliminated var my_global_symbol)
4511         (test eliminated var my_static_symbol)
4512         (test eliminated var my_global_func, get address of main): Wrap them to
4513         'single psymtabs' and 'single symtabs'
4514         (get address of my_global_symbol, get address of my_static_symbol)
4515         (get address of my_global_func, get address of main): Wrap them to
4516         'order1' and 'order2'.
4517
4518         * gdb.base/code_elim.exp
4519         (add-symbol-file ${testfile1} 0x100000)
4520         (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4521         'order2'.
4522         (order1: add-symbol-file ${testfile1} 0x100000)
4523         (order1: add-symbol-file ${testfile2} 0x200000)
4524         (order2: add-symbol-file ${testfile2} 0x200000)
4525         (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4526         .bss as appropriate.
4527
4528 2012-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4529
4530         * gdb.server/solib-list-lib.c: New file.
4531         * gdb.server/solib-list-main.c: New file.
4532         * gdb.server/solib-list.exp: New file.
4533
4534 2012-05-25  Maciej W. Rozycki  <macro@codesourcery.com>
4535
4536         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4537         for 'set print symbol' change.
4538
4539 2012-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4540
4541         * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4542         .debug_abbrev_seg3.
4543
4544 2012-05-24  John Steele Scott  <toojays@toojays.net>
4545
4546         PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4547         * gdb.dwarf2/dw2-icc-opaque.S: New file.
4548         * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4549
4550 2012-05-23  Stan Shebs  <stan@codesourcery.com>
4551
4552         * gdb.mi/mi-info-os.exp: New file.
4553
4554 2012-05-23  Keith Seitz  <keiths@redhat.com>
4555
4556         * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4557         return -1 to suppress the rest of the tests.
4558         (compile_stap_bin): Return boolean success value.
4559
4560 2012-05-21  Tom Tromey  <tromey@redhat.com>
4561
4562         * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4563         Remove kfails.
4564         (test_print_mi_member_types): Likewise.
4565
4566 2012-05-21  Tom Tromey  <tromey@redhat.com>
4567
4568         * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4569         print symbol' change.
4570
4571 2012-05-18  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
4572
4573         * gdb.python/py-prompt.exp: Quit if the target is remote.
4574
4575 2012-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4576
4577         Fix ERROR: internal buffer is full.
4578         * gdb.base/info-os.exp (expect_multiline): New function.
4579         (get process list, get process groups, get threads)
4580         (get file descriptors, get internet-domain sockets)
4581         (get shared-memory regions, get semaphores, get message queues): Use
4582         it for these tests.
4583
4584 2012-05-18  Tom Tromey  <tromey@redhat.com>
4585
4586         * gdb.mi/mi-var-cmd.exp: Update.
4587         * gdb.objc/basicclass.exp (do_objc_tests): Update.
4588         * gdb.cp/virtbase.exp: Update.
4589         * gdb.cp/classes.exp (test_static_members): Update.
4590         * gdb.cp/casts.exp: Update.
4591         * gdb.base/pointers.exp: Update.
4592         * gdb.base/funcargs.exp (pointer_args): Update.
4593         (structs_by_reference): Update.
4594         * gdb.base/find.exp: Update.
4595         * gdb.base/call-strs.exp: Send "set print symbol off".
4596         * gdb.base/call-ar-st.exp: Update.
4597         * gdb.ada/fun_addr.exp: Update.
4598         * gdb.base/printcmds.exp (test_print_symbol): New proc.
4599         Call it.
4600         (test_print_repeats_10, test_print_strings)
4601         (test_print_char_arrays): Update.
4602
4603 2012-05-18  Tom Tromey  <tromey@redhat.com>
4604
4605         * gdb.base/charset.exp (string_display): Update.
4606
4607 2012-05-18  Tom Tromey  <tromey@redhat.com>
4608
4609         * gdb.mi/mi2-var-display.exp: Update.
4610         * gdb.mi/mi-var-display.exp: Update.
4611         * gdb.mi/mi-var-child.exp: Update.
4612         * gdb.cp/expand-psymtabs-cxx.exp: Update.
4613         * gdb.cp/cp-relocate.exp (get_func_address): Update.
4614
4615 2012-05-17  Doug Evans  <dje@google.com>
4616
4617         * info-macros.exp: Pass "debug" to prepare_for_testing.
4618
4619         * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4620         * gdb.ada/Makefile.in (clean): Ditto.
4621         * gdb.arch/Makefile.in (clean): Ditto.
4622         * gdb.asm/Makefile.in (clean): Ditto.
4623         * gdb.base/Makefile.in (clean): Ditto.
4624         * gdb.cell/Makefile.in (clean): Ditto.
4625         * gdb.cp/Makefile.in (clean): Ditto.
4626         * gdb.disasm/Makefile.in (clean): Ditto.
4627         * gdb.dwarf2/Makefile.in (clean): Ditto.
4628         * gdb.fortran/Makefile.in (clean): Ditto.
4629         * gdb.go/Makefile.in (clean): Ditto.
4630         * gdb.hp/Makefile.in (clean): Ditto.
4631         * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4632         * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4633         * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4634         * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4635         * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4636         * gdb.java/Makefile.in (clean): Ditto.
4637         * gdb.linespec/Makefile.in (clean): Ditto.
4638         * gdb.mi/Makefile.in (clean): Ditto.
4639         * gdb.modula2/Makefile.in (clean): Ditto.
4640         * gdb.multi/Makefile.in (clean): Ditto.
4641         * gdb.objc/Makefile.in (clean): Ditto.
4642         * gdb.opencl/Makefile.in (clean): Ditto.
4643         * gdb.opt/Makefile.in (clean): Ditto.
4644         * gdb.pascal/Makefile.in (clean): Ditto.
4645         * gdb.python/Makefile.in (clean): Ditto.
4646         * gdb.reverse/Makefile.in (clean): Ditto.
4647         * gdb.server/Makefile.in (clean): Ditto.
4648         * gdb.stabs/Makefile.in (clean): Ditto.
4649         * gdb.threads/Makefile.in (clean): Ditto.
4650         * gdb.trace/Makefile.in (clean): Ditto.
4651         * gdb.xml/Makefile.in (clean): Ditto.
4652
4653 2012-05-16  Tom Tromey  <tromey@redhat.com>
4654
4655         * gdb.base/macscp1.c (macscp_expr): Add comment.
4656         * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4657
4658 2012-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4659
4660         * gdb.base/return-nodebug.exp: Also test float and double types.
4661
4662 2012-05-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4663
4664         PR testsuite/12649
4665         * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4666
4667         * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4668
4669 2012-05-14  Sergio Durigan Junior  <sergiodj@redhat.com>
4670
4671         * gdb.base/stap-probe.exp (stap_test): Remove calls to
4672         `rerun_to_main'.
4673         (stap_test_no_debuginfo): Likewise.
4674
4675 2012-05-14  Stan Shebs  <stan@codesourcery.com>
4676
4677         * gdb.base/dprintf.c: New file.
4678         * gdb.base/dprintf.exp: New file.
4679
4680 2012-05-14  Hui Zhu  <hui_zhu@mentor.com>
4681
4682         * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4683         * gdb.trace/disconnected-tracing.c: New file.
4684         * gdb.trace/disconnected-tracing.exp: New file.
4685
4686 2012-05-13  Siva Chandra Reddy  <sivachandra@google.com>
4687
4688         * gdb.python/python.c: Add a new breakpoint comment.
4689         * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4690
4691 2011-12-26  Kwok Cheung Yeung  <kcy@codesourcery.com>
4692
4693         * gdb.base/info-os.exp: New file.
4694         * gdb.base/info-os.c: New file.
4695
4696 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
4697
4698         * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4699         gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4700         New files.
4701
4702 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
4703
4704         * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4705         gdb.base/ctxobj.exp: New files.
4706
4707 2012-05-09  Tom Tromey  <tromey@redhat.com>
4708
4709         * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4710
4711 2012-05-09  Maciej W. Rozycki  <macro@codesourcery.com>
4712
4713         * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4714
4715 2012-05-08  Maciej W. Rozycki  <macro@codesourcery.com>
4716
4717         * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4718         before using it.
4719
4720 2012-05-04  Tristan Gingold  <gingold@adacore.com>
4721
4722         * gdb.base/set-noassign.exp: New test.
4723
4724 2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
4725
4726         * gdb.python/py-symbol.exp: Add tests to test the new methods
4727         gdb.Symtab.global_block() and gdb.Symtab.static_block().
4728         * gdb.python/py-symbol.c: Add new struct to help test
4729         gdb.Symtab.static_block().
4730
4731 2012-05-03  Doug Evans  <dje@google.com>
4732
4733         * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4734         commented out.
4735
4736 2012-05-03  Yao Qi  <yao@codesourcery.com>
4737
4738         * gdb.base/catch-syscall.exp: Skip it before compilation if target
4739         doesn't support.
4740         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4741         * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4742
4743 2012-05-03  Yao Qi  <yao@codesourcery.com>
4744
4745         * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4746
4747 2012-04-30  Doug Evans  <dje@google.com>
4748
4749         PR testsuite/13961
4750         * gdb.dwarf2/pr13961.S: New file.
4751         * gdb.dwarf2/pr13961.exp: New file.
4752
4753 2012-04-29  Yao Qi  <yao@codesourcery.com>
4754
4755         * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4756
4757 2012-04-28  Doug Evans  <dje@google.com>
4758
4759         * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4760         .Ltype_int_in_cu2.  Use name "int2" instead of "int".
4761         All uses updated.
4762         * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4763         "ptype func_cu1" to expand cu2 before cu1.
4764
4765 2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
4766             Tom Tromey  <tromey@redhat.com>
4767
4768         * gdb.base/default.exp: Add `$_probe_arg*' convenience
4769         variables.
4770         * gdb.base/stap-probe.c: New file.
4771         * gdb.base/stap-probe.exp: New file.
4772         * gdb.trace/stap-trace.c: New file.
4773         * gdb.trace/stap-trace.exp: New file.
4774         * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4775         libgcc's unwinder.
4776
4777 2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
4778
4779         * gdb.arch/mips16-thunks-inmain.c: New file.
4780         * gdb.arch/mips16-thunks-main.c: New file.
4781         * gdb.arch/mips16-thunks-sin.c: New file.
4782         * gdb.arch/mips16-thunks-sinfrob.c: New file.
4783         * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4784         * gdb.arch/mips16-thunks-sinmain.c: New file.
4785         * gdb.arch/mips16-thunks-sinmips16.c: New file.
4786         * gdb.arch/mips16-thunks.exp: New file.
4787
4788 2012-04-25  Doug Evans  <dje@google.com>
4789
4790         * configure.ac: Create gdb.go/Makefile.
4791         * configure: Regenerate.
4792         * gdb.base/default.exp: Add "go" to "set language" testing.
4793         * gdb.go/Makefile.in: New file.
4794         * gdb.go/basic-types.exp: New file.
4795         * gdb.go/chan.exp: New file.
4796         * gdb.go/chan.go: New file.
4797         * gdb.go/handcall.exp: New file.
4798         * gdb.go/handcall.go: New file.
4799         * gdb.go/hello.exp: New file.
4800         * gdb.go/hello.go: New file.
4801         * gdb.go/integers.exp: New file.
4802         * gdb.go/integers.go: New file.
4803         * gdb.go/methods.exp: New file.
4804         * gdb.go/methods.go: New file.
4805         * gdb.go/package.exp: New file.
4806         * gdb.go/package1.go: New file.
4807         * gdb.go/package2.go: New file.
4808         * gdb.go/print.exp: New file.
4809         * gdb.go/strings.exp: New file.
4810         * gdb.go/strings.go: New file.
4811         * gdb.go/types.exp: New file.
4812         * gdb.go/types.go: New file.
4813         * gdb.go/unsafe.exp: New file.
4814         * gdb.go/unsafe.go: New file.
4815         * lib/future.exp: Add Go support.
4816         (gdb_find_go, gdb_find_go_linker): New procs.
4817         (gdb_default_target_compile): Add Go support.
4818         * lib/gdb.exp (skip_go_tests): New proc.
4819         * lib/go.exp: New file.
4820
4821 2012-04-25  Tom Tromey  <tromey@redhat.com>
4822
4823         * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4824
4825 2012-04-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4826             Jan Kratochvil  <jan.kratochvil@redhat.com>
4827
4828         PR symtab/7259:
4829         * gdb.base/enumval.c: New test case.
4830         * gdb.base/enumval.exp: New test case.
4831         * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4832         field.bitpos.
4833
4834 2012-04-17  Pedro Alves  <palves@redhat.com>
4835
4836         * Makefile.in (site.exp): Make site.exp source
4837         $srcdir/lib/append_gdb_boards_dir.exp.
4838         * lib/append_gdb_boards_dir.exp: New file.
4839
4840 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4841
4842         New option "set auto-load safe-path".
4843         * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4844         * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4845
4846 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4847
4848         auto-load: Implementation.
4849         * gdb.base/help.exp (test set height): Increase the height.
4850         * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4851         to ...
4852         (info auto-load python-scripts): ... here.
4853         * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4854         to ...
4855         (info auto-load python-scripts *): ... here.
4856
4857 2012-04-16  Yao Qi  <yao@codesourcery.com>
4858
4859         * lib/trace-support.exp (get_in_proc_agent): New.
4860         * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4861         of in process trace agent.
4862         * gdb.trace/ftrace.exp: Likewise.
4863         * gdb.trace/pending.exp: Likewise.
4864         * gdb.trace/trace-break.exp: Likewise.
4865         * gdb.trace/trace-mt.exp
4866         * gdb.trace/tspeed.exp: Likewise.
4867         * gdb.trace/tstatus.exp
4868         * gdb.trace/strace.exp: Likewise.
4869
4870 2012-04-16  Thomas Schwinge  <thomas@codesourcery.com>
4871
4872         * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4873         symbol _stack is defined.  Get rid of a hard-coded constant for _stack.
4874
4875         * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4876
4877 2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
4878
4879         PR mi/13393
4880         * gdb.mi/mi-var-rtti.cc: New file.
4881         * gdb.mi/mi-var-rtti.exp: New file.
4882         * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4883         function.
4884         (mi_varobj_update_with_type_change): updated to avoid code duplication.
4885
4886 2012-04-11  Siva Chandra Reddy  <sivachandra@google.com>
4887
4888         * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4889         EXECUTABLES.
4890         * gdb.python/py-explore.c: C program used for testing the new
4891         'explore' command on C constructs.
4892         * gdb.python/py-explore.cc: C++ program used for testing the new
4893         'explore' command on C++ constructs.
4894         * gdb-python/py-explore.exp: Tests for the new 'explore'
4895         command on C constructs.
4896         * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4897         command on C++ constructs.
4898
4899 2012-04-07  Mark Kettenis  <kettenis@gnu.org>
4900
4901         * gdb.base/funcargs.exp (complex_args): Fix typo.
4902
4903 2012-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4904
4905         * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4906         (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4907
4908 2012-04-05  Keith Seitz  <keiths@redhat.com>
4909
4910         * gdb.base/advance.exp: Update error message for
4911         "advance malformed" test.
4912         * gdb.base/break.exp: Likewise for "breakpoint with
4913         trailing garbage" test.
4914         * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4915         with trailing garbage" test.
4916         * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4917         trailng garbage" test.
4918         * gdb.base/until.exp: Likewise for "malformed until" test.
4919         * gdb.cp/ovldbreak.exp: Create the breakpoint table
4920         for "breakpoint info (after setting on all)".
4921         * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4922         tests.
4923         * gdb.cp/cplabel.cc: New file.
4924         * gdb.cp/cplabel.exp: New test.
4925         * gdb.linespec/ls-errs.c: New file.
4926         * gdb.linespec/ls-errs.exp: New test.
4927
4928 2012-04-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4929
4930         * gdb.trace/unavailable.exp
4931         (collect globals: print object on: print derived_partial)
4932         (collect globals: print object on: print derived_whole)
4933         (collect globals: print object off: print derived_partial)
4934         (collect globals: print object off: print derived_whole): Update
4935         expected output.
4936
4937 2012-03-30  Keith Seitz  <keiths@redhat.com>
4938
4939         * gdb.python: Add test for linespecs with commas.
4940
4941 2012-03-28  Keith Seitz  <keiths@redhat.com>
4942
4943         * gdb.linespec/ls-dollar.cc: New file.
4944         * gdb.linespec/ls-dollar.exp: New test.
4945
4946 2012-03-28  Keith Seitz  <keiths@redhat.com>
4947
4948         * gdb.cp/namespace.exp: Add breakpoint tests for functions
4949         starting with the global namespace.
4950
4951 2012-03-23  Doug Evans  <dje@google.com>
4952
4953         * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
4954
4955 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
4956
4957         * gdb.python/py-value.cc: Add test case for testing the
4958         methodology exposing C++ values to Python.
4959         * gdb.python/py-value-cc.exp: Add tests testing the methodology
4960         exposing C++ values to Python.
4961         * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
4962
4963 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4964             Siddhesh Poyarekar  <siddhesh@redhat.com>
4965
4966         * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
4967         * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
4968         (generate native core dump): Make the test unsupported if core cannot
4969         be generated.
4970
4971 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4972
4973         * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
4974         for cmdarg_vec = NULL.  Remove entries for cmdsize = 1, cmdarg = and
4975         ncmd = 0.  New entry for VEC_cleanup cmdarg_s.
4976
4977 2012-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4978
4979         * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
4980
4981 2012-03-17  Doug Evans  <dje@google.com>
4982
4983         * dg-extract-results.sh: Handle KFAILs.
4984
4985 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4986
4987         PR symtab/13777
4988         * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
4989
4990 2012-03-16  Joel Brobecker  <brobecker@adacore.com>
4991
4992         * gdb.ada/set_pckd_arr_elt: New testcase.
4993
4994 2012-03-16  Gary Benson  <gbenson@redhat.com>
4995
4996         PR breakpoints/10738
4997         * gdb.opt/inline-break.exp: New file.
4998         * gdb.opt/inline-break.c: Likewise.
4999         * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5000         * gdb.dwarf2/dw2-inline-break.S: Likewise.
5001         * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5002         * gdb.base/async-shell.exp: Likewise.
5003         * lib/mi-support.exp (library_loaded_re): Likewise.
5004
5005 2012-03-15  Tom Tromey  <tromey@redhat.com>
5006
5007         * gdb.cp/virtfunc2.exp: Update expected output.
5008         * gdb.cp/pr9631.exp: Update expected output.
5009         * gdb.cp/member-ptr.exp: Update expected output.
5010         * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5011         output.
5012         * gdb.cp/casts.exp: Update expected output.
5013
5014 2012-03-15  Tom Tromey  <tromey@redhat.com>
5015
5016         * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5017         (test_info_vtbl): Likewise.
5018         (do_tests): Call test_info_vtbl.
5019         * gdb.cp/virtfunc.cc (va): New global.
5020
5021 2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5022
5023         * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5024         describing DWARF data structures.
5025         * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5026         * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5027         * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5028         * gdb.dwarf2/dw2-entry-value.S: Likewise.
5029         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5030         * gdb.dwarf2/dw2-param-error.S: Likewise.
5031         * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5032         * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5033         * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5034         * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5035         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5036         * gdb.dwarf2/pr11465.S: Likewise.
5037
5038 2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5039
5040         * gdb.mi/mi2-prompt.exp: New file.
5041
5042 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
5043
5044         * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5045
5046 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
5047
5048         * gdb.ada/bp_range_type: New testcase.
5049
5050 2012-03-13  Doug Evans  <dje@google.com>
5051
5052         * gdb.base/default.exp: Delete tests for symbol-reloading.
5053         * gdb.base/help.exp: Ditto.
5054         * gdb.base/setshow.exp: Ditto.
5055         * gdb.base/gdb_history: Delete references to symbol-reloading.
5056
5057 2012-03-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5058
5059         * gdb.base/attach-twice.c: New files.
5060         * gdb.base/attach-twice.exp: New files.
5061
5062 2012-03-08  Keith Seitz  <keiths@redhat.com>
5063
5064         * lib/gdb.exp (gdb_get_line_number): Throw an
5065         error instead of returning -1.
5066         * gdb.base/break.exp: Remove unused variable
5067         bp_location5.
5068         * gdb.base/hbreak2.exp: Likewise.
5069         * gdb.base/sepdebug.exp: Likewise.
5070
5071 2012-03-08  Yao Qi  <yao@codesourcery.com>
5072             Pedro Alves  <palves@redhat.com>
5073
5074         Fix PR server/13392.
5075         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5076         (tracepoint_change_loc_2): Remove kfail.  Return if failed to
5077         download tracepoints.
5078         * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5079         (pending_tracepoint_resolved_during_trace): Likewise.
5080         (pending_tracepoint_installed_during_trace): Likewise.
5081         (pending_tracepoint_with_action_resolved): Likewise.
5082
5083 2012-03-08  Keith Seitz  <keiths@redhat.com>
5084
5085         * gdb.ada/array_bounds.exp: Get breakpoint for line
5086         with "START", not "STOP".
5087         * gdb.python/py-infthread.exp: Do not continue to
5088         line marked "Break here.", which is undefined.
5089
5090 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
5091
5092         Revert:
5093
5094         2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5095
5096         Implement testsuite workaround for PR breakpoints/13781.
5097         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5098         (set breakpoint condition-evaluation host): New conditional command.
5099
5100 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5101
5102         Fix CU relative vs. absolute DIE offsets.
5103         * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5104         one.
5105
5106 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5107
5108         Fix false FAIL on distros with relro linkage as default.
5109         * gdb.reverse/solib-precsave.exp: Try to compile the test using
5110         -Wl,-z,norelro first.
5111
5112 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
5113
5114         * gdb.ada/bp_on_var: New testcase.
5115
5116 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
5117
5118         * gdb.ada/bp_enum_homonym: New testcase.
5119
5120 2012-03-06  Yao Qi  <yao@codesourcery.com>
5121
5122         * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5123         x86_64-*-* and i?86-*-*.
5124         Set up KFAIL for gdb/13808.
5125
5126 2012-03-05  Tom Tromey  <tromey@redhat.com>
5127
5128         * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5129         * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5130
5131 2012-03-05  Tom Tromey  <tromey@redhat.com>
5132
5133         * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5134
5135 2012-03-04  Yao Qi  <yao@codesourcery.com>
5136
5137         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5138         messages for KFAIL.
5139
5140 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5141
5142         * gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
5143         (print one_two_three, indexes off, print few_reps, indexes off)
5144         (print many_reps, indexes off, print empty, indexes off)
5145         (print one_two_three, print few_reps, print many_reps, print empty):
5146         Call setup_xfail if $gcc_old.
5147
5148 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5149
5150         Implement testsuite workaround for PR breakpoints/13781.
5151         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5152         (set breakpoint condition-evaluation host): New conditional command.
5153
5154 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5155
5156         Code cleanup.
5157         * gdb.cp/mb-templates.exp: New variables executable.  Use it for
5158         binfile.  use clean_restart.  Replace gdb_expect by gdb_test_multiple.
5159         Replace GDB restart by kill and delete_breakpoints.  Replace breakpoint
5160         number 1 by $bpnum.  Four times.
5161
5162 2012-03-03  Yao Qi  <yao@codesourcery.com>
5163
5164         * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5165
5166 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5167
5168         Setup KFAIL for PR server/13796.
5169         * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5170
5171 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
5172
5173         * gdb.ada/operator_bp: New testcase.
5174
5175 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
5176
5177         * gdb.ada/info_locals_renaming: New testcase.
5178
5179 2012-03-02  Tom Tromey  <tromey@redhat.com>
5180
5181         * gdb.base/nextoverexit.c: New file.
5182         * gdb.base/nextoverexit.exp: New file.
5183
5184 2012-03-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5185
5186         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5187         parameter.
5188
5189 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
5190
5191         * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5192         core registers.
5193
5194 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
5195             Maciej W. Rozycki  <macro@codesourcery.com>
5196             Daniel Jacobowitz  <dan@codesourcery.com>
5197
5198         * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5199
5200 2012-03-01  Pedro Alves  <palves@redhat.com>
5201
5202         PR gdb/13767
5203
5204         * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5205         (gdb_collect_globals_test): Call it.
5206
5207 2012-03-01  Keith Seitz  <keiths@redhat.com>
5208
5209         * gdb.cp/method2.exp: Output of overload menu is now
5210         alphabetized.  Update tests for "break A::method".
5211         * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5212         of hard-coding them.
5213         Overload menu is alphabetized: rewrite to accommodate.
5214         Unset variables LINE and TYPES which are used in other tests.
5215         Compute the output of "info break".
5216         Update the breakpoint table after all breakpoints are deleted.
5217         (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5218         compute ACTUALS and the method body based on parameters.
5219         Update expected output accordingly.
5220         * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5221         unique comments to allow the use of gdb_get_line_number.
5222
5223 2012-03-01  Keith Seitz  <keiths@redhat.com>
5224
5225         * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5226         some Tcl syntax.
5227         * gdb.cp/ovldbreak.exp: Likewise.
5228
5229 2012-03-01  Keith Seitz  <keiths@redhat.com>
5230
5231         * gdb.base/help.exp (help show user): Update expected result
5232         for new doc string changes (add "non-python").
5233
5234 2012-03-01  Scott J. Goldman <scottjg@vmware.com>
5235
5236         * gdb.python/py-cmd.exp: Add test to verify that python commands can
5237         be put in the user-defined category and that the commands appear in
5238         "help user-defined".
5239
5240 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5241
5242         * gdb.ada/tagged_not_init: New testcase.
5243
5244 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5245
5246         * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5247         * gdb.ada/enum_idx_packed: New testcase.
5248
5249 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5250
5251         * gdb.ada/aliased_array: New testcase.
5252
5253 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5254
5255         * gdb.ada/whatis_array_val: New testcase.
5256
5257 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5258
5259         Fix disp-step-syscall.exp: fork: single step over fork.
5260         * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5261         whitespaces.
5262         (single step over $syscall): Remove its check.
5263         (single step over $syscall final pc): New check.
5264
5265 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5266
5267         Support processors without SSSE3.
5268         * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5269         pabsd into ...
5270         (ssse3_test): ... a new function.
5271         (main): Call ssse3_test.
5272         * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5273         Update expected values everywhere.
5274         (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5275         (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5276         (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5277         (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5278         (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5279         (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5280         Move these tests lower.
5281         (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5282         (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5283         (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5284         New tests.
5285
5286 2012-02-29  Yao Qi  <yao@codesourcery.com>
5287             Pedro Alves  <palves@redhat.com>
5288
5289         * gdb.trace/trace-mt.c: New.
5290         * gdb.trace/trace-mt.exp: New.
5291
5292 2012-02-28  Thomas Schwinge  <thomas@codesourcery.com>
5293
5294         * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5295         numbers instead of hardcoding them.
5296         * gdb.base/annota1.c: Provide suitable markers.
5297         * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5298         numbers instead of hardcoding them.
5299         * gdb.base/annota3.c: Provide suitable markers.
5300
5301         * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5302         * gdb.base/annota3.c: Likewise.
5303         * gdb.base/sigall.c: Likewise.
5304         * gdb.base/signals.c: Likewise.
5305         * gdb.reverse/sigall-reverse.c: Likewise.
5306
5307 2012-02-27  Maciej W. Rozycki  <macro@codesourcery.com>
5308
5309         * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5310         failure return path.
5311
5312 2012-02-27  Luis Machado  <lgustavo@codesourcery.com>
5313
5314         * gdb.base/save-bp.exp: Account for new condition evaluator output.
5315
5316 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
5317
5318         * gdb.base/cond-eval-mode.exp: New file.
5319
5320 2012-02-24  Pedro Alves  <palves@redhat.com>
5321
5322         * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5323         (top level): Use with_test_prefix.
5324
5325 2012-02-24  Pedro Alves  <palves@redhat.com>
5326
5327         * gdb.threads/attach-into-signal.exp (corefunc): Use
5328         with_test_prefix.
5329
5330 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5331
5332         Fix false FAILs on old CPUs without SSE.
5333         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5334         Return untested for Illegal instruction.
5335
5336 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5337
5338         Fix false FAILs with glibc debug infos installed.
5339         * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5340         * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5341
5342 2012-02-22  Sterling Augustine  <saugustine@google.com>
5343
5344         * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5345         constant with cast.
5346
5347 2012-02-21  Pedro Alves  <palves@redhat.com>
5348
5349         * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5350
5351 2012-02-21  Pedro Alves  <palves@redhat.com>
5352
5353         * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5354
5355 2012-02-21  Pedro Alves  <palves@redhat.com>
5356
5357         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5358         with_test_prefix.
5359
5360 2012-02-21  Pedro Alves  <palves@redhat.com>
5361
5362         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5363         with_test_prefix here.
5364         (top level): Do it here instead.  Remove `:' from the
5365         with_test_prefix string.
5366         * gdb.base/attach-pie-misread.exp: Remove the leading space the
5367         the suffix `:' from the with_test_prefix prefix string.
5368         * gdb.base/break-interp.exp: Ditto.
5369         * gdb.base/catch-load.exp: Ditto.
5370         * gdb.base/disp-step-syscall.exp: Ditto.
5371         * gdb.base/jit-so.exp: Ditto.
5372         * gdb.base/jit.exp: Ditto.
5373         * gdb.base/sepdebug.exp: Ditto.
5374         * gdb.base/solib-display.exp: Ditto.
5375         * gdb.base/solib-overlap.exp: Ditto.
5376         * gdb.base/watch-cond-infcall.exp: Ditto.
5377         * gdb.base/watchpoint.exp: Ditto.
5378         * gdb.dwarf2/dw2-noloc.exp: Ditto.
5379         * gdb.mi/mi-watch.exp: Ditto.
5380         * gdb.mi/mi2-watch.exp: Ditto.
5381         * gdb.threads/non-ldr-exc-1.exp: Ditto.
5382         * gdb.threads/non-ldr-exc-2.exp: Ditto.
5383         * gdb.threads/non-ldr-exc-3.exp: Ditto.
5384         * gdb.threads/non-ldr-exc-4.exp: Ditto.
5385         * gdb.threads/watchpoint-fork.exp: Ditto.
5386         * gdb.threads/watchthreads-reorder.exp: Ditto.
5387         * gdb.trace/change-loc.exp: Ditto.
5388         * gdb.trace/pending.exp: Ditto.
5389         * gdb.trace/status-stop.exp: Ditto.
5390         * gdb.trace/strace.exp: Ditto.
5391         * gdb.trace/trace-break.exp: Ditto.
5392         * gdb.trace/unavailable.exp: Ditto.
5393         * lib/gdb.exp (with_test_prefix): Always prefix with space and
5394         suffix with colon.  Adjust leading comments.
5395
5396 2012-02-21  Pedro Alves  <palves@redhat.com>
5397             Tom Tromey  <tromey@redhat.com>
5398
5399         * lib/gdb.exp: Add description of test prefixes.
5400         (with_test_prefix): New procedure.
5401         * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5402         * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5403         * gdb.base/break-interp.exp: Use with_test_prefix.  Use append
5404         instead of lappend to append to pf_prefix.
5405         * gdb.base/catch-load.exp: Use with_test_prefix.
5406         * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5407         * gdb.base/jit-so.exp: Use with_test_prefix.
5408         * gdb.base/jit.exp: Use with_test_prefix.
5409         * gdb.base/return-nodebug.exp (do_test): Use append instead of
5410         lappend to append to pf_prefix.
5411         * gdb.base/sepdebug.exp: Use with_test_prefix.
5412         * gdb.base/solib-display.exp: Use with_test_prefix.
5413         * gdb.base/solib-overlap.exp: Use with_test_prefix.
5414         * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5415         * gdb.base/watchpoint.exp: Use with_test_prefix.
5416         * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5417         * gdb.mi/mi-watch.exp: Use with_test_prefix.
5418         * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5419         * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5420         * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5421         * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5422         * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5423         * gdb.threads/watchpoint-fork.exp: Use with_test_prefix.  Use
5424         append instead of lappend to append to pf_prefix.
5425         * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5426         * gdb.trace/change-loc.exp: Use with_test_prefix.
5427         * gdb.trace/pending.exp: Use with_test_prefix.
5428         * gdb.trace/status-stop.exp: Use with_test_prefix.
5429         * gdb.trace/strace.exp: Use with_test_prefix.
5430         * gdb.trace/trace-break.exp: Use with_test_prefix.
5431         * gdb.trace/unavailable.exp: Use with_test_prefix.  Use append
5432         instead of lappend to append to pf_prefix.
5433
5434 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5435
5436         Fix racy FAILs.
5437         * gdb.base/inferior-died.c (main): Add return of 0.
5438         * gdb.base/inferior-died.exp (continue): Fix expectation of
5439         asynchronous events.
5440         (p 1): New test.
5441
5442 2012-02-20  Pedro Alves  <palves@redhat.com>
5443
5444         * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5445         lin-lwp output.  Set SIGALRM to stop.  Adjust tests to not rely on
5446         gdb's internal debug output.  For the non-threaded case, look for
5447         "Program received signal SIGLARM", for the threaded case, peek at
5448         the thread's siginfo.
5449
5450 2012-02-20  Pedro Alves  <palves@redhat.com>
5451
5452         General cleanup, make output test messages unique, and build
5453         different executable files for the non-threaded and threaded
5454         cases.
5455
5456         * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5457         Delete.
5458         (executable_nothr, executable_thr): New globals.
5459         (top level): Adjust to delete both executables.
5460         (corefunc): New parameter $executable.  Set $pf_prefix instead of
5461         hand writing a prefix in tests.  Issue a clean_restart and enable
5462         lin-lwp debug output here.
5463         (top level): Adjust.  Use build_executable.  Don't start gdb here,
5464         and don't enable lin-lwp debug output here.
5465         * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5466
5467 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5468
5469         Fix racy FAILs.
5470         * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5471         "continue" command.
5472
5473 2012-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5474
5475         Fix for gdbserver non-extended mode.
5476         * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5477         and gdb_run_cmd.
5478
5479 2012-02-17  Tom Tromey  <tromey@redhat.com>
5480
5481         * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5482         * gdb.python/py-events.exp: Check 'dir' output.
5483         * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5484
5485 2012-02-17  Yao Qi  <yao@codesourcery.com>
5486
5487         * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5488
5489 2012-02-16  Tom Tromey  <tromey@redhat.com>
5490
5491         * gdb.base/inferior-died.c: Don't include stdio.h.
5492
5493 2012-02-16  Tom Tromey  <tromey@redhat.com>
5494
5495         * gdb.base/inferior-died.c: New file.
5496         * gdb.base/inferior-died.exp: New file.
5497
5498 2012-02-15  Aleksandar Ristovski  <aristovski@qnx.com>
5499
5500         * gdb.base/break-inline.exp: New file.
5501         * gdb.base/break-inline.c: New file.
5502
5503 2012-02-15  Tom Tromey  <tromey@redhat.com>
5504
5505         * gdb.base/pc-fp.exp: Add "info register" tests.
5506
5507 2012-02-15  Tom Tromey  <tromey@redhat.com>
5508
5509         * gdb.base/regs.exp: Remove.
5510
5511 2012-02-15  Pedro Alves  <palves@redhat.com>
5512
5513         * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5514         the target doesn't support tracepoints.
5515         * gdb.trace/circ.exp: Ditto.
5516         * gdb.trace/collection.exp: Ditto.
5517         * gdb.trace/packetlen.exp: Ditto.
5518         * gdb.trace/passc-dyn.exp: Ditto.
5519         * gdb.trace/report.exp: Ditto.
5520         * gdb.trace/tfind.exp: Ditto.
5521         * gdb.trace/tspeed.exp: Ditto.
5522         * gdb.trace/tsv.exp: Ditto.
5523         * gdb.trace/unavailable.exp: Ditto.
5524         * gdb.trace/while-dyn.exp: Ditto.
5525
5526 2012-02-15  Pedro Alves  <palves@redhat.com>
5527
5528         * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5529         gdb_test_multiple, and call unsupported instead of fail, if the
5530         remote side does not support the request.
5531
5532 2012-02-15  Pedro Alves  <palves@redhat.com>
5533
5534         * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5535         * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5536         * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5537         * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5538         * gdb.server/server-run.exp: Make sure gdb is disconnected.
5539         * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5540         prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5541         doesn't start with "extended-" already.
5542
5543 2012-02-15  Pedro Alves  <palves@redhat.com>
5544
5545         Support extended-remote.  Avoid cascading timeouts.
5546
5547         * gdb.base/attach.exp (do_attach_tests): Add expected output for
5548         the extended-remote target.  If attaching with no file fails, load
5549         the file manually.
5550         * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5551
5552 2012-02-14  Stan Shebs  <stan@codesourcery.com>
5553
5554         * gdb.base/ena-dis-br.exp: Add enable count test.
5555
5556 2012-02-13  Pedro Alves  <palves@redhat.com>
5557
5558         * config/mips-idt.exp: Delete.
5559         * gdb.base/a2-run.exp: Remove mips-idt xfails.
5560         * gdb.base/bitfields.exp: Remove mips-idt restarts.
5561         * gdb.base/break.exp: Remove mips-idt references.
5562         * gdb.base/chng-syms.exp: Ditto.
5563         * gdb.base/default.exp: Ditto.
5564         * gdb.base/funcargs.exp (funcargs_reload): Delete.
5565         (top level): Don't call it.
5566         * gdb.base/opaque.exp: Remove mips-idt restarts.
5567         * gdb.base/ptype.exp: Remove mips-idt xfails.
5568         * gdb.base/scope.exp: Remove mips-idt restarts.
5569         * gdb.base/sepdebug.exp: Remove mips-idt references.
5570         * gdb.base/watchpoint.exp (maybe_clean_restart)
5571         (maybe_reinitialize): Delete.
5572         (test_disabling_watchpoints, test_disabling_watchpoints)
5573         (test_watchpoint_triggered_in_syscall)
5574         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5575         Don't call them.
5576
5577 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5578
5579         * gdb.server/server-exec-info.exp: New file.
5580
5581 2012-02-10  Pedro Alves  <palves@redhat.com>
5582
5583         * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5584         always non-empty.
5585         (test_attach): Always pass $exec to test_attach_gdb.
5586
5587 2012-02-08  Tom Tromey  <tromey@redhat.com>
5588
5589         * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5590         before inferior is started.
5591
5592 2012-02-07  Tom Tromey  <tromey@redhat.com>
5593
5594         * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5595         Symbol.value.
5596         * gdb.python/py-symbol.c (qq): Set default value.
5597
5598 2012-02-07  Tom Tromey  <tromey@redhat.com>
5599
5600         * gdb.python/py-symbol.c (qq): New global.
5601         * gdb.python/py-symbol.exp: Add test for frame-less
5602         lookup_symbol.
5603         * gdb.python/py-symtab.exp: Fix line number.
5604
5605 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
5606
5607         * gdb.ada/mi_task_arg: New testcase.
5608
5609 2012-02-02  Pedro Alves  <palves@redhat.com>
5610
5611         * gdb.reverse/until-precsave.exp: Also put "record save" under the
5612         extended timeout.
5613
5614 2012-02-02  Pedro Alves  <palves@redhat.com>
5615
5616         * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5617         * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5618
5619 2012-02-02  Pedro Alves  <palves@redhat.com>
5620
5621         * gdb.base/term.exp: Rewrite.
5622         * gdb.base/term.c: New.
5623
5624 2012-02-02  Pedro Alves  <palves@redhat.com>
5625
5626         * gdb.base/default.exp (run "r" abbreviation, run): Add
5627         extended-remote expected output.
5628
5629 2012-02-02  Tom Tromey  <tromey@redhat.com>
5630
5631         * gdb.cp/dispcxx.exp: New file.
5632         * gdb.cp/dispcxx.cc: New file.
5633
5634 2012-02-01  Tom Tromey  <tromey@redhat.com>
5635
5636         * gdb.base/jit-simple.exp: New file.
5637         * gdb.base/jit-simple.c: New file.
5638
5639 2012-01-30  Yao Qi  <yao@codesourcery.com>
5640
5641         * gdb.base/skip.exp: Make test result unique.
5642
5643 2012-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5644
5645         * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5646         compatibility with valgrind-3.7.0.
5647
5648 2012-01-27  Pedro Alves  <palves@redhat.com>
5649
5650         * gdb.base/watchpoint.exp (no_hw): New global.
5651         (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5652         disable hw watchpoints.
5653         (test_wide_location_1, test_wide_location_2): If no_hw is set,
5654         don't expect hw watchpoints.
5655         (no_hw_watchpoints): Always clean restart.
5656         (do_tests): New procedure, factored out from the top level.
5657         (top level): Run tests twice.  Once with hw watchpoints enabled,
5658         another time with hw watchpoints disabled.
5659
5660 2012-01-27  Pedro Alves  <palves@redhat.com>
5661
5662         * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5663         out from the top level.
5664         (top level): Call it instead.
5665
5666 2012-01-27  Pedro Alves  <palves@redhat.com>
5667
5668         * gdb.base/watchpoint.exp (top level): Re-enable hardware
5669         watchpoints sooner.
5670
5671 2012-01-27  Pedro Alves  <palves@redhat.com>
5672
5673         * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5674
5675 2012-01-27  Pedro Alves  <palves@redhat.com>
5676
5677         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5678         "You may have requested too many hardware
5679         breakpoints/watchpoints".
5680
5681 2012-01-27  Pedro Alves  <palves@redhat.com>
5682
5683         * gdb.base/watchpoint.exp (maybe_clean_restart)
5684         (maybe_reinitialize): New.
5685         (test_disabling_watchpoints): Call maybe_reinitialize.  Don't
5686         expect "hit N times".
5687         (test_disabling_watchpoints, test_complex_watchpoint)
5688         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5689         Call maybe_clean_restart.
5690         (top level): Use clean_restart.  Remove "mips-idt-*"
5691         reinitialization.
5692
5693 2012-01-27  Pedro Alves  <palves@redhat.com>
5694
5695         * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5696
5697 2012-01-27  Pedro Alves  <palves@redhat.com>
5698
5699         * gdb.base/watchpoint.exp: Clean restart after tests that don't
5700         require `initialize' anymore.  Remove unnecessary `initialize'
5701         calls.
5702
5703 2012-01-27  Pedro Alves  <palves@redhat.com>
5704
5705         * gdb.base/watchpoint.exp (wp_set): Delete.
5706         (initialize, test_simple_watchpoint, top level): Remove dead code.
5707
5708 2012-01-27  Pedro Alves  <palves@redhat.com>
5709
5710         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5711         typo.
5712
5713 2012-01-27  Pedro Alves  <palves@redhat.com>
5714
5715         * config/extended-gdbserver.exp: New file.
5716         * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5717         comment.
5718         (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5719         * boards/native-extended-gdbserver.exp: New file.
5720
5721 2012-01-26  Pedro Alves  <palves@redhat.com>
5722
5723         * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5724         and gdb_test_multiple.
5725
5726 2012-01-26  Pedro Alves  <palves@redhat.com>
5727
5728         Make test messages unique, and more identifiable.
5729         * gdb.multi/watchpoint-multi.exp: Change test messages.
5730
5731 2012-01-25  Tom Tromey  <tromey@redhat.com>
5732
5733         * gdb.base/solib-disc.exp: Fix regexps.
5734
5735 2012-01-24  Tom Tromey  <tromey@redhat.com>
5736
5737         * lib/mi-support.exp (mi_expect_stop): Add special case for
5738         solib-event.
5739         * gdb.base/catch-load-so.c: New file.
5740         * gdb.base/catch-load.exp: New file.
5741         * gdb.base/catch-load.c: New file.
5742         * gdb.base/break-interp.exp (reach_1): Update regexp.
5743
5744 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5745
5746         Fix fuzzy results.
5747         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5748         lpsimple and func.
5749
5750 2012-01-24  Gary Benson  <gbenson@redhat.com>
5751
5752         Delete #if 0'd out code.
5753         * gdb.base/default.exp (info catch): Remove.
5754         * gdb.base/gdb_history (info catch): Likewise.
5755         * gdb.base/help.exp (info catch): Likewise.
5756
5757 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5758
5759         Fix watchpoints to be specific for each inferior.
5760         * gdb.multi/watchpoint-multi.c: New file.
5761         * gdb.multi/watchpoint-multi.exp: New file.
5762
5763 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5764
5765         Fix watchpoints across inferior fork.
5766         * gdb.threads/watchpoint-fork-child.c: New file.
5767         * gdb.threads/watchpoint-fork-mt.c: New file.
5768         * gdb.threads/watchpoint-fork-parent.c: New file.
5769         * gdb.threads/watchpoint-fork-st.c: New file.
5770         * gdb.threads/watchpoint-fork.exp: New file.
5771         * gdb.threads/watchpoint-fork.h: New file.
5772
5773 2012-01-23  Pedro Alves  <palves@redhat.com>
5774
5775         * gdb.base/call-signal-resume.exp: Allow output after "return".
5776
5777 2012-01-20  Pedro Alves  <palves@redhat.com>
5778
5779         * gdb.python/py-finish-breakpoint.py: Fix typo.
5780
5781 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
5782
5783         * gdb.base/info-proc.exp: Also run on remote targets.  Main
5784         "info proc" command is now always present; whether target supports
5785         actual info proc operation is detected when attempting to issue
5786         the command.
5787
5788 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5789
5790         * .gdbinit: Remove.
5791
5792 2012-01-19  Pedro Alves  <palves@redhat.com>
5793
5794         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5795         look at the funtions' returns.
5796         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5797         (jprint.print(int, int)): Change return type to int.  Adjust.
5798
5799 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5800
5801         PR gdb/9538
5802         * gdb.base/sepdebug.exp: New test.
5803
5804 2012-01-18  Pedro Alves  <palves@redhat.com>
5805
5806         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5807         Allow output before ^done.
5808
5809 2012-01-16  Tom Tromey  <tromey@redhat.com>
5810
5811         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5812         Add tests for relative directory.
5813
5814 2012-01-16  Tom Tromey  <tromey@redhat.com>
5815
5816         * gdb.base/printcmds.c (enum flag_enum): New.
5817         (three): New global.
5818         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5819         enum printing.
5820         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5821         FlagEnumerationPrinter.
5822         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5823         * gdb.python/py-pp-maint.c (enum flag_enum): New.
5824         (fval): New global.
5825
5826 2012-01-16  Pedro Alves  <palves@redhat.com>
5827
5828         * lib/gdb.exp (banned_procedures): New variable.
5829         (banned_variables_traced): Rename to ...
5830         (banned_traced): ... this.
5831         (gdb_init): Also trace banned procedures.
5832         (gdb_finish): Also untrace banned procedures.
5833
5834 2012-01-16  Pedro Alves  <palves@redhat.com>
5835
5836         Remove all calls to strace.
5837
5838 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5839
5840         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5841         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5842
5843 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
5844
5845         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5846         * gdb.base/pie-execl.exp: Likewise.
5847
5848 2012-01-12  Keith Seitz  <keiths@redhat.com>
5849
5850         PR mi/10586
5851         * gdb.mi/var-cmd.c (struct anonymous): New structure.
5852         (do_anonymous_type_tests): New function.
5853         (main): Call do_anonymous_type_tests.
5854         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5855         (verify_everything): New procedure.
5856         * gdb.mi/mi-var-cp.cc (class A): New class.
5857         (anonymous_structs_and_unions): New function.
5858         (main): Call anonymous_structs_and_unions.
5859         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5860         (verify_everything): New procedure.
5861
5862 2012-01-12  Keith Seitz  <keiths@redhat.com>
5863
5864         * lib/mi-support.exp: Expand comments about PATH_EXPR.
5865         (varobj_tree::get_path_expr): Assume that all varobjs are
5866         compound unless they are known simple types.
5867         Adjust path expressions based on parent type, path parent type,
5868         and tree language.
5869         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5870         the root varobj.
5871         (mi_walk_varobj_tree): Add LANGUAGE parameter.
5872
5873 2012-01-11  Pedro Alves  <palves@redhat.com>
5874
5875         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5876         core files on this machine" anymore.
5877
5878 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
5879
5880         * gdb.base/watchpoint.c (recurser): Initialize local_x.
5881         (main): Repeat recurser call.
5882         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5883         equivalent to 'local_x'.
5884
5885 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
5886             Joel Brobecker <brobecker@adacore.com>
5887
5888         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5889
5890 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
5891
5892         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5893         * gdb.python/py-events.c (first): Add bits for new "step N" test.
5894         * gdb.python/py-events.exp: Test that "step N" tripping on a
5895         breakpoint emits a breakpoint event.
5896
5897 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
5898
5899         * gdb.base/auxv.exp: Reformat the copyright notice.
5900
5901 2012-01-03  Yao Qi  <yao@codesourcery.com>
5902
5903         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5904         (strace_trace_on_diff_addr): New.
5905         * gdb.trace/strace.c: (main): Add two local variables.
5906
5907 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
5908
5909         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5910         * gdb.cell/gcore.exp: Likewise.
5911         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5912         to verify the correct instance of main is selected.
5913
5914 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
5915
5916         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5917         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5918         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5919         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5920         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5921         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5922         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5923         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5924         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5925         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5926         gdb.threads/thread_check.c: Reformat copyright header.
5927
5928 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5929
5930         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
5931         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5932         is not enabled.
5933
5934 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5935
5936         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5937         parameter to self_exec, adjust the function.
5938         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
5939         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5940         (set var do_exit = 0): Remove test.
5941         (newline at end of file): Add one.
5942
5943 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
5944
5945         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5946         New files.
5947
5948 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5949
5950         Fix racy FAILs.
5951         * gdb.threads/fork-thread-pending.c (barrier): New variable.
5952         (thread_function, thread_forker): Call pthread_barrier_wait for it.
5953         (main): Call pthread_barrier_init for it.
5954
5955 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5956
5957         Fix double send_gdb leading to racy FAILs.
5958         * gdb.base/break.exp (set silent break bp_location1): Replace
5959         3x send_gdb and gdb_expect by gdb_test.
5960         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
5961         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
5962         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
5963         instead of send_gdb.  Twice.
5964         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
5965         3x send_gdb and gdb_expect by gdb_test.
5966         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
5967
5968 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5969
5970         * gdb.linespec/linespec.exp: Compile using {c++}.
5971
5972 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5973
5974         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
5975         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
5976         (verify GCC PR debug/51668): New test.
5977
5978 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
5979
5980         Introduce gdb.FinishBreakpoint in Python.
5981         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
5982         py-finish-breakpoint2
5983         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
5984         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
5985         instead of line number.
5986         * gdb.python/py-finish-breakpoint.c: New file.
5987         * gdb.python/py-finish-breakpoint.exp: New file.
5988         * gdb.python/py-finish-breakpoint.py: New file.
5989         * gdb.python/py-finish-breakpoint2.cc: New file.
5990         * gdb.python/py-finish-breakpoint2.exp: New file.
5991         * gdb.python/py-finish-breakpoint2.py: New file.
5992
5993 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5994
5995         Partial fix of compatibility with gcc-4.7.
5996         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
5997         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
5998         Add comment to add a PASS case in the future.
5999
6000         Fix compatibility with gcc-4.7.
6001         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6002
6003 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
6004
6005         PR tdep/12797
6006         * gdb.base/callfuncs.exp: Remove KFAIL.
6007
6008 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
6009
6010         * gdb.ada/task_bp: New testcase.
6011
6012 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6013
6014         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6015         -DNO_SECTIONS.
6016         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6017
6018 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6019
6020         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6021         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6022         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6023         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
6024         conditional for gcc <= 4.5.
6025
6026 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6027
6028         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6029         by XFAIL.
6030         * gdb.cp/static-method.exp (info addr A::func())
6031         (list static-method.cc:xxx::(anonymous namespace)::A::func)
6032         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6033         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6034         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6035         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6036         (test value of F in k3_m): Likewise.
6037         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6038         Likewise.
6039
6040 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6041
6042         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6043         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6044         Remove.
6045         * gdb.threads/attachstop-mt.c: Remove.
6046         * gdb.threads/attachstop-mt.exp: Remove.
6047
6048 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
6049
6050         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6051
6052 2011-12-16  Doug Evans  <dje@google.com>
6053
6054         * boards/native-stdio-gdbserver.exp: New file.
6055         * boards/native-gdbserver.exp: New file.
6056
6057         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6058         gdbserver output.
6059         (gdbserver_default_get_remote_address): New function.
6060         (gdbserver_start): Call gdb,get_remote_address to compute argument
6061         to "target remote" command.
6062
6063 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
6064
6065         * gdb.python/py-function.exp: Change "on" to "full" for
6066         python print-stack.  Add set/show python print-stack
6067         off|full|message tests.
6068
6069 2011-12-15  Yao Qi  <yao@codesourcery.com>
6070
6071         * gdb.trace/strace.c: New
6072         * gdb.trace/strace.exp: New.
6073
6074 2011-12-14  Tom Tromey  <tromey@redhat.com>
6075
6076         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6077
6078 2011-12-14  Doug Evans  <dje@google.com>
6079
6080         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6081
6082 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
6083
6084         PR threads/10729
6085
6086         * gdb.mi/watch-nonstop.c: New file.
6087         * gdb.mi/mi-watch-nonstop.exp: New file.
6088
6089 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
6090             Doug Evans  <dje@google.com>
6091
6092         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6093         (clean_restart): Remove references to the gdb_stub target board
6094         variable.
6095         (gdb_step_for_stub): Delete.
6096
6097         * gdb.base/annota1.exp: Remove all references to [target_info
6098         exists gdb_stub], gdb_step_for_stub and usestubs.
6099         * gdb.base/annota3.exp: Ditto.
6100         * gdb.base/async.exp: Ditto.
6101         * gdb.base/break.exp: Ditto.
6102         * gdb.base/code-expr.exp: Ditto.
6103         * gdb.base/commands.exp: Ditto.
6104         * gdb.base/completion.exp: Ditto.
6105         * gdb.base/condbreak.exp: Ditto.
6106         * gdb.base/consecutive.exp: Ditto.
6107         * gdb.base/cvexpr.exp: Ditto.
6108         * gdb.base/define.exp: Ditto.
6109         * gdb.base/display.exp: Ditto.
6110         * gdb.base/ena-dis-br.exp: Ditto.
6111         * gdb.base/environ.exp: Ditto.
6112         * gdb.base/gnu-ifunc.exp: Ditto.
6113         * gdb.base/maint.exp: Ditto.
6114         * gdb.base/pending.exp: Ditto.
6115         * gdb.base/sect-cmd.exp: Ditto.
6116         * gdb.base/sepdebug.exp: Ditto.
6117         * gdb.base/unload.exp: Ditto.
6118         * gdb.base/watchpoint-solib.exp: Ditto.
6119         * gdb.cp/annota2.exp: Ditto.
6120         * gdb.cp/annota3.exp: Ditto.
6121         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6122         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6123         * gdb.mi/mi-pending.exp: Ditto.
6124         * gdb.trace/circ.exp: Ditto.
6125         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
6126         * gdb.base/list.exp: Ditto.
6127
6128         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6129         breakpoint function and all references to the usestubs macro.
6130         * gdb.base/exprs.c: Ditto.
6131         * gdb.base/freebpcmd.c: Ditto.
6132         * gdb.base/bitfields.c: Ditto.
6133         * gdb.base/bitfields2.c: Ditto.
6134         * gdb.base/break.c: Ditto.
6135         * gdb.base/call-sc.c: Ditto.
6136         * gdb.base/call-signals.c: Ditto.
6137         * gdb.base/callfuncs.c: Ditto.
6138         * gdb.base/charset.c: Ditto.
6139         * gdb.base/consecutive.c: Ditto.
6140         * gdb.base/constvars.c: Ditto.
6141         * gdb.base/funcargs.c: Ditto.
6142         * gdb.base/int-type.c: Ditto.
6143         * gdb.base/interrupt.c: Ditto.
6144         * gdb.base/langs0.c: Ditto.
6145         * gdb.base/list0.c: Ditto.
6146         * gdb.base/mips_pro.c: Ditto.
6147         * gdb.base/miscexprs.c: Ditto.
6148         * gdb.base/nodebug.c: Ditto.
6149         * gdb.base/opaque0.c: Ditto.
6150         * gdb.base/pointers.c: Ditto.
6151         * gdb.base/printcmds.c: Ditto.
6152         * gdb.base/ptype.c: Ditto.
6153         * gdb.base/recurse.c: Ditto.
6154         * gdb.base/reread1.c: Ditto.
6155         * gdb.base/reread2.c: Ditto.
6156         * gdb.base/restore.c: Ditto.
6157         * gdb.base/return.c: Ditto.
6158         * gdb.base/run.c: Ditto.
6159         * gdb.base/scope0.c: Ditto.
6160         * gdb.base/sepdebug.c: Ditto.
6161         * gdb.base/setshow.c: Ditto.
6162         * gdb.base/setvar.c: Ditto.
6163         * gdb.base/sigall.c: Ditto.
6164         * gdb.base/signals.c: Ditto.
6165         * gdb.base/structs.c: Ditto.
6166         * gdb.base/structs2.c: Ditto.
6167         * gdb.base/testenv.c: Ditto.
6168         * gdb.base/twice.c: Ditto.
6169         * gdb.base/unwindonsignal.c: Ditto.
6170         * gdb.base/watchpoint.c: Ditto.
6171         * gdb.base/watchpoints.c: Ditto.
6172         * gdb.base/whatis.c: Ditto.
6173         * gdb.cp/classes.cc: Ditto.
6174         * gdb.cp/cplusfuncs.cc: Ditto.
6175         * gdb.cp/derivation.cc: Ditto.
6176         * gdb.cp/formatted-ref.cc: Ditto.
6177         * gdb.cp/misc.cc: Ditto.
6178         * gdb.cp/overload.cc: Ditto.
6179         * gdb.cp/ovldbreak.cc: Ditto.
6180         * gdb.cp/ref-params.cc: Ditto.
6181         * gdb.cp/ref-types.cc: Ditto.
6182         * gdb.cp/templates.cc: Ditto.
6183         * gdb.cp/virtfunc.cc: Ditto.
6184         * gdb.hp/gdb.aCC/run.c: Ditto.
6185         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6186         * gdb.hp/gdb.compat/xdb0.c: Ditto.
6187         * gdb.reverse/consecutive-reverse.c: Ditto.
6188         * gdb.reverse/sigall-reverse.c: Ditto.
6189         * gdb.reverse/until-reverse.c: Ditto.
6190         * gdb.reverse/watch-reverse.c: Ditto.
6191         * gdb.trace/actions.c: Ditto.
6192         * gdb.trace/circ.c: Ditto.
6193         * gdb.trace/collection.c: Ditto.
6194
6195 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
6196
6197         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6198         (func6, func7): New.
6199         (main): Call func6 and func7.
6200         * gdb.base/watchpoint.exp (test_wide_location_1)
6201         (test_wide_location_2): New.
6202         (top level): Re-enable hardware watchpoints if necessary.  Call
6203         test_wide_location_1 and test_wide_location_2.
6204
6205 2011-12-11  Yao Qi  <yao@codesourcery.com>
6206
6207         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6208
6209 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
6210
6211         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6212         expected output for unsupported case.
6213
6214 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6215
6216         PR testsuite/12649
6217         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6218         Protect gdb_test_multiple by final $gdb_prompt match.
6219
6220 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6221
6222         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6223         New variable, new test.
6224         (list static-method.cc:xxx::(anonymous namespace)::A::func)
6225         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6226         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6227         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6228         them if HAVE_GCC_45682_FIXED is not set.
6229
6230 2011-12-10  Yao Qi  <yao@codesourcery.com>
6231
6232         * gdb.trace/status-stop.exp: New.
6233         * gdb.trace/status-stop.c: New.
6234
6235 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6236
6237         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6238         timeout.
6239
6240 2011-12-08  Tom Tromey  <tromey@redhat.com>
6241
6242         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6243         condition.
6244
6245 2011-12-07  Stan Shebs  <stan@codesourcery.com>
6246
6247         * gdb.trace/tfind.exp: Update for output changes.
6248
6249 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
6250
6251         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6252         throws "Cannot insert catchpoints in this configuration".
6253         * gdb.ada/mi_catch_ex.exp: Likewise.
6254
6255 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
6256
6257         * gdb.base/break-always.exp: Test changing memory at addresses
6258         with breakpoints inserted.
6259
6260 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
6261
6262         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6263         involving a fully qualified function name.
6264
6265 2011-12-06  Tom Tromey  <tromey@redhat.com>
6266
6267         * gdb.ada/homonym.exp: Add three breakpoint tests.
6268
6269 2011-12-06  Tom Tromey  <tromey@redhat.com>
6270
6271         * gdb.base/solib-weak.exp (do_test): Remove kfail.
6272         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6273         * gdb.objc/objcdecode.exp: Update for output changes.
6274         * gdb.linespec/linespec.exp: New file.
6275         * gdb.linespec/lspec.cc: New file.
6276         * gdb.linespec/lspec.h: New file.
6277         * gdb.linespec/body.h: New file.
6278         * gdb.linespec/base/two/thefile.cc: New file.
6279         * gdb.linespec/base/one/thefile.cc: New file.
6280         * gdb.linespec/Makefile.in: New file.
6281         * gdb.cp/templates.exp (test_template_breakpoints): Update for
6282         output changes.
6283         * gdb.cp/re-set-overloaded.exp: Remove kfail.
6284         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
6285         makes one breakpoint.
6286         * gdb.cp/method2.exp (test_break): Update for output changes.
6287         * gdb.cp/mb-templates.exp: Update for output changes.
6288         * gdb.cp/mb-inline.exp: Update for output changes.
6289         * gdb.cp/mb-ctor.exp: Update for output changes.
6290         * gdb.cp/ovsrch.exp: Use fully-qualified names.
6291         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
6292         has multiple matches.
6293         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
6294         error message change.
6295         * gdb.base/list.exp (test_list_filename_and_number): Update for
6296         error message change.
6297         * gdb.base/break.exp: Disable pending breakpoints.  Update for
6298         output changes.
6299         * configure.ac: Add gdb.linespec.
6300         * configure: Rebuild.
6301         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6302
6303 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
6304
6305         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6306         last_break register on s390*-*-* targets.
6307
6308 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
6309
6310         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6311         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6312         of parameter X in procedure Foo.
6313
6314 2011-12-05  Stan Shebs  <stan@codesourcery.com>
6315
6316         * gdb.trace/tfind.exp: Update help string matches.
6317
6318 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6319
6320         * gdb.server/ext-run.exp (get process list): Accept also systemd
6321         as PID 1.
6322
6323 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6324             Pedro Alves  <pedro@codesourcery.com>
6325
6326         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6327         starting GDB.
6328         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6329         $use_gdb_stub.
6330         * gdb.base/display.exp: Likewise.
6331         * gdb.base/ending-run.exp: Likewise.
6332         * gdb.base/list.exp (test_listsize): Likewise.
6333         * gdb.base/setshow.exp: Likewise.
6334         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6335         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6336         check by global $use_gdb_stub.
6337         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6338         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6339         (default_gdb_init): Unset global $use_gdb_stub.
6340         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6341         by global $use_gdb_stub.
6342         * lib/gdbserver-support.exp: Extend comments for set_board_info
6343         gdb_protocol and gdb,socketport.
6344         (gdbserver_start_extended): Set global gdbserver_protocol and
6345         gdbserver_gdbport.  Clear global use_gdb_stub.
6346         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6347         from target use_gdb_stub.
6348         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6349
6350 2011-12-03  Doug Evans  <dje@google.com>
6351
6352         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6353         (gdb_step_for_stub): Add comments.
6354
6355 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
6356
6357         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6358         to the caller.
6359         (gdb_test_multiple): Likewise.
6360
6361 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6362
6363         Fix gdb.mi/mi-solib.exp without system debug info installed.
6364         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6365         expect attribute, return 0 for it.  Update comments.
6366
6367 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6368
6369         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6370         (corrupted list): Adjust the expectation.
6371
6372 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6373
6374         PR threads/13448
6375         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6376         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6377         * gdb.threads/tls-var-main.c: New file.
6378         * gdb.threads/tls-var.c: New file.
6379         * gdb.threads/tls-var.exp: New file.
6380
6381 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6382
6383         PR testsuite/12649
6384         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6385         Protect gdb_test_multiple by final $gdb_prompt match.
6386         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6387         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6388         (test_tracepoints): Likewise.
6389
6390 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6391
6392         PR breakpoints/13346
6393         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6394         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6395         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6396
6397 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
6398
6399         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6400         * gdb.ada/homonym/homonym.adb: For use of all types defined
6401         locally inside both Get_Value subprograms.
6402
6403 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6404
6405         Fix racy FAILs.
6406         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6407         of send_gdb.
6408
6409 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
6410
6411         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
6412         environment variable after test completed.
6413
6414 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
6415
6416         * gdb.base/solib-nodir.exp: Skip if remote target.
6417         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6418         application.  Call gdb_load_shlibs.
6419         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6420
6421 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
6422
6423         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6424
6425 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
6426
6427         * gdb.ada/fullname_bp: New testcase.
6428
6429 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6430
6431         PR testsuite/12649
6432         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6433         Wrap send_gdb into a new gdb_test.
6434
6435         Code cleanup.
6436         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6437         Convert send_gdb and gdb_expect to gdb_test_multiple.
6438
6439 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6440
6441         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6442
6443 2011-11-23  Keith Seitz  <keiths@redhat.com>
6444
6445         * lib/mi-support.exp (varobj_tree): New namespace and procs.
6446         (mi_varobj_tree_test_children_callback): New proc.
6447         (mi_walk_varobj_tree): New proc.
6448
6449 2011-11-22  Tom Tromey  <tromey@redhat.com>
6450
6451         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6452         Add "use_mi_command" argument.
6453         (mi_run_cmd, mi_run_with_cli): New procs.
6454         * gdb.mi/solib-lib.c: New file.
6455         * gdb.mi/solib-main.c: New file.
6456         * gdb.mi/mi-solib.exp: New file.
6457
6458 2011-11-21  Doug Evans  <dje@google.com>
6459
6460         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6461         _Unwind_DebugHook is missing.
6462
6463 2011-11-20  Stan Shebs  <stan@codesourcery.com>
6464
6465         * gdb.trace/tstatus.exp: New.
6466         * gdb.trace/actions.c: Include string.h.
6467
6468 2011-11-18  Yao Qi  <yao@codesourcery.com>
6469
6470         * gdb.trace/pending.exp: New.
6471         * gdb.trace/pending.c: New.
6472         * gdb.trace/pendshr1.c: New.
6473         * gdb.trace/pendshr2.c: New.
6474         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6475         tracepoint location becomes pending.
6476         (tracepoint_change_loc_2): New.
6477
6478 2011-11-16  David S. Miller  <davem@davemloft.net>
6479
6480         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6481         target is sparc*-*-linux*
6482
6483 2011-11-15  Paul Koning  <paul_koning@dell.com>
6484
6485         * gdb.python/py-type.exp: New testcases for exceptions on scalar
6486         types.
6487
6488 2011-11-14  Doug Evans  <dje@google.com>
6489
6490         * gdb.base/shell.exp: New file.
6491
6492 2011-11-14  Stan Shebs  <stan@codesourcery.com>
6493
6494         * gdb.trace/ftrace.c: New.
6495         * gdb.trace/ftrace.exp: New.
6496
6497 2011-11-14  Yao Qi  <yao@codesourcery.com>
6498
6499         * gdb.trace/change-loc-1.c: New.
6500         * gdb.trace/change-loc-2.c: New.
6501         * gdb.trace/change-loc.c: New.
6502         * gdb.trace/change-loc.exp:  New.
6503         * gdb.trace/change-loc.h:  New.
6504         * gdb.trace/trace-break.c (marker): Define new symbol.
6505         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6506         New.
6507         (break_trace_same_addr_6): New.
6508
6509 2011-11-12  Matt Rice  <ratmice@gmail.com>
6510
6511         * gdb.base/info-macros.exp: Make tests for info definitions
6512         test info macro.  Add tests for info macro argument processing.
6513         Rename a few tests.
6514
6515 2011-11-11  Keith Seitz  <keiths@redhat.com>
6516
6517         PR gdb/12843
6518         * gdb.base/linespecs.exp: New file.
6519
6520 2011-11-11  Doug Evans  <dje@google.com>
6521
6522         * gdb.threads/print-threads.exp: Extend timeout for slower
6523         tests.
6524
6525 2011-11-10  Doug Evans  <dje@google.com>
6526
6527         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6528         "record to end of main" test.
6529
6530         * gdb.python/py-type.c (TS): New typedef.
6531         (ts): New global.
6532         * gdb.python/py-type.exp: Test field list of typedef.
6533
6534 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
6535
6536         * gdb.ada/small_reg_param: New testcase.
6537
6538 2011-11-09  Tom Tromey  <tromey@redhat.com>
6539
6540         * gdb.cp/destrprint.exp: New file.
6541         * gdb.cp/destrprint.cc: New file.
6542
6543 2011-11-08  Meador Inge  <meadori@codesourcery.com>
6544
6545         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6546         (switch_stack_to_other): New test function.
6547         * gdb.arch/thumb-prologue.exp: New test cases.
6548
6549 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
6550
6551         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6552
6553 2011-11-08  Yao Qi  <yao@codesourcery.com>
6554
6555         * gdb.exp (supports_process_record): New.
6556         (supports_reverse): New.
6557         * gdb.reverse/break-precsave.exp: Call support_process_record
6558         to run test conditionally.
6559         * gdb.reverse/consecutive-precsave.exp: Likewise.
6560         * gdb.reverse/i386-precsave.exp: Likewise.
6561         * gdb.reverse/machinestate-precsave.exp: Likewise.
6562         * gdb.reverse/solib-precsave.exp: Likewise.
6563         * gdb.reverse/step-precsave.exp: Likewise.
6564         * gdb.reverse/until-precsave.exp: Likewise.
6565         * gdb.reverse/watch-precsave.exp: Likewise.
6566         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
6567         test conditionally.
6568         * gdb.reverse/consecutive-reverse.exp: Likewise.
6569         * gdb.reverse/finish-precsave.exp: Likewise.
6570         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6571         * gdb.reverse/finish-reverse.exp: Likewise.
6572         * gdb.reverse/i386-reverse.exp: Likewise.
6573         * gdb.reverse/i386-sse-reverse.exp: Likewise.
6574         * gdb.reverse/machinestate.exp: Likewise.
6575         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6576         * gdb.reverse/sigall-precsave.exp: Likewise.
6577         * gdb.reverse/sigall-reverse.exp: Likewise.
6578         * gdb.reverse/solib-reverse.exp: Likewise.
6579         * gdb.reverse/step-reverse.exp: Likewise.
6580         * gdb.reverse/until-reverse.exp: Likewise.
6581         * gdb.reverse/watch-reverse.exp: Likewise.
6582
6583 2011-11-05  Yao Qi  <yao@codesourcery.com>
6584
6585         * gdb.trace/trace-break.exp: Add test on setting two
6586         fast tracepoints at the same address.
6587
6588 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6589
6590         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6591
6592 2011-11-02  Stan Shebs  <stan@codesourcery.com>
6593
6594         * gdb.trace/collection.c: Add code using strings.
6595         * gdb.trace/collection.exp: Add tests of string collection.
6596
6597 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6598
6599         * gdb.base/skip-solib.exp (executable_main): New variable.
6600         (binfile_main): Base it on that.
6601         Use $executable_main in clean_restart calls.  Drop gdb_exit and
6602         gdb_start calls.
6603
6604 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6605
6606         Fix racy FAILs.
6607         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6608         breakpoint_re globals import by async.  Set string_regex to .* for
6609         async.  Remove the optional thread_selected_re and breakpoint_re
6610         globals expectations.
6611
6612 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
6613
6614         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6615         well as Cygwin.
6616
6617 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
6618
6619         Add tests for skip command.
6620         * gdb.base/skip-solib-lib.c: New
6621         * gdb.base/skip-solib-main.c: New
6622         * gdb.base/skip-solib.exp: New
6623         * gdb.base/skip.c: New
6624         * gdb.base/skip.exp: New
6625         * gdb.base/skip1.c: New
6626         * gdb.base/Makefile.in: Adding new files.
6627
6628 2011-10-31  Yao Qi  <yao@codesourcery.com>
6629             Pedro Alves  <pedro@codesourcery.com>
6630
6631         * gdb.trace/trace-break.c: New.
6632         * gdb.trace/trace-break.exp: New.
6633
6634 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6635
6636         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6637         break-here-2.
6638
6639 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
6640
6641         * gdb.threads/no-unwaited-for-left.c: New.
6642         * gdb.threads/no-unwaited-for-left.exp: New.
6643         * gdb.threads/non-ldr-exc-1.c: New.
6644         * gdb.threads/non-ldr-exc-1.exp: New.
6645         * gdb.threads/non-ldr-exc-2.c: New.
6646         * gdb.threads/non-ldr-exc-2.exp: New.
6647         * gdb.threads/non-ldr-exc-3.c: New.
6648         * gdb.threads/non-ldr-exc-3.exp: New.
6649         * gdb.threads/non-ldr-exc-4.c: New.
6650         * gdb.threads/non-ldr-exc-4.exp: New.
6651
6652 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6653
6654         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6655         * gdb.base/attach-pie-misread.exp: Likewise.
6656         * gdb.base/break-interp.exp: Likewise.
6657         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6658         testcases for use_gdb_stub.
6659         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6660         (continue): New testcase.
6661         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6662         * gdb.threads/attach-into-signal.exp: Likewise.
6663         * gdb.threads/attach-stopped.exp: Likewise.
6664         * gdb.threads/attachstop-mt.exp: Likewise.
6665
6666 2011-10-28  Paul Koning  <paul_koning@dell.com>
6667
6668         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6669
6670 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6671
6672         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6673         (mi_gdb_test): Import globals thread_selected_re
6674         and breakpoint_re.  Expect them optionally at the regex start.
6675
6676 2011-10-27  Doug Evans  <dje@google.com>
6677
6678         * gdb.python/python.exp: Test source -s.
6679
6680 2011-10-26  Paul Koning  <paul_koning@dell.com>
6681
6682         * gdb.python/lib-types.cc (struct A): New structure.
6683         * gdb.python/lib-types.exp (deepitems): New tests.
6684
6685 2011-10-25  Paul Koning  <paul_koning@dell.com>
6686
6687         PR python/13327
6688
6689         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6690         fetch_lazy method.
6691
6692 2011-10-24  Yao Qi  <yao@codesourcery.com>
6693
6694         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6695         target is tic6x-*-*.
6696
6697 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
6698
6699         * gdb.ada/mi_task_info/task_switch.adb: New file.
6700         * gdb.ada/mi_task_info.exp: New file.
6701
6702 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
6703
6704         * gdb.cp/expand-psymtabs-cxx.exp: New file.
6705         * gdb.cp/expand-psymtabs-cxx.cc: New file.
6706
6707 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
6708
6709         PR python/12656
6710
6711         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6712         global_block tests.
6713
6714 2011-10-18  Tom Tromey  <tromey@redhat.com>
6715
6716         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6717
6718 2011-10-18  Tom Tromey  <tromey@redhat.com>
6719
6720         * gdb.base/source.exp: Don't include full file name in test name.
6721         * gdb.python/python.exp: Don't include full file name in test
6722         name.
6723
6724 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
6725
6726         * gdb.base/attach-pie-noexec.c: New files.
6727         * gdb.base/attach-pie-noexec.exp: New files.
6728
6729 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
6730
6731         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6732         prompt for each extra line in command.
6733
6734 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
6735
6736         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6737         Revert the part of:
6738         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6739         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6740         Change the expected string.
6741
6742 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6743
6744         Fix results with system glibc debug info installed.
6745         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6746         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6747         Accept also __libc_ symbol prefix and no prefix.
6748
6749 2011-10-14  Keith Seitz  <keiths@redhat.com>
6750
6751         PR c++/13225
6752         * gdb.cp/converts.cc (foo3_1): New function.
6753         (foo3_2): New functions.
6754         * gdb.cp/converts.exp: Add tests for int to pointer conversion
6755         and null pointer conversions of integer constant zero.
6756         Add test to check if all arguments are checked for incompatible
6757         conversion BADNESS.
6758
6759 2011-10-14  Tom Tromey  <tromey@redhat.com>
6760
6761         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6762         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6763         linespec.
6764
6765 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6766
6767         Fix internal error regression.
6768         * gdb.dwarf2/implptr-optimized-out.S: New file.
6769         * gdb.dwarf2/implptr-optimized-out.exp: New file.
6770
6771 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
6772
6773         Fix empty DWARF expressions DATA vs. SIZE conditionals.
6774         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6775         (loclist): New.
6776         (4): New abbrev.
6777         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6778         Use prepare_for_testing, remove clean_restart.
6779         (p arraynoloc, p arraycallnoloc): New tests.
6780
6781 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
6782
6783         * gdb.cp/namespace-enum.exp (executable): New variable.
6784         (binfile): Use ${objdir}/${subdir}/ prefix.
6785         Use ${executable} for clean_restart.
6786
6787 2011-10-11  Sterling Augustine  <saugustine@google.com>
6788
6789         * gdb.cp/Makefile.in: Add namespace-enum test.
6790         * gdb.cp/namespace-enum.exp: New file.
6791         * gdb.cp/namespace-enum.c: New file.
6792         * gdb.cp/namespace-enum-main.c: New file.
6793
6794 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
6795
6796         * gdb.python/py-shared.exp: Relax filename check to handle remote:
6797         sysroot.
6798
6799 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6800
6801         Reimplement @entry in input expressions.
6802         * gdb.base/exprs.c (v_int_array_init): New variable.
6803         * gdb.base/exprs.exp (print v_int_array_init)
6804         (print *v_int_array_init@1, print *v_int_array_init@2)
6805         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6806         (print v_int_array_init[1]@1): New tests.
6807
6808 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
6809
6810         * gdb.cp/gdb2495.exp: Do not include directories in filename in
6811         expected message.
6812
6813 2011-10-09  Doug Evans  <dje@google.com>
6814
6815         * gdb.base/alias.exp: Add tests for alias command.
6816
6817 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6818
6819         * gdb.arch/amd64-entry-value.s: New file.
6820         * gdb.mi/mi2-amd64-entry-value.s: New file.
6821
6822 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6823
6824         Display @entry parameter values even for references.
6825         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6826         functions.
6827         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
6828         reference and datap_input.
6829         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6830         breakpoints.
6831         (continue to breakpoint: entry_reference: reference)
6832         (entry_reference: bt at entry)
6833         (continue to breakpoint: entry_reference: breakhere_reference)
6834         (entry_reference: bt, entry_reference: ptype regparam)
6835         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6836         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6837         (entry_reference: p regcopy, entry_reference: p nodataparam)
6838         (entry_reference: p nodataparam@entry): New tests.
6839
6840 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6841
6842         Support @entry in input expressions.
6843         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6844         (entry_stack: p s1@entry, entry_stack: p s2@entry)
6845         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6846         (tailcall: p j@entry): New tests.
6847         * gdb.cp/koenig.cc (A::entry): New function.
6848         (main): Call it.
6849         * gdb.cp/koenig.exp (p entry (c)): New test.
6850
6851 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6852
6853         Display @entry parameter values (without references).
6854         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6855         (different, validity, invalid): New functions.
6856         (main): Call them.
6857         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6858         stacktest, breakhere_stacktest, different, breakhere_different,
6859         breakhere_validity and breakhere_invalid.
6860         (entry: bt): Update for @entry.
6861         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6862         (entry_validity: *, entry_invalid: *): Many new tests.
6863         * gdb.base/break.exp
6864         (run until breakpoint set at small function, optimized file): Accept
6865         also the @entry suffix.
6866         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6867         * gdb.mi/mi2-amd64-entry-value.c: New files.
6868         * gdb.mi/mi2-amd64-entry-value.exp: New files.
6869
6870 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6871
6872         Protect entry values against self tail calls.
6873         * gdb.arch/amd64-entry-value.cc (self2, self): New.
6874         (main): Call self.
6875         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6876         (set debug entry-values 1, self: bt debug entry-values): New tests.
6877
6878 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6879
6880         Recognize virtual tail call frames.
6881         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6882         (amb_b, amb_a): New.
6883         (main): Call a and b.
6884         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6885         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6886         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6887         New tests.
6888
6889 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6890
6891         Implement basic support for DW_TAG_GNU_call_site.
6892         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6893         * gdb.arch/amd64-entry-value.cc: New file.
6894         * gdb.arch/amd64-entry-value.exp: New file.
6895
6896 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6897
6898         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6899         * gdb.dwarf2/implptr-64bit.S: New file.
6900         * gdb.dwarf2/implptr-64bit.exp: New file.
6901
6902 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6903
6904         Fix initial language detection with -readnow.
6905         * gdb.cp/readnow-language.cc: New file.
6906         * gdb.cp/readnow-language.exp: New file.
6907
6908 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6909
6910         Fix printed anonymous struct name.
6911         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6912
6913 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
6914
6915         * gdb.base/solib-symbol.exp: Do not include directories in
6916         filenames in expected messages.
6917
6918 2011-10-07  Doug Evans  <dje@google.com>
6919
6920         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6921
6922 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
6923
6924         Allow Python notification of new object-file loadings.
6925         * gdb.python/py-events.exp: Test newobjfile event.
6926         * gdb.python/py-events.py: Register newobjfile callback.
6927         * gdb.python/py-events.c: Add call to shared library
6928         * gdb.python/py-events-shlib.c: New file.
6929
6930 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
6931
6932         * gdb.base/fixsection.exp: Do not include directories in filename
6933         in expected message.
6934
6935 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
6936
6937         Add tests for passing of environment variables to inferior.
6938         * gdb.base/testenv.c: New test source.
6939         * gdb.base/testenv.exp: New expect test.
6940
6941 2011-10-04  Paul Koning  <paul_koning@dell.com>
6942
6943         * gdb.python/py-value.c (main): Break before return.
6944
6945 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
6946
6947         PR python/12691: Add the inferior to Python exited event
6948         * gdb.python/py-events.exp: Test the inferior attribute of exited
6949         event with a fork.
6950         * gdb.python/py-events.py: Print inferior number on exit.
6951         * gdb.python/py-events.c: Fork the inferior.
6952
6953 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6954
6955         * gdb.base/jit.exp: Add testcase name to log message
6956
6957 2011-10-03  Paul Koning  <paul_koning@dell.com>
6958             Jan Kratochvil  <jan.kratochvil@redhat.com>
6959
6960         * gdb.python/py-value.exp
6961         (python inval = gdb.parse_and_eval('*(int*)0'))
6962         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
6963         (set argc=2, python print argc_lazy): New tests.
6964
6965 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
6966
6967         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
6968
6969 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6970             Pedro Alves  <pedro@codesourcery.com>
6971
6972         * gdb.python/py-value.exp (test_value_in_inferior): New variable
6973         can_read_0, test for it.
6974         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
6975         (parse_and_eval with memory error): ... here, make it untested if
6976         can_read_0.
6977
6978 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
6979
6980         * gdb.python/python.exp (verify pagination beforehand)
6981         (verify pagination afterwards): Fix race by splitting the line.
6982
6983 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
6984
6985         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
6986         for 64-bit multilibs from i?86-* targets.
6987
6988 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
6989
6990         * lib/gdb.exp: Fix a typo in one of the comments.
6991
6992 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
6993
6994         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
6995         matching pattern.
6996
6997 2011-09-28  Paul Koning  <paul_koning@dell.com>
6998
6999         * gdb.python/py-type.c (enum E): New.
7000         * gdb.python/py-type.exp (test_fields): Add tests for Python
7001         mapping access to fields.
7002         (test_enums): New test for field access on enums.
7003
7004 2011-09-27  Stan Shebs  <stan@codesourcery.com>
7005
7006         * gdb.trace/collection.exp: Test collection of $_ret.
7007
7008 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
7009
7010         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7011         list of compilation switches for <*-*-freebsd*>.
7012
7013 2011-09-19  Stan Shebs  <stan@codesourcery.com>
7014
7015         * gdb.trace/tspeed.exp: New file.
7016         * gdb.trace/tspeed.c: New file.
7017
7018 2011-09-18  Yao Qi  <yao@codesourcery.com>
7019
7020         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7021         instructions.
7022         (test_adr_32bit, test_pop_pc): Likewise.
7023         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7024         Thumb instructions.
7025         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7026         in gdb_test_multiple.
7027         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7028
7029 2011-09-17  Yao Qi  <yao@codesourcery.com>
7030
7031         * lib/gdb.exp (can_single_step_to_signal_handler): New.
7032         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
7033         support single step to signal handler.
7034
7035 2011-09-17  Yao Qi  <yao@codesourcery.com>
7036
7037         * gdb.base/disp-step-fork.c: New.
7038         * gdb.base/disp-step-syscall.exp: New.
7039         * gdb.base/disp-step-vfork.c: New.
7040
7041 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
7042
7043         * gdb.ada/tasks.exp: Make the expected output for
7044         the `info tasks' tests more resilient to spacing
7045         changes.
7046
7047 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7048
7049         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7050         (reached breakpoint 2, reached breakpoint 3): Update expected output.
7051
7052 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
7053
7054         PR Python/12692 Add gdb.selected_inferior() to Python interface.
7055         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7056
7057 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
7058
7059         Handle multiple breakpoint hits in Python interface:
7060         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7061         presence.
7062         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7063         breakpoint hits.
7064
7065 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
7066             Jan Kratochvil  <jan.kratochvil@redhat.com>
7067
7068         * gdb.python/py-events.exp: Remove pretty printing comment.
7069         * gdb.python/py-evsignal.exp: New file.
7070         * gdb.python/py-evthreads.c: Include signal.h.
7071         (thread3): Remove variable count3.  Remove variable bad and use raise
7072         instead.
7073         (thread2): Remove variable count2.  Move thread3 pthread_create here,
7074         merge pthread_join to a single line.
7075         (main): Remove variable count1.  Merge pthread_join with pthread_create
7076         to a single line.
7077         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
7078         KFAIL python/12966 for gdbserver.  Test return value of
7079         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
7080         gdb_expect by gdb_test and gdb_test_multiple.
7081         (thread 2, thread 3): New tests.
7082
7083 2011-09-12  Matt Rice  <ratmice@gmail.com>
7084             Pedro Alves  <pedro@codesourcery.com>
7085
7086         PR gdb/13175
7087
7088         * gdb.base/interp.exp: New tests.
7089         * gdb.base/interp.c: New file.
7090
7091 2011-09-12  Doug Evans  <dje@google.com>
7092
7093         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7094         * gdb.dwarf2/typeddwarf.exp: Ditto.
7095
7096 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7097
7098         Fix compatibility with x32 arch.
7099         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7100         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7101         is_x86_like_target.
7102         * testsuite/gdb.trace/collection.exp: Likewise.
7103         * testsuite/gdb.trace/report.exp: Likewise.
7104         * testsuite/gdb.trace/unavailable.exp: Likewise.
7105         * testsuite/gdb.trace/while-dyn.exp: Likewise.
7106         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7107         (is_x86_like_target): Check also is_amd64_regs_target.
7108
7109 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7110
7111         PR breakpoints/12435
7112         * gdb.arch/amd64-prologue-xmm.c: New file.
7113         * gdb.arch/amd64-prologue-xmm.exp: New file.
7114         * gdb.arch/amd64-prologue-xmm.s: New file.
7115
7116 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7117
7118         * gdb.dwarf2/dw2-param-error-main.c: New file.
7119         * gdb.dwarf2/dw2-param-error.S: New file.
7120         * gdb.dwarf2/dw2-param-error.exp: New file.
7121
7122 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
7123
7124         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7125         inferior's pid and look for a core dump named core.$pid.  Use
7126         `remote_file' commands on the host instead of hand coding shell
7127         commands on the build.
7128         * gdb.base/valgrind-db-attach.exp: Kill the program before
7129         finishing the test.
7130
7131 2011-09-02  Matt Rice  <ratmice@gmail.com>
7132
7133         * lib/prompt.exp: New file for testing the first prompt.
7134         * gdb.python/py-prompt.exp: Ditto.
7135         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7136
7137 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
7138
7139         * gdb.threads/gcore-thread.exp: Set the global core_supported to
7140         0, before testing gcore.
7141
7142 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7143
7144         * dw2-ifort-parameter-debug.S: Update copyright year.
7145         * dw2-ifort-parameter.c: Update copyright year.
7146         * dw2-ifort-parameter.exp: Update copyright year.
7147
7148         * dw2-ifort-parameter-debug.S: New file.
7149         * dw2-ifort-parameter.c: New file.
7150         * dw2-ifort-parameter.exp: New file.
7151
7152 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7153
7154         * gdb.base/commands.exp (error_clears_commands_left): New function.
7155         (): Call it.
7156
7157 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7158
7159         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7160         (C): Initialize `a'.
7161         * gdb.mi/mi-inheritance-syntax-error.exp
7162         (-data-evaluate-expression $path):  Expect `a' as 5.
7163
7164 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
7165
7166         PR mi/11912
7167         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7168         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7169         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7170         keyword in output of -var-info-path-expression.
7171
7172 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7173
7174         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7175         * gdb.trace/collection.exp: Likewise.
7176         * gdb.trace/report.exp: Likewise.
7177         * gdb.trace/unavailable.exp: Likewise.
7178         * gdb.trace/while-dyn.exp: Likewise.
7179
7180 2011-08-18  Keith Seitz  <keiths@redhat.com>
7181
7182         PR c++/12266
7183         * gdb.cp/meth-typedefs.cc: New file.
7184         * gdb.cp/meth-typedefs.exp: New file.
7185
7186 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
7187
7188         * gdb.python/python.exp: Add extended-prompt tests.
7189
7190 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7191
7192         * gdb.arch/i386-dr3-watch.exp
7193         (watchpoint on gap1 does not fit debug registers)
7194         (delete all watchpoints): Fix racy expect strings.
7195
7196 2011-08-14  Yao Qi  <yao@codesourcery.com>
7197
7198         * gdb.base/maint.exp: set data_section to ".neardata".
7199         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7200         * gdb.base/savedregs.exp: Handle SIGILL.
7201         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7202         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7203
7204 2011-08-12  Doug Evans  <dje@google.com>
7205
7206         * gdb.python/py-symbol.exp: Add test for symbol.type.
7207
7208 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
7209
7210         * gdb.threads/pthreads.exp: Enable on non-native configurations.
7211         * gdb.mi/mi-pthreads.exp: Likewise.
7212         * gdb.mi/mi2-pthreads.exp: Likewise.
7213         * gdb.mi/gdb669.exp.exp: Likewise.
7214
7215 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
7216
7217         * lib/mi-support.exp (detect_async): Rename to...
7218         (mi_detect_async): ... this.
7219         * gdb.mi/mi-nonstop-exit.exp: Adjust.
7220         * gdb.mi/mi-nonstop.exp: Adjust.
7221         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7222         * gdb.mi/mi-nsintrall.exp: Adjust.
7223         * gdb.mi/mi-nsmoribund.exp: Adjust.
7224         * gdb.mi/mi-nsthrexec.exp: Adjust.
7225
7226 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
7227
7228         * gdb.base/display.c (do_loops): New `p_i' local.
7229         * gdb.base/display.exp: Test displaying a variable that is
7230         temporarily at a bad address.
7231
7232 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7233
7234         * gdb.dwarf2/dw2-op-stack-value.S: New file.
7235         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7236
7237 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7238
7239         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7240         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7241         (p fuNC_symtab): Permit also ppc64 leading dot.
7242
7243 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
7244
7245         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7246         procedure.
7247         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7248
7249 2011-08-05  Yao Qi  <yao@codesourcery.com>
7250
7251         * gdb.base/callfuncs.exp: Set language after main.
7252         * gdb.cp/cplusfuncs.exp: Likewise.
7253         * gdb.cp/inherit.exp: Likewise.
7254
7255 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
7256
7257         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7258         * gdb.base/watch-vfork.exp: Skip on remote targets.
7259
7260 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
7261
7262         * gdb.threads/thread-find.exp: Support remote targets.
7263
7264 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
7265
7266         * gdb.base/jit.exp: Download solib_binfile to target.
7267         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
7268         and call dlopen without full path name.
7269         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7270         dlopen without full path name.
7271
7272 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7273
7274         * gdb.base/break-always.exp: Complete the test
7275         with duplicated breakpoints and enabling/disabling them.
7276
7277 2011-08-02  Tom Tromey  <tromey@redhat.com>
7278
7279         PR gdb/11289:
7280         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
7281
7282 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7283
7284         PR gdb/13045
7285         * gdb.base/float.exp: Add new test case for PR gdb/13045
7286         * gdb.base/float.c: New file.
7287
7288 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
7289
7290         * gdb.python/py-mi.exp: Test printers returning string hint, and
7291         also not returning a value.
7292         * gdb.python/py-prettyprint.c: Add testcase for above.
7293         * gdb.python/py-prettyprint.py: Add test printer for above.
7294
7295 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7296
7297         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7298         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7299         (.Ldie30) Add as field "data4".
7300         (.Ldie32) Rename field "b" to "shl".
7301         (abbrev4) Change for the "data4" field.
7302         (abbrev5, abbrev6) Remove.
7303         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7304         (p &s.shl): ... here.  Add comment.
7305         (p &s.data4): New.
7306
7307 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7308
7309         Fix crash on lval_computed values.
7310         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7311
7312 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7313
7314         * gdb.base/help.exp (help whatis): Update the expected string.
7315
7316 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7317
7318         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7319         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7320         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7321         Change the expected string.
7322
7323 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
7324
7325         * gdb.base/watchpoint.exp
7326         (test_disable_enable_software_watchpoint): New procedure.
7327         (top level): Run it.
7328
7329 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
7330
7331         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
7332         executable file "${binfile}", C++ version "${binfile}-cxx".
7333         * gdb.python/py-prettyprint.exp: Likewise.
7334         * gdb.python/py-symbol.exp: Likewise.
7335         * gdb.python/py-type.exp: Likewise.
7336         * gdb.python/py-value.exp: Likewise.
7337         * gdb.python/py-template.exp (test_template_arg): Pass full executable
7338         file name instead of just suffix.
7339
7340 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7341
7342         Fix implicit pointer offsets.
7343         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7344         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7345         (continue to breakpoint: continue to baz breakpoint for implptr)
7346         (sanity check element 0, sanity check element 1)
7347         (enter the inlined function, check element 0 for the offset)
7348         (check element 1 for the offset)
7349         (continue to breakpoint: ignore the second baz breakpoint): New tests.
7350         (set foo breakpoint for implptr): Update the breakpoint number.
7351
7352 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
7353
7354         * gdb.python/py-mi.exp: Use different file names for different
7355         versions of the executable under test.
7356         * gdb.python/py-prettyprint.exp: Likewise.
7357         * gdb.python/py-symbol.exp: Likewise.
7358         * gdb.python/py-template.exp: Likewise.
7359         * gdb.python/py-type.exp: Likewise.
7360         * gdb.python/py-value.exp: Likewise.
7361
7362 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
7363
7364         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7365         flag after restarting GDB if necessary.
7366
7367 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
7368
7369         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7370
7371 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
7372
7373         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7374         backend doesn't leave used debug registers behind.
7375
7376 2011-07-22  Tom Tromey  <tromey@redhat.com>
7377
7378         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7379         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7380         argument.
7381         * gdb.dwarf2/typeddwarf-amd64.S: New file.
7382
7383 2011-07-21  Matt Rice  <ratmice@gmail.com>
7384
7385         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7386         in mostlyclean rule.  Add files ending in .core.
7387
7388 2011-07-21  Matt Rice  <ratmice@gmail.com>
7389
7390         PR macros/12999
7391         * gdb.base/info-macros.c: New test sources.
7392         * gdb.base/info-macros.exp: New tests.
7393
7394 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
7395
7396         * gdb.python/python.exp: Add prompt substitution tests.
7397
7398 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7399
7400         Fix crash if referenced CU is aged out.
7401         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7402         New.
7403         * gdb.dwarf2/implptr.exp: Likewise.
7404
7405 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7406
7407         * gdb.dwarf2/implptr.S: Rebuilt.
7408         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7409         (bar): Use them for j, k, l.
7410         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
7411         COMPILE.
7412         (print j in implptr:bar): Update for the intp typedef.
7413         (print p[0].x in implptr:foo): Use more exact regex.
7414
7415 2011-07-18  Tom Tromey  <tromey@redhat.com>
7416
7417         * gdb.cp/static-method.exp: Add missing single quote.
7418
7419 2011-07-18  Yao Qi  <yao@codesourcery.com>
7420
7421         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7422         supported.
7423         * gdb.mi/mi-nonstop-exit.exp: Likewise.
7424         * gdb.mi/mi-nonstop.exp: Likewise.
7425         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7426         * gdb.mi/mi-nsintrall.exp: Likewise.
7427         * gdb.mi/mi-nsmoribund.exp: Likewise.
7428         * gdb.mi/mi-nsthrexec.exp: Likewise.
7429         * gdb.python/py-evthreads.exp: Likewise.
7430
7431 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7432
7433         Code cleanup.
7434         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
7435         it.  Substitute it instead of test_compiler_info everywhere.
7436
7437 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
7438
7439         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
7440         remote targets as well.
7441
7442 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
7443
7444         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7445         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
7446
7447 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
7448
7449         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7450         a remote machine, not the host.
7451         (gdb_compile_shlib): Set soname if target is remote.
7452
7453 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7454
7455         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7456
7457 2011-07-13  Matt Rice <ratmice@gmail.com>
7458
7459         * gdb.python/py-objfile-script-gdb.py: Renamed to
7460         py-objfile-script-gdb.py.in.
7461         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7462         py-objfile-script-gdb.py.
7463         * gdb.python/py-objfile-script.exp: Update reference to
7464         py-objfile-script-gdb.py.
7465
7466 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7467
7468         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7469         reference undefined label.
7470
7471 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7472
7473         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7474         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7475         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7476         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7477
7478 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
7479
7480         PR python/12438
7481         * gdb.python/python.exp: Add maint set/show python print-stack
7482         deprecated tests.  Add set/show python print-backtrace tests.
7483
7484 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7485
7486         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7487         debug info.
7488
7489 2011-07-06  Matt Rice  <ratmice@gmail.com>
7490
7491         * gdb.python/python.exp: Update filename paths.
7492         * gdb.python/py-symtab.exp: Ditto.
7493
7494 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7495
7496         * gdb.python/py-evthreads.exp: Add missing `$'.
7497
7498 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
7499
7500         * config/bfin.exp: New file.
7501         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7502         * gdb.asm/bfin.inc: New file.
7503
7504 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7505
7506         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7507         the whole output.
7508
7509 2011-07-05  Tom Tromey  <tromey@redhat.com>
7510
7511         * gdb.java/jprint.java (jprint.hi): New field.
7512         * gdb.java/jprint.exp: Print string.
7513
7514 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
7515
7516         * gdb.base/call-sc.c: Fix typos.
7517         * gdb.base/ifelse.exp: Likewise.
7518         * gdb.base/structs.c: Likewise.
7519
7520 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7521
7522         * gdb.base/jit-so.exp: New test.
7523         * gdb.base/jit-dlmain.c: New file.
7524         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7525
7526 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7527
7528         * gdb.cp/m-static.exp: Call get_compiler_info.
7529         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7530         * gdb.cp/pr9167.exp (p b): Likewise.
7531         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7532         (test value of P in inner_m, test type of Z in inner_m): Call
7533         setup_xfail for gcc <= 4.5.
7534
7535 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7536
7537         * gdb.cp/paren-type.cc: New files.
7538         * gdb.cp/paren-type.exp: New files.
7539
7540 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7541
7542         Stop on first linespec terminator instead of eating what we can.
7543         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7544         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7545         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7546         (break C::f()): ... this one.
7547         (break C::operator()()): New test.
7548         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7549         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7550         test.
7551
7552 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7553
7554         Fall back linespec to minimal symbols.
7555         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7556         error message.
7557         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7558         * gdb.cp/minsym-fallback-main.cc: New file.
7559         * gdb.cp/minsym-fallback.cc: New file.
7560         * gdb.cp/minsym-fallback.exp: New file.
7561         * gdb.cp/minsym-fallback.h: New file.
7562
7563 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7564
7565         * gdb.cp/no-dmgl-verbose.cc: New file.
7566         * gdb.cp/no-dmgl-verbose.exp: New file.
7567
7568 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7569
7570         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7571         __GI_.
7572         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7573         (f): New function.
7574         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7575         (complete p 'func<short>(): ... here.
7576         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7577         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7578         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7579         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7580         Make them KFAIL gcc/49546.
7581
7582 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7583
7584         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7585
7586 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7587
7588         Test GCC PR debug/49546.
7589         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7590         (test type of F in k3_m, test value of F in k3_m): New.
7591         * gdb.cp/temargs.cc (struct S3, struct K3): New.
7592         (main): New variable k3.  Call k3.k3_m.
7593
7594 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
7595
7596         * gdb.ada/packed_array.exp: Fix expected outout.
7597
7598 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
7599
7600         * gdb.ada/packed_array.exp: fixed expected output.
7601
7602 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7603
7604         * gdb.ada/same_enum: New testcase.
7605
7606 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7607
7608         * gdb.ada/ptr_typedef: New testcase.
7609
7610 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7611
7612         * gdb.ada/arrayptr.exp: Add ptype test.
7613
7614 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7615
7616         * gdb.ada/char_enum: New testcase.
7617
7618 2011-07-01  Yao Qi  <yao@codesourcery.com>
7619
7620         * gdb.base/dump.exp (capture_pointer_with_type): New.
7621         Get value from address instead of name.
7622         Start GDB once, and do `dump' and `restore'
7623         tests together.
7624
7625 2011-06-30  Jie Zhang <jie.zhang@analog.com>
7626             Mike Frysinger  <vapier@gentoo.org>
7627
7628         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7629         helper functions for getting/setting remotetimeout variable.
7630         * lib/gdb.exp (gdb_load): If the target is remote, set
7631         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7632         with $loadtimeout.  Set $load_ok to 0 before doing the load.
7633         Instead of returning, immediately, set $load_ok to 0.  Call
7634         set_remotetimeout with $oldremotetimeout, and then return if
7635         $load_ok is 1.
7636
7637 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
7638
7639         * gdb.python/py-template.exp: Don't run this test if the target
7640         does not support c++ tests.
7641
7642 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7643
7644         Fix non-only rename list for Fortran modules import.
7645         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7646         tests.
7647         * gdb.fortran/module.f90 (module moduse): New.
7648         (program module): use moduse, test var_x, var_y and var_z.
7649
7650 2011-06-29  Tom Tromey  <tromey@redhat.com>
7651
7652         PR testsuite/12040:
7653         * gdb.fortran/array-element.exp: Use f90, not f77.
7654         * gdb.fortran/complex.exp: Use f90, not f77.
7655         * gdb.fortran/derived-type.exp: Use f90, not f77.
7656         * gdb.fortran/library-module.exp: Use f90, not f77.
7657         * gdb.fortran/logical.exp: Use f90, not f77.
7658         * gdb.fortran/module.exp: Use f90, not f77.
7659         * gdb.fortran/multi-dim.exp: Use f90, not f77.
7660         * gdb.fortran/subarray.exp: Use f90, not f77.
7661
7662 2011-06-29  Tom Tromey  <tromey@redhat.com>
7663
7664         * gdb.fortran/charset.exp: New file.
7665         * gdb.fortran/charset.f90: New file.
7666
7667 2011-06-29  Tom Tromey  <tromey@redhat.com>
7668
7669         PR testsuite/12040:
7670         * lib/future.exp: New file, mostly extracted from ada.exp.
7671         Rewrote compatibility code to use rename.
7672         (gdb_find_gfortran): New proc.
7673         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7674         gfortran patch.
7675         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7676         Move to future.exp.
7677         * lib/gdb.exp: Always load future.exp.
7678
7679 2011-06-28  Yao Qi  <yao@codesourcery.com>
7680
7681         * gdb.cp/exception.cc: Don't include iostream.
7682         (bar): Remove print statement.
7683         (catcher): New.
7684         (main): Remove print statements.  Call function catcher.
7685         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7686         Set breakpoint on catcher, and check the value of parameter.
7687
7688 2011-06-23  Yao Qi  <yao@codesourcery.com>
7689
7690         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7691         breakpoint 1.2 is disabled.  KFAIL for uclinux.
7692
7693 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7694
7695         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7696         mi_gdb_test.
7697
7698 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7699
7700         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7701
7702 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7703
7704         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7705
7706 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7707
7708         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
7709         `test_exec_and_symbol_mi_operatons' return value.
7710         (test_mi_interpreter_selection): Use mi_gdb_test instead of
7711         gdb_test_multiple.
7712         (test_exec_and_symbol_mi_operatons): Likewise.
7713         (test_path_specification): Likewise.
7714
7715 2011-06-23  Yao Qi  <yao@codesourcery.com>
7716
7717         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7718         supported.
7719         * lib/gdb.exp (support_displaced_stepping): New.
7720
7721 2011-06-23  Yao Qi  <yao@codesourcery.com>
7722
7723         * gdb.threads/execl.exp: Skip on remote target.
7724
7725 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
7726
7727         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7728         mi_gdb_test.
7729
7730 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7731
7732         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7733
7734 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7735
7736         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7737         mi_gdb_test.
7738
7739 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7740
7741         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7742
7743 2011-06-14  Yao Qi  <yao@codesourcery.com>
7744
7745         gdb/testsuite/
7746         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7747
7748 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
7749
7750         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7751
7752 2011-06-10  Tom Tromey  <tromey@redhat.com>
7753
7754         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7755         Add tests for pointer-to-member-function.
7756         * gdb.cp/temargs.cc (S::somefunc): New function.
7757         (K2): New class.
7758         (main): Instantiate K2; call method.
7759
7760 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
7761
7762         * gdb.python/py-inferior.c (f2): Make str an array rather
7763         than a pointer.
7764         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7765
7766 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7767
7768         * gdb.base/async-shell.c: New file.
7769         * gdb.base/async-shell.exp: New file.
7770
7771 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
7772
7773         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7774
7775 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
7776
7777         From Stephen Kitt  <steve@sk2.org>
7778         * gdb.base/help.exp: Adjust following some spelling corrections
7779         in GDB.
7780
7781 2011-06-01  Yao Qi  <yao@codesourcery.com>
7782
7783         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7784
7785 2010-05-31  Keith Seitz  <keiths@redhat.com>
7786
7787         PR c++/12750
7788         * gdb.cp/static-method.cc: New file.
7789         * gdb.cp/static-method.exp: New file.
7790
7791 2010-05-31  Keith Seitz  <keiths@redhat.com>
7792
7793         PR symtab/12704
7794         * gdb.cp/anon-ns.cc: New file.
7795         * gdb.cp/anon-ns.exp: New file.
7796
7797 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
7798
7799         * gdb.arch/i386-dr3-watch.c: New file.
7800         * gdb.arch/i386-dr3-watch.exp: New file.
7801
7802 2011-05-30  Yao Qi  <yao@codesourcery.com>
7803
7804         * gdb.base/callfuncs.c (t_structs_fc): New.
7805         (t_structs_dc, t_structs_ldc): New.
7806         (t_double_many_args):
7807         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7808         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7809         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7810         * gdb.base/callfuncs.exp: Call new functions.
7811
7812 2011-05-30  Yao Qi  <yao@codesourcery.com>
7813
7814         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7815         Call rerun_and_prepare for each test to isolate effects.
7816
7817 2011-05-30  Yao Qi  <yao@codesourcery.com>
7818
7819         * gdb.base/varargs.c (find_max_float_real): New.
7820         (find_max_double_real, find_max_long_double_real): New.
7821         * gdb.base/varargs.exp: Call these new added functions.
7822         * lib/gdb.exp (setup_kfail_for_target): New.
7823
7824 2011-05-30  Yao Qi  <yao@codesourcery.com>
7825
7826         * gdb.base/funcargs.c (callca, callcb, callcc): New.
7827         (callcd, callce, callcf, callc1a, callc1b): New.
7828         (callc2a, callc2b): New.
7829         * gdb.base/funcargs.exp (complex_args): New.
7830         (complex_integral_args, complex_float_integral_args): New.
7831         * lib/gdb.exp (support_complex_tests): New.  Determine
7832         whether to run test cases on _Complex types.
7833
7834 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7835
7836         * gdb.threads/leader-exit.c: New file.
7837         * gdb.threads/leader-exit.exp: New file.
7838
7839 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
7840
7841         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
7842
7843 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
7844
7845         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7846         remove the `supported' variable.
7847         * gdb.mi/mi-nonstop.exp: Likewise.
7848         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7849         * gdb.mi/mi-nsintrall.exp: Likewise.
7850         * gdb.mi/mi-nsmoribund.exp: Likewise.
7851         * gdb.mi/mi-nsthrexec.exp: Likewise.
7852
7853 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
7854
7855         * gdb.reverse/finish-reverse-bkpt.exp: New test.
7856
7857 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
7858
7859         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7860
7861 2011-05-24  Keith Seitz  <keiths@redhat.com>
7862
7863         PR breakpoint/12803
7864         * gdb.cp/cmpd-minsyms.cc (a): New method.
7865         (b): New method.
7866         (c): New method.
7867         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7868
7869 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
7870
7871         * gdb.base/commands.exp (watchpoint_command_test): Check that the
7872         watchpoint's command list didn't execute when the watchpoint went
7873         out of scope.
7874
7875 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
7876
7877         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7878         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7879         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7880         * gdb.arch/i386-gnu-cfi.exp: Likewise.
7881         * gdb.arch/i386-permbkpt.exp: Likewise.
7882         * gdb.arch/i386-prologue.exp: Likewise.
7883         * gdb.arch/i386-size-overlap.exp: Likewise.
7884         * gdb.arch/i386-size.exp: Likewise.
7885         * gdb.arch/i386-unwind.exp: Likewise.
7886         * gdb.reverse/i386-precsave.exp: Likewise.
7887         * gdb.reverse/i386-reverse.exp: Likewise.
7888         * gdb.reverse/i386-sse-reverse.exp: Likewise.
7889         * gdb.reverse/i387-env-reverse.exp: Likewise.
7890         * gdb.reverse/i387-stack-reverse.exp: Likewise.
7891
7892 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
7893
7894         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7895         file doesn't error, using MI.
7896
7897 2011-05-23  Tom Tromey  <tromey@redhat.com>
7898
7899         * gdb.base/charset.exp (string_display): Add tests to assign to
7900         arrays.
7901         * gdb.base/charset.c (short_array, int_array, long_array): New.
7902
7903 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
7904
7905         Cope with async mode.
7906
7907         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7908         into gdb_test + mi_expect_stop.
7909
7910 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
7911
7912         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7913         (callme): Remove printf call.
7914
7915 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
7916
7917         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7918         quote pattern to avoid problems with Cygwin/mingw expect versions.
7919         * gdb.base/default.exp (show convenience): Use double
7920         quote pattern for regular expressions.
7921
7922 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7923
7924         Fix -readnow for -gdwarf-4 unused type units.
7925         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7926         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7927
7928 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
7929
7930         * gdb.base/kill-after-signal.c: New file.
7931         * gdb.base/kill-after-signal.exp: New file.
7932
7933 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
7934
7935         * gdb.ada/start.exp: Call untested with the correct test filename.
7936         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7937         test filename.  Make the test's binary unique.
7938         * gdb.arch/i386-signal.exp: Call untested with the correct test
7939         filename.
7940         * gdb.arch/i386-size-overlap.exp: Ditto.
7941         * gdb.arch/Makefile.in (EXECUTABLES): Update.
7942         * gdb.base/gcore-buffer-overflow.exp: Ditto.
7943         * gdb.cp/call-c.exp: Ditto.
7944         * gdb.mi/mi-reverse.exp: Call untested with the correct test
7945         filename.  Make the test's binary unique.
7946         * gdb.mi/Makefile.in (EXECUTABLES): Update.
7947         * gdb.python/py-mi.exp: Ditto.
7948         * gdb.python/Makefile.in (EXECUTABLES): Update.
7949         * gdb.reverse/i386-precsave.exp: Ditto.
7950         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7951         test filename.
7952         * gdb.reverse/i387-stack-reverse.exp: Ditto.
7953         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
7954         unique.
7955         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
7956         test filename.
7957         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
7958         * gdb.trace/tfile.exp: Ditto.
7959
7960 2011-05-14  Yao Qi  <yao@codesourcery.com>
7961
7962         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
7963         type.
7964
7965 2011-05-13  Doug Evans  <dje@google.com>
7966
7967         * gdb.python/py-objfile-script.exp: New file.
7968         * gdb.python/py-objfile-script.c: New file.
7969         * gdb.python/py-objfile-script-gdb.py: New file.
7970         * testsuite/gdb.python/py-section-script.exp: Test
7971         "info auto-load-scripts".
7972
7973 2011-05-13  Tom Tromey  <tromey@redhat.com>
7974
7975         * gdb.dwarf2/clztest.exp: New file.
7976         * gdb.dwarf2/clztest.c: New file.
7977         * gdb.dwarf2/clztest.S: New file.
7978
7979 2011-05-13  Doug Evans  <dje@google.com>
7980
7981         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
7982         String16 tests.
7983
7984 2011-05-13  Tom Tromey  <tromey@redhat.com>
7985
7986         * lib/gdb.exp (is_x86_like_target): New proc.
7987         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
7988         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
7989         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
7990         -nostdlib to compiler.
7991         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
7992         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
7993         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
7994         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
7995         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
7996
7997 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7998
7999         * gdb.python/py-function.exp: Test setting a value from a function
8000         which executes a command.
8001
8002 2011-05-12  Tom Tromey  <tromey@redhat.com>
8003
8004         * gdb.dwarf2/typeddwarf.S: New file.
8005         * gdb.dwarf2/typeddwarf.c: New file.
8006         * gdb.dwarf2/typeddwarf.exp: New file.
8007
8008 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
8009
8010         * gdb.mi/mi-basics.exp: Fix races.  Honour the
8011         `test_exec_and_symbol_mi_operatons' return value.
8012         (test_mi_interpreter_selection): Use mi_gdb_test instead of
8013         gdb_test_multiple.
8014         (test_exec_and_symbol_mi_operatons): Likewise.
8015         (test_path_specification): Likewise.
8016
8017 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8018
8019         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8020         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
8021         Replace `file copy' and `file rename' by `file mtime'.  Twice.
8022
8023 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8024
8025         * gdb.base/readline-ask.c: New file.
8026         * gdb.base/readline-ask.exp: New file.
8027         * gdb.base/readline-ask.inputrc: New file.
8028
8029 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
8030
8031         * gdb.cell/bt.exp: Delete breakpoints before running to signal
8032         to avoid race condition.
8033         * gdb.cell/coremaker.c: Use small stack size.
8034         * gdb.cell/ea-standalone.exp: Use file name without path as
8035         argument to c_to.
8036         * gdb.cell/fork.exp: Allow other output when continuing to end.
8037
8038 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8039
8040         * gdb.threads/corethreads.c: New file.
8041         * gdb.threads/corethreads.exp: New file.
8042
8043 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8044
8045         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8046         Try to compile the test using -Wl,-z,norelro first.
8047         (load_core): New variable libthread_db_seen, initialize it.
8048         (zeroed-threads cannot be listed): Protect it by XFAIL on
8049         !$libthread_db_seen.
8050
8051 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8052
8053         PR 12573
8054         * gdb.dwarf2/dw2-skip-prologue.S: New file.
8055         * gdb.dwarf2/dw2-skip-prologue.c: New file.
8056         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8057
8058 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8059
8060         * gdb.cp/psymtab-parameter.cc: New file.
8061         * gdb.cp/psymtab-parameter.exp: New file.
8062
8063 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8064
8065         Fix a race.
8066         * gdb.cp/static-print-quit.exp (print c): Split to ...
8067         (print c - <return>, print c - q <return>, print c - to quit):
8068         ... these.  Make the testfile untested on gdb-7.1.
8069
8070 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
8071
8072         * lib/gdb.exp (exec_target_file, exec_symbol_file,
8073         gdb_rename_execfile, gdb_touch_execfile): New.
8074         * gdb.base/reread.exp: Use new procs to handle multiple
8075         exec files.
8076
8077 2011-05-05  Yao Qi  <yao@codesourcery.com>
8078
8079         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8080         (test_adr_32bit, test_pop_pc): New.
8081         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8082         (test_adr_32bit, test_pop_pc): New.
8083
8084 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
8085
8086         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8087         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8088         targets.
8089         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8090         handle targets.
8091
8092 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
8093
8094         * gdb.base/completion.exp (complete help info wat): Rename to ...
8095         (complete 'help info wat'): ... here.
8096         Remove all `-re ".*' and `-re "^.*' redundant regexes.
8097         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8098
8099 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
8100
8101         * gdb.base/completion.exp: Use gdb_test_multiple instead of
8102         gdb_test and explicit $gdb_prompt/timeout matches.
8103
8104 2011-05-04  Yao Qi  <yao@codesourcery.com>
8105
8106         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8107         and __thumb2__.
8108
8109 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
8110
8111         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8112         in place of `gdb_test "delete breakpoints"'.  This eliminates two
8113         testcases.
8114
8115 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
8116
8117         PR testsuite/12649
8118         Fix races.
8119
8120         * gdb.base/completion.exp: Remove all sleep calls.  Remove
8121         unnecessary regexs.  Don't explicitly expect anything after the
8122         prompt.  Eat the prompt if necessary.
8123
8124 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8125
8126         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8127         accept to show the caller line again as well as the line after.
8128
8129 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
8130
8131         PR mi/12531
8132
8133         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8134         compile target.
8135         * gdb.python/py-prettyprint.exp: Add C++ object for
8136         CPLUS_FAKE_CHILD test.
8137
8138 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
8139
8140         * gdb.base/signest.exp: New file.
8141         * gdb.base/signest.c: Likewise.
8142
8143 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8144
8145         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8146         thread and breakpoint notifications.
8147
8148 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8149
8150         * gdb.base/fortran-sym-case.c: New file.
8151         * gdb.base/fortran-sym-case.exp: New file.
8152         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8153         * gdb.dwarf2/dw2-case-insensitive.c: New file.
8154         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8155
8156 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8157
8158         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8159         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8160         false #1', `if true else false #2' and `if true else false #3'.
8161
8162 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
8163
8164         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8165         while delivering signal.
8166
8167 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
8168
8169         MI breakpoint notifications.
8170
8171         * testsuite/gdb.mi/mi-cli.exp: Adust.
8172         * testsuite/gdb.mi/mi2-cli.exp: Adust.
8173         * testsuite/gdb.mi/mi-watch.exp: Adust.
8174         * testsuite/gdb.mi/mi2-watch.exp: Adust.
8175         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8176         notifications.
8177
8178 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8179
8180         * gdb.base/gdbindex-stabs-dwarf.c: New file.
8181         * gdb.base/gdbindex-stabs.c: New file.
8182         * gdb.base/gdbindex-stabs.exp: New file.
8183
8184 2011-04-25  Yao Qi  <yao@codesourcery.com>
8185
8186         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8187         with /*...*/.
8188         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8189
8190 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
8191
8192         * gdb.python/py-value.exp (test_objfiles): Name the first test
8193         `py-value in file.filename'.
8194
8195 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
8196
8197         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8198         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8199         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8200         !gdbserver_reconnect_p..
8201         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8202
8203 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8204
8205         * gdb.cp/cpcompletion.exp (complete class methods)
8206         (complete class methods beginning with F): Move them above runto.  New
8207         comment about the runto delimiter.
8208
8209 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
8210
8211         * gdb.base/maint.exp: Test that "maint print registers" works
8212         without a running program.
8213
8214 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
8215
8216         * gdb.base/setshow.exp: Fix racy tests.
8217         ($old_gdb_prompt): New variable.
8218
8219 2011-04-19  Tom Tromey  <tromey@redhat.com>
8220
8221         * gdb.mi/mi-nsmoribund.exp:
8222         * gdb.hp/gdb.objdbg/objdbg01.exp:
8223         * gdb.base/structs.exp (test_struct_returns):
8224         * gdb.base/call-sc.exp (test_scalar_returns):
8225         * gdb.base/bigcore.exp: Remove duplicate words.
8226
8227 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8228
8229         * gdb.base/break-interp-lib.c (v, vptr): New variables.
8230         * gdb.base/break-interp.exp (test_attach): New comment.
8231
8232 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8233
8234         * gdb.threads/gcore-thread.exp ($core0file): New variable.
8235         (clear __stack_user.next, clear stack_used.next)
8236         (save a zeroed-threads corefile): New test.
8237         Call core_load for $core0file.
8238         (zeroed-threads cannot be listed): New test.
8239
8240 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8241
8242         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8243         filename.
8244         ($srcfile): Preserve the original value.
8245         ($testfile): Match it the .exp filename.
8246         ($corefile): New variable.  Substitute it around.
8247         Use clean_restart.
8248         ($prev_timeout): Remove.
8249         (load_core): Move core loading into this proc.
8250         Fix restore of $timeout if load_core fails.
8251
8252 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8253
8254         * gdb.base/eu-strip-infcall.c: New file.
8255         * gdb.base/eu-strip-infcall.exp: New file.
8256
8257 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8258
8259         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8260         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8261
8262 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8263
8264         Fix Python access to inlined frames.
8265         * gdb.python/py-frame-inline.c: New file.
8266         * gdb.python/py-frame-inline.exp: New file.
8267
8268 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8269
8270         * gdb.base/gdb1090.exp: Change breakpoint location to read the
8271         content of 's24' correctly (avoiding "optimized out").
8272         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8273
8274 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8275
8276         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8277
8278 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8279
8280         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8281         expect a colon in watch -location output.
8282
8283 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
8284
8285         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8286         New testcase `expect response to define backtrace'.  Also remove
8287         redundant `default' block.
8288
8289 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8290
8291         * gdb.python/py-prettyprint.c (struct hint_error): New.
8292         (main): New variable hint_error.
8293         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8294         "print hint_error".
8295         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8296         (register_pretty_printers): Register it.
8297
8298 2011-04-04  Tom Tromey  <tromey@redhat.com>
8299
8300         * gdb.cp/maint.exp (test_help): Update.
8301         (test_namespace): Likewise.
8302
8303 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
8304
8305         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8306         * gdb.ada/arrayptr.exp: Add new tests.
8307
8308 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
8309
8310         * gdb.ada/mi_catch_ex: New testcase.
8311
8312 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
8313
8314         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8315         base::overload(void) method without specifying "const".
8316
8317 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
8318
8319         * gdb.arch/thumb-singlestep.S: New file.
8320         * gdb.arch/thumb-singlestep.exp: Likewise.
8321
8322 2011-03-31  Tom Tromey  <tromey@redhat.com>
8323
8324         * gdb.python/py-prettyprint.py (exception_flag): New global.
8325         (NoStringContainerPrinter._iterator.next): Check it.
8326         * gdb.python/py-prettyprint.c (main): New variable nstype2.
8327         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8328
8329 2011-03-29  Tom Tromey  <tromey@redhat.com>
8330
8331         * gdb.cp/anon-struct.cc: New file.
8332         * gdb.cp/anon-struct.exp: New file.
8333
8334 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8335
8336         Test STT_GNU_IFUNC support.
8337         * gdb.base/gnu-ifunc-lib.c: New file.
8338         * gdb.base/gnu-ifunc.c: New file.
8339         * gdb.base/gnu-ifunc.exp: New file.
8340
8341 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8342
8343         Support a ring of related breakpoints.
8344         * gdb.base/watchpoint-delete.c: New file.
8345         * gdb.base/watchpoint-delete.exp: New file.
8346
8347 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8348
8349         * gdb.ada/arrayparam.exp (print first after function call): Use
8350         explicit package name.  Add a comment
8351         (print lasta after function call): Rename ...
8352         (print last after function call): ... it and use explicit package
8353         name.
8354         (print length after function call): Use explicit package name.
8355         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8356         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8357         (multiple matches for symbol i): Rename ...
8358         (multiple matches for symbol integervar): ... it.
8359         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8360         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8361
8362 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
8363
8364         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8365         environment variable to make grep output more predictable. Move
8366         all the environment setup into gdb_init so it's done once per test
8367         case rather than each time we start gdb.
8368
8369 2011-03-24  Tom Tromey  <tromey@redhat.com>
8370
8371         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
8372         test.
8373
8374 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8375
8376         * gdb.dwarf2/dw2-entry-value-main.c: New file.
8377         * gdb.dwarf2/dw2-entry-value.S: New file.
8378         * gdb.dwarf2/dw2-entry-value.exp: New file.
8379
8380 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
8381
8382         PR python/12183
8383
8384         * gdb.python/py-function.exp: Add GdbError tests.
8385
8386 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
8387
8388         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8389         (reglocal_test_func, statlocal_test_func): New functions.
8390         (globals_test_func): Call new functions.
8391         * gdb.trace/unavailable.exp (gdb_collect_args_test)
8392         (gdb_collect_locals_test): New procedure.
8393         (gdb_trace_collection_test): Call new procedures.
8394
8395 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
8396
8397         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8398         (test_register, test_register_unavailable): New procedures.
8399         (gdb_unavailable_registers_test): New procedure.
8400         (gdb_trace_collection_test): Call it.
8401
8402 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
8403
8404         PR python/12149
8405
8406         * gdb.python/python.exp: Add gdb.write tests.
8407
8408 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
8409
8410         * gdb.python/Makefile.in: Add py-objfile.
8411         * gdb.python/py-objfile.exp: New file.
8412         * gdb.python/py-objfile.c: New file.
8413         * gdb.python/py-block.exp: Add is_valid tests.
8414         * gdb.python/py-inferior.exp: Ditto.
8415         * gdb.python/py-infthread.exp: Ditto.
8416         * gdb.python/py-symbol.exp: Ditto.
8417         * gdb.python/py-symtab.exp: Ditto.
8418
8419 2011-03-16  Keith Seitz  <keiths@redhat.com>
8420
8421         PR c++/12273
8422         * gdb.cp/cmpd-minsyms.exp: New test.
8423         * gdb.cp/cmpd-minsyms.cc: New file.
8424
8425         PR c++/11734
8426         * gdb.cp/ovsrch.exp: New test.
8427         * gdb.cp/ovsrch.h: New file.
8428         * gdb.cp/ovsrch1.cc: New file.
8429         * gdb.cp/ovsrch2.cc: New file.
8430         * gdb.cp/ovsrch3.cc: New file.
8431         * gdb.cp/ovsrch4.cc: New file.
8432
8433 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8434
8435         PR gdb/12528
8436         * gdb.base/Makefile.in: Adjust EXECUTABLES.
8437         * gdb.base/break-on-linker-gcd-function.exp: New test.
8438         * gdb.base/break-on-linker-gcd-function.cc: New file.
8439
8440 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
8441
8442         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8443
8444 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
8445
8446         * lib/gdb.exp (gdb_unload): Add another termination case.
8447
8448 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8449
8450         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8451         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8452         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8453         Provide a stub byte there.
8454         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8455         DW_AT_entry_pc.
8456         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8457
8458 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
8459
8460         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8461         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
8462         "generic ABI, auto".
8463         (altivec_abi_tests): Accept vectors returned by reference.
8464
8465 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
8466
8467         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8468
8469 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
8470
8471         * gdb.python/py-section-script.exp: Skip test if no Python support.
8472
8473 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
8474
8475         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8476
8477 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
8478
8479         * gdb.python/py-parameter.exp: Update tests to the new Python
8480         parameter API. Add "no documentation" test.  Add deprecated API
8481         backward compatibility test.
8482
8483 2011-03-09  Tom Tromey  <tromey@redhat.com>
8484
8485         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8486         gdb_continue_to_end.
8487
8488 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
8489
8490         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8491         tabs.
8492
8493 2011-03-09  Tom Tromey  <tromey@redhat.com>
8494
8495         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
8496         parentheses.
8497         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
8498         $command.
8499         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8500         argument to gdb_continue_to_end.
8501         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8502         argument to gdb_continue_to_end.
8503         * gdb.cp/annota3.exp: Fix regex.
8504         * gdb.cp/annota2.exp: Fix regex.
8505         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8506         gdb_continue_to_end.
8507         * gdb.base/call-signal-resume.exp: Revert earlier patch.
8508         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8509         gdb_continue_to_end.
8510
8511 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8512
8513         * gdb.server/ext-run.exp
8514         (load new file without any gdbserver inferior): New test.
8515
8516 2011-03-07  Tom Tromey  <tromey@redhat.com>
8517
8518         * Makefile.in (TAGS): Rewrite.
8519
8520 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8521
8522         * gdb.trace/report.exp (12.1: trace report #1): New match for the
8523         initial commands echo.  New match for `Found trace'.  Anchor all the
8524         other matches.  Anchor and match for `No trace frame found' the final
8525         match.
8526
8527 2011-03-07  Tom Tromey  <tromey@redhat.com>
8528
8529         * Makefile.in (TAGS): New target.
8530
8531 2011-03-07  Tom Tromey  <tromey@redhat.com>
8532
8533         * lib/opencl.exp (skip_opencl_tests): Update for exit message
8534         change.
8535         * lib/mi-support.exp (mi_gdb_test): Update for exit message
8536         change.
8537         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
8538         exit message change.
8539         (skip_altivec_tests): Update for exit message change.
8540         (skip_vsx_tests): Likewise.
8541         (gdb_continue_to_end): Likewise.  Add 'command' argument.
8542         * lib/cell.exp (skip_cell_tests): Update for exit message change.
8543         * gdb.threads/tls.exp: Update for exit message change.
8544         * gdb.threads/thread-unwindonsignal.exp: Use
8545         gdb_continue_to_end.
8546         * gdb.threads/step.exp (step_it): Update for exit message change.
8547         (continue_all): Likewise.
8548         * gdb.threads/print-threads.exp (test_all_threads): Update for
8549         exit message change.
8550         * gdb.threads/interrupted-hand-call.exp: Use
8551         gdb_continue_to_end.
8552         * gdb.threads/execl.exp: Use gdb_continue_to_end.
8553         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8554         gdb_continue_to_end.
8555         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8556         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8557         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8558         * gdb.cp/method.exp: Update for exit message change.
8559         * gdb.cp/mb-templates.exp: Update for exit message change.
8560         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8561         * gdb.cp/annota3.exp: Update for exit message change.
8562         * gdb.cp/annota2.exp: Update for exit message change.
8563         * gdb.cell/fork.exp: Use gdb_continue_to_end.
8564         * gdb.base/term.exp: Update for exit message change.
8565         * gdb.base/step-test.exp (test_i): Update for exit message change.
8566         * gdb.base/sigstep.exp (advance): Update for exit message change.
8567         (advancei): Likewise.
8568         * gdb.base/siginfo.exp: Update for exit message change.
8569         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8570         * gdb.base/reread.exp: Use gdb_continue_to_end.
8571         * gdb.base/langs.exp: Use gdb_continue_to_end.
8572         * gdb.base/interrupt.exp: Update for exit message change.
8573         * gdb.base/gdb1555.exp: Update for exit message change.
8574         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8575         * gdb.base/ending-run.exp: Update for exit message change.
8576         * gdb.base/chng-syms.exp: Update for exit message change.
8577         * gdb.base/checkpoint.exp: Update for exit message change.
8578         * gdb.base/catch-syscall.exp (check_for_program_end): Use
8579         gdb_continue_to_end.
8580         (test_catch_syscall_with_wrong_args): Likewise.
8581         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8582         * gdb.base/break-interp.exp (test_ld): Update for exit message
8583         change.
8584         * gdb.base/bang.exp: Update for exit message change.
8585         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8586         (do_call_attach_tests): Likewise.
8587         * gdb.base/a2-run.exp: Update for exit message change.
8588         * gdb.arch/ppc-dfp.exp: Update for exit message change.
8589         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8590         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8591
8592 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
8593
8594         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8595
8596 2011-03-03  Tom Tromey  <tromey@redhat.com>
8597
8598         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8599         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8600         * gdb.hp/gdb.aCC/configure.ac: Remove.
8601         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8602         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8603         * gdb.hp/gdb.base-hp/configure.ac: Remove.
8604         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8605         * gdb.hp/gdb.compat/configure (Makefile): Remove.
8606         * gdb.hp/gdb.compat/configure.ac: Remove.
8607         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8608         * gdb.hp/gdb.defects/configure (Makefile): Remove.
8609         * gdb.hp/gdb.defects/configure.ac: Remove.
8610         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8611         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8612         * gdb.hp/gdb.objdbg/configure.ac: Remove.
8613         * gdb.hp/configure.ac: Remove.
8614         * gdb.hp/configure: Remove.
8615         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8616         substitution.
8617         (Makefile): Remove rule.
8618         * gdb.cell/configure.ac: Remove.
8619         * gdb.cell/configure: Remove.
8620         * gdb.stabs/Makefile.in (Makefile): Remove.
8621         (distclean): Don't remove config.status or config.log.
8622         * gdb.stabs/configure (Makefile): Remove.
8623         * gdb.stabs/configure.ac: Remove.
8624         * configure: Rebuild.
8625         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8626         Remove stabs- and cell-specific logic.  Test for existence of
8627         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
8628         subdirectories, gdb.cell, and and gdb.stabs.
8629         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8630
8631 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
8632
8633         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8634         end of buffer.
8635
8636 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
8637
8638         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8639         gdb_test when running a test where we expected no output back.
8640
8641 2011-02-28  Michael Snyder  <msnyder@vmware.com>
8642
8643         * gdb.cp/overload.cc: Change initializer value to integer.
8644
8645 2011-02-27  Michael Snyder  <msnyder@vmware.com>
8646
8647         * gdb.multi/base.exp: Add test for remove-inferiors.
8648
8649 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
8650
8651         * gdb.python/py-frame.exp: Simplify the initialization phase
8652         using prepare_for_testing.
8653
8654 2011-02-25  Michael Snyder  <msnyder@vmware.com>
8655
8656         * gdb.multi/base.exp: Add tests for info inferiors with args.
8657
8658 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8659
8660         * gdb.dwarf2/dw2-ranges.S: Rename to ...
8661         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8662         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8663         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8664         asmfile3.  Comment the STABS (#3) file compilation.  Compile
8665         everything through assembler.  Provide KFAIL for symtab/12497.
8666         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8667         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8668         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8669         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8670
8671 2011-02-24  Michael Snyder  <msnyder@vmware.com>
8672
8673         * gdb.base/break.exp: Add tests for delete breakpoints using
8674         convenience variables and value history references.
8675
8676 2011-02-24  Michael Snyder  <msnyder@vmware.com>
8677
8678         * gdb.base/break.exp: Remove debugging 'printf' accidentally
8679         left behind in previous check-in.
8680
8681 2011-02-23  Michael Snyder  <msnyder@vmware.com>
8682
8683         * gdb.base/break.exp: Add tests for "info break" with arguments.
8684         * gdb.trace/infotrace.exp: Update patterns for error and help.
8685         * gdb.base/completion.exp: Update pattern.
8686         * gdb.base/ena-dis-br.exp: Update pattern.
8687         * gdb.base/help.exp: Update patterns.
8688
8689 2011-02-23  Michael Snyder  <msnyder@vmware.com>
8690
8691         * gdb.base/memattr.exp: New test.
8692         * gdb.base/memattr.c: Test load for memattr.exp.
8693
8694 2011-02-22  Doug Evans  <dje@google.com>
8695
8696         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8697
8698 2011-02-22  Michael Snyder  <msnyder@vmware.com>
8699
8700         * Makefile.in: Make more clean.
8701         * gdb.ada/Makefile.in: Ditto.
8702         * gdb.arch/Makefile.in: Ditto.
8703         * gdb.asm/Makefile.in: Ditto.
8704         * gdb.base/Makefile.in: Ditto.
8705         * gdb.cp/Makefile.in: Ditto.
8706         * gdb.dwarf2/Makefile.in: Ditto.
8707         * gdb.java/Makefile.in: Ditto.
8708         * gdb.mi/Makefile.in: Ditto.
8709         * gdb.modula2/Makefile.in: Ditto.
8710         * gdb.python/Makefile.in: Ditto.
8711         * gdb.server/Makefile.in: Ditto.
8712         * gdb.stabs/Makefile.in: Ditto.
8713         * gdb.threads/Makefile.in: Ditto.
8714         * gdb.trace/Makefile.in: Ditto.
8715
8716 2011-02-22  Michael Snyder  <msnyder@vmware.com>
8717
8718         * gdb.threads/thread-find.exp: Add tests for bad input to
8719         info threads.
8720
8721 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8722
8723         * gdb.python/py-breakpoint.exp: Fix the expected output of
8724         one of the "maint info breakpoints" tests to accept the output
8725         generated on platforms that do not have hardware watchpoints.
8726
8727 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8728
8729         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8730         clean_restart.  Be a little stricter in the expected output
8731         for one of the tests.  Fix a typo in one of the comments.
8732
8733 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8734
8735         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8736         Delete variable binfile, no longer use.  Add or modify test
8737         comments to make them unique.
8738
8739 2011-02-21  Michael Snyder  <msnyder@vmware.com>
8740
8741         * Makefile.in: Update for make clean.
8742         * gdb.ada/Makefile.in: Ditto.
8743         * gdb.arch/Makefile.in: Ditto.
8744         * gdb.asm/Makefile.in: Ditto.
8745         * gdb.base/Makefile.in: Ditto.
8746         * gdb.cp/Makefile.in: Ditto.
8747         * gdb.dwarf2/Makefile.in: Ditto.
8748         * gdb.java/Makefile.in: Ditto.
8749         * gdb.mi/Makefile.in: Ditto.
8750         * gdb.modula2/Makefile.in: Ditto.
8751         * gdb.python/Makefile.in: Ditto.
8752         * gdb.server/Makefile.in: Ditto.
8753         * gdb.stabs/Makefile.in: Ditto.
8754         * gdb.threads/Makefile.in: Ditto.
8755         * gdb.trace/Makefile.in: Ditto.
8756
8757 2011-02-21  Michael Snyder  <msnyder@vmware.com>
8758
8759         * gdb.threads/thread-find.exp: Update patterns for changes in
8760         output of "info threads" command.
8761
8762 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8763             Ulrich Weigand  <uweigand@de.ibm.com>
8764
8765         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8766         (skip_hw_watchpoint_tests): Likewise.
8767         (skip_hw_watchpoint_multi_tests): Likewise.
8768
8769 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
8770
8771         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8772         (skip_hw_watchpoint_tests): Likewise.
8773         (skip_hw_watchpoint_multi_tests): Likewise.
8774         (skip_hw_watchpoint_access_tests): Likewise.
8775
8776         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8777         * gdb.base/pr11022.exp: Likewise.
8778         * gdb.base/watch-read.exp: Likewise.
8779         * gdb.base/watch_thread_num.exp: Likewise.
8780         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8781         * gdb.base/watchpoint-hw.exp: Likewise.
8782         * gdb.base/watchpoint.exp: Likewise.
8783         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8784         * gdb.threads/watchthreads-reorder.exp: Likewise.
8785         * gdb.threads/watchthreads.exp: Likewise.
8786         * gdb.threads/watchthreads2.exp: Likewise.
8787
8788 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
8789
8790         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8791         the debugger is unable to find the array bounds.
8792
8793 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8794
8795         * gdb.cp/typedef-operator.exp: New file.
8796         * gdb.cp/typedef-operator.cc: New file.
8797
8798 2011-02-17  Michael Snyder  <msnyder@vmware.com>
8799
8800         * gdb.threads/thread-find.exp: Fix regular expressions.
8801
8802 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
8803
8804         * gdb.ada/packed_array: Expand testcase to test printing of
8805         unconstrained packed array.
8806
8807 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
8808
8809         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8810
8811 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
8812
8813         * gdb.trace/collection.c (globalarr3): New global.
8814         (main): Initialize it before collecting, and and clear it
8815         afterwards.
8816         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8817         collecting with '{type} addr', where the addr expression is not an
8818         rvalue.
8819
8820 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
8821
8822         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8823         a bool variable. Expect correct OpenCL names for vector types. Use the
8824         uc3 variable name instead of referring to the uchar3 built-in type.
8825         Escape the asterisk at the half pointer test.
8826
8827 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
8828
8829         * gdb.trace/collection.c (globalarr2): New global.
8830         (main): Initialize it before collecting, and and clear it
8831         afterwards.
8832         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8833         collecting overlapping memory ranges.
8834
8835 2011-02-15  Michael Snyder  <msnyder@vmware.com>
8836
8837         * gdb.base/default.exp: Add tests for thread commands.
8838         * gdb.base/help.exp: Add tests for thread commands.
8839         * gdb.threads/thread-find.exp: New test for thread find command.
8840
8841 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
8842
8843         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8844
8845 2011-02-15  Yao Qi  <yao@codesourcery.com>
8846
8847         PR tdep/12352
8848         * gdb.arch/arm-disp-step.S : New test for str instruction.
8849         * gdb.arch/arm-disp-step.exp : Likewise.
8850
8851 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8852
8853         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8854         "vector_register2_vr" test strings.  Test the extended floating
8855         point registers (F32~F63).
8856         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8857         IBM XL C compiler.  Make the test program use a register provided
8858         by the compiler for the lxvd2x instruction.
8859
8860 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8861
8862         * gdb.trace/unavailable.cc (class Base, class Middle, class
8863         Derived): New types.
8864         (derived_unavail, derived_partial, derived_whole): New globals.
8865         (virtual_partial): New global.
8866         (virtualp): Point at virtual_partial.
8867         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8868         related to unavailable vptr.
8869
8870 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8871
8872         * gdb.trace/unavailable.cc (a, b, c): New globals.
8873         (main): Set and clear them.
8874         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8875         `a' and `c', and check that `b' isn't collected, although `a' and
8876         `c' are.
8877
8878 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8879
8880         * gdb.trace/unavailable.cc (struct Virtual): New.
8881         (virtualp): New global pointer.
8882         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8883         printing a pointer to an object whose type has a vtable, with
8884         print object on.
8885
8886 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8887
8888         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8889         value repeat handles unavailableness.
8890
8891 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8892
8893         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8894         tests for building arrays from unavailable values, subscripting
8895         non-memory rvalue unvailable arrays, and accessing fields or
8896         baseclasses of non-lazy unavailable values,
8897         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8898         struct types.
8899         (g_smallstruct, g_smallstruct_b): New globals.
8900
8901 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8902
8903         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8904
8905 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8906
8907         Fix const/volatile qualifiers of C++ types, PR c++/12328.
8908         * gdb.cp/overload-const.exp: New file.
8909         * gdb.cp/overload-const.cc: New file.
8910
8911 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
8912
8913         * gdb.opencl/callfuncs.cl: New file.
8914         * gdb.opencl/callfuncs.exp: New test.
8915         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8916
8917 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
8918
8919         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8920         when computing result.
8921         * gdb.arch/altivec-abi.exp: Update expected results.
8922
8923 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8924
8925         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8926         * gdb.base/jit.exp: Likewise.
8927         * gdb.base/pie-execl.exp: Likewise.
8928         * gdb.base/solib-nodir.exp: Likewise.
8929         * gdb.base/solib-overlap.exp: Likewise.
8930
8931 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
8932
8933         * gdb.trace/collection.c (global_pieces): New.
8934         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8935         New procedure.
8936         (gdb_trace_collection_test): Call it.
8937
8938 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
8939
8940         * gdb.python/py-evthreads.c: New file.
8941         * gdb.python/py-evthreads.exp: New file.
8942         * gdb.python/py-events.py: New file.
8943         * gdb.python/py-events.exp: New file.
8944         * gdb.python/py-events.c: New file.
8945
8946 2011-02-04 David Daney <ddaney@caviumnetworks.com>
8947
8948         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8949
8950 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
8951
8952         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
8953         gdb.base/disasm-end-cu.exp: New test for disassembling over the
8954         boundary between two compilation units.
8955
8956 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
8957
8958         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
8959         (Virtual): New structs.
8960         (virtual_o, virtual_middle_b): New globals.
8961         * gdb.cp/virtbase.exp: New tests.
8962
8963 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
8964
8965         * gdb.base/jit.exp: New file.
8966         * gdb.base/jit-main.c: New file.
8967         * gdb.base/jit-solib.c: New file.
8968
8969 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
8970
8971         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
8972         proceed to initial kernel entry point.
8973         * gdb.opencl/datatypes.exp: Likewise.
8974         * gdb.opencl/operators.exp: Likewise.
8975         * gdb.opencl/vec_comps.exp: Likewise.
8976
8977 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
8978
8979         * gdb.cp/nsnested.cc: New.
8980         * gdb.cp/nsnested.exp: New.
8981         * gdb.cp/nsnoimports.exp: New.
8982         * gdb.cp/nsnoimports.cc: New.
8983
8984 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
8985
8986         * gdb.base/interact.exp: Add extra tests that verify that
8987         the value of the interactive-mode setting does not change
8988         after the script is sourced.
8989
8990 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8991
8992         * gdb.cp/noparam.exp: New file.
8993         * gdb.cp/noparam.cc: New file.
8994
8995 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
8996
8997         * gdb.trace/tfile.exp: Test that with no traceframe selected,
8998         there's no stack or registers.
8999
9000 2011-01-26  Tom Tromey  <tromey@redhat.com>
9001
9002         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9003         space before string output.  Add test for "set print pretty off"
9004         case.
9005
9006 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
9007
9008         * gdb.base/frame-args.exp: Adjust.
9009         * gdb.dwarf2/dw2-noloc.exp: Adjust.
9010         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9011         * gdb.dwarf2/pieces.exp: Adjust.
9012         * gdb.opt/clobbered-registers-O2.exp: Adjust.
9013         * gdb.opt/inline-locals.exp: Adjust.
9014         * gdb.threads/fork-child-threads.exp: Adjust.
9015
9016 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
9017
9018         * gdb.opencl/convs_casts.cl: Move program scope variables into the
9019         OpenCL kernel function. Add a comment as marker. Add address space
9020         qualifiers for the remaining program scope variables.
9021         * gdb.opencl/datatypes.cl: Likewise.
9022         * gdb.opencl/operators.cl: Likewise.
9023         * gdb.opencl/vec_comps.cl: Likewise.
9024         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9025         Add breakpoint at the marker comment.
9026         * gdb.opencl/datatypes.exp: Likewise.
9027         * gdb.opencl/operators.exp: Likewise.
9028         * gdb.opencl/vec_comps.exp: Likewise.
9029
9030 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
9031
9032         * gdb.base/printcmds.c (some_struct): New struct and instance.
9033         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9034         procedure.
9035         <global scope>: Call it.
9036
9037 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
9038
9039         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9040         argument to the gdb_compile_opencl_hostapp call.
9041
9042 2011-01-19  Yao Qi  <yao@codesourcery.com>
9043
9044         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9045         positve list.
9046
9047 2011-01-19  Yao Qi  <yao@codesourcery.com>
9048
9049         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9050         canonical form.
9051         Remove "xscale-*-*"
9052         * gdb.xml/tdesc-regs.exp: Likewise.
9053         * gdb.python/py-section-script.exp: Replace ARM target triplet
9054         with canonical form.
9055         Match arm*-*-symbianelf*.
9056         * gdb.base/dup-sect.exp: Likewise.
9057         * lib/dwarf.exp: New.
9058         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9059         dwarf2_support.
9060         * gdb.dwarf2/dup-psym.exp: Likewise.
9061         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9062         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9063         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9064         * gdb.dwarf2/dw2-basic.exp: Likewise.
9065         * gdb.dwarf2/dw2-compressed.exp: Likewise.
9066         * gdb.dwarf2/dw2-const.exp: Likewise.
9067         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9068         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9069         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9070         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9071         * gdb.dwarf2/dw2-filename.exp: Likewise.
9072         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9073         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9074         * gdb.dwarf2/dw2-intercu.exp: Likewise.
9075         * gdb.dwarf2/dw2-intermix.exp: Likewise.
9076         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9077         * gdb.dwarf2/dw2-noloc.exp: Likewise.
9078         * gdb.dwarf2/dw2-op-call.exp: Likewise.
9079         * gdb.dwarf2/dw2-producer.exp: Likewise.
9080         * gdb.dwarf2/dw2-ranges.exp: Likewise.
9081         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9082         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9083         * gdb.dwarf2/dw2-strp.exp: Likewise.
9084         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9085         * gdb.dwarf2/implptr.exp: Likewise.
9086         * gdb.dwarf2/mac-fileno.exp: Likewise.
9087         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9088         * gdb.dwarf2/pieces.exp: Likewise.
9089         * gdb.dwarf2/pr11465.exp: Likewise.
9090         * gdb.dwarf2/valop.exp: Likewise.
9091         * gdb.dwarf2/watch-notconst.exp: Likewise.
9092         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9093
9094 2011-01-19  Tom Tromey  <tromey@redhat.com>
9095
9096         * gdb.python/py-infthread.exp: Add thread tests.
9097
9098 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
9099
9100         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9101
9102 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
9103
9104         * gdb.ada/widewide: New testcase.
9105
9106 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
9107
9108         * gdb.base/interact.exp: New testcase.
9109
9110 2011-01-12  Tom Tromey  <tromey@redhat.com>
9111
9112         * gdb.mi/gdb2549.exp: Update for error message changes.
9113         * gdb.mi/mi-cli.exp: Likewise.
9114         * gdb.mi/mi-disassemble.exp: Likewise.
9115         * gdb.mi/mi-pthreads.exp: Likewise.
9116         * gdb.mi/mi-regs.exp: Likewise.
9117         * gdb.mi/mi-stack.exp: Likewise.
9118         * gdb.mi/mi-var-block.exp: Likewise.
9119         * gdb.mi/mi-var-cmd.exp: Likewise.
9120         * gdb.mi/mi2-cli.exp: Likewise.
9121         * gdb.mi/mi2-disassemble.exp: Likewise.
9122         * gdb.mi/mi2-pthreads.exp: Likewise.
9123         * gdb.mi/mi2-regs.exp: Likewise.
9124         * gdb.mi/mi2-stack.exp: Likewise.
9125         * gdb.mi/mi2-var-block.exp: Likewise.
9126         * gdb.mi/mi2-var-cmd.exp: Likewise.
9127
9128 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
9129             Jan Kratochvil  <jan.kratochvil@redhat.com>
9130
9131         PR fortran/11104 and DWARF unbound arrays detection.
9132         * gdb.fortran/multi-dim.exp: New file.
9133         * gdb.fortran/multi-dim.f90: New file.
9134
9135 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
9136
9137         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9138         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9139         add new tests for opcode dumping.
9140
9141 2011-01-11  Tom Tromey  <tromey@redhat.com>
9142
9143         * gdb.python/py-infthread.exp: Load gdb-python.exp.
9144
9145 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9146
9147         Convert hardware watchpoints to use breakpoint_ops.
9148         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9149         type is not supported.
9150         * gdb.base/foll-fork.exp: Likewise.
9151         * gdb.base/foll-vfork.exp: Likewise.
9152
9153 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
9154
9155         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9156         Use load_lib gdb-python.exp.
9157         * gdb.python/python.exp: Ditto.
9158         * gdb.python/py-function.exp: Ditto.
9159
9160 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
9161
9162         * gdb.threads/tls.exp ("info address me"): Fix expected output.
9163
9164 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9165
9166         * configure: Regenerate.
9167
9168 2011-01-06  Tom Tromey  <tromey@redhat.com>
9169
9170         * gdb.python/py-frame.exp: Test gdb.newest_frame.
9171
9172 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
9173
9174         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9175         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9176         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9177         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9178         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9179         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9180         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9181         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9182         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9183         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9184         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9185         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9186         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9187         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9188         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9189         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9190         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9191         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9192         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9193         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9194         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9195         gdb.ada/uninitialized_vars.exp,
9196         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9197         Simplify by using clean_restart.
9198
9199 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
9200
9201         Add marker to be used as anchor for inserting breakpoints.
9202         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9203         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9204         Likewise.
9205
9206         Remove uses of gdb_start_cmd.
9207         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9208         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9209
9210         Do not run testcase if testing with GDBserver.
9211         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9212         if testing with GDBserver.
9213
9214 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
9215
9216         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9217         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9218         copyright header.
9219
9220 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
9221
9222         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9223         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9224         testsuite/gdb.fortran/complex.f,
9225         testsuite/gdb.fortran/derived-type.f90,
9226         testsuite/gdb.fortran/library-module-lib.f90,
9227         testsuite/gdb.fortran/library-module-main.f90,
9228         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9229         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9230         Copyright year update.
9231
9232 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
9233
9234         * gdb.base/langs1.f: Add copyright header.
9235
9236 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9237
9238         * gdb.base/morestack.exp: New file.
9239         * gdb.base/morestack.c: New file.
9240
9241 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9242
9243         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9244
9245 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
9246
9247         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9248         * gdb.ada/arrayptr.exp: Add test printing that new variable.
9249
9250 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
9251
9252         * gdb.ada/lang_switch.exp: Correct expected parameter value.
9253
9254 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
9255
9256         * gdb.threads/tls.exp: Fix typo.
9257
9258         * gdb.threads/thread-specific.exp (get_thread_list): Update.
9259         * gdb.threads/execl.exp: Update.
9260
9261 2010-12-23  Yao Qi  <yao@codesourcery.com>
9262
9263         * gdb.arch/arm-disp-step.exp: New.
9264         * gdb.arch/arm-disp-step.S: New.
9265
9266 2010-12-21  Tom Tromey  <tromey@redhat.com>
9267
9268         * gdb.threads/execl.exp: Update.
9269         * gdb.threads/linux-dp.exp: Update.
9270         * gdb.threads/manythreads.exp: Update.
9271         * gdb.threads/tls.exp: Update.
9272
9273 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9274
9275         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9276         (NextOverThrowDerivates) <resumebpt>: New.
9277         (resumebpt_test): New.
9278         (main): Call resumebpt_test.
9279         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9280
9281 2010-12-12  Stan Shebs  <stan@codesourcery.com>
9282
9283         * gdb.trace/tsv.exp: Test print command on trace state variables.
9284
9285 2010-12-09  Tom Tromey  <tromey@redhat.com>
9286
9287         * gdb.base/interp.exp: Add regression test.
9288
9289 2010-12-09  Tom Tromey  <tromey@redhat.com>
9290
9291         * gdb.java/jnpe.java: New file.
9292         * gdb.java/jnpe.exp: New file.
9293         * gdb.cp/nextoverthrow.exp: New file.
9294         * gdb.cp/nextoverthrow.cc: New file.
9295
9296 2010-12-07  Doug Evans  <dje@google.com>
9297
9298         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9299         of data-directory.
9300         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9301         updated.
9302         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9303
9304 2010-11-29  Michael Snyder  <msnyder@vmware.com>
9305
9306         * gdb.base/callfuncs.exp: Test for skip_float_tests.
9307         * gdb.base/call-sc.exp: Ditto.
9308         * gdb.base/finish.exp: Ditto.
9309         * gdb.base/return.exp: Ditto.
9310         * gdb.base/return2.exp: Ditto.
9311
9312 2010-11-30  Doug Evans  <dje@google.com>
9313
9314         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9315         (gdb_expect_list): Fix spelling errors in comments.
9316         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9317         send_gdb/gdb_expect_list where applicable.
9318         * gdb.base/call-ar-st.exp: Ditto.
9319         * gdb.base/funcargs.exp: Ditto.
9320         * gdb.base/gcore.exp: Ditto.
9321         * gdb.base/page.exp: Ditto.
9322         * gdb.base/sigaltstack.exp: Ditto.
9323         * gdb.base/siginfo.exp: Ditto.
9324         * gdb.base/sigstep.exp: Ditto.
9325         * gdb.base/trace-commands.exp: Ditto.
9326
9327 2010-11-29  Doug Evans  <dje@google.com>
9328
9329         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9330         printer-name;subprinter-name.
9331
9332 2010-11-29  Tom Tromey  <tromey@redhat.com>
9333
9334         * gdb.dwarf2/implptr.exp: New file.
9335         * gdb.dwarf2/implptr.c: New file.
9336         * gdb.dwarf2/implptr.S: New file.
9337
9338 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
9339
9340         PR python/12199
9341
9342         * gdb.python/py-breakpoint.exp: Test the delete method.
9343
9344 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9345
9346         Fix step_resume_breakpoint unsaved during an infcall.
9347         * gdb.base/step-resume-infcall.exp: New file.
9348         * gdb.base/step-resume-infcall.c: New file.
9349
9350 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
9351
9352         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9353
9354 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
9355
9356         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9357         on ppc64's symbols; "finish" and "return" commands must accept to
9358         show the caller line again as well as the line after.
9359         * gdb.asm/powerpc64.inc: New file.
9360
9361 2010-11-23  Doug Evans  <dje@google.com>
9362
9363         * lib/gdb.exp (gdb_test_sequence): New function.
9364         (gdb_expect_list): Add verbose -log call for each pattern.
9365         * gdb.base/signals.exp (test_handle_all_print): Call it.
9366         Reduce timeout increment from 6 minutes to 1 minute.
9367         * gdb.server/ext-run.exp: Call it.
9368
9369 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
9370
9371         PR python/12212
9372
9373         * gdb.python/python.exp: Check that selected_thread raises an
9374         error when no inferior is loaded.
9375
9376 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9377
9378         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9379         * gdb.dwarf2/dw2-stack-boundary.S: New file.
9380
9381 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9382
9383         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9384         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9385
9386 2010-11-18  Doug Evans  <dje@google.com>
9387
9388         * gdb.server/ext-run.exp: Fix intermittent failures.
9389
9390 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
9391
9392         * gdb.stabs/gdb11479.exp: Use runto_main.
9393
9394 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
9395
9396         * gdb.base/break-entry.exp: Skip if using a stub.
9397
9398 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
9399
9400         * gdb.python/py-inferior.exp: Pack values in target endianness.
9401
9402 2010-11-12  Tom Tromey  <tromey@redhat.com>
9403
9404         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9405         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9406         MemoryError.
9407         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9408         type.
9409         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9410         MemoryError.
9411         (test_subscript_regression): Update exception type.
9412
9413 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
9414
9415         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9416         breakpoint tests.
9417
9418 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
9419
9420         * gdb.base/watchpoint.exp: Test "watch -location" with an
9421         innacessible location.
9422
9423 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
9424             Luis Machado  <luisgpm@br.ibm.com>
9425
9426         * gdb.base/maint.exp: Expect "." prefix.
9427         * gdb.base/nodebug.exp: Expect "." Likewise.
9428         * gdb.base/sepsymtab.exp: Expect "." Likewise.
9429         * gdb.base/watchpoint-cond-gone.exp: Likewise.
9430         * gdb.base/watchpoint.exp: Expect a software watch to be created for
9431         POWER server processors.
9432
9433 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
9434             Luis Machado  <luisgpm@br.ibm.com>
9435
9436         * gdb.base/break-entry.exp: convert entry point for
9437         ppc64 and expect leading `.' on ppc64's symbols
9438
9439 2010-11-05  Doug Evans  <dje@google.com>
9440
9441         * gdb.base/help.exp: Update expected output.
9442         * gdb.python/py-param.exp: Delete, contents moved to ...
9443         * gdb.python/py-parameter.exp: ... here.  New file.
9444         Add test for gdb.parameter ("directories").
9445
9446 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
9447
9448         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9449         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9450         * configure: Regenerate.
9451         * gdb.opencl/Makefile.in: New File.
9452         * gdb.opencl/datatypes.exp: Likewise.
9453         * gdb.opencl/datatypes.cl: Likewise.
9454         * gdb.opencl/operators.exp: Likewise.
9455         * gdb.opencl/operators.cl: Likewise.
9456         * gdb.opencl/vec_comps.exp: Likewise.
9457         * gdb.opencl/vec_comps.cl: Likewise.
9458         * gdb.opencl/convs_casts.exp: Likewise.
9459         * gdb.opencl/convs_casts.cl: Likewise.
9460         * lib/opencl.exp: Likewise.
9461         * lib/opencl_hostapp.c: Likewise.
9462         * lib/opencl_kernel.cl: Likewise.
9463         * lib/cl_util.c: Likewise.
9464         * lib/cl_util.c: Likewise.
9465         * gdb.base/default.exp (set language): Add "opencl" to the list of
9466         languages.
9467
9468 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
9469
9470         * gdb.cp/overload.exp: Added test for inheritance overload.
9471         * gdb.cp/overload.cc: Ditto.
9472         * gdb.cp/oranking.exp: Removed releveant kfails.
9473
9474 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9475             Joel Brobecker  <brobecker@adacore.com>
9476
9477         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9478         check test_compiler_info.
9479
9480 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
9481
9482         * gdb.base/gnu_vector.exp: Adjust expect messages.
9483
9484 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
9485
9486         * gdb.base/gnu_vector.exp: Add unary operator tests.
9487
9488 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
9489
9490         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9491
9492 2010-11-02  Doug Evans  <dje@google.com>
9493
9494         * gdb.python/py-pp-maint.c: New file.
9495         * gdb.python/py-pp-maint.exp: New file.
9496         * gdb.python/py-pp-maint.py: New file.
9497
9498 2010-11-02  Tom Tromey  <tromey@redhat.com>
9499
9500         * gdb.base/default.exp: Remove "scheme" from language list.
9501
9502 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9503
9504         Revert:
9505         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9506         * gdb.threads/sigstep-threads.exp: New file.
9507         * gdb.threads/sigstep-threads.c: New file.
9508
9509 2010-10-20  Michael Snyder  <msnyder@vmware.com>
9510
9511         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9512
9513 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
9514
9515         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9516         Skip test completely if gdb,no_hardware_watchpoints.
9517
9518 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
9519
9520         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9521         strict, but do not check for any particular function name within libc.
9522
9523 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
9524
9525         * gdb.cp/smartp.exp: New test.
9526         * gdb.cp/smartp.cc : New test.
9527
9528 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
9529
9530         * gdb.cp/converts.exp: Test pointer to bool conversion.
9531         Test pointer to long conversion.
9532         * gdb.cp/oranking.exp: Removed relevant kfail.
9533
9534 2010-10-18  Tom Tromey  <tromey@redhat.com>
9535
9536         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9537         argument to lazy_string.
9538         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9539         (pp_ls.to_string): Use it.
9540         * gdb.python/py-prettyprint.c (main): Move declarations to top.
9541         Add "estring2" local.
9542
9543 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9544
9545         Fix s390x compatibility.
9546         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
9547         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9548
9549 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9550
9551         * gdb.threads/sigstep-threads.exp: New file.
9552         * gdb.threads/sigstep-threads.c: New file.
9553
9554 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9555
9556         * gdb.base/pie-execl.exp: New file.
9557         * gdb.base/pie-execl.c: New file.
9558
9559 2010-10-13  Doug Evans  <dje@google.com>
9560             Jan Kratochvil  <jan.kratochvil@redhat.com>
9561
9562         PR exp/12117
9563         * gdb.cp/ptype-cv-cp.cc: New file.
9564         * gdb.cp/ptype-cv-cp.exp: New file.
9565
9566 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
9567
9568         * gdb.cp/converts.cc: New test program.
9569         * gdb.cp/converts.exp: New test.
9570         * gdb.cp/overload.exp: Added test for void* vs int*.
9571         * gdb.cp/overload.exp: Ditto.
9572         * gdb.cp/oranking.exp: Removed related kfail.
9573
9574 2010-10-13  Doug Evans  <dje@google.com>
9575
9576         * lib/gdb-python.exp (gdb_check_python_config): New function.
9577         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9578         * gdb.python/lib-types.cc: New file.
9579         * gdb.python/lib-types.exp: New file.
9580
9581 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9582
9583         * gdb.python/py-error.exp: New file.
9584         * gdb.python/py-error.py: New file.
9585
9586 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9587
9588         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9589         gdb_test_multiple.
9590
9591 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9592
9593         * gdb.base/break-interp.exp: Use ldlags for linking flags.
9594         * gdb.base/prelink.exp: Likewise.
9595         * gdb.base/solib-nodir.exp: Likewise.
9596         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9597         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9598         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9599
9600 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
9601
9602         * break-interp.exp (test_ld): Use two separate gdb_expect statements
9603         for the "info files" test to avoid timeouts on slow machines.
9604
9605 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9606
9607         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9608         (main): Make openlib dummy call.
9609
9610 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9611
9612         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9613         * break-interp.exp (reach): Move the core body ...
9614         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
9615         (test_ld): Provide always real argument, even to the linker.  Replace
9616         dl_main by _dl_debug_state.
9617
9618 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9619
9620         Fix results of prelinked PIEs on ppc*.
9621         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9622         Accept also DISPLACEMENT "PRESENT".
9623         (main): Replace "ZERO" displacements by "PRESENT".
9624
9625 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
9626
9627         * gdb.cp/oranking.exp: New test.
9628         * gdb.cp/oranking.cc: New test program.
9629
9630 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
9631
9632         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9633         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9634
9635 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
9636
9637         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9638         lush, lynx) New constant.
9639         * gdb.base/constvars.exp: Test const array types.
9640         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9641
9642 2010-10-06  Doug Evans  <dje@google.com>
9643
9644         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9645         of syscall staging area.
9646
9647 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
9648
9649         * gdb.base/gnu_vector.c: Add variable c4.
9650         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9651         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9652
9653 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
9654
9655         * gdb.arch/altivec-abi.exp: Fix a typo.
9656
9657 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
9658
9659         * lib/mi-support.exp (thread_selected_re): Correct pattern used
9660         to match a thread ID.
9661
9662 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9663
9664         Fix s390x testcase compatibility.
9665         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9666
9667 2010-10-01  Doug Evans  <dje@google.com>
9668
9669         * lib/gdb-python.exp: New file.
9670         * gdb.python/py-block.exp: Use it.
9671         * gdb.python/py-breakpoint.exp: Ditto.
9672         * gdb.python/py-frame.exp: Ditto.
9673         * gdb.python/py-inferior.exp: Ditto.
9674         * gdb.python/py-param.exp: Ditto.
9675         * gdb.python/py-prettyprint.exp: Ditto.
9676         * gdb.python/py-shared.exp: Ditto.
9677         * gdb.python/py-symbol.exp: Ditto.
9678         * gdb.python/py-symtab.exp: Ditto.
9679         * gdb.python/py-type.exp: Ditto.
9680         * gdb.python/py-value.exp: Ditto.
9681         * gdb.python/python.exp: Ditto.
9682
9683 2010-09-30  Tom Tromey  <tromey@redhat.com>
9684
9685         * gdb.base/anon.exp: New file.
9686         * gdb.base/anon.c: New file.
9687
9688 2010-09-30  Tom Tromey  <tromey@redhat.com>
9689
9690         * gdb.base/completion.exp: Test completion through anonymous
9691         union.
9692         * gdb.base/break1.c (struct some_struct): Add anonymous union.
9693
9694 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9695
9696         Fix printing parameters of inlined functions.
9697         * gdb.dwarf2/dw2-inline-param.exp: New file.
9698         * gdb.dwarf2/dw2-inline-param-main.c: New file.
9699         * gdb.dwarf2/dw2-inline-param.S: New file.
9700
9701 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9702
9703         PR corefiles/12071.
9704         * gdb.base/corefile.exp (quit with a process, no question: load core)
9705         (quit with a core file): New tests.
9706
9707 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9708
9709         Fix GDB crash on inferior calls with self-referencing classes.
9710         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9711         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9712         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9713
9714 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9715
9716         Fix lost siginfo_t for inferior calls.
9717         * gdb.base/siginfo-infcall.exp: New file.
9718         * gdb.base/siginfo-infcall.c: New file.
9719
9720 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9721
9722         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9723
9724 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9725
9726         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9727         New test.
9728         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9729
9730 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9731
9732         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9733         type of our const type.
9734
9735 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
9736
9737         * gdb.cp/pr12028.cc: New.
9738         * gdb.cp/pr12028.exp: New.
9739
9740 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9741
9742         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9743
9744 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
9745             Jan Kratochvil  <jan.kratochvil@redhat.com>
9746
9747         PR mi/11407
9748         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9749         * gdb.mi/dw2-ref-missing-frame-main.c New File.
9750         * gdb.mi/dw2-ref-missing-frame.S New File.
9751         * gdb.mi/dw2-ref-missing-frame.exp New File.
9752
9753 2010-09-14  Tom Tromey  <tromey@redhat.com>
9754
9755         PR symtab/8399:
9756         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
9757
9758 2010-09-14  Tom Tromey  <tromey@redhat.com>
9759
9760         PR exp/11803:
9761         * gdb.threads/tls.exp: Use C++.
9762         (check_thread_local): Use K::another_thread_local.
9763         * gdb.threads/tls.c (class K): New.
9764         (another_thread_local): Now a member of K.
9765         (spin): Update.  No longer K&R C.
9766
9767 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
9768
9769         * gdb.cp/koenig.cc: created class for testing member lookup.
9770         * gdb.cp/koenig.exp: Added test for member lookup.
9771
9772 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9773
9774         Fix false FAILs on sourcetree topdir directory containing "kill".
9775         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9776         source line matching regexp.
9777
9778 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9779
9780         * gdb.python/python.exp (set height 0, collect help from uiout)
9781         (verify help to uiout): New tests.
9782
9783 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9784
9785         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9786         is_lp64_target to check 64bit target.
9787
9788 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9789
9790         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9791         (test_ld) <powerpc64-*>: New.
9792
9793 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9794
9795         * gdb.cp/templates.exp (test_template_args): Allow "struct".
9796
9797 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9798
9799         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9800         (FunctionArg::method): New function.
9801         (empty, arg): New variables.
9802         (main): Call arg.method.
9803         * gdb.cp/templates.exp (test_template_args): New function.
9804         (do_tests): Call it.
9805
9806 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
9807
9808         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9809         of "next" to proceed over pthread_exit call.
9810
9811 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
9812
9813         * gdb.base/maint.exp: Avoid wildcards against potentially very long
9814         "maint print statistics" output to prevent expect timeouts.
9815
9816 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
9817
9818         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9819         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9820         (test_float_rejected): ... here.
9821         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9822         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9823         (test_float_rejected): ... here.
9824         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9825         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9826         (test_float_rejected): ... here.
9827         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9828         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9829         (test_float_rejected): ... here.
9830
9831 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
9832
9833         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9834         before disabling hardware watchpoints.
9835         (test_inaccessible_watchpoint): Check that hardware watchpoints
9836         are used.  Test for watchpoints on a constant address.
9837
9838 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9839
9840         * gdb.base/ui-redirect.exp: New file.
9841
9842 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9843             Joel Brobecker  <brobecker@adacore.com>
9844
9845         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9846
9847 2010-08-31  Doug Evans  <dje@google.com>
9848
9849         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9850
9851 2010-08-30  Tom Tromey  <tromey@redhat.com>
9852
9853         PR python/11792:
9854         * gdb.python/py-value.exp (test_subscript_regression): Add
9855         dynamic_type test.
9856
9857 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
9858
9859         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9860         instead of running to main.  Do not test the main function.
9861         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9862         Add new main.
9863
9864 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
9865
9866         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9867         one test.
9868
9869 2010-08-24  Doug Evans  <dje@google.com>
9870
9871         PR symtab/11942
9872         * gdb.dwarf2/dw4-sig-types.cc: New file.
9873         * gdb.dwarf2/dw4-sig-types.h: New file.
9874         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9875         * gdb.dwarf2/dw4-sig-types.exp: New file.
9876
9877 2010-08-23  Tom Tromey  <tromey@redhat.com>
9878
9879         PR python/11145:
9880         * gdb.python/py-value.c (Base, Derived): New types.
9881         (base): New global.
9882         * gdb.python/py-value.exp (test_subscript_regression): Add
9883         dynamic_cast test.
9884
9885 2010-08-23  Tom Tromey  <tromey@redhat.com>
9886
9887         PR python/10676:
9888         * gdb.python/py-type.exp (test_fields): Add tests for type
9889         equality.
9890
9891 2010-08-23  Tom Tromey  <tromey@redhat.com>
9892
9893         PR python/11915:
9894         * gdb.python/py-type.exp (test_fields): Add tests for array.
9895
9896 2010-08-23  Keith Seitz  <keiths@redhat.com>
9897
9898         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9899         have any children. Create a new abbrev for it.
9900         Add missing terminal sequence to .debug_abbrev.
9901
9902 2010-08-20  Keith Seitz  <keiths@redhat.com>
9903
9904         PR symtab/11465:
9905         * gdb.dwarf2/pr11465.exp: New test.
9906         * gdb.dwarf2/pr11465.S: New file.
9907         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9908         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9909
9910 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9911
9912         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9913         registers.  Update data sets with the new v2_double element in the
9914         VSX register union.  Add vector_register3_vr data set for the AltiVec
9915         registers.  Use gdb_test_no_output instead of send_gdb.
9916
9917 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
9918
9919         * gdb.python/py-shared.exp: New file, factored out from
9920         python.exp.
9921         * gdb.python/py-shared.c: New file.
9922         * gdb.python/py-shared-sl.c: New file.
9923         * gdb.python/python-1.c: New file.
9924         * gdb.python/python-sl.c: Delete.
9925         * gdb.python/python.c: Mention python-1.c.
9926         * gdb.python/python.exp: Move shared library tests to
9927         py-shared.exp.
9928         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9929         (MISCELLANEOUS): New.
9930         (clean mostlyclean): Also remove $MISCELLANEOUS.
9931
9932 2010-08-19  Doug Evans  <dje@google.com>
9933
9934         PR exp/11926
9935         * gdb.base/printcmds.exp (test_float_accepted): New function.
9936         Move existing float tests there.  Add tests for floats with suffixes.
9937         (test_float_rejected): New function.
9938         * gdb.java/jv-print.exp (test_float_accepted): New function.
9939         (test_float_rejected): New function.
9940         * gdb.objc/print.exp: New file.
9941         * gdb.pascal/print.exp: New file.
9942         * lib/objc.exp: New file.
9943
9944 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
9945
9946         * gdb.base/default.exp (info set): Avoid full buffer error and force
9947         reading up to final gdb prompt.
9948         (show): Likewise.
9949
9950 2010-08-18  Tom Tromey  <tromey@redhat.com>
9951
9952         PR symtab/11919:
9953         * gdb.base/completion.exp: Add test.
9954
9955 2010-08-18  Doug Evans  <dje@google.com>
9956
9957         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
9958         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
9959         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
9960         Simplify, early exit if runto_main fails.
9961         * gdb.fortran/exprs.exp: load_lib fortran.exp.
9962         (set_lang_fortran): Moved to lib/fortran.exp.
9963         * gdb.fortran/types.exp: load_lib fortran.exp.
9964         (set_lang_fortran): Moved to lib/fortran.exp.
9965         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
9966         * gdb.java/jprint.exp (set_lang_java): Ditto.
9967         * gdb.java/jv-exp.exp: load_lib java.exp.
9968         If set_lang_java fails, issue a warning instead of failure to be
9969         consistent with other set_lang_foo uses.
9970         (set_lang_java): Moved to lib/java.exp.
9971         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
9972         If set_lang_java fails, issue a warning instead of failure to be
9973         consistent with other set_lang_foo uses.
9974         * gdb.pascal/types.exp: load_lib pascal.exp.
9975         (set_lang_pascal): Moved to lib/pascal.exp.
9976         * lib/fortran.exp: New file.
9977         * lib/java.exp (set_lang_java): New function.
9978         * lib/pascal.exp (set_lang_pascal): New function.
9979
9980 2010-08-18  Yao Qi  <yao@codesourcery.com
9981
9982         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
9983         func_nofb_start and func_loopfb_start, so that address of functions
9984         is equal to these labels on Thumb.
9985
9986 2010-08-18  Yao Qi  <yao@codesourcery.com>
9987
9988         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
9989         to reflect latest c source file.
9990
9991 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9992
9993         * gdb.cp/infcall-dlopen.exp: New file.
9994         * gdb.cp/infcall-dlopen.cc: New file.
9995         * gdb.cp/infcall-dlopen-lib.cc: New file.
9996
9997 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9998             Pedro Alves  <pedro@codesourcery.com>
9999
10000         PR breakpoints/11371
10001
10002         * gdb.base/watch-cond-infcall.exp: New file.
10003         * gdb.base/watch-cond-infcall.c: New file.
10004
10005 2010-08-16  Tom Tromey  <tromey@redhat.com>
10006
10007         * gdb.base/help.exp: Update.
10008         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10009         watchpoint.
10010         (test_watch_location): New proc.
10011         (test_watchpoint_in_big_blob): Delete watchpoint.
10012         * gdb.base/watchpoint.c (func5): New function.
10013         (main): Call it.
10014
10015 2010-08-16  Doug Evans  <dje@google.com>
10016
10017         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10018
10019 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
10020
10021         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10022         tests.
10023
10024 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
10025
10026         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10027         * gdb.base/gnu_vector.c: New File.
10028         * gdb.base/gnu_vector.exp: Likewise.
10029
10030 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
10031
10032         * gdb.python/python.c: New File.
10033         * gdb.python/python-sl.c: New File.
10034         * gdb.python/python.exp: Test solib_address and decode_line
10035         * functions.
10036
10037 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10038
10039         * gdb.python/python.exp (show height, set height 10)
10040         (verify pagination beforehand, verify pagination beforehand: q)
10041         (gdb.execute does not page, verify pagination afterwards)
10042         (verify pagination afterwards: q): New.
10043
10044 2010-08-02  Doug Evans  <dje@google.com>
10045
10046         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10047         because of an older gcc, change test2
10048         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10049         to unsupported.
10050
10051 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
10052
10053         * gdb.base/break-always.exp: Do not expect full paths to file
10054         names.
10055         * gdb.base/commands.exp: Likewise.
10056
10057 2010-07-30  Doug Evans  <dje@google.com>
10058
10059         * gdb.cp/temargs.exp: For new tests that require newer gccs,
10060         xfail them when run with older gccs.
10061
10062         * lib/gdb.exp (build_executable): Forward "c++" option to
10063         get_compiler_info.
10064
10065         * gdb.python/py-type.exp (test_template): Mark as xfail tests
10066         "python print ttype.template_argument(1)" and
10067         "python print isinstance(ttype.template_argument(1), gdb.Value)"
10068         if using gcc 4.4 or earlier.
10069
10070         * gdb.base/valgrind-db-attach.exp: Use unique test name for
10071         attach-to-debugger handling.
10072
10073 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
10074
10075         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10076         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10077         (main): Use copyreloc.
10078         * gdb.base/prelink.exp (split debug of executable)
10079         (.dynbss vs. .bss address shift): New tests.
10080
10081 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
10082
10083         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10084         in gdb_test_multiple.
10085
10086 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
10087
10088         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10089         environment.
10090
10091 2010-07-28  Tom Tromey  <tromey@redhat.com>
10092
10093         PR python/11060:
10094         * gdb.python/py-type.c (Temargs): New template.
10095         (temvar): New variable.
10096         * gdb.python/py-type.exp (test_template): New proc.
10097
10098 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
10099
10100         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10101         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10102
10103 2010-07-28  Tom Tromey  <tromey@redhat.com>
10104
10105         PR c++/9946:
10106         * gdb.cp/temargs.exp: New file.
10107         * gdb.cp/temargs.cc: New file.
10108
10109 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10110
10111         * gdb.base/help.exp (help disassemble): Update the content.
10112
10113 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10114
10115         * gdb.threads/ia64-sigill.exp: New file.
10116         * gdb.threads/ia64-sigill.c: New file.
10117
10118 2010-07-27  Tom Tromey  <tromey@redhat.com>
10119
10120         * gdb.opt/inline-cmds.c (ATTR): New define.
10121         (func1): Use it.
10122         (func2): Likewise.
10123         (func3): Likewise.
10124         (outer_inline1): Likewise.
10125         (outer_inline2): Likewise.
10126         * gdb.opt/inline-bt.c (ATTR): New define.
10127         (func1): Use it.
10128         (func2): Likewise.
10129         * gdb.opt/inline-locals.c (ATTR): New define.
10130         (func1): Use it.
10131         (func2): Likewise.
10132
10133 2010-07-27  Tom Tromey  <tromey@redhat.com>
10134
10135         * gdb.stabs/gdb11479.c (hack): New function.
10136         (test): Use it.
10137         (test2): Use it.
10138         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10139         (int32_search_buf, int64_search_buf): No longer static.
10140         (x): Remove.
10141         * gdb.base/relocate.c (hack): New function.
10142
10143 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
10144
10145         * gdb.python/py-value.exp (test_inferior_function_call): New function.
10146         * gdb.python/py-value.c (func1): New function.
10147         (func2): Likewise.
10148
10149 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
10150
10151         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10152         as not to clash with .data section.
10153
10154 2010-07-26  Jerome Guitton  <guitton@adacore.com>
10155
10156         * gdb.base/code_elim.exp: New file.
10157         * gdb.base/code_elim1.c: New file.
10158         * gdb.base/code_elim2.c: New file.
10159
10160 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
10161
10162         PR symtab/11827
10163
10164         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10165         (some_volatile_enum): New variable.
10166         * gdb.base/printcmds.exp (test_print_enums): New.
10167         <top level>: Call it.
10168
10169 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
10170
10171         * gdb.cp/fpointer.cc: New test.
10172         * gdb.cp/fpointer.exp: New test.
10173
10174 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10175
10176         * gdb.base/solib-nodir.exp: New file.
10177         * lib/gdb.exp (runto): New case for a GDB internal error.
10178
10179 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10180             Ulrich Weigand  <uweigand@de.ibm.com>
10181             Tom Tromey  <tromey@redhat.com>
10182
10183         * gdb.base/charset-malloc.c: New file.
10184         * gdb.base/charset.c (malloc_stub): New prototype.
10185         (main): Call it instead of malloc itself.
10186         * gdb.base/charset.exp: Use only prepare_for_testing.
10187         (binfile): Remove the variable.
10188
10189 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
10190
10191         Make core files the process_stratum.
10192         * gdb.base/corefile.exp (run: load core again)
10193         (run: sanity check we see the core file, run: with core)
10194         (run: core file is cleared, attach: load core again)
10195         (attach: sanity check we see the core file, attach: with core)
10196         (attach: core file is cleared): New tests.
10197         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
10198
10199 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
10200
10201         * gdb.arch/altivec-abi.exp: New tests.
10202
10203 2010-07-13  Tom Tromey  <tromey@redhat.com>
10204
10205         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10206         (main): Use it.
10207         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10208
10209 2010-07-13  Tom Tromey  <tromey@redhat.com>
10210
10211         * gdb.base/label.exp: New file.
10212         * gdb.base/label.c: New file.
10213
10214 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
10215             H.J. Lu  <hongjiu.lu@intel.com>
10216
10217         * lib/gdb.exp (is_ilp32_target): New.
10218         (is_lp64_target): Likewise.
10219
10220         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10221         target.
10222         * gdb.arch/amd64-disp-step.exp: Likewise.
10223         * gdb.arch/amd64-dword.exp: Likewise.
10224         * gdb.arch/amd64-i386-address.exp: Likewise.
10225         * gdb.arch/amd64-word.exp: Likewise.
10226
10227         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10228         target.
10229         * gdb.arch/i386-bp_permanent.exp: Likewise.
10230         * gdb.arch/i386-byte.exp: Likewise.
10231         * gdb.arch/i386-disp-step.exp: Likewise.
10232         * gdb.arch/i386-gnu-cfi.exp: Likewise.
10233         * gdb.arch/i386-prologue.exp: Likewise.
10234         * gdb.arch/i386-size-overlap.exp: Likewise.
10235         * gdb.arch/i386-size.exp: Likewise.
10236         * gdb.arch/i386-sse.exp: Likewise.
10237         * gdb.arch/i386-unwind.exp: Likewise.
10238         * gdb.arch/i386-word.exp: Likewise.
10239
10240         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10241         test only when building 64-bit executables.  Do not hard-code
10242         -m64 option.
10243
10244 2010-07-07  Doug Evans  <dje@google.com>
10245
10246         * lib/gdb.exp (gdb_test_list_exact): New function.
10247         * gdb.base/default.exp (show convenience): Call it, add tests for
10248         $_sdata = void, $_thread = 0.
10249
10250 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10251             Joel Brobecker  <brobecker@adacore.com>
10252
10253         Fix re-run of PIE executable, PR shlibs/11776.
10254         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10255         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
10256         and re-"run" of the inferior.
10257
10258 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10259             Joel Brobecker  <brobecker@adacore.com>
10260
10261         Cope with missing /usr/sbin/prelink.
10262         * lib/prelink-support.exp (prelink_no):
10263         <result == 1 && $output is "no such file or directory">: New.
10264         (prelink_yes): Likewise.  Return on failed prelink_no.
10265
10266 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10267             Joel Brobecker  <brobecker@adacore.com>
10268
10269         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
10270         build_executable by build_executable_own_libs.  Replace "prelink -R"
10271         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
10272         change.
10273         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
10274         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
10275         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10276         Replace build_executable by build_executable_own_libs's function
10277         build_executable_own_libs.
10278         (prelinkNO): Create new stub to call prelink_no.
10279         (prelinkYES): Create new stub to call prelink_yes.
10280         (test_attach): Rename calls of copy to file_copy.
10281         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10282         (copy): Move to ...
10283         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
10284         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10285         * gdb.base/prelink.exp: Disable testcase also for is_remote and
10286         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
10287         special flags by gdb_compile_shlib.  Replace second gdb_compile by
10288         build_executable_own_libs.  Replace "prelink -R" execution by a call of
10289         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
10290         a second call of prelink_yes.  Replace restart commands by
10291         clean_restart.
10292         (prelink): Rename to ...
10293         (seen displacement message): ... this test.  Extend its expectation
10294         strictness.
10295
10296 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10297
10298         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10299         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10300         displacement message exactly once.
10301
10302 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10303             Joel Brobecker  <brobecker@adacore.com>
10304
10305         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
10306         its restore after the <$relink_args != ""> loop.  new comment.
10307
10308 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10309             Joel Brobecker  <brobecker@adacore.com>
10310
10311         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10312         code for it.  New variable relink_args.
10313         (prelinkYES): Call prelinkNO.
10314         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
10315         in such case.  Move the core code to ...
10316         (test_attach_gdb): ... a new function.  Send GDB command "file".
10317         Extend expected "Attaching to " string.
10318
10319 2010-07-02  Tom Tromey  <tromey@redhat.com>
10320
10321         * gdb.base/bitops.exp: Remove extraneous "pass".
10322
10323 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
10324
10325         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10326
10327 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
10328
10329         * gdb.base/help.exp: Adjust expected output.
10330
10331 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
10332
10333         * gdb.base/help.exp: Adjust expected output.
10334
10335 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
10336
10337         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10338         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10339         c++/11702.
10340
10341 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
10342             Doug Evans  <dje@google.com>
10343
10344         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10345         add .dynamic entry'.
10346
10347 2010-06-29  Doug Evans  <dje@google.com>
10348
10349         Test PR c++/11702.
10350         * gdb.cp/m-static.exp: Add testcase.
10351         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10352
10353 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
10354             Tom Tromey  <tromey@redhat.com>
10355             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10356
10357         * gdb.python/py-inferior.c: New File.
10358         * gdb.python/py-infthread.c: New File.
10359         * gdb.python/py-inferior.exp: New File.
10360         * gdb.python/py-infthread.exp: New File.
10361
10362 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10363
10364         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10365         (ptype ::C::OtherFileClass typedefs): New.
10366         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10367         (C::OtherFileClass::cOtherFileClassVar2): New.
10368         (C::OtherFileClass::cOtherFileClassVar_use): Use also
10369         cOtherFileClassVar2.
10370         (C::cOtherFileType2, C::cOtherFileVar2): New.
10371         (C::cOtherFileVar_use): use also cOtherFileVar2.
10372         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10373
10374 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10375
10376         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10377         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10378         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10379         (print ::C::cOtherFileVar)
10380         (whatis C::OtherFileClass::cOtherFileClassType)
10381         (whatis ::C::OtherFileClass::cOtherFileClassType)
10382         (print C::OtherFileClass::cOtherFileClassVar)
10383         (print ::cOtherFileClassVar)
10384         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10385         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10386         trailing content.
10387         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10388         (C::OtherFileClass::cOtherFileClassVar)
10389         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10390         (C::cOtherFileVar, C::cOtherFileVar_use): New.
10391
10392 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10393
10394         Test PR c++/11703 and PR gdb/1448.
10395         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10396         gdb/1448.
10397
10398 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10399
10400         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10401         (main) <rtti_data>: New.
10402         * gdb.cp/virtbase.exp (print rtti_data): New.
10403
10404 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10405             Joel Brobecker  <brobecker@adacore.com>
10406
10407         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10408
10409 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10410
10411         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10412
10413 2010-06-28  Doug Evans  <dje@google.com>
10414
10415         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10416
10417 2010-06-27  Doug Evans  <dje@google.com>
10418
10419         * gdb.cp/m-static.exp: Update expected test output.
10420
10421 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
10422
10423         * gdb.gdb/selftest.exp: Adjust expected message for
10424         capturing start-up runtime.
10425
10426 2010-06-25  Tom Tromey  <tromey@redhat.com>
10427
10428         PR python/10808:
10429         * gdb.python/python.exp: Add new tests.
10430
10431 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
10432
10433         * gdb.cp/operator.cc: Created an import loop.
10434         * gdb.cp/operator.exp: Added testcase for import loop.
10435
10436 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10437
10438         Test PR python/11407.
10439         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10440         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10441         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10442         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10443         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
10444         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10445         binfile.  Call gdb_compile with clean_restart twice.
10446         (func_nofb print, func_nofb backtrace, func_loopfb print)
10447         (func_loopfb backtrace): New.
10448
10449 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10450
10451         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10452         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10453         by a hand made one.
10454         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
10455         i?86 requirement.  Remove variables srcfile and binfile.  New variable
10456         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
10457
10458 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10459
10460         * gdb.cell/dwarfaddr.exp: New file.
10461         * gdb.cell/dwarfaddr.S: New file.
10462
10463 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
10464
10465         Test PR 9436.
10466         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10467
10468 2010-06-24  Hui Zhu  <teawater@gmail.com>
10469
10470         * gdb.base/eval.exp: New file.
10471
10472 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10473
10474         * gdb.cell/fork.exp: New file.
10475         * gdb.cell/fork.c: Likewise.
10476         * gdb.cell/fork-spu.c: Likewise.
10477
10478 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
10479
10480         * lib/gdb.exp (banned_variables_traced): New global variable.
10481         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10482         (gdb_init): Use `trace add variable' instead of obsolete
10483         `trace variable'.
10484
10485 2010-06-21  Doug Evans  <dje@google.com>
10486
10487         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10488
10489 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10490
10491         * gdb.arch/spu-ls.exp: New file.
10492         * gdb.arch/spu-ls.c: Likewise.
10493
10494 2010-06-18  Stan Shebs  <stan@codesourcery.com>
10495
10496         * gdb.threads/thread-specific.exp: Add tests of $_thread.
10497
10498 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10499
10500         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10501         * gdb.base/watch-cond.exp: Likewise.
10502         * gdb.python/py-breakpoint.exp: Likewise.
10503
10504 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
10505
10506         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10507         clean_restart, make sure every test has a distinct message, and
10508         that messages don't include the executable' full path.
10509
10510 2010-06-17  Doug Evans  <dje@google.com>
10511
10512         * gdb.arch/i386-size.exp: Updated expected output for
10513         DISASSEMBLY_OMIT_FNAME.
10514
10515 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10516             Sergio Durigan Junior  <sergiodj@redhat.com>
10517
10518         * gdb.base/watch-notconst.c: New file.
10519         * gdb.base/watch-notconst.S: New file.
10520         * gdb.base/watch-notconst2.c: New file.
10521         * gdb.base/watch-notconst2.S: New file.
10522         * gdb.base/watch-notconst.exp: New file.
10523         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10524         (func4): Add operations on `global_ptr_ptr'.
10525         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10526         routine to test watchpoints created with a constant expression.
10527         (test_inaccessible_watchpoint): Include tests for watchpoints
10528         created with a constant expression.
10529
10530 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
10531
10532         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10533         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10534         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10535         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10536         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10537         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10538         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10539         of `_start'.
10540
10541 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10542
10543         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10544         not supported on the target.
10545         * gdb.mi/mi-nonstop-exit.exp: Likewise.
10546         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10547         * gdb.mi/mi-nsintrall.exp: Likewise.
10548         * gdb.mi/mi-nsmoribund.exp: Likewise.
10549         * gdb.mi/mi-nsthrexec.exp: Likewise.
10550
10551 2010-06-11  Stan Shebs  <stan@codesourcery.com>
10552
10553         * gdb.base/permissions.exp: New file.
10554
10555 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10556
10557         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10558         does not support ELF executable class.
10559
10560 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10561
10562         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10563
10564 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10565
10566         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10567         (runto): Catch "The target does not support running in non-stop mode.".
10568
10569 2010-06-11  Michael Snyder  <msnyder@vmware.com>
10570
10571         * gdb.base/setshow.exp (set language asm): Don't use
10572         gdb_test_no_output, fails on some targets.
10573
10574 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10575
10576         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10577         * gdb.cp/pr9167.exp: Likewise.
10578
10579 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10580
10581         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10582
10583 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10584
10585         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10586
10587 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10588
10589         * gdb.base/charset.c (main): Make sure malloc gets linked in.
10590
10591 2010-06-11  Tom Tromey  <tromey@redhat.com>
10592
10593         PR gdb/9977, PR exp/11636::
10594         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10595         (pieces_test_f6): Update expected output.
10596
10597 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10598
10599         * gdb.base/moribund-step.exp: New.
10600
10601 2010-06-08  Michael Snyder  <msnyder@vmware.com>
10602
10603         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10604         * gdb.ada/boolean_expr.exp:
10605         * gdb.ada/frame_args.exp: Ditto.
10606         * gdb.ada/lang_switch.exp: Ditto.
10607         * gdb.ada/ptype_arith_binop.exp: Ditto.
10608         * gdb.ada/ref_param.exp: Ditto.
10609         * gdb.ada/type_coercion.exp:Ditto.
10610
10611         * gdb.asm/asm-source.exp: Ditto.
10612
10613         * gdb.base/attach.exp: Ditto.
10614         * gdb.base/bitfields2.exp: Ditto.
10615         * gdb.base/call-signal-resume.exp: Ditto.
10616         * gdb.base/callfuncs.exp: Ditto.
10617         * gdb.base/commands.exp: Ditto.
10618         * gdb.base/dbx.exp: Ditto.
10619         * gdb.base/default.exp: Ditto.
10620         * gdb.base/dump.exp: Ditto.
10621         * gdb.base/exprs.exp: Ditto.
10622         * gdb.base/freebpcmd.exp: Ditto.
10623         * gdb.base/interrupt.exp: Ditto.
10624         * gdb.base/list.exp: Ditto.
10625         * gdb.base/long_long.exp: Ditto.
10626         * gdb.base/maint.exp: Ditto.
10627         * gdb.base/ptype.exp: Ditto.
10628         * gdb.base/return.exp: Ditto.
10629         * gdb.base/setshow.exp: Ditto.
10630         * gdb.base/sigbpt.exp: Ditto.
10631         * gdb.base/sigrepeat.exp: Ditto.
10632
10633         * gdb.cp/classes.exp: Ditto.
10634
10635         * gdb.dwarf2/dw2-restore.exp: Ditto.
10636
10637         * gdb.gdb/selftest.exp: Ditto.
10638
10639         * gdb.multi/base.exp: Ditto.
10640         * gdb.multi/bkpt-multi-exec.exp: Ditto.
10641
10642         * gdb.python/py-block.exp: Ditto.
10643         * gdb.python/py-prettyprint.exp: Ditto.
10644         * gdb.python/py-template.exp: Ditto.
10645
10646         * gdb.server/ext-attach.exp: Ditto.
10647         * gdb.server/ext-run.exp: Ditto.
10648         * gdb.server/server-mon.exp: Ditto.
10649
10650         * gdb.threads/fork-thread-pending.exp: Ditto.
10651         * gdb.threads/hand-call-in-threads.exp: Ditto.
10652         * gdb.threads/interrupted-hand-call.exp: Ditto.
10653         * gdb.threads/linux-dp.exp: Ditto.
10654         * gdb.threads/manythreads.exp: Ditto.
10655         * gdb.threads/print-threads.exp: Ditto.
10656         * gdb.threads/pthreads.exp: Ditto.
10657         * gdb.threads/schedlock.exp: Ditto.
10658         * gdb.threads/thread-unwindonsignal.exp: Ditto.
10659         * gdb.threads/threadapply.exp: Ditto.
10660
10661 2010-06-08  Michael Snyder  <msnyder@vmware.com>
10662
10663         * gdb.ada/exec_changed.exp:
10664         Use ".*" instead of "" as wildcard regexp.
10665
10666         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10667         * gdb.base/call-ar-st.exp: Ditto.
10668         * gdb.base/checkpoint.exp: Ditto.
10669         * gdb.base/default.exp: Ditto.
10670         * gdb.base/dump.exp: Ditto.
10671         * gdb.base/ending-run.exp: Ditto.
10672         * gdb.base/fileio.exp: Ditto.
10673         * gdb.base/miscexprs.exp: Ditto.
10674         * gdb.base/pointers.exp: Ditto.
10675         * gdb.base/readline.exp: Ditto.
10676         * gdb.base/reread.exp: Ditto.
10677         * gdb.base/restore.exp: Ditto.
10678         * gdb.base/shlib-call.exp: Ditto.
10679         * gdb.base/valgrind-db-attach.exp: Ditto.
10680         * gdb.base/volatile.exp: Ditto.
10681         * gdb.base/watchpoints.exp: Ditto.
10682
10683         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10684
10685         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10686         * gdb.python/py-value.exp: Ditto.
10687
10688         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10689         * gdb.trace/circ.exp: Ditto.
10690         * gdb.trace/collection.exp: Ditto.
10691         * gdb.trace/packetlen.exp: Ditto.
10692         * gdb.trace/passc-dyn.exp: Ditto.
10693         * gdb.trace/report.exp: Ditto.
10694         * gdb.trace/tfile.exp: Ditto.
10695         * gdb.trace/tfind.exp: Ditto.
10696         * gdb.trace/while-dyn.exp: Ditto.
10697
10698 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10699
10700         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10701
10702 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10703
10704         Test PR 10640.
10705         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10706
10707 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
10708
10709         * gdb.cp/koenig.exp: Test for ADL operators.
10710         * gdb.cp/koenig.cc: Added ADL operators.
10711         * gdb.cp/operator.exp: New test.
10712         * gdb.cp/operator.cc: New test.
10713
10714 2010-06-04  Michael Snyder  <msnyder@vmware.com>
10715
10716         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10717         * gdb.base/pending.exp: Ditto.
10718
10719         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10720
10721 2010-06-04  Doug Evans  <dje@google.com>
10722
10723         * gdb.python/py-prettyprint.exp: Add new test for enabled and
10724         disabled printers.
10725         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10726         (enable_lookup_function): New function.
10727
10728 2010-06-04  Tom Tromey  <tromey@redhat.com>
10729
10730         * gdb.python/py-value.exp (test_value_hash): Don't test equality
10731         of hash and id.
10732
10733 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10734
10735         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10736         newline.
10737         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10738         (empty verbose non-noisy clear, empty verbose noisy clear)
10739         (empty non-verbose noisy clear): Likewise.
10740
10741 2010-06-03  Michael Snyder  <msnyder@vmware.com>
10742
10743         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10744         * gdb.base/display.exp: Ditto.
10745         * gdb.base/find.exp: Ditto.
10746         * gdb.base/ifelse.exp: Ditto.
10747         * gdb.base/multi-forks.exp: Ditto.
10748         * gdb.base/recurse.exp: Ditto.
10749         * gdb.base/setshow.exp: Ditto.
10750         * gdb.base/value-double-free.exp: Ditto.
10751         * gdb.base/watch-vfork.exp: Ditto.
10752         * gdb.base/watch_thread_num.exp: Ditto.
10753         * gdb.base/watchpoint-solib.exp: Ditto.
10754         * gdb.base/watchpoint.exp: Ditto.
10755         * gdb.base/watchpoints.exp: Ditto.
10756
10757         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10758         * gdb.cp/overload.exp: Ditto.
10759         * gdb.cp/virtfunc.exp: Ditto.
10760
10761         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10762
10763         * gdb.reverse/watch-precsave.exp:
10764         Replace gdb_test with gdb_test_no_output.
10765
10766         * gdb.threads/attach-into-signal.exp:
10767         Replace gdb_test with gdb_test_no_output.
10768         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10769         * gdb.threads/watchthreads.exp: Ditto.
10770         * gdb.threads/watchthreads2.exp: Ditto.
10771
10772         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10773         * gdb.trace/tfind.exp: Ditto.
10774
10775 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
10776
10777         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10778         successful test if message is the empty string.
10779
10780 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10781
10782         * gdb.fortran/module.exp (stopped language detection): New test.
10783
10784 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10785
10786         Support DW_TAG_module as separate namespaces.
10787         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10788         gdb.fortran/library-module-lib.f90: New.
10789         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10790         (print i): Remove.
10791         (continue to breakpoint: i-is-1, print var_i value 1)
10792         (continue to breakpoint: i-is-2, print var_i value 2)
10793         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10794         (print var_d, print var_i value 14, ptype modmany, complete `modm)
10795         (complete `modmany, complete `modmany`, complete `modmany`var)
10796         (show language, setting breakpoint at module): New tests.
10797         * gdb.fortran/module.f90 (module mod): Remove.
10798         (module mod1, module mod2, module modmany, subroutine sub1)
10799         (subroutine sub2, program module): New.
10800
10801 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10802
10803         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10804         (print value of rUC, print value of rI, print value of UI): ... here.
10805         * gdb.cp/anon-union.exp (pass): Rename to ...
10806         (print z 2): ... here.
10807
10808 2010-06-02  Michael Snyder  <msnyder@vmware.com>
10809
10810         * gdb.trace/actions.exp: Use gdb_test_no_output.
10811         * gdb.trace/circ.exp: Ditto.
10812         * gdb.trace/packetlen.exp: Ditto.
10813         * gdb.trace/save-trace.exp: Ditto.
10814         * gdb.trace/tracecmd.exp: Ditto.
10815         * gdb.trace/tsv.exp: Ditto.
10816
10817         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10818         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10819         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10820         * gdb.threads/manythreads.exp: Ditto.
10821         * gdb.threads/print-threads.exp: Ditto.
10822         * gdb.threads/pthreads.exp: Ditto.
10823         * gdb.threads/schedlock.exp: Ditto.
10824         * gdb.threads/staticthreads.exp: Ditto.
10825         * gdb.threads/thread-specific.exp: Ditto.
10826         * gdb.threads/thread-unwindonsignal.exp: Ditto.
10827         * gdb.threads/threadapply.exp: Ditto.
10828         * gdb.threads/watchthreads.exp: Ditto.
10829         * gdb.threads/watchthreads2.exp: Ditto.
10830
10831         * gdb.python/py-block.exp: Use gdb_test_no_output.
10832         * gdb.python/py-prettyprint.exp: Ditto.
10833         * gdb.python/py-template.exp: Ditto.
10834         * gdb.python/py-value.exp: Ditto.
10835
10836         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10837         * gdb.reverse/watch-reverse.exp: Ditto.
10838
10839         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10840         * gdb.server/ext-run.exp: Ditto.
10841
10842         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10843         * gdb.dwarf2/dw2-compressed.exp: Ditto.
10844         * gdb.dwarf2/dw2-intercu.exp: Ditto.
10845         * gdb.dwarf2/dw2-intermix.exp: Ditto.
10846         * gdb.dwarf2/dw2-producer.exp: Ditto.
10847         * gdb.dwarf2/mac-fileno.exp: Ditto.
10848
10849         * gdb.gdb/observer.exp: Use gdb_test_no_output.
10850         * gdb.gdb/selftest.exp: Ditto.
10851
10852         * gdb.multi/base.exp: Use gdb_test_no_output.
10853
10854         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10855
10856 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10857
10858         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10859
10860 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
10861
10862         * gdb.cp/class2.exp: Use gdb_test_no_output.
10863         * gdb.cp/classes.exp: Ditto.
10864         * gdb.cp/extern-c.exp: Ditto.
10865         * gdb.cp/inherit.exp: Ditto.
10866         * gdb.cp/maint.exp: Ditto.
10867         * gdb.cp/mb-inline.exp: Ditto.
10868         * gdb.cp/mb-templates.exp: Ditto.
10869         * gdb.cp/method2.exp: Ditto.
10870         * gdb.cp/misc.exp: Ditto.
10871         * gdb.cp/ovldbreak.exp: Ditto.
10872         * gdb.cp/punctuator.exp: Ditto.
10873         * gdb.cp/templates.exp: Ditto.
10874         * gdb.cp/virtbase.exp: Ditto.
10875
10876         * gdb.threads/attach-stopped.exp:
10877         Replace uses of send_gdb / gdb_expect.
10878         * gdb.threads/attachstop-mt.exp:
10879         Replace uses of send_gdb / gdb_expect.
10880         * gdb.threads/gcore-thread.exp:
10881         Replace uses of send_gdb / gdb_expect.
10882         * gdb.threads/hand-call-in-threads.exp:
10883         Replace uses of send_gdb / gdb_expect.
10884         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
10885         * gdb.threads/print-threads.exp:
10886         Replace uses of send_gdb / gdb_expect.
10887         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10888         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10889         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10890
10891         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10892         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10893         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10894         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10895         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10896         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10897         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10898         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10899         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10900         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10901         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10902
10903 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10904
10905         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10906
10907 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
10908
10909         * gdb.cp/koenig.exp: Added new test case.
10910         * gdb.cp/koenig.cc: Ditto.
10911
10912 2010-06-01  Michael Snyder  <msnyder@vmware.com>
10913
10914         * gdb.base/arithmet.exp: Use gdb_test_no_output.
10915         * gdb.base/arrayidx.exp: Ditto.
10916         * gdb.base/attach.exp: Ditto.
10917         * gdb.base/auxv.exp: Ditto.
10918         * gdb.base/bigcre.exp: Ditto.
10919         * gdb.base/break-always.exp: Ditto.
10920         * gdb.base/break-interp.exp: Ditto.
10921         * gdb.base/break.exp: Ditto.
10922         * gdb.base/breakpoint-shadow.exp: Ditto.
10923         * gdb.base/call-ar-st.exp: Ditto.
10924         * gdb.base/call-sc.exp: Ditto.
10925         * gdb.base/call-signal-resume.exp: Ditto.
10926         * gdb.base/callfuncs.exp: Ditto.
10927         * gdb.base/catch-syscall.exp: Ditto.
10928         * gdb.base/charset.exp: Ditto.
10929         * gdb.base/code-expr.exp: Ditto.
10930         * gdb.base/commands.exp: Ditto.
10931         * gdb.base/cond-expr.exp: Ditto.
10932         * gdb.base/condbreak.exp: Ditto.
10933         * gdb.base/cursal.exp: Ditto.
10934         * gdb.base/cvexpr.exp: Ditto.
10935         * gdb.base/default.exp: Ditto.
10936         * gdb.base/del.exp: Ditto.
10937         * gdb.base/detach.exp: Ditto.
10938         * gdb.base/display.exp: Ditto.
10939         * gdb.base/ena-dis-br.exp: Ditto.
10940         * gdb.base/eval-skip.exp: Ditto.
10941         * gdb.base/foll-fork.exp: Ditto.
10942         * gdb.base/foll-vfork.exp: Ditto.
10943         * gdb.base/frame-args.exp: Ditto.
10944         * gdb.base/funcargs.exp: Ditto.
10945         * gdb.base/gcore-buffer-overflow.exp: Ditto.
10946         * gdb.base/gdbvars.exp: Ditto.
10947         * gdb.base/help.exp: Ditto.
10948         * gdb.base/ifelse.exp: Ditto.
10949         * gdb.base/included.exp: Ditto.
10950         * gdb.base/list.exp: Ditto.
10951         * gdb.base/macscp.exp: Ditto.
10952         * gdb.base/maint.exp: Ditto.
10953         * gdb.base/multi-fork.exp: Ditto.
10954         * gdb.base/overlays.exp: Ditto.
10955         * gdb.base/page.exp: Ditto.
10956         * gdb.base/pending.exp: Ditto.
10957         * gdb.base/pointers.exp: Ditto.
10958         * gdb.base/pr11022.exp: Ditto.
10959         * gdb.base/prelink.exp: Ditto.
10960         * gdb.base/printcmds.exp: Ditto.
10961         * gdb.base/psymtab.exp: Ditto.
10962         * gdb.base/randomize.exp: Ditto.
10963         * gdb.base/relational.exp: Ditto.
10964         * gdb.base/relocate.exp: Ditto.
10965         * gdb.base/remote.exp: Ditto.
10966         * gdb.base/sepdebug.exp: Ditto.
10967         * gdb.base/set-lang-auto.exp: Ditto.
10968         * gdb.base/setshow.exp: Ditto.
10969         * gdb.base/setvar.exp: Ditto.
10970         * gdb.base/signals.exp: Ditto.
10971         * gdb.base/signull.exp: Ditto.
10972         * gdb.base/sigstep.exp: Ditto.
10973         * gdb.base/sizeof.exp: Ditto.
10974         * gdb.base/solib-disc.exp: Ditto.
10975         * gdb.base/store.exp: Ditto.
10976         * gdb.base/structs.exp: Ditto.
10977         * gdb.base/structs2.exp: Ditto.
10978         * gdb.base/subst.exp: Ditto.
10979         * gdb.base/term.exp: Ditto.
10980         * gdb.base/trace-commands.exp: Ditto.
10981         * gdb.base/unwindonsignal.exp: Ditto.
10982         * gdb.base/valgrind-db-attach.exp: Ditto.
10983         * gdb.base/varargs.exp: Ditto.
10984         * gdb.base/watch-cond.exp: Ditto.
10985         * gdb.base/watch_thread_num.exp: Ditto.
10986         * gdb.base/watchpoint-cond-gone.exp: Ditto.
10987         * gdb.base/watchpoint.exp: Ditto.
10988         * gdb.base/whatis-exp.exp: Ditto.
10989
10990 2010-06-01  Michael Snyder  <msnyder@vmware.com>
10991
10992         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
10993         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
10994         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
10995         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
10996         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
10997         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
10998         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
10999         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11000         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11001         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11002         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11003         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11004         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11005         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11006         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11007
11008 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11009
11010         * gdb.base/commands.exp (begin commands on watch): Remove excessive
11011         trailing newline.
11012         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11013         * gdb.java/jmisc.exp (p *args\n): Rename to ...
11014         (p *args): ... here and remove excessive trailing newline.
11015
11016 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
11017
11018         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11019
11020 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
11021
11022         Accept the new Linux kernel "t (tracing stop)" string.
11023         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11024         Update comment.
11025         (state_wait) <T (tracing stop)>: New.
11026         (main): Update the state_wait expect string.
11027
11028 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
11029
11030         * limits.c, limits.exp: Delete files.
11031         * Makefile.in (clean mostlyclean): Adjust.
11032         * tracecmd.exp: Adjust.
11033
11034 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11035
11036         * gdb.base/tui-layout.exp: New.
11037
11038 2010-05-28  Michael Snyder  <msnyder@vmware.com>
11039
11040         * gdb.reverse/break-precsave.exp:
11041         Replace uses of send_gdb / gdb_expect.
11042         * gdb.reverse/break-reverse.exp:
11043         Replace uses of send_gdb / gdb_expect.
11044         * gdb.reverse/consecutive-precsave.exp:
11045         Replace uses of send_gdb / gdb_expect.
11046         * gdb.reverse/consecutive-reverse.exp:
11047         Replace uses of send_gdb / gdb_expect.
11048         * gdb.reverse/finish-precsave.exp:
11049         Replace uses of send_gdb / gdb_expect.
11050         * gdb.reverse/finish-reverse.exp:
11051         Replace uses of send_gdb / gdb_expect.
11052         * gdb.reverse/i386-precsave.exp:
11053         Replace uses of send_gdb / gdb_expect.
11054         * gdb.reverse/i386-reverse.exp:
11055         Replace uses of send_gdb / gdb_expect.
11056         * gdb.reverse/i386-sse-reverse.exp:
11057         Replace uses of send_gdb / gdb_expect.
11058         * gdb.reverse/i387-env-reverse.exp:
11059         Replace uses of send_gdb / gdb_expect.
11060         * gdb.reverse/i387-stack-reverse.exp:
11061         Replace uses of send_gdb / gdb_expect.
11062         * gdb.reverse/machinestate-precsave.exp:
11063         Replace uses of send_gdb / gdb_expect.
11064         * gdb.reverse/machinestate.exp:
11065         Replace uses of send_gdb / gdb_expect.
11066         * gdb.reverse/sigall-precsave.exp:
11067         Replace uses of send_gdb / gdb_expect.
11068         * gdb.reverse/sigall-reverse.exp:
11069         Replace uses of send_gdb / gdb_expect.
11070         * gdb.reverse/solib-precsave.exp:
11071         Replace uses of send_gdb / gdb_expect.
11072         * gdb.reverse/solib-reverse.exp:
11073         Replace uses of send_gdb / gdb_expect.
11074         * gdb.reverse/step-precsave.exp:
11075         Replace uses of send_gdb / gdb_expect.
11076         * gdb.reverse/step-reverse.exp:
11077         Replace uses of send_gdb / gdb_expect.
11078         * gdb.reverse/until-precsave.exp:
11079         Replace uses of send_gdb / gdb_expect.
11080         * gdb.reverse/until-reverse.exp:
11081         Replace uses of send_gdb / gdb_expect.
11082         * gdb.reverse/watch-precsave.exp:
11083         Replace uses of send_gdb / gdb_expect.
11084         * gdb.reverse/watch-reverse.exp:
11085         Replace uses of send_gdb / gdb_expect.
11086
11087 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11088
11089         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11090         excessive newline.
11091
11092 2010-05-27  Michael Snyder  <msnyder@vmware.com>
11093
11094         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11095         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11096         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11097         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11098         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11099         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11100         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11101         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11102         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11103         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11104         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11105         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11106         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11107         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11108         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11109         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11110         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11111         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11112         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11113
11114 2010-05-26  Michael Snyder  <msnyder@vmware.com>
11115
11116         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11117         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11118
11119         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11120         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11121         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11122
11123         * gdb.reverse/consecutive-reverse.exp:
11124         Replace uses of send_gdb / gdb_expect.
11125         * gdb.reverse/consecutive-precsave.exp:
11126         Replace uses of send_gdb / gdb_expect.
11127
11128         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11129         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11130         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11131         * gdb.mi/mi-ns-stale-regcache.exp:
11132         Replace uses of send_gdb / gdb_expect.
11133         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11134         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11135         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11136         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11137         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11138         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11139         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11140         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11141         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11142
11143 2010-05-26  Michael Snyder  <msnyder@vmware.com>
11144
11145         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11146
11147         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11148
11149         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11150         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11151         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11152         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11153         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11154         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11155         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11156         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11157         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11158
11159 2010-05-25  Tom Tromey  <tromey@redhat.com>
11160
11161         * gdb.base/macscp.exp: Add missing space after setup_kfail.
11162
11163 2010-05-25  Tom Tromey  <tromey@redhat.com>
11164
11165         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11166         argument order.
11167         * gdb.base/macscp.exp: Fix setup_kfail argument order.
11168         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11169         order.
11170         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11171         order.
11172         * gdb.base/call-sc.exp (setup_kfails): Remove.
11173         (setup_compiler_kfails): Remove.
11174         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11175         argument order.
11176         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11177         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11178         (advancei): Fix setup_kfail argument order.
11179         * gdb.base/radix.exp: Fix setup_kfail argument order.
11180         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11181         order.
11182         * gdb.base/structs.exp (setup_kfails): Remove.
11183         (setup_compiler_kfails): Fix setup_kfail argument order.
11184         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11185         order.
11186         * gdb.java/jmain.exp: Fix setup_kfail argument order.
11187         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11188         setup_kfail argument order.
11189         * gdb.cp/overload.exp: Fix setup_kfail argument order.
11190
11191 2010-05-25  Tom Tromey  <tromey@redhat.com>
11192
11193         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11194
11195 2010-05-25  Michael Snyder  <msnyder@vmware.com>
11196
11197         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11198         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11199         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11200         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11201         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11202         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11203         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11204         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11205         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11206         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11207         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11208         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11209         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11210         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11211         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11212         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11213         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11214         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11215         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11216         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11217         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11218         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11219         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11220         * gdb.base/default.exp: Replace send_gdb with gdb_test.
11221         * gdb.base/define.exp: Replace send_gdb with gdb_test.
11222         * gdb.base/display.exp: Replace send_gdb with gdb_test.
11223         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11224         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11225         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11226         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11227         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11228         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11229         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11230         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11231         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11232         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11233         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11234         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11235         * gdb.base/help.exp: Replace send_gdb with gdb_test.
11236         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11237         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11238         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11239         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11240         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11241         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11242         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11243         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11244         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11245
11246 2010-05-25  Doug Evans  <dje@google.com>
11247
11248         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11249         gdb.string_to_argv.
11250
11251 2010-05-21  Tom Tromey  <tromey@redhat.com>
11252
11253         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11254         Call it.
11255         * gdb.dwarf2/pieces.S: Update.
11256         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11257
11258 2010-05-21  Tom Tromey  <tromey@redhat.com>
11259
11260         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11261         Call it.
11262         * gdb.dwarf2/pieces.c (struct C): New.
11263         (f6): New function.
11264         * gdb.dwarf2/pieces.S: Replace.
11265
11266 2010-05-21  Tom Tromey  <tromey@redhat.com>
11267
11268         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11269         Call it.
11270
11271 2010-05-21  Tom Tromey  <tromey@redhat.com>
11272
11273         * gdb.dwarf2.pieces.exp: New file.
11274         * gdb.dwarf2.pieces.S: New file.
11275         * gdb.dwarf2.pieces.c: New file.
11276
11277 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
11278             Joel Brobecker  <brobecker@adacore.com>
11279
11280         * lib/gdb.exp (gdb_test_no_output): New function.
11281         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11282         when testing commands that should produce no output.
11283
11284 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11285
11286         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11287         parameter that we want to watch being a constant.
11288
11289 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11290
11291         * gdb.ada/cond_lang: New testcase.
11292
11293 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11294
11295         * lib/gdb.exp (banned_variables): New variable/constant.
11296         (gdb_init): Add write trace on variables listed in banned_variables.
11297         (gdb_finish): Remove write traces on variables listed in
11298         banned_variables.
11299
11300 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11301
11302         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11303         * gdb.cp/koenig.exp: Likewise.
11304
11305 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
11306
11307         PR python/11482
11308
11309         * gdb.python/py-value.exp (test_value_hash): New function.
11310
11311 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
11312
11313         PR exp/11530.
11314         * gdb.base/gdb11530.c: New file.
11315         * gdb.base/gdb11530.exp: New file.
11316
11317 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
11318
11319         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11320         * gdb.dwarf2/dw2-modula2-self-type.S: New.
11321
11322 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
11323
11324         * gdb.cp/koenig.exp: New test.
11325         * gdb.cp/koenig.cc: New test program.
11326
11327 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
11328
11329         Remove the use of prms_id and bug_id throughout the testsuite.
11330
11331 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
11332
11333         PR exp/11349.
11334         * testsuite/gdb.cp/ref-types.exp: Add test to examine
11335         use a reference local variable.
11336
11337 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11338
11339         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11340         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
11341         variable different_dir. Move debugfile into a full directory pathname
11342         under DIFFERENT_DIR.
11343         * lib/gdb.exp (separate_debug_filename): Remove.
11344         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
11345         variable debug_dir and mkdir of it.  Update function comments.
11346
11347 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
11348
11349         PR gdb/11557
11350
11351         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11352         files.
11353
11354 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
11355
11356         * gdb.python/py-param.exp: New File.
11357
11358 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
11359
11360         * gdb.base/default.exp: Fix "set language" test.
11361
11362 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
11363
11364         PR breakpoints/11531.
11365         * gdb.base/gdb11531.c: New file.
11366         * gdb.base/gdb11531.exp: New file.
11367
11368 2010-04-26  Tom Tromey  <tromey@redhat.com>
11369
11370         * gdb.base/completion.exp: Add tests for completion and deprecated
11371         commands.
11372
11373 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11374
11375         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11376         (print /x char_array): Escape curly brackets.
11377
11378 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
11379
11380         Fix deadlock on looped list of loaded shared objects.
11381         * gdb.base/solib-corrupted.exp: New.
11382
11383 2010-04-23  Doug Evans  <dje@google.com>
11384
11385         * gdb.python/py-section-script.c: New file.
11386         * gdb.python/py-section-script.exp: New file.
11387         * gdb.python/py-section-script.py: New file.
11388
11389 2010-04-20  Chris Moller  <cmoller@redhat.com>
11390
11391         PR 10179
11392
11393         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11394         * gdb.base/pr10179-a.c:
11395         * gdb.base/pr10179-b.c:
11396         * gdb.base/pr10179.exp: New files.
11397
11398 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11399
11400         Fix crashes on dangling display expressions.
11401         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11402         is SEP.
11403         (lib_flags): Remove the "debug" keyword.
11404         (libsepdebug): New variable for iterating new loop.
11405         (save_pf_prefix): New variable wrapping the loop.
11406         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
11407         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11408
11409 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
11410
11411         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11412
11413 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
11414
11415         PR stabs/11479.
11416         * gdb.stabs/gdb11479.exp: New file.
11417         * gdb.stabs/gdb11479.c: New file.
11418
11419 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
11420
11421         * gdb.base/charset.c (Strin16, String32): New variables.
11422         * gdb.base/charset.exp (gdb_test): Test correct display
11423         of 16 or 32 bit strings.
11424
11425 2010-04-21  Chris Moller  <cmoller@redhat.com>
11426
11427         PR 9167
11428         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11429         * gdb.cp/pr9167.cc: New file.
11430         * gdb.cp/pr9167.exp: New file.
11431
11432
11433 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
11434
11435         PR pascal/11492.
11436         * gdb.pascal/gdb11492.pas: New file.
11437         * gdb.pascal/gdb11492.exp: New file.
11438
11439 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
11440
11441         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11442
11443 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
11444
11445         * gdb.ada/dyn_loc: New testcase.
11446
11447 2010-04-20  Chris Moller  <cmoller@redhat.com>
11448
11449         PR 10867
11450
11451         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
11452         * gdb.cp/pr10687.cc: New file.
11453         * gdb.cp/pr10687.exp: New file.
11454
11455
11456 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11457             Sergio Durigan Junior  <sergiodj@redhat.com>
11458
11459         * gdb.fortran/logical.exp: New testcase.
11460         * gdb.fortran/logical.f90: New file.
11461
11462 2010-04-19  Doug Evans  <dje@google.com>
11463
11464         * gdb.base/help.exp (help source): Update expected output.
11465
11466 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11467
11468         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11469         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
11470         gdb_exit and return.
11471         (executable): New variable.
11472         (binfile): Use it.
11473
11474 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
11475
11476         PR breakpoints/8554.
11477
11478         * gdb.trace/save-trace.exp: Adjust.
11479
11480 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
11481
11482         PR corefiles/11511
11483         * gdb.arch/system-gcore.exp: New.
11484         * gdb.arch/gcore.c: Likewise.
11485
11486 2010-04-15  Doug Evans  <dje@google.com>
11487
11488         * gdb.python/py-progspace.c: New file.
11489         * gdb.python/py-progspace.exp: New file.
11490
11491         * gdb.base/source.exp: Add tests for "source -s".
11492
11493 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
11494
11495         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11496         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11497         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11498         * gdb.python/py-mi.exp: New test for to_string returning None.
11499
11500 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
11501
11502         * gdb.python/py-breakpoint.c: Make result global.
11503
11504 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11505
11506         Fix non-GNU make compatibility.
11507         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11508
11509 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
11510
11511         * gdb.python/py-breakpoint.exp: New File.
11512         * gdb.python/py-breakpoint.C: Ditto.
11513
11514 2010-04-08  Stan Shebs  <stan@codesourcery.com>
11515
11516         * gdb.trace/actions.exp: Clear default-collect.
11517         * gdb.trace/save-trace.exp: Clear default-collect.
11518
11519 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
11520
11521         * gdb.python/py-value: Add null string variable.
11522           (test_lazy_string): Test zero length, NULL address lazy
11523           strings.
11524
11525 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
11526
11527         * gdb.arch/i386-avx.c: New.
11528         * gdb.arch/i386-avx.exp: Likewise.
11529
11530         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11531
11532 2010-04-06  Doug Evans  <dje@google.com>
11533
11534         * gdb.base/source-test.gdb: New file.
11535         * gdb.base/source.exp: Test source -v.
11536
11537 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11538
11539         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11540
11541 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
11542
11543         * gdb.stabs/aout.sed: Convert all backslash to double backslash
11544         within one line, unless it is followed by a double quote.
11545         * gdb.stabs/hppa.sed: Idem.
11546         * gdb.stabs/weird.def: Add char and String constants
11547         * gdb.stabs/weird.exp: Check for correct parsing of
11548         char and string constants.
11549         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11550         in .stabs to .stabx substitution.
11551
11552 2010-04-05  Stan Shebs  <stan@codesourcery.com>
11553
11554         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11555         constant global.
11556         * gdb.trace/tfile.exp: Try to print them.
11557
11558 2010-04-04  Stan Shebs  <stan@codesourcery.com>
11559
11560         * gdb.base/completion.exp: Update for new "info watchpoints".
11561         * gdb.base/default.exp: Ditto.
11562         * gdb.base/help.exp: Ditto.
11563         * gdb.base/watchpoint.exp: Ditto.
11564         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11565
11566 2010-04-04  Stan Shebs  <stan@codesourcery.com>
11567
11568         * gdb.trace/tfile.exp: Sharpen tfind test.
11569
11570 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
11571
11572         * gdb.base/break-entry.exp: New.
11573
11574 2010-04-02  Hui Zhu  <teawater@gmail.com>
11575             Michael Snyder <msnyder@vmware.com>
11576
11577         * gdb.reverse/i386-sse-reverse.exp: New file.
11578         * gdb.reverse/i386-sse-reverse.c: New file.
11579
11580 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
11581
11582         * gdb.trace/tfind.exp: Adjust expected disassembly output.
11583
11584 2010-04-01  Stan Shebs  <stan@codesourcery.com>
11585
11586         * gdb.trace/actions.exp: Tweak expected output.
11587         * gdb.trace/while-stepping.exp: Tweak expected output.
11588
11589 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
11590
11591         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11592
11593 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11594
11595         * gdb.base/commands.exp: Adjust.
11596         * gdb.cp/extern-c.exp: Adjust.
11597
11598 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11599
11600         * gdb.trace/collection.c (local_test_func): Define a local struct,
11601         and instanciate it.
11602
11603 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11604
11605         * gdb.trace/collection.exp (gdb_collect_args_test)
11606         (gdb_collect_argarray_test): XFAIL the tests that assume the
11607         argarray argument's elements are collected.
11608
11609 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
11610
11611         * gdb.dwarf2/dw2-bad-parameter-type.exp,
11612         gdb.dwarf2/dw2-bad-parameter-type.S: New.
11613
11614 2010-03-31  Stan Shebs  <stan@codesourcery.com>
11615
11616         * gdb.trace/save-trace.exp: Test save/restore of default-collect
11617         and tracepoint conditionals.
11618         (gdb_verify_tracepoints): Delete unused return.
11619
11620 2010-03-26  Keith Seitz  <keiths@redhat.com>
11621
11622         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11623         appear in the output before main.
11624         Remove KFAIL for gdb/2215 aka bz 9320.
11625
11626 2010-03-30  Doug Evans  <dje@google.com>
11627
11628         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11629         by dejagnu.
11630         * gdb.arch/amd64-dword.exp: Ditto.
11631
11632         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11633         match.
11634         (break printf): Ditto.
11635
11636 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
11637
11638         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11639         gcc < 4.4.
11640         * gdb.cp/shadow.exp: Ditto.
11641
11642 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
11643
11644         * gdb.trace/collection.exp (run_trace_experiment): Make sure
11645         "tstart" is silent.
11646
11647 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
11648
11649         * gdb.trace/collection.exp (executable): New.
11650         (binfile): Use it.
11651         (fpreg, spreg, pcreg): New.
11652         (test_register): Use gdb_test_multiple.  Pass /x to print.
11653         (prepare_for_trace_test): New.
11654         (run_trace_experiment): Use "continue", not gdb_run_cmd.
11655         (gdb_collect_args_test, gdb_collect_argstruct_test)
11656         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11657         prepare_for_trace_test.
11658         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
11659         fpreg, spreg and pcreg.
11660         (gdb_collect_expression_test, gdb_collect_globals_test): Use
11661         prepare_for_trace_test.
11662         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
11663         try to detect tracing support here.  Don't set breakpoints at
11664         `begin' or `end' here.
11665         <global scope>: Use clean_restart.  Run to main before checking
11666         for tracing support.  Check for for tracing support here.
11667
11668 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11669
11670         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11671         " as $displacement" to "seen displacement message".
11672
11673 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
11674
11675         * gdb.trace/while-dyn.exp (executable): New variable.
11676         (binfile): Use it.
11677         (test_while_stepping): New function.  Move most tests here.  Call
11678         it once for each of the while-stepping, stepping and ws aliases.
11679
11680 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11681
11682         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11683         that do not provide the tagless_struct type name at all.
11684         (test_print_anon_union): Do not check value of uninitialized
11685         union member.  Do not use cp_test_ptype_class, so we can accept
11686         "long" as well as "long int".
11687
11688 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
11689
11690         * gdb.trace/tfile.c (tohex, bin2hex): New.
11691         (write_error_trace_file): Hexify error description.
11692
11693 2010-03-25  Stan Shebs  <stan@codesourcery.com>
11694
11695         * gdb.trace/tfile.c: Generate an additional trace file, improve
11696         portability.
11697         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11698         files in a better way.
11699
11700 2010-03-25  Keith Seitz  <keiths@redhat.com>
11701
11702         * gdb.java/jprint.exp: XFAIL printing of static class members
11703         because of GCC debuginfo problem.
11704
11705 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
11706
11707         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11708
11709 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11710
11711         * gdb.base/completion.exp: Allow long instead of long int.
11712         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11713         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
11714         variable p.
11715         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11716         * gdb.base/pointers.exp: Allow long instead of long int.
11717         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11718         * gdb.base/step-line.exp: Allow a directory before the source file name.
11719
11720 2010-03-24  Tom Tromey  <tromey@redhat.com>
11721
11722         PR breakpoints/9352:
11723         * gdb.base/default.exp: Update.
11724         * gdb.base/commands.exp: Update.
11725         * gdb.cp/extern-c.exp: Test setting commands on multiple
11726         breakpoints at once.
11727
11728 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11729
11730         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11731         if gdb,nosignals.
11732         * gdb.base/watchpoints.c: Do not include unnecessary headers.
11733         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11734         exited".
11735
11736 2010-03-24  Stan Shebs  <stan@codesourcery.com>
11737
11738         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11739
11740 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11741
11742         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11743         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11744         argument.  Handle "short" and "long".
11745         (Top level): Pass overprototyped output for old_fptr and xptr.
11746
11747 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
11748
11749         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11750         format strings and add casts to avoid compiler warnings.
11751
11752 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
11753
11754         * lib/trace-support.exp (gdb_trace_setactions):
11755         Don't expect whitespace after ">" prompt.
11756         * gdb.trace/actions.exp: Adjust for output changes.
11757         * gdb.trace/while-stepping.exp: Likewise.
11758
11759 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11760
11761         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11762         and r157645).
11763
11764 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11765
11766         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11767         New.
11768
11769 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
11770
11771         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11772         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11773
11774 2010-03-19  Stan Shebs  <stan@codesourcery.com>
11775
11776         * gdb.trace/ax.exp: New file.
11777
11778 2010-03-19  Doug Evans  <dje@google.com>
11779
11780         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11781         output from gcc.
11782
11783         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11784         named /usr/sbin/prelink<foo>.
11785
11786 2010-03-18  Stan Shebs  <stan@codesourcery.com>
11787
11788         * gdb.trace/circ.exp: Test circular-trace-buffer.
11789         * gdb.trace/tfile.exp: Update tstatus test.
11790
11791 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
11792
11793         * gdb.dwarf2/dw2-anonymous-func.S: New file.
11794         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11795
11796 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11797
11798         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11799
11800 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
11801
11802         * gdb.base/default.exp: Adjust the expected output of the finish
11803         and until commands when the inferior is not being run.
11804
11805 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
11806
11807         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11808         * gdb.cp/nsusing.exp: Ditto.
11809
11810 2010-03-15  Tom Tromey  <tromey@redhat.com>
11811
11812         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11813         * gdb.cp/userdef.cc (operator==): New function.
11814         (main): New locals mem1, mem2.
11815
11816 2010-03-15  Jie Zhang  <jie@codesourcery.com>
11817
11818         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11819         Declare and use new loadtimeout variable.
11820
11821 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
11822
11823         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11824         Use gdb_load later.
11825
11826 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
11827
11828         * gdb.base/solib-disc.c (main): Make format of fprintf a string
11829         literal.  Add missing endlines to prints to stderr.
11830
11831 2010-03-12  Tom Tromey  <tromey@redhat.com>
11832
11833         PR c++/9708:
11834         * gdb.cp/m-static.exp: Add regression test.
11835         * gdb.cp/m-static.cc (method): New method.
11836         (main): Call it.
11837
11838 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
11839
11840         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11841         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11842
11843 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
11844
11845         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11846
11847 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
11848
11849         * lib/gdb.exp (skip_stl_tests): New.
11850         (gdb_compile): Symbian needs -ldl.
11851         (shlib_target_file): New.
11852         (shlib_symbol_file): New.
11853         (gdb_load_shlibs): Use shlib_target_file.
11854         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11855         * gdb.cp/exception.exp: Use skip_stl_tests.
11856         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
11857         * gdb.cp/try_catch.exp: Use skip_stl_tests.
11858         * gdb.cp/mb-templates.exp: Ditto.
11859         * gdb.base/commands.exp: Relax regexes.
11860         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
11861         shlib_target_file and shlib_symbol_file.
11862         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
11863         sections.
11864         * gdb.base/ending-run.exp: Accept E32Main for symbian.
11865         * gdb.base/solib-disc.exp: Use
11866         shlib_target_file and shlib_symbol_file.
11867         * gdb.base/unload.exp: Don't skip on symbian.  Use
11868         shlib_target_file and shlib_symbol_file.
11869         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11870
11871 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
11872
11873         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11874         * gdb.trace/report.exp: Adjust for x86 and x86_64.
11875         Issue a tfind end before looking for a tracepoint frame.
11876         * gdb.trace/tfind.exp: Adjust tstatus output.
11877         Adjust disassembly output.
11878         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11879
11880 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11881
11882         * gdb.base/break-interp.exp: Create new displacement parameter value
11883         for the test_ld calls.
11884         (reach): New parameter displacement, verify its content.  New push of
11885         pf_prefix "reach-$func:".  Import global expect_out.
11886         (test_core): New parameter displacement, verify its content.  New push
11887         of pf_prefix "core:".  New command "set verbose on".  Import global
11888         expect_out.
11889         (test_attach): New parameter displacement, verify its content.  New
11890         push of pf_prefix "attach:".  New command "set verbose on".  Import
11891         global expect_out.
11892         (test_ld): New parameter displacement, pass it to the reach, test_core
11893         and test_attach calls and verify its content in the "ld.so exit" test.
11894         * gdb.base/prelink.exp: Remove gdb_exit and final return.
11895         (prelink): Update expected text, use gdb_test.
11896
11897 2010-03-10  Doug Evans  <dje@google.com>
11898
11899         * gdb.base/checkpoint.exp: Fix comment.
11900         Lengthen timeout while doing >600 checkpoints test.
11901         Rename duplicate "kill all one" test to keep test names unique.
11902
11903 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
11904
11905         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11906
11907 2010-03-08  Keith Seitz  <keiths@redhat.com>
11908
11909         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11910         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11911         (dm_type_long): New function.
11912         (dm_type_unsigned_short): New function.
11913         (dm_type_unsigned_long): New function.
11914         (myint): New typedef.
11915         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11916         long, unsigned shor and long, operator char*, and typedef.
11917         (test_lookup_operator_functions): Add operator char* test.
11918         (test_paddr_operator_functions): Likewise.
11919         (test_paddr_overloaded_functions): Use probe values for
11920         short, long, and unsigned short and long.
11921         (test_paddr_hairy_functions): If the demangler probe detected
11922         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11923         demangler.
11924         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11925         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11926         and "print null_pmf".
11927         Add test "ptype a.*pmf".
11928         * gdb.cp/overload.exp: Allow optional "int" to appear with
11929         "short" and "long".
11930         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11931         long expect value for men_overload1arg.
11932         Allow "int" to appear with "short" and "long".
11933         When testing "info break", add argument for main (void).
11934         Also allow "int" to appear with "short" and "long".
11935         Ditto with "unsigned" and "long long".
11936         * gdb.java/jmain.exp: Do not enclose methods names in single
11937         quotes.
11938         * gdb.java/jmisc.exp: Likewise.
11939         * gdb.java/jprint.exp: Likewise.
11940         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11941
11942         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
11943         * gdb.cp/exception.exp (backtrace after first throw)
11944         (backtrace after second throw): Allow a namespace before __cxa_throw.
11945         (backtrace after first catch, backtrace after second catch): Allow
11946         a namespace before __cxa_begin_catch.
11947
11948         * gdb.cp/cpexprs.exp: New file.
11949         * gdb.cp/cpexprs.cc: New file.
11950
11951         From Daniel Jacobowitz  <dan@codesourcery.com>
11952         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
11953         to use string_to_regexp.
11954         (ctor, dtor): New functions.  Use them to match constructor
11955         and destructor function types.
11956         (Top level): Use runto_main.
11957
11958 2010-03-05  Tom Tromey  <tromey@redhat.com>
11959
11960         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
11961         gdb.target_charset.
11962         (pp_ns.to_string): Likewise.
11963
11964 2010-03-04  Keith Seitz  <keiths@redhat.com>
11965
11966         * gdb.cp/overload.exp: Test that the filename portion of a linespec
11967         can be quoted.  Test that both the filename and function/line
11968         portions can be quoted at the same time.
11969
11970 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
11971
11972         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
11973
11974 2010-03-03  Doug Evans  <dje@google.com>
11975
11976         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
11977         libc contains libpthread.
11978
11979         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
11980         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
11981         of gdb_compile.  Add another pattern to match android backtrace.
11982
11983 2010-03-03  Tom Tromey  <tromey@redhat.com>
11984
11985         PR gdb/11345:
11986         * gdb.base/printcmds.exp (test_printf): Add test.
11987
11988 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
11989
11990         * gdb.arch/amd64-byte.exp: New.
11991         * gdb.arch/amd64-dword.exp: Likewise.
11992         * gdb.arch/amd64-pseudo.c: Likewise.
11993         * gdb.arch/amd64-word.exp: Likewise.
11994         * gdb.arch/i386-byte.exp: Likewise.
11995         * gdb.arch/i386-pseudo.c: Likewise.
11996         * gdb.arch/i386-word.exp: Likewise.
11997
11998 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
11999
12000         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12001         types.  Add structreg, bitfields, and flags registers.
12002         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12003         registers.
12004
12005 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12006
12007         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
12008         (load_description): Set architecture if defined.
12009
12010 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
12011
12012         * gdb.python/py-frame.exp: Add read_var block tests.
12013         * gdb.python/py-frame.c (block): New function.
12014
12015 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12016             Daniel Jacobowitz  <dan@codesourcery.com>
12017
12018         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
12019
12020 2010-02-25  David S. Miller  <davem@davemloft.net>
12021
12022         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12023         fix logic for setting all_syscalls_numbers.
12024
12025 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
12026
12027         * Makefile.in: Add py-block and py-symbol.
12028         * gdb.python/py-symbol.exp: New File.
12029         * gdb.python/py-symtab.exp: New File.
12030         * gdb.python/py-block.exp: New File.
12031         * gdb.python/py-symbol.c: New File.
12032         * gdb.python/py-block.c: New File.
12033
12034 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
12035
12036         PR python/11314
12037         * lib/gdb.exp (skip_python_tests): New function.
12038         * gdb.python/py-cmd.exp: Use skip_python_tests.
12039         * gdb.python/py-frame.exp: Likewise.
12040         * gdb.python/py-function.exp: Likewise.
12041         * gdb.python/py-prettyprint.exp: Likewise.
12042         * gdb.python/py-template.exp: Likewise.
12043         * gdb.python/py-type.exp: Likewise.
12044         * gdb.python/py-value.exp: Likewise.
12045
12046 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
12047
12048         PR9605
12049
12050         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12051
12052 2010-02-19  Tom Tromey  <tromey@redhat.com>
12053
12054         PR c++/8693, PR c++/9496:
12055         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
12056         regression tests.
12057
12058 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12059
12060         Fix compatibility with m68k as.
12061         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
12062         Use only /* comments */.
12063
12064 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12065
12066         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12067         * configure: Regenerate.
12068
12069 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
12070
12071         * gdb.python/py-type.exp: Check for Python support.
12072
12073 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
12074
12075         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12076         `regsub' syntax available.
12077
12078 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
12079
12080         * gdb.base/shmain.c (main): Remove printf call.
12081         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12082         * gdb.base/unload.c (main): Make format of fprintf a string
12083         literal.  Add missing endlines to prints to stderr.
12084         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12085
12086 2010-02-17  Tom Tromey  <tromey@redhat.com>
12087
12088         * gdb.java/jprint.java (jprint.props): New field.
12089         * gdb.java/jprint.exp (set_lang_java): Add regression test.
12090
12091 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
12092
12093         * gdb.base/charset.exp: Don't assume new `regsub' syntax
12094         available.
12095
12096 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12097
12098         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12099         creation to support remote host testing.
12100
12101 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12102
12103         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12104         Recognize "command not found".
12105
12106 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12107
12108         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12109         single-stepping.
12110
12111 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12112
12113         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12114         if arguments are not supported.
12115
12116 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12117
12118         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12119         be const or non-const.
12120
12121 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12122
12123         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12124         mi_send_resuming_command to send -exec-continue.
12125
12126 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12127
12128         * gdb.base/list.exp (test_list_filename_and_function): Add test
12129         with single quotes.
12130         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12131         matching.
12132         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12133         Add KFAIL'd tests for PR gdb/11289.
12134
12135 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12136
12137         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12138
12139 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12140
12141         * gdb.base/comp-dir/subdir/dummy.txt: New file.
12142         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12143         a temporary directory.
12144
12145 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12146
12147         * gdb.base/charset.exp: Use a single regular expression to match
12148         show host-charset and show target-charset output.
12149
12150 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
12151
12152         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12153         "Illegal process-id" expect string more exact.
12154         (attach to digits-starting nonsense is prohibited): New.
12155
12156 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12157
12158         * gdb.base/prelink.exp (set verbose on): New.
12159
12160 2010-02-12  Tomas Holmberg  <th@virtutech.com>
12161
12162         * mi-reverse.exp: New file. Test for reverse option to the
12163         following MI commands: exec-continue, exec-finish, exec-next,
12164         exec-step, exec-next-instruction, exec-step-instruction.
12165
12166 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
12167
12168         * gdb.ada/ptype_tagged_param: New testcase.
12169
12170 2010-02-08  Tom Tromey  <tromey@redhat.com>
12171
12172         PR c++/8017:
12173         * gdb.cp/overload.exp: Add tests.
12174         * gdb.cp/overload.cc (struct K): New.
12175         (namespace N): New.
12176         (main): Call new functions.
12177         (K::staticoverload): Define.
12178
12179 2010-02-08  Chris Moller  <moller@mollerware.com>
12180
12181         PR gdb/10728
12182         * gdb.cp/pr10728-x.h: New file.
12183         * gdb.cp/pr10728-x.cc: New file.
12184         * gdb.cp/pr10728-y.cc: New file.
12185         * gdb.cp/pr10728.exp: New file.
12186         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12187
12188 2010-02-08  Chris Moller  <moller@mollerware.com>
12189
12190         PR gdb/9067
12191         * gdb.cp/pr9067.exp:  New
12192         * gdb.cp/pr9067.cc:   New
12193         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12194
12195 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
12196
12197         * lib/gdb.exp (gdb_test_timeout): New global variable.
12198         Set it to timeout if not already set.
12199         (gdb_init): Reset the value of timeout to gdb_test_timeout.
12200
12201 2010-02-05  Doug Evans  <dje@google.com>
12202
12203         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12204         user.
12205
12206 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
12207
12208         PR c++/7935:
12209         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12210
12211 2010-02-04  Tom Tromey  <tromey@redhat.com>
12212
12213         * gdb.cp/virtbase.exp: Make test case names unique.
12214
12215 2010-02-02  Tom Tromey  <tromey@redhat.com>
12216
12217         * gdb.cp/virtbase.exp: Add regression tests.
12218         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12219         (main): Instantiate RHC.
12220
12221 2010-02-02  Tom Tromey  <tromey@redhat.com>
12222
12223         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12224         type-printing change.
12225
12226 2010-02-02  Tom Tromey  <tromey@redhat.com>
12227
12228         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12229         * gdb.cp/virtbase.cc: New file.
12230         * gdb.cp/virtbase.exp: New file.
12231         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12232
12233 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12234
12235         PR libc/11214:
12236         * gdb.threads/current-lwp-dead.c: Include features.h.
12237         (HAS_NOMMU): New.
12238         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12239
12240 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12241
12242         * gdb.base/symbol-without-target_section.exp,
12243         gdb.base/symbol-without-target_section.c: New.
12244
12245 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12246
12247         * gdb.base/bigcore.exp: Reset increased timeout.
12248         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12249
12250 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12251
12252         * gdb.base/gcore.exp (capture_command_output): Use
12253         gdb_test_multiple.
12254
12255 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12256
12257         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12258         * gdb.arch/thumb2-it.exp (test_it_break): New function.
12259         (Top level): Call it.
12260
12261 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12262
12263         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12264
12265 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
12266
12267         * gdb.base/call-strs.exp, gdb.base/default.exp,
12268         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12269         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12270         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12271         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12272         gdb.base/watchpoint-solib.exp: Save and restore timeout.
12273         * gdb.base/ending-run.exp: Correct restore of timeout.
12274         * gdb.base/page.exp: Remove unnecessary timeout setting.
12275
12276 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
12277
12278         * gdb.ada/rec_return: New testcase.
12279
12280 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
12281
12282         * gdb.ada/call_pn: New testcase.
12283
12284 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12285
12286         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12287         (Top level): Use it to resume.
12288         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12289         the Thumb mode displaced stepping error as unsupported.
12290
12291 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
12292
12293         * gdb.cp/nsusing.exp: Added more tests.
12294         * gdb.cp/nsrecurs.exp: Ditto.
12295         * gdb.cp/nsusing.cc: Added test functions.
12296         * gdb.cp/nsrecurs.cc: Ditto.
12297
12298 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
12299
12300         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12301         absolute directory pathnames in gdb.sum file.
12302
12303 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
12304
12305         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12306         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12307
12308 2010-01-26  Tom Tromey  <tromey@redhat.com>
12309
12310         PR exp/7643:
12311         * gdb.base/printcmds.exp (test_print_string_constants): Remove
12312         setup_kfail.
12313
12314 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
12315
12316         * gdb.cp/nsrecurs.exp: New test.
12317         * gdb.cp/nsrecurs.cc: New test program.
12318         * gdb.cp/nsstress.exp: New test.
12319         * gdb.cp/nsstress.cc: New test program.
12320         * gdb.cp/nsdecl.exp: New test.
12321         * gdb.cp/nsdecl.cc: New test program.
12322
12323 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
12324
12325         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12326         imported into file scope.
12327         Marked test as xfail.
12328         * gdb.cp/namespace-using.cc (marker5): New function.
12329         * gdb.cp/shadow.exp: New test.
12330         * gdb.cp/shadow.cc: New test program.
12331         * gdb.cp/nsimport.exp: New test.
12332         * gdb.cp/nsimport.cc: New test program.
12333
12334 2010-01-25  Tom Tromey  <tromey@redhat.com>
12335
12336         PR gdb/11049:
12337         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12338         with "set print null-stop on".
12339
12340 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12341
12342         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12343         Adjust it for DISASSEMBLY_OMIT_FNAME.
12344
12345 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12346
12347         PR symtab/11199:
12348         * gdb.dwarf2/member-ptr-forwardref.exp,
12349         gdb.dwarf2/member-ptr-forwardref.S: New.
12350
12351 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12352
12353         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12354         (thread1_func): Protect thread1_tid with thread1_tid_cond by
12355         thread1_tid_mutex.  Remove gdbstop_mutex handling.
12356         (thread2_func): Protect thread2_tid with thread2_tid_cond by
12357         thread2_tid_mutex.  Remove gdbstop_mutex handling.
12358         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12359         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
12360         pthread_cond_wait conditionalizations by while loops.
12361
12362 2010-01-20  Tom Tromey  <tromey@redhat.com>
12363
12364         PR backtrace/10770:
12365         * gdb.dwarf2/pr10770.exp: New file.
12366         * gdb.dwarf2/pr10770.c: New file.
12367         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12368
12369 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
12370
12371         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12372         that target was removed, and the test always runs native anyway.
12373
12374 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12375
12376         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12377         gdb.base/watchpoint-cond-gone-stripped.c: New.
12378
12379 2010-01-19  Tom Tromey  <tromey@redhat.com>
12380
12381         PR c++/8000:
12382         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
12383         existing tests.
12384         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12385         (main): Use AAA::SomeEnum.
12386
12387 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12388
12389         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12390         (test_ignore_count): Declare line_callme_body global.
12391         (run to breakpoint with ignore count): Use line_callme_body.
12392         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12393         (set line_main_hello, set line_main_return): Reindent.
12394         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12395         New.
12396         (continue to callee4): Use line_callee4_body.
12397         (check *stopped from CLI command): Use line_callee4_next.
12398         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12399         (set line_main_hello, set line_main_return): Reindent.
12400         (set line_callee4_head, set line_callee4_body): New.
12401         (continue to callee4): Use line_callee4_body.
12402
12403 2010-01-18  Tom Tromey  <tromey@redhat.com>
12404
12405         PR c++/9680:
12406         * gdb.cp/casts.cc: Add new classes and variables.
12407         * gdb.cp/casts.exp: Test new operators.
12408
12409 2010-01-18  Tom Tromey  <tromey@redhat.com>
12410             Thiago Jung Bauermann  <bauerman@br.ibm.com>
12411
12412         * gdb.python/source2.py: New file.
12413         * gdb.python/source1: New file.
12414         * gdb.python/python.exp: Test "source" command.
12415
12416 2010-01-15  Stan Shebs  <stan@codesourcery.com>
12417
12418         * gdb.trace/tfile.c: New file.
12419         * gdb.trace/tfile.exp: New file.
12420
12421 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12422
12423         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12424
12425 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12426
12427         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12428
12429 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12430
12431         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12432         (libfunc): New parameter action.  Implement also selectable "sleep".
12433         * gdb.base/break-interp-main.c: Include assert.h.
12434         (libfunc): New parameter action.
12435         (main): New parameters argc and argv.  Assert argc.  Pass argv.
12436         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12437         (test_attach): New proc.
12438         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
12439         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
12440
12441 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12442
12443         * gdb.base/break-interp.exp (test_core): New proc.
12444         (test_ld): Call it.
12445
12446 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12447
12448         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12449         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
12450         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
12451         and gdb_compile_shlib.  Use new -Wl compiler options.
12452         (dl bt, main bt): New tests.
12453
12454 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12455
12456         Support PIEs with no symfile_objfile.
12457         * gdb.base/break-interp.exp: New argument at the test_ld calls.
12458         (test_ld): New parameter trynosym.
12459         (test_ld <$trynosym>): New block.
12460
12461 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12462
12463         * gdb.base/break-interp.exp: New file.
12464
12465 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
12466
12467         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12468         * gdb.python/py-prettyprint.py (pp_ls): New printer.
12469         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12470         test.
12471         * gdb.python/py-prettyprint.c: Define lazystring test structure.
12472         * gdb.python/py-mi.exp: Add lazy string test.
12473
12474 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
12475
12476         * lib/mi-support.exp (mi_check_thread_states): Handle
12477         core number in thread listing.
12478
12479 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
12480
12481         * gdb.base/maint.exp: Adjust the expected output for the
12482         "maint print type" test. Use gdb_test_multiple instead of
12483         gdb_sent/gdb_expect.
12484
12485 2010-01-11  Doug Evans  <dje@google.com>
12486
12487         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12488         from gdbserver_download.  All callers updated.
12489
12490         * gdb.server/ext-run.exp: "info os processes" requires xml support.
12491
12492 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12493
12494         Implement binary numbers parsing.
12495         * gdb.base/printcmds.exp (test_integer_literals_accepted)
12496         (test_integer_literals_rejected): New binary tests.
12497
12498 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12499
12500         * gdb.cell/configure: Regenerate.
12501
12502 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12503
12504         * gdb.base/corefile.exp: Move the core finding block out and call it as
12505         core_find, new variable $corefile, replace corefile by $corefile and
12506         [file tail $corefile] for usage vs. test names resp.
12507         * lib/gdb.exp (core_find): Move it as a new function here.  New
12508         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
12509         $destcore.  Return "" on error.
12510
12511 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
12512
12513         Workaround PR binutils/10802.
12514         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12515         (twice).
12516
12517 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
12518
12519         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12520
12521 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
12522
12523         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12524         call, to avoid interruption.
12525
12526 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
12527
12528         * gdb.stabs/weird.def (args93): New.
12529
12530 2010-01-07  Doug Evans  <dje@google.com>
12531
12532         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12533
12534 2010-01-07  Tom Tromey  <tromey@redhat.com>
12535
12536         * gdb.base/source.exp: Use correct line number.
12537
12538 2010-01-05  Stan Shebs  <stan@codesourcery.com>
12539
12540         * gdb.trace/tracecmd.exp: Test ftrace.
12541
12542 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12543
12544         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12545
12546 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12547
12548         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12549         "uint_for_mi_testing".
12550
12551 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12552
12553         Test indented comment in file being sourced.
12554         * gdb.base/commands.exp: Test indented comment in file being sourced.
12555
12556 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12557
12558         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12559         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12560         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12561         notice.
12562
12563 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12564
12565         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12566         notice.
12567
12568 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12569
12570         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12571         missing $after_stopped and comma (,) expectation.
12572
12573 2009-12-31  Stan Shebs  <stan@codesourcery.com>
12574
12575         * gdb.trace/actions.exp: Test teval action.
12576
12577 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
12578
12579         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12580         (top level): Call test_watchpoint_in_big_blob.
12581         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12582         watchpoints.
12583         (func3): Write to buf.
12584
12585 2009-12-29  Stan Shebs  <stan@codesourcery.com>
12586
12587         * gdb.trace/actions.exp: Test default-collect.
12588
12589 2009-12-28  Stan Shebs  <stan@codesourcery.com>
12590
12591         * gdb.trace/tsv.exp: New file.
12592         * gdb.base/completion.exp: Update ambiguous info output.
12593
12594 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
12595
12596         * gdb.base/find.c (main): Reference search buffers.
12597         * gdb.base/included.c (main): Reference integer.
12598         * gdb.base/ptype.c (charfoo): Declare.
12599         (intfoo): Call charfoo.
12600         * gdb.base/scope0.c (useitp): New function.
12601         (usestatics): Use useitp.
12602         (useit): Add a type for val.
12603         * gdb.base/scope1.c (useit1): Take a pointer argument.
12604         (usestatics1): Update calls to useit1.
12605         * gdb.cp/call-c.cc: Declare foo.
12606         (main): Call foo.
12607         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12608         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12609         (main): Call C::ensureRefs and ensureOtherRefs.
12610         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12611         variables.
12612         (ensureOtherRefs): New function.
12613         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12614         * gdb.cp/templates.cc (main): Call t5i.value.
12615
12616 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12617
12618         Fix compatibility with G++-4.5.
12619         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12620         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12621         (uncaught return): Remove.
12622
12623 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
12624             Phil Muldoon  <pmuldoon@redhat.com>
12625
12626         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12627         (bp_location13, bp_location14, bp_location17, bp_location18)
12628         (marker3_proto, marker4_proto): New variables.
12629         (breakpoint info): Update output.
12630         (run until breakpoint at marker3, run until breakpoint at marker4): New
12631         tests.
12632
12633 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
12634
12635         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12636         Replace the printf call of Y by provided "y-set-1" label.  New block
12637         for the second shared library.
12638         * gdb.base/unload.exp: Compile also the second library, call
12639         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
12640         (single pending breakpoint info): Rename to ...
12641         (pending breakpoint info before run): ... this extended test.
12642         (libfile2, libname2, libsrcfile2, libsrc2)
12643         (lib_sl2): New variables.
12644         (exec_opts): Set also SHLIB_NAME2.
12645         (pending breakpoint info on first run at shrfunc1)
12646         (pending breakpoint info on second run at shrfunc1)
12647         (pending breakpoint info on second run at shrfunc2)
12648         (print y from libfile, print y from libfile2): New tests.
12649         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12650         * gdb.base/unloadshr2.c: New.
12651
12652 2009-12-22  Hui Zhu  <teawater@gmail.com>
12653
12654         * gdb.reverse/sigall-reverse.exp: Adjust.
12655
12656 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
12657
12658         PR gdb/10884
12659
12660         * gdb.mi/var-cmd.c (do_bitfield_tests): New
12661         (main): Call do_bitfield_tests.
12662         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12663
12664 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
12665
12666         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12667         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12668         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12669         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12670         gdb.modula2/unbounded1.c: Update copyright header.
12671
12672 2009-12-10  Chris Moller  <moller@mollerware.com>
12673
12674         PR gdb/9399
12675         * gdb.cp/virtfunc2.exp: New tests
12676         * gdb.cp/virtfunc2.cc: New tests
12677         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12678
12679 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
12680
12681         * gdb.reverse/i387-env-reverse.c: New file.
12682         * gdb.reverse/i387-env-reverse.exp: New file.
12683         * gdb.reverse/i387-stack-reverse.c: New file.
12684         * gdb.reverse/i387-stack-reverse.exp: New file.
12685
12686 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
12687
12688         * gdb.python/py-type.exp (test_range): New test.
12689
12690 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
12691
12692         PR python/10805
12693
12694         * gdb.python/py-type.exp: New file.
12695         * gdb.python/py-type.c: New file.
12696         * Makefile.in: Add py-type.
12697
12698 2009-12-03  Tom Tromey  <tromey@redhat.com>
12699
12700         * gdb.python/py-value.exp (test_parse_and_eval): New
12701         function.
12702
12703 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12704
12705        PR gdb/11022
12706
12707        * gdb.base/pr11022.exp: New test.
12708        * gdb.base/pr11022.c: New test.
12709
12710 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12711
12712         Fix spurious false FAILs.
12713         * gdb.base/structs.c (chartest): New.
12714         (main): Fill-in chartest.
12715         * gdb.base/structs.exp (anychar_re, first): New.
12716         (start_structs_test): Import global anychar_re and first.
12717         New gdb_test call "set print elements 300; ${testfile}"
12718         (start_structs_test <$first>): New block.
12719         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
12720
12721 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12722
12723         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12724
12725 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12726
12727         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12728         Force $srcfile file.
12729         * gdb.base/foll-fork.c (callee): Comment out the printf call.
12730
12731 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12732
12733         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12734         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12735         * gdb.threads/watchthreads-reorder.exp: Likewise.
12736
12737 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
12738
12739         PR gdb/8704
12740
12741         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12742         "if", and "thread".  Correct matching in the previous test.
12743
12744 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
12745
12746         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12747
12748 2009-11-23  Michael Snyder  <msnyder@vmware.com>
12749
12750         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12751         * gdb.reverse-watch-precsave.exp: Ditto.
12752
12753 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
12754
12755         * gdb.asm/asm-source.exp: Adjust.
12756         * gdb.base/help.exp: Adjust.
12757
12758 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
12759
12760         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12761         (do_syscall_tests_without_xml): Set data-directory to
12762         /the/path/to/nowhere.
12763
12764 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
12765
12766         * gdb.threads/local-watch-wrong-thread.c,
12767         gdb.threads/local-watch-wrong-thread.exp: New files.
12768
12769 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
12770
12771         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12772         assume new `regsub' syntax available.
12773
12774 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12775
12776         * gdb.base/watchpoint-hw-hit-once.exp,
12777         gdb.base/watchpoint-hw-hit-once.c: New.
12778
12779 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12780
12781         * gdb.threads/watchthreads-reorder.exp,
12782         gdb.threads/watchthreads-reorder.c: New.
12783
12784 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
12785
12786         * gdb.xml/tdesc-regs.exp: Use for m68k.
12787
12788 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
12789
12790         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12791
12792 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12793
12794         * lib/gdb.exp (current_target_name): New procedure.
12795         (gdb_wrapper_target): New variable.
12796         (gdb_wrapper_init): Set gdb_wrapper_target.
12797         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12798         wrapper.
12799
12800 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12801
12802         * gdb.base/remote.exp: Delete the slowest load test.
12803         Do not load with fixed packet sizes.
12804
12805 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12806
12807         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12808
12809 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12810
12811         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
12812         srcfile when setting a breakpoint.
12813
12814 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
12815
12816         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12817         macros.
12818
12819 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12820
12821         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12822         to be in memory.
12823         * gdb.base/display.c (force_mem): New.
12824         (do_loops): Use it.  Add breakpoint comments.
12825         (do_vars): Add a breakpoint comment.
12826         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
12827         line numbers.
12828
12829 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
12830
12831         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12832         instead of a bare "run".
12833
12834 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
12835
12836         * gdb.python/py-prettyprint.exp: Adjust.
12837
12838 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12839
12840         * lib/cell.exp (skip_cell_tests): Clean up test files before
12841         returning.
12842
12843 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12844
12845         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12846         and the breakpoint menu.  Do not call perror if a prompt is seen.
12847         Consume the following GDB prompt.
12848         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12849         * gdb.cp/namespace.exp: Use gdb_test.
12850         * gdb.cp/templates.exp: Use gdb_test.
12851         (test_template_breakpoints): Use gdb_test_multiple.
12852
12853 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12854
12855         * gdb.base/break1.c (struct some_struct, values): Move earlier.
12856         (marker4): Reference values.
12857
12858 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12859
12860         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12861         is missing.
12862
12863 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12864
12865         * gdb.base/break.c (need_malloc): New.
12866         * gdb.base/constvars.c (main): Reference crass and crisp.
12867         * gdb.base/gdb1821.c (main): Reference bar.
12868         * gdb.cp/gdb1355.cc (main): Reference s1.
12869         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12870         (main): Call them.
12871         * gdb.cp/hang2.cc (dummy2): Define.
12872         * gdb.cp/hang3.cc (dummy3): Define.
12873         * gdb.cp/m-data.cc (main): Reference shadow.
12874
12875 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12876             Nathan Froyd  <froydnj@codesourcery.com>
12877
12878         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12879         remote host.
12880
12881 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
12882
12883         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12884         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12885         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12886         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12887         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12888         * gdb.dwarf2/dw2-producer.exp: Likewise.
12889         * gdb.dwarf2/mac-fileno.exp: Likewise.
12890         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12891         py-prettyprint.py to the remote host.
12892         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12893
12894 2009-11-11  Keith Seitz  <keiths@redhat.com>
12895
12896         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12897         use it instead of "Foo".
12898         * gdb.cp/classes.exp (do_tests): Add a test to access
12899         a method through a typedef'd class name.
12900
12901 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
12902
12903         * gdb.base/long_long.exp: Permit leading zeros on floating-point
12904         exponents.
12905         * gdb.base/pointers.exp: Likewise.
12906         * gdb.cp/ref-types.exp: Likewise.
12907
12908 2009-11-11  Keith Seitz  <keiths@redhat.com>
12909
12910         * gdb.cp/cplusfuncs.cc (class foo): Add operators
12911         new[] and delete[].
12912         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12913         "void".
12914         (probe_demangler): Remove all single-quoting of
12915         method and variable names.
12916         (info_func_regexp): Remove the word "void" from any
12917         occurrence of "(void)".
12918         (print_addr_2): Remove all single-quoting of
12919         method names.
12920         (print_addr_2_kfail): Likewise.
12921         (print_addr): Single-quote C function names before
12922         passing to print_addr_2.
12923         (test_paddr_operator_functions): Remove single-quoting
12924         for method names.
12925         Add tests for operator new[] and operator delete[].
12926
12927 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12928
12929         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12930
12931 2009-11-09  Keith Seitz  <keiths@redhat.com>
12932
12933         * gdb.cp/overload.exp: Add tests for resolving overloaded
12934         methods in expression parsing/evaluation.
12935
12936 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
12937
12938         * lib/gdb.exp (default_gdb_version): Use --version instead of
12939         --command.
12940
12941 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
12942
12943         * lib/gdb.exp (gdb_compile_test): New.
12944         (skip_ada_tests, skip_java_tests): New.
12945         (gdb_compile): Use gdb_compile_test for f77.
12946         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12947         * lib/java.exp (compile_java_from_source): Remove runtests check,
12948         use gdb_compile_test to record result.
12949         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12950         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12951         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12952         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
12953         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
12954         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
12955         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
12956         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
12957         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
12958         adjust gdb_compile invocations.
12959
12960 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12961
12962         * Makefile.in (abs_builddir): New.
12963         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
12964         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
12965         `$(abs_builddir)/site.exp'.
12966
12967 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
12968
12969         * config/m68k-emc.exp, lib/emc-support.exp,
12970         gdb.trace/gdb_c_test.c: Delete.
12971         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
12972         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12973         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12974         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12975         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12976         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
12977         casing for m68k-*-elf.
12978
12979 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
12980
12981         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
12982         * gdb.arch/i386-prologue.exp: Likewise.
12983         * gdb.arch/i386-unwind.exp: Likewise.
12984
12985 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
12986
12987         * lib/gdb.exp (gdb_expect): Fix timeout typo.
12988
12989 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
12990
12991         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
12992
12993 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
12994
12995         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
12996
12997 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12998
12999         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13000
13001 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13002
13003         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13004         * gdb.base/sepdebug2.c: New file.
13005
13006 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13007
13008         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13009         the modified warnings for catch syscall.  Verify if GDB was compiled
13010         with support for lib expat, and choose which tests to run depending
13011         on this.
13012
13013 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
13014
13015         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13016         that composite commands are parsed OK. And also test
13017         that breakpoint commands do work.
13018
13019 2009-10-23  Michael Snyder  <msnyder@vmware.com>
13020
13021         gdb.reverse/consecutive-precsave.exp: Change expect pattern
13022         to allow for new disassembly style.
13023
13024 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13025
13026         * gdb.asm/asm-source.exp: Adjust.
13027
13028 2009-10-22  Michael Snyder  <msnyder@vmware.com>
13029
13030         * gdb.reverse/break-precsave.exp: New test.
13031         * gdb.reverse/consecutive-precsave.exp: Ditto.
13032         * gdb.reverse/finish-precsave.exp: Ditto.
13033         * gdb.reverse/i386-precsave.exp: Ditto.
13034         * gdb.reverse/machinestate-precsave.exp: Ditto.
13035         * gdb.reverse/sigall-precsave.exp: Ditto.
13036         * gdb.reverse/solilb-precsave.exp: Ditto.
13037         * gdb.reverse/step-precsave.exp: Ditto.
13038         * gdb.reverse/until-precsave.exp: Ditto.
13039         * gdb.reverse/watch-precsave.exp: Ditto.
13040
13041 2009-10-22  Michael Snyder  <msnyder@vmware.com>
13042
13043         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13044         for gdb_expect.  Adjust one test's expect strings for the new
13045         format of disassemble.
13046         * gdb.reverse/finish-reverse.exp: Delete 'return'.
13047         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13048         gdb_test_multiple.
13049         * gdb.reverse/step-reverse.exp: Delete 'return'.
13050         * gdb.reverse/until-reverse.exp: Delete blank lines.
13051         * gdb.reverse/watch-reverse.exp: Delete blank lines.
13052
13053 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
13054
13055         * gdb.base/consecutive.exp: Adjust.
13056         * gdb.base/display.exp: Likewise.
13057         * gdb.base/pc-fp.exp: Likewise.
13058         * gdb.base/sigbpt.exp: Likewise.
13059
13060 2009-10-19  Michael Snyder  <msnyder@vmware.com>
13061
13062         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13063         * gdb.reverse/finish-reverse.c: Ditto.
13064         * gdb.reverse/sigall-reverse.c: Ditto.
13065         * gdb.reverse/solib-reverse.c: Ditto.
13066         * gdb.reverse/step-reverse.c: Ditto.
13067         * gdb.reverse/watch-reverse.c: Ditto.
13068
13069 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
13070             Stan Shebs  <stan@codesourcery.com>
13071
13072         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13073         * gdb.base/foll-exec.exp: Adjust to expect a process id before
13074         "Executing new program".
13075         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13076         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
13077         left listed after having been killed.
13078         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13079         * gdb.base/maint.exp: Adjust test.
13080
13081         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13082         * gdb.multi/Makefile.in: New.
13083         * gdb.multi/base.exp: New.
13084         * gdb.multi/goodbye.c: New.
13085         * gdb.multi/hangout.c: New.
13086         * gdb.multi/hello.c: New.
13087         * gdb.multi/bkpt-multi-exec.c: New.
13088         * gdb.multi/bkpt-multi-exec.exp: New.
13089         * gdb.multi/crashme.c: New.
13090
13091 2009-10-13  Tristan Gingold  <gingold@adacore.com>
13092
13093         * gdb.base/sepdebug.exp: Check debug info are found.
13094
13095 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
13096
13097         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13098         bits.
13099
13100 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13101
13102         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13103
13104 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
13105
13106         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
13107         of the comments.
13108
13109 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
13110
13111         * gdb.base/annota1.exp: Remove obsolete match_max increase.
13112         * gdb.base/annota3.exp: Idem.
13113         * gdb.base/maint.exp: Idem.
13114
13115 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
13116
13117         * lib/gdb.exp (default_gdb_init): Set current value of match_max
13118         to default.
13119
13120 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
13121
13122         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13123         mingw and cygwin targets.
13124
13125 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
13126             Pedro Alves  <pedro@codesourcery.com>
13127
13128         * lib/gdb.exp (gdb_compile): Avoid adding
13129         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13130
13131 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
13132
13133         * gdb.base/shr1.c: Use %p in format string.
13134         * gdb.base/unload.c: Avoid warning in fprintf.
13135         * gdb.base/watchpoint-solib.c: Idem.
13136
13137 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
13138
13139         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13140         long type.
13141         (test_unlink): Correct printf string.
13142         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13143         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13144
13145 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13146
13147         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13148         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13149         * gdb.arch/ia64-breakpoint-shadow.S: New file.
13150
13151 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13152
13153         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13154         * gdb.objc/nondebug.exp: Likewise.
13155
13156 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13157
13158         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13159         target_info setting.
13160
13161         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13162         that detect new threads during "info threads".
13163
13164 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13165
13166         * gdb.threads/manythreads.c (main): Increase thread stack size
13167         to 2*PTHREAD_STACK_MIN.
13168         * gdb.threads/multi-create.c (main): Likewise.
13169         (create_function): Likewise.
13170
13171 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13172
13173         * gdb.base/dump.exp: Pass difference of pointer types instead
13174         of integer types as offset to restore in intarr3.srec case.
13175
13176 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13177
13178         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13179
13180 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13181
13182         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13183
13184 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
13185
13186         New test for two watchpoints, with disabling of
13187         the first inserted.
13188         * testsuite/gdb.base/watchpoints.c: New file.
13189         * testsuite/gdb.base/watchpoints.exp: New file.
13190
13191 2009-09-25  Tom Tromey  <tromey@redhat.com>
13192
13193         * gdb.base/charset.exp: Test utf-16 strings with Python.
13194
13195 2009-09-25  Tom Tromey  <tromey@redhat.com>
13196
13197         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13198         UCS-4.
13199         * gdb.base/charset.c (utf_32_string): Rename.
13200         (init_utf32): Rename.
13201         (main): Update.
13202
13203 2009-09-22  Tom Tromey  <tromey@redhat.com>
13204
13205         * gdb.python/py-function.exp: Add regression tests.
13206
13207 2009-09-21  Keith Seitz  <keiths@redhat.com>
13208
13209         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13210         with invalid operator.
13211
13212 2009-09-21  Keith Seitz  <keiths@redhat.com>
13213
13214         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13215         and destructor using typedef name of class.
13216         * gdb.cp/classes.cc (class Base1): Add a destructor.
13217         (base1): New typedef.
13218         (use_methods): Instanitate an object of type base1.
13219         * gdb.cp/templates.exp (test_template_typedef): New procedure.
13220         (do_tests): Call test_template_typedef.
13221         * gdb.cp/templates.cc (Baz::~Baz): New method.
13222         (intBazOne): New typedef.
13223         (main): Instantiate intBazOne.
13224
13225 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
13226
13227         PR python/10633
13228
13229         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13230         Function.
13231         (run_lang_tests): Add print elements test.
13232
13233 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
13234
13235         * gdb.python/py-value.exp (test_subscript_regression): New
13236         function.  Test for invalid subscripts.
13237         * gdb.python/py-value.c (main): Add test array, and pointer to it.
13238         (ptr_ref): New function.
13239
13240 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13241
13242         * gdb.base/default.exp: Fix "show convenience".
13243
13244 2009-09-15  Tom Tromey  <tromey@redhat.com>
13245
13246         * lib/mi-support.exp (mi_create_varobj): Update.
13247         (mi_create_floating_varobj): Likewise.
13248         (mi_create_dynamic_varobj): New proc.
13249         (mi_varobj_update): Update.
13250         (mi_varobj_update_with_type_change): Likewise.
13251         (mi_varobj_update_kv_helper): New proc.
13252         (mi_varobj_update_dynamic_helper): Rewrite.
13253         (mi_varobj_update_dynamic): New proc.
13254         (mi_list_varobj_children): Update.
13255         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13256         * gdb.python/python-prettyprint.py (pp_outer): New class.
13257         (pp_nullstr): Likewise.
13258         (lookup_function): Register new printers.
13259         * gdb.python/python-prettyprint.c (struct substruct): New type.
13260         (struct outerstruct): Likewise.
13261         (substruct_test): New function.
13262         (struct nullstr): New type.
13263         (string_1, string_2): New globals.
13264         (main): Add new tests.
13265         * gdb.python/python-mi.exp: Added regression tests.
13266         * gdb.mi/mi2-var-display.exp: Update.
13267         * gdb.mi/mi2-var-cmd.exp: Update.
13268         * gdb.mi/mi2-var-child.exp: Update.
13269         * gdb.mi/mi2-var-block.exp: Update.
13270         * gdb.mi/mi-var-invalidate.exp: Update.
13271         * gdb.mi/mi-var-display.exp: Update.
13272         * gdb.mi/mi-var-cmd.exp: Update.
13273         * gdb.mi/mi-var-child.exp: Update.
13274         * gdb.mi/mi-var-block.exp: Update.
13275         * gdb.mi/mi-break.exp: Update.
13276         * gdb.mi/gdb701.exp: Update.
13277
13278 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13279
13280         * Makefile.in: Inclusion of catch-syscall object.
13281         * gdb.base/catch-syscall.c: New file.
13282         * gdb.base/catch-syscall.exp: New file.
13283
13284 2009-09-12  Michael Snyder  <msnyder@vmware.com>
13285
13286         * gdb.reverse/step-reverse.exp: Explicitly check for targets
13287         that can support reverse debuggnig.
13288
13289 2009-09-11  Tom Tromey  <tromey@redhat.com>
13290
13291         * gdb.dwarf2/valop.S: New file.
13292         * gdb.dwarf2/valop.exp: New file.
13293
13294 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
13295
13296         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13297
13298 2009-09-10  Doug Evans  <dje@google.com>
13299
13300         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13301         Add $gdb_prompt to second breakpoint regexp.
13302
13303 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
13304
13305         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13306         names, add missing ones.
13307         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13308         * gdb.python/py-frame.c: Rename from python-frame.c.
13309         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
13310         testfile name.
13311         * gdb.python/py-function.exp: Rename from python-function.exp.
13312         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
13313         testfile name.
13314         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13315         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13316         Adjust testfile name.
13317         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13318         * gdb.python/py-template.cc: Rename from python-template.cc.
13319         * gdb.python/py-template.exp: Rename from python-template.exp.
13320         Adjust testfile name.
13321         * gdb.python/py-value.c: Rename from python-value.c.
13322         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
13323         testfile name.
13324
13325 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
13326
13327         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13328         $bpt2address.
13329         (Second breakpoint address is valid on ia64)
13330         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13331
13332 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
13333
13334         * gdb.base/ending-run.exp: Restrict regular expression matching
13335         line number to require closing brace following.
13336
13337 2009-09-03  Doug Evans  <dje@google.com>
13338
13339         * gdb.base/store.exp (check_set): Fix typo in expected value message.
13340
13341 2009-09-02  Tom Tromey  <tromey@redhat.com>
13342
13343         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13344
13345 2009-09-02  Tom Tromey  <tromey@redhat.com>
13346
13347         * gdb.dwarf2/callframecfa.exp: New file.
13348         * gdb.dwarf2/callframecfa.S: New file.
13349
13350 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
13351
13352         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13353         gdb.base/solib-overlap-main.c: New.
13354
13355 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
13356
13357         PR gdb/10565
13358
13359         * gdb.base/bitfields.c (struct container, container): New.
13360         (main): Initialize it and call break5.
13361         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13362
13363 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
13364
13365         Support constant DW_AT_data_member_location by GCC PR debug/40659.
13366         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13367
13368 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
13369
13370         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13371
13372 2009-08-26  Michael Snyder  <msnyder@vmware.com>
13373
13374         * gdb.base/i386-reverse.c: New file.
13375         * gdb.base/i386-reverse.exp: New file.
13376         * gdb.base/Makefile.in: Add new files to be removed.
13377
13378 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
13379
13380         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13381         environment-pwd for remote host.
13382         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13383
13384 2009-08-24  Keith Seitz  <keiths@redhat.com>
13385
13386         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13387         Add two new C++ completer tests which limit the output to a
13388         given class.
13389
13390 2009-08-24  Michael Snyder  <msnyder@vmware.com>
13391
13392         * gdb.base/del.exp: Fix typo in comment.
13393         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13394
13395 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13396
13397         * configure: Regenerate.
13398         * gdb.hp/configure: Likewise.
13399         * gdb.hp/gdb.aCC/configure: Likewise.
13400         * gdb.hp/gdb.base-hp/configure: Likewise.
13401         * gdb.hp/gdb.compat/configure: Likewise.
13402         * gdb.hp/gdb.defects/configure: Likewise.
13403         * gdb.hp/gdb.objdbg/configure: Likewise.
13404         * gdb.stabs/configure: Likewise.
13405
13406 2009-08-19  Doug Evans  <dje@google.com>
13407
13408         * gdb.base/gdbvars.c: New file.
13409         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13410
13411 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
13412
13413         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13414         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13415
13416 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
13417
13418         * gdb.base/default.exp: Adjust "set language test": it's now an
13419         enum command.  Larger help string moved to "help set language".
13420         * gdb.base/help.exp: Adjust "help set language" expected output,
13421         now lists all known languages.
13422
13423 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
13424
13425         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13426         all frame arguments.
13427         * gdb.arch/altivec-regs.exp: Likewise.
13428
13429 2009-08-07  Tom Tromey  <tromey@redhat.com>
13430
13431         * gdb.base/setshow.exp: Add tests for changes to set language, set
13432         check range, and set check type.
13433
13434 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
13435
13436         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13437         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13438         Call it.
13439
13440 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13441
13442         * configure.ac: Run gdb.cell tests when appropriate.
13443         * configure: Regenerate.
13444         * lib/cell.exp: New file.
13445         * gdb.cell: New directory.
13446         * gdb.cell/configure.ac: New file.
13447         * gdb.cell/configure: New file.
13448         * gdb.cell/Makefile.in: New file.
13449         * gdb.cell/arch.exp: New file.
13450         * gdb.cell/break.c: New file.
13451         * gdb.cell/break.exp: New file.
13452         * gdb.cell/break-spu.c: New file.
13453         * gdb.cell/bt.c: New file.
13454         * gdb.cell/bt2-spu.c: New file.
13455         * gdb.cell/bt-spu.c: New file.
13456         * gdb.cell/bt.exp: New file.
13457         * gdb.cell/coremaker.c: New file.
13458         * gdb.cell/coremaker-spu.c: New file.
13459         * gdb.cell/core.exp: New file.
13460         * gdb.cell/gcore.exp: New file.
13461         * gdb.cell/data.c: New file.
13462         * gdb.cell/data.exp: New file.
13463         * gdb.cell/data-spu.c: New file.
13464         * gdb.cell/ea-cache.exp: New file.
13465         * gdb.cell/ea-cache.c: New file.
13466         * gdb.cell/ea-cache-spu.c: New file.
13467         * gdb.cell/ea-standalone.c: New file.
13468         * gdb.cell/ea-standalone.exp: New file.
13469         * gdb.cell/ea-test.c: New file.
13470         * gdb.cell/ea-test.exp: New file.
13471         * gdb.cell/f-regs.exp: New file.
13472         * gdb.cell/mem-access.c: New file.
13473         * gdb.cell/mem-access.exp: New file.
13474         * gdb.cell/mem-access-spu.c: New file.
13475         * gdb.cell/ptype.exp: New file.
13476         * gdb.cell/registers.exp: New file.
13477         * gdb.cell/size.c: New file.
13478         * gdb.cell/sizeof.exp: New file.
13479         * gdb.cell/size-spu.c: New file.
13480         * gdb.cell/solib.exp: New file.
13481         * gdb.cell/solib-symbol.exp: New file.
13482
13483 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13484
13485         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13486
13487 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
13488
13489         * gdb.base/float.exp: Handle VFP registers.
13490
13491 2009-07-14  Michael Snyder  <msnyder@vmware.com>
13492
13493         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13494         to bring gdb to the beginning of the calling line.
13495
13496         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13497         confusing the i386 epilogue unwinder.
13498
13499 2009-07-14  Stan Shebs  <stan@codesourcery.com>
13500
13501         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13502
13503 2009-07-14  Michael Snyder  <msnyder@vmware.com>
13504
13505         * gdb.reverse/step-reverse.exp (stepi into function call):
13506         Call instruction may not be first instruction in the line.
13507         (reverse stepi from a function call): Used wrong line number.
13508
13509 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13510
13511         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13512
13513 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13514
13515         Fix gdb.base/macscp.exp when using custom inputrc.
13516         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13517         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
13518         env(TERM) set.
13519         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13520         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13521
13522 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13523
13524         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13525         * gdb.base/annota1.exp (thread_test): Import global $testfile.
13526         Change the compilation target to match the testcase name.
13527         * gdb.base/sect-cmd.exp: Change the compilation target to match the
13528         testcase name.
13529         * a2-run.exp: Use for setup prepare_for_testing.  Change the
13530         compilation target to match the testcase name.
13531         * gdb.base/commands.exp: Likewise.
13532         * gdb.base/finish.exp: Likewise.
13533         * gdb.base/float.exp: Likewise.
13534         * gdb.base/info-target.exp: Likewise.
13535         * gdb.base/relational.exp: Likewise.
13536         * gdb.base/term.exp: Likewise.
13537         * gdb.base/until.exp: Likewise.
13538         * gdb.base/volatile.exp: Likewise.
13539         * gdb.base/whatis-exp.exp: Likewise.
13540
13541 2009-07-11  Hui Zhu  <teawater@gmail.com>
13542
13543         * gdb.base/help.exp (disassemble): Update expected help text.
13544
13545 2009-07-09  Tom Tromey  <tromey@redhat.com>
13546
13547         * lib/gdb.exp: Handle TRANSCRIPT.
13548         (remote_spawn, remote_close, send_gdb): New procs.
13549
13550 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
13551
13552         * gdb.python/python-prettyprint.c: Add counted null string
13553         structure.
13554         * gdb.python/python-prettyprint.exp: Print null string. Test for
13555         embedded nulls.
13556         * gdb.python/python-prettyprint.py (pp_ns): New Function.
13557         * gdb.python/python-value.exp (test_value_in_inferior): Add
13558         variable length string fetch tests.
13559         * gdb.python/python-value.c (main): Add strings for string fetch tests.
13560
13561 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
13562
13563         * gdb.base/dump.exp (inaccessible memory is reported): New test.
13564
13565 2009-07-07  Tom Tromey  <tromey@redhat.com>
13566
13567         * gdb.base/call-rt-st.exp: Update for change to escape output.
13568         * gdb.base/callfuncs.exp: Likewise.
13569         * gdb.base/charset.exp: Likewise.
13570         * gdb.base/constvars.exp: Likewise.
13571         * gdb.base/long_long.exp: Likewise.
13572         * gdb.base/pointers.exp: Likewise.
13573         * gdb.base/printcmds.exp: Likewise.
13574         * gdb.base/setvar.exp: Likewise.
13575         * gdb.base/store.exp: Likewise.
13576         * gdb.cp/ref-types.exp: Likewise.
13577         * gdb.mi/mi-var-child.exp: Likewise.
13578         * gdb.mi/mi-var-display.exp: Likewise.
13579         * gdb.mi/mi2-var-display.exp: Likewise.
13580         * gdb.base/charset.exp: Test octal escape sequence length.
13581         Update for change to escape output.
13582
13583 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13584
13585         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13586
13587 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
13588
13589         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13590
13591 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
13592
13593         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13594         gdbserver increasing $portnum if "Can't bind address" has been seen.
13595
13596 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
13597
13598         * gdb.base/ending-run.exp: Add "step out of main" pattern for
13599         mingw32ce.
13600
13601 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
13602
13603         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13604         VFP format.
13605
13606 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
13607
13608         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13609         linux.  Adjust to use "inferior", "info inferiors", "detach
13610         inferior" and "kill inferior" instead of "restart", "info fork",
13611         "detach fork" and "delete fork".
13612         * gdb.base/ending-run.exp: Spell out "info".
13613         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13614         the "kill" command.
13615
13616 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13617
13618         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13619         change to prefix TLS offset in hex with 0x.
13620
13621 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13622
13623         * gdb.base/default.exp: Update test case for "x" changes.
13624
13625 2009-07-01  Tristan Gingold  <gingold@adacore.com>
13626
13627         * gdb.base/bigcore.exp: Make darwin untested.
13628
13629 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13630
13631         * gdb.base/completion.exp (directory completion): Create the directory.
13632         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13633         escapeuniquesub.
13634         (directory completion 2): Expect now ${escapeuniquesub}.
13635         (Glob remaining of directory test): Remove one excessive newline.
13636         Expect the real output.
13637
13638 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13639
13640         Fix `make check//%' target after `make check' has been ran.
13641         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
13642         a mkdir call.
13643         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13644         (%/.dir): Remove.
13645
13646 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13647
13648         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13649         the expected result record.
13650
13651 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13652
13653         Remove racy FAILs relying just on the timeouts.
13654         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13655         (annotation_level 2): Remove racy FAILs.
13656
13657 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13658
13659         gdb/10275
13660         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13661
13662 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
13663
13664         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13665
13666 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
13667
13668         * gdb.mi/mi-stack.exp: Testing symbolic options
13669         to -stack-list-locals and -stack-list-arguments.
13670
13671 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13672
13673         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13674
13675 2009-06-29  Tom Tromey  <tromey@redhat.com>
13676
13677         * dg-extract-results.sh: New file.
13678         * Makefile.in (FORCE_PARALLEL): New variable.
13679         (CHECK_TARGET): New conditional variable.
13680         (check): Use CHECK_TARGET.
13681         (DO_RUNTEST): New variable.
13682         (check-single): New target.
13683         (TEST_DIRS): New variable.
13684         (TEST_TARGETS): Likewise.
13685         (check-parallel): New target.
13686         (check-gdb.%): New pattern.
13687         (BASE1_FILES): New variable.
13688         (BASE2_FILES): Likewise.
13689         (check-gdb.base%): New pattern.
13690         (%/.dir): New pattern.
13691         * configure: Rebuild.
13692         * aclocal.m4 (AM_CONDITIONAL): New defun.
13693         * configure.ac: Check whether user is using GNU make.
13694         (GMAKE): New conditional.
13695
13696 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
13697
13698         * gdb.cp/namespace-nested-import.cc: New test.
13699         * gdb.cp/namespace-nested-import.exp: New test.
13700
13701 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
13702
13703         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13704         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13705         * gdb.opt/Makefile.in (EXECUTABLES): Update.
13706         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13707         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13708         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13709         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13710         gdb.opt/inline-markers.c: New files.
13711         * lib/gdb.exp (skip_inline_frame_tests): New function.
13712         (skip_inline_var_tests): New function.
13713
13714 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
13715
13716         * gdb.cp/exception.exp: Don't require $hex before inner frame in
13717         backtrace.
13718
13719 2009-06-27  Michael Snyder  <msnyder@vmware.com>
13720
13721         * gdb.reverse: New directory.
13722         * gdb.reverse/break-reverse.c: New test.
13723         * gdb.reverse/break-reverse.exp: New test.
13724         * gdb.reverse/consecutive-reverse.c: New test.
13725         * gdb.reverse/consecutive-reverse.exp: New test.
13726         * gdb.reverse/finish-reverse.c: New test.
13727         * gdb.reverse/finish-reverse.exp: New test.
13728         * gdb.reverse/machinestate.c: New test.
13729         * gdb.reverse/ms1.c: New test.
13730         * gdb.reverse/machinestate.exp: New test.
13731         * gdb.reverse/Makefile.in: New file.
13732         * gdb.reverse/shr2.c: New test.
13733         * gdb.reverse/solib-reverse.c: New test.
13734         * gdb.reverse/solib-reverse.exp: New test.
13735         * gdb.reverse/step-reverse.c: New test.
13736         * gdb.reverse/step-reverse.exp: New test.
13737         * gdb.reverse/until-reverse.c: New test.
13738         * gdb.reverse/ur1.c: New test.
13739         * gdb.reverse/until-reverse.exp: New test.
13740         * gdb.reverse/watch-reverse.c: New test.
13741         * gdb.reverse/watch-reverse.exp: New test.
13742         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13743         * configure: Regenerate.
13744
13745 2009-06-26  Doug Evans  <dje@google.com>
13746
13747         * gdb.base/psymtab.exp: Turn off pending breakpoints.
13748
13749 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
13750
13751         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13752         windows problem for 'file delete $binfile'.
13753
13754 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
13755
13756         * gdb.cp/namespace-using.exp: New test.
13757         * gdb.cp/namespace-using.cc: New test.
13758
13759 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
13760
13761         * gdb.ada/variant_record_packed_array: New testcase.
13762
13763 2009-06-23  Tom Tromey  <tromey@redhat.com>
13764
13765         * gdb.base/charset.exp (test_combination): Regression test.
13766         * gdb.base/charset.c (my_wchar_t): New typedef.
13767         (myvar): New global.
13768         (main): Set myvar.
13769
13770 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
13771
13772         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13773         target.
13774
13775 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13776
13777         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13778
13779 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13780
13781         * gdb.mi/gdb680.exp: Update test for error message.
13782
13783 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13784
13785         * gdb.base/annota1.exp: Allow multiple occurrences of the
13786         frames-invalid annotation.
13787         * gdb.cp/annota2.exp: Likewise.
13788
13789 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
13790
13791         * gdb.cp/gdb2495.cc: New file.
13792         * gdb.cp/gdb2495.exp: New file.
13793
13794 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13795
13796         Report error on GDB crash during runto.
13797         * lib/gdb.exp (runto <eof>): New.
13798
13799 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
13800
13801         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13802         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13803         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13804         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13805         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13806         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13807         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13808         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13809         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13810         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13811         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13812         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13813         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13814         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13815         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13816         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13817         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13818         gdb.server/server-mon.exp, gdb.server/server-run.exp,
13819         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13820         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13821         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13822         gdb.trace/passcount.exp, gdb.trace/report.exp,
13823         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13824         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13825         gdb.trace/while-stepping.exp: Use a unique name for the compiled
13826         executable.
13827
13828 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
13829
13830         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13831         defined before referencing it.
13832
13833 2009-06-03  Doug Evans  <dje@google.com>
13834
13835         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13836         * gdb.arch/i386-see.c: Ditto.
13837
13838 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
13839
13840         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13841         (check_macro): Return 1 if undefined.
13842         If first test fails, check if macro debug information is available,
13843         and report unsupported test if no macro information is found.
13844
13845 2009-05-29  Doug Evans  <dje@google.com>
13846
13847         * gdb.threads/hand-call-in-threads.exp: New.
13848         * gdb.threads/hand-call-in-threads.c: New.
13849
13850 2009-05-29  Michael Snyder  <msnyder@vmware.com>
13851
13852         * gdb.base/break-always.exp: Change "1" to "on".
13853         Add confirmation check.
13854
13855 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
13856
13857         * gdb.threads/threxit-hop-specific.c: New.
13858         * gdb.threads/threxit-hop-specific.exp: New.
13859         * gdb.threads/thread-execl.c: New.
13860         * gdb.threads/thread-execl.exp: New.
13861
13862 2009-05-27  Tom Tromey  <tromey@redhat.com>
13863             Thiago Jung Bauermann  <bauerman@br.ibm.com>
13864
13865         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13866         (mi_child_regexp): Likewise.
13867         (mi_list_varobj_children_range): Likewise.
13868         (mi_get_features): Likewise.
13869         (mi_list_varobj_children): Rewrite.
13870         * gdb.python/python-mi.exp: New file.
13871
13872 2009-05-27  Tom Tromey  <tromey@redhat.com>
13873             Thiago Jung Bauermann  <bauerman@br.ibm.com>
13874             Phil Muldoon  <pmuldoon@redhat.com>
13875             Paul Pluzhnikov  <ppluzhnikov@google.com>
13876
13877         * gdb.python/python-prettyprint.exp: New file.
13878         * gdb.python/python-prettyprint.c: New file.
13879         * gdb.python/python-prettyprint.py: New file.
13880         * gdb.base/display.exp: print/r is now valid.
13881
13882 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13883             Tom Tromey  <tromey@redhat.com>
13884             Pedro Alves  <pedro@codesourcery.com>
13885             Paul Pluzhnikov  <ppluzhnikov@google.com>
13886
13887         * gdb.python/python-template.exp: New file.
13888         * gdb.python/python-template.cc: New file.
13889         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13890         tests.
13891         * gdb.python/python-value.exp (py_objfile_tests): New proc.
13892         Call it.
13893         (test_value_after_death): New proc.
13894         * gdb.python/python-value.c (PTR): New typedef.
13895         (main): New variable 'x'.
13896
13897 2009-05-27  Tom Tromey  <tromey@redhat.com>
13898
13899         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13900         tests.
13901         * gdb.python/python-value.exp (py_objfile_tests): New proc.
13902         Call it.
13903
13904 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
13905
13906         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13907
13908 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
13909
13910         * gdb.threads/fork-thread-pending.c: New.
13911         * gdb.threads/fork-thread-pending.exp: New.
13912
13913 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13914
13915         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13916         * gdb.dwarf2/dw2-strp.S (a_string2): New.
13917
13918 2009-05-18  Jon Beniston  <jon@beniston.com>
13919
13920         * gdb.asm/asm-source.exp: Add lm32 target.
13921
13922 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
13923
13924         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
13925         `gdb_get_line_number'.  Call `callee' in both parent and child.
13926         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13927         `gdb_get_line_number' instead of hardcoding line numbers.
13928         (catch_fork_unpatch_child): New procedure to test detaching
13929         breakpoints from child fork.
13930         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13931         hardcoding line numbers.
13932         (do_fork_tests): Run `catch_fork_unpatch_child'.
13933
13934 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
13935
13936         * gdb.mi/mi-cmd-var.exp: Check that when varobj
13937         of structure type enters or leaves the scope, it
13938         is reported by -var-update.
13939
13940 2009-05-11  Doug Evans  <dje@sebabeach.org>
13941
13942         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
13943         * gdb.threads/pending-step.c (main): Fix off-by-one error.
13944         * gdb.threads/schedlock.c (main): Fix off-by-one error.
13945
13946 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13947
13948         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13949
13950 2009-04-30  Doug Evans  <dje@google.com>
13951
13952         * gdb.threads/watchthreads2.exp: New testcase.
13953         * gdb.threads/watchthreads2.c: New testcase.
13954
13955 2009-04-29  Doug Evans  <dje@google.com>
13956
13957         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
13958         * gdb.cp/mb-ctor.cc: Ditto.
13959         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
13960         * gdb.cp/mb-inline.h (multi_line_foo): New function.
13961         * gdb.cp/mb-inline1.cc: Call it.
13962         * gdb.cp/mb-inline2.cc: Ditto.
13963         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
13964         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
13965
13966 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13967
13968         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
13969         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
13970         Replace all uses of `decimal' by `nonzero'.
13971         (info macro FROM_COMMANDLINE): New test.
13972
13973 2009-04-27  Tom Tromey  <tromey@redhat.com>
13974
13975         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
13976
13977 2009-04-27  Doug Evans  <dje@google.com>
13978
13979         * gdb.threads/watchthreads.c (main): Initialize args before starting
13980         the threads.  Plus formatting cleanup.
13981         * gdb.threads/watchthreads.exp: Avoid errant failures due to
13982         biased scheduling of one thread.
13983
13984 2009-04-27  Jerome Guitton  <guitton@adacore.com>
13985
13986         * gdb.cp/templates.cc (GetMax): New template.
13987         (main): Declare two instances of GetMax.
13988         * gdb.cp/templates.exp: Add new test.
13989
13990 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
13991
13992         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
13993
13994 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
13995
13996         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
13997
13998 2009-04-15  Tom Tromey  <tromey@redhat.com>
13999
14000         * gdb.base/charset.exp: Add regression test.
14001
14002 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
14003
14004         * gdb.base/exe-lock.exp: New testcase.
14005
14006 2009-04-13  Tom Tromey  <tromey@redhat.com>
14007
14008         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14009         operator on Frame.
14010
14011 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14012
14013         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14014         * gdb.server/ext-attach.exp: Likewise.
14015
14016 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
14017
14018         Eliminate some sleep usage.
14019
14020         * gdb.mi/basics.c (do_nothing): New.
14021         (main): Use do_nothing instead of printf, so that
14022         not to introduce race condition between output of
14023         inferiour and output of gdb. Do not use sleep as it
14024         is not generally available on embedded targets.
14025
14026 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
14027
14028         * gdb.server/ext-attach.exp: Expect an optional process id after
14029         "Detached from remote process".
14030
14031 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14032
14033         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14034         gdb.dwarf2/dw2-unresolved.exp: New.
14035
14036 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
14037
14038         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
14039         mi_run_to_main.
14040
14041 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
14042
14043         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
14044         mi_run_to_main.  Skip thread exit test on remote targets.
14045         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
14046         mi_run_to_main.
14047         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
14048         mi_run_to_main.
14049         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14050         when expecting ^connected.  Detect when the target doesn't support
14051         non-stop mode.
14052         (mi_run_cmd): Detect if non-stop mode was requested by isn't
14053         supported.  Return -1 on error, 0 on success.
14054         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14055         (mi_runto): Return mi_runto_helper's result explicitly.
14056
14057 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
14058
14059         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14060
14061 2009-04-01  Tom Tromey  <tromey@redhat.com>
14062
14063         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14064         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14065         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14066         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14067
14068 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
14069             Jan Kratochvil  <jan.kratochvil@redhat.com>
14070
14071         PR gdb/931
14072         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14073         output.
14074         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
14075         for gdb/931.
14076         * dw2-strp.S (DW_AT_language): Change to C++.
14077         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14078
14079 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
14080
14081         * gdb.ada/tasks: New testcase.
14082
14083 2009-03-30  Stan Shebs  <stan@codesourcery.com>
14084
14085         * gdb.trace/actions.exp: Update to match new info trace format.
14086         * gdb.trace/deltrace.exp: Ditto.
14087         * gdb.trace/infotrace.exp: Ditto.
14088         * gdb.trace/passcount.exp: Ditto.
14089         * gdb.trace/save-trace.exp: Ditto.
14090         * gdb.trace/while-stepping.exp: Ditto.
14091         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14092
14093 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14094
14095         * gdb.python/python-frame.c: New file.
14096         * gdb.python/python-frame.exp: New file.
14097
14098 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14099
14100         * gdb.python/python-value.exp: Add tests for the address
14101         attribute.
14102
14103 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
14104
14105         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14106
14107 2009-03-26  Doug Evans  <dje@google.com>
14108
14109         * gdb.mi/mi-nonstop-exit.exp: New file.
14110         * gdb.mi/non-stop-exit.c: New file.
14111
14112 2009-03-26  Tom Tromey  <tromey@redhat.com>
14113
14114         Update for change to prologue skipping:
14115         * gdb.mi/mi2-simplerun.exp: Update.
14116         * gdb.mi/mi2-break.exp: Update.
14117         * gdb.mi/mi-simplerun.exp: Update.
14118         * gdb.mi/mi-break.exp: Update.
14119         * gdb.base/ending-run.exp: Update.
14120
14121 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14122
14123         * gdb.python/python-value.exp (test_value_in_inferior): Test
14124         gdb.Value.is_optimized_out attribute.
14125
14126 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
14127
14128         * gdb.dwarf2/dw2-noloc-main.c: New file.
14129         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14130         (.text): Remove.
14131         (.data): New.
14132         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14133         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14134         (DW_TAG_subprogram func_cu1, noloc): Remove.
14135         (main): New.
14136         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14137         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
14138         (file_symbols): New procedure.
14139
14140 2009-03-25  Tom Tromey  <tromey@redhat.com>
14141
14142         * gdb.base/charset.exp (valid_target_charset): New proc.
14143         Use it to skip tests on invalid charsets.
14144
14145 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
14146
14147         * gdb.base/completion.exp: Add a test for directory completion.
14148
14149 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14150
14151         Fix a racy FAIL.
14152         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14153         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14154
14155 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14156
14157         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14158         * gdb.python/python-function.exp: Add test for function returning
14159         a GDB value.
14160
14161 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14162
14163         * gdb.python/python-function.exp: New file.
14164
14165 2009-03-20  Tom Tromey  <tromey@redhat.com>
14166
14167         * gdb.base/store.exp: Update for change to escape output.
14168         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14169         to escape output.
14170         * gdb.base/pointers.exp: Update for change to escape output.
14171         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14172         to escape output.
14173         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14174         escape output.
14175         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14176         to escape output.
14177         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14178         escape output.
14179         * gdb.base/setvar.exp: Update for change to escape output.
14180         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14181         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14182         to escape output.
14183         (test_print_string_constants): Likewise.
14184         * gdb.base/charset.exp (valid_host_charset): Check size of
14185         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
14186         cases.  Handle "auto"-related output.
14187         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14188         (uvar, Uvar): New globals.
14189
14190 2009-03-19  Jerome Guitton  <guitton@adacore.com>
14191
14192         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14193         deltas.
14194         * gdb.ada/fixed_points.exp: Ditto.
14195
14196 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
14197
14198         * return-nodebug.c: Don't include stdio.h.
14199         (init): Delete.
14200         (func): Delete definition and provide extern declaration.
14201         (t): New.
14202         (main): Don't call printf.  Call func and store its result in t.
14203         * return-nodebug1.c: New.
14204         * return-nodebug.exp: Don't expect stdio output.  Instead, print
14205         the global variable t.  Drop printf formatters and cast types from
14206         foreach loop.  Don't use prepare_for_testing.  Compile
14207         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
14208         define FORMAT or CAST.
14209
14210 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14211
14212         * gdb.base/solib-display.exp: Disable test for remote targers.
14213
14214 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
14215
14216         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14217
14218 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14219
14220         Fix a racy FAIL.
14221         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14222         code from `follow parent, print pids'.
14223         (`follow child, print pids', `follow parent, print pids'): Call it.
14224         Replace `gdb_test "break..."' by gdb_breakpoint.
14225
14226 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
14227
14228         * gdb.mi/mi-cli.exp: Adjust for output difference in
14229         sync and async modes.
14230
14231 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14232
14233         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14234         that was checked in by mistake. Remove loading of ada.exp, since
14235         this is not necessary in this case.
14236
14237 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14238
14239         * gdb.ada/ptype_arith_binop.exp: New testcase.
14240
14241 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14242
14243         * gdb.ada/mod_from_name: New testcase.
14244
14245 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14246
14247         * gdb.ada/tick_last_segv: New testcase.
14248
14249 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
14250
14251         * gdb.mi/mi-cli.exp: Remove debug print.
14252
14253 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
14254
14255         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14256         include the token in ^running and frame info in *stopped.
14257
14258 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14259
14260         * solib-display.exp: New file.
14261         * solib-display-main.c: New file.
14262         * solib-display-lib.c: New file.
14263
14264 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
14265
14266         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14267
14268 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14269
14270         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14271         (list_and_check_macro): Use more specific test name.
14272         (next to definition): Make the test names unique.
14273
14274 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
14275
14276         * gdb.pascal/floats.exp: Accept approximate results everywhere.
14277
14278 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
14279
14280         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14281         notifications.
14282         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14283         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14284         * lib/mi-support.exp (library_loaded_re): New.
14285         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14286
14287 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
14288
14289         * gdb.gdb/observer.exp: Use test_notification observer, not
14290         normal_stop, everywhere.
14291         (test_normal_stop_notifications): Rename to...
14292         (test_notifications): ...this.
14293         (test_observer_normal_stop): Rename to...
14294         (test_observer): ...this.
14295
14296 2009-02-16  Doug Evans  <dje@google.com>
14297
14298         * gdb.arch/amd64-disp-step.S (test_int3): New test.
14299         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14300         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14301         (test_prefixed_syscall,test_int3): New tests.
14302         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14303         (test_prefixed_syscall,test_int3): New tests.
14304
14305 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
14306
14307         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14308         (mi_expect_interrupt): Likewise.
14309         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14310         response.
14311
14312 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
14313
14314         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14315         * gdb.base/pc-fp.exp (get_valueofx): Remove.
14316         Replace calls to get_valueofx by get_hexadecimal_valueof.
14317
14318 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
14319
14320         * lib/gdb.exp (get_valueof): Accept anything as a return value.
14321         (get_integer_valueof): New procedure.
14322         (get_sizeof): Use new get_integer_value_of.
14323         * gdb.base/sizeof.exp: Replace all uses of get_valueof
14324         by get_integer_valueof.
14325
14326 2009-02-13  Tom Tromey  <tromey@redhat.com>
14327
14328         * gdb.base/remote.exp (get_sizeof): Remove.
14329         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14330         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14331         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14332         * lib/gdb.exp (get_valueof): Move from long_long.exp.
14333         (get_sizeof): Likewise.
14334
14335 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
14336
14337         PR fortran/9806
14338         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14339
14340 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14341
14342         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14343
14344 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
14345
14346         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14347
14348 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14349
14350         * gdb.python/python-cmd.exp: New file.
14351
14352 2009-02-06  Tristan Gingold  <gingold@adacore.com>
14353
14354         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14355
14356 2009-02-05  Tristan Gingold  <gingold@adacore.com>
14357
14358         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14359         pointer is dereferenced and use this signal name in regexp.
14360         * gdb.base/signull.exp: Ditto.
14361         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14362         * gdb.base/signull.c (main): Ditto.
14363
14364 2009-02-04  Tom Tromey  <tromey@redhat.com>
14365             Thiago Jung Bauermann  <bauerman@br.ibm.com>
14366
14367         * gdb.python/python-value.exp: Use `gdb.history' instead of
14368         `gdb.value_from_history'.
14369         (test_value_numeric_ops): Add test for conversion of enum constant.
14370         * gdb.python/python-value.c (enum e): New type.
14371         (evalue): New global.
14372         (main): Use argv.
14373
14374 2009-02-04  Jerome Guitton  <guitton@adacore.com>
14375
14376         * gdb.ada/uninitialized_vars: New test program.
14377         * gdb.ada/uninitialized_vars.exp: New testcase.
14378
14379 2009-02-02  Tom Tromey  <tromey@redhat.com>
14380
14381         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14382         * gdb.cp/pr2489.cc: Rename...
14383         * gdb.cp/pr9594.cc: ... to this.
14384
14385 2009-02-02  Tom Tromey  <tromey@redhat.com>
14386
14387         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14388         * gdb.cp/pr2489.cc: New file.
14389         * gdb.cp/cpcompletion.exp: New file.
14390
14391 2009-02-02  Tom Tromey  <tromey@redhat.com>
14392
14393         PR exp/9059:
14394         * gdb.cp/call-c.exp: Add regression test.
14395         * gdb.cp/call-c.cc (FooHandle): New typedef.
14396         (main): New variable 'handle'.
14397
14398 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
14399
14400         * lib/mi-support.exp (et_mi_thread_list)
14401         (check_mi_and_console_threads): Adjust for current thread in
14402         -thread-list-ids output.
14403
14404 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
14405
14406         * gdb.mi/mi-break.exp (test_disabled_creation): New.
14407         Call it.
14408
14409 2009-01-28  Doug Evans  <dje@google.com>
14410
14411         * gdb.arch/amd64-disp-step.S: New file.
14412         * gdb.arch/amd64-disp-step.exp: New file.
14413         * gdb.arch/i386-disp-step.S: New file.
14414         * gdb.arch/i386-disp-step.exp: New file.
14415
14416 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
14417
14418         * gdb.base/find.exp: Set newline variable
14419         using quotes instead of braces to fix cygwin failures.
14420
14421 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
14422
14423         * gdb.base/radix.exp: Add tests to ensure that that set
14424         input-radix 0 and set output-radix 0 are really rejected.
14425
14426 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
14427
14428         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14429         copyright years.
14430
14431 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
14432
14433         PR gdb/9664:
14434         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14435
14436 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
14437
14438         PR c++/9631:
14439         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14440
14441 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
14442
14443         * gdb.server/file-transfer.exp: Use EXEEXT variable for
14444         binfile definition to fix Windows OS failure.
14445
14446 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
14447
14448         PR gdb/9346
14449         * gdb.base/interrupt.c (sigint_handler): New.
14450         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
14451         on error.
14452         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14453         Test "signal SIGINT".
14454
14455 2009-01-19  Doug Evans  <dje@google.com>
14456
14457         * gdb.base/break.exp: Update expected gdb output.
14458         * gdb.base/sepdebug.exp: Ditto.
14459         * gdb.mi/mi-syn-frame.exp: Ditto.
14460         * gdb.mi/mi2-syn-frame.exp: Ditto.
14461         * gdb.base/call-signal-resume.exp: New file.
14462         * gdb.base/call-signals.c: New file.
14463         * gdb.base/unwindonsignal.exp: New file.
14464         * gdb.base/unwindonsignal.c: New file.
14465         * gdb.threads/interrupted-hand-call.exp: New file.
14466         * gdb.threads/interrupted-hand-call.c: New file.
14467         * gdb.threads/thread-unwindonsignal.exp: New file.
14468
14469 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
14470
14471         * gdb.base/define.exp: Test defining and hooking prefix commands.
14472         * gdb.python/python.exp: Update test for "show user" output.
14473
14474 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
14475
14476         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
14477         now the output exactly, using less wildcards.  Expect also the output
14478         of gfortran-4.3.  Update for the f-valprint.c modification from
14479         2008-04-22.
14480         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14481         Remove gdb_test test names where matching the command.
14482
14483 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
14484
14485         PR breakpoints/9681:
14486         * gdb.base/watchpoint.exp: Add regression test.
14487
14488 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
14489
14490         * gdb.threads/attach-into-signal.exp: Don't use
14491         gdb_suppress_entire_file.
14492         * gdb.threads/attach-stopped.exp: Ditto.
14493         * gdb.threads/attachstop-mt.exp: Ditto.
14494
14495 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
14496
14497         PR gdb/8812:
14498         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14499
14500 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
14501
14502         PR gdb/7536:
14503         * gdb.base/radix.exp: Add tests to ensure invalid input radices
14504         and unsupported output radices are really rejected.
14505
14506 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14507
14508         * gdb.cp/punctuator.exp: Backslash the '$' signs.
14509
14510 2008-12-22  Tom Tromey  <tromey@redhat.com>
14511
14512         * gdb.cp/punctuator.exp: New file.
14513
14514 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14515
14516         * gdb.base/completion.exp (Completing non-existing component): New test.
14517
14518 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14519
14520         Fix for PR gdb/8648.
14521         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14522         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14523         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14524         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14525
14526 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14527
14528         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14529
14530 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
14531
14532         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14533         compiler actually generate code at the expected line number.
14534
14535 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
14536
14537         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14538
14539 2008-12-12  Tom Tromey  <tromey@redhat.com>
14540
14541         * gdb.base/commands.exp (redefine_hook_test): New proc.
14542         Call it.
14543
14544 2008-12-11  Tom Tromey  <tromey@redhat.com>
14545
14546         * gdb.base/macscp.exp: New regression test.
14547
14548 2008-12-11  Tom Tromey  <tromey@redhat.com>
14549
14550         * gdb.base/macscp.exp: Print "address.addr".
14551         * gdb.base/macscp1.c (struct outer): New struct.
14552         (address): New global.
14553
14554 2008-12-09  Tom Tromey  <tromey@redhat.com>
14555
14556         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14557         Call it.
14558
14559 2008-12-04  Doug Evans  <dje@google.com>
14560
14561         * gdb.server/ext-run.exp: Relax regexp for init program.
14562
14563 2008-12-03  Tristan Gingold  <gingold@adacore.com>
14564
14565         * gdb.base/macscp.exp: Generate an object file during compilation
14566         to work around Darwin dsymutil limitations.
14567
14568 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14569
14570         Test resolving external references to TLS variables.
14571         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14572         FILE2_THREAD_LOCAL.
14573         (testfile2, srcfile2): New variables.
14574         * gdb.threads/tls.c (file2_thread_local)
14575         (function_referencing_file2_thread_local): New.
14576         * gdb.threads/tls2.c: New file.
14577
14578 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
14579
14580         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14581         rather than integer, as integer might not be big enough when
14582         on 64bit targets.
14583
14584 2008-11-27  Jerome Guitton  <guitton@adacore.com>
14585
14586         * gdb.cp/formatted-ref.exp: Add equality test.
14587         * gdb.ada/formatted_ref.exp: Ditto.
14588
14589 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14590
14591         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14592         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14593
14594 2008-11-20  Andreas Schwab  <schwab@suse.de>
14595
14596         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14597         matching syscall entry point.
14598         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14599         (tcatch_vfork_then_child_follow): Likewise.  Finish through
14600         vfork even if we stopped at the syscall trampoline.
14601
14602 2008-11-20  Doug Evans  <dje@google.com>
14603
14604         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14605
14606 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14607
14608         * gdb.arch/ppc-dfp.exp: New file.
14609         * gdb.arch/ppc-dfp.c: New file.
14610
14611 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14612
14613         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14614
14615 2008-11-17  Doug Evans  <dje@google.com>
14616
14617         * gdb.mi/mi-syn-frame.exp: Update expected output.
14618         * gdb.mi/mi2-syn-frame.exp: Update expected output.
14619
14620 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
14621
14622         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14623         "thread N" results in =thread-selected.
14624         * lib/mi-support (mi_run_cmd, mi_expect_stop)
14625         (mi_send_resuming_command_raw): Be prepared for
14626         =thread-selected.
14627
14628 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
14629
14630         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14631         * lib/mi-support.exp: Likewise.
14632
14633 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
14634
14635         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14636         commands from the expected output for "help catch".
14637
14638 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
14639
14640         * gdb.ada/int_deref.exp: New testcase.
14641
14642 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
14643
14644         * gdb.mi/gdb2549.exp: New file.
14645
14646 2008-11-11  Doug Evans  <dje@google.com>
14647
14648         * gdb.base/callexit.exp: New file.
14649         * gdb.base/callexit.c: New file.
14650
14651 2008-11-10  Doug Evans  <dje@google.com>
14652
14653         * lib/gdb.exp (GDBFLAGS): Move -nx ...
14654         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
14655         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14656         (default_gdb_start,default_gdb_exit): Ditto.
14657         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14658         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14659         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14660         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14661         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14662         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14663
14664 2008-11-03  Andreas Schwab  <schwab@suse.de>
14665
14666         * gdb.base/hashline2.exp: Fix typo.
14667         * gdb.base/hashline3.exp: Likewise.
14668
14669 2008-10-30  Tom Tromey  <tromey@redhat.com>
14670
14671         * gdb.base/pointers.exp: Add test.
14672         * gdb.base/pointers.c (k, S): New typedefs.
14673         (instance): New global.
14674
14675 2008-10-30  Andreas Schwab  <schwab@suse.de>
14676
14677         * gdb.base/args.exp: Add tests for newlines.
14678
14679 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
14680
14681         gdb.base/foll-exec.exp: Update the expected output of a couple
14682         of "info breakpoints" tests.
14683
14684 2008-10-28  Tom Tromey  <tromey@redhat.com>
14685
14686         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14687
14688 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
14689
14690         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14691         gdb_start_cmd.
14692         Use runto_main before any test that requires execution.
14693
14694 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
14695
14696         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14697         instead of SIGINT.
14698
14699 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
14700
14701         * gdb.base/completion.exp: Update expected output following
14702         the addition of the "info tasks" command.
14703
14704 2008-10-22  Tom Tromey  <tromey@redhat.com>
14705
14706         * gdb.base/exprs.exp (test_expr): Add test for string
14707         concatenation.
14708
14709 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
14710
14711         * configure.ac: Output gdb.python/Makefile.
14712         * configure: Regenerate.
14713         * gdb.python/Makefile.in: New.
14714
14715 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
14716
14717         * gdb.base/foll-fork.exp: Adjust the expected output to match
14718         the new description for fork/vfork catchpoints in the "info
14719         breakpoints" output.
14720
14721 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
14722
14723         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14724
14725 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14726
14727         * gdb.python/python-value.c: New file.
14728         * gdb.python/python-value.exp: New file.
14729
14730 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
14731
14732         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14733
14734 2008-10-15  Denis Pilat  <denis.pilat@st.com>
14735
14736         * gdb.cp/mb-ctor.exp: Fix a typo.
14737
14738 2008-10-09  Tom Tromey  <tromey@redhat.com>
14739
14740         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14741         'fprintf' and 'stderr'.
14742
14743 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
14744
14745         * gdb.ada/ref_tick_size.exp: New testcase.
14746
14747 2008-10-06  Doug Evans  <dje@google.com>
14748
14749         * gdb.dwarf2/dw2-cu-size.exp: New file.
14750         * gdb.dwarf2/dw2-cu-size.S: New file.
14751
14752         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14753         .Ltype_int for clarity.
14754
14755 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14756
14757         PR gdb/2384:
14758         * gdb.cp/gdb2384.exp: Extended to test more cases.
14759         * gdb.cp/gdb2384.cc: Likewise.
14760         * gdb.cp/gdb2384-base.h: Likewise.
14761         * gdb.cp/gdb2384-base.cc: Likewise.
14762
14763 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14764
14765         * gdb.base/maint.exp (maint print type): Remove printing
14766         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14767
14768 2008-09-30  Tom Tromey  <tromey@redhat.com>
14769
14770         * gdb.base/macscp.exp: Add completion tests.
14771         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14772         (TWENTY_THREE): Likewise.
14773         (FORTY_EIGHT): Likewise.
14774
14775 2008-09-30  Tom Tromey  <tromey@redhat.com>
14776
14777         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14778         everywhere.
14779         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14780
14781 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
14782
14783         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14784         testcase is derived from.  Fix racy dependency on an expected PID
14785         number.  No longer support the testcase on Linux kernel 2.4.x.
14786
14787 2008-09-27  Tom Tromey  <tromey@redhat.com>
14788
14789         * gdb.base/macscp.exp: Add tests for stringification, splicing,
14790         and varargs.
14791
14792 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
14793
14794         * lib/mi-support.exp (mi_expect_interrupt): New.
14795         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14796         from gdb.mi/mi-nonstop.exp.
14797         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14798         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14799         lib/mi-support.exp.
14800         Use mi_check_thread_states throughout.  Avoid ".*" and do not
14801         require an anchor after -exec-run.
14802
14803 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
14804
14805         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14806         stop is pending.  Avoid ".*" when two stops are pending.
14807         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14808         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14809         newlines in fullnames.
14810         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14811         (mi_expect_stop): Update comments.  Only anchor in sync mode.
14812         Do not match newlines.
14813         (mi_send_resuming_command_raw): Always return status.
14814         (mi_get_stop_line): Do not match more than one line by accident.
14815         Only anchor in sync mode.
14816         (mi_run_inline_test): If -exec-next fails, give up.
14817
14818 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14819
14820         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14821         on SPU.
14822
14823 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
14824
14825         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14826
14827 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
14828
14829         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14830         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14831         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14832         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14833         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14834         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14835         gdb.ada/interface.exp, gdb.ada/null_array.exp,
14836         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14837         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14838         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14839         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14840         Include the "= " sequence in the expected output of print tests.
14841
14842 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
14843
14844         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14845         description for boolean types.
14846
14847 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
14848
14849         * gdb.base/hook-stop-continue.c: New.
14850         * gdb.base/hook-stop-continue.exp: New.
14851
14852 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
14853
14854         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14855
14856 2008-09-08  Jerome Guitton  <guitton@adacore.com>
14857
14858         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14859         (stack_check_probe_2, stack_check_probe_loop_1)
14860         (stack_check_probe_loop_2): New functions.
14861         (main): Add call to these new functions.
14862         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14863         functions, check that the breakpoint is inserted at the appropriate
14864         location.
14865         (insert_breakpoint): Slightly refine this procedure so that it can
14866         be called several times in the test.
14867
14868 2008-09-08  Jerome Guitton  <guitton@adacore.com>
14869
14870         * gdb.base/stack-checking.c: New file.
14871         * gdb.base/stack-checking.exp: New file.
14872
14873 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14874
14875         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14876         * gdb.arch/altivec-regs.exp: Likewise.
14877         * gdb.arch/vsx-regs.exp: Likewise.
14878
14879 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14880
14881         * gdb.arch/ppc-fp.exp: New file.
14882         * gdb.arch/ppc-fp.c: New file.
14883
14884 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14885
14886         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14887         lest gcc-4.3.1 optimizes the whole thing away.
14888
14889 2008-09-04  Michael Snyder  <msnyder@vmware.com>
14890
14891         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14892         as "at" (for non-debug functions such as _start).
14893
14894 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14895
14896         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14897         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
14898         software watchpoints.
14899         * gdb.base/watch_thread_num.exp: Likewise.
14900
14901 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
14902
14903         * gdb.arch/i386-bp_permanent.exp: New test.
14904
14905 2008-08-24  Tom Tromey  <tromey@redhat.com>
14906
14907         * gdb.base/maint.exp: Update "maint print type".
14908
14909 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
14910
14911         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14912         support.  Adjust the order of "*running" notifications.
14913         * gdb.mi/non-stop.c: Don't cast from int to void* and
14914         back.
14915
14916 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
14917
14918         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14919         expect to find it in the "info frame" output.
14920
14921 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
14922
14923         * gdb.base/interp.exp: Always consume both prompts.
14924
14925 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
14926
14927         * gdb.base/pending.exp: Test pending breakpoints without symbols
14928         loaded.
14929
14930 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
14931
14932         * lib/mi-support.exp (mi_expect_stop): Produce
14933         more details on failures.
14934         * gdb.mi/mi-nonstop.exp: New.
14935         * gdb.mi/non-stop.c: New.
14936
14937 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
14938
14939         * gdb.mi/mi-async.exp: Use 'set target-async'.
14940         * lib/mi-support.exp: Use 'set/show target-async'.
14941
14942 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
14943
14944         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14945
14946 2008-08-17  Tom Tromey  <tromey@redhat.com>
14947
14948         * gdb.base/help.exp (help catch): Rewrite.
14949
14950 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14951
14952         * gdb.base/define.exp: Test indented command documentation.
14953         * gdb.python/python.exp: Test indented multi-line command.
14954
14955 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
14956
14957         * testsuite/gdb.arch/vsx-regs.c: New source file.
14958         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
14959         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
14960
14961 2008-08-14  Tom Tromey  <tromey@redhat.com>
14962
14963         * gdb.base/macscp.exp: Add regression test for "macro define" or
14964         "macro undef" with no arguments.
14965
14966 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14967
14968         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
14969
14970 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14971
14972         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
14973
14974 2008-08-06  Tom Tromey  <tromey@redhat.com>
14975
14976         * gdb.python/python.exp: New file.
14977
14978 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14979
14980         Fix for PR gdb/1543.
14981         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
14982         $LOCATION.
14983         (location): New variable.
14984         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
14985         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
14986         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
14987         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
14988         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
14989         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
14990         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
14991         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
14992         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
14993         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
14994         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
14995         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
14996         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
14997         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
14998         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14999         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15000         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15001         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15002         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15003         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15004         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15005         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15006         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15007         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15008         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15009         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15010         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15011         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15012         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15013         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15014         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15015         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15016         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15017         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15018         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15019         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15020         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15021         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15022         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15023         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15024         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15025         gdb.base/type-opaque.exp, gdb.base/until.exp,
15026         gdb.base/value-double-free.c, gdb.base/varargs.exp,
15027         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15028         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15029         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15030         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15031         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15032         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15033         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15034         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15035         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15036         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15037         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15038         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15039         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15040         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15041         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15042         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15043         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15044         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15045         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15046         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15047         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15048         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15049         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15050         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15051         gdb.pascal/types.exp, gdb.stabs/weird.exp,
15052         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15053         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15054         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15055         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15056         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15057         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15058         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15059         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15060         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15061         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15062         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15063         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15064         lib/mi-support.exp, lib/trace-support.exp: Remove reference
15065         to bug-gdb@prep.ai.mit.edu .
15066
15067 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
15068
15069         * lib/mi-support.exp (mi_load_shlibs): New.
15070         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15071
15072 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
15073
15074         * lib/mi-support.exp (get_mi_thread_list)
15075         (check_mi_and_console_threads): New, moved from ...
15076         * gdb.mi/mi-pthread.exp: ...here.
15077         * gdb.mi/gdb669.exp (get_mi_thread_list)
15078         (check_mi_and_console_threads): Delete.
15079         * gdb.mi/mi2-pthread.exp: Likewise.
15080
15081 2008-07-28  Tom Tromey  <tromey@redhat.com>
15082
15083         * Makefile.in (just-check): Remove.  Move body to...
15084         (check): ... here.
15085
15086 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15087
15088         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15089         Add a test for duplicated SIGINTs.
15090
15091 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15092
15093         * gdb.threads/schedlock.exp (get_args): Update to work for any
15094         value of NUM.
15095         (Top level): Report the number of threads that did not resume.
15096
15097 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15098
15099         * gdb.dwarf2/dw2-compressed.S: Also define __start.
15100
15101 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15102
15103         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15104         non-MI prompt.
15105
15106 2008-07-26  Tom Tromey  <tromey@redhat.com>
15107
15108         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15109         (function_struct, function_struct_ptr): New globals.
15110         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15111         function pointer in a struct.
15112
15113 2008-07-26  Tom Tromey  <tromey@redhat.com>
15114
15115         * gdb.base/macscp.exp: Add test for macro lexing bug.
15116
15117 2008-07-18  Tom Tromey  <tromey@redhat.com>
15118
15119         * gdb.base/macscp.exp: Add macro tests.
15120
15121 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15122
15123         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15124
15125 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15126
15127         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15128
15129 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15130
15131         * gdb.cp/class2.exp: fix for failure on spu-elf
15132
15133 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15134
15135         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15136
15137 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
15138
15139         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15140
15141 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
15142
15143         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15144
15145 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
15146
15147         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15148         of regexp to account for changes made to GDB in the printing of
15149         byte vectors.
15150
15151 2008-07-11  Tom Tromey  <tromey@redhat.com>
15152
15153         * gdb.base/completion.exp: Add 'help' completion test.
15154
15155 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
15156
15157         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15158
15159 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
15160
15161         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15162
15163 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
15164
15165         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15166
15167 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
15168
15169         * gdb.base/fullname.exp: Restore pwd if compiling failed.
15170
15171 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15172
15173         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15174
15175 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
15176
15177         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15178         previous commit.  Add a comment.
15179
15180 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
15181
15182         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15183
15184 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
15185
15186         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15187
15188 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
15189
15190         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15191         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15192         compiling an executable, link in an object that forces unbuffered
15193         output.
15194         * lib/set_unbuffered_mode.c: New file.
15195
15196 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15197
15198         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15199
15200 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
15201
15202         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15203         mi_expect_stop.
15204         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15205         Demand that *running is output.
15206         (detect_async): Perform checking every time.
15207         (mi_send_resuming_command): Extract everything into...
15208         (mi_send_resuming_command_raw): ...this.
15209         (mi_expect_stop): Don't accept any output before *stopped.
15210
15211 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
15212
15213         Robustify mi-simplerun.
15214         * gdb.mi/basics.c (main): Add a call to sleep.
15215         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15216         * gdb.mi/mi2-cli.exp: Likewise.
15217         * gdb.mi/mi-break.exp: Likewise.
15218
15219 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
15220
15221         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15222
15223 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
15224
15225         * gdb.mi/mi-console.exp: Adjust.
15226         * gdb.mi/mi-syn-frame.exp: Adjust.
15227         * gdb.mi/mi2-console.exp: Adjust.
15228         * gdb.mi/mi2-syn-frame.exp: Adjust.
15229         * lib/mi-support.exp (mi_run_cmd): Adjust.
15230         (mi_send_resuming_command): Adjust.
15231
15232 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
15233
15234         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15235         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15236         testing of stopped.
15237         * gdb.mi/mi2-syn-frame.exp: Likewise.
15238         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15239         (async, detect_async): New.
15240         (mi_expect_stop, mi_continue_to_line): Adjust expectation
15241         depending on if we're running in sync or async mode.
15242
15243 2008-06-09  Tom Tromey  <tromey@redhat.com>
15244
15245         * gdb.base/completion.exp: New tests for field name completion
15246         with spaces, and field name completion with '->'.
15247
15248 2008-06-06  Tom Tromey  <tromey@redhat.com>
15249
15250         * gdb.base/break1.c (struct some_struct): New struct.
15251         (values): New global.
15252         * gdb.base/completion.exp: Add field name completion test.
15253
15254 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15255
15256         * gdb.cp/call-c.exp: Test for incorrect handling of reference
15257         to pointer.
15258         * gdb.cp/call-c.cc: Likewise.
15259
15260 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
15261
15262         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15263         annotation.
15264
15265 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15266             Pedro Alves  <pedro@codesourcery.com>
15267
15268         * gdb.threads/execl.c, gdb.threads/execl1.c,
15269         gdb.threads/execl.exp: New tests.
15270
15271 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
15272             Daniel Jacobowitz  <dan@codesourcery.com>
15273
15274         * gdb.cp/exception.exp: Activate test, make it work with pending
15275         catchpoints.
15276
15277 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
15278
15279         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15280
15281 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
15282
15283         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15284         now printed.
15285         * gdb.mi/mi2-var-cmd.exp: Likewise.
15286
15287 2008-05-27  Andreas Schwab  <schwab@suse.de>
15288
15289         * gdb.base/frame-args.exp: Handle arguments that are optimized
15290         out.
15291
15292 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
15293
15294         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15295         quiet for ppc32 and group options into a single variable.
15296
15297 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
15298
15299         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15300         of zero-size elements.
15301         * gdb.ada/null_array.exp: Test printing this new array.
15302
15303 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
15304
15305         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15306
15307 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
15308
15309         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15310         of the "finish" command.
15311
15312 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
15313
15314         * gdb.base/annota1.exp: Test for new annotation.
15315
15316 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
15317
15318         * gdb.base/fixsection.exp: New file.
15319         * gdb.base/fixsection0.c: New file.
15320         * gdb.base/fixsection1.c: New file.
15321
15322 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15323
15324         * gdb.base/annota1.exp: Accept printf@... in place of printf.
15325         * gdb.base/annota3.exp: Likewise.
15326
15327 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
15328
15329         * gdb.base/watch_thread_num.exp: Don't run tests that require
15330         watchpoints if the target doesn't support them.
15331
15332 2008-05-12  Doug Evans  <dje@google.com>
15333
15334         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15335
15336 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
15337
15338         * gdb.ada/assign_1.exp: New testcase.
15339
15340 2008-05-09  Doug Evans  <dje@google.com>
15341
15342         * gdb.base/find.exp: New file.
15343         * gdb.base/find.c: New file.
15344
15345 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
15346
15347         * gdb.base/commands.exp (watchpoint_command_test): Handle
15348         gdb,no_hardware_watchpoints.
15349         * gdb.base/float.exp: Allow ARM targets without floating point.
15350         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15351
15352 2008-05-06  Jerome Guitton  <guitton@adacore.com>
15353             Joel Brobecker  <brobecker@adacore.com>
15354
15355         * gdb.ada/lang_switch: New test program.
15356         * gdb.ada/lang_switch.exp: New testcase.
15357
15358 2008-05-05  Doug Evans  <dje@google.com>
15359
15360         * gdb.base/help.exp (disassemble): Update expected help text.
15361
15362 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
15363
15364         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15365
15366 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
15367
15368         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15369         different times.
15370
15371 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
15372
15373         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15374         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15375         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15376         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15377
15378 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
15379
15380         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15381         notification to appear.
15382
15383 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
15384
15385         * gdb.base/fullname.c: New file.
15386         * gdb.base/fullname.exp: New file.
15387         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15388
15389 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
15390
15391         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15392         expressions with macros.
15393
15394 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
15395
15396         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15397
15398 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
15399
15400         * gdb.base/completion.exp: Handle lack of other symbols beginning
15401         with "a".
15402
15403         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15404
15405 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
15406
15407         * gdb.asm/asmsrc1.s: Add scratch space.
15408
15409 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
15410             Daniel Jacobowitz  <dan@codesourcery.com>
15411
15412         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15413         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15414         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15415
15416 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
15417
15418         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15419
15420 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
15421
15422         * gdb.base/info-target.exp: New testcase.
15423
15424 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
15425
15426         * gdb.cp/hang.exp: Use .cc instead of .C.
15427         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15428         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15429
15430 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
15431
15432         * gdb.base/gdb1250.exp: Remove perror.
15433         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15434
15435 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
15436
15437         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15438         .2byte.
15439
15440 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
15441
15442         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
15443         (maybe_kfail): New.
15444
15445 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
15446
15447         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15448
15449 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
15450
15451         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15452         * gdb.mi/mi2-syn-frame.exp: Likewise.
15453         * lib/mi-support.exp: Likewise.
15454
15455 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
15456
15457         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15458         to specify regexp for the location to stop at.
15459         * gdb.base/break-always.c: New.
15460         * gdb.base/break-always.exp: New.
15461
15462 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
15463
15464         * lib/mi-support.exp (mi_runto_helper): Adjust
15465         for the original-location field.
15466         (mi_create_breakpoint, mi_list_breakpoints): New.
15467         * gdb.mi/mi-break.exp: Adjust.
15468         * gdb.mi/mi2-break.exp: Adjust.
15469         * gdb.mi/mi-pending.exp: Adjust.
15470         * gdb.mi/mi-simplerun.exp: Adjust.
15471         * gdb.mi/mi2-simplerun.exp: Adjust.
15472         * gdb.mi/mi-syn-frame.exp: Adjust.
15473         * gdb.mi/mi2-syn-frame.exp: Adjust.
15474         * gdb.mi/mi-until.exp: Adjust.
15475         * gdb.mi/mi2-until.exp: Adjust.
15476         * gdb.mi/mi-var-display.exp: Adjust.
15477         * gdb.mi/mi2-var-display.exp: Adjust.
15478         * gdb.mi/mi-watch.exp: Adjust.
15479         * gdb.mi/mi2-watch.exp: Adjust.
15480
15481 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
15482
15483         * aclocal.m4: Add override.m4.
15484         * configure: Regenerate.
15485
15486 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
15487
15488         * gdb.mi/var-cmd.c (do_at_tests): Verify that
15489         '-var-update --all-values' reports new value even the type
15490         of a variable object has changed.
15491
15492 2008-04-18  Craig Silverstein  <csilvers@google.com>
15493
15494         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15495         files.
15496
15497 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
15498
15499         * gdb.ada/atomic_enum: New test program.
15500         * gdb.ada/atomic_enum.exp: New testcase.
15501
15502 2008-04-17  Doug Evans  <dje@google.com>
15503
15504         * gdb.opt/Makefile.in: Fix whitespace.
15505
15506 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
15507
15508         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15509
15510 2008-04-17  Doug Evans  <dje@google.com>
15511
15512         * gdb.base/hashline1.exp: New testcase.
15513         * gdb.base/hashline2.exp: New testcase.
15514         * gdb.base/hashline2.exp: New testcase.
15515
15516 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
15517
15518         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15519
15520 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
15521
15522         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15523         temporary breakpoint to match "Temporary breakpoint".
15524         * gdb.base/break.exp (delete_breakpoints): Likewise.
15525         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15526         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15527         * gdb.base/display.exp: Likewise.
15528         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15529         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15530         * gdb.base/restore.exp (restore_tests): Likewise.
15531         * gdb.base/sepdebug.exp: Likewise.
15532         * gdb.base/watchpoint.exp: Likewise.
15533         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15534         * gdb.mi/mi-pending.exp: Likewise.
15535         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15536         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15537         * gdb.mi/mi-var-cmd.exp: Likewise.
15538         * gdb.mi/mi-var-display.exp: Likewise.
15539         * gdb.mi/mi2-cli.exp: Likewise.
15540         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15541         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15542         * gdb.mi/mi2-var-display.exp: Likewise.
15543         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15544         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15545         new "disp" field.
15546         (mi_expect_stop): Move after_reason argument to be really after
15547         reason. This is to support fix for PR2424.
15548
15549 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
15550
15551         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15552
15553 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
15554
15555         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15556         field.  Add more floating varobj tests.
15557         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15558         field.
15559         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15560         (main): Call do_at_tests.
15561         * lib/mi-support.exp (mi_create_floating_varobj)
15562         (mi_varobj_update_with_type_change): New.
15563
15564 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
15565
15566         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15567         option of -var-evaluate-expression.
15568         * gdb.mi/mi2-var-display.exp: Likewise.
15569
15570 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
15571
15572         Introduce test setup helpers.
15573         * lib/gdb.exp (build_executable, clean_restart)
15574         (prepare_for_testing): New.
15575         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15576         * gdb.base/return.exp: Likewise.
15577         * gdb.base/ending-run.exp: Likewise.
15578
15579 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
15580
15581         * gdb.mi/mi-async.exp: New test for asynchronous Machine
15582         Interface (MI) responses.
15583
15584 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
15585
15586         * gdb.cp/breakpoint.cc: New code to test conditions involving
15587         member variables.
15588         * gdb.cp/breakpoint.exp: Test condition involving member
15589         variables.
15590
15591 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
15592
15593         * lib/mi-support.exp (mi_expect_stop): New.
15594         (mi_run_cmd): Change the
15595         token.  Use mi_send_resuming_command, use
15596         mi_expect_stop.
15597         (mi_execute_to_helper): Rename to mi_execute_to.
15598         (mi_send_resuming_command): Add more error patterns.
15599         (mi_wait_for_stop): Renamed to...
15600         (mi_get_stop_line): ...this.
15601         (mi_run_inline_test): Adjust.
15602
15603         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15604         * gdb.mi/mi-console.exp: Likewise.
15605         * gdb.mi/mi-pending.exp: Likewise.
15606         * gdb.mi/mi-simplerun.exp: Likewise.
15607         * gdb.mi/mi-stack.exp: Likewise.
15608         * gdb.mi/mi-stepi.exp: Likewise.
15609         * gdb.mi/mi-syn-frame.exp: Add comment.
15610         * gdb.mi/mi-until.exp: Likewise.
15611         * gdb.mi/mi-var-display.exp: Likewise.
15612         * gdb.mi/mi-watch.exp: Likewise.
15613         * gdb.mi/mi2-cli.exp: Likewise.
15614         * gdb.mi/mi2-console.exp: Likewise.
15615         * gdb.mi/mi2-simplerun.exp: Likewise.
15616         * gdb.mi/mi2-stack.exp: Likewise.
15617         * gdb.mi/mi2-stepi.exp: Likewise.
15618         * gdb.mi/mi2-until.exp: Likewise.
15619         * gdb.mi/mi2-var-display.exp: Likewise.
15620         * gdb.mi/mi2-watch.exp: Likewise.
15621
15622 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15623
15624         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15625
15626         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15627
15628 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
15629
15630         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15631         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15632         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15633         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15634         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15635         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15636         expect an mi error duplicated in stderr.
15637
15638 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
15639
15640         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15641         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15642         Add a couple of tests that verify the behavior when the new setting
15643         is set to "cancel" and "all".
15644         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15645         "ask" before we start the testing.
15646
15647 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
15648
15649         * gdb.cp/casts.cc: Add class reference variables.
15650         * gdb.cp/casts.exp: New test cases for up/down casting references.
15651
15652 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
15653
15654         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15655         instead of beginning to make an extra test pass.
15656         * gdb.mi/mi2-var-display.exp: Likewise.
15657
15658 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
15659
15660         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
15661
15662 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
15663             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15664
15665         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15666         value.  Add xfail for older kernels.
15667
15668 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
15669
15670         Bring mi-support in line with gdb.exp.
15671         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15672         (mi_gdb_start): New function.
15673
15674 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
15675
15676         * gdb.mi/mi-var-cmd.exp: Fix a typo.
15677
15678 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
15679
15680         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15681         * gdb.mi/mi2-var-display.exp: Likewise.
15682
15683 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
15684
15685         * lib/mi-support.exp (mi_create_varobj_checked): New.
15686         (mi_list_varobj_children): Allow to check for a
15687         value.
15688         (mi_list_array_varobj_children): New.
15689
15690         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15691         and mi_list_varobj_children, as opposed to hardcoding
15692         expected strings.
15693         * gdb.mi/gdb701.exp: Likewise.
15694         * gdb.mi/gdb792.exp: Likewise.
15695         * gdb.mi/mi-var-block.exp: Likewise.
15696         * gdb.mi/mi-var-cmd.exp: Likewise.
15697         * gdb.mi/mi-var-invalidate.exp: Likewise.
15698         * gdb.mi/mi2-var-block.exp: Likewise.
15699         * gdb.mi/mi2-var-child.exp: Likewise.
15700         * gdb.mi/mi2-var-cmd.exp: Likewise.
15701         * gdb.mi/mi2-var-display.exp: Likewise.
15702
15703 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
15704
15705         Fix random false FAILs on i386.
15706         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15707
15708 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
15709
15710         PR gdb/544
15711         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15712
15713 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
15714
15715         PR gdb/544
15716         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15717
15718 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15719
15720         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15721         fixed PR gdb/544.
15722
15723 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
15724
15725         * gdb.threads/fork-child-threads.exp: Test next over fork.
15726
15727 2008-03-21  Chris Demetriou  <cgd@google.com>
15728
15729         * gdb.base/break.exp (rbreak junk): New test for rbreak
15730         "Junk at end of arguments" issue.
15731
15732 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15733
15734         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15735         *& to work on created array elements.
15736         (Top level): Test print $pc with a file.  Test string operations
15737         without a target.
15738         * gdb.base/ptype.exp: Do not expect *& to work on created array
15739         elements.
15740
15741 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15742
15743         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15744         gdb.threads/staticthreads.exp: Update exit query.
15745
15746 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
15747
15748         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15749
15750 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
15751
15752         * gdb.base/watchpoint.c (global_ptr, func4): New.
15753         (main): Call func4.
15754         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15755         (test_inaccessible_watchpoint): New.
15756
15757 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
15758
15759         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15760         select the largest.
15761
15762 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
15763
15764         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15765         frames-invalid annotations.
15766
15767 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
15768
15769         * gdb.base/assign.exp: avoid same output for different tests.
15770
15771 2008-02-27  Doug Evans  <dje@google.com>
15772
15773         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15774         for bug 1738.
15775         (breakpoint_to_handler_entry): Ditto.
15776
15777 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
15778
15779         * gdb.base/ending-run.exp: Use the first line of code inside
15780         function body to test breakpoints.
15781         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15782         location where the breakpoint is inserted when using the line
15783         where a function is declared. Fix typo in the description of
15784         one of the tests.
15785         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15786
15787 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
15788
15789         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
15790         tests.
15791
15792 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
15793
15794         * gdb.base/args.exp: avoid same output for tests
15795         with single quotes.
15796
15797 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
15798
15799         * gdb.base/annota1.exp: Adjust for 'info break'
15800         format changes.
15801         * gdb.base/annota3.exp: Likewise.
15802         * gdb.base/break.exp: Likewise.
15803         * gdb.base/condbreak.exp: Likewise.
15804         * gdb.base/pending.exp: Likewise.
15805         * gdb.base/sepdebug.exp: Likewise.
15806         * gdb.base/unload.exp: Likewise.
15807         * gdb.cp/ovldbreak.exp: Likewise.
15808         * gdb.mi/mi-pending.exp: Likewise.
15809
15810 2008-02-07  Doug Evans  <dje@google.com>
15811
15812         * gdb.cp/mb-inline.exp: New.
15813         * gdb.cp/mb-inline.h: New.
15814         * gdb.cp/mb-inline1.cc: New.
15815         * gdb.cp/mb-inline2.cc: New.
15816
15817 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
15818
15819         * gdb.pascal/floats.pas: New test program.
15820         * gdb.pascal/floats.exp: New testcase.
15821
15822 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15823
15824         * gdb.base/callfuncs.c (t_float_many_args): New function.
15825         (t_double_many_args): New function.
15826         * gdb.base/callfuncs.exp: Add tests for exceeding float
15827         and double parameters passed through the stack.
15828
15829 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
15830
15831         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15832         gdb.ada/complete/foo.adb: New files.
15833         * gdb.ada/complete.exp: New testcase.
15834
15835 2008-02-03  Doug Evans  <dje@google.com>
15836
15837         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15838
15839         * gdb.cp/gdb2384.exp: New file.
15840         * gdb.cp/gdb2384.cc: New file.
15841         * gdb.cp/gdb2384-base.h: New file.
15842         * gdb.cp/gdb2384-base.cc: New file.
15843
15844 2008-02-02  Doug Evans  <dje@google.com>
15845
15846         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15847
15848 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
15849
15850         * gdb.ada/sym_print_name: New test program.
15851         * gdb.ada/sym_print_name.exp: New testcase.
15852
15853 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
15854
15855         * gdb.ada/nested/hello.adb: New file.
15856         * gdb.ada/nested.exp: New testcase.
15857         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15858
15859 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
15860
15861         * gdb.mi/basic.c (return_1): New function.
15862         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15863         don't cause future evaluations of function to report
15864         creation of internal breakpoints.
15865
15866 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
15867
15868         * gdb.mi/mi-break.exp (test_error): New.
15869         Call it.
15870
15871 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
15872
15873         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15874         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15875
15876 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
15877
15878         * gdb.pascal/integers.pas: New test program.
15879         * gdb.pascal/integers.exp: New testcase.
15880
15881 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
15882
15883         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15884
15885 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
15886
15887         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15888         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15889
15890 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
15891
15892         * gdb.ada/formatted_ref: New test program.
15893         * gdb.ada/formatted_ref.exp: New testcase.
15894
15895         * gdb.cp/formatted-ref.cc: New file.
15896         * gdb.cp/formatted-ref.exp: New testcase.
15897
15898 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
15899
15900         * gdb.base/ptype.exp: Add testing of "ptype $pc".
15901
15902 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
15903
15904         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15905         (test_file_list_exec_source_file): Update to new macro-info field.
15906
15907 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
15908
15909         * gdb.ada/exprs: New test program.
15910         * gdb.ada/exprs.exp: New testcase.
15911
15912 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15913
15914         * dfp-test.c (DELTA, DELTA_B): New definitions.
15915         (double_val1, double_val2, double_val3, double_val4, double_val5,
15916         double_val6, double_val7, double_val8, double_val9, double_val10,
15917         double_val11, double_val12, double_val13, double_val14, dec32_val1,
15918         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15919         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15920         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15921         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15922         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15923         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15924         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15925         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15926         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15927         dec128_val16): New global variables.
15928         (decimal_dec128_align): New function.
15929         (decimal_mixed): Likewise.
15930         (decimal_many_args_dec32): Likewise.
15931         (decimal_many_args_dec64): Likewise.
15932         (decimal_many_args_dec128): Likewise.
15933         (decimal_many_args_mixed): Likewise.
15934         * dfp-test.exp: Add tests calling new inferior functions.
15935
15936 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
15937
15938         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15939         gdb.server/ext-run.exp: New files.
15940         * lib/gdbserver-support.exp (gdbserver_download): New.
15941         (gdbserver_start): New.  Update gdbserver expected
15942         output.
15943         (gdbserver_spawn): Use them.
15944         (gdbserver_start_extended): New.
15945
15946 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
15947
15948         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
15949         Run on GNU/Linux.
15950         (do_exec_tests): Check for systems which do not support catchpoints.
15951         Do not match START.
15952         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
15953         Run on GNU/Linux.  Enable verbose output.
15954         (check_fork_catchpoints): New.
15955         (explicit_fork_child_follow, catch_fork_child_follow)
15956         (tcatch_fork_parent_follow): Update expected messages.
15957         (do_fork_tests): Use check_fork_catchpoints.
15958         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
15959         Run on GNU/Linux.  Enable verbose output.
15960         (check_vfork_catchpoints): New.
15961         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
15962         expected messages.
15963         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
15964
15965 2008-01-29  Jim Blandy  <jimb@red-bean.com>
15966
15967         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
15968         host' errors.
15969         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
15970
15971 2008-01-29  Jim Blandy  <jimb@red-bean.com>
15972
15973         * gdb.threads/sigthread.c: Use barriers to ensure that
15974         child_thread and child_thread_two are always initialized before we
15975         start to use them.
15976
15977 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
15978
15979         * gdb.base/watchpoint-solib.exp: New.
15980         * gdb.base/watchpoint-solib.c: New.
15981         * gdb.base/watchpoint-solib-shr.c: New.
15982
15983 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
15984
15985         * gdb.base/gdb1056.exp: Add unsigned integer test.
15986
15987 2008-01-28  Doug Evans  <dje@google.com>
15988
15989         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
15990
15991 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
15992
15993         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
15994
15995         * gdb.base/expand-psymtabs.exp: Doc fix.
15996
15997 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
15998
15999         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16000
16001 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
16002
16003         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16004         -var-set-format.
16005
16006 2008-01-23  Chris Demetriou  <cgd@google.com>
16007
16008         * gdb.threads/thread_events.c: New testcase source file.
16009         * gdb.threads/thread_events.exp: New testcase expect file.
16010
16011 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
16012
16013         * lib/gdb.exp: Add the variable octal.
16014
16015         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16016         -var-set-format.
16017
16018 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
16019             Vladimir Prus  <vladimir@codesourcery.com>
16020
16021         * gdb.base/float.exp: Allow missing floating point for m68k and
16022         PowerPC.
16023
16024 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
16025
16026         * gdb.mi/basics.c: Setup for testing breakpoints
16027         ignore count.
16028         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16029         * gdb.mi/mi-cli.exp: Adjust.
16030         * gdb.mi/mi2-cli.exp: Adjust.
16031
16032 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
16033
16034         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16035         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
16036         with dummy_ptr's address.
16037         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16038         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16039         all targets.
16040         * gdb.mi/mi2-var-child.exp: Likewise.
16041
16042 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
16043
16044         * gdb.ada/null_array: New test program.
16045         * gdb.ada/null_array.exp: New testcase.
16046
16047 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
16048
16049         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16050         with required float modifiers.
16051
16052 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
16053
16054         * gdb.ada/funcall_param: New test program.
16055         * gdb.ada/funcall_param.exp: New testcase.
16056
16057 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
16058
16059         * gdb.ada/arrayparam: New test program.
16060         * gdb.ada/arrayparam.exp: New testcase.
16061
16062 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
16063
16064         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16065         landed.  Should also fix random failures in the test following it.
16066
16067 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16068
16069         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16070         for expressions with decimal float values.
16071         (test_dfp_conversions): New function to test casts to and from
16072         decimal float types.
16073         Call test_dfp_conversions.
16074         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16075         elements.
16076         (main): Initialize ds.float4 and ds.double8 elements.
16077         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
16078         string to new error message.
16079         (d64_set_tests): Likewise.
16080         (d128_set_tests): Likewise.
16081         Add tests for expressions with decimal float variables.  Add tests for
16082         conversions to and from decimal float types.
16083
16084 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
16085
16086         * gdb.ada/packed_tagged/comp_bug.adb: New file.
16087         * gdb.ada/packed_tagged.exp: New testcase.
16088
16089 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16090
16091         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16092         gdb.ada/homonym/homonym_main.adb: New files.
16093         * gdb.ada/homonym.exp: New testcase.
16094
16095 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16096
16097         * gdb.ada/packed_array.exp: Add testing of references to
16098         a packed array.
16099
16100 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16101
16102         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16103         New files.
16104         * gdb.ada/type_coercion.exp: New testcase.
16105
16106 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16107
16108         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16109         gdb.ada/tagged/foo.adb: New file.
16110         * gdb.ada/tagged.exp: New testcase.
16111
16112 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16113
16114         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16115         gdb.ada/ptype_field/foo.adb: New files.
16116         * gdb.ada/ptype_field.exp: New testcase.
16117
16118 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16119
16120         * gdb.ada/print_pc.exp: New testcase.
16121
16122 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16123
16124         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16125         gdb.ada/taft_type/p.adb: New files.
16126         * gdb.ada/taft_type.exp: New testcase.
16127
16128 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16129
16130         * gdb.ada/array_bounds/bar.adb: New file.
16131         * gdb.ada/array_bounds.exp: New testcase.
16132
16133 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16134
16135         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16136         gdb.ada/arrayptr/foo.adb: New files.
16137         * gdb.ada/arrayptr.exp: New testcase.
16138
16139 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16140
16141         * gdb.base/set-lang-auto.exp: New testcase.
16142
16143 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16144
16145         * gdb.ada/fun_addr/foo.adb: New file.
16146         * gdb.ada/fun_addr.exp: New testcase.
16147
16148 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16149
16150         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16151         New files
16152
16153 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
16154
16155         * array_subscript_addr/p.adb: New file.
16156         * array_subscript_addr.exp: New testcase.
16157
16158 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
16159
16160         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16161         New files.
16162         * gdb.ada/str_cmp_ref.exp: New testcase.
16163
16164 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
16165
16166         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16167         gdb.ada/fun_in_declare/foo.adb: New files.
16168         * gdb.ada/fun_in_declare.exp: New testcase.
16169
16170 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
16171
16172         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16173         gdb.ada/ref_param/pck.ads: New files.
16174         * gdb.ada/ref_param.exp: New testcase.
16175
16176 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
16177
16178         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16179         gdb.ada/interface/foo.adb: New files.
16180         * gdb.ada/interface.exp: New testcase.
16181
16182 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
16183
16184         * gdb.base/multi-forks.exp: Consume all output from child
16185         processes before proceeding to next test.
16186
16187 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
16188
16189         * configure: Regenerated.
16190
16191 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
16192
16193         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16194         gdb.ada/fixed_cmp/fixed.adb: New files.
16195         * gdb.ada/fixed_cmp.exp: New testcase.
16196
16197 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
16198
16199         * gdb.ada/boolean_expr.exp: New testcase.
16200
16201 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
16202
16203         * gdb.base/multi-forks.exp: Doc fix.
16204
16205 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
16206
16207         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16208         * gdb.ada/char_param.exp: Do not compile our test program with
16209         -gnata, this is unnecessary.
16210         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16211
16212 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
16213
16214         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16215         gdb.ada/print_chars/foo.adb: New files.
16216         * gdb.ada/print_chars.exp: New testcase.
16217
16218 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
16219
16220         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16221         gdb.ada/char_param/foo.adb: New files.
16222         * gdb.ada/char_param.exp: New testcase.
16223
16224 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
16225
16226         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16227         hard-coding source line numbers into the test.
16228         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16229         gdb_get_line_number to find.
16230
16231 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
16232
16233         * gdb.base/ptype.c (highest): New struct type.
16234         (the_highest): New variable of that type.
16235         (main): Add dummy assignment to a field of variable the_highest.
16236         * gdb.base/ptype.exp: Test type printing of our new variable.
16237
16238 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
16239
16240         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16241         and record first explicitly generated thread number.
16242         Use that thread number for thread specific watchpoint test.
16243         Add iteration number to repetitive tests.
16244
16245 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16246             Jim Blandy  <jimb@codesourcery.com>
16247
16248         * gdb.base/expand-psymtabs.c: New testcase
16249         source file.
16250         * gdb.base/expand-psymtabs.exp: New testcase
16251         expect file.
16252
16253 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
16254
16255         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16256         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16257
16258 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
16259
16260         * gdb.ada/frame_args/foo.adb: New file.
16261         * gdb.ada/frame_args/pck.ads: New file.
16262         * gdb.ada/frame_args/pck.adb: New file.
16263         * gdb.ada/frame_args.exp: New testcase.
16264
16265 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
16266
16267         * gdb.base/frame-args.c: New file.
16268         * gdb.base/frame-args.exp: New testcase.
16269
16270 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
16271             Joseph Myers  <joseph@codesourcery.com>
16272
16273         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16274
16275 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
16276
16277         * gdb.mi/mi-pending.exp: New.
16278         * gdb.mi/mi-pending.c: New.
16279         * gdb.mi/mi-pendshr.c: New.
16280
16281 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
16282
16283         * gdb.base/default.exp: Update expected output for 'info catch'.
16284
16285 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
16286
16287         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16288         must be set to binary.
16289
16290 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
16291
16292         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16293
16294 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
16295
16296         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16297         gdb.mi/mi-file-transfer.exp: New.
16298
16299 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
16300
16301         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16302
16303 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
16304
16305         * gdb.trace/backtrace.exp: Fix a typo.
16306         * gdb.trace/circ.exp: Likewise.
16307         * gdb.trace/collection.exp: Likewise.
16308         * gdb.trace/limits.exp: Likewise.
16309         * gdb.trace/report.exp: Likewise.
16310         * gdb.trace/tfind.exp: Likewise.
16311         * gdb.trace/while-dyn.exp: Likewise.
16312
16313 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
16314
16315         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16316         objects of pointers that can't be dereferenced are now
16317         "noneditable".
16318
16319 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16320
16321         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16322         (target_cpu): Remove.
16323
16324 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
16325
16326         * gdb.base/ending-run.exp: Expect the list of cleared
16327         breakpoint to come in natural order, not the reversed one.
16328
16329 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
16330
16331         * gdb.mi/mi-var-child.c (do_child_deletion): New.
16332         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16333
16334 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
16335
16336         * gdb.base/printcmds.exp: New function
16337         test_printf_with_dfp.
16338
16339 2007-11-02  Doug Evans  <dje@google.com>
16340
16341         * gdb.disasm/t01_mov.s: Remove carriage returns.
16342         * gdb.disasm/t02_mova.s: Ditto.
16343         * gdb.disasm/t03_add.s: Ditto.
16344         * gdb.disasm/t04_sub.s: Ditto.
16345         * gdb.disasm/t05_cmp.s: Ditto.
16346         * gdb.disasm/t06_ari2.s: Ditto.
16347         * gdb.disasm/t07_ari3.s: Ditto.
16348         * gdb.disasm/t08_or.s: Ditto.
16349         * gdb.disasm/t09_xor.s: Ditto.
16350         * gdb.disasm/t10_and.s: Ditto.
16351         * gdb.disasm/t11_logs.s: Ditto.
16352         * gdb.disasm/t12_bit.s: Ditto.
16353         * gdb.disasm/t13_otr.s: Ditto.
16354
16355 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
16356
16357         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16358
16359 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16360
16361         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16362         provide DFP support.
16363
16364 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
16365
16366         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16367         Test "set powerpc vector-abi".  Skip auto-detection tests for old
16368         toolchains.
16369
16370 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
16371
16372         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16373         with [string compare].
16374
16375 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
16376
16377         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16378         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16379
16380 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
16381
16382         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16383         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16384         * gdb.opt/Makefile.in: New makefile.
16385         * Makefile.in: Create new directory "gdb.opt".
16386         * configure.ac: Add "gdb.opt" directory.
16387         * configure: Regenerated.
16388
16389 2007-10-25  Doug Evans  <dje@google.com>
16390
16391         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16392         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16393
16394 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
16395             Thiago Jung Bauermann  <bauerman@br.ibm.com>
16396
16397         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16398         Floating Point expressions.
16399         * gdb.base/dfp-test.exp: new file adding tests for Decimal
16400         Floating Point variables.
16401         * gdb.base/dfp-test.c: new file containing program with Decimal
16402         Floating variables, used by gdb.base/dfp-test.exp.
16403
16404 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
16405
16406         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16407
16408 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16409
16410         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16411         compiling test case with GCC.
16412         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16413
16414 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16415
16416         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16417         format changes.
16418
16419 2007-10-18  Michael Snyder  <msnyder@specifix.com>
16420
16421         * gdb.base/dbx.exp: Add missing "-re " operator.
16422
16423 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
16424
16425         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16426         * configure.ac: Removed trailing spaces after backslash.
16427         * gdb.modula2: New directory.
16428         * gdb.modula2/Makefile.in: New file.
16429         * gdb.modula2/unbounded-array.exp: New file.
16430         * gdb.modula2/unbounded1.c: New file.
16431
16432 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
16433
16434         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16435
16436 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
16437
16438         * gdb.base/sigstep.c (main): Add checks for
16439         return values for setitimer call.
16440         Call setitimer again with itimer = ITIMER_REAL
16441         if first call to setitimer fails.
16442
16443 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
16444
16445         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16446         of $timeout.
16447
16448 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
16449
16450         * gdb.server/server-run.exp: Test for dynamic linker symbols.
16451
16452 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
16453
16454         * lib/gdb.exp (gdb_run_cmd): Move comment outside
16455         of gdb_expect call, to avoid interruption.
16456
16457 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
16458
16459         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16460         (v_unsigned_long_long, v_long_long_array)
16461         (v_signed_long_long_array, v_unsigned_long_long_array)
16462         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16463         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16464         [!NO_LONG_LONG]: New.
16465         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16466         v_long_long_member.
16467
16468         (v_long_long_func, v_signed_long_long_func)
16469         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16470         (main) [!NO_LONG_LONG]: Initialize long long variants.
16471
16472         * gdb.base/whatis.exp: If board file requests no_long_long, build
16473         test with NO_LONG_LONG defined.  Test long long, signed long long,
16474         and unsigned long long variants but only if board file doesn't
16475         disable it.
16476
16477 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
16478             Daniel Jacobowitz  <dan@codesourcery.com>
16479
16480         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16481         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16482         * configure: Regenerated.
16483         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16484         gdb.pascal/types.exp, lib/pascal.exp: New files.
16485
16486 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
16487
16488         * gdb.cp/classes.exp (do_tests): Always step to the line after the
16489         call.
16490         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16491         to return to the call.
16492         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16493         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16494         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16495         * gdb.mi/mi-until.exp (test_until): Likewise.
16496         * gdb.mi/mi2-until.exp (test_until): Likewise.
16497
16498 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
16499
16500         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16501         two-char array.
16502         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16503
16504 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
16505
16506         * gdb.threads/watchthreads.c (thread_function): Sleep between
16507         iterations.
16508         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16509         at once for S/390.  Generate matching fails and passes.
16510
16511 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
16512
16513         * gdb.mi/var-cmd.c (do_children_tests): Initialize
16514         the 'struct_declarations' variable to zeros.
16515
16516 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
16517
16518         * gdb.cp/mb-ctor.cc: New.
16519         * gdb.cp/mb-ctor.exp: New.
16520         * gdb.cp/mb-templates.cc: New.
16521         * gdb.cp/mb-templates.exp: New.
16522
16523 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
16524
16525         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16526
16527 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
16528
16529         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16530         targets.
16531         * configure: Regenerate.
16532
16533 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
16534
16535         * gdb.base/annota1.exp: Adjust for 'info break'
16536         format changes.
16537         * gdb.base/annota3.exp: Likewise.
16538         * gdb.base/break.exp: Likewise.
16539         * gdb.base/condbreak.exp: Likewise.
16540         * gdb.base/pending.exp: Likewise.
16541         * gdb.base/sepdebug.exp: Likewise.
16542         * gdb.base/unload.exp: Likewise.
16543         * gdb.base/ovldbreak.exp: Likewise.
16544
16545 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
16546
16547         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16548         messages.
16549         * gdb.base/chng-syms.exp: Likewise.
16550         * gdb.base/unload.exp: Likewise.
16551
16552 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
16553
16554         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16555
16556 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
16557
16558         * schedlock.c (NUM): Change to 1.
16559         (main): Use args[0] for the main thread.
16560         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
16561         regardless of the number of threads.
16562
16563 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
16564
16565         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16566         type down.
16567         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16568         test.
16569         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16570         watchpoint type down.
16571         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16572         test.
16573
16574 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
16575
16576         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16577         Move all the tests here and run them twice, once using software
16578         watchpoints and once using hardware watchpoints.
16579         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16580
16581 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
16582
16583         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16584         test.
16585
16586 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
16587
16588         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16589         build-id.
16590
16591         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16592         know about $ORIGIN.  Calculate output dir from $dest instead of
16593         using ${objdir}/{$subdir}.
16594
16595 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
16596
16597         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16598         gcore, before continuing with the test.
16599
16600 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
16601
16602         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16603         * gdb.mi/mi-watch.exp: Likewise.
16604
16605 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
16606             Jim Blandy  <jimb@codesourcery.com>
16607
16608         * gdb.arch/i386-sse.exp: Do not expect character constants.
16609         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16610         * gdb.base/display.exp: Allow print/s.
16611         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16612         and unsigned char array changes.
16613
16614 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
16615
16616         * gdb.base/display.exp: Add tests for printf %p.
16617
16618 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
16619
16620         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16621         the dll name to unicode.
16622
16623 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
16624
16625         * gdb.base/default.exp (show version): Update the version text.
16626         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16627
16628 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16629
16630         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16631         New files.
16632
16633 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
16634
16635         * lib/gdb.exp (build_id_debug_filename_get): New function.
16636         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16637         Remove the generate DEBUG file for the future testcase runs.
16638         New testcase for the NT_GNU_BUILD_ID retrieval.
16639         Move the final testing step to ...
16640         (test_different_dir): ... a new function.
16641         New parameter XFAIL to XFAIL all the tests performed.
16642         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16643         New parameter TYPE to PF_PREFIX all the tests performed.
16644
16645 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
16646
16647         * gdb.mi/mi-var-cp.cc (path_expression): New
16648         function.
16649         * gdb.mi/mi-var-cp.exp: Run path exression tests.
16650
16651 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
16652
16653         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16654         to fit into SPU Local Store memory.
16655
16656 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16657
16658         * gdb.base/default.exp: Adjust the expected output of "info
16659         warranty" after the switch to GPLv3.
16660
16661 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16662
16663         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16664         to 30000 (from 20000).
16665
16666 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16667
16668         Switch the license of all .exp files to GPLv3.
16669         Switch the license of all .f and .f90 files to GPLv3.
16670         Switch the license of all .s and .S files to GPLv3.
16671
16672 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16673
16674         * configure.ac: Switch license to GPLv3.
16675
16676 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16677
16678         Switch the licensing to GPLv3 for all .ads and .adb files.
16679
16680 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
16681
16682         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16683         and t_int_double.
16684         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16685
16686 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
16687
16688         * gdb.base/step-line.c: Switch license to GPL version 3, and
16689         update copyright year.
16690         * gdb.base/step-line.inp: Likewise.
16691
16692 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
16693
16694         * gdb.base/gdb1555.exp: Make expected output immune to formatting
16695         changes inside gdb1555.c.
16696         * gdb.base/pending.exp: Likewise.
16697
16698 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
16699
16700         * config/default.exp: New file.
16701
16702 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
16703
16704         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16705         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16706
16707 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
16708
16709         * gdb.base/dump.exp: Force the correct endianness for binary
16710         formats not carrying this information.
16711
16712 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
16713
16714         * gdb.threads/staticthreads.exp: Match .*sem_post.
16715
16716 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
16717
16718         * gdb.base/readline.exp (operate_and_get_next): Match the final
16719         prompt.
16720
16721 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
16722
16723         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16724         to restarting SID.
16725
16726 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
16727
16728         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16729         prior to `gdb_start'.
16730
16731 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
16732
16733         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
16734         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16735         Remove call to gdb_unload.
16736
16737 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
16738             Daniel Jacobowitz  <dan@codesourcery.com>
16739
16740         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16741         for __WIN32__.
16742         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
16743         * gdb.base/unload.exp: Use shared library test routines.
16744
16745 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
16746
16747         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16748         * gdb.base/solib-symbol-lib.c: Likewise.
16749         * gdb.base/solib-symbol-main.c: Likewise.
16750
16751 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
16752
16753         * config/gdbserver.exp (gdb_reconnect): New.
16754         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16755         gdb.base/solib-disc.exp: New files.
16756         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16757         remote debugging".
16758         (gdb_compile): Add shlib_load flag.
16759         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16760         port.
16761         (gdbserver_reconnect): New.
16762
16763 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
16764             Daniel Jacobowitz  <dan@codesourcery.com>
16765
16766         * gdb.base/annota3.exp: Test for if construct.
16767
16768 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
16769
16770         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16771
16772 2007-06-21  Chris Dearman  <chris@mips.com>
16773             Maciej W. Rozycki  <macro@mips.com>
16774
16775         * gdb.base/display.exp: Allow a newline after display/i.
16776         * gdb.base/pc-fp.exp: Likewise.
16777         * gdb.base/sigbpt.exp: Likewise.
16778
16779 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
16780
16781         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
16782         required features to be included.
16783
16784 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
16785
16786         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16787         in info threads output.
16788
16789 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16790             Markus Deuling  <deuling@de.ibm.com>
16791
16792         * gdb.arch/spu-info.exp: New testcase.
16793         * gdb.arch/spu-info.c: New file.
16794
16795 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
16796
16797         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16798         tpcs_offset.  Restore lr after the call.
16799         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16800
16801 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
16802
16803         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16804         (gdbserver_run): Kill any running gdbserver.
16805         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16806
16807 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
16808
16809         * gdb.base/sigbpt.exp: Preset segv_addr.
16810
16811 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
16812
16813         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16814         (gdb_compile_shlib): Likewise.
16815         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16816         (default_gdb_init): Clear cleanfiles.
16817         (gdb_finish): Delete recorded cleanfiles.
16818         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16819
16820         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16821         Do not use isnative.
16822         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16823         gdb.base/so-impl-ld.exp: Likewise.
16824         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
16825         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
16826         gdb_compile.
16827
16828 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
16829
16830         * config/unknown.exp: Remove.
16831
16832 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
16833
16834         * gdb.base/info-proc.exp: Check is_remote.
16835
16836 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
16837
16838         * gdb.base/gcore.exp: Initialize variable core_supported.
16839
16840 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
16841
16842         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16843
16844 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
16845
16846         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16847         * gdb.threads/print-threads.exp (test_all_threads): Allow
16848         negative and hexadecimal thread IDs.
16849
16850 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
16851
16852         * gdb.java/jprint.java (public): Avoid invalid call to static
16853         method.
16854
16855 2007-05-14  Denis Pilat  <denis.pilat@st.com>
16856
16857         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16858         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16859         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16860         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16861         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16862
16863 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16864
16865         * gdb.base/overlays.exp: Add support for targets with only code
16866         overlay support, not data overlay.  Support spu-*-* target in
16867         this mode.
16868         * gdb.base/ovlymgr.c: Provide stubs for spu target.
16869         * gdb.base/spu.ld: New file.
16870
16871 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
16872
16873         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16874
16875 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
16876
16877         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16878
16879 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
16880
16881         * gdb.java/jmain.exp: Handle demangled names with and without method
16882         signatures.
16883
16884 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
16885
16886         * gdb.mi/mi-syn-frame.c (main, foo, bar)
16887         (have_a_very_merry_interrupt): Remove calls to puts.
16888         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16889         inferior output.
16890         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
16891         test names.
16892
16893 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
16894             Daniel Jacobowitz  <dan@codesourcery.com>
16895
16896         * gdb.base/auxv.exp (core_works): Also check is_remote.
16897         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16898
16899 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
16900
16901         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16902         message, not the undefined 'module' variable.
16903         * gdb.base/siginfo.exp: Likewise.
16904         * gdb.base/sigstep.exp: Likewise.
16905         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16906         serialport.
16907         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16908
16909 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
16910
16911         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16912         target sim fails.  Return 0 otherwise.
16913         (gdb_load): Return prematurely if gdb_target_sim fails.
16914
16915 2007-04-16  Denis Pilat  <denis.pilat@st.com>
16916
16917         * gdb.base/setshow.exp: Reset height after having set it to 100.
16918
16919 2007-04-16  Denis Pilat  <denis.pilat@st.com>
16920
16921         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16922
16923 2007-04-16  Denis Pilat  <denis.pilat@st.com>
16924
16925         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16926
16927 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
16928
16929         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16930         tests. Run the frozen varobjs test.
16931         * gdb.mi/var-cmd.c (do_frozen_tests): New.
16932         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
16933
16934 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16935
16936         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16937         gdb.base/type-opaque.exp: New files.
16938
16939 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
16940
16941         * gdb.mi/mi-var-child.c
16942         (do_children_tests): User char[2] instead of
16943         char so that automatic printing of pointers to char
16944         don't give unpredicable result.
16945         * gdb.mi/var-cmd.c (do_locals_test): Initialize
16946         local variables.
16947         * gdb.mi/mi-var-child.exp: Step to right line
16948         of do_children_tests.
16949         * gdb.mi/mi2-var-child.exp: Likewise.
16950         * gdb.mi/mi-var-cmd.exp: Step to right line of
16951         do_locals_tests.
16952         (do_children_tests): User char[2] instead of
16953         char so that automatic printing of pointers to char
16954         don't give unpredicable result.
16955         * gdb.mi/mi2-var-cmd.exp: Likewise.
16956         * lib/mi-support.exp (mi_continue_to_line):
16957         Pass test name to mi_wait_for_stop.
16958
16959 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
16960
16961         * gdb.asm/asm-source.exp: Remove d10v case.
16962         * lib/gdb.exp (skip_cplus_tests): Likewise.
16963         * gdb.asm/d10v.inc: Deleted.
16964
16965 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
16966
16967         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
16968
16969 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
16970
16971         * config/netware.exp: Delete file.
16972
16973 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
16974
16975         * gdb.dwarf2/dw2-noloc.S: New file.
16976         * gdb.dwarf2/dw2-noloc.exp: New file.
16977
16978 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
16979
16980         * gdb.cp/method2.cc: New test.
16981         * gdb.cp/method2.exp: New test.
16982         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
16983
16984 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
16985
16986         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
16987
16988 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
16989
16990         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
16991
16992 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
16993
16994         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
16995         (gdb_load): Delete, replace with...
16996         (gdb_reload): ...this.
16997         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
16998         * gdb.server/server-mon.exp: Likewise.
16999         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17000         (gdb_start_cmd): New.
17001         (gdb_file_cmd): Save the last loaded file.
17002         (gdb_reload): New.
17003         (gdb_gnu_strip_debug): Use transform.
17004         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17005         support here.  Use new $last_loaded_file.  Check mtime.
17006         (gdb_target_cmd): Handle ObjC failure case.
17007         (infer_host_exec): Delete.
17008         (gdbserver_load): Rename to...
17009         (gdbserver_run): ...this.  Simplify.
17010         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17011         (mi_gdb_load): Move most contents to a new function...
17012         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
17013         (mi_run_cmd): Use mi_gdb_target_load.
17014         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17015         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17016         Use gdb_run_cmd.
17017         * gdb.base/charsign.exp: Remove incorrect comment.
17018         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17019         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17020         gdb.base/start.exp: Use gdb_start_cmd.
17021
17022 2007-03-23  Nigel Stephens  <nigel@mips.com>
17023             Maciej W. Rozycki  <macro@mips.com>
17024
17025         * gdb.base/sigbpt.exp: Fix the message when skipping test.
17026         * gdb.base/signull.exp: Similarly.
17027
17028 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17029
17030         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17031         messages available to test cases (like chng-sym.exp).
17032
17033 2007-03-14  Andreas Schwab  <schwab@suse.de>
17034
17035         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17036         format changes.
17037
17038 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
17039
17040         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17041         (optimized_1): New.
17042         (main): Call optimized_1.
17043         (gdb2029): Correct typos.  Call gdb2029_marker.
17044         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
17045         for gdb2029.
17046
17047 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
17048
17049         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17050         as tabs.  Remove redundant test pattern.
17051
17052 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17053
17054         * gdb.base/long_long.exp: Accept optional symbol name in <...>
17055         for /a format output.
17056
17057 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
17058
17059         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17060         collect output incrementally.
17061
17062 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17063
17064         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17065         for -var-create lpcharacter test.
17066         * gdb.mi/mi2-var-cmd.exp: Likewise.
17067
17068 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17069
17070         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17071         pass on targets where address zero is readable.
17072
17073 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17074
17075         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17076         just a single architecture.
17077
17078 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17079
17080         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17081         (fetch_all_registers): New function, uses gdb_test_multiple and
17082         exp_continue to fetch inferior output line-by-line.
17083         Replace all uses of do_get_all_registers by fetch_all_registers.
17084
17085 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17086
17087         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17088         in target_info.
17089
17090 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
17091
17092         * gdb.threads/manythreads.exp: Use $message string for
17093         consistancy; add a default (timeout) case.
17094
17095 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
17096
17097         * gdb.base/watchpoint.exp: Fix truncated comment.
17098
17099 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
17100
17101         * Makefile.in: Remove spurious single-quotes from sed command.
17102
17103 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
17104
17105         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
17106         func.
17107         * gdb.mi/mi2-var-cmd.exp: Likewise.
17108
17109 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
17110
17111         * gdb.dwarf2/dw2-producer.S: New file.
17112         * gdb.dwarf2/dw2-producer.exp: New testcase.
17113
17114 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
17115
17116         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17117         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17118         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17119         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17120         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17121         Revert tests to use mi_gdb_test and include value field in output
17122         of -var-create.
17123
17124 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
17125
17126         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17127
17128 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
17129
17130         * gdb.base/maint.exp: Remove full paths from test names.
17131         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17132         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17133
17134 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
17135
17136         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17137
17138 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
17139
17140         * gdb.server/server-mon.exp: New test.
17141
17142 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
17143
17144         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17145
17146 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
17147
17148         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17149         register capitalization.
17150
17151 2007-02-13  Denis Pilat  <denis.pilat@st.com>
17152
17153         * gdb.mi/mi-var-invalidate.exp: New file.
17154
17155 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
17156
17157         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17158
17159 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
17160
17161         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17162
17163 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
17164
17165         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17166         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17167
17168 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
17169
17170         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17171         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17172         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17173         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17174         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17175         * gdb.mi/gdb792.exp, lib/mi-support.exp:
17176         Update tests to include value field in output of -var-create.
17177
17178 2007-02-08  Andreas Schwab  <schwab@suse.de>
17179
17180         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17181
17182 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
17183
17184         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17185         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17186
17187 2007-02-02  Denis Pilat  <denis.pilat@st.com>
17188
17189         * gdb.threads/threadapply.exp: check that frame is not changed by
17190         the thread apply all command.
17191
17192 2007-01-31  Andreas Schwab  <schwab@suse.de>
17193
17194         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17195
17196         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17197         in the dwarf sections.
17198         * gdb.dwarf2/mac-fileno.S: Likewise.
17199
17200         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17201         bspstore register on ia64.
17202
17203 2007-01-29  Andreas Schwab  <schwab@suse.de>
17204
17205         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17206         "frame-begin" annotation.
17207
17208         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17209         number of "frames-invalid" annotations.
17210
17211 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
17212
17213         * gdb.base/commands.exp: Call if_commands_test.
17214         (gdb_test_no_prompt, if_commands_test): New.
17215
17216 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
17217
17218         * gdb.threads/sigthread.c (NSIGS): Make bigger.
17219
17220 2007-01-27  Andreas Schwab  <schwab@suse.de>
17221
17222         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17223         .short/.int/.quad in the dwarf sections.
17224         * gdb.dwarf2/dw2-intercu.S: Likewise.
17225         * gdb.dwarf2/dw2-intermix.S: Likewise.
17226
17227 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
17228
17229         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17230         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17231         array.
17232         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17233         * gdb.base/setvar.exp: Likewise.
17234
17235 2007-01-26  Andreas Schwab  <schwab@suse.de>
17236
17237         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17238         test.
17239
17240         * gdb.base/multi-forks.exp ("restart $i"): Also match
17241         __kernel_syscall_via_break.
17242
17243 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
17244
17245         * lib/mi-support.exp (mi_delete_varobj): New.
17246         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17247         testcase.
17248         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17249         (main): Call the above.
17250         (reference_update_test, base_in_reference_test)
17251         (reference_to_pointer): Delete the created varobjs.
17252
17253 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
17254
17255         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17256         * configure: Regenerated.
17257         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17258         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17259         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17260         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17261         * lib/gdb.exp (gdb_skip_xml_test): New function.
17262
17263 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
17264
17265         * gdb.base/sigrepeat.exp: Correct error message.
17266
17267 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
17268             Daniel Jacobowitz  <dan@codesourcery.com>
17269
17270         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17271         gdb.arch/i386-gnu-cfi-asm.S: New files.
17272
17273 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
17274
17275         * lib/gdb.exp: Abort on missing `site.exp'.
17276
17277 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
17278             Daniel Jacobowitz  <dan@codesourcery.com>
17279
17280         * gdb.base/included.c, gdb.base/included.exp,
17281         gdb.base/included.h: New files.
17282
17283 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
17284
17285         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17286         (maximize_rlimit): Reduce limits on 64-bit systems.
17287
17288 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
17289
17290         From Marcus Deuling <deuling@de.ibm.com>:
17291         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17292         every case.
17293
17294 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
17295
17296         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17297         (test_path_specification): Use objdir instead of srcdir to always
17298         get an absolute filename.
17299
17300 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
17301
17302         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17303
17304 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
17305
17306         * gdb.mi/mi-var-cp.cc (reference_update_tests):
17307         Make sure the variable we're using is in scope.
17308         (reference_to_pointer): Likewise.
17309
17310 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
17311
17312         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17313         has no debug information.
17314
17315 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
17316
17317         * gdb.base/annota1.exp: Remove extra send_gdb.
17318
17319 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17320
17321         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17322
17323 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17324
17325         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17326
17327 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
17328             Daniel Jacobowitz  <dan@codesourcery.com>
17329
17330         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17331         lcharacter or linteger change.  Correct duplicated test name.
17332         * gdb.mi/mi2-var-cmd.exp: Likewise.
17333
17334 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
17335
17336         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17337
17338 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
17339
17340         * gdb.base/nofield.c: New file.
17341         * gdb.base/nofield.exp: New testcase.
17342
17343 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
17344
17345         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17346
17347         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17348          test.
17349
17350 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
17351
17352         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17353
17354 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
17355
17356         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17357         when continuing.
17358
17359 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
17360
17361         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17362         Expect ".exe" extension.
17363
17364 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
17365
17366         * gdb.base/charset.exp: Add explicit filename to break.
17367         * gdb.base/dbx.exp: Add explicit filename to breaks.
17368
17369 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
17370
17371         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17372         * gdb.mi/mi2-file.exp: Likewise.
17373
17374 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
17375
17376         Implement specification of MI tests as comments
17377         in C and C++ sources.
17378         * lib/mi-support.exp (mi_autotest_data): New variable.
17379         (mi_autotest_source): New variable.
17380         (count_newlines, mi_prepare_inline_tests)
17381         (mi_get_inline_test, mi_continue_to_line)
17382         (mi_run_inline_test, mi_tbreak)
17383         (mi_send_resuming_command, mi_wait_for_stop): New functions.
17384         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17385         Run inline tests.
17386         * gdb.mi/mi-var-cp.cc: Define tests here.
17387
17388 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
17389
17390         Simplify usage of mi_continue_to.
17391         * lib/mi-support.exp (mi_runto_helper): Renamed
17392         from mi_runto, added new parameter 'run_or_continue'.
17393         (mi_runto): Use mi_runto_helper.
17394         (mi_continue_to): Accept just function name as parameter.
17395         Use mi_runto_helper.
17396         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17397         * gdb.mi/mi2-var-cmd.exp: Likewise.
17398
17399 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
17400
17401         Make this testcase a bit more realistic. The current code
17402         is too simplistic, and allows the compiler to optimize out
17403         some of the entities we need for this testcase.
17404         * gdb.ada/null_record/bar.ads (Void_Star): New type.
17405         (Do_Nothing): Add extra parameter.
17406         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17407         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17408         by using a variable of type Void_Star.
17409
17410 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
17411
17412         * gdb.ada/catch_ex/foo.adb: New file.
17413         * gdb.ada/catch_ex.exp: New testcase.
17414
17415 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
17416
17417         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17418         pass --image-base to linker.
17419
17420 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
17421             Daniel Jacobowitz  <dan@codesourcery.com>
17422
17423         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
17424         secondary prompts.
17425
17426 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
17427
17428         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17429         output.  Test the types of members and member pointers.
17430         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17431         gdb/2092.
17432         * gdb.cp/member-ptr.exp: Search for a comment instead of a
17433         statement.  Enable for GCC.  Update expected output for some tests
17434         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
17435         layout.
17436         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17437         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17438         (Diamond::vget_base): New.
17439         (main): Add new tests.
17440         * gdb.cp/printmethod.exp: Update expected output for member functions.
17441         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17442         print pEe->D::vg().
17443
17444 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
17445
17446         * gdb.threads/tls.exp: Allow stops in sem_post.
17447
17448 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
17449
17450         * gdb.base/annota1.exp: Allow .*printf in backtraces.
17451         * gdb.base/annota3.exp: Likewise.
17452         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17453         again (instead of timing out).
17454         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17455         GCC bug 26475.
17456         * gdb.java/jmisc.exp: Adjust to work with method signatures including
17457         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
17458         test from jmisc1.exp.
17459         * gdb.java/jmisc1.exp: Delete.
17460         * gdb.java/jprint.exp: Adjust to work with method signatures including
17461         return types.
17462         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17463         * gdb.threads/linux-dp.exp: Don't be confused by program output.
17464         * lib/java.exp (compile_java_from_source): Pass the correct type
17465         to target_compile.
17466
17467 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
17468
17469         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17470         (stack_align_edx): New function.
17471         (stack_align_eax): New function.
17472         (main): Add calls to stack_align_edx and stack_align_eax.
17473         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17474         Add testing for the cases where the register used during a stack
17475         realignment is edx. Same for eax.
17476
17477 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
17478
17479         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17480         and generic PE targets.
17481
17482 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
17483
17484         * gdb.ada/array_return.exp: Update copyright date list.
17485
17486 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
17487
17488         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17489         (Create_Small_Float_Vector): New function.
17490         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17491         function body.
17492         * gdb.ada/array_return/p.adb: Use new type and function from
17493         package Pck.
17494         * gdb.ada/array_return.exp: Add a test verifying that GDB is
17495         able to print the value returned by a function returning an
17496         array of float.
17497
17498 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
17499
17500         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17501         The associated tests should be PASSing.
17502
17503 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
17504
17505         Test for base in references.
17506         * gdb.mi/mi-var-cp.cc: Add test code.
17507         * gdb.mi/mi-var-cp.exp: Test for bases in references.
17508         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17509         * gdb.mi/mi2-watch.exp: Likewise.
17510         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17511         (mi_list_varobj_children): New function.
17512
17513 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
17514
17515         * lib/mi-support.exp
17516         (mi_runto): Accept "()" after function name.
17517         (mi_create_varobj): New function.
17518         (mi_varobj_update): New function.
17519         (mi_Check_varobj_value): New function.
17520         * gdb.mi/mi-var-cp.exp: New file.
17521         * gdb.mi/mi-var-cp.cc: New file.
17522
17523 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
17524
17525         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17526         gdb.base/weaklib2.c: New files.
17527
17528 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
17529
17530         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17531         info.  Adjust test names.
17532
17533         * gdb.base/break.c (main): Move position of malloc.
17534         * gdb.base/break.exp: Revert mistaken checkin.
17535
17536 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
17537
17538         * gdb.mi/mi-var-cmd.exp: Check -var-update after
17539         assignement of arrays and function pointers.
17540         * gdb.mi/var-cmd.c: Add declaration necessary for above
17541         tests.
17542
17543 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
17544
17545         * gdb.base/break.c (main): Call malloc.
17546
17547         * gdb.threads/linux-dp.exp: Read thread table before and after
17548         creating each philosopher and verify it.
17549
17550 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
17551             Paul Brook  <paul@codesourcery.com>
17552             Daniel Jacobowitz  <dan@codesourcery.com>
17553
17554         * gdb.base/ending-run.exp: Flatten expect script stepping out of
17555         main to remove duplication.  Add start function of the form
17556         '_*start[1-9]*'. Add RVDS start function.
17557
17558 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
17559
17560         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17561
17562 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17563
17564         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17565         * gdb.asm/spu.inc: New file.
17566         * gdb.base/term.exp: Disable if [target_info exists noargs].
17567         * gdb.gdb/complaints.exp: Disable if ![isnative].
17568         * gdb.gdb/selftest.exp: Likewise.
17569         * gdb.gdb/observer.exp: Likewise.
17570         * gdb.gdb/xfullpath.exp: Likewise.
17571         * gdb.base/attach.exp: Disable on SPU target.
17572         * gdb.cp/bs145503.exp: Likewise.
17573         * gdb.cp/exception.exp: Likewise.
17574         * gdb.cp/userdef.exp: Likewise.
17575
17576 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
17577
17578         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17579
17580 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
17581
17582         * gdb.base/completion.exp: Fix completion tests for
17583         'info' and 'info '.
17584         * gdb.base/help.exp (help_test_raw, test_class_help)
17585         (test_prefix_command_help): Move...
17586         * lib/gdb.exp: Here.
17587         * gdb.base/main.exp: Adjust.
17588         * gdb.cp/maint.exp: Adjust.
17589         * gdb.trace/tracecmd.exp: Use test_help_class.
17590
17591 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
17592
17593         * gdb.stabs/weird.exp (print_weird_var): Use
17594         gdb_test_multiple instead of gdb_expect.
17595
17596 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
17597
17598         * gdb.base/help.exp (help_test_raw): New.
17599         (test_class_help): New.
17600         (test_prefix_command_help): New.
17601         Adjust testcases.
17602
17603 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
17604
17605         * gdb.base/constvars.c (main): Write to crass and crips, so that
17606         they are allocated by the compiler.
17607
17608 2006-10-27  Andreas Schwab  <schwab@suse.de>
17609
17610         * gdb.base/multi-forks.exp: Use "detach fork" instead of
17611         "detach-fork".
17612
17613 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
17614
17615         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17616         of patterns.
17617
17618 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
17619
17620         * gdb.base/sepdebug.exp: Remove debug format test.
17621         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17622         Handle no-symtab.
17623         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17624
17625 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
17626
17627         * gdb.threads/manythreads.c (thread_function, main): Don't cast
17628         int to pointer or pointer to int.
17629         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17630
17631 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
17632
17633         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17634
17635 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17636
17637         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17638
17639 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
17640
17641         PR c++/2116
17642         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17643
17644 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17645
17646         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17647         the corresponding bug has been fixed in GDB (PR/2018).
17648
17649 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17650
17651         * gdb.base/subst.exp: New testcase.
17652
17653 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17654
17655         * gdb.ada/array_return/pck.ads: Add copyright notice.
17656         * gdb.ada/array_return/pck.adb: Likewise.
17657         * gdb.ada/array_return/p.adb: Likewise.
17658         * gdb.ada/exec_changed/first.adb: Likewise.
17659         * gdb.ada/exec_changed/second.adb: Likewise.
17660
17661 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17662
17663         * gdb.ada/watch_arg/watch.adb: New file.
17664         * gdb.ada/watch_arg.exp: New testcase.
17665
17666 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
17667
17668         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17669         via string_to_regexp.
17670         * gdb.mi/mi2-basics.exp: Likewise.
17671
17672 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
17673
17674         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17675         Remove unused / obsolete files.
17676
17677 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
17678
17679         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17680
17681 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
17682
17683         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17684         HIGH_FRAME argument to -stack-list-arguments can be larger than
17685         the number of frames.
17686
17687 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
17688
17689         * gdb.base/args.c (main): Add breakpoint marker.
17690         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
17691         really test empty arguments.
17692         (args_load): Delete.
17693         (args_test): New.
17694
17695 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
17696
17697         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17698         check for one file.
17699
17700 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
17701
17702         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17703         HIGH_FRAME argument to -stack-list-locals can be larger than
17704         the number of frames.
17705
17706 2006-08-18  Fred Fish  <fnf@specifix.com>
17707
17708         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17709         '$' in front of skip_vmx_tests_saved when setting that.
17710
17711 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
17712
17713         * gdb.base/trace-commands.exp: New file.
17714
17715 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
17716             Daniel Jacobowitz  <dan@codesourcery.com>
17717
17718         * gdb.base/step-bt.exp: Make hexadecimal address optional in
17719         expected output of the backtrace commands.
17720
17721 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
17722
17723         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17724         untested followed by return combination.
17725         * gdb.arch/altivec-regs.exp: Likewise.
17726         * gdb.arch/e500-abi.exp: Likewise.
17727         * gdb.arch/e500-regs.exp: Likewise.
17728         * gdb.arch/gdb1291.exp: Likewise.
17729         * gdb.arch/gdb1431.exp: Likewise.
17730         * gdb.arch/gdb1558.exp: Likewise.
17731         * gdb.arch/i386-prologue.exp: Likewise.
17732         * gdb.arch/i386-unwind.exp: Likewise.
17733         * gdb.asm/asm-source.exp: Likewise.
17734         * gdb.base/a2-run.exp: Likewise.
17735         * gdb.base/advance.exp: Likewise.
17736         * gdb.base/all-bin.exp: Likewise.
17737         * gdb.base/annota1.exp: Likewise.
17738         * gdb.base/annota3.exp: Likewise.
17739         * gdb.base/args.exp: Likewise.
17740         * gdb.base/arithmet.exp: Likewise.
17741         * gdb.base/assign.exp: Likewise.
17742         * gdb.base/async.exp: Likewise.
17743         * gdb.base/attach.exp: Likewise.
17744         * gdb.base/bang.exp: Likewise.
17745         * gdb.base/bigcore.exp: Likewise.
17746         * gdb.base/bitfields.exp: Likewise.
17747         * gdb.base/bitfields2.exp: Likewise.
17748         * gdb.base/break.exp: Likewise.
17749         * gdb.base/call-sc.exp: Likewise.
17750         * gdb.base/call-strs.exp: Likewise.
17751         * gdb.base/callfuncs.exp: Likewise.
17752         * gdb.base/checkpoint.exp: Likewise.
17753         * gdb.base/chng-syms.exp: Likewise.
17754         * gdb.base/code-expr.exp: Likewise.
17755         * gdb.base/commands.exp: Likewise.
17756         * gdb.base/completion.exp: Likewise.
17757         * gdb.base/cond-expr.exp: Likewise.
17758         * gdb.base/condbreak.exp: Likewise.
17759         * gdb.base/consecutive.exp: Likewise.
17760         * gdb.base/constvars.exp: Likewise.
17761         * gdb.base/corefile.exp: Likewise.
17762         * gdb.base/cvexpr.exp: Likewise.
17763         * gdb.base/dbx.exp: Likewise.
17764         * gdb.base/define.exp: Likewise.
17765         * gdb.base/detach.exp: Likewise.
17766         * gdb.base/display.exp: Likewise.
17767         * gdb.base/dump.exp: Likewise.
17768         * gdb.base/ena-dis-br.exp: Likewise.
17769         * gdb.base/ending-run.exp: Likewise.
17770         * gdb.base/environ.exp: Likewise.
17771         * gdb.base/eval-skip.exp: Likewise.
17772         * gdb.base/exprs.exp: Likewise.
17773         * gdb.base/fileio.exp: Likewise.
17774         * gdb.base/finish.exp: Likewise.
17775         * gdb.base/float.exp: Likewise.
17776         * gdb.base/foll-exec.exp: Likewise.
17777         * gdb.base/foll-fork.exp: Likewise.
17778         * gdb.base/foll-vfork.exp: Likewise.
17779         * gdb.base/freebpcmd.exp: Likewise.
17780         * gdb.base/funcargs.exp: Likewise.
17781         * gdb.base/gcore.exp: Likewise.
17782         * gdb.base/gdb1090.exp: Likewise.
17783         * gdb.base/gdb1250.exp: Likewise.
17784         * gdb.base/huge.exp: Likewise.
17785         * gdb.base/info-proc.exp: Likewise.
17786         * gdb.base/interrupt.exp: Likewise.
17787         * gdb.base/jump.exp: Likewise.
17788         * gdb.base/langs.exp: Likewise.
17789         * gdb.base/lineinc.exp: Likewise.
17790         * gdb.base/list.exp: Likewise.
17791         * gdb.base/logical.exp: Likewise.
17792         * gdb.base/long_long.exp: Likewise.
17793         * gdb.base/macscp.exp: Likewise.
17794         * gdb.base/maint.exp: Likewise.
17795         * gdb.base/mips_pro.exp: Likewise.
17796         * gdb.base/miscexprs.exp: Likewise.
17797         * gdb.base/multi-forks.exp: Likewise.
17798         * gdb.base/opaque.exp: Likewise.
17799         * gdb.base/overlays.exp: Likewise.
17800         * gdb.base/pc-fp.exp: Likewise.
17801         * gdb.base/pointers.exp: Likewise.
17802         * gdb.base/printcmds.exp: Likewise.
17803         * gdb.base/psymtab.exp: Likewise.
17804         * gdb.base/ptype.exp: Likewise.
17805         * gdb.base/recurse.exp: Likewise.
17806         * gdb.base/relational.exp: Likewise.
17807         * gdb.base/relocate.exp: Likewise.
17808         * gdb.base/remote.exp: Likewise.
17809         * gdb.base/reread.exp: Likewise.
17810         * gdb.base/restore.exp: Likewise.
17811         * gdb.base/return.exp: Likewise.
17812         * gdb.base/return2.exp: Likewise.
17813         * gdb.base/scope.exp: Likewise.
17814         * gdb.base/sect-cmd.exp: Likewise.
17815         * gdb.base/sep.exp: Likewise.
17816         * gdb.base/sepdebug.exp: Likewise.
17817         * gdb.base/setshow.exp: Likewise.
17818         * gdb.base/setvar.exp: Likewise.
17819         * gdb.base/sigall.exp: Likewise.
17820         * gdb.base/sigbpt.exp: Likewise.
17821         * gdb.base/signals.exp: Likewise.
17822         * gdb.base/signull.exp: Likewise.
17823         * gdb.base/sizeof.exp: Likewise.
17824         * gdb.base/solib.exp: Likewise.
17825         * gdb.base/step-line.exp: Likewise.
17826         * gdb.base/step-test.exp: Likewise.
17827         * gdb.base/structs.exp: Likewise.
17828         * gdb.base/structs2.exp: Likewise.
17829         * gdb.base/term.exp: Likewise.
17830         * gdb.base/twice.exp: Likewise.
17831         * gdb.base/until.exp: Likewise.
17832         * gdb.base/varargs.exp: Likewise.
17833         * gdb.base/volatile.exp: Likewise.
17834         * gdb.base/watchpoint.exp: Likewise.
17835         * gdb.base/whatis-exp.exp: Likewise.
17836         * gdb.base/whatis.exp: Likewise.
17837         * gdb.cp/ambiguous.exp: Likewise.
17838         * gdb.cp/annota2.exp: Likewise.
17839         * gdb.cp/annota3.exp: Likewise.
17840         * gdb.cp/bool.exp: Likewise.
17841         * gdb.cp/breakpoint.exp: Likewise.
17842         * gdb.cp/casts.exp: Likewise.
17843         * gdb.cp/class2.exp: Likewise.
17844         * gdb.cp/classes.exp: Likewise.
17845         * gdb.cp/cplusfuncs.exp: Likewise.
17846         * gdb.cp/ctti.exp: Likewise.
17847         * gdb.cp/derivation.exp: Likewise.
17848         * gdb.cp/exception.exp: Likewise.
17849         * gdb.cp/gdb1355.exp: Likewise.
17850         * gdb.cp/hang.exp: Likewise.
17851         * gdb.cp/inherit.exp: Likewise.
17852         * gdb.cp/local.exp: Likewise.
17853         * gdb.cp/m-data.exp: Likewise.
17854         * gdb.cp/m-static.exp: Likewise.
17855         * gdb.cp/member-ptr.exp: Likewise.
17856         * gdb.cp/method.exp: Likewise.
17857         * gdb.cp/misc.exp: Likewise.
17858         * gdb.cp/namespace.exp: Likewise.
17859         * gdb.cp/overload.exp: Likewise.
17860         * gdb.cp/ovldbreak.exp: Likewise.
17861         * gdb.cp/pr-1023.exp: Likewise.
17862         * gdb.cp/pr-1210.exp: Likewise.
17863         * gdb.cp/pr-574.exp: Likewise.
17864         * gdb.cp/printmethod.exp: Likewise.
17865         * gdb.cp/psmang.exp: Likewise.
17866         * gdb.cp/ref-params.exp: Likewise.
17867         * gdb.cp/ref-types.exp: Likewise.
17868         * gdb.cp/rtti.exp: Likewise.
17869         * gdb.cp/templates.exp: Likewise.
17870         * gdb.cp/try_catch.exp: Likewise.
17871         * gdb.cp/userdef.exp: Likewise.
17872         * gdb.cp/virtfunc.exp: Likewise.
17873         * gdb.disasm/am33.exp: Likewise.
17874         * gdb.disasm/h8300s.exp: Likewise.
17875         * gdb.disasm/mn10300.exp: Likewise.
17876         * gdb.disasm/sh3.exp: Likewise.
17877         * gdb.disasm/t01_mov.exp: Likewise.
17878         * gdb.disasm/t02_mova.exp: Likewise.
17879         * gdb.disasm/t03_add.exp: Likewise.
17880         * gdb.disasm/t04_sub.exp: Likewise.
17881         * gdb.disasm/t05_cmp.exp: Likewise.
17882         * gdb.disasm/t06_ari2.exp: Likewise.
17883         * gdb.disasm/t07_ari3.exp: Likewise.
17884         * gdb.disasm/t08_or.exp: Likewise.
17885         * gdb.disasm/t09_xor.exp: Likewise.
17886         * gdb.disasm/t10_and.exp: Likewise.
17887         * gdb.disasm/t11_logs.exp: Likewise.
17888         * gdb.disasm/t12_bit.exp: Likewise.
17889         * gdb.disasm/t13_otr.exp: Likewise.
17890         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17891         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17892         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17893         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17894         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17895         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17896         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17897         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17898         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17899         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17900         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17901         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17902         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17903         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17904         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17905         * gdb.mi/gdb701.exp: Likewise.
17906         * gdb.mi/gdb792.exp: Likewise.
17907         * gdb.mi/mi-basics.exp: Likewise.
17908         * gdb.mi/mi-break.exp: Likewise.
17909         * gdb.mi/mi-cli.exp: Likewise.
17910         * gdb.mi/mi-console.exp: Likewise.
17911         * gdb.mi/mi-disassemble.exp: Likewise.
17912         * gdb.mi/mi-eval.exp: Likewise.
17913         * gdb.mi/mi-file.exp: Likewise.
17914         * gdb.mi/mi-read-memory.exp: Likewise.
17915         * gdb.mi/mi-regs.exp: Likewise.
17916         * gdb.mi/mi-return.exp: Likewise.
17917         * gdb.mi/mi-simplerun.exp: Likewise.
17918         * gdb.mi/mi-stack.exp: Likewise.
17919         * gdb.mi/mi-stepi.exp: Likewise.
17920         * gdb.mi/mi-syn-frame.exp: Likewise.
17921         * gdb.mi/mi-until.exp: Likewise.
17922         * gdb.mi/mi-var-block.exp: Likewise.
17923         * gdb.mi/mi-var-child.exp: Likewise.
17924         * gdb.mi/mi-var-cmd.exp: Likewise.
17925         * gdb.mi/mi-var-display.exp: Likewise.
17926         * gdb.mi/mi-watch.exp: Likewise.
17927         * gdb.mi/mi2-basics.exp: Likewise.
17928         * gdb.mi/mi2-break.exp: Likewise.
17929         * gdb.mi/mi2-cli.exp: Likewise.
17930         * gdb.mi/mi2-console.exp: Likewise.
17931         * gdb.mi/mi2-disassemble.exp: Likewise.
17932         * gdb.mi/mi2-eval.exp: Likewise.
17933         * gdb.mi/mi2-file.exp: Likewise.
17934         * gdb.mi/mi2-read-memory.exp: Likewise.
17935         * gdb.mi/mi2-regs.exp: Likewise.
17936         * gdb.mi/mi2-return.exp: Likewise.
17937         * gdb.mi/mi2-simplerun.exp: Likewise.
17938         * gdb.mi/mi2-stack.exp: Likewise.
17939         * gdb.mi/mi2-stepi.exp: Likewise.
17940         * gdb.mi/mi2-syn-frame.exp: Likewise.
17941         * gdb.mi/mi2-until.exp: Likewise.
17942         * gdb.mi/mi2-var-block.exp: Likewise.
17943         * gdb.mi/mi2-var-child.exp: Likewise.
17944         * gdb.mi/mi2-var-cmd.exp: Likewise.
17945         * gdb.mi/mi2-var-display.exp: Likewise.
17946         * gdb.mi/mi2-watch.exp: Likewise.
17947         * gdb.stabs/exclfwd.exp: Likewise.
17948         * gdb.stabs/weird.exp: Likewise.
17949         * gdb.threads/gcore-thread.exp: Likewise.
17950         * gdb.trace/actions.exp: Likewise.
17951         * gdb.trace/backtrace.exp: Likewise.
17952         * gdb.trace/circ.exp: Likewise.
17953         * gdb.trace/collection.exp: Likewise.
17954         * gdb.trace/deltrace.exp: Likewise.
17955         * gdb.trace/infotrace.exp: Likewise.
17956         * gdb.trace/limits.exp: Likewise.
17957         * gdb.trace/packetlen.exp: Likewise.
17958         * gdb.trace/passc-dyn.exp: Likewise.
17959         * gdb.trace/passcount.exp: Likewise.
17960         * gdb.trace/report.exp: Likewise.
17961         * gdb.trace/save-trace.exp: Likewise.
17962         * gdb.trace/tfind.exp: Likewise.
17963         * gdb.trace/tracecmd.exp: Likewise.
17964         * gdb.trace/while-dyn.exp: Likewise.
17965         * gdb.trace/while-stepping.exp: Likewise.
17966
17967 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
17968
17969         * gdb.base/step-bt.c: New file.
17970         * gdb.base/step-bt.exp: New testcase.
17971
17972 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
17973
17974         * config/monitor.exp (gdb_load): Remove support for obsolete
17975         download-write-size.
17976         * gdb.base/remote.exp: Likewise.  Update all callers of
17977         gdb_timed_load.
17978
17979 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
17980
17981         * cursal.exp: Pass binfile to gdb_load.
17982
17983 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
17984
17985         * gdb.base/cursal.exp: Add "" to gdb_load call.
17986
17987 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
17988
17989         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
17990         NetBSD/ELF targets.
17991
17992 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
17993
17994         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
17995         operator*.
17996
17997 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
17998
17999         * gdb.base/completion.exp: Update for change in "file" behavior.
18000         * gdb.stabs/weird.exp: Likewise.
18001         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18002         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
18003
18004 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
18005
18006         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18007         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18008
18009 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
18010
18011         * gdb.base/default.exp: Update source command error message.
18012         * gdb.base/help.exp: Update 'help source' message.
18013
18014 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
18015
18016         * gdb.cp/bs15503.exp: Update comment for no longer crashing
18017         test.
18018
18019 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
18020
18021         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18022
18023 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
18024
18025         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18026
18027 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
18028
18029         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18030
18031 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
18032
18033         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18034         *-*-openbsd* from targets for wich we expect ARM FPA floating
18035         point format.
18036
18037 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
18038
18039         * gdb.cp/annota3.exp: Expect frame-begin annotation.
18040
18041 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
18042
18043         * gdb.base/annota3.exp: Expect frame-begin annotation.
18044
18045 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
18046
18047         * gdb.base/help.exp: Adjust "help unset" test to accept
18048         any list of unset commands.
18049
18050 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
18051             Daniel Jacobowitz  <dan@codesourcery.com>
18052
18053         * gdb.cp/ref-params.exp: New test.
18054         * gdb.cp/ref-params.cc: New source file.
18055         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18056
18057 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
18058
18059         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18060         spaces/tabs in regular expressions since they might not be there.
18061
18062 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
18063
18064         * gdb.base/ifelse.exp: New file.
18065
18066 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
18067
18068         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18069         line.
18070         * gdb.base/huge.exp: Loop over compilation to find a size that
18071         is acceptable.
18072         * gdb.base/remote.exp: Correct expected strings.
18073         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18074
18075 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18076
18077         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18078
18079 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18080
18081         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
18082         native.
18083
18084 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18085
18086         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18087         enable stabs testing.
18088
18089 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18090
18091         * gdb.base/auxv.exp: Intercept undefined command messages before
18092         gdb_test_multiple does.
18093
18094 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18095
18096         * Makefile.in (host_alias): Remove.
18097         (target_alias): Use @target_noncanonical@.
18098         (site.exp): Don't set host_alias.
18099         * aclocal.m4: Remove contents.  Include acx.m4.
18100         * configure: Regenerated.
18101         * configure.ac: Use ACX_NONCANONICAL_TARGET.
18102
18103 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
18104
18105         * lib/gdb.exp (gdb_load_cmd): New.
18106
18107         * gdb.base/fileio.c: Add system(NULL) test.
18108         * gdb.base/fileio.exp: Check it.
18109
18110         * gdb.base/break.c: Add 10a breakpoint at }
18111         * gdb.base/break.exp: Add test for breakpoint at }
18112         * gdb.cp/anon-union.cc: Add code at end of function.
18113         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18114         * gdb.mi/var-cmd.c: Add code at end of function.
18115         * gdb.mi/mi-var-display.exp: Adjust end of next.
18116         * gdb.mi/mi2-var-display.exp: Likewise.
18117         * gdb.base/fileio.c: Add stop function and insert calls at
18118         stopping places.
18119         * gdb.base/fileio.exp: Breakpoint stop function and remove
18120         explicit line number references.
18121
18122 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
18123
18124         * gdb.base/del.exp (test_delete_alias): New function.
18125         Now check that both "del" and "d" work as aliases for "delete".
18126
18127 2006-05-18  Fred Fish  <fnf@specifix.com>
18128
18129         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18130         required.  Check for spurious output after program exits normally.
18131
18132 2006-05-17  Fred Fish  <fnf@specifix.com>
18133
18134         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18135         gdb_load, so it works in the simulator.
18136
18137 2006-05-11  Fred Fish  <fnf@specifix.com>
18138
18139         * gdb.base/bang.exp: Ignore unexpected output between the
18140         "program exited normally" and the gdb prompt, as many other
18141         tests do.
18142
18143 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
18144
18145         * gdb.base/help.exp: Make "delete checkpoint" part option for
18146         "help d" and "help delete" tests.
18147
18148 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18149
18150         * gdb.mi/mi-basics.exp: Add missing serial number to
18151         expected output in some mi_gdb_test statements.
18152         * gdb.mi/mi2-basics.exp: Likewise.
18153
18154 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
18155
18156         * gdb.base/del.c: New file.
18157         * gdb.base/del.exp: New testcase.
18158
18159 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
18160
18161         * gdb.base/break.exp: Do not assume a breakpoint on
18162         main will actually be in $srcfile when optimizing.
18163         * gdb.base/savedregs.exp: Do not require that the dummy
18164         frame location match up to a symbol and source file location.
18165         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18166         will get printed without a mi_cmd_data_list_register_values prefix.
18167         (*-data-list-register-*): Correct regular expressions to expect the new
18168         pseudo d? floating point registers.
18169         * gdb.mi/mi2-regs.exp: Likewise.
18170
18171 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
18172
18173         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18174         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18175         is allocated by the compiler.
18176         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18177         anons, e, anone to force their allocation by the compiler.
18178
18179 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
18180
18181         * gdb.base/help.exp: Update expected text for help d and
18182         help delete.
18183
18184 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
18185
18186         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18187         NetBSD/ELF targets.
18188
18189 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
18190
18191         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18192         single-step breakpoint fails; make this a KFAIL on
18193         sparc*-*-openbsd*.
18194         * gdb.base/siginfo.exp: Likewise.
18195         * gdb.base/sigstep.exp (advance, advancei): Likewise.
18196
18197 2006-04-26  Michael Snyder  <msnyder@redhat.com>
18198
18199         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18200         which may have to consume output from other forks.
18201         Add tests to make sure that "delete fork" succeeded.
18202
18203 2006-04-20  Michael Snyder  <msnyder@redhat.com>
18204
18205         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
18206         Add support for the Renesas M32C and M16C.
18207
18208         * gdb.asm/asm-source.exp: Add m32c target.
18209         * gdb.asm/m32c.inc: Support for m32c target.
18210
18211 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
18212
18213         * gdb.base/commands.exp (recursive_source_test): New test.
18214
18215 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
18216
18217         * gdb.base/float.exp: Add pattern for sparc targets.
18218
18219 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
18220
18221         * gdb.base/commands.exp (stray_arg0_test): New test.
18222
18223 2006-03-30  Paul Brook  <paul@codesourcery.com>
18224
18225         * gdb.mi/mi-until.exp: kfail broken until command.
18226         * gdb.mi/mi2-until.exp: Ditto.
18227
18228 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
18229
18230         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18231
18232 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
18233
18234         * gdb.base/prelink.exp: Anchor tested-for regular expression
18235         on gdb prompt.
18236
18237 2006-03-07  Paul Brook  <paul@codesourcery.com>
18238
18239         * gdb.base/assign.exp: Correct fail message.
18240
18241 2006-03-07  Paul Brook  <paul@codesourcery.com>
18242
18243         * lib/compiler.c: Extract armcc version number.
18244         * lib/compiler.cc: Ditto.
18245
18246 2006-03-07  Paul Brook  <paul@codesourcery.com>
18247
18248         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18249         additional_flags=-w.
18250         * gdb.arch/altivec-regs.exp: Ditto.
18251         * gdb.arch/e500-abi.exp: Ditto.
18252         * gdb.arch/e500-regs.exp: Ditto.
18253         * gdb.base/all-bin.exp: Ditto.
18254         * gdb.base/annota1.exp: Ditto.
18255         * gdb.base/annota3.exp: Ditto.
18256         * gdb.base/args.exp: Ditto.
18257         * gdb.base/arithmet.exp: Ditto.
18258         * gdb.base/assign.exp: Ditto.
18259         * gdb.base/async.exp: Ditto.
18260         * gdb.base/bang.exp: Ditto.
18261         * gdb.base/break.exp: Ditto.
18262         * gdb.base/call-rt-st.exp: Ditto.
18263         * gdb.base/completion.exp: Ditto.
18264         * gdb.base/cond-expr.exp: Ditto.
18265         * gdb.base/condbreak.exp: Ditto.
18266         * gdb.base/consecutive.exp: Ditto.
18267         * gdb.base/define.exp: Ditto.
18268         * gdb.base/display.exp: Ditto.
18269         * gdb.base/ena-dis-br.exp: Ditto.
18270         * gdb.base/environ.exp: Ditto.
18271         * gdb.base/eval-skip.exp: Ditto.
18272         * gdb.base/info-proc.exp: Ditto.
18273         * gdb.base/jump.exp: Ditto.
18274         * gdb.base/logical.exp: Ditto.
18275         * gdb.base/long_long.exp: Ditto.
18276         * gdb.base/maint.exp: Ditto.
18277         * gdb.base/miscexprs.exp: Ditto.
18278         * gdb.base/pc-fp.exp: Ditto.
18279         * gdb.base/pointers.exp: Ditto.
18280         * gdb.base/relational.exp: Ditto.
18281         * gdb.base/reread.exp: Ditto.
18282         * gdb.base/sect-cmd.exp: Ditto.
18283         * gdb.base/sep.exp: Ditto.
18284         * gdb.base/sepdebug.exp: Ditto.
18285         * gdb.base/until.exp: Ditto.
18286         * gdb.base/whatis-exp.exp: Ditto.
18287         * gdb.cp/annota2.exp: Ditto.
18288         * gdb.cp/annota3.exp: Ditto.
18289         * gdb.trace/actions.exp: Ditto.
18290         * gdb.trace/backtrace.exp: Ditto.
18291         * gdb.trace/circ.exp: Ditto.
18292         * gdb.trace/collection.exp: Ditto.
18293         * gdb.trace/deltrace.exp: Ditto.
18294         * gdb.trace/infotrace.exp: Ditto.
18295         * gdb.trace/limits.exp: Ditto.
18296         * gdb.trace/packetlen.exp: Ditto.
18297         * gdb.trace/passc-dyn.exp: Ditto.
18298         * gdb.trace/passcount.exp: Ditto.
18299         * gdb.trace/report.exp: Ditto.
18300         * gdb.trace/save-trace.exp: Ditto.
18301         * gdb.trace/tfind.exp: Ditto.
18302         * gdb.trace/tracecmd.exp: Ditto.
18303         * gdb.trace/while-dyn.exp: Ditto.
18304         * gdb.trace/while-stepping.exp: Ditto.
18305         * lib/gdb.exp: Ditto.
18306         (gdb_compile): Handle nowarning option.
18307
18308 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
18309
18310         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18311         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
18312         Rename executable to prelinkt.  Don't re-prelink if we didn't
18313         get a core file.  Test prelink -u exit status to tell whether
18314         prelinking failed.  Use gdb_test_multiple.
18315
18316 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
18317
18318         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18319         (do_tests): Call it.
18320
18321 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
18322
18323         * gdb.base/prelink.exp: New test.
18324         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18325
18326 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
18327
18328         * gdb.fortran/derived-type.f90: New file.
18329         * gdb.fortran/derived-type.exp: New testcase.
18330
18331 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
18332
18333         * gdb.base/default.exp: Allow ';' as a directory separator.
18334
18335 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
18336
18337         * gdb.base/help.exp (help add-symbol-file): Update.
18338
18339 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
18340
18341         * gdb.base/help.exp (help load): Update expected results.
18342
18343 2006-02-19  Fred Fish  <fnf@specifix.com>
18344
18345         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18346         specifix hex value as part of results.
18347         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18348
18349 2006-02-16  Fred Fish  <fnf@specifix.com>
18350
18351         * gdb.base/whatis.c: Define variables using typedefs char_addr,
18352         ushort_addr, and slong_addr, so the typedefs are not optimized
18353         away.
18354         * gdb.base/whatis.exp: Add tests using type name for struct type,
18355         union type, enum type, and typedef.
18356
18357 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
18358
18359         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18360
18361 2006-02-13  Jim Blandy  <jimb@redhat.com>
18362
18363         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18364         case where it takes two "next" commands to skip past the init
18365         call.
18366
18367 2006-02-12  Fred Fish  <fnf@specifix.com>
18368
18369         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18370         to handle cases where it takes two "next" commands to skip
18371         past the init call.
18372
18373 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
18374
18375         * gdb.ada/array_return.exp: Mark the last test as expected to fail
18376         on hppa32 targets.
18377
18378 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
18379
18380         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18381         field.
18382
18383 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
18384
18385         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18386
18387 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
18388
18389         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18390         files.
18391
18392 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
18393
18394         * gdb.cp/maint.exp: Set complaints to a positive value.
18395
18396 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
18397
18398         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
18399         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
18400         function name.
18401
18402 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
18403
18404         * gdb.base/checkpoint.c: Update copyright notice.  Include
18405         <stdlib.h>.
18406
18407 2006-01-04  Jim Blandy  <jimb@redhat.com>
18408
18409         * gdb.asm/asm-source.exp: Independently provide default values for
18410         asm-flags and debug-flags.  Use 'string equal' to do the
18411         comparison, not the implicit expr's '==' operator.  Remove
18412         now-unneeded assignments to asm-flags.  In h8300 case, place
18413         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18414
18415 2006-01-04  Michael Snyder  <msnyder@redhat.com>
18416
18417         * gdb.base/checkpoint.c: New file.
18418         * gdb.base/checkpoint.exp: New file.
18419         * gdb.base/multi-fork.c: New file.
18420         * gdb.base/multi-fork.exp: New file.
18421         * gdb.base/pi.txt: New file (data for checkpoint.c test).
18422
18423 2006-01-04  Fred Fish  <fnf@specifix.com>
18424
18425         * gdb.base/ptype.c (foo): Add typedef.
18426         (intfoo): Add function.
18427         * gdb.base/ptype1.c: New file.
18428         * gdb.base/ptype.exp: Handle compilation and linking with two
18429         source files.  Test that proper type for "foo" is found based
18430         on source context rather than first match found in symtabs.
18431
18432 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
18433
18434         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18435         * gdb.asm/openbsd.inc: Indent commands.
18436
18437 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
18438
18439         * gdb.base/freebpcmd.exp: Increase timeout.
18440
18441         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18442
18443 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
18444
18445         * gdb.base/default.exp: Update check for "show version".
18446
18447 2005-12-09  Randolph Chung  <tausq@debian.org>
18448
18449         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18450         * gdb.asm/pa64.inc: New file.
18451
18452 2005-12-09  Randolph Chung  <tausq@debian.org>
18453
18454         * gdb.asm/common.inc: Indent commands.
18455         * gdb.asm/asmsrc1.s: Likewise.
18456         * gdb.asm/asmsrc2.s: Likewise.
18457
18458 2005-12-09  Randolph Chung  <tausq@debian.org>
18459
18460         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18461         (get_addr_of_sym): Remove duplicate print.
18462         (gen_core): xfail hppa*-*-hpux*, update expected output.
18463         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18464         * gdb.arch/pa64-nullify.s: New file.
18465
18466 2005-12-09  Randolph Chung  <tausq@debian.org>
18467
18468         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18469
18470 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
18471
18472         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18473         code generation for these functions.
18474         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18475         error message.
18476
18477 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
18478
18479         * gdb.base/help.exp (help b, help br, help bre, help brea)
18480         (help break): Update the expected message.
18481
18482 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
18483
18484         * gdb.asm/m68hc11.inc: Setup the data section.
18485         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18486         script for this test.
18487         (m6812-*-*): Likewise.
18488
18489 2005-11-09  Randolph Chung <tausq@debian.org>
18490
18491         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18492
18493 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
18494
18495         * gdb.base/break.exp: Fix a comment typo.
18496
18497 2005-11-03  Jim Blandy  <jimb@redhat.com>
18498
18499         Checked in by Elena Zannoni  <ezannoni@redhat.com>
18500
18501         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18502
18503 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
18504
18505         * gdb.arch/gdb1558.c: Include stdio.h.
18506
18507 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
18508
18509         * gdb.asm/asm-source.exp: Use -e instead of --entry.
18510
18511 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
18512
18513         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18514
18515 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
18516
18517         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18518         vscr" tests to better match output.
18519
18520 2005-10-12  Jim Blandy  <jimb@redhat.com>
18521
18522         * gdb.base/structs.exp (any): New function.
18523         (test_struct_returns): Don't make any assumptions at all about
18524         what value the function returns when GDB can't set the return
18525         value.
18526
18527 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
18528
18529         * gdb.ada/arrayidx/p.adb: New file.
18530         * gdb.ada/arrayidx.exp: New testcase
18531
18532 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
18533
18534         * gdb.ada/array_return/pck.ads: New file.
18535         * gdb.ada/array_return/pck.adb: New file.
18536         * gdb.ada/array_return/p.adb: New file.
18537         * gdb.ada/array_return.exp: New testcase.
18538
18539 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
18540
18541         * gdb.base/arrayidx.c: New file.
18542         * gdb.base/arrayidx.exp: New testcase.
18543
18544 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
18545
18546         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18547         frames-invalid and breakpoints-invalid are no longer generated
18548         with level 3 so don't expect them in the output.
18549
18550 2005-09-27  Bob Rossi  <bob@brasko.net>
18551
18552         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18553         from test.  Escape the | in mi_gdb_test call.
18554         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18555         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18556         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18557         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18558         expected regex's in mi_gdb_test calls.
18559         * lib/mi-support.exp: Remove arbitrary .* from tests.
18560         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18561         Fully anchor GDB/MI expected results in mi_gdb_test.
18562         * lib/gdb.exp (string_to_regexp): Escape the ] character.
18563         * gdb.base/sizeof.exp: Remove escape character. Correct test.
18564
18565 2005-09-26  Paul Brook  <paul@codesourcery.com>
18566
18567         * long_long.exp: Exclude eabi targets from arm FPA float format test.
18568
18569 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
18570
18571         * bfp-test.c: New file.
18572         * bfp-test.exp: New testcase.
18573
18574 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
18575
18576         * gdb.fortran/subarray.exp: New testcase to test the evaluation
18577         of subarray and substring variable.
18578         * gdb.fortran/subarray.f: New source file for the test of subarray
18579         and substring variable evaluation.
18580         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18581         of string constant.
18582
18583 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
18584
18585         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18586         copyright dates.
18587
18588 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
18589
18590         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18591         powerpc altivec' test with an almost identical 'info vector' test.
18592
18593 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
18594
18595         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18596         vscr" tests to match output.
18597
18598 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
18599
18600         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18601         output.
18602
18603 2005-09-11  Bob Rossi  <bob@brasko.net>
18604
18605         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18606         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18607         commands that return an MI output command and an asyncronous MI output
18608         command.
18609         * gdb.mi/mi-console.exp: Ditto.
18610
18611 2005-09-11  Bob Rossi  <bob@brasko.net>
18612
18613         * gdb.mi/mi-var-child.c: Include <string.h>.
18614
18615 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
18616
18617         * killed.exp: Correct gdb_expect syntax.
18618
18619 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
18620
18621         * lib/mi-support.exp (mi_gdb_load): Fix typo.
18622
18623 2005-08-02  Bob Rossi  <bob@brasko.net>
18624
18625         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18626         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18627         Change tests to inferior-tty-set/show.
18628         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18629         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18630         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18631         inferior.  Use mi_gdb_test to get GDB and Inferior output.
18632         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18633         descriptor.
18634         (mi_inferior_tty_name): Add inferior PTY file name.
18635         (mi_gdb_start): Add INFERIOR_PTY parameter.
18636         (mi_gdb_test): Add IPATTERN parameter.
18637
18638 2005-08-02   Bob Rossi  <bob@brasko.net>
18639
18640         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18641         parameter to mi_gdb_test.
18642         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18643
18644 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18645
18646         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18647         struct_declarations.
18648         * gdb.mi/mi-var-child.exp: Step over the initialization of
18649         struct_declarations.
18650
18651 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18652
18653         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18654         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18655         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18656         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18657         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18658         file.
18659
18660 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
18661
18662         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18663         (do_children_tests): Assign values to the extra elements.
18664
18665         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18666         them for tests for "-var-update --no-values" and
18667         "-var-update --all-values".
18668         Add test for "-var-list-children --simple-values".
18669
18670         * gdb.mi/basics.c (callee4): Add integer array D[3]...
18671
18672         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18673         "-stack-list-locals --simple-values"  Improve doc strings and
18674         comments.
18675
18676 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
18677
18678         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18679         *-*-openbsd*.
18680         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18681
18682         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18683         sigaltsatck'.
18684
18685 2005-07-14  Bob Rossi  <bob@brasko.net>
18686
18687         * gdb.base/default.exp (tty): Changed output of command.
18688         * gdb.base/help.exp (help tty): Ditto.
18689
18690 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
18691
18692         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18693
18694 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
18695
18696         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18697         -stack-select-frame without arguments.
18698         (test_stack_frame_listing): Add test for newly implemented command
18699         -stack-info-frame.
18700
18701 2005-07-06  Bob Rossi  <bob@brasko.net>
18702
18703         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18704         command.
18705         (Copyright): Update copyright.
18706
18707 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
18708
18709         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18710         tests to evaluate exponentiation expression.
18711
18712 2005-06-29  Andreas Schwab  <schwab@suse.de>
18713
18714         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18715         main to avoid warnings.
18716
18717         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18718
18719 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
18720
18721         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18722         -stack-select-frame without arguments.
18723         (test_stack_frame_listing): Add test for newly implemented command
18724         -stack-info-frame.
18725
18726 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
18727
18728         * gdb.fortran/array-element.f: New file.
18729         * gdb.fortran/array-element.exp: New testcase.
18730
18731 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
18732
18733         * gdb.base/bigcore.exp: Correct checks for systems which can
18734         not dump a large core file.
18735
18736 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
18737
18738         * gdb.base/relocate.c: Add a copyright notice.
18739         (dummy): Remove.
18740         * gdb.base/relocate.exp: Test printing the values of variables
18741         from a relocatable file.
18742
18743 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
18744
18745         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18746         excess MI output after an error.
18747
18748 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
18749
18750         * gdb.arch/alpha-step.c: New file.
18751         * gdb.arch/alpha-step.exp: New testcase.
18752
18753 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
18754             Dennis Brueni  <dennis@slickedit.com>
18755
18756         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18757         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18758         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18759         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18760         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18761         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18762         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18763
18764 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
18765             Wu Zhou  <woodzltc@cn.ibm.com>
18766
18767         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
18768         IBM's xlc compiler.
18769         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18770         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18771
18772 2005-05-13  Jim Blandy  <jimb@redhat.com>
18773
18774         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18775         calling gdb_suppress_entire_file.
18776         * gdb.base/charset.exp: Same.
18777         * gdb.base/call-rt-st.exp: Same.
18778
18779 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
18780
18781         * lib/gdb.exp (fullname_syntax): Added global regex.
18782         (fullname_syntax_POSIX): Ditto.
18783         (fullname_syntax_UNC): Ditto.
18784         (fullname_syntax_DOS_CASE): Ditto.
18785         (fullname_syntax_DOS): Ditto.
18786         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18787         fullname_syntax variable to scope and use it.
18788         (test_file_list_exec_source_files): Ditto.
18789         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18790
18791 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
18792
18793         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18794
18795 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
18796
18797         * lib/gdb.exp (skip_altivec_tests): New function, based on
18798         check_vmx_hw_available from the GCC testsuite.
18799         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18800         * lib/gdb.arch/altivec-regs.exp: Likewise.
18801
18802 2005-05-02  Jim Blandy  <jimb@redhat.com>
18803
18804         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18805         calling gdb_suppress_entire_file.
18806
18807 2005-04-30  Randolph Chung  <tausq@debian.org>
18808
18809         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18810         Slightly relax "sem_post" name checking.
18811
18812 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
18813
18814         * gdb.base/unload.exp: Use new shared library infrastructure.
18815
18816 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
18817
18818         * gdb.base/so-impl-ld.exp: Use new shared library
18819         infrastructure.
18820
18821 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
18822
18823         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18824         * gdb.asm/h8300.inc: New file.
18825
18826 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
18827
18828         * gdb.base/shlib-call.exp: Change to use new shared library
18829         infrastructure.
18830
18831 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
18832
18833         * gdb.base/pending.exp: Change to use new shared library
18834         infrastructure.
18835
18836 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
18837
18838         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18839         use test_compiler_info instead of gcc_compiled, and update copyright.
18840
18841 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
18842
18843         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18844         shared objects being adjusted and update copyright years.
18845
18846 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
18847
18848         * ChangeLog: Correct some 2003-01-13 dates.
18849         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18850         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18851         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18852         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18853         gdb.trace/tfind.exp: Update copyright years.
18854
18855 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
18856             Daniel Jacobowitz  <dan@codesourcery.com>
18857
18858         * lib/gdb.exp (gdb_compile): Handle shlib=.
18859         (gdb_compile_shlib): New function.
18860
18861 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
18862
18863         * lib/gdb.exp (test_compiler_info): Give argument a default value.
18864
18865 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
18866
18867         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18868         gdb.server.
18869         * configure.ac: Likewise.
18870         * configure: Regenerated.
18871         * gdb.gdbserver/Makefile.in: Moved to...
18872         * gdb.server/Makefile.in: ... here.
18873         * gdb.gdbserver/server.c: Moved to...
18874         * gdb.server/server.c: ... here.
18875         * gdb.gdbserver/server-run.exp: Moved to...
18876         * gdb.server/server-run.exp: ... here.
18877
18878 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
18879
18880         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18881         * configure.ac: Create gdb.gdbserver/Makefile.
18882         * configure: Regenerated.
18883         * lib/gdbserver-support.exp: New file, derived from
18884         config/gdbserver.exp.
18885         * config/gdbserver.exp: Use gdbserver-support.exp.
18886         * gdb.gdbserver/Makefile.in: New file.
18887         * gdb.gdbserver/server.c: New file.
18888         * gdb.gdbserver/server-run.exp: New file.
18889
18890 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
18891
18892         * lib/gdb.exp (test_compiler_info): Return compiler_info
18893         if no arguments are given.
18894
18895 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
18896
18897         * gdb.arch/altivec-abi.exp: Check for compiler and set
18898         use altivec' flag accordingly.
18899         * gdb.arch/altivec-regs.exp: Likewise.
18900
18901 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
18902
18903         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18904
18905 2005-03-27  Andreas Schwab  <schwab@suse.de>
18906
18907         * gdb.base/bigcore.c (main): Add missing mode argument in open
18908         call.
18909
18910 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
18911
18912         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18913         downloads.
18914         * config/gdbserver.exp (gdb_load): Likewise.
18915
18916 2005-03-14  Paul Brook  <paul@codesourcery.com>
18917
18918         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18919         targets.
18920
18921 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
18922
18923         * gdb.dwarf2/dup-psym.S: New file.
18924         * gdb.dwarf2/dup-psym.exp: New testcase.
18925
18926 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
18927
18928         * gdb.ada/exec_changed/first.adb: New file.
18929         * gdb.ada/exec_changed/second.adb: New file.
18930         * gdb.ada/exec_changed.exp: New testcase.
18931
18932 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
18933
18934         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18935         (A2): New class.
18936         (main): Test operator+.
18937         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
18938         breakpoint test.
18939
18940         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18941         * gdb.base/signull.exp: Disable if gdb,nosignals.
18942         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18943         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18944         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18945         * gdb.mi/mi2-console.exp: Likewise.
18946         * gdb.trace/collection.exp (run_trace_experiment): Consume the
18947         continue output at start.
18948         (gdb_collect_locals_test): Robustify regexp.
18949         * gdb.trace/passc-dyn.exp: Fix comment typo.
18950         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18951
18952 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
18953
18954         * gdb.asm/asm-source.exp: Add iq2000 case.
18955         * gdb.asm/iq2000.inc: New file.
18956
18957 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
18958
18959         * gdb.base/command.exp: Change hardcoded value to regular expression.
18960         * gdb.base/float.exp: Add powerpc to the list of targets checked.
18961
18962 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
18963
18964         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
18965         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
18966         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
18967         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
18968         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
18969
18970 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
18971
18972         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
18973         changes.
18974
18975 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
18976
18977         * lib/compiler.c: Add test for IBM's xlc compiler.
18978         * lib/compiler.cc: Likewise.
18979
18980 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
18981
18982         * gdb.ada/fixed_points.exp: Create compilation object directory
18983         before running the test.
18984         * gdb.ada/null_record.exp: Likewise.
18985         * gdb.ada/packed_array.exp: Likewise.
18986         * gdb.ada/start.exp: Likewise.
18987
18988 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
18989
18990         * gdb.ada/packed_array/pa.adb: New file.
18991         * gdb.ada/packed_array.exp: New testcase.
18992
18993 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
18994
18995         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
18996         files.
18997
18998         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
18999         on *-*-openbsd*.  Correctly match whitespace in regukar
19000         expressions.
19001
19002 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
19003
19004         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19005         PR exp/1821
19006         * gdb.base/gdb1821.c: New test file.
19007         * gdb.base/gdb1821.exp: New test file.
19008
19009 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
19010
19011         * gdb.base/start.c: New file.
19012         * gdb.base/start.exp: New testcase.
19013
19014 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
19015
19016         * gdb.ada/start/dummy.adb: New file.
19017         * gdb.ada/start.exp: New testcase.
19018
19019 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
19020
19021         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19022         for printing symbols and statistics.
19023         Add test for using relative pathnames in "maint print msymbols" test.
19024         Mark "maint info sections DATA" XFAIL on Cygwin.
19025         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19026         tests.
19027
19028 2005-02-09  Andreas Schwab  <schwab@suse.de>
19029
19030         Committed by Andrew Cagney  <cagney@gnu.org>
19031         * gdb.base/remotetimeout.exp: New file.
19032
19033 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
19034
19035         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19036
19037 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
19038
19039         * gdb.ada/gnat_ada.gpr: New file.
19040         * gdb.ada/gnat_ada.gin: Delete, no longer used.
19041         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19042         * configure.ac: No longer generate gnat_ada.gpr.
19043         * configure: Regenerate.
19044         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19045         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19046         * gdb.ada/null_record/bar.ads: Likewise.
19047         * gdb.ada/null_record/bar.adb: Likewise.
19048         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19049         * gdb.ada/null_record.exp (testdir): New variable.
19050         (testfile): executable is now in testdir subdirectory.
19051         (srcfile): Use full path to the main compilation unit.
19052         * gdb.ada/fixed_points.exp: Same changes as above.
19053
19054 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
19055
19056         * gdb.base/interp.exp: New test.
19057
19058 2005-01-24  Andrew Cagney  <cagney@gnu.org>
19059
19060         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19061
19062 2005-01-19  Andrew Cagney  <cagney@gnu.org>
19063
19064         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19065         configure.ac not configure.in.
19066
19067         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19068         of powerpc*-*-*.
19069         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19070         * gdb.base/list.exp (test_list_function)
19071         (test_list_filename_and_function): Ditto.
19072         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19073
19074 2005-01-16  Andrew Cagney  <cagney@gnu.org>
19075
19076         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19077
19078         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19079
19080 2005-01-14  Andrew Cagney  <cagney@gnu.org>
19081
19082         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19083         * gdb.mi/mi2-var-cmd.exp: Ditto.
19084
19085 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
19086
19087         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19088
19089 2005-01-07  Andrew Cagney  <cagney@gnu.org>
19090
19091         * configure.ac: Rename configure.in, require autoconf 2.59.
19092         * configure: Re-generate.
19093         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19094         * gdb.stabs/configure: Re-generate.
19095         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19096         * gdb.hp/configure: Re-generate.
19097         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19098         autoconf 2.59.
19099         * gdb.hp/gdb.objdbg/configure: Re-generate.
19100         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19101         autoconf 2.59.
19102         * gdb.hp/gdb.defects/configure: Re-generate.
19103         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19104         autoconf 2.59.
19105         * gdb.hp/gdb.compat/configure: Re-generate.
19106         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19107         autoconf 2.59.
19108         * gdb.hp/gdb.base-hp/configure: Re-generate.
19109         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19110         autoconf 2.59.
19111         * gdb.hp/gdb.aCC/configure: Re-generate.
19112
19113 2004-12-15  Jim Blandy  <jimb@redhat.com>
19114
19115         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19116         under NPTL when there is debugging info available for libpthread.
19117
19118 2004-12-13  Jerome Guitton  <guitton@gnat.com>
19119
19120         * gdb.ada/fixed_points.c: New file.
19121         * gdb.ada/fixed_points.exp: New file.
19122
19123 2004-12-03  Randolph Chung  <tausq@debian.org>
19124
19125         * gdb.arch/pa-nullify.exp: New file.
19126         * gdb.arch/pa-nullify.s: New file.
19127
19128 2004-11-30  Randolph Chung  <tausq@debian.org>
19129
19130         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19131         instead of "tbug".  Fix regexp to work properly with gdb_test.
19132
19133 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
19134
19135         * gdb.base/bitfields2.exp: New test.
19136         * gdb.base/bitfields2.c: New file.
19137
19138 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
19139
19140         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19141
19142 2004-11-16  Randolph Chung  <tausq@debian.org>
19143
19144         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19145
19146 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
19147
19148         * gdb.threads/threadapply.exp: Correct "macro details" test.
19149
19150 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
19151
19152         * gdb.threads/threadapply.exp: New test.
19153         * gdb.threads/threadapply.c: New file.
19154
19155 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
19156
19157         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19158         frames.
19159
19160 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
19161
19162         * gdb.base/cursal.exp: New file.
19163         * gdb.base/cursal.c: New file.
19164
19165 2004-11-03  Andrew Cagney  <cagney@gnu.org>
19166
19167         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19168
19169 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
19170
19171         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19172         NetBSD/ELF targets.
19173
19174 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
19175
19176         * gdb.threads/bp_in_thread.c: New file, copied from
19177         pthread_cond_wait.c.
19178         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19179         file, rather than reusing the .c file from another testcase.
19180
19181 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
19182
19183         * gdb.ada/null_record.exp: Check where we stopped after
19184         sending the start command, instead of where the associated
19185         temporary breakpoint was inserted.
19186
19187 2004-10-14  Andrew Cagney  <cagney@gnu.org>
19188
19189         * gdb.mi/gdb701.c (main): Return 0.
19190
19191 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
19192
19193         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19194
19195 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
19196
19197         * gdb.threads/schedlock.c: Add comment markers to use to find
19198         line numbers.
19199         * gdb.threads/schedlock.exp: Adjust regex to handle the new
19200         comments.
19201         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19202         breakpoint lines.
19203
19204 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
19205
19206         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19207
19208 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
19209
19210         * configure.in: Add gdb.dwarf2.
19211         * configure: Regenerated.
19212         * Makefile.in: Add gdb.dwarf2.
19213         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19214         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19215         gdb.dwarf2/file1.txt: New files.
19216
19217 2004-10-11  Orjan Friberg  <orjanf@axis.com>
19218
19219         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19220         of "run", since the latter doesn't work with remote targets.  Adjust
19221         the breakpoint numbering accordingly.
19222         * gdb.threads/pthread_cond_wait.exp: Ditto.
19223
19224 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
19225
19226         * gdb.base/overlays.exp: Update copyright years.
19227
19228 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
19229
19230         * gdb.base/overlays.exp: Disable if target is Linux.
19231
19232 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
19233
19234         * config/gdbserver.exp (gdb_load): Use right filename on remote.
19235
19236 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
19237
19238         * gdb.asm/asm-source.exp: Add m32r-linux target.
19239         * gdb.asm/m32r-linux.inc: New file.
19240
19241 2004-09-24  Andrew Cagney  <cagney@redhat.com>
19242             David Anderson <anderson@redhat.com>
19243
19244         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19245         command fails, assume things will work.
19246         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19247         (_GNU_SOURCE): Define.
19248         (print_unsigned, print_hex): Change parameter to "long long".
19249         (print_byte_count): New function, use to print byte counts.
19250         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19251         O_LARGEFILE.
19252         (main): Compute an upper bound on a corefile in max_core_size.
19253         Limit memory chunk size to max_core_size.  Limit total memory
19254         allocated to max_core_size.
19255
19256 2004-09-23  Andrew Cagney  <cagney@gnu.org>
19257
19258         * gdb.base/bigcore.exp: Replace the code that creates a corefile
19259         from a separate process with code that creates a corefile by
19260         making the inferior dump core.
19261
19262 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
19263
19264         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19265         block.
19266
19267 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
19268
19269         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19270         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
19271         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19272         Likewise.
19273
19274 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
19275
19276         * gdb.java/jprint.exp: New test case for java inferior call.
19277         * gdb.java/jprint.java: Ditto.
19278
19279 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
19280
19281         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19282
19283 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
19284
19285         * gdb.threads/killed.c: Include <stdlib.h>.
19286         * gdb.threads/pthreads.c: Likewise.
19287
19288 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
19289
19290         * gdb.threads/killed.c: Add copyright notice.
19291
19292 2004-09-10  Jason Molenda  (jmolenda@apple.com)
19293
19294         * gdb.base/define.exp: Two new tests to verify zero space chars
19295         after 'if' and 'while' commands in a user-defined command is correctly
19296         parsed.
19297
19298 2004-09-08  Andrew Cagney  <cagney@gnu.org>
19299
19300         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
19301         delivery test with duplicate at end of file.
19302
19303 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
19304
19305         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19306
19307 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
19308
19309         * config/hppro.exp: Removed.
19310
19311 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
19312
19313         * config/sparclet.exp: Removed.
19314
19315 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
19316
19317         * config/udi.exp: Removed.
19318
19319 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
19320
19321         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19322         of "exp_continue".
19323         (advancei): Likewise.
19324
19325 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
19326
19327         * gdb.base/unload.exp: Fix so messages aren't duplicated.
19328
19329 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
19330
19331         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19332         to check for nodebug in executable.
19333         * gdb.gdb/observer.exp (setup_test): Likewise.
19334         * gdb.gdb/selftest.exp (test_with_self): Likewise.
19335         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19336
19337 2004-09-01  Andrew Cagney  <cagney@gnu.org>
19338
19339         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19340         files.
19341
19342 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
19343
19344         * gdb.base/unload.exp: Fix expected warning message to match
19345         latest format.
19346
19347 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
19348
19349         * gdb.base/call-rt-st.exp: Fix typos.
19350
19351 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
19352
19353         * gdb.threads/thread_check.exp: New testcase.
19354         * gdb.threads/thread_check.c: New testcase.
19355
19356 2004-08-31  Andrew Cagney  <cagney@gnu.org>
19357
19358         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19359         (skip_to_handler_entry): New procedures.  Test stepping into a
19360         handler when the breakpoint is at the handler's entry point.
19361
19362 2004-08-30  Andrew Cagney  <cagney@gnu.org>
19363
19364         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19365         gdb/1757.
19366
19367 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
19368
19369         With code from Manoj Iyer <manjo@austin.ibm.com>:
19370         * lib/gdb.exp (gdb_file_cmd): Return more information in the
19371         return value.  Add an arm for "no debugging symbols found".
19372         Change a stray "error" to "perror".
19373         (gdb_run_cmd): Adapt to new return value.
19374         * gdb.base/remote.exp: Adapt to new return value.
19375         * gdb.gdb/complaints.exp: Likewise.
19376         * gdb.gdb/observer.exp: Likewise.
19377         * gdb.gdb/selftest.exp: Likewise.
19378         * gdb.gdb/xfullpath.exp: Likewise.
19379
19380 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
19381
19382         * gdb.threads/bp_in_thread.exp: New testcase.
19383
19384 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
19385
19386         Fix PR testsuite/1735.
19387         * gdb.threads/schedlock.c (thread_function): Add a cast
19388         to suppress a gcc warning.
19389         * gdb.threads/thread-specific.c (thread_function): Likewise.
19390
19391 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19392
19393         * gdb.base/unload.c: Include <stdlib.h>.
19394
19395 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19396
19397         From Paul Gilliam <pgilliam@us.ibm.com>:
19398         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19399         synchronized after the "return".
19400
19401 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19402
19403         * gdb.mi/basics.c: Include <stdio.h>.
19404         * gdb.mi/pthreads.c: Include <stdlib.h>.
19405         * gdb.mi/var-cmd.c: Include <stdlib.h>.
19406
19407 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19408
19409         * gdb.threads/schedlock.c: Add copyright notice.
19410
19411 2004-08-25  Andrew Cagney  <cagney@gnu.org>
19412
19413         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19414         (skip_over_handler, breakpoint_over_hander): New test procedures.
19415         (advance, advancei): Add a proper prefix, do not use
19416         rerun_to_main.
19417         * gdb.base/sigstep.c (main): Change to use an infinite loop.
19418
19419 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
19420
19421         * gdb.mi/basics.c: Add copyright notice.
19422         * gdb.mi/var-cmd.c: Add copyright notice.
19423
19424 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
19425
19426         * lib/gdb.exp: Remove signed_keyword_not_used.
19427         * lib/compiler.c: Likewise.
19428         * lib/compiler.cc: Likewise.
19429
19430 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
19431
19432         * gdb.base/whatis.c: Remove conditional disabling of "signed".
19433         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19434
19435 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
19436
19437         * gdb.base/whatis.c: Add copyright notice.
19438
19439 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
19440
19441         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
19442         it to skip the breakpoints encoded in the inline assembly.
19443
19444 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
19445
19446         * Makefile.in: Add gdb.fortran.
19447
19448 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
19449
19450         * gdb.base/call-sc.exp (test_scalar_returns):
19451         Fix cut-and-paste glitch in "Make fun return now".
19452
19453 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
19454
19455         * configure.in: Add gdb.fortran.
19456         * configure: Regenerate.
19457         * gdb.fortran/Makefile.in: New file.
19458         * lib/gdb.exp (skip_fortran_tests): New procedure.
19459
19460 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
19461
19462         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
19463         reference to bug-gnu@prep.ai.mit.edu.
19464         * gdb.mi/mi-var-child.exp: Likewise.
19465         * gdb.mi/mi-var-cmd.exp: Likewise.
19466         * gdb.mi/mi-var-display.exp: Likewise.
19467         * gdb.mi/mi2-var-block.exp: Likewise.
19468         * gdb.mi/mi2-var-child.exp: Likewise.
19469         * gdb.mi/mi2-var-cmd.exp: Likewise.
19470         * gdb.mi/mi2-var-display.exp: Likewise.
19471
19472 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
19473
19474         * gdb.base/unload.c (main): Make local variable msg const.
19475
19476 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
19477
19478         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
19479         to bug-gnu@prep.ai.mit.edu.
19480         * gdb.mi/mi-disassemble.exp: Likewise.
19481         * gdb.mi/mi-eval.exp: Likewise.
19482         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
19483         default line number.
19484         * gdb.mi/mi-return.exp: Likewise.
19485         * gdb.mi/mi-simplerun.exp: Likewise.
19486         * gdb.mi/mi-stack.exp: Likewise.
19487         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
19488         number with explicit range test.
19489         * gdb.mi/mi-watch.exp: Likewise.
19490         * gdb.mi/mi2-break.exp: Likewise.
19491         * gdb.mi/mi2-cli.exp: Likewise.
19492         * gdb.mi/mi2-disassemble.exp: Likewise.
19493         * gdb.mi/mi2-eval.exp: Likewise.
19494         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
19495         default line number.
19496         * gdb.mi/mi2-return.exp: Likewise.
19497         * gdb.mi/mi2-simplerun.exp: Likewise.
19498         * gdb.mi/mi2-stack.exp: Likewise.
19499         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
19500         number with explicit range test.
19501         * gdb.mi/mi2-watch.exp: Likewise.
19502
19503 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
19504
19505         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19506         * gdb.cp/m-static.exp: Likewise.
19507         * gdb.cp/rtti.exp: Likewise.
19508
19509 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
19510
19511         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19512
19513 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
19514
19515         * ChangeLog: Prefix Local Variables with semi-colons and indent
19516         the reference to older ChangeLog files, to fix fontification in
19517         Emacs.
19518
19519 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19520
19521         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19522         * gdb.mi/mi2-break.exp: Likewise.
19523
19524 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19525
19526         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19527
19528 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19529
19530         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19531
19532 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19533
19534         * gdb.cp/classes.exp: Remove unused declarations.  Just let
19535         test names default instead of providing special names.  Remove
19536         extraneous demangler test.
19537
19538 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
19539
19540         * gdb.base/unload.exp: New test for breakpoints in dynamically
19541         loaded libraries.
19542         * gdb.base/unload.c: Ditto.
19543         * gdb.base/unloadshr.c: Ditto.
19544
19545 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
19546
19547         * gdb.cp/classes.exp (test_ptype_class_objects): Call
19548         cp_test_ptype_class.
19549         (test_enums): Likewise.
19550
19551 2004-08-10  Andrew Cagney  <cagney@gnu.org>
19552
19553         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19554         files.
19555
19556 2004-08-10  Andrew Cagney  <cagney@gnu.org>
19557
19558         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19559         init_malloc call.
19560
19561 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
19562
19563         * ChangeLog: Add copyright notice.  The notice is copied
19564         from emacs 21.3 top level ChangeLog.
19565
19566 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19567
19568         * lib/cp-support.exp: New file.
19569         * lib/cp-support.exp (cp_test_type_class): New function.
19570         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19571         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19572         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19573         cp_test_ptype_class.
19574
19575 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19576
19577         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19578         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19579         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19580         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19581         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19582         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19583         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19584         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19585         gdb.mi/mi2-watch.exp: Update copyright years.
19586
19587 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
19588
19589         * gdb.base/sigaltstack.exp: Provide proper anchoring.
19590
19591 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19592
19593         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19594         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19595         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19596         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19597         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19598         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19599         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19600         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19601         gdb.mi/mi-watch.exp: Update copyright years.
19602
19603 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19604
19605         PR gdb/1738
19606         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19607         from a breakpoint with a pending signal.
19608
19609 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19610
19611         PR gdb/1736
19612         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19613         * gdb.base/sigaltstack.exp (finish_test): Consume output until
19614         the prompt.
19615         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19616
19617 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19618
19619         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19620
19621 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19622
19623         PR gdb/1736
19624         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
19625         for i?86-*-linux*.
19626
19627 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19628
19629         * gdb.arch/i386-prologue.exp: Compile without debug information.
19630
19631 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
19632
19633         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19634         rather than asking gdb to search.
19635
19636 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19637
19638         * gdb.base/gcore.c: Include <string.h>.
19639
19640 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19641
19642         * gdb.base/gcore.c: Add copyright notice.
19643
19644 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19645
19646         * gdb.base/freebpcmd.c: Include <stdio.h>.
19647         * gdb.base/long_long.c: Include <string.h>.
19648         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19649         * gdb.base/siginfo.c: Include <string.h>.
19650         * gdb.base/sigstep.c: Include <string.h>.
19651
19652 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19653
19654         * gdb.base/complex.c: Include <stdlib.h>.
19655
19656 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19657
19658         * gdb.base/complex.c: Add copyright notice.
19659
19660 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19661
19662         * gdb.base/charset.c: Include <stdlib.h>.
19663
19664 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19665
19666         * gdb.base/auxv.c: Include <stdlib.h>.
19667
19668 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19669
19670         * gdb.base/auxv.c: Add copyright notice.
19671
19672 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19673
19674         * gdb.base/coremaker.c: Add copyright notice.
19675         * gdb.base/coremaker2.c: Add copyright notice.
19676
19677 2004-08-04  Andrew Cagney  <cagney@gnu.org>
19678
19679         * gdb.base/store.exp: Update copyright.
19680         (check_set, up_set, check_struct, up_struct): Add a prefix to test
19681         names, do not import gdb_prompt.
19682
19683 2004-08-01  Andrew Cagney  <cagney@gnu.org>
19684
19685         Fix PR testsuite/1729.
19686         * gdb.base/dump.exp: Add test name to callers of capture_value, do
19687         not use capture_value with value 4.
19688         (capture_value): Add optional test name parameter.
19689         (test_reload_saved_value, test_restore_saved_value): Use $msg as
19690         the prefix, pass to capture_value.
19691
19692 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
19693
19694         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19695         * gdb.arch/i386-prologue.c (standard): New prototype and function.
19696         (main): Call new function.
19697
19698 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19699
19700         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19701
19702 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19703
19704         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19705
19706 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19707
19708         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19709         Accept more values of vtbl pointer.  Remove some messages
19710         about "obsolete gcc or gdb".
19711
19712 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
19713
19714         * gdb.cp/classes.exp: Accept more varieties of ptype output.
19715
19716 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
19717
19718         * gdb.base/asm-source.exp: Properly convert target board
19719         debug flags from gcc format to binutils format.
19720
19721 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
19722
19723         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19724         gdb1718".  PR backtrace/1718 partially fixed.
19725
19726 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
19727
19728         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19729
19730 2004-07-26  Nick Clifton  <nickc@redhat.com>
19731
19732         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
19733         good default value for a specific architecture is available then
19734         set it to that value.  Otherwise default to the -gstabs switch.
19735         Remove the -g... switches from the asm-flags variable.  Allow the
19736         target board info to override the value if it wants to.  Pass the
19737         switch on the assembler command line.
19738
19739 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
19740
19741         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19742         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19743         (main): Call new function.
19744
19745 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
19746
19747         Test for PR exp/1715.
19748         * gdb.base/radix.exp: Refactor common procedures.  Make all
19749         test names unique.  Change XFAIL to KFAIL.
19750
19751 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
19752
19753         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19754         * gdb.ada/gnat_ada.gin: ... to here.
19755         * configure.in: Use gnat_ada.gin.
19756         * configure: Regenerate.
19757
19758 2004-07-20  Andrew Cagney  <cagney@gnu.org>
19759
19760         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19761         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
19762         XFAILs.  Clean up test messages and comments.  Check backtraces.
19763         Delete re-sync code.
19764
19765 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
19766
19767         Fix PR cli/740.
19768         * gdb.base/annota1.exp: Honor gdb,nosignals.
19769         * gdb.base/annota3.exp: Likewise.
19770
19771 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
19772
19773         * lib/java.exp: Update copyright notice.
19774
19775 2004-07-19  Andrew Cagney  <cagney@gnu.org>
19776
19777         * gdb.base/selftest.exp: Copy file from here ...
19778         * gdb.gdb/selftest.exp: ... to here.
19779
19780 2004-07-16  Andrew Cagney  <cagney@redhat.com>
19781
19782         * lib/insight-support.exp: Delete file.
19783         * lib/java.exp (java_init): Fix copyright.
19784
19785 2004-07-16  Andrew Cagney  <cagney@gnu.org>
19786
19787         * gdb.base/restore.c: Append "prologue" to comments marking the a
19788         function's prologue.
19789         * gdb.base/restore.exp: Update copyright, re-indent.
19790         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
19791         callerN" prefix where needed.  Update patterns that match a
19792         function's prologue.
19793
19794 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
19795
19796         * gdb.base/restore.c: Add copyright notice.
19797
19798 2004-07-16  Andrew Cagney  <cagney@gnu.org>
19799
19800         * gdb.base/logical.exp: Update copyright.
19801         (evaluate): New procedure.  Use to re-implement tests using
19802         several tables.
19803
19804 2004-07-14  Martin Hunt  <hunt@redhat.com>
19805
19806         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19807         which fixes some problems where init.tcl was not found.
19808
19809 2004-07-13  Andrew Cagney  <cagney@gnu.org>
19810
19811         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19812         (check_sizeof, check_valueof): Do not include the output in the
19813         test name.  Use gdb_test.
19814         (get_valueof): Use gdb_test_multiple.
19815
19816         * gdb.base/step-test.exp: Update copyright.  Use
19817         gdb_test_multiple.  Ensure that test names do not include
19818         architecture dependent output.
19819
19820         * gdb.gdb/observer.exp: Update copyright.
19821         (setup_test): Use gdb_test_multiple.
19822         (attach_first_observer, attach_second_observer)
19823         (attach_third_observer, detach_first_observer)
19824         (detach_second_observer, detach_third_observer)
19825         (reset_counters, check_counters): Make $message a prefix.
19826         (test_normal_stop_notifications): Add "args" parameter - a list of
19827         init functions to be called.  Make $message a prefix,
19828         (test_observer_normal_stop): Change the message prefixes so that
19829         they are unique, pass the attach / detach procedures to
19830         test_normal_stop_notifications.
19831
19832         * gdb.base/signull.exp (test_segv): Prefix all tests with
19833         "${name}".  Clean up test messages.
19834
19835         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19836
19837         * gdb.base/ena-dis-br.exp: Update copyright.
19838         (break_at): New function.  Replace send_gdb with gdb_test,
19839         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
19840         ignore count, not stopped at bpt", with KFAIL.
19841
19842 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
19843
19844         * gdb.base/attach.exp: Remove cleanupfile handling.
19845
19846 2004-07-12  Andrew Cagney  <cagney@gnu.org>
19847
19848         * gdb.base/annota1.exp: Cleanup corefile test name.
19849         * gdb.base/annota3.exp: Ditto.
19850
19851 2004-07-12  Andrew Cagney  <cagney@gnu.org>
19852
19853         * gdb.base/signals.exp: Clean up copyright, re-indent.
19854
19855         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19856         gdb_test and gdb_test_multiple.
19857
19858 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
19859
19860         * gdb.java/jmain.exp: Fix expected line number for main to
19861         break at.  Set XFAIL for break at main test since gcj does not
19862         provide line number info for first statement in main.
19863
19864 2004-07-08  Andrew Cagney  <cagney@gnu.org>
19865
19866         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
19867
19868         * gdb.base/sigbpt.exp: Make the common part of each test name a
19869         prefix instead of suffix.
19870
19871 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
19872
19873         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19874         test from test_tbreak_creation_and_listing to
19875         test_file_list_exec_source_file
19876         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19877         Changed name of test from test_tbreak_creation_and_listing to
19878         test_file_list_exec_source_file
19879
19880 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
19881
19882         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19883         the jmisc() constructor instead of <init>.
19884         * gdb.java/jmisc1.exp: Ditto.
19885
19886 2004-07-07  Andrew Cagney  <cagney@gnu.org>
19887
19888         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19889         corrupting the PC.
19890
19891 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
19892
19893         * gdb.cp/templates.exp: Accept whitespace change in demangler
19894         output.
19895
19896 2004-07-06  Andrew Cagney  <cagney@gnu.org>
19897
19898         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19899
19900 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
19901
19902         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19903         * lib/compiler.cc: Likewise.
19904
19905 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
19906
19907         * lib/compiler.cc: Work around string preprocessing problem
19908         with old hp c++ compiler.
19909         * lib/compiler.c: Likewise.
19910
19911 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
19912
19913         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
19914         directives to conditionalize symbol prefixing.
19915         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19916         additional_flags handling.  Add underscore prefix for Cygwin.
19917         * gdb.arch/i386-unwind.c: Use preprocessor directives to
19918         conditionalize symbol prefixing.
19919         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19920         additional_flags handling.  Add underscore prefix for Cygwin.
19921
19922 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
19923
19924         * gdb.base/bigcore.exp: Skip test on Cygwin.
19925
19926 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
19927
19928         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19929         formats for "info register".  Use gdb_test_multiple.  Fix
19930         the "invalid register" test.
19931
19932 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
19933
19934         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
19935         PID for Cygwin.  Add Cygwin specific strings to check for in some
19936         tests.
19937         (do_attach_tests): Add a test for user interaction when attaching
19938         to a process with no matching symbol table already loaded.
19939
19940 2004-06-26  Andrew Cagney  <cagney@gnu.org>
19941
19942         Test PR java/1567 and PR java/1565.
19943         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19944         * gdb.java/jmisc2.exp: Delete file.
19945
19946 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
19947
19948         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19949
19950 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
19951
19952         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
19953         attach process.
19954
19955 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
19956
19957         * gdb.cp/pr-1553.exp: Remove.
19958
19959 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
19960
19961         * gdb.cp/pr-1553.cc: Remove.
19962         * gdb.cp/pr-1553.exp: Disable this test.
19963
19964 2004-06-20  Jim Blandy  <jimb@redhat.com>
19965
19966         Fix PR testsuite/1680.
19967         * gdb.arch/i386-sse.exp: Properly quote curly braces in
19968         regular expressions.
19969
19970 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
19971
19972         Fix PR testsuite/1679.
19973         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
19974         Issue an UNSUPPORTED result instead.
19975
19976 2004-06-18  Jim Blandy  <jimb@redhat.com>
19977
19978         * gdb.base/charset.exp: Only send a control-C if we see a new
19979         prompt and incomplete command.
19980
19981 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
19982
19983         * gdb.cp/pr-574.cc: Add copyright notice.
19984
19985 2004-06-17  Jim Blandy  <jimb@redhat.com>
19986
19987         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
19988         cases where the regexp has no groups; this grabs random text from
19989         the previous test suite, whatever that was.
19990
19991 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
19992
19993         * gdb.cp/printmethod.cc: Add copyright notice.
19994
19995 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
19996
19997         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
19998
19999 2004-06-16  Andrew Cagney  <cagney@gnu.org>
20000
20001         * gdb.base/signull.c: Update copyright.  Include <string.h>.
20002         (bowler): Replace data_pointer with data_read
20003         and data_write cases.  Add code_descriptor case.
20004         (zero, desc): New array and pointer.
20005         (data, code): Change to simple pointers.
20006         * gdb.base/signull.exp: Fix probe pattern matching a function
20007         descriptor SIGSEGV.  Replace data_pointer with data_read and
20008         data_write tests.
20009
20010 2004-06-16  Andrew Cagney  <cagney@gnu.org>
20011
20012         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20013
20014 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
20015
20016         * gdb.base/long_long.c: Add copyright notice.
20017
20018 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
20019
20020         * gdb.base/long_long.exp: Remove reference to
20021         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
20022         to gdb_breakpoint and gdb_continue_to_breakpoint.
20023
20024 2004-06-14  Jim Blandy  <jimb@redhat.com>
20025
20026         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20027         endian case.
20028
20029 2004-06-14  Andrew Cagney  <cagney@gnu.org>
20030
20031         * gdb.base/gcore.exp (capture_command_output): Delete the always
20032         passing tests containing inferior values.
20033         * gdb.base/ending-run.exp: Do not include the breakpoint address
20034         in the test message.  Update copyright.
20035         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20036         size in the test name, use gdb_test_multiple.  Update copyright.
20037
20038 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
20039
20040         * gdb.cp/ref-types.cc: Add copyright notice.
20041
20042 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
20043
20044         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20045         hp_aCC_compiler.
20046         * lib/compiler.cc: Likewise.
20047         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20048         'set' commands.  Log diagnostics for other lines.  Set
20049         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20050
20051 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
20052
20053         * gdb.cp/try_catch.cc: Add copyright notice.
20054
20055 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
20056
20057         * gdb.cp/userdef.cc: Add copyright notice.
20058
20059 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
20060
20061         * gdb.cp/virtfunc.cc: Add copyright notice.
20062
20063 2004-06-11  Randolph Chung  <tausq@debian.org>
20064
20065         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20066         problem.
20067
20068 2004-06-10  Andrew Cagney  <cagney@gnu.org>
20069
20070         * lib/compiler.cc, lib/compiler.c: Append either
20071         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20072         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20073         instead of gcc-3-3.
20074
20075 2004-06-09  Andrew Cagney  <cagney@gnu.org>
20076
20077         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20078         gdb/1455, bug is specific to "long long" and "double".
20079
20080         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20081         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20082         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
20083         fixed.
20084
20085 2004-06-09  Andrew Cagney  <cagney@gnu.org>
20086
20087         * gdb.base/structs.exp (test_struct_returns): Replace
20088         "return_value_unknown" and "finish_value_unknown" by
20089         "return_value_known" and "finish_value_known".  Instead of
20090         "return_value_unknown" iff "finish_value_unknown", check
20091         "return_value_known" implies "finish_value_known".
20092
20093 2004-06-08  Martin Hunt  <hunt@redhat.com>
20094
20095         * gdb.base/float.exp: Add pattern for mips targets.
20096
20097 2004-06-08  Randolph Chung  <tausq@debian.org>
20098
20099         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20100         message for unknown architectures more clear.
20101
20102 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
20103
20104         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20105         start the execution of the program.
20106
20107 2004-06-07  Jim Blandy  <jimb@redhat.com>
20108
20109         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20110         * gdb.arch/i386-cpuid.h: New helper file.
20111
20112 2004-06-07  Randolph Chung  <tausq@debian.org>
20113
20114         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20115         has started.
20116
20117 2004-06-04  Roland McGrath  <roland@redhat.com>
20118
20119         Fix PR gdb/1647.
20120         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20121         differently to be robust to output buffering differences.
20122
20123 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
20124
20125         * gdb.threads/pthreads.exp: Update copyright years.
20126         (check_control_c): Change asynchronous 'after' to synchronous.
20127
20128 2004-06-04  Roland McGrath  <roland@redhat.com>
20129
20130         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20131         next gdb prompt.
20132
20133 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
20134
20135         Fix PR gdb/1636.
20136         * gdb.threads/manythreads.exp: Change asynchronous 'after'
20137         calls to synchronous.
20138
20139 2004-05-26  Jim Blandy  <jimb@redhat.com>
20140
20141         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20142
20143 2004-05-24  Randolph Chung  <tausq@debian.org>
20144
20145         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20146         * gdb.asm/pa.inc: New file.
20147
20148 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
20149
20150         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20151
20152 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
20153             Daniel Jacobowitz  <drow@mvista.com>
20154
20155         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20156         GDB prompt.
20157
20158 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20159
20160         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20161         setjmp/longjmp.  Use sigaction instead of signal.
20162
20163 2004-05-19  J. Brobecker  <brobecker@gnat.com>
20164             Michael Snyder  <msnyder@redhat.com>
20165
20166         * gdb.threads/pthread_cond_wait.c: New file.
20167         * gdb.threads/pthread_cond_wait.exp: New testcase.
20168
20169 2004-05-13  Andrew Cagney  <cagney@redhat.com>
20170
20171         * gdb.base/signull.exp, gdb.base/signull.c: New files.
20172         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20173
20174 2004-05-11  Andrew Cagney  <cagney@redhat.com>
20175
20176         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
20177         fixed but revealed gdb/1639.
20178
20179 2004-05-10  Andrew Cagney  <cagney@redhat.com>
20180
20181         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20182         func1" and "next to 2nd alarm", kernel bug avoided.
20183
20184 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
20185
20186         PR external/1568
20187         * gdb.base/bigcore.exp: Check the size of the dumped core file.
20188         XFAIL if it is smaller than bytes_allocated.
20189         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20190         (main): Make chunks_allocated unsigned.  Correct comment.
20191
20192 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
20193
20194         * gdb.arch/powerpc-aix-prologue.c: New file.
20195         * gdb.arch/powerpc-aix-prologue.exp: New file.
20196
20197 2004-05-07  Jim Blandy  <jimb@redhat.com>
20198
20199         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20200         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20201
20202 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
20203
20204         * gdb.base/sep.exp: No longer setup_kfail when the program was
20205         built with dwarf2.
20206
20207 2004-05-05  Jim Ingham  <jingham@apple.com>
20208
20209         * gdb.base/pending.exp: Make sure pending breakpoints
20210         preserve the ignore count.
20211
20212 2004-04-27  Jerome Guitton  <guitton@gnat.com>
20213
20214         * i386-prologue.exp: Add testcase for jump instruction as first
20215         instruction of the real code.
20216         * i386-prologue.c (jump_at_beginning): New function.
20217
20218 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
20219
20220         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20221         x86_64-*-*.
20222
20223 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
20224
20225         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20226         i*86-*-*.
20227
20228 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
20229
20230         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20231         expression that checks the return type.
20232
20233 2004-04-23  Andrew Cagney  <cagney@redhat.com>
20234
20235         * gdb.base/call-sc.exp: New test of scalar call/return values.
20236         * gdb.base/call-sc.c: Ditto.
20237
20238 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20239
20240         * gdb.threads/manythreads.c: Reduce thread stack size.
20241
20242 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
20243
20244         * gdb.threads/manythreads.c: Add copyright notice.
20245
20246 2004-04-23  Andrew Cagney  <cagney@redhat.com>
20247
20248         * gdb.base/siginfo.exp: Better handle step out of signal.
20249         * gdb.base/sigstep.exp: Ditto.
20250
20251 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
20252             Daniel Jacobowitz  <drow@mvista.com>
20253
20254         * gdb.threads/manythreads.c: New testcase.
20255         * gdb.threads/manythreads.exp: Ditto.
20256
20257 2004-04-22  Jim Blandy  <jimb@redhat.com>
20258
20259         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20260         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20261
20262 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
20263
20264         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20265
20266 2004-04-21  Andrew Cagney  <cagney@redhat.com>
20267
20268         * gdb.base/sigstep.c: New file.
20269         * gdb.base/sigstep.exp: New file.
20270
20271 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
20272
20273         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20274         call to observer_notify_normal_stop.
20275
20276 2004-04-15  Andrew Cagney  <cagney@redhat.com>
20277
20278         * gdb.base/siginfo.c: New file.
20279         * gdb.base/siginfo.exp: New file.
20280
20281 2004-04-12  J. Brobecker  <brobecker@gnat.com>
20282
20283         * gdb.base/sep.exp: Fix typo in comment.
20284
20285 2004-04-12  J. Brobecker  <brobecker@gnat.com>
20286
20287         * gdb.base/sep.c: New file.
20288         * gdb.base/sep-proc.c: New file.
20289         * gdb.base/sep.exp: New testcase.
20290
20291 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
20292
20293         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20294         support.
20295
20296 2004-04-05  Andrew Cagney  <cagney@redhat.com>
20297
20298         * gdb.base/sigaltstack.c: New file.
20299         * gdb.base/sigaltstack.exp: New file.
20300
20301 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
20302
20303         * gdb.base/foll-fork.exp: Update the expected output for
20304         "help set follow-fork-mode", to match a change that was made
20305         to the help of this variable on 2004-01-13.
20306
20307 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
20308
20309         * lib/ada.exp: Add copyright notice.
20310         * bar.ads: Likewise.
20311         * bar.adb: Likewise.
20312         * null_record.adb: Likewise.
20313         * null_record.exp: Likewise.
20314         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20315
20316 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
20317
20318         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20319         * configure: Regenerate.
20320
20321 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
20322
20323         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20324         to build the application. Remove the message printed when in
20325         verbose mode, redundant with the UNSUPPORTED message above.
20326
20327 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20328
20329         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20330         * gdb.ada (null_record.exp): New testcase.
20331
20332 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20333
20334         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20335
20336 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20337
20338         * gdb.ada: New subdirectory.
20339         * gdb.ada/Makefile.in: New file.
20340         * gdb.ada/gnat_ada.gpr.in: New file.
20341
20342 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20343
20344         * lib/ada.exp: New file.
20345
20346 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
20347
20348         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20349         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20350
20351 2004-03-22  Andrew Cagney  <cagney@redhat.com>
20352
20353         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20354         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20355         Problem identified by Ulrich Weigand.
20356
20357 2004-03-17  David Carlton  <carlton@kealia.com>
20358
20359         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20360         PR c++/826.
20361
20362 2004-03-16  Roland McGrath  <roland@redhat.com>
20363
20364         * gdb.base/auxv.exp: New file.
20365         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20366
20367 2004-03-12  David Carlton  <carlton@kealia.com>
20368
20369         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
20370         * gdb.cp/pr-1553.cc: Ditto.
20371         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20372         pass branch.
20373
20374 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
20375
20376         * gdb.cp/templates.exp: Accept more template types.
20377
20378 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
20379
20380         From Corinna Vinschen with modifications.
20381         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20382         local variable obj_with_enum.
20383         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20384         results with obj_with_enum.
20385
20386 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
20387
20388         * gdb.cp/classes.cc: New file, copied from misc.cc.
20389         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20390
20391 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
20392
20393         * gdb.cp/misc.cc: Add copyright notice.
20394
20395 2004-03-05  David Carlton  <carlton@kealia.com>
20396
20397         * gdb.cp/rtti.exp: Add 'print *obj3' test.
20398         * gdb.cp/rtti.h: Update copyright.
20399         (namespace n2::n3): New.
20400         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20401         (n2::n3::func3): New.
20402         (main): Call n2::n3::func3.
20403         * gdb.cp/rtti2.cc: Update copyright.
20404         (n2::create3): New.
20405
20406 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
20407
20408         * gdb.asm/openbsd.inc: Fix typo.
20409
20410 2004-03-03  Fred Fish  <fnf@redhat.com>
20411
20412         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20413         "val" instead of unused "size".  Update copyright year.
20414
20415 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
20416
20417         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
20418         to use unsigned char.
20419         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20420         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20421
20422 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
20423
20424         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20425         line of output.
20426
20427 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
20428
20429         * gdb.base/relocate.c (dummy): Initialize.
20430
20431 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
20432
20433         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
20434         a breakpoint at exit.
20435
20436 2004-02-27  Fred Fish  <fnf@redhat.com>
20437
20438         * gdb.base/chng-syms.exp: Add expect condition to match failing
20439         case that isn't a timeout.
20440
20441 2004-02-27  Andrew Cagney  <cagney@redhat.com>
20442
20443         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20444         support.
20445
20446 2004-02-26  Fred Fish  <fnf@redhat.com>
20447
20448         * gdb.arch/gdb1431.c: Remove.
20449         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20450         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20451         of "until" incorrectly.
20452
20453 2004-02-26  J. Brobecker  <brobecker@gnat.com>
20454
20455         * gdb.cp/class2.cc (empty): New class.
20456         (refer): New function.
20457         (main): Declare an object of type empty and use it.
20458         * gdb.cp/class2.exp: Print the value of an object of type empty.
20459
20460 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
20461
20462         * gdb.base/langs.exp: Update query string to match the
20463         new nquery format used for pending breakpoints.
20464
20465 2004-02-26  Andrew Cagney  <cagney@redhat.com>
20466
20467         Fix PR i18n/1570.
20468         * gdb.base/charset.c: Update copyright notice.
20469         (main, init_string): Remove the escape character '\e' tests.
20470         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20471         * gdb.base/charset.exp (valid_host_charset): Ditto.
20472         * gdb.base/setvar.exp: Ditto.
20473
20474 2004-02-24  Andrew Cagney  <cagney@redhat.com>
20475
20476         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20477         mmapped data in core file" PASS and FAIL messages consistent.
20478
20479         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20480         setting a breakpoint.  Work around PR java/1565.
20481
20482 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
20483
20484         * lib/gdb.exp (gdb_breakpoint): Update query string to match
20485         new nquery format.
20486         * gdb.base/pending.exp: Ditto.
20487
20488 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
20489
20490         * configure.in: Run stabs tests on *BSD.
20491         * configure: Regenerated.
20492
20493 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
20494
20495         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20496
20497 2004-02-20  Fred Fish  <fnf@redhat.com>
20498
20499         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20500         blank in test for "returns short", for consistency with other
20501         "returns xxx" tests.  Update copyright year.
20502
20503 2004-02-19  Fred Fish  <fnf@redhat.com>
20504
20505         New testcase for PR breakpoint/1558.
20506         * gdb.arch/gdb1558.exp: New file.
20507         * gdb.arch/gdb1558.c: New file.
20508
20509 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
20510
20511         * gdb.base/nodebug.exp: Fix typo.
20512
20513 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20514
20515         Committed by Jim Blandy  <jimb@redhat.com>.
20516
20517         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20518
20519         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20520
20521         * gdb.base/float.exp: Support s390*-*-* targets.
20522
20523 2004-02-17  Adam Fedor  <fedor@gnu.org>
20524
20525         * gdb.base/gdb1555.exp: New file.
20526         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20527
20528 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
20529
20530         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20531
20532 2004-02-16  Fred Fish  <fnf@redhat.com>
20533
20534         * gdb.arch/gdb1291.c: Remove
20535         * gdb.arch/gdb1291.s: New test input file.
20536         * gdb.arch/gdb1291.exp: Expand test to check case that should not
20537         fail.  Test for correct result, known incorrect result, other
20538         failures and timeouts.
20539
20540 2004-02-16  Andrew Cagney  <cagney@redhat.com>
20541
20542         * gdb.base/bigcore.exp: New file.
20543         * gdb.base/bigcore.c: New file.
20544
20545 2004-02-13  Andrew Cagney  <cagney@redhat.com>
20546
20547         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20548         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20549         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20550         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20551         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20552         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20553         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20554         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20555         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20556         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20557
20558 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
20559
20560         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20561         executed is an alloc instruction.
20562
20563 2004-02-11  David Carlton  <carlton@kealia.com>
20564
20565         * gdb.cp/breakpoint.exp: New.
20566         * gdb.cp/breakpoint.cc: New.
20567
20568 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
20569
20570         Partial fix for PR gdb/1543.
20571         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20572         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20573         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20574         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20575         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20576         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20577         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20578         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20579         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20580         to bug-gdb@prep.ai.mit.edu .
20581         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20582         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20583         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20584         Likewise.
20585
20586 2004-02-10  Andrew Cagney  <cagney@redhat.com>
20587
20588         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20589         using gdb_internal_error_resync.
20590
20591 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
20592
20593         * gdb.threads/thread-specific.exp: Stop early if no threads are
20594         found.
20595
20596 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
20597
20598         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20599
20600 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
20601
20602         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20603         breakpoints.
20604
20605 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
20606
20607         * config/sim.exp (gdb_load): Handle $arg == "".
20608         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20609         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20610
20611 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
20612
20613         * gdb.base/maint.exp: Update test to reflect
20614          obstack changes.
20615
20616 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
20617
20618         * gdb.base/pendshr.c (pendfunc): New function that calls
20619         pendfunc1.
20620         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20621
20622 2004-02-04  Fred Fish  <fnf@redhat.com>
20623
20624         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20625         function symbols and update copyright years.
20626         * gdb.arch/gdb1291.c: Ditto.
20627
20628 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20629
20630         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20631
20632 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20633
20634         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20635
20636 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20637
20638         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20639
20640 2004-02-02  Fred Fish  <fnf@redhat.com>
20641
20642         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20643         remote targets.  Update copyright years.
20644
20645 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
20646
20647         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20648         support.
20649         * gdb.base/langs.exp: Fix test which attempts to create
20650         breakpoint on non-existent function to handle new pending
20651         support.
20652         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20653         a breakpoint.
20654         * gdb.base/pending.exp: New test.
20655         * gdb.base/pending.c: New file.
20656         * gdb.base/pendshr.c: Ditto.
20657
20658 2004-02-02  David Carlton  <carlton@kealia.com>
20659
20660         * gdb.cp/overload.exp: Add overloadNamespace tests.
20661         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20662         (overloadNamespace, XXX): New.
20663         (main): Call XXX::marker2.
20664
20665 2004-02-01  Fred Fish  <fnf@redhat.com>
20666
20667         * gdb.base/dump.exp: Use runto_main instead of "runto main".
20668         * gdb.base/finish.exp: Ditto.
20669         * gdb.base/gcore.exp: Ditto.
20670         * gdb.base/huge.exp: Ditto.
20671         * gdb.base/info-proc.exp: Ditto.
20672         * gdb.base/return2.exp: Ditto.
20673         * gdb.threads/gcore-thread.exp: Ditto.
20674
20675 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20676
20677         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20678
20679 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
20680
20681         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20682         that opening the file succeeds on OpenBSD.
20683
20684 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20685
20686         * gdb.threads/thread-specific.c: New file.
20687         * gdb.threads/threads-specific.exp: New test script.
20688         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20689         to expect_out.
20690
20691 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
20692
20693         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
20694         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20695         only on the "print_small_structs from print_long_arg_list" test.
20696
20697 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20698
20699         * gdb.base/completion.exp: Kill a stray backslash.
20700
20701         From Jim Ingham <jingham@apple.com>:
20702         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20703         agrees with the result from sending a tab.
20704
20705 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
20706
20707         * gdb.base/chng-syms.exp: Remove stray newline.
20708
20709 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
20710
20711         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20712         *-*-openbsd*.
20713         * gdb.asm/openbsd.inc: New file.
20714
20715 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
20716
20717         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
20718         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20719         *-*solaris2*.  Remove commented out default settings for
20720         asm-flags.  Replace gdb_compile with target_link.
20721
20722 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
20723
20724         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
20725         for all tests.  Remove old hp-ux and cygnus xfail cases.
20726
20727 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
20728
20729         * gdb.base/chng-syms.exp: New file.
20730         * gdb.base/chng-syms.c: New file.
20731
20732 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
20733
20734         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
20735         Provide arms for current output in all my configurations.
20736
20737 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
20738
20739         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20740         * lib/compiler.cc: Likewise.
20741         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20742         get the right preprocessor.  Eval the output directly.  Remove
20743         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
20744         hp_f77_compiler and hp_f90_compiler completely.
20745         (gdb_preprocess): Delete.
20746         (get_compiler): Delete.
20747
20748 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
20749
20750         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20751         <string.h>.
20752
20753 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
20754
20755         * gdb.mi/mi-stack.exp: Update copyright.
20756
20757 2004-01-23  David Carlton  <carlton@kealia.com>
20758
20759         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
20760         test for cp_lookup_transparent_type.
20761         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
20762         call them.
20763
20764 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
20765
20766         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
20767         after -var-update.
20768
20769 2004-01-23  David Carlton  <carlton@kealia.com>
20770
20771         * gdb.cp/namespace.cc (C::ensureRefs): New.
20772         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20773
20774 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
20775
20776         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20777         case "-stack-list-locals 2".
20778         * gdb.mi/mi-var-child.exp: Test for case
20779         "-var-list-children --all-values NAME".
20780
20781 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
20782
20783         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20784
20785 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
20786
20787         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20788         used with gdb_test_multiple.
20789
20790         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20791         read at address 0.  This fixes PR testsuite/1504.
20792
20793 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
20794
20795         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20796         Remove downloading, guessing the host executable, the calls to
20797         gdb_file_cmd and gdb_target_cmd, and "load" support.
20798         (infer_host_exec): New function broken out from gdb_load.
20799         (gdb_load): New wrapper for gdbserver_gdb_load.
20800         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20801         gdb_target_cmd.  Use -target-select.
20802         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20803         Download binaries to the host.  Clear last_mi_remote_file when
20804         we load a new binary.
20805         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
20806         call gdbserver_gdb_load and mi_gdb_target_cmd.
20807
20808 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
20809
20810         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20811         type patterns.
20812
20813 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
20814
20815         * gdb.cp/templates.exp: Fix typo in test name of
20816         "print Foo<volatile char*>::foo".
20817
20818 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
20819
20820         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20821
20822 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
20823
20824         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20825         (clean mostlyclean): Remove empty rm.
20826
20827 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
20828
20829         * gdb.base/setvar.exp: Add copyright years.
20830
20831 2004-01-14  David Carlton  <carlton@bactrian.org>
20832
20833         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
20834         PR c++/1511 and update coment.
20835         * gdb.cp/templates.exp: Update patterns to match current output.
20836         If changes involve something other than whitespace, KFAIL
20837         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20838
20839 2004-01-14  David Carlton  <carlton@kealia.com>
20840
20841         * gdb.cp/namespace.exp: Add tests involving classes defined within
20842         namespaces.
20843         * gdb.cp/namespace.cc (C::CClass): New.
20844         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20845
20846 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
20847
20848         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20849         what debug info we have. Print a better message if something goes
20850         wrong while producing the separate debug info file.
20851
20852 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
20853
20854         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20855
20856 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
20857
20858         * gdb.base/callfuncs.c: Add copyright notice.
20859
20860 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
20861
20862         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20863         inheritance.  PR gdb/1498, PR gcc/13539.
20864
20865 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
20866
20867          * gdb.threads/gcore-thread.exp: Prefix name of binary with
20868          test specific name.
20869          * gdb.mi/gdb669.exp: Ditto.
20870          * gdb.mi/mi-pthreads.exp: Ditto.
20871          * gdb.mi/mi1-pthreads.exp: Ditto.
20872          * gdb.mi/mi2-pthreads.exp: Ditto.
20873
20874 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
20875
20876         * gdb.cp/member-ptr.cc: Add copyright notice.
20877
20878 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
20879
20880         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
20881         some patterns for recent versions of gcc and hpacc.  Delete
20882         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
20883         Delete tests that access a NULL pointer-to-member-data.  This
20884         script is still disabled for gcc.
20885
20886 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
20887
20888         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
20889         escaped correctly.
20890
20891 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
20892
20893         * gdb.base/sepdebug.exp: New file.
20894         * gdb.base/sepdebug.c: New file.
20895         * lib/gdb.exp (separate_debug_filename): New procedure.
20896         (gdb_gnu_strip_debug): New procedure.
20897
20898 2004-01-12  Andrew Cagney  <cagney@redhat.com>
20899
20900         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
20901         * gdb.mi/ChangeLog-1999-2003: New file.
20902
20903 2004-01-12  Andrew Cagney  <cagney@redhat.com>
20904
20905         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
20906         "Renaming a directory to a non-empty directory returns ENOTEMPTY
20907         or EEXIST", treat EBUSY as an XFAIL.
20908
20909 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
20910
20911         * gdb.base/scope.exp: Remove obsolete setup_xfail for
20912         hp_cc_compiler.
20913
20914 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
20915
20916         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20917         decorations.
20918
20919 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
20920
20921         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20922         and "(aCC)" decorations.  Remove obsolete doco about old
20923         test results.
20924
20925 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
20926
20927         * gdb.cp/exception.exp: Fix typo in doco.
20928
20929 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
20930
20931         * gdb.base/gdb1476.exp: Fix typo.
20932
20933 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
20934
20935         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20936         file.
20937
20938 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
20939
20940         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20941         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20942         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
20943         for recent version of gdb.  Delete second half, which was a copy
20944         of the first half with different build flags.  This test is
20945         still disabled because it is still not ready for production.
20946
20947 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20948
20949         * gdb.cp/exception.cc: Add copyright notice.
20950         * gdb.cp/exception.exp: Add a notice that this file is broken
20951         because of line number changes caused by addition of copyright
20952         notice.
20953
20954 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20955
20956         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
20957         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
20958
20959 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20960
20961         * gdb.cp/classes.exp: Accept gnu abi 2.
20962         * gdb.cp/derivation.exp: Likewise.
20963         * gdb.cp/overload.exp: Likewise.
20964         * gdb.cp/virtfunc.exp: Likewise.
20965
20966 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20967
20968         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
20969         semicolon after end of function.
20970
20971 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20972
20973         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
20974         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
20975         boilerplate code for compiling and running the program under
20976         test.  Add some string method tests.
20977
20978 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20979
20980         * gdb.cp/bs15503.cc: Add copyright notice.
20981         * gdb.cp/bs15503.exp: Adjust line number.
20982
20983 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20984
20985         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
20986         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
20987
20988 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20989
20990         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
20991         hp_cc_compiler.
20992
20993 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20994
20995         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
20996         * gdb.cp/ctti.exp: Use the marker instead of "next".
20997         With gcc, run further before bailing.
20998
20999 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21000
21001         * gdb.cp/cttiadd.cc: Add copyright notice.
21002         * gdb.cp/cttiadd1.cc: Likewise.
21003         * gdb.cp/cttiadd2.cc: Likewise.
21004         * gdb.cp/cttiadd3.cc: Likewise.
21005
21006 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21007
21008         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
21009         Use gdb_test, gdb_test_multiple.  Use floating-point values that
21010         have exact representations in IEEE-ish formats.
21011
21012 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21013
21014         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21015         compilers.  Delete duplicate call to get_compiler_info.
21016         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21017         * gdb.base/volatile.exp: Likewise.
21018
21019 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
21020
21021         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21022         memory at address 0.
21023
21024 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21025
21026         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21027         to test for hp-ux assembler.  Fix copyright years.
21028
21029 2004-01-07  Andrew Cagney  <cagney@redhat.com>
21030
21031         * gdb.base/fileio.c (strerrno): Add "EBUSY".
21032
21033 2004-01-07  Andrew Cagney  <cagney@redhat.com>
21034
21035         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21036         when creating the read-only file.  From analysis by Roland McGrath
21037         and Elena Zannoni.
21038
21039 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21040
21041         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21042
21043 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21044
21045         * gdb.base/cvexpr.c: Be type-safe with function pointers and
21046         data pointers.
21047
21048 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21049
21050         * gdb.cp/m-static.exp: Compile one source file at a time.
21051         Delete unused call to get_compiler_info.
21052
21053 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21054
21055         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21056         * gdb.base/call-rt-st.exp: Likewise.
21057         * gdb.base/nodebug.exp: Likewise.
21058         * gdb.base/volatile.exp: Likewise.
21059         * gdb.cp/ref-types.exp: Likewise.
21060         * gdb.cp/templates.exp: Likewise.
21061
21062 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
21063
21064         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21065
21066 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
21067
21068         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21069         hppa*-hp-hpux*.
21070
21071 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
21072
21073         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21074         x86_64-*-*.
21075
21076         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21077         sparc64-*-* and sparc*-solaris2*.
21078
21079 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
21080
21081         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21082         return ${tests}" test.  The ${tests} already mentions the
21083         filename.
21084
21085 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
21086
21087         * gdb.cp/local.exp: Accept gcc abi 2.
21088
21089 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
21090
21091         * gdb.cp/templates.exp: Accept gcc abi 2.
21092
21093 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
21094
21095         * lib/compiler.cc: Remove supports_template_debugging.
21096         * gdb.cp/templates.exp: Do not test supports_template_debugging.
21097
21098 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21099
21100         * gdb.cp/namespace.exp: Accept gcc abi 2.
21101
21102 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21103
21104         * gdb.cp/method.exp: Accept gcc abi 2.
21105
21106 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21107
21108         * gdb.cp/classes.exp: Generate identical results as old version.
21109         * gdb.cp/derivation.exp: Likewise.
21110         * gdb.cp/overload.exp: Likewise.
21111         * gdb.cp/virtfunc.exp: Likewise.
21112
21113 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21114
21115         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21116         mysterious bug with sourceware version of expect.
21117
21118 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21119
21120         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
21121         current versions of gcc, including gcc abi 2.  Remove gratuitous
21122         restart of test program.  Use gdb_test_multiple and gdb_test for
21123         all tests.  Add patterns to xfail missing "const" in "const char *"
21124         and kfail PR gdb/1155.
21125
21126 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21127
21128         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
21129         current versions of gcc, including gcc abi 2.  Remove gratuitous
21130         restart of test program.  Use gdb_test_multiple and gdb_test for
21131         all tests.  Add patterns to kfail PR gdb/1498.
21132
21133 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
21134
21135         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
21136         current versions of gcc, including gcc abi 2.  Use "breakpoint"
21137         and "continue" instead of restarting the target program.  Use
21138         gdb_test_multiple and gdb_test for all tests.
21139
21140 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
21141
21142         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
21143         for *-*-solaris2*.
21144
21145 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
21146
21147         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
21148         current versions of gcc, including gcc abi 2.  Use "breakpoint"
21149         and "continue" instead of restarting the target program several
21150         times.  Use gdb_test_multiple and gdb_test for all tests.
21151
21152 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
21153
21154         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21155         source files.
21156
21157 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
21158
21159         * gdb.base/environ.exp: Handle compiling test case from multiple
21160         source files.
21161
21162 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
21163
21164         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21165
21166 2003-12-17  Jim Blandy  <jimb@redhat.com>
21167
21168         * gdb.base/freebpcmd.c: Add copyright notice.
21169
21170         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21171
21172 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
21173
21174         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21175
21176 2003-12-13  Jim Blandy  <jimb@redhat.com>
21177
21178         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21179
21180 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
21181
21182         * gdb.asm/frv.inc: New file.
21183         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21184
21185 2003-12-09  Fred Fish  <fnf@redhat.com>
21186
21187         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21188         functions to break1.c and leave prototypes behind.  Add more
21189         "set breakpoint NN here" comments.
21190         * gdb.base/break1.c: New file.
21191
21192         * gdb.base/break.exp: Handle compiling test case from multiple
21193         source files and change source file references as needed.
21194         * gdb.base/completion.exp: Ditto.
21195         * gdb.base/condbreak.exp: Ditto.
21196         * gdb.base/define.exp: Ditto.
21197         * gdb.base/ena-dis-br.exp: Ditto.
21198         * gdb.base/info-proc.exp: Ditto.
21199         * gdb.base/maint.exp: Ditto.
21200         * gdb.base/until.exp: Ditto.
21201
21202         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21203         hardcoded line numbers.
21204         * gdb.base/define.exp: Ditto.
21205         * gdb.base/ena-dis-br.exp: Ditto.
21206         * gdb.base/maint.exp: Ditto.
21207         * gdb.base/until.exp: Ditto.
21208
21209         * gdb.base/completion.exp: Use "break1" for completion tests since
21210         "break" is no longer a unique prefix.
21211
21212 2003-12-06  Andrew Cagney  <cagney@redhat.com>
21213
21214         * gdb.base/structs.exp (test_struct_returns): When applicable, set
21215         "return_value_unimplemented".  When an unimplemented struct return
21216         architecture, report incorrect values as a KFAIL
21217
21218 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
21219
21220         * gdb.cp/rtti.exp: Accept new wording of warning from
21221         cp_lookup_rtti_type.
21222
21223 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
21224
21225         Partial fix for PR testsuite/1456.
21226         * gdb.base/scope.exp (test_at_main): Replace references to
21227         gcc_compiled with calls to test_compiler_info.
21228         (test_at_foo): Likewise.
21229         (test_at_bar): Likewise.
21230
21231 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
21232
21233         Partial fix for PR testsuite/1456.
21234         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21235         to test_compiler_info.
21236
21237 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
21238
21239         * gdb.base/so-impl-ld.exp: Update copyright notice.
21240
21241 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
21242
21243         Partial fix for PR testsuite/1456.
21244         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21245         to test_compiler_info.
21246
21247 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
21248
21249         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21250         from current versions of gdb.  Clean up regular expressions.
21251         Delete redundant timeout case.
21252
21253 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
21254
21255         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21256         from current versions of gdb.  Clean up regular expressions.
21257         Delete redundant timeout case.
21258
21259 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
21260
21261         Partial fix for PR testsuite/1456.
21262         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21263         gcc_compiled with call to test_compiler_info.
21264
21265 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
21266
21267         Partial fix for PR testsuite/1456.
21268         * gdb.base/list.exp (test_list_function): Delete unused declaration
21269         of gcc_compiled.
21270
21271 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
21272
21273         Partial fix for PR testsuite/1456.
21274         * gdb.base/complex.exp: Replace reference to gcc_compiled with
21275         call to test_compiler_info.
21276
21277 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
21278
21279         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
21280         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
21281         it to create the appropriate note.inc.
21282         * gdb.asm/asmsrc1.s: Include "note.inc".
21283         * gdb.asm/netbsd.inc: New file.
21284         * gdb.asm/empty.inc: New file.
21285
21286 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
21287
21288         Partial fix for PR testsuite/1456.
21289         * gdb.base/constvars.exp: Replace references to gcc_compiled with
21290         calls to test_compiler_info.
21291
21292 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
21293
21294         Partial fix for PR testsuite/1456.
21295         * gdb.base/volatile.exp: Replace references to gcc_compiled with
21296         calls to test_compiler_info.
21297
21298 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
21299
21300         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21301         pattern for the KFAILs.
21302
21303 2003-11-25  Adam Fedor  <fedor@gnu.org>
21304
21305         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21306         * gdb.objc/objcdecode.m: New file.
21307
21308 2003-11-25  Adam Fedor  <fedor@gnu.org>
21309
21310         * gdb.objc/nondebug.exp: Test for PR objc/1236.
21311         * gdb.objc/nondebug.m: New file.
21312
21313 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
21314
21315         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21316         NetBSD as it does on FreeBSD.  Modelled on a similar change by
21317         Mark Kettenis on 2003-05-30.
21318         (link-flags): Set to "--entry _start" regardless of target.
21319         Special linker flags are to be appended to $link-flags.
21320         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21321
21322 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
21323
21324         * gdb.cp/method.exp: Accept output of new demangler.
21325
21326 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
21327
21328         * gdb/class2.exp: New file.
21329         * gdb/class2.cc: New file.
21330
21331 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
21332
21333         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21334         of new demangler.
21335
21336 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
21337
21338         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21339         of gdb_test "run".
21340
21341 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
21342
21343         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
21344         "continue" into "run".
21345
21346 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
21347
21348         Partial fix for PR testsuite/1456.
21349         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21350         call to test_compiler_info.
21351         * gdb.cp/ctti.exp: Likewise.
21352         * gdb.cp/derivation.exp: Likewise.
21353         * gdb.cp/member-ptr.exp: Likewise.
21354         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21355         reference to gcc_compiled.
21356
21357 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
21358
21359         Fix PR testsuite/1463.
21360         * gdb.base/structs.exp (start_structs_test): Call
21361         get_debug_format before using the debug format.
21362
21363 2003-11-22  Andrew Cagney  <cagney@redhat.com>
21364
21365         * lib/gdb.exp (gdb_test_multiple): Add simple example.
21366         * gdb.base/structs.exp: Use gdb_test_multiple.
21367
21368 2003-11-20  Andrew Cagney  <cagney@redhat.com>
21369
21370         * gdb.base/structs.exp: Handle and recover from internal errors.
21371         Replace "foo${n}" with "foo<n>" in test messages.
21372
21373         * gdb.base/structs.exp: Update copyright.  Rewrite.
21374         * gdb.base/structs.c: Update copyright.  Rewrite.
21375
21376         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21377         resync count exceeded.
21378
21379         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21380         from the internal error.
21381         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21382         Original from Jim Blandy.
21383         (gdb_test_multiple): Use gdb_internal_error_resync.
21384
21385 2003-11-19  Andrew Cagney  <cagney@redhat.com>
21386
21387         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21388         KFAIL.
21389
21390 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
21391
21392         New testcase for PR backtrace/1435.
21393         * gdb.arch/i386-unwind.exp: New file.
21394         * gdb.arch/i386-unwind.c: New file.
21395
21396 2003-11-17  Andrew Cagney  <cagney@redhat.com>
21397
21398         * lib/gdb.exp (compiler_info): New global.
21399         (test_compiler_info): New function.
21400         (get_compiler_info): Set compiler_info.
21401         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
21402         "compiler_info" to gcc-<major>-<minor>.
21403
21404 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
21405
21406         * gdb.trace/configure: Remove.
21407
21408 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
21409
21410         * gdb.base/break.c: Add comments to aid finding line numbers for
21411         breakpoints.
21412         * gdb.base/break.exp: Remove all references to explicit line
21413         numbers.
21414
21415 2003-11-11  Nick Clifton  <nickc@redhat.com>
21416
21417         * gdb.base/shreloc.exp: Do not run for targets which do not
21418         support shared objects.
21419
21420 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
21421
21422         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21423         Don't run tests if nofileio flag is given.
21424
21425 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
21426
21427         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21428         as well as 'Watchpoint'.
21429
21430 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
21431
21432         Reported by Jim Ingham <jingham@apple.com>:
21433         * gdb.base/annota1.exp: Match at least one occurrence of the
21434         signal handler annotation.
21435
21436 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
21437
21438         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21439         as well as 'Watchpoint'.
21440
21441 2003-11-05  Michael Chastain  <mec@shout.net>
21442
21443         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21444
21445 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
21446
21447         * gdb.arch/gdb1291.c: New test file.
21448         * gdb.arch/gdb1291.exp: New test script.
21449         * gdb.arch/gdb1431.c: New test file.
21450         * gdb.arch/gdb1431.exp: New test script.
21451
21452 2003-10-22  Michael Chastain  <mec@shout.net>
21453
21454         * gdb.mi/pthreads.c: Add copyright notice.
21455
21456 2003-10-22  Michael Chastain  <mec@shout.net>
21457
21458         * gdb.threads/pthreads.c: Add copyright notice.
21459
21460 2003-10-20  Michael Chastain  <mec@shout.net>
21461
21462         * gdb.base/gdb1056.exp: New test script.
21463
21464 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
21465
21466         * gdb.threads/killed.exp: Use gdb_run_cmd.
21467
21468 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
21469
21470         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21471         create a core file.
21472         * gdb.threads/gcore-thread.exp: Likewise.
21473
21474 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
21475
21476         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21477         type, based on char type.
21478         (struct bit_flags_short_t): New bitfield type, based on short type.
21479         (init_bit_flags_char): New fuction.
21480         (init_bit_flags_short): Ditto.
21481         (print_bit_flags_char): Ditto.
21482         (print_bit_flags_short): Ditto.
21483         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21484
21485 2003-10-11  Michael Chastain  <mec@shout.net>
21486
21487         * gdb.base/call-rt-st.exp: Update copyright year.
21488
21489 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
21490
21491         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21492         * gdb.disasm/sh3.s: Ditto.
21493
21494 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
21495
21496         * gdb.threads/switch-threads.exp: New test.
21497         * gdb.threads/switch-threads.c: New source file.
21498
21499 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
21500
21501         * gdb.base/ending-run.exp: Add sh specific case.
21502
21503 2003-10-06  Andrew Cagney  <cagney@redhat.com>
21504
21505         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21506         * gdb.disasm/mn10200.exp: Delete obsolete file.
21507
21508 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
21509
21510         * ChangeLog: Correct an entry command.exp -> commands.exp.
21511         * gdb.base/commands.exp (bp_deleted_in_command_test)
21512         (temporary_breakpoint_commands): Check noargs.
21513
21514 2003-09-25  David Carlton  <carlton@kealia.com>
21515
21516         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
21517         of some print tests, where appropriate.  Add tests for C::D::cd,
21518         E::ce, F::cXfX, G::XgX.
21519         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21520
21521 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
21522
21523         * lib/java.exp (java_init): Import target_alias before using it.
21524
21525 2003-09-25  David Carlton  <carlton@kealia.com>
21526
21527         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21528
21529 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
21530
21531         * gdb.base/selftest.exp: Accomodate more instruction reordering
21532         weirdness.
21533
21534 2003-09-17  Michael Chastain  <mec@shout.net>
21535
21536         * gdb.cp/gdb1355.exp: New file.
21537         * gdb.cp/gdb1355.c: New file.
21538
21539 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
21540
21541         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21542         * gdb.asm/sh.inc: New file.
21543
21544 2003-09-11  David Carlton  <carlton@kealia.com>
21545
21546         * gdb.cp/namespace.exp: Add tests for namespace types.
21547         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21548         (test_namespace): New.
21549
21550 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
21551
21552         * gdb.base/relocate.exp: Handle new gdb output at startup.
21553         * gdb.stabs/weird.exp: Ditto.
21554
21555 2003-09-08  Michael Chastain  <mec@shout.net>
21556
21557         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21558
21559 2003-09-07  Michael Chastain  <mec@shout.net>
21560
21561         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21562         'parse error'.
21563
21564 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
21565
21566         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21567
21568 2003-08-30  Michael Chastain  <mec@shout.net>
21569
21570         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21571         * gdb.gdb/observer.exp: Ditto.
21572         * gdb.gdb/xfullpath.exp: Ditto.
21573
21574 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
21575
21576         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21577         *-*-*bsd*.
21578
21579 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
21580
21581         * gdb.base/dump.exp: Skip for ia64.
21582
21583 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
21584
21585         * gdb.asm/asm-source.exp: Add ia64 support.
21586         * gdb.asm/ia64.inc: New file.
21587
21588 2003-08-22  Michael Chastain  <mec@shout.net>
21589
21590         * gdb.cp: New directory.
21591         * gdb.cp/*: Copy from gdb.c++/*.
21592         * gdb.c++/*: Remove.
21593         * Makefile.in: Change gdb.c++ to gdb.cp.
21594         * configure.in:  Ditto.
21595         * configure: Regnerate.
21596
21597 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
21598
21599         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21600         * gdb.arch/i386-prologue.c (gdb1338): Add function.
21601
21602 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
21603
21604         * mi-var-display.exp (-var-list-children weird): Accept function
21605         pointers with argument types.
21606         * mi1-var-display.exp (-var-list-children weird): Likewise.
21607         * mi2-var-display.exp (-var-list-children weird): Likewise.
21608
21609 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
21610
21611         * gdb.base/annota3.exp: Add missing newline.
21612
21613 2003-08-06  Michael Chastain  <mec@shout.net>
21614
21615         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21616
21617 2003-08-12  Michael Snyder  <msnyder@redhat.com>
21618
21619         * gdb.base/float.exp: Add test for SH.
21620
21621 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
21622
21623         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21624
21625 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21626
21627        * gdb.base/completion.exp: Remove reduntant completion test
21628        on filename.
21629
21630 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21631
21632         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21633         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21634         gdb.trace/save-trace.exp: Make sure that full pathnames are
21635         escaped correctly.
21636
21637 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21638
21639         * configure.in: Don't generate config.h from config.hin.
21640         * configure: Regenerate.
21641         * config.hin: Remove file.
21642         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21643         * gdb.threads/pthreads.c: Ditto.
21644
21645 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
21646
21647         From Kei Sakamoto <sakamoto.kei@renesas.com>:
21648         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21649         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21650         Replace ld24 with seth/add3.
21651
21652 2003-08-02  Andrew Cagney  <cagney@redhat.com>
21653
21654         * gdb.base/annota3.exp: New file.
21655         * gdb.base/annota3.c: New file.
21656         * gdb.c++/annota3.exp: New file.
21657         * gdb.c++/annota3.cc: New file.
21658
21659 2003-07-29  Michael Chastain  <mec@shout.net>
21660
21661         * gdb.threads/tls.c (spin): Check errno only if sem_wait
21662         actually failed.
21663         (do_pass): Likewise.
21664         * gdb.threads/tls.exp: Always initialize no_of_threads.
21665
21666 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
21667
21668         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21669         pattern.
21670         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21671         * gdb.threads/tls.exp: Recognize one case of the host library not
21672         supporting TLS.
21673
21674 2003-07-27  Andrew Cagney  <cagney@redhat.com>
21675
21676         * gdb.base/fileio.exp: Use SH when running commands using
21677         remote_exec.
21678
21679 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
21680
21681         From Kei Sakamoto <sakamoto.kei@renesas.com>:
21682         * gdb.base/relocate.c (dummy): New padding array.
21683
21684 2003-07-22  Michael Snyder  <msnyder@redhat.com>
21685
21686         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21687
21688         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21689         patterns to be more general, accepting old and new output.
21690         Some output chars (such as '+') also must be quoted.
21691         Some addresses are displayed numerically instead of
21692         symbolically.
21693
21694 2003-07-23  Michael Snyder  <msnyder@redhat.com>
21695
21696         * gdb.base/return2.exp: Don't test long-long return.
21697
21698         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21699         * gdb.disasm/t01_mov.exp: Ditto.
21700         * gdb.disasm/t02_mova.s: Ditto.
21701         * gdb.disasm/t02_mova.exp: Ditto.
21702         * gdb.disasm/t03_add.s: Ditto.
21703         * gdb.disasm/t03_add.exp: Ditto.
21704         * gdb.disasm/t04_sub.s: Ditto.
21705         * gdb.disasm/t04_sub.exp: Ditto.
21706         * gdb.disasm/t05_cmp.s: Ditto.
21707         * gdb.disasm/t05_cmp.exp: Ditto.
21708         * gdb.disasm/t06_ari2.s: Ditto.
21709         * gdb.disasm/t06_ari2.exp: Ditto.
21710         * gdb.disasm/t07_ari3.s: Ditto.
21711         * gdb.disasm/t07_ari3.exp: Ditto.
21712         * gdb.disasm/t08_or.s: Ditto.
21713         * gdb.disasm/t08_or.exp: Ditto.
21714         * gdb.disasm/t09_xor.s: Ditto.
21715         * gdb.disasm/t09_xor.exp: Ditto.
21716         * gdb.disasm/t10_and.s: Ditto.
21717         * gdb.disasm/t10_and.exp: Ditto.
21718         * gdb.disasm/t11_logs.s: Ditto.
21719         * gdb.disasm/t11_logs.exp: Ditto.
21720         * gdb.disasm/t12_bit.s: Ditto.
21721         * gdb.disasm/t12_bit.exp: Ditto.
21722         * gdb.disasm/t13_otr.s: Ditto.
21723         * gdb.disasm/t13_otr.exp: Ditto.
21724
21725 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
21726
21727         * gdb.threads/tls.exp :Add kfail for 'info address' case.
21728
21729 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
21730
21731         * gdb.threads/tls.c : New file.
21732         * gdb.threads/tls.exp : New file.
21733         * gdb.threads/tls-main.c : New file.
21734         * gdb.threads/tls-shared.c : New file.
21735         * gdb.threads/tls-shared.exp : New file.
21736
21737 2003-07-22  Andreas Schwab  <schwab@suse.de>
21738
21739         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21740
21741 2003-07-20  Andreas Schwab  <schwab@suse.de>
21742
21743         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21744         due to insn reordering.
21745
21746 2003-07-15  Andrew Cagney  <cagney@redhat.com>
21747
21748         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21749
21750 2003-07-15  Michael Chastain  <mec@shout.net>
21751
21752         * gdb.base/gdb1250.exp: New file.
21753         * gdb.base/gdb1250.c: New file.
21754
21755 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
21756
21757         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21758         expansion of size_t to 'unsigned long', not only to 'unsigned'.
21759
21760 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
21761
21762         * gdb.threads/tls.c: New file.
21763         * gdb.threads/tls.exp: New file.
21764         * gdb.threads/tls-main.c: New file.
21765         * gdb.threads/tls-shared.c: New file.
21766         * gdb.threads/tls-shared.exp: New file.
21767
21768 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
21769
21770         * gdb.base/annota1.exp: Make sure that we properly escape the
21771         full path of the source file. Xfail more permissive patterns,
21772         due to a compiler debug info problem.
21773
21774 2003-07-07  Andreas Schwab  <schwab@suse.de>
21775
21776         * gdb.asm/m68k.inc: New file.
21777         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21778
21779         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21780         arguments"): Also match negative number.
21781
21782         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21783
21784 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
21785
21786         * gdb.base/store.c (charest): New typedef.
21787         (add_char): Rename to add_charest, update.
21788         (wack_char): Rename to wack_charest, update types.  Return l + r
21789         to keep r live across the call.
21790         (wack_short, wack_int, wack_long, wack_longest, wack_float)
21791         (wack_double, wack_doublest): Return l + r to keep r live across
21792         the call.
21793         * gdb.base/store.exp: Accomodate store.c changes.
21794
21795 2003-06-30  David Carlton  <carlton@kealia.com>
21796
21797         * gdb.c++/maint.exp (test_invalid_name): New.
21798         (test_first_component): Add tests for invalid names.
21799
21800 2003-06-29  Michael Chastain  <mec@shout.net>
21801
21802         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21803         output of '<VTT for class>' for virtual base classes.
21804
21805 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
21806
21807         * gdb.base/completion.exp: Tab-complete "complet" instead of
21808         "compl".
21809         * gdb.base/complex.exp, gdb.base/complex.c: New files.
21810
21811 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
21812
21813         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21814         * gdb.base/volatile.exp: Likewise.
21815
21816 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
21817
21818         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21819         gdb/1265.
21820
21821 2003-06-28  Michael Chastain  <mec@shout.net>
21822             Daniel Jacobowitz  <drow@mvista.com>
21823
21824         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21825         initial line count of 'captured_main' from 26 to 32.
21826         (test_with_self): Allow xmalloc call to be interleaved with the
21827         preceding two lines.
21828
21829 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
21830
21831         * gdb.base/bang.exp: New testcase.
21832
21833 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
21834
21835         * gdb.base/langs.exp: Add some tests for the "minimal" language
21836         support.
21837
21838 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
21839
21840         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21841         the testcase.
21842
21843 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
21844
21845         * gdb.base/relocate.exp: Test add-symbol-file with a variable
21846         offset.
21847
21848 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
21849
21850         * gdb.c++/pr-1210.cc: New file.
21851         * gdb.c++/pr-1210.exp: New file.
21852
21853 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
21854
21855         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21856         000-exec-continue.
21857
21858 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
21859
21860         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21861         on *-*-*bsd* instead of *-*-freebsd*.
21862
21863 2003-06-14  Andrew Cagney  <cagney@redhat.com>
21864
21865         * gdb.base/store.exp: Test longest and doublest.  Test all
21866         parameters.  Weaken return statement match.
21867         * gdb.base/store.c: Add longest and doublest - aka long long and
21868         long double functions.  Put all parameters into local register
21869         variables.  Use negative values.
21870
21871 2003-06-14  Andrew Cagney  <cagney@redhat.com>
21872
21873         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
21874         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
21875         exit status.
21876         * gdb.base/fileio.exp: Disable target when nointerrupts and
21877         noinferiorio, instead of limiting it to remote.  Use remote_exec
21878         instead of system.
21879
21880 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
21881
21882         * gdb.base/float.exp: Add ia64 support.
21883
21884 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
21885
21886         * gdb.base/fileio.exp: Run only on remote targets.
21887
21888 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
21889
21890         * gdb.base/fileio.c: New file, testing File-I/O.
21891         * gdb.base/fileio.exp: Ditto.
21892
21893 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
21894
21895         * gdb.base/shreloc.exp: New file, check symbol values obtained from
21896         shared objects after relocation at load time (gdb PR/1132).
21897         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
21898         as above, part of the shared object relocation test.
21899
21900 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
21901
21902         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21903         fully filled history list.
21904         * gdb.base/gdb_history: New file.
21905
21906         * gdb.base/signals.exp: XFAIL "continue to func1" on
21907         i*86-*-freebsd*.
21908
21909         * gdb.base/attach.exp: When trying to attach to a nonexistent
21910         process, make it possible to specify the PID based on the target,
21911         and do so for *-*-freebsd*.
21912
21913 2003-06-02  Richard Henderson  <rth@redhat.com>
21914
21915         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21916
21917 2003-06-02  Richard Henderson  <rth@redhat.com>
21918
21919         * gdb.base/selftest.exp: Next over lim_at_start initialization.
21920
21921 2003-06-02  Richard Henderson  <rth@redhat.com>
21922
21923         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21924
21925 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
21926
21927         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21928         of globalvar.
21929
21930 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
21931
21932         * gdb.asm/asm-source.exp: Check for memory read errors in
21933         disassembler test on *BSD too.
21934
21935 2003-06-01  Richard Henderson  <rth@redhat.com>
21936
21937         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21938         for .frame.
21939         (gdbasm_call): Lose ldgp.
21940         (gdbasm_startup): Add frame information.
21941         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21942
21943 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
21944
21945         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21946         i?86-*-*.
21947
21948 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
21949
21950         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21951         FreeBSD.
21952
21953 2003-05-29  Richard Henderson  <rth@redhat.com>
21954
21955         * gdb.asm/alpha.inc: New file.
21956         * gdb.asm/asm-source.exp: Use it.
21957
21958 2003-05-29  Jim Blandy  <jimb@redhat.com>
21959
21960         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
21961         'core.PID'.
21962
21963 2003-05-22  Jim Blandy  <jimb@redhat.com>
21964
21965         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
21966         backtrace.
21967
21968 2003-05-20  David Carlton  <carlton@math.stanford.edu>
21969
21970         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
21971         this time.
21972
21973 2003-05-19  David Carlton  <carlton@bactrian.org>
21974
21975         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
21976         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
21977
21978 2003-05-19  David Carlton  <carlton@bactrian.org>
21979
21980         * gdb.c++/namespace.exp: Add namespace scope and anonymous
21981         namespace tests.
21982         Bump copyright date.
21983         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
21984         (main): Call C::D::marker2.
21985         * gdb.c++/namespace1.cc: New file.
21986
21987 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
21988
21989         Roland McGrath  <roland@redhat.com>
21990         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
21991         there is no manager thread.
21992
21993 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
21994
21995         * gdb.threads/schedlock.exp: Remove assumption that all threads
21996         will run in a particular small time slice.  Also ensure we break
21997         in one of the child threads rather than the main thread.
21998
21999 2003-05-07  Jim Blandy  <jimb@redhat.com>
22000
22001         Add support for assembly source testing on the s390x.
22002         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22003         architecture.
22004         * gdb.asm/s390x.inc: New file.
22005
22006         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22007         succession of 'if' statements.
22008
22009 2003-05-05  Andrew Cagney  <cagney@redhat.com>
22010
22011         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22012
22013 2003-05-05  Andrew Cagney  <cagney@redhat.com>
22014
22015         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22016         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22017
22018 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
22019
22020         * gdb.base/charset.exp: Update based on new behavior of set/show
22021         charset commands.
22022
22023 2003-05-01  Andrew Cagney  <cagney@redhat.com>
22024
22025         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22026         variable do not give memory errors.
22027
22028 2003-04-30  Adam Fedor  <fedor@gnu.org>
22029
22030         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22031         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22032         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22033         gdb.objc/basicclass.m: : New files
22034
22035         * lib/gdb.exp (gdb_compile_objc): New procedure.
22036
22037 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
22038
22039         * gdb.base/signals.exp: Make backtrace tests more specific.
22040
22041 2003-04-23  David Carlton  <carlton@bactrian.org>
22042
22043         * gdb.c++/maint.exp (test_first_component): Add tests for
22044         'operator' in more locations.
22045
22046 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
22047
22048         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22049
22050 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
22051
22052         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22053         func marke' instead. Update test name.
22054
22055 2003-04-15  David Carlton  <carlton@math.stanford.edu>
22056
22057         * gdb.c++/maint.exp: New file.
22058
22059 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
22060
22061         * gdb.threads/schedlock.c: Change type of thread function argument
22062         to long, to avoid warnings on 64-bit platforms.
22063
22064 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
22065
22066         * gdb.base/attach.exp: Add new message from ptrace in case of
22067         attaching to nonexistent process.
22068
22069 2003-04-11  Jim Blandy  <jimb@redhat.com>
22070
22071         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22072         gdb.c++/userdef.cc: Place comments on the lines to which the
22073         marker function might return.
22074         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22075         gdb.c++/userdef.exp: Look for those comments to check that we've
22076         returned to the right place, instead of checking line numbers.
22077
22078 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
22079
22080         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22081         match on sourcefile name, instead of directory name.
22082
22083 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
22084
22085         * gdb.base/completion.exp: Use string_to_regexp to match the
22086         working directory name.
22087
22088 2003-04-09  Jim Blandy  <jimb@redhat.com>
22089
22090         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22091         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22092         after an inferior function call, report the failure, but allow the
22093         test to continue.
22094
22095 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
22096
22097         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22098         with -DPROTOTYPES.
22099
22100 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
22101
22102         * gdb.base/break.exp: Revert last patch.
22103
22104 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
22105
22106         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22107         with -DPROTOTYPES.
22108
22109 2003-04-02  Andrew Cagney  <cagney@redhat.com>
22110
22111         * gdb.base/callfuncs.exp: Make "print add" messages unique.
22112         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22113         matching directories by the name breakpoint.
22114         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22115         Make "continue to marker1" consistent.
22116         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22117         message consistent.
22118         * lib/gdb.exp: Put "the program is no longer running", and "the
22119         program exited" in parenthesis.
22120         * lib/mi-support.exp: Ditto.
22121
22122 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
22123
22124         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22125
22126 2003-03-29  Andrew Cagney  <cagney@redhat.com>
22127
22128         * gdb.base/sizeof.c (main): Print the value of '\377'.
22129         * gdb.base/sizeof.exp: Check the sign of '\377'.
22130
22131 2003-03-27  Michael Chastain  <mec@shout.net>
22132
22133         * gdb.base/gdb1090.exp: New file.
22134         * gdb.base/gdb1090.cc: New file.
22135
22136 2003-03-27  J. Brobecker  <brobecker@gnat.com>
22137
22138         * gdb.gdb/observer.exp: New regression test.
22139
22140 2003-03-27  Michael Chastain  <mec@shout.net>
22141
22142         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22143         * gdb.base/ptype.exp: Likewise.
22144
22145 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
22146
22147         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22148
22149 2003-03-26  Michael Chastain  <mec@shout.net>
22150
22151         * gdb.base/ptype.exp: Actually use some typedef'd types.
22152
22153 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
22154
22155         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22156         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22157
22158 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22159
22160         * gdb.base/default.exp: Fix regular expression.
22161
22162 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22163
22164         * gdb.base/args.exp: Fix regular expression.
22165
22166 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22167
22168         * gdb.base/help.exp: Allow Win32 child process.
22169
22170 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22171
22172         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22173         when stepping out of main().
22174
22175 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22176
22177         * gdb.base/default.exp: Check for win32 specific message when calling
22178         "run" without executable.
22179
22180 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22181
22182         * gdb.base/args.exp: Expect .exe in output.
22183
22184 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22185
22186         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22187         Cygwin native.
22188
22189 2003-03-17  Andrew Cagney  <cagney@redhat.com>
22190
22191         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
22192         vector registes.
22193         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22194         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22195
22196 2003-03-17  David Carlton  <carlton@math.stanford.edu>
22197
22198         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22199         test, for PR breakpoints/38.
22200         Call test_watchpoint_and_breakpoint.
22201         * gdb.base/watchpoint.c (func3): New function.
22202         (main): Call func3.
22203
22204 2003-03-04  David Carlton  <carlton@math.stanford.edu>
22205
22206         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22207         Garply<Garply<char> >:: garply".
22208         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22209         with respect to PR c++/1111; note also PR c++/1113.
22210         (test_template_breakpoints): KFAIL "constructor breakpoint" with
22211         respect to PR c++/1062.
22212         KFAIL "destructor breakpoint" with respect to PR c++/1112.
22213
22214 2003-03-03  David Carlton  <carlton@math.stanford.edu>
22215
22216         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22217         with respect to PR c++/57.
22218         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22219         c++/826.
22220         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22221         respect to PR c++/57.
22222
22223 2003-03-03  David Carlton  <carlton@math.stanford.edu>
22224
22225         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22226         respect to PR c++/33 into FAILs.
22227
22228 2003-03-03  Michael Chastain  <mec@shout.net>
22229
22230         * configure.in: Update copyright years.
22231
22232 2003-03-03  Michael Chastain  <mec@shout.net>
22233
22234         * Makefile.in: Update copyright years.
22235
22236 2003-02-28  David Carlton  <carlton@math.stanford.edu>
22237
22238         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22239         print class instead of struct and/or superfluous protection
22240         specifiers, as long as the resulting output is equivalent to the
22241         source code.
22242         Delete FIXME from end of messages on tests that don't need
22243         fixing.
22244
22245 2003-02-28  David Carlton  <carlton@math.stanford.edu>
22246
22247         * gdb.c++/templates.exp (do_tests): Allow const in the two
22248         Foo<volatile char *>::foo tests.
22249
22250 2003-02-27  Michael Snyder  <msnyder@redhat.com>
22251
22252         * gdb.base/restore.c (main): Return zero, so exit code
22253         will be consistant.
22254
22255 2003-02-26  David Carlton  <carlton@math.stanford.edu>
22256
22257         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22258         char *>::foo" test with respect to PR c++/33.  Create a new test
22259         which is identical to that one except that it doesn't put the
22260         space between the "char" and the "*"; KFAIL it, too.
22261
22262 2003-02-26  David Carlton  <carlton@math.stanford.edu>
22263
22264         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22265         template types into either PASSes or KFAILs (corresponding to PR
22266         c++/57).  Tweak indentation.  Update copyright.
22267
22268 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
22269
22270         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22271
22272 2003-02-13  Michael Chastain  <mec@shout.net>
22273
22274         * gdb.base/exprs.exp: Remove i960 remnants.
22275         * gdb.base/funcargs.exp: Likewise.
22276         * gdb.base/list.exp: Likewise.
22277         * gdb.base/ptype.exp: Likewise.
22278
22279 2003-02-14  David Carlton  <carlton@math.stanford.edu>
22280
22281         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22282         pEe->D::vg()" from XFAIL to KFAIL.
22283
22284 2003-02-13  Jason Molenda  (jmolenda@apple.com)
22285
22286         * gdb.base/maint.exp: Update maint print statistics regexp to include
22287         new entries.
22288
22289 2003-02-13  Michael Chastain  <mec@shout.net>
22290
22291         * gdb.c++/inherit.exp: Remove call to get_debug_format.
22292
22293 2003-02-12  Michael Chastain  <mec@shout.net>
22294
22295         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22296         * gdb.c++/inherit.exp: Likewise.
22297         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22298         * gdb.c++/templates.exp: Likewise.
22299         * gdb.c++/virtfunc.exp: Likewise.
22300
22301 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
22302
22303         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22304         why the code is written that way.
22305
22306 2003-02-05  Michael Chastain  <mec@shout.net>
22307
22308         * gdb.base/dump.exp: Add missing copyright line.
22309
22310 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
22311
22312         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22313         at the beginning so the breakpoint doesn't get set on the loop.
22314
22315 2003-02-05  Michael Chastain  <mec@shout.net>
22316
22317         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22318         output for configurations with gcc 2.95.3.
22319
22320 2003-02-05  Keith Seitz  <keiths@redhat.com>
22321             Andrew Cagney  <ac131313@redhat.com>
22322
22323         * gdb.mi/mi-cli.exp: New file.
22324
22325 2003-02-04  Michael Chastain  <mec@shout.net>
22326
22327         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22328         Call perror and then continue.
22329
22330 2003-02-03  Michael Chastain  <mec@shout.net>
22331
22332         * gdb.c++/pr-1023.cc: New file.
22333         * gdb.c++/pr-1023.exp: New file.
22334
22335 2003-02-05  Jim Blandy  <jimb@redhat.com>
22336
22337         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22338         it's local to foobar.  Check for it there, and check that it's not
22339         present in main.
22340         * gdb.c++/local.cc (marker2): New function.
22341         (foobar): Call marker1.
22342         (main): Call marker2 instead of marker1.
22343
22344 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
22345
22346         * gdb.disasm/mn10200.exp: Obsolete file.
22347         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22348         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22349         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22350
22351 2003-02-04  David Carlton  <carlton@math.stanford.edu>
22352
22353         * gdb.c++/overload.exp: Test intToChar(1).
22354         * gdb.c++/overload.cc (intToChar): New.
22355         (main): Call intToChar.
22356
22357 2003-02-03  David Carlton  <carlton@math.stanford.edu>
22358
22359         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22360         'might_kfail' arg.
22361         KFAIL some of the continue_to_bp_overloaded calls, according to
22362         PR c++/1025.
22363
22364 2003-02-01  Michael Chastain  <mec@shout.net>
22365
22366         * gdb.base/advance.c (marker1): New marker function.
22367         * gdb.base/advance.exp: When the 'advance' command lands on the
22368         return breakpoint, it can legitimately stop on either the
22369         current line or the next line.  Accommodate both outcomes.
22370         * gdb.base/until.exp: Likewise.
22371
22372 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
22373
22374         2002-11-10 Jason Molenda (jason-cl@molenda.com):
22375         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22376         now a list, not a tuple.
22377         * gdb.mi/mi-var-display.exp: Ditto.
22378         * gdb.mi/gdb792.exp: Ditto.
22379
22380 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
22381
22382         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22383         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22384         stack backtraces.
22385         * gdb.mi/mi-syn-frame.c: Part of same.
22386
22387 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
22388
22389         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22390         gdb.mi/mi1-pthreads.exp: Return instead of calling
22391         gdb_suppress_entire_file.
22392
22393 2003-02-01  Mark Salter  <msalter@redhat.com>
22394
22395         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22396
22397 2003-01-31  Mark Salter  <msalter@redhat.com>
22398
22399         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22400         Support empty arg.
22401
22402 2003-01-30  Michael Chastain  <mec@shout.net>
22403
22404         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22405         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
22406         has been fixed in gdb/readline on 2003-01-09.
22407
22408 2003-01-29  Michael Snyder  <msnyder@redhat.com>
22409
22410         * gdb.base/maint.exp: Allow for leading underscore in symbol.
22411         * gdb.base/display.exp: Allow for leading underscore in symbol.
22412         * gdb.base/args.exp: Skip if target does not support args passing.
22413
22414 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
22415
22416         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22417         gdb_test.  Accept a list of expect arguments as the third
22418         parameter.
22419         (gdb_test): Use it.
22420
22421 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
22422
22423         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22424         allow for different test tree configurations.  Update some
22425         tescases accordingly.
22426         * gdb.arch/altivec-regs.exp: Ditto.
22427         * gdb.asm/asm-source.exp: Ditto.
22428         * gdb.base/advance.exp: Ditto.
22429         * gdb.base/display.exp: Ditto.
22430         * gdb.base/long_long.exp: Ditto.
22431         * gdb.base/mips_pro.exp: Ditto.
22432         * gdb.base/overlays.exp: Ditto.
22433         * gdb.base/relocate.exp: Ditto.
22434         * gdb.base/setshow.exp: Ditto.
22435         * gdb.base/step-line.exp: Ditto.
22436         * gdb.base/step-test.exp: Ditto.
22437         * gdb.base/until.exp: Ditto.
22438         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22439
22440 2003-01-17  David Carlton  <carlton@math.stanford.edu>
22441
22442         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22443         corresponding to PR c++/945.
22444         Update copyright.
22445
22446 2003-01-17  David Carlton  <carlton@math.stanford.edu>
22447
22448         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22449         corresponding to PR c++/68.
22450
22451 2003-01-17  David Carlton  <carlton@math.stanford.edu>
22452
22453         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22454         (test_paddr_hairy_functions): Call print_addr_2_kfail for
22455         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
22456
22457 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
22458
22459         * gdb.base/break.exp: Fix change of default location, because of
22460         removal of until tests.
22461         * gdb.base/help.exp: Update test for new 'until' help message.
22462         Add test for help on 'advance'.
22463         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22464
22465 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
22466
22467         * gdb.base/default.exp: Adapt "info float" test for recent changes
22468         to that command.  Add test for "info vector".
22469         * gdb.base/float.exp: New file.  Add test for "info float" that
22470         resembles the old test in gdb.base/default.exp.
22471
22472 2003-01-15  David Carlton  <carlton@math.stanford.edu>
22473
22474         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22475
22476 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
22477
22478         * gdb.base/break.exp: Move the tests of until command from here...
22479         * gdb.base/until.exp: ... to here. New file. Add other tests.
22480         * gdb.base/advance.c: New file.
22481         * gdb.base/advance.exp: New file.
22482
22483 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
22484
22485         * gdb.base/args.c: New file.
22486         * gdb.base/args.exp: New file.
22487
22488 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
22489
22490         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22491
22492 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
22493
22494         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22495
22496 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
22497
22498         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
22499         dates.
22500
22501 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22502
22503         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22504
22505 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22506
22507         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22508         (ptype &*"foo").
22509         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22510
22511 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22512
22513         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22514         * gdb.mi/mi1-console.exp: Likewise.
22515
22516 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22517
22518         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22519         * gdb.mi/mi1-console.exp: Likewise.
22520
22521 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22522
22523         * gdb.c++/overload.exp: Remove some fixed XFAILs.
22524
22525 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
22526
22527         * gdb.base/detach.exp: New test.
22528
22529 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
22530
22531         * Makefile.in (ALL_SUBDIRS): New variable.
22532         (subdirs, clean, distclean): Use it.
22533         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
22534         regenerating Makefile, since it is generated from the top level.
22535         * gdb.asm/Makefile.in: Likewise.
22536         * gdb.base/Makefile.in: Likewise.
22537         * gdb.c++/Makefile.in: Likewise.
22538         * gdb.disasm/Makefile.in: Likewise.
22539         * gdb.java/Makefile.in: Likewise.
22540         * gdb.mi/Makefile.in: Likewise.
22541         * gdb.threads/Makefile.in: Likewise.
22542         * gdb.trace/Makefile.in: Likewise.
22543
22544 2003-01-09  David Carlton  <carlton@math.stanford.edu>
22545
22546         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22547         Add copyright year 2003.
22548
22549 2003-01-06  Michael Chastain  <mec@shout.net>
22550
22551         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22552         When selecting a thread, 'line' and 'file' are optional.
22553         * gdb.mi/mi1-pthreads.exp: Likewise.
22554
22555 2003-01-06  Andreas Schwab  <schwab@suse.de>
22556
22557         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22558         failures.
22559
22560 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22561
22562         Fix PR gdb/844
22563         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22564         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22565
22566         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
22567         instead of calling gdb_suppress_entire_file.
22568         * gdb.threads/print-threads.exp: Likewise.
22569         * gdb.threads/schedlock.exp: Likewise.
22570
22571         * gdb.threads/killed.exp: Return instead of calling
22572         gdb_suppress_entire_file.
22573         * gdb.threads/linux-dp.exp: Likewise.
22574         * gdb.threads/pthreads.exp: Likewise.
22575
22576 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22577
22578         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22579         stabs.
22580         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22581         * gdb.base/whatis.exp: Always allow (void) after function names.
22582
22583 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22584
22585         * gdb.c++/casts.exp: Correct regexp.
22586
22587 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
22588
22589         * configure.in: Call AC_CONFIG_HEADER.  Don't call
22590         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22591         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
22592         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
22593         aforementioned directories in the AC_OUPUT call.
22594         * config.hin: New file.
22595         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22596         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22597         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22598         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22599         pass -I$objdir instead of -I$objdir/$subdir in compilation.
22600         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22601         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22602         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22603         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22604         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22605         gdb.threads/configure.in, gdb.threads/configure,
22606         gdb.threads/config.in, gdb.trace/configure.in,
22607         gdb.trace/configure: Removed.
22608
22609 2003-01-03  Michael Chastain  <mec@shout.net>
22610
22611         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22612         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22613
22614 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
22615
22616         * gdb.base/store.exp: Fix regular expressions.
22617
22618 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
22619
22620         * configure.in: Rewrite.
22621         * configure: Regenerated.
22622
22623 2003-01-03  David Carlton  <carlton@math.stanford.edu>
22624
22625         * gdb.base/psymtab.exp: New file.
22626         * gdb.base/psymtab1.c: Ditto.
22627         * gdb.base/psymtab2.c: Ditto.
22628
22629 2002-12-23  Adam Fedor  <fedor@gnu.org>
22630
22631         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22632
22633 2002-12-23  David Carlton  <carlton@math.stanford.edu>
22634
22635         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22636         and current_directory initialization.
22637
22638 2002-12-22  Jim Blandy  <jimb@redhat.com>
22639
22640         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22641         rather than as part of the output file name.
22642
22643         * gdb.base/attach.exp: There's no need to copy the test program to
22644         /tmp; that was only ever necessary on HP/UX, and this test is
22645         entirely disabled there anyway.
22646
22647 2002-12-21  Jim Blandy  <jimb@redhat.com>
22648
22649         * gdb.c++/psmang.exp: Doc fix.
22650
22651         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22652         test.
22653
22654 2002-12-20  David Carlton  <carlton@math.stanford.edu>
22655
22656         * gdb.c++/annota2.exp: KFAIL annotate-quit.
22657
22658 2002-12-18  Michael Chastain  <mec@shout.net>
22659
22660         * gdb.c++/annota2.exp: Add copyright year 2002.
22661
22662 2002-12-17  David Carlton  <carlton@math.stanford.edu>
22663
22664         * gdb.c++/try_catch.cc: Add marker comments.
22665         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22666         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22667         * gdb.c++/m-static.cc: Ditto.
22668         * gdb.c++/m-static1.cc: Ditto.
22669         * gdb.c++/try_catch.cc: Ditto.
22670
22671 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
22672
22673         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22674         to see whether we are using the new -environment-directory
22675         command which resets via -r or the old version of the command
22676         which may prompt the user.  Part of fix for gdb/741.
22677
22678 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
22679
22680         * gdb.fortran/types.exp: Update obsolete comment.
22681         * gdb.fortran/exprs.exp: Ditto.
22682         * lib/gdb.exp: Delete obsolete code.
22683         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22684         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22685         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22686         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22687         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22688         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22689         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22690         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22691         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22692         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22693         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22694         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22695         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22696         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22697         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22698         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22699         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22700         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22701         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22702         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22703         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22704         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22705         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22706         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22707         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22708         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22709         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22710         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22711         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22712         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22713         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22714         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22715         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22716         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22717         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22718         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22719         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22720
22721 2002-12-11  David Carlton  <carlton@math.stanford.edu>
22722
22723         * gdb.c++/m-data.exp: Add test for members that shadow global
22724         variables: see PR gdb/804.
22725         * gdb.c++/m-data.cc: Ditto.
22726
22727 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
22728
22729         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22730
22731 2002-12-06  David Carlton  <carlton@math.stanford.edu>
22732
22733         * gdb.base/store.c: Don't declare functions static.
22734
22735 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
22736
22737         * gdb.base/store.exp, gdb.base/store.c: New files.
22738
22739 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22740
22741         * gdb.base/selftest.exp: Update for current gdb.
22742
22743 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22744
22745         * gdb.base/maint.exp: Only dump symbols from one source file
22746         or objfile.
22747
22748 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22749
22750         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22751         function call.
22752
22753 2002-11-25  Jim Blandy  <jimb@redhat.com>
22754
22755         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22756         function appearing in error message.
22757
22758 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
22759
22760         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22761
22762 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
22763
22764         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22765         for mi1 and current mi is in correct format.  New mi startup message
22766         should be in mi console format.  This is part of fix for PR gdb/604.
22767
22768 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
22769
22770         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22771         which explicitly prints the zero offset as "+0".
22772
22773 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
22774
22775         * gdb.threads/schedlock.c (args): Make unsigned.
22776
22777 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
22778
22779         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
22780         numbers.  Allow "foo2|selected stack frame".
22781         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22782         * gdb.asm/asmsrc2.s: Likewise.
22783         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
22784         comments.
22785         * gdb.asm/mips.inc: New file.
22786
22787 2002-10-18  Adam Fedor  <fedor@gnu.org>
22788
22789         * gdb.base/default.exp: Update expected output to include 'ObjC'.
22790         * gdb.base/help.exp: Likewise.
22791
22792 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
22793
22794         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22795         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22796
22797 2002-10-02  Jim Blandy  <jimb@redhat.com>
22798
22799         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22800
22801 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
22802
22803         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22804         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22805         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22806         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22807         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22808         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22809         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22810
22811 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
22812
22813         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22814         * mi0-disassemble.exp, mi0-eval.exp: Delete.
22815         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22816         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22817         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22818         * mi0-var-block.exp, mi0-var-child.exp: Delete.
22819         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
22820
22821 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
22822
22823         * gdb.base/annota1.exp (info break): Make directory components of
22824         path optional since not all compilers emit this debug information.
22825
22826         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22827         step ends up stepping out of the function instead of stopping on
22828         the epilogue.
22829
22830 2002-09-26  Keith Seitz  <keiths@redhat.com>
22831
22832         * lib/insight-support.exp (gdbtk_start): Figure out where
22833         the insight executable is based on where gdb is. Use this
22834         executable to start insight instead of gdb.
22835
22836 2002-09-25  Andrew Cagney  <cagney@redhat.com>
22837
22838         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22839
22840 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
22841
22842         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22843         test_isolated_complaints.
22844         (test_empty_complaint): New function.
22845         (test_empty_complaints): New function.  Check no output when no
22846         complaints.
22847
22848 2002-09-19  Jim Blandy  <jimb@redhat.com>
22849
22850         * gdb.base/charset.exp, gdb.base/charset.c: New files.
22851
22852 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
22853
22854         * gdb.gdb/complaints.exp: New file.
22855
22856 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
22857
22858         * gdb.base/maint.exp: Check `help maint internal-warning'.
22859
22860 2002-09-18  David Carlton  <carlton@math.stanford.edu>
22861
22862         * gdb.c++/m-static.exp: Remove breakpoints depending on line
22863         numbers, and replace them by a single breakpoint after the
22864         constructors are all finished.
22865         Add test 4.
22866         * gdb.c++/m-static.cc: Add test 4.
22867         * gdb.c++/m-static.h: New file.
22868         * gdb.c++/m-static1.cc: New file.
22869
22870         * gdb.c++/printmethod.exp: New file.
22871         * gdb.c++/printmethod.cc: New file.
22872
22873         * gdb.c++/pr-574.exp: New file.
22874         * gdb.c++/pr-574.cc: New file.
22875
22876 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
22877
22878         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22879         embedded targets which never actually exit.
22880
22881 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
22882
22883         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22884         "don't step after run" as unresolved or unsupported, instead of xfail.
22885
22886 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
22887
22888         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22889         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22890         Add newline to expected string in "step out of main (status wrapper)"
22891         case.
22892
22893 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
22894
22895         * lib/gdb.exp (rerun_to_main): Allow restarting application.
22896         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22897
22898 2002-09-17  Tom Tromey  <tromey@redhat.com>
22899
22900         * gdb.base/printcmds.exp (test_print_string_constants): Expect
22901         \000, not \0, in double-quoted string.
22902
22903 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
22904
22905         * gdb.base/commands.exp: Don't expect a "Program exited normally"
22906         string after running the commands execution on breakpoint tests.
22907
22908 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
22909
22910         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22911
22912 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
22913
22914         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22915
22916 2002-09-10  Keith Seitz  <keiths@redhat.com>
22917
22918         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22919         runto proc.
22920         (mi_run_to_main): Use mi_runto.
22921         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22922
22923 2002-09-10  Keith Seitz  <keiths@redhat.com>
22924
22925         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22926         regexp for stopping at main. Could have multiple event notifications.
22927         Don't assume that main was declared with no parameters.
22928         (mi_next): Use mi_step_to.
22929         (mi_step): Use mi_next_to.
22930
22931 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
22932
22933         * gdb.base/default.exp: Fix expected string in `info float' test.
22934
22935 2002-09-09  Ben Elliston  <bje@redhat.com>
22936
22937         * config/mips.exp: Update comments.
22938         * config/mips-idt.exp: Likewise.
22939         * config/nind.exp: Likewise.
22940         * config/slite.exp: Likewise.
22941         * config/sparclet.exp: Likewise.
22942         * config/udi.exp: Likewise.
22943         * config/vx.exp: Likewise.
22944         * config/vxworks29k.exp: Likewise.
22945
22946 2002-09-05  Jim Blandy  <jimb@redhat.com>
22947
22948         * gdb.threads/killed.exp: Fix test failure message.
22949
22950 2002-09-04  Keith Seitz  <keiths@redhat.com>
22951
22952         * lib/mi-support.exp: Update copyright.
22953         (mi_gdb_test): Increase the priority of the expected pattern
22954         so that it matches gdb_test.
22955
22956 2002-09-03  Keith Seitz  <keiths@redhat.com>
22957
22958         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
22959         Use integer comparison instead of string comparison for testing
22960         whether binary was built.
22961
22962 2002-09-03  Jim Blandy  <jimb@redhat.com>
22963
22964         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
22965
22966 2002-08-29  Jim Blandy  <jimb@redhat.com>
22967
22968         * gdb.threads/pthreads.exp: Move the portable thread compilation
22969         code into a function in lib/gdb.exp, and call that from here.
22970         * lib/gdb.exp (gdb_compile_pthreads): New function.
22971
22972 2002-08-29  Keith Seitz  <keiths@redhat.com>
22973
22974         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
22975         expect_out so that callers can get at it.
22976
22977 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
22978
22979         * gdb.threads/print-threads.c: New file.
22980         * gdb.threads/print-threads.exp: New file.
22981         * gdb.threads/schedlock.c: New file.
22982         * gdb.threads/schedlock.exp: New file.
22983
22984 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
22985
22986         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
22987         not altivec.c.
22988
22989 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
22990
22991         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
22992         targets.  The problem should be fixed now.
22993
22994 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
22995
22996         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
22997         2002-07-24 change that removes final dots from error messages.
22998
22999 2002-08-13  Tom Tromey  <tromey@redhat.com>
23000
23001         * gdb.base/readline.exp: New file.
23002
23003 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
23004
23005         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23006         supress message.
23007
23008 2002-08-01  Andrew Cagney  <cagney@redhat.com>
23009
23010         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23011         CHILL_FOR_TARGET and CHILL_LIB.
23012         * configure.in (configdirs): Remove gdb.chill.
23013         * configure: Regenerate.
23014         * lib/gdb.exp: Obsolete references to chill.
23015         * gdb.fortran/types.exp: Ditto.
23016         * gdb.fortran/exprs.exp: Ditto.
23017
23018 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
23019
23020         * gdb.base/shlib-call.exp (additional_flags): Conditionally
23021         set Irix-specific compile and link flags.
23022
23023 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
23024
23025         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23026         source files.  The ``-o'' option doesn't work with the ``-E'' option
23027         when using the Irix compiler.
23028
23029 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
23030
23031         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23032         Improve support for reusing an exec file.  Copy exec file
23033         to target, and run gdbserver on the target instead of on the host.
23034
23035 2002-07-18  Jim Blandy  <jimb@redhat.com>
23036
23037         * gdb.base/ending-run.exp: Don't expect to see the program end in
23038         some orderly fashion when we're running on a real stand-alone
23039         board.
23040
23041         * gdb.base/interrupt.exp: Correct logic for skipping tests on
23042         targets that don't support interrupts.
23043
23044 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
23045
23046         * gdb.base/attach.exp: Add patterns to match output from /proc-based
23047         systems.
23048         Move comments in expect statements to inside the actions, so that they
23049         don't get matched against.
23050
23051 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
23052
23053         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23054         function when asleep" test.
23055
23056 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
23057
23058         * gdb.base/page.exp: Rewrite to handle problems with very long
23059         `info set' output.  Update copyright.
23060
23061 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
23062
23063         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23064         gdb.threads-hp.
23065         * gdb.hp/configure: Regenerate.
23066         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23067         * gdb.hp/gdb.threads-hp/configure: Delete file.
23068         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23069
23070 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
23071
23072         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23073         setlocale, bindtextdomain and textdomain.
23074
23075 2002-06-11  Jim Blandy  <jimb@redhat.com>
23076
23077         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23078         preprocessor macro information is present.
23079
23080         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23081         tests.
23082
23083 2002-06-06  Michael Snyder  <msnyder@redhat.com>
23084
23085         * gdb.base/overlays.exp: Record addresses of overlay
23086         functions in TCL variables rather than in GDB variables,
23087         to avoid having GDB convert them to pointers (with loss
23088         of information).
23089
23090         * gdb.base/d10v.ld: Merge in several years worth of
23091         default linker script changes.
23092         * gdb.base/long_long.exp: Add check for sizeof (long double).
23093
23094 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
23095
23096         * gdb.asm/asm-source.exp: Add x86-64 target.
23097         * gdb.asm/x86_64.inc: New.
23098
23099 2002-05-30  Michael Chastain  <mec@shout.net>
23100
23101         From Benjamin Kosnik <bkoz@redhat.com>:
23102         * gdb.c++/m-static.cc: New file.
23103         * gdb.c++/m-static.exp: New file.
23104
23105 2002-05-28  Michael Snyder  <msnyder@redhat.com>
23106
23107         * gdb.base/call-ar-st.exp: Allow for reduced floating point
23108         precision.
23109
23110 2002-05-27  Michael Chastain  <mec@shout.net>
23111
23112         From Benjamin Kosnik <bkoz@redhat.com>:
23113         * gdb.c++/m-data.cc: New file.
23114         * gdb.c++/m-data.exp: New file.
23115
23116 2002-05-27  Michael Chastain  <mec@shout.net>
23117
23118         From Benjamin Kosnik <bkoz@redhat.com>:
23119         * gdb.c++/try_catch.cc: New file.
23120         * gdb.c++/try_catch.exp: New file.
23121
23122 2002-05-27  Michael Chastain  <mec@shout.net>
23123
23124         * gdb.c++/local.exp: Accept more nested types in output.
23125
23126 2002-05-26  Michael Chastain  <mec@shout.net>
23127
23128         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23129
23130 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
23131
23132         * lib/gdb.exp (gdb_wrapper_init): Just because
23133         gdb_wrapper_file exists, this does not mean that the file
23134         should not be rebuilt.  That is what gdb_wrapper_initialized
23135         is for.
23136         (default_gdb_init): Reset gdb_wrapper_initialized.
23137
23138 2002-05-23  Michael Snyder  <msnyder@redhat.com>
23139
23140         * gdb.base/all-bin.exp: Revise previous patch by just reducing
23141         the precision of the floating point test results.
23142         * gdb.base/call-rt-st.exp: Ditto.
23143
23144         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23145         * gdb.base/call-rt-st.exp: Ditto.
23146
23147 2002-05-19  Michael Chastain  <mec@shout.net>
23148
23149         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23150
23151 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
23152
23153         * configure.in (configdirs): Add gdb.arch.
23154         * configure: Regenerate.
23155
23156 2002-05-17  Jim Blandy  <jimb@redhat.com>
23157
23158         * gdb.base/completion.exp: Recognize the more detailed error
23159         messages produced by the macro expander's lexical analyzer.
23160
23161 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
23162
23163         * gdb.arch/altivec-abi.c: New file.
23164         * gdb.arch/altivec-abi.exp: New file.
23165         * gdb.arch/altivec-regs.c: New file.
23166         * gdb.arch/altivec-regs.exp: New file.
23167
23168 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
23169
23170         * gdb.base/maint.exp (maint print type): Update for new type
23171         structure.
23172
23173 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
23174
23175         * gdb.arch: New directory.
23176         * gdb.arch/configure.in: New file.
23177         * gdb.arch/configure: New file.
23178         * gdb.arch/Makefile.in: New file.
23179
23180 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
23181
23182         * gdb.asm/asm-source.exp: Add v850 as supported target.
23183         * gdb.asm/v850.inc: New file.
23184
23185 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
23186
23187         * gdb.c++/annota2.exp (annotate-quit): Add comment.
23188
23189 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
23190
23191         * gdb.base/break.exp: Check 'break "marker2"'.
23192
23193 2002-05-10  Michael Snyder  <msnyder@redhat.com>
23194
23195         * gdb.base/long_long.exp: Fix typo.
23196
23197 2002-05-10  Jim Blandy  <jimb@redhat.com>
23198
23199         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
23200         a bug.
23201
23202         * gdb.base/printcmds.exp (test_integer_literals_rejected):
23203         Recognize more detailed error message produced by the macro
23204         expander's lexical analyzer.
23205         * lib/gdb.exp (test_print_reject): Same.
23206
23207 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
23208
23209         * gdb.c++/method.exp: Fix typo.
23210
23211 2002-05-08  Michael Snyder  <msnyder@redhat.com>
23212
23213         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23214         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23215         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23216         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23217         Add iftarget clause for strongarm.
23218
23219 2002-05-06  Michael Snyder  <msnyder@redhat.com>
23220
23221         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23222         (gdb_continue_to_end): Accept output from status wrapper.
23223         * gdb.base/ending-run.exp: Add case for output from status wrapper.
23224         Clean up fail messages to match pass messages.
23225
23226         Enable the "needs_status_wrapper" testsuite feature.
23227         * lib/gdb.exp (gdb_wrapper_init): New procedure.
23228         (gdb_compile): Conditionally call gdb_wrapper_init.
23229         * gdb.base/a2-run.exp: Recognize output from status wrapper.
23230         * gdb.c++/method.exp: Recognize output from status wrapper.
23231
23232 2002-05-06  Ben Elliston  <bje@redhat.com>
23233 From Graydon Hoare  <graydon@redhat.com>
23234
23235         * config/sid.exp: Include support for "rawsid" protocol.
23236
23237 2002-05-03  Jim Blandy  <jimb@redhat.com>
23238
23239         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23240         * gdb.c++/hang3.C: New file.
23241
23242 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
23243
23244         * gdb.base/default.exp: Remove obsolete code.
23245         * gdb.c++/misc.exp: Ditto.  Update copyright.
23246         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
23247         * gdb.base/whatis.exp: Ditto.  Update copyright.
23248         * gdb.base/scope.exp: Ditto.  Update copyright.
23249         * gdb.base/ptype.exp: Ditto.  Update copyright.
23250         * gdb.base/printcmds.exp: Ditto.  Update copyright.
23251         * gdb.base/opaque.exp: Ditto.  Update copyright.
23252         * gdb.base/list.exp: Ditto.
23253         * gdb.base/funcargs.exp: Ditto.  Update copyright.
23254         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23255         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23256         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23257         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23258         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23259         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23260
23261 2002-05-02  Michael Snyder  <msnyder@redhat.com>
23262
23263         * gdb.base/watchpoint.exp: Add xscale target.
23264         * gdb.base/long_long.exp: Add xscale target.
23265         * gdb.base/default.exp: Add xscale target.
23266
23267 2002-05-01  Jim Blandy  <jimb@redhat.com>
23268
23269         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23270         gdb.c++/hang.exp: New test.
23271
23272 2002-05-01  Fred Fish  <fnf@redhat.com>
23273
23274         * gdb.base/completion.exp: Handle completions of "./Make" for
23275         more than one completion possibility, as is the case when we
23276         build and test in the source tree.
23277
23278 2002-04-29  Anthony Green  <green@redhat.com>
23279
23280         * gdb.java/jmisc1.exp: New file.
23281         * gdb.java/jmisc2.exp: New file.
23282
23283 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
23284
23285         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23286
23287 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
23288
23289         * gdb.base/help.exp: Change 'help status' to allow for target
23290         dependent output differences.
23291
23292 2002-04-22  Michael Chastain  <mec@shout.net>
23293
23294         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23295
23296 2002-04-22  Michael Chastain  <mec@shout.net>
23297
23298         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23299
23300 2002-04-17  David S. Miller  <davem@redhat.com>
23301
23302         * gdb.asm/sparc64.inc: New file.
23303         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23304
23305 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
23306
23307         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23308         instruction file directly into the build tree.  Clean up at end of
23309         test.
23310
23311 2002-04-18  David S. Miller  <davem@redhat.com>
23312
23313         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23314         handle 64-bit platforms correctly.
23315         * gdb.base/maint.exp: Likewise.
23316
23317 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
23318
23319         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23320         ``-fpic'' when compiling files comprising a shared library, but
23321         it does need additional linker flags in order to find shared
23322         libraries at run time.
23323
23324 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
23325
23326         * gdb.base/cvexpr.c (use): New function.
23327         (main): Invoke use() on all global variables to prevent
23328         some linkers from deleting these otherwise unused symbols.
23329
23330 2002-04-17  Michael Chastain  <mec@shout.net>
23331 From David S. Miller  <davem@redhat.com>
23332
23333         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23334         handle 64-bit platforms correctly.
23335
23336 2002-04-12  Michael Snyder  <msnyder@redhat.com>
23337 From Jim Blandy  <jimb@redhat.com>
23338         * gdb.base/foo.c (foox): Remove section attribute; the linker
23339         script can handle this instead.
23340         * gdb.base/bar.c (barx): Same.
23341         * gdb.base/baz.c (bazx): Same.
23342         * gdb.base/grbx.c (grbxx): Same.
23343
23344         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23345         manager doesn't automatically unmap overlays unnecessarily.
23346
23347 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
23348
23349         * gdb.base/ending-run.exp: Fix pattern for Mips targets
23350         stepping out of main.
23351
23352 2002-04-09  Michael Chastain  <mec@shout.net>
23353
23354         * gdb.c++/local.cc (main): Move call to marker1() inside nested
23355         scope so that the nested scope tests will make sense.
23356         * gdb.c++/local.exp: Write patterns that actually work with gcc
23357         (the HP patterns "were never known to work with gcc").
23358         Keep the old aCC patterns too.
23359
23360 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
23361
23362         * gdb.base/attach.exp: Correct target board test.
23363
23364 2002-04-08  Michael Chastain  <mec@shout.net>
23365
23366         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23367         in a const method.  Add some xfail and fail cases for configurations
23368         that do not emit the "const ...".
23369
23370 2002-04-07  Michael Chastain  <mec@shout.net>
23371
23372         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23373         Accept "A * const" and "const A * const" as type of "this".
23374         Fix spelling of getFunky throughout.  Make messages uniform.
23375
23376 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
23377
23378         Work around for PR gdb/285:
23379         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23380
23381 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
23382
23383         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23384         instructions file at run time instead of configure time.
23385         Sometimes we run the test in a directory that is not the one we
23386         configured in.
23387         * gdb.asm/configure.in: Delete creation of symlink.
23388         * gdb.asm/configure: Regenerate.
23389
23390 2002-04-05  J. Brobecker  <brobecker@gnat.com>
23391
23392         * gdb.gdb/xfullpath.exp: New test, to exercise the new
23393         xfullpath () function.
23394
23395 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
23396
23397         * gdb.asm/Makefile.in: Correct dependencies.
23398
23399         * gdb.asm/powerpc.inc: New file.
23400         * gdb.asm/asm-source.exp: Add PowerPC.
23401         * gdb.asm/configure.in: Likewise.
23402         * gdb.asm/configure: Regenerated.
23403
23404 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
23405
23406         * gdb.base/relocate.exp: New file.
23407         * gdb.base/relocate.c: New file.
23408
23409 2002-04-04  Fred Fish  <fnf@redhat.com>
23410
23411         * gdb.base/step-test.exp: Update comment regarding stopping in
23412         memcpy/bcopy calls inserted as part of the compiler runtime.
23413
23414 2002-04-04  Michael Snyder  <msnyder@redhat.com>
23415
23416         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23417
23418 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
23419
23420         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23421         (gdb_expect): Remove $notransfer hack.
23422
23423 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
23424
23425         * gdb.c++/classes.exp ("calling method for small class"): Match
23426         updated register output.
23427
23428 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
23429
23430         Fix PR gdb/452
23431         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23432         when finished.  Make gdb_file_cmd send "exec-file" when
23433         appropriate.
23434
23435 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
23436
23437         * gdb.base/attach.exp: Remove extra setup_xfail.
23438
23439 2002-03-26  Michael Snyder  <msnyder@redhat.com>
23440
23441         * gdb.base/default.exp: Add tests for dump, append, and restore.
23442         * gdb.base/help.exp: Add tests for dump, append, and restore.
23443         * gdb.base/dump.exp: New file, test dump, append and restore.
23444         * gdb.base/dump.c: New file.
23445
23446 2002-03-27  Michael Snyder  <msnyder@redhat.com>
23447
23448         * gdb.base/help.exp: Modify expect strings to reflect
23449         clean-ups in help messages.
23450
23451 2002-03-26  Fred Fish  <fnf@redhat.com>
23452
23453         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23454         have debugging info for those functions and the compiler uses them
23455         internally to copy structs around.
23456
23457 2002-03-26  Fred Fish  <fnf@redhat.com>
23458
23459         * gdb.base/list.exp: Revert the change made yesterday and add note
23460         about why we don't list the default lines for remote targets.
23461
23462 2002-03-25  Michael Snyder  <msnyder@redhat.com>
23463
23464         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23465
23466 2002-03-25  Fred Fish  <fnf@redhat.com>
23467
23468         * gdb.base/list.exp: This test works on remote targets so remove
23469         the short circuit for remote targets.  Update copyright.
23470
23471 2002-03-25  Fred Fish  <fnf@redhat.com>
23472
23473         * gdb.base/attach.exp: Fix logic error that was suppressing this
23474         test for all non hppa*-*-hpux* targets, instead of the hp target.
23475         Move comments closer to the suppression point.  Also now need to
23476         check that we are running natively.
23477
23478 2002-03-22  Michael Snyder  <msnyder@redhat.com>
23479
23480         * gdb.base/default.exp: Add test for gcore.  Update copyright.
23481         * gdb.base/help.exp: Add test for gcore.  Update copyright.
23482
23483 2002-03-06  Fred Fish  <fnf@redhat.com>
23484
23485         * gdb.base/funcargs.c:  Remove extraneous ';' character.
23486         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23487
23488 2002-03-04  Michael Chastain  <mec@shout.net>
23489
23490         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23491         accommodate gcc v3 function signature.
23492         * gdb.mi/mi0-var-cmd-exp: Ditto.
23493
23494 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
23495
23496         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23497         ``GNU/Linux'' or ``Linux kernel''
23498         * testsuite/gdb.threads/pthreads.c: Ditto.
23499
23500 2002-02-24  Michael Chastain  <mec@shout.net>
23501
23502         * gdb.threads/pthreads.c (thread1): Add a return statement.
23503         (thread2): Likewise.
23504         (foo): Likewise.
23505
23506 2002-02-23  Michael Chastain  <mec@shout.net>
23507
23508         * gdb.threads/linux-dp.c (philosopher): Add a return statement
23509         to placate gcc.
23510
23511 2002-02-23  Michael Chastain  <mec@shout.net>
23512
23513         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23514         test "ptype bint".  The test passes on all my stabs configurations.
23515
23516 2002-02-21  Jim Blandy  <jimb@redhat.com>
23517
23518         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23519         filename at a time, and watch for the ones we want to see.
23520
23521         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23522         types of pointers to prototyped functions.
23523
23524 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
23525
23526         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
23527         signed, unsigned and straight char.
23528         (padding_char, padding_short, padding_int, padding_long,
23529         padding_long_long, padding_float, padding_double,
23530         padding_long_double): New global variables.
23531         (fill, fill_structs): New functions.
23532
23533         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
23534         for correctly sized writes.  Update copyright.
23535         (get_valueof): New procedure.
23536         (get_sizeof): Call get_valueof.
23537         (check_valueof): New procedure.
23538         (check_padding): New procedure.
23539
23540 2002-02-20  Michael Chastain  <mec@shout.net>
23541
23542         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23543         to setup_xfail.  Document some of the remaining calls.
23544
23545 2002-02-18  Michael Chastain  <mec@shout.net>
23546
23547         * gdb.c++/userdef.exp: Update copyright year.
23548
23549 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
23550
23551         * gdb.c++/userdef.exp: Test overloaded operators properly.
23552         Remove xfails.
23553
23554 2002-02-14  Michael Snyder  <msnyder@redhat.com>
23555
23556         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23557
23558 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
23559
23560         * gdb.base/a2-run.exp: Check for a remote target properly.
23561         * gdb.base/annota1.exp: Likewise.
23562         * gdb.base/list.exp: Likewise.
23563         * gdb.base/reread.exp: Likewise.
23564         * gdb.base/scope.exp: Likewise.
23565         * gdb.base/shlib-call.exp: Likewise.
23566         * gdb.base/term.exp: Likewise.
23567         * gdb.c++/annota2.exp: Likewise.
23568
23569 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
23570
23571         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23572
23573 2002-02-10  Michael Chastain  <mec@shout.net>
23574
23575         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23576         (call_after_alloca): Ditto.
23577
23578 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
23579
23580         * gdb.base/ending-run.exp: Guard "cont" test with
23581         gdb_skip_stdio_test.
23582
23583 2002-02-06  Jim Blandy  <jimb@redhat.com>
23584
23585         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23586         from here...
23587         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23588         To here.  Disable this test on non-HP platforms.  Add big comment.
23589
23590 2002-02-04  Michael Snyder  <msnyder@redhat.com>
23591
23592         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
23593           other than d10v and m32r.
23594
23595 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
23596
23597         * gdb.base/default.exp: Rewrite test patterns to reduce time
23598         taken to match them.
23599
23600 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23601
23602         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23603         Allow a start function above main.
23604         * gdb.threads/linux-dp.exp: Fix copyright date.
23605
23606 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23607
23608         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23609         (check_philosopher_stack): Check for manager thread before checking
23610         for a just-starting thread.
23611
23612 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23613
23614         From Neil Booth <neil@daikokuya.demon.co.uk>:
23615         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23616         warnings.
23617
23618 2002-01-21  Fred Fish  <fnf@redhat.com>
23619
23620         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23621         not caller.
23622
23623 2002-01-21  Jim Blandy  <jimb@redhat.com>
23624
23625         * gdb.base/reread.exp: Check that GDB properly re-reads the
23626         executable file when it changes while no inferior is running.
23627
23628 2002-01-21  Fred Fish  <fnf@redhat.com>
23629
23630         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23631         optionally accept the "shlib events" variation.
23632
23633 2002-01-21  Jim Blandy  <jimb@redhat.com>
23634
23635         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23636         call `fflush' after every `printf', so that the output is produced
23637         at predictable points, regardless of whatever buffering does (or
23638         doesn't) take place.
23639         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23640         at different points.
23641
23642 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
23643
23644         * gdb.c++/inherit.exp: Update copyright years.
23645         * gdb.c++/method.exp: Likewise.
23646
23647 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
23648
23649         * gdb.c++/classes.exp: Update for improved v3 support and skipping
23650         artificial methods/arguments.
23651         * gdb.c++/derivation.exp: Likewise.
23652         * gdb.c++/inherit.exp: Likewise.
23653         * gdb.c++/method.exp: Likewise.
23654         * gdb.c++/virtfunc.exp: Likewise.
23655
23656 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
23657
23658         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23659         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23660         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23661         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23662         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23663         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23664
23665 2002-01-17  Jim Blandy  <jimb@redhat.com>
23666
23667         * gdb.asm/asm-source.exp (info symbol): Take another shot at
23668         anchoring the pattern matching the entry point symbol's name.
23669
23670 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
23671
23672         * gdb.base/maint.exp: Update ``maint internal-error'' to match
23673         continue/quit query.  Update copyright.
23674
23675 2002-01-14  Michael Snyder  <msnyder@redhat.com>
23676
23677         * gdb.base/gcore.exp: Remove extra debugging output.
23678
23679 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
23680
23681         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23682         for slightly dubious v2 mangled string.
23683
23684 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
23685
23686         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23687
23688 2002-01-10  Jason Merrill  <jason@redhat.com>
23689
23690         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23691
23692         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23693         constructors.
23694         * gdb.c++/derivation.exp: Likewise.
23695         * gdb.c++/templates.exp: Likewise.
23696         * gdb.c++/virtfunc.exp: Likewise.
23697
23698 2002-01-10  Michael Snyder  <msnyder@redhat.com>
23699
23700         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23701
23702 2002-01-08  Michael Snyder  <msnyder@redhat.com>
23703
23704         * gdb.base/gcore.exp: New test for generate-core-file command.
23705         * gdb.base/gcore.c: Testcase for above.
23706         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23707
23708 2002-01-08  Jason Merrill  <jason@redhat.com>
23709
23710         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23711
23712 2002-01-07  Fred Fish  <fnf@redhat.com>
23713
23714         * gdb.c++/overload.exp: Remove unconditional xfails for:
23715         print foo_instance1.overloadargs(1)
23716         print foo_instance1.overloadargs(1, 2)
23717         print foo_instance1.overloadargs(1, 2, 3)
23718         print foo_instance1.overloadargs(1, 2, 3, 4)
23719         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23720         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23721         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23722         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23723         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23724         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23725         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23726         print foo_instance1.overload1arg()
23727         print foo_instance1.overload1arg((char)arg2)
23728         print foo_instance1.overload1arg((signed char)arg3)
23729         print foo_instance1.overload1arg((unsigned char)arg4)
23730         print foo_instance1.overload1arg((int)arg7)
23731         print foo_instance1.overload1arg((unsigned int)arg8)
23732         print foo_instance1.overload1arg((float)arg11)
23733         print foo_instance1.overload1arg((double)arg12)
23734
23735 2002-01-07  Michael Snyder  <msnyder@redhat.com>
23736
23737         * gdb.base/huge.exp: New test.  Print a very large target data object.
23738         (skip_huge_test): New test variable.  Define if you want to skip this
23739         test.  The test reads an 8 megabyte data object from the target, so it
23740         might be very time consuming on remote targets with a slow connection.
23741         * gdb.base/huge.c: New file.  Test case for above.
23742
23743 2002-01-07  Fred Fish  <fnf@redhat.com>
23744
23745         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23746         g_instance.bfoo, and g_instance.cfoo.
23747
23748 2002-01-07  Jeffrey A Law  <law@redhat.com>
23749
23750         * gdb.base/break.c (multi_line_if_conditional): New function.
23751         (multi_ilne_while_conditional): Likewise.
23752         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23753         IF or WHILE condition puts the breakpoint at the start of
23754         the condition.
23755
23756         * gdb.base/selftest.exp (backtrace through signal handler): Remove
23757         hppa*-*-hpux* expected failure.
23758         * gdb.base/structs.exp (do_function_calls): Similarly.
23759
23760         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23761         watchpoints.
23762
23763 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
23764
23765         Fix PR gdb/66.
23766         * gdb.base/structs.exp: Replace skip for a29k with skip for
23767         gdb,cannot_call_functions.
23768         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23769         * gdb.base/callfuncs.exp: Ditto.
23770         * gdb.base/call-rt-st.exp: Ditto.
23771         * gdb.base/call-strs.exp: Ditto.
23772         * gdb.base/callfwmall.exp: Ditto.
23773         * gdb.base/scope.exp: Obsolete xfail a29k.
23774         * gdb.c++/misc.exp: Ditto.
23775         * gdb.c++/cplusfuncs.exp: Ditto.
23776         * gdb.base/ptype.exp: Ditto.
23777         * gdb.base/printcmds.exp: Ditto.
23778         * gdb.base/opaque.exp: Ditto.
23779         * gdb.base/list.exp: Ditto.
23780         * gdb.base/funcargs.exp: Ditto.
23781         * gdb.base/default.exp: Ditto.
23782
23783 2002-01-04  Michael Snyder  <msnyder@redhat.com>
23784
23785         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
23786         * gdb.base/maint.exp: Add tests for maint info sections options.
23787
23788 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
23789
23790         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23791
23792 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
23793
23794         * gdb.asm/arm.inc: New file.
23795         * gdb.asm/asm-source.exp: Add arm targets.
23796         * gdb.asm/configure.in: Ditto.
23797         * gdb.asm/configure: Recreated from configure.in.
23798
23799 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
23800
23801         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23802         with HP's compiler.
23803         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23804         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23805         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23806         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23807
23808         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23809         either HP's compilers or GCC.
23810
23811         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23812         a SIGBUS or SIGSEGV.
23813
23814         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23815
23816         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23817         can be compiled with either HP's compiler or GCC.
23818
23819         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23820         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23821         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23822
23823         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23824         to match current gdb output.  Update due to using auto-solib-limit
23825         for limiting instead of overloading auto-solib-add.
23826         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23827         test program.
23828
23829         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
23830         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23831         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23832         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23833         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23834         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23835         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23836         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23837         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23838         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23839         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23840         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23841         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
23842
23843         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23844         a SIGTRAP to the inferior.
23845
23846 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
23847
23848         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23849         Substitute call to target_link by call to gdb_compile.
23850
23851 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
23852
23853         * gdb.base/break.exp: Fix HP specific search string when testing
23854         backtracing in a called function.
23855
23856         * gdb.base/constvars.exp: Only set lang to C++ if we're
23857         compiling the test with HP's compilers.
23858         * gdb.base/volatile.exp: Similarly.
23859
23860 2001-12-19  Jim Blandy  <jimb@redhat.com>
23861
23862         * gdb.base/printcmds.exp: Expect the null character to be printed
23863         as '\0', and the '\013' to be printed as '\v'.
23864         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23865         * gdb.base/setvar.exp: Same.
23866
23867 2001-12-17  Jim Blandy  <jimb@redhat.com>
23868
23869         * gdb.base/completion.exp: Rather than completing very long
23870         filenames, which can make the readline library produce output we
23871         don't recognize, cd to the directory first, and then complete
23872         using nice, short relative paths.
23873
23874         * gdb.base/completion.exp: On some systems, there is, in fact, a
23875         variable named `b' in scope, since GDB treats all static
23876         variables as being in scope.  So use `no_var_named_this'
23877         instead of `b'.
23878
23879         * gdb.base/corefile.exp: Recognize the message saying that GDB
23880         can't find the core file's registers as a failure.
23881
23882 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
23883
23884         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23885         test expect string more specific.
23886
23887 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
23888
23889         * gdb.asm/asm-source.exp: Add support for xstormy16.
23890         * gdb.asm/configure.in: Ditto.
23891         * gdb.asm/configure: Rebuild.
23892         * gdb.asm/xstormy16.inc: New file.
23893
23894 2001-12-10  Fred Fish  <fnf@redhat.com>
23895
23896         * gdb.base/maint.exp: Update to match changes in type dumping code.
23897
23898 2001-12-10  Jim Blandy  <jimb@redhat.com>
23899
23900         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
23901         matching the entry point symbol's name at the beginning of the
23902         line.
23903
23904 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
23905
23906         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23907         gdb.c++/inherit.exp, gdb.c++/method.exp,
23908         gdb.c++/namespace.exp, gdb.c++/templates.exp,
23909         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23910         and class layout support.
23911
23912 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
23913
23914         * gdb.c++/classes.exp: Add test for static member function.
23915         * gdb.c++/misc.cc: Add class with static member function.
23916
23917 2001-12-07  Jim Blandy  <jimb@redhat.com>
23918
23919         If GDB says it can't find the struct the function returned, report
23920         those tests as `unsupported'.
23921         * gdb.base/call-rt-st.exp (print_struct_call): New function.
23922         Rewrite subsequent tests to use it.
23923
23924         If GDB says it can't find the struct the function returned, report
23925         those tests as `unsupported'.
23926         * gdb.base/structs.exp (call_struct_func): New function.
23927         (do_function_calls): Use call_struct_func to call the functions
23928         returning structs.
23929
23930         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23931         whether functions are prototyped or not, so we can't possibly pass
23932         arguments to t_float_values2 properly.
23933
23934         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23935         value of `timeout' for targets other than the mips*tx39-*.
23936
23937 2001-12-06  Michael Snyder  <msnyder@redhat.com>
23938
23939         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
23940         and detect whether the start symbol has a leading underscore.
23941
23942 2001-12-04  Jim Blandy  <jimb@redhat.com>
23943
23944         * gdb.base/completion.exp: Clarify indentation.
23945
23946 2001-12-03  Jim Blandy  <jimb@redhat.com>
23947
23948         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23949         variables on the S/390, not `.word'.
23950
23951 2001-11-30  Jim Blandy  <jimb@redhat.com>
23952
23953         Add assembly-source tests for s390-ibm-linux.
23954         * gdb.asm/s390.inc: New file.
23955         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
23956         the S/390 architecture.
23957         * gdb.asm/configure: Regenerated.
23958
23959 2001-11-30  Michael Snyder  <msnyder@redhat.com>
23960
23961         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
23962         next, info source, info sources, info line, global and static
23963         variables, and static functions.
23964         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
23965         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
23966         * gdb.asm/asmsrc1.s: Add a static function and some variables.
23967         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
23968         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
23969         (gdbasm_leave): Restore frame pointer.
23970         (gdbasm_startup): Copy stack set-up from crt0.S.
23971
23972 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
23973
23974         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
23975         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
23976         to a local (non-static) variable. Copy tstruct.a to a static buffer
23977         and return a pointer to that buffer.
23978         * gdb.base/callfwmall.c (t_structs_a): Ditto.
23979
23980 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
23981
23982         * gdb.asm/configure.in: Fix recognition of ix86 target.
23983         * gdb.asm/configure: Regenerate.
23984
23985 2001-11-21  Michael Snyder  <msnyder@redhat.com>
23986
23987         * gdb.asm/sparc.inc: New file.
23988         * gdb.asm/asm-source.exp: Recognize sparc target.
23989         * gdb.asm/configure.in: Recognize sparc target.
23990         * gdb.asm/configure: Regenerate.
23991
23992 2001-11-21  Michael Snyder  <msnyder@redhat.com>
23993
23994         * gdb.asm/m32r.inc: New file.
23995         * gdb.asm/asm-source.exp: Recognize m32r target.
23996         * gdb.asm/configure.in: Recognize m32r target.
23997         * gdb.asm/configure: Regenerate.
23998
23999 2001-11-20  Michael Snyder  <msnyder@redhat.com>
24000
24001         * gdb.asm/i386.inc: New file.
24002         * gdb.asm/asm-source.exp: Recognize ix86 target.
24003         * gdb.asm/configure.in: Recognize ix86 target.
24004         * gdb.asm/configure: Regenerate.
24005
24006         * gdb.c++/namespace.exp: Fix quotes in output messages.
24007
24008 2001-11-14  Michael Snyder  <msnyder@redhat.com>
24009
24010         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
24011         qualifier in a type cast expression, to designate an address
24012         in the instruction space (Harvard architecture).
24013
24014 2001-11-13  Michael Snyder  <msnyder@redhat.com>
24015
24016         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24017         Tests for expressions using 'const' and 'volatile'.
24018
24019 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
24020
24021         * gdb.asm/asm-sources.exp: Allow defining linker flags.
24022
24023 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
24024
24025         * lib/mi-support.exp (mi_run_to_helper): Move comments
24026         outside of gdb_expect.
24027
24028 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
24029
24030         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24031         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24032         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24033         mi0_run_to): New functions.
24034         * gdb.mi/mi-simplerun.exp: Use them.
24035         * gdb.mi/mi0-simplerun.exp: Likewise.
24036         * gdb.mi/mi-var-cmd.exp: Likewise.
24037         * gdb.mi/mi0-var-cmd.exp: Likewise.
24038
24039 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
24040
24041         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24042         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24043
24044 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
24045
24046         * gdb.base/restore.exp: Include $expected value in restored test
24047         message.
24048
24049 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
24050
24051         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24052         implemented.
24053
24054 2001-11-08  Michael Snyder  <msnyder@redhat.com>
24055
24056         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24057         Add pass/fail message for stop at breakpoint in call dummy function.
24058
24059 2001-11-07  Michael Snyder  <msnyder@redhat.com>
24060
24061         * gdb.c++/templates.exp (test_template_breakpoints):
24062         If we get an overload menu, but it does not match what
24063         we expect, we still need to issue the "cancel" command.
24064         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24065         making the whitespace optional.  Argument for "new" may be
24066         "unsigned" as well as "unsigned int/long".
24067         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24068         making the whitespace optional.  Also replace "(void) with
24069         "((void|)), making the keyword "void" optional.
24070         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24071         making the whitespace optional.  Also replace "(void) with
24072         "((void|)), making the keyword "void" optional.
24073         * gdb.base/callfuncs.c (t_float_values): This function must
24074         _not_ be prototyped, and the following function (t_float_values2)
24075         must be prototyped (if the compiler supports it), so that GDB
24076         can be tested against both cases.  Usually one case involves
24077         promotion of float to double, while the other does not.
24078         * gdb.base/callfwmall.c: Ditto.
24079         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24080         includes a stack frame for "start".
24081
24082 2001-11-05  Jim Blandy  <jimb@redhat.com>
24083
24084         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
24085         pointers are 32 bits long, and that offsets of relocs are always
24086         stored in the data (REL-style), and not in the reloc entry itself
24087         (RELA-style).
24088         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24089         stabs.
24090
24091 2001-11-01  Michael Snyder  <msnyder@redhat.com>
24092
24093         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24094         and regular expression operators by using quoting.
24095
24096 2001-10-31  Michael Snyder  <msnyder@redhat.com>
24097
24098         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24099         depending on what the symbol table contains.
24100         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24101         the output of the ptype command.  Similarly, accept both "const &"
24102         and "const&".
24103
24104 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
24105
24106         * gdb.base/miscexprs.c (main): Add usage of preprocessor
24107         symbol `STORAGE' to allow to choose the storage class of
24108         the local datastructures.
24109         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24110         compiler directive.
24111
24112 2001-10-30  Michael Snyder  <msnyder@redhat.com>
24113
24114         * gdb.base/jump.exp: Allow it to run for all targets.
24115
24116 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
24117
24118         * gdb.base/call-ar-st.c (print_double_array): Match for loop
24119         with new double_array size.
24120         (main): Change storage class of all local variables to static.
24121         Reduce size of double_array to 9.
24122         * gdb.base/call-ar-st.exp:  Increase timeout value.
24123         Change expected output for double array to match new size in
24124         call-ar-st.c.
24125
24126 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
24127
24128         * gdb.base/ending-run.exp: Create identical output when passing
24129         `step to end of run' case.  Add regular expression branch satisfying
24130         Stormy16 target.
24131
24132 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
24133
24134         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24135         that we catch the expected failure under Linux/x86.
24136
24137 2001-10-29  Orjan Friberg  <orjanf@axis.com>
24138
24139         * gdb.base/setvar.exp: Escape curly braces.
24140         * gdb.stabs/weird.exp: Ditto.
24141
24142 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
24143
24144         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24145         * gdm.mi/mi0-hack-cli.exp: Likewise.
24146
24147 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
24148
24149         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24150         messages.
24151
24152 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
24153
24154         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24155         checking MI enabled.
24156
24157 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
24158
24159         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24160
24161 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
24162
24163         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24164         if gdb child process crashes, just signal an error.
24165
24166 2001-10-02  Jim Blandy  <jimb@redhat.com>
24167
24168         * lib/gdb.exp (test_xfail_format): Simplify.
24169
24170         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24171         front of the variable name `format'.  Simplify `if'.
24172
24173 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
24174
24175         * gdb.threads/pthreads.exp: Wait for output and delay
24176         before sending ^C.
24177
24178 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
24179
24180         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
24181         some incorrect output instead of timing out.
24182         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
24183
24184 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
24185
24186         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24187         check to allow additional `int'.
24188
24189 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
24190
24191         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24192         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24193
24194 2001-09-27  Michael Snyder  <msnyder@redhat.com>
24195
24196         * lib/gdb.exp (test_debug_format): New proc.
24197         (setup_xfail_format): Use new proc test_debug_format.
24198         * gdb.base/constvars.exp (local_compiler_xfail_check): New
24199         proc; use new service proc test_debug_format.
24200         Replace all other "gcc_compiled" tests with this test.
24201         * gdb.base/volatile.exp (local_compiler_xfail_check): New
24202         proc; use new service proc test_debug_format.
24203         Replace all other "gcc_compiled" tests with this test.
24204
24205 2001-09-27  Michael Snyder  <msnyder@redhat.com>
24206
24207         * gdb.base/cvexpr.exp: New file.
24208         * gdb.base/cvexpr.c: New file
24209         Test for expressions using const and volatile keywords.
24210
24211 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
24212
24213         * gdb.base/constvars.exp: Check for different orders of keywords
24214         and additional "int" strings in output.
24215
24216 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
24217
24218         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24219         responses from "help maint".
24220
24221 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
24222
24223         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24224         to localhost:NNN instead of :NNN, in case Xvfb is listening
24225         only on TCP.
24226
24227 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
24228
24229         * gdb.base/recurse.exp: When checking leaving the watchpoint
24230         scope, recognize when gdb is in function's epilogue and pass.
24231
24232 2001-09-18  Keith Seitz  <keiths@redhat.com>
24233
24234         * lib/insight-support.exp (_gdbtk_export_target_info): Add
24235         support for running tests against sid targets.
24236         (gdbtk_done): Ditto.
24237
24238 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
24239
24240         * gdb.base/ending-run.c (main): Set stdout buffersize
24241         to the same reasonable value for any target.
24242         * gdb.base/ending-run.exp: Add a regular expression
24243         to make testsuite happy on Sanyo Stormy16 target.
24244
24245 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
24246
24247         * gdb.base/display.c (do_loops): Add float variable `f'.
24248         Increment f in loop.
24249         * gdb.base/display.exp: Increment timeout by 60 seconds.
24250         Change float display test to use variable `f'.
24251
24252 2001-09-17  Jim Blandy  <jimb@redhat.com>
24253
24254         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24255         overflowing the limited breakpoint tables on some ROM monitors
24256         (like the ROM68K).
24257
24258 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
24259
24260         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24261         the "-ac" (disable access control) flag.
24262
24263 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
24264
24265         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24266         ints.
24267
24268 2001-08-30  Keith Seitz  <keiths@redhat.com>
24269
24270         * lib/gdb.exp: Move all insight-related functionality into
24271         separate file.
24272         * lib/insight-support.exp: New file.
24273
24274 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
24275
24276         * config/sid.exp (sid_start): Never set sid verbosity; disable
24277         expect_background {} that consumed its stdout; tolerate </dev/null.
24278         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
24279
24280 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
24281
24282         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24283         CLI jump command to start it.
24284         (mi_run_to_main): Fail immediatly when unexpected output.
24285
24286 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
24287
24288         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24289         beginning of function.  Fix PR gdb/191.
24290
24291 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
24292
24293         * config/sid.exp (sid_start): Don't warn if we cannot figure out
24294         what to force sid endianness to.
24295
24296 2001-08-15  Keith Seitz  <keiths@redhat.com>
24297
24298         * lib/gdb.exp (gdbtk_start): Don't set environment
24299         variables for TCL_LIBRARY and friends. Insight will
24300         now figure these out for itself.
24301
24302 2001-08-02  Michael Snyder  <msnyder@redhat.com>
24303
24304         * gdb.base/completion.exp: Remove the symbol "a64l" from
24305         the expect string; this is target-specific, and not related
24306         to what is being tested.
24307
24308 2001-08-02  Dave Brolley  <brolley@redhat.com>
24309
24310         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24311
24312 2001-07-25  Michael Snyder  <msnyder@redhat.com>
24313
24314         * gdb.base/consecutive.exp: New file.  Test stepping over
24315         breakpoints on consecutive instructions.
24316         * gdb.base/consecutive.c: New file.
24317
24318         * gdb.base/call-rt-st.exp: Use double-backslash to quote
24319         curly braces in regular expressions.
24320
24321 2001-07-25  Michael Snyder  <msnyder@redhat.com>
24322
24323         * gdb.base/ending-run.exp: Accept "Program exited normally" as
24324         legitimate output from stepping out of main.
24325
24326 2001-07-22  Keith Seitz  <keiths@redhat.com>
24327
24328         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24329         the empty string, do not run the tests.
24330
24331 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24332
24333         * gdb.base/long_long.exp: Detect size of pointer.  Take into
24334         account 2-byte pointers when testing for p/a results.
24335
24336 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24337
24338         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24339         and defined to 1K for m68hc11.
24340         (random_data): Reduce table to 1K for embedded platforms (68hc11).
24341         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24342         (sizeof_random_data): New variable to tell the size of the data table;
24343         don't test past this size; always run to main.
24344
24345 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24346
24347         * gdb.base/return2.exp: return of long long and double fails for
24348         68HC11; don't execute these tests on that platform.
24349         * gdb.base/return.exp: Return of a double fails for 68hc11.
24350
24351 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24352
24353         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24354         tests that print a float.
24355         * call-rt-st.exp: Likewise.
24356
24357 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
24358
24359         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24360         running this test on Linux.
24361
24362 2001-06-24  Michael Chastain  <chastain@redhat.com>
24363
24364         * gdb.base/arithmet.exp: Remove some tests to make all test names
24365         unique.
24366
24367 2001-07-03  Michael Snyder  <msnyder@redhat.com>
24368
24369         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24370         the output of the ptype command.
24371
24372 2001-07-02  Michael Snyder  <msnyder@redhat.com>
24373
24374         * gdb.base/completion.exp: Don't assume that break.c is the only
24375         source file that may contain functions named "marker".
24376         * gdb.base/corefile.exp: Quote the curly braces in regexp.
24377
24378 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
24379
24380         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24381         of files to delete.
24382
24383         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24384         * gdb.disasm/h8300s.exp: New file.
24385         gdb.disasm/h8300s.s: Likewise.
24386
24387 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
24388
24389         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24390         empty breakpoint tables.
24391
24392 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
24393
24394         * lib/mi-support.exp: Update args=... part of stop-reason
24395         patterns. Accept either a list or a tuple.
24396
24397 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
24398
24399         * lib/mi-support.exp: Remove local emacs variable defining
24400         change-log-default-name.
24401
24402 2001-06-22  Michael Chastain  <chastain@redhat.com>
24403
24404         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24405         This is operationally compatible with the previous version.
24406
24407 2001-06-13  Jim Blandy  <jimb@redhat.com>
24408
24409         * lib/gdb.exp (gdb_test): Doc fix.
24410
24411 2001-06-10  Michael Chastain  <chastain@redhat.com>
24412
24413         * gdb.base/exprs.exp: Remove a duplicate test.
24414
24415 2001-06-06  Jim Blandy  <jimb@redhat.com>
24416
24417         * gdb.base/return2.exp (main): Use values to test float and double
24418         returns that are not NaN's, to avoid being confused by IEEE
24419         comparison rules.
24420
24421 2001-06-04  Michael Snyder  <msnyder@redhat.com>
24422
24423         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24424         non-zero if control_c fails.  Terminate the test on failure,
24425         rather than wait for 12 more tests to time out.
24426
24427 2001-06-06  Jim Blandy  <jimb@redhat.com>
24428
24429         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24430         Don't forget to match the GDB prompt.
24431
24432         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24433
24434 2001-06-04  Jim Blandy  <jimb@redhat.com>
24435
24436         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24437         command.
24438
24439 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
24440
24441         * gdb.base/annota1.exp (info break): Match four or more spaces
24442         after "Address".
24443
24444 2001-05-31  Michael Chastain  <chastain@redhat.com>
24445
24446         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24447         (dm_type_int_star): Likewise.
24448         (dm_type_long_star): Likewise.
24449         (dm_type_void_star): Likewise.
24450
24451 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
24452
24453         * gdb.base/completion.exp (INPUTRC): Set this environment variable
24454         to a known value in order to get consistent results regardless
24455         of the setting of INPUTRC or the presence or contents of .inputrc.
24456
24457 2001-05-24  Michael Snyder  <msnyder@redhat.com>
24458
24459         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24460         Don't require that the main thread and the manager thread are the
24461         first in the list.
24462
24463         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24464         debugging.  If test fails, issue an "unsupported" not a "fail".
24465
24466 2001-05-24  Jim Blandy  <jimb@redhat.com>
24467
24468         Don't assume that short is shorter than int.
24469         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24470         assume that shorts are smaller than ints.  On a 16-bit machine,
24471         this isn't true.
24472         ("print unsigned char == (~0)"): Add test that verifies that ~0,
24473         an int, is not equal to ~0 stored in an unsigned char.  This tests
24474         the same thing that the previous test meant to, but works on
24475         16-bit machines, too.
24476         ("print unsigned char != (~0)"): Same test, complemented.
24477
24478 2001-05-24  Michael Snyder  <msnyder@redhat.com>
24479
24480         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24481         test for (full_coverage == 0).  This makes the test run faster,
24482         and prevents dejagnu getting out of step.
24483
24484 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
24485
24486         * gdb.base/finish.exp (finish_void): Revise pattern for
24487         stopping on the call statement to not permit stopping at
24488         the start of the instructions comprising the call sequence.
24489
24490 2001-05-19  Michael Chastain  <chastain@redhat.com>
24491
24492         * gdb.base/callfuncs.exp: Make all test names unique.
24493         * gdb.base/commands.exp: Make all test names unique.
24494         * gdb.base/condbreak.exp: Make all test names unique.
24495         * gdb.base/dbx.exp: Make all test names unique.
24496         * gdb.base/default.exp: Make all test names unique.
24497         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
24498         and TIMEOUT messages to their corresponding PASS message.
24499         * gdb.base/ending-run.exp: Make all test names unique.
24500         * gdb.base/long_long.exp: Remove duplicate test.
24501
24502 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
24503
24504         * gdb.base/finish.exp (finish_void): Allow "finish" command to
24505         stop on the call statement as well as the statement after the
24506         call.
24507
24508 2001-05-21  Michael Snyder  <msnyder@redhat.com>
24509
24510         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24511
24512 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
24513
24514         * gdb.base/completion.exp: Revamp test. Make it execute on all
24515         platforms.
24516
24517 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
24518
24519         * config/gdbserver.exp (gdb_load): Handle the case
24520         in which the arguments to gdbserver are given in the
24521         baseboard configuration file.
24522         Also handle the case in which the server needs to do a
24523         load.
24524
24525 2001-05-07  Keith Seitz <keiths@cygnus.com>
24526
24527         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24528         set up the display for testing.
24529         (gdbtk_start): Convert all paths to paths that tcl will like.
24530         Export target information to environment.
24531         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24532         necessary.
24533         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24534         (to_tcl_path): New proc to convert a given pathname into
24535         a path acceptible as an argument to a tcl command.
24536         (_gdbtk_export_target_info): New proc to export target info
24537         into the environment for gdbtk testing.
24538         (gdbtk_done): New proc to signal end-of-test.
24539
24540 2001-05-06  Jim Blandy  <jimb@redhat.com>
24541
24542         * restore.c: Make the code of caller0 correspond to its comment.
24543
24544 2001-05-03  Michael Snyder  <msnyder@redhat.com>
24545
24546         * config/sid.exp (gdb_target_sid): Check for error messages.
24547         On error or timeout, don't make expect exit (which will terminate
24548         all subsequent tests); instead just make gdb exit.
24549         (gdb_load): Check for error messages.  On error or timeout,
24550         return a negative value.
24551
24552 2001-04-24  Jim Blandy  <jimb@redhat.com>
24553
24554         * gdb.c++/templates.exp: If we see the prompt for the overload
24555         list, but we haven't recognized any of the longer patterns,
24556         arrange for this test to fail, not hang.
24557
24558         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24559         variations.
24560
24561 2001-04-22  Michael Chastain  <chastain@redhat.com>
24562
24563         * gdb.c++/local.exp: Use the 'runto' library function.
24564         * gdb.c++/namespace.exp: Likewise.
24565         * gdb.c++/overload.exp: Likewise.
24566
24567 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
24568
24569         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24570         * gdb.base/step-line.exp: New file.  Test step/next in presence of
24571         #line directives.
24572         * gdb.base/step-line.c: New file.  Test program for the above.
24573         * gdb.base/step-line.inp: New file.  We pretend that this file has
24574         been transformed by some other tool into step-line.c.
24575
24576 2001-03-21  Jim Blandy  <jimb@redhat.com>
24577
24578         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24579         unmangled operator names.
24580
24581 2001-03-20  Jim Blandy  <jimb@redhat.com>
24582
24583         * gdb.threads/linux-dp.exp: Recognize an additional message
24584         generated by GDB when it doesn't understand how to debug threads
24585         on the target system.
24586
24587 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
24588
24589         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24590
24591 2001-03-12  Michael Chastain  <chastain@redhat.com>
24592
24593         * gdb.c++/derivation.exp: Use the 'runto' library function.
24594
24595 2001-03-12  Michael Chastain  <chastain@redhat.com>
24596
24597         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24598
24599 2001-02-24  Michael Chastain  <chastain@redhat.com>
24600
24601         * gdb.c++/ref-types.exp: Change handwritten code to library
24602         function 'runto'.
24603
24604 2001-03-16  Orjan Friberg  <orjanf@axis.com>
24605
24606         * gdb.base/signals.exp: Set count to 0 explicitly.
24607
24608 2001-03-15  Mark Salter  <msalter@redhat.com>
24609
24610         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24611         (gdb_target_monitor): Add check of gdb_target_cmd return value.
24612         (gdb_load): Add support for additional target_info: gdb_download_size
24613         and gdb_load_timeout.
24614
24615 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
24616
24617         * gdb.base/annota1.exp: Move test of isnative to earlier in the
24618         file -- to prevent failing when the compile fails but we have no
24619         intention of running the tests anyway.
24620
24621         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24622         tests if set.
24623
24624         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24625         integers.
24626
24627         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24628         * gdb.c++/namespace.exp: Ditto.
24629
24630 2001-03-07  Orjan Friberg  <orjanf@axis.com>
24631
24632         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24633         * gdb.base/pointers.exp: Relax pattern match of decimals.
24634
24635 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
24636
24637         * Makefile.in, config/abug.exp, config/cfdbug.exp,
24638         config/cpu32bug.exp, config/dve.exp, config/est.exp,
24639         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24640         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24641         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24642         config/sh.exp, config/sid.exp, config/slite.exp,
24643         config/sparclet.exp, config/udi.exp, config/unknown.exp,
24644         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24645         config/vxworks.exp, config/vxworks29k.exp,
24646         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24647         gdb.base/all-bin.exp, gdb.base/annota1.exp,
24648         gdb.base/arithmet.exp, gdb.base/assign.exp,
24649         gdb.base/async.exp, gdb.base/attach.exp,
24650         gdb.base/bitfields.exp, gdb.base/bitops.exp,
24651         gdb.base/break.exp, gdb.base/call-ar-st.exp,
24652         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24653         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24654         gdb.base/commands.exp, gdb.base/completion.exp,
24655         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24656         gdb.base/constvars.exp, gdb.base/corefile.exp,
24657         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24658         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24659         gdb.base/ending-run.exp, gdb.base/environ.exp,
24660         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24661         gdb.base/finish.exp, gdb.base/foll-exec.exp,
24662         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24663         gdb.base/funcargs.exp, gdb.base/help.exp,
24664         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24665         gdb.base/logical.exp, gdb.base/long_long.exp,
24666         gdb.base/maint.exp, gdb.base/mips_pro.exp,
24667         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24668         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24669         gdb.base/pointers.exp, gdb.base/printcmds.exp,
24670         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24671         gdb.base/regs.exp, gdb.base/relational.exp,
24672         gdb.base/remote.exp, gdb.base/reread.exp,
24673         gdb.base/restore.exp, gdb.base/return2.exp,
24674         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24675         gdb.base/selftest.exp, gdb.base/setshow.exp,
24676         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24677         gdb.base/sigall.exp, gdb.base/signals.exp,
24678         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24679         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24680         gdb.base/step-test.exp, gdb.base/structs.c,
24681         gdb.base/structs.exp, gdb.base/structs2.exp,
24682         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24683         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24684         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24685         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24686         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24687         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24688         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24689         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24690         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24691         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24692         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24693         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24694         gdb.fortran/types.exp, gdb.java/jmisc.exp,
24695         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24696         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24697         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24698         gdb.trace/circ.exp, gdb.trace/collection.exp,
24699         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24700         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24701         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24702         gdb.trace/report.exp, gdb.trace/save-trace.exp,
24703         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24704         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24705         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24706         notices.
24707
24708 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
24709
24710         * gdb.base/varargs.c (find_max_double): Fix printf format string:
24711         first arg is int not float.
24712
24713 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
24714
24715         * gdb.base/reread.exp: Unsupported for non-native targets;
24716         doesn't work for remote debugging.
24717
24718 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
24719
24720         From  Drew Moseley  <dmoseley@redhat.com>
24721         * gdb.base/ending-run.exp: Properly handle the BSP state when
24722         stepping past the end of main.
24723
24724 2001-02-19  John Moore  <jmoore@redhat.com>
24725
24726         * gdb.base/commands.exp (infrun_breakpoint_command_test):
24727         Converted HPUX fix for non-expected items following multiple
24728         step commands into general solution for all platforms.
24729
24730 2001-02-18  Michael Chastain  <chastain@redhat.com>
24731
24732         * gdb.c++/classes.exp (do_tests): Change runto statements
24733         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
24734         statements demangler agnostic.
24735         * gdb.c++/virtfunc.exp (do_tests): Likewise.
24736         (gdb_virtfunc_restart): Likewise.
24737
24738 2001-02-14  Michael Chastain  <chastain@redhat.com>
24739
24740         * gdb.c++/inherit.exp (do_tests): Change runto statements
24741         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
24742         statements demangler agnostic.
24743
24744 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
24745
24746         * gdb.threads/pthreads.exp: Unify pass/fail messages for
24747         ``continue to bkpt at common_routine in thread 2'' and ``stopped
24748         before calling common_routine 15 times'' tests.
24749
24750 2001-02-11  Michael Chastain  <chastain@redhat.com>
24751
24752         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24753         Helps the test script figure out which demangler is in use.
24754         (dm_type_foo_ref): Ditto.
24755         (dm_type_int_star): Ditto.
24756         (dm_type_long_star): Ditto.
24757         (dm_type_unsigned_int): Ditto.
24758         (dm_type_void): Ditto.
24759         (dm_type_void_star): Ditto.
24760         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
24761         Probe the gdb demangler and set variables to accommodate
24762         formatting differences.
24763         (info_func_regexp): New function.  Same as info_func, but
24764         matches against a regexp.
24765         (info_func): Match against a literal string.
24766         (print_addr_2): New function.  Match against a literal string,
24767         which can be different from the input to gdb.
24768         (print_addr): Simply call print_addr_2 with the same argument twice.
24769         (test_lookup_operator_functions): Use demangler formatting variables.
24770         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
24771         the tests in the same order as the C++ class declaration.
24772         (test_paddr_operator_functions): Ditto.
24773         (test_paddr_overloaded_functions): Ditto.
24774         (test_paddr_hairy_functions): Use demangler formatting variables.
24775         Add reference to gdb/19 for related tests.
24776         (do_tests): Call probe_demangler.
24777
24778 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
24779
24780         * gdb.c++/templates.cc (printf): Remove unused function definition.
24781
24782 2001-01-26  Felix Lee  <flee@redhat.com>
24783
24784         * sid.exp (sid_exit): Pass host, not target, to remote_close.
24785
24786 2001-01-25  matthew green  <mrg@redhat.com>
24787
24788         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24789         up sid.
24790         (sid_exit): Call `remote_pop_conn' after GDB is gone.
24791
24792 2001-01-25  matthew green  <mrg@redhat.com>
24793
24794         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
24795         Deprecate $sid_spawn_id.
24796         (sid_exit): Remove code necessary only for `spawn.'
24797
24798 2001-01-25  matthew green  <mrg@redhat.com>
24799
24800         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24801
24802 2001-01-28  Michael Chastain  <chastain@redhat.com>
24803
24804         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24805         to call when tests fail.  It takes gdb out of the overloaded
24806         function choice menu back to the main prompt, so that the test
24807         program stays synchronized.
24808         (set_bp_overloaded): New proc to collect all the common
24809         code for setting a breakpoint on an overloaded name.  Calls
24810         take_gdb_out_of_choice_menu when needed.
24811         (menu_overload1arg): New variable to collect the repeated
24812         instances of the expected menu for an overloaded name.  Change
24813         the regular expression to handle changes in g++ type encoding:
24814         "void" can be either "void" or "", and "unsigned int" can be
24815         either "unsigned int" or "unsigned".
24816         (continue_to_bp_overloaded): Change regular expressions to handle
24817         changes in g++ type encoding.
24818         (no proc): Call take_gdb_out_of_choice_menu when needed.
24819         Remove redundant calls to "info break".  Accept either "canceled"
24820         or "cancelled".  Change regular expressions in "info break"
24821         calls to handle changes in g++ type encoding.  Give all tests
24822         unique strings.
24823
24824 2001-01-17  Ben Elliston  <bje@redhat.com>
24825
24826         * config/sid.exp: New file.
24827
24828 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
24829
24830         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24831
24832 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
24833
24834         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24835         Add a RE to accept a non-ascii char if one is ever presented.
24836
24837 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
24838
24839         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
24840
24841 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
24842
24843         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
24844         in regexp.  One '\' does not suffice on Linux.
24845
24846 2000-12-09  Michael Chastain  <chastain@redhat.com>
24847
24848         * gdb.base/break.exp (test_clear_command): Use a marker function
24849         rather than 'main' for the test function.  Also move this
24850         test to an execution point where the marker function names are
24851         guaranteed to be bound to functions.  (Executing tests after a
24852         'finish' from main runs into name conflicts with local names
24853         in __libc_start_main).
24854
24855 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
24856
24857         * gdb.base/finish.exp: New test for gdb's "finish" command.
24858         * gdb.base/return2.exp: New test for gdb's "return" command.
24859         * gdb.base/return2.c: New source file for above.
24860
24861 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
24862
24863         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24864         * gdb.base/miscexprs.exp: Ditto.
24865         * gdb.base/pointers.exp:  Ditto.
24866         * gdb.c++/derivation.exp: Ditto.
24867         * gdb.c++/local.exp:      Ditto.
24868         * gdb.c++/namespace.exp:  Ditto.
24869         * gdb.c++/overload.exp:   Ditto.
24870         * gdb.c++/ref-types.exp:  Ditto.
24871
24872 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
24873
24874         * gdb.base/constvars.exp: Test result of "up" command.
24875         * gdb.base/miscexprs.exp: Ditto.
24876         * gdb.base/pointers.exp:  Ditto.
24877         * gdb.base/scope.exp:     Ditto.
24878         * gdb.c++/derivation.exp: Ditto.
24879         * gdb.c++/local.exp:      Ditto.
24880         * gdb.c++/namespace.exp:  Ditto.
24881         * gdb.c++/overload.exp:   Ditto.
24882         * gdb.c++/ref-types.exp:  Ditto.
24883
24884 2000-11-22  Michael Chastain  <chastain@redhat.com>
24885
24886         * mips_pro.exp: Accept either "middle -> top -> main" or
24887         "middle -> main" in the backtrace, because gcc can optimize
24888         tail calls to jumps.  Remove setup_xfail for the hppa case.
24889         Add a comment with the original warning messages from PR 3016,
24890         which was filed in 1993, to preserve them for posterity.
24891
24892 2000-11-17  Nick Duffek  <nsd@redhat.com>
24893
24894         * lib/gdb.exp (gdb_test): Override timeout with board info.
24895
24896 2000-11-17  Nick Duffek  <nsd@redhat.com>
24897
24898         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
24899         the second kill and detach messages.
24900
24901 2000-11-17  Nick Duffek  <nsd@redhat.com>
24902
24903         * configure.in: Add AC_EXEEXT.
24904         * configure: Regenerate.
24905         * Makefile.in (just-check): Export EXEEXT.
24906         * lib/gdb.exp ($EXEEXT): Import from environment.
24907         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
24908         expect "maint dump-me" on Cygwin.
24909         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24910         $EXEEXT.
24911
24912 2000-11-17  Nick Duffek  <nsd@redhat.com>
24913
24914         * gdb.base/break.exp: Test backtrace and finish from called
24915         function on all platforms, not just HP-UX.
24916
24917 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
24918
24919         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24920         code from gdb_target_monitor, so it can be used independantly
24921         for gdbserver.  Also comment out an unnecessary PUTS.
24922
24923 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
24924
24925         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24926         * gdb.base/corefile.exp: Expect the message "Program is being
24927         debugged already" when we send the "corefile" command, since
24928         the preceeding gdb_load may have connected gdb to a remote target.
24929         * gdb.base/display.exp: Disable hardware watchpoints if new
24930         board info variable "no_hardware_watchpoints" is true.
24931         Replace single-letter commands with more readable ones.
24932         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24933         if new board info variable "no_hardware_watchpoints" is true.
24934         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24935         to see if stdio (printf) testing is possible.
24936         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24937         board info variable "no_hardware_watchpoints" is true.  Use new
24938         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24939
24940 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
24941
24942         From Orjan Friberg  <orjanf@axis.com>:
24943         * gdb.base/printcmds.exp: Escape curly braces followed by a number
24944         in array print pattern match.
24945
24946 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
24947
24948         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24949         spelling "cancelled" to U.S. spelling "canceled" to match changes
24950         made to gdb.
24951         * gdb.c++/ovldbreak.exp: Ditto.
24952
24953 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
24954
24955         * gdb.base/callfuncs.c (main):  Moved to end of file, call
24956         t_double_values to initialize the FPU before inferior calls are made.
24957         * gdb.base/callfuncs.exp:  Test for register preservation after calling
24958         inferior functions.  Add tests for continuining, finishing and
24959         returning from a stop in a call dummy.
24960
24961 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
24962
24963         * gdb.base/commands.exp: Break up long lines, and re-indent.
24964
24965 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
24966
24967         * config/gdbserver.exp:  Rewritten from the ground up, to make it
24968         compatible with the current dejagnu tree, and to make it work with
24969         the new "gdbserver" in libremote.
24970
24971 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
24972
24973         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
24974         * gdb.base/varargs.exp: Skip entire test if no printf support.
24975         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
24976         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
24977
24978 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
24979
24980         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
24981         no floating point support.
24982         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
24983         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
24984         * gdb.base/call-rt-st.exp: Ditto.
24985         * gdb.base/call-strs.exp: Ditto.
24986
24987 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
24988
24989         * gdb.base/sizeof.c: include <stdio.h>.
24990
24991         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
24992         'finish', otherwise uncaptured gdb_prompt would potentially
24993         throw remaining test points out of sync.
24994
24995 2000-07-26  Scott Bambrough <scottb@netwinder.org>
24996
24997         * gdb.base/recurse.exp: Run tests for all targets.
24998         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
24999         gnu-oldld case on ARM.
25000         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25001         for ARM targets.
25002
25003 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
25004
25005         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25006         * gdb.java/configure: Rebuild.
25007
25008 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
25009
25010         * gdb.java/jv-exp.exp: New file.
25011
25012 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
25013
25014         * configure: Rebuilt.
25015         * configure.in (configdirs): Add gdb.java.
25016         * gdb.java/jmisc.java: New file.
25017         * gdb.java/jmisc.exp: New file.
25018         * gdb.java/Makefile.in: New file.
25019         * gdb.java/configure: Rebuilt.
25020         * gdb.java/configure.in: New file.
25021         * lib/java.exp: New file.
25022
25023 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25024
25025         * gdb.base/exprs.exp: Test casts to a pointer including over and
25026         underflow.
25027
25028 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25029
25030         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
25031         and the compilers sizes.
25032
25033 2000-07-09  Nick Duffek  <nsd@redhat.com>
25034
25035         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25036         (use_methods): New function.
25037         (main): Call use_methods().
25038         * gdb.c++/classes.exp (test_method_param_class): New procedure.
25039         (do_tests): Call test_method_param_class.
25040
25041 2000-07-09  Nick Duffek  <nsd@redhat.com>
25042
25043         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25044         spelling.
25045         (test_enums): New procedure.  Move enum tests from end of script
25046         to here.  Set breakpoint on function name instead of line number.
25047         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25048         (enums2): New marker function.
25049         (enums1): New function.
25050         (main): Call enums1().  Move enum tests to enums1().
25051
25052 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25053
25054         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25055         compile/link program.  Update line numbers.
25056         * gdb.asm/d10v.inc: Define ``startup''.
25057         * gdb.asm/asmsrc1.s: Add definition of _start.
25058
25059 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25060
25061         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25062
25063 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25064
25065         * gdb.base/maint.exp: Add 'maint print architecture' item to output
25066         of 'help maint print' command.
25067
25068 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25069
25070         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25071         they use gdb_expect_list.
25072
25073 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25074
25075         * gdb.base/commands.exp: Use ``set remote
25076         memory-read-packet-size'' instead of ``set endian big'' to test
25077         long commands.
25078
25079 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
25080
25081         * gdb.c++/templates.exp (do_tests): Make all of these work under
25082         g++, and stop skipping them.
25083
25084         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25085         work under g++.
25086
25087         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25088         initialization.
25089
25090 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
25091
25092         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25093         the regular expression: accept an (almost) arbitrary sequence of
25094         "frames-invalid" and "breakpoints-invalid" messages both before
25095         and after the "starting" message.
25096
25097 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
25098
25099         * gdb.c++/local.exp: This test has never been known to work with g++.
25100
25101 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
25102
25103         * gdb.base/annota1.exp (annotate-signal-handler-caller):
25104         Relax the regular expression a little, make it pass on Solaris 8.
25105
25106 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
25107
25108         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25109         a call, do not require that gdb stop on the line after the call.
25110         Instead, it is permissible for gdb to stop on the line of the
25111         call itself.
25112
25113 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
25114
25115         * gdb.base/break.exp (bp on small function, optimized file):
25116         Add a second pass pattern.  The behavior differs here between stabs
25117         and dwarf for one-line functions.  Stabs preserves two line symbols
25118         (one before the prologue and one after) with the same line number,
25119         but dwarf regards these as duplicates and discards one of them.
25120         Therefore the address after the prologue (where the breakpoint is)
25121         has no exactly matching line symbol, and GDB reports the breakpoint
25122         as if it were in the middle of a line rather than at the beginning.
25123
25124 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
25125
25126         * gdb.base/interrupt.exp: Make "pass" message say "send"
25127         rather than "send_gdb" (for consistancy).
25128
25129 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25130
25131         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
25132         * gdb.c++/templates.cc: Properly check for GCC version number.
25133         * lib/compiler.cc: Likewise
25134
25135 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
25136
25137         * gdb.base/break.exp: When compiled with -O2 optimization,
25138         gdb may not stop at the first line of main, due to code motion.
25139
25140 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
25141
25142         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25143         This test depends on parsing the printf output from the target.
25144         Since the sparclet stub doesn't do stdio, this will never work.
25145         * gdb.base/call-rt-st.exp: ditto.
25146         * gdb.base/call-strs: ditto.
25147
25148 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
25149
25150         * gdb.base/miscexprs.exp: make sizeof long array test portable.
25151
25152         * gdb.base/ending-run.exp: After connecting to a remote target,
25153         but before running, the target will appear to be in a random
25154         location.  Specify both a file and a line for breakpoints.
25155         Also, the function that calls main may be called 'init'
25156         rather than 'start'.
25157
25158 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25159
25160         * gdb.base/help.exp: Update output for add-symbol-file command.
25161
25162 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
25163
25164         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25165         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25166
25167 2000-04-07  J.T. Conklin  <jtc@redback.com>
25168
25169         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25170
25171         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25172
25173 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
25174
25175         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25176         values that can be represented exactly.
25177         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25178         above change, and to not check against the directory part of the source
25179         file name.
25180         (step into print_long_arg_list): Likewise.
25181         (print print_small_structs from print_long_arg_list): Likewise.
25182         (print print_long_arg_list): Likewise.
25183
25184 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25185
25186         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25187
25188 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25189
25190         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25191
25192 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
25193
25194         * gdb.base/commands.exp (deprecated_command_test): Add test for
25195         deprecate with no arguments.
25196
25197 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
25198
25199         * gdb.base/break.exp: Add new test for setting breakpoints on
25200         optimized code so we can test breakpoints work even when function
25201         prologues may be optimized away
25202
25203 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25204
25205         From David Whedon <dwhedon@gordian.com>
25206         * gdb.base/commands.exp : Added command deprecator tests.
25207
25208 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
25209
25210        * gdb.base/help.exp: Added test for new apropos command.
25211
25212 2000-03-21  Kevin Buettner <kevinb@redhat.com>
25213
25214         * gdb.base/pointers.c (usevar): New function.
25215         (main): Make sure that global variables v_int_pointer2, rptr,
25216         and y are all referenced someplace in the program by calling
25217         usevar() on them.  [Some linkers delete symbols which are
25218         never referenced.  The space remains, but there's no way to
25219         get a (symbolic) handle on the variable from the debugger.]
25220
25221 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25222
25223         * gdb.base/printcmds.c: Add typedeffed arrays.
25224
25225         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25226         procedure to test arrays that are typedef'd.
25227
25228 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
25229
25230         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25231         the library directories.
25232
25233 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25234
25235         * configure.in (configdirs): Add sub directory gdb.mi.
25236         * configure: Re-generate.
25237
25238         * gdb.mi: New directory.
25239
25240 2000-02-25  Scott Bambrough <scottb@netwinder.org>
25241
25242         * gdb.base/long_long.exp: Correct test suite failure when printing
25243         a long long value as a double on ARM platforms.
25244
25245 2000-02-16  Jim Blandy  <jimb@redhat.com>
25246
25247         * gdb.base/break.exp ("breakpoint line number"): Make sure the
25248         default source file is set properly before running this test.
25249
25250 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25251
25252         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25253         gdbtk/library directory, not in gdbtcl2.
25254
25255 2000-02-04  Jim Blandy  <jimb@redhat.com>
25256
25257         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25258         backslash from regexp pattern.
25259
25260         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25261         procedure.  Use it to run all the "continue to bp overloaded"
25262         tests.  Note that this changes the names of the tests slightly.
25263         If the breakpoint hit message includes a hex PC value, because
25264         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25265         from the real source code, still consider that a pass.
25266
25267         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25268         XFAIL here if the breakpoint message contains a hex address.  Note
25269         similar change on 1999-11-02.
25270
25271         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25272
25273         * gdb.base/ptype.exp: Establish a default source file before
25274         calling get_debug_format.
25275
25276 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25277
25278         * gdb.base/watchpoint.exp: Remove duplication of test messages.
25279
25280 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25281
25282         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25283         of successive stepi commands -- while in the prologue we should see
25284         the function entry bracket.
25285
25286 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25287
25288         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25289         reach __change_mode() when stepping through the end of main().
25290
25291 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25292
25293         * gdb.base/default.exp: Fix expected pattern.
25294         * gdb.base/help.exp: Same.
25295
25296 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25297
25298         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25299         Don't use xfail's because that affects only the following test.
25300
25301         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25302         solaris or linux.
25303
25304         * gdb.base/selftest.exp: Update to reflect changes to main.c.
25305
25306 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
25307
25308         * gdb.base/display.exp: Some yacc parsers like to say
25309         "A syntax error" rather than "A parse error".  Accept both.
25310
25311 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25312
25313         * gdb.base/default.exp: Remove OS dependent string from "target
25314         remote" test.
25315         * gdb.base/help.exp: Same for "help target remote" test.
25316
25317 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25318
25319         From Jim Kingdon <kingdon@redhat.com>:
25320
25321         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25322         prompt (cleanup rather than necessity, but still might keep output
25323         from spilling to next test).
25324
25325 2000-01-02  Fred Fish  <fnf@cygnus.com>
25326
25327         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25328         AIX, which defines them in <sys/types.h>.
25329
25330 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
25331
25332         * gdb.base/default.exp: Match arm* etc instead of arm in "info
25333         float" test.
25334
25335 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
25336
25337         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25338
25339         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25340         outermost frame disallowed".
25341
25342 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25343
25344         * gdb.base/setvar.exp: New tests for setting the value of a struct
25345         with a constant list.
25346
25347 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25348
25349         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25350         require the user to type a cast before setting the value of a struct.
25351
25352 1999-12-06  Jim Blandy  <jimb@cygnus.com>
25353
25354         * gdb.base/default.exp: Expect the new 'info float' command on
25355         all i386 platforms.
25356
25357         * gdb.threads/linux-dp.exp: Expand our ability to recognize
25358         LinuxThreads libraries that don't support debugging.
25359
25360 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25361
25362         * gdb.base/remote.c: Fill the buffer with truely random data.
25363         Change the buffer type to ``unsigned char'' to simplify size
25364         arithmetic.
25365
25366         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
25367         stub only handles 400-1 byte packets.  Verify that the download
25368         worked.
25369
25370 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25371
25372         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25373         tests, using UNRESOLVED for the untested cases.  Also, does not wait
25374         for a timeout if the prompt was received before a recognizable pattern.
25375
25376 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25377
25378         * lib/gdb.exp (gdb_expect_list): Fix spelling.
25379
25380 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25381
25382         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25383         watchpoints.
25384
25385 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
25386
25387         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25388
25389         * gdb.c++/local.exp: Be more flexible in recognizing local class
25390         name mangling.  Don't allow horribly truncated method names.
25391         * gdb.c++/derivation.exp: Expect protected inheritance.
25392         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25393         * gdb.c++/virtfunc.exp: Likewise.
25394         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
25395         when printing a nested enum.
25396
25397 1999-11-22  Jim Blandy  <jimb@cygnus.com>
25398
25399         * gdb.base/step-test.exp: Properly await GDB's response to setting
25400         a breakpoint on the call to large_struct_by_value.
25401
25402         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25403         just because we have debug info for the `start' function.
25404
25405 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
25406
25407         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25408         "Unknown signal" messages, which indicate (on LinuxThreads) that
25409         GDB doesn't know how to debug threads on this system.  This is
25410         better than hanging while philosopher 0 dumps chatter into gdb.log.
25411
25412 1999-11-18  Tom Tromey  <tromey@cygnus.com>
25413
25414         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25415
25416 1999-11-18  Fred Fish  <fnf@cygnus.com>
25417
25418         * gdb.base/coremaker2.c: Add sample program for generating
25419         cores that is more self contained than coremaker.c.  Eventually
25420         I'll add more code to this and tie it into the testsuite.
25421
25422 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
25423
25424         * gdb.base/dollar.exp: Remove, now in gdb.hp.
25425
25426 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
25427
25428         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25429         from $srcdir/lib/.
25430         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25431         and gdb.c++/.
25432
25433         * gdb.c++/derivation.exp: remove redundant get compiler info code.
25434
25435         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25436         'continue with watch' test point.
25437
25438 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
25439
25440         Merged from p2linux-990323-branch:
25441
25442         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25443
25444 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
25445
25446         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25447         {limit,fixed}''.  Test ``set download-write-size''.
25448
25449 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25450
25451         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25452         gdb_expect_list.
25453
25454 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25455
25456         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25457
25458 1999-11-03  Mark Salter  <msalter@cygnus.com>
25459
25460         * gdb.base/break.exp: Fix "stub continue" pattern.
25461
25462 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
25463
25464         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25465
25466 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
25467
25468         * gdb.base/display.exp ("finish"): Add timeout clause.
25469
25470         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25471         plain prompt clause, so this doesn't have to time out in order to
25472         fail.
25473
25474         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25475         breakpoint hit messages include an address.
25476
25477         * gdb.base/display.exp: Don't forget to escape parens in regular
25478         expressions.  Unix regexp notatation sucks.
25479
25480 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25481
25482         * gdb.base/annota1.exp: Test for annotate-signalled: change output
25483         order for 'signalled' message.
25484
25485 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
25486
25487         From Jimmy Guo  <guo@cup.hp.com>:
25488         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25489         * gdb.base/annota1.c: Add code for tests to work with.
25490
25491 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
25492
25493         * gdb.base/remote.exp: New test for remote downloading settings.
25494         * gdb.base/remote.c: New file with large .data.
25495
25496 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
25497
25498         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25499         for LinuxThreads support, merged from the Code Fusion branch.
25500
25501 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
25502
25503         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25504         containing exp_continue into a while within an expect.  Don't
25505         attempt a start more than three times.  Check return value from
25506         gdb_load.
25507
25508 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25509
25510         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25511         a pass case.
25512
25513 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
25514
25515         * gdb.base/break.c (main): Added a statement that we can step
25516         off of.
25517         * gdb.base/break.exp: Added tests for setting a breakpoint
25518         at an offset and stepping onto a breakpoint.
25519
25520 1999-10-01  Fred Fish  <fnf@cygnus.com>
25521
25522         * gdb.base/help.exp (help add-symbol-file): Update to match current
25523         gdb output.
25524
25525 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
25526
25527         * gdb.base/break.exp: Code locations are in hex, don't forget!
25528         (For HP-UX.)
25529
25530 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
25531
25532         * condbreak.exp: Use break.c as test program.
25533         * condbreak.c: Remove, redundant with break.c.
25534
25535 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
25536
25537         * config/monitor.exp (gdb_target_monitor): Disable X- and
25538         Z-packets if the target needs it.
25539
25540 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
25541
25542         * gdb.c++/overload.exp: Added tests for listing overloaded
25543         functions with function pointers in the arg, explicitly calling
25544         out the version you want.
25545
25546 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
25547
25548         * long_long.exp: Add variations of test cases that work for
25549         targets with 16-bit ints and 32-bit doubles.
25550
25551 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
25552
25553         * break.c (main): Compare a possibly-uninitialized argc with an
25554         unlikely value that fits in 16 bits.
25555
25556 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
25557
25558         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25559         0xfeeb, don't want negative numbers if ints are 16 bits.
25560
25561         * lib/gdb.exp (skip_cplus_tests): New proc.
25562         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25563         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25564         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25565         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25566         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25567         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25568         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25569         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25570
25571         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25572
25573 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
25574
25575         * gdb.base/corefile.exp (up): Allow a parameter to appear
25576         in the frame that we're going up to.
25577
25578         From Jim Blandy <jimb@cygnus.com>:
25579
25580         * gdb.base/default.exp (info float): Expect some output now.
25581
25582         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25583         returning floating-point values to fail on the x86.
25584         * gdb.base/callfwmall.exp (do_function_calls): Same.
25585
25586         * gdb.base/list.exp (test_listsize): Correct expectations for
25587         listing line 1 with listsize 2.  Also, listing a single line
25588         works now, as does listing three lines.  [Kevin's note: There
25589         were a number of other cases fixed too where the expectations
25590         differed...]
25591
25592 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
25593
25594         * gdb.base/selftest.exp: Add case for when version prints as
25595         constant string instead of char pointer.
25596
25597 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
25598
25599         * gdb.base/ending-run.exp: Add Solaris case for what happens when
25600         stepping out of main.
25601
25602         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25603         G++ used.
25604
25605         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25606         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25607
25608         * gdb.c++/ovldbreak.exp: Update match string in test that
25609         includes a warning of multiple breakpoints.
25610
25611 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
25612
25613         * gdb.base/display.exp: Improve precision of step-after-finish
25614         added yesterday.
25615
25616         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25617         test.
25618
25619         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25620         configs when using G++, not just hppa*.
25621
25622 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25623
25624         * gdb.base/async.c: New file.
25625         * gdb.base/async.exp: New file.
25626
25627 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
25628
25629         * gdb.base/break.exp: Tweak PA specific tests to properly handle
25630         PA64.
25631
25632 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
25633
25634         * gdb.base/display.exp: "finish" can leave us mid-line on many
25635         targets, deal with it.  Add a small constant to main, instead of
25636         1000 since main+1000 may not be a valid address in the target.
25637
25638         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25639         on hpux11.
25640
25641         * gdb.base/attach.exp: Handle another hpux11 error message variant
25642         when attaching to a process that does not exist.
25643
25644 1999-08-19  J.T. Conklin  <jtc@redback.com>
25645
25646         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25647         characters in 'continue to 1241' test.
25648
25649 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
25650
25651         * gdb.base/call-ar-st.exp: Add a shorter match case for the
25652         stop in print_long_arg_list, define and use a whitespace
25653         variable in print_small_structs test, add an XFAIL for Solaris.
25654         * gdb.base/dbx.exp: XFAIL func commands until somebody is
25655         interested enough to fix.
25656
25657 1999-08-13  Keith Seitz  <keiths@cygnus.com>
25658
25659         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25660         (dbx_gdb_load): Remove. Use gdb_load instead, since that
25661         proc knows about targets other than the natives.
25662         (test_assign): Use "gdb_run_cmd" to "run" the target.
25663         Check that we've actually hit the breakpoint at main.
25664         When we attempt to assign a value to a local variable, check
25665         that the variable is in the current scope, i.e., don't use
25666         a test with an empty result.
25667
25668 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25669
25670         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25671         command.
25672
25673 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
25674
25675         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25676         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25677         gdb.compat, gdb.threads-hp.
25678         gdb.hp/configure, gdb.hp/configure.in: New files.
25679         gdb.hp/Makefile.in: Recurse into new subdirs.
25680         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25681         gdb.hp/gdb.objdbg: New directory, tests for debugging info
25682         in object files.
25683         gdb.hp/tools: New directory, aux tools for HP-specific tests.
25684
25685 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
25686
25687         * gdb.base/display.exp: Help expect by putting a newline in the
25688         funky printf, remove a bogus p/a test.
25689
25690 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25691
25692         * gdb.base/display.exp: Make sure that when we say 'run', we are
25693         connected to the target. This is necessary when running not
25694         natively.
25695
25696 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
25697
25698         * gdb.base/step-test.exp: Removed some extraneous messages.
25699
25700         * gdb.base/long_long.exp: Don't run memory examination tests
25701         on little-endian targets (they will need a different set of
25702         results to match).
25703
25704 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
25705
25706         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25707         until somebody decides to fix GDB.
25708
25709         * gdb.base/long_long.c: Stop compiler complaint by specifying long
25710         constant as "ULL".
25711         * gdb.base/long_long.exp: Loosen x/c test, add partial result
25712         matches for a couple x/2 commands.
25713
25714 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
25715
25716         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25717         by merging in ref-types2 tests.
25718         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25719
25720         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25721         * gdb.c++/Makefile.in: Add standard actions.
25722         (EXECUTABLES): Rename from PROGS, update list.
25723         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25724         from gdb.hp.
25725         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25726         foo and bar locals.
25727         * gdb.c++/anon-union.exp: Fix tests to match.
25728         * gdb.c++/classes.exp: Run if HP compiler used, add extra
25729         expect matches to handle output variations.
25730         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25731         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25732         output, add HP alternatives for new and delete prints.
25733         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25734         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25735         * gdb.c++/demangle.exp: Use $style when reporting failure.
25736         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25737         * gdb.c++/inherit.exp: Run if HP compiler used, add some
25738         match alternatives.
25739         * gdb.c++/local.exp: Add match alternatives or xfails for HP
25740         compilers.
25741         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25742         * gdb.c++/method.exp: Add match alternatives.
25743         * gdb.c++/misc.cc: Add bool types.
25744         * gdb.c++/misc.exp: Add tests for bool types.
25745         * gdb.c++/overload.exp: Add xfails.
25746         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25747         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25748         add some more template parameter tests (only for HP currently).
25749         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25750         * gdb.c++/virtfunc.cc: Add return type and value for main.
25751         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25752         match alternatives.
25753
25754 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25755
25756         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25757
25758 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
25759
25760         * gdb.base/signals.exp: Don't expect getting a backtrace from
25761         within a signal handler to fail on Linux.
25762
25763 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
25764
25765         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25766         * lib/gdb.exp: Remove some gratuitious semicolons.
25767         (delete_breakpoints): Increase timeout.
25768         (gdb_expect): Add -notransfer option.
25769         (gdb_test): Use -notransfer option.
25770         (get_compiler_info): Add f77 case.
25771         (get_compiler): New proc, split out from gdb_preprocess, add f77
25772         case.
25773         (gdb_preprocess): Call get_compiler.
25774
25775         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25776         * gdb.base/attach.exp, gdb.base/display.exp,
25777         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25778         gdb.base/long_long.exp, gdb.base/printcmds.exp,
25779         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25780         third arg to gdb_test.
25781         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25782         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
25783         HP-UX xfails, add others.
25784         * gdb.base/completion.exp: Reflect name change of self-test.
25785         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
25786         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25787         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25788         HP failure number.
25789         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25790         useless HP-UX 10.30 references.
25791         * gdb.base/maint.exp: Loosen matches.
25792         * gdb.base/pointers.c (main): Declare more_code.
25793         * gdb.base/pointers.exp: Match on output of a `next'.
25794         * gdb.base/structs.c: Add prototypes.
25795         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25796         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25797
25798 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25799
25800         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
25801         command.
25802
25803 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25804
25805         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25806         Fix run to main failures. Watchpoint can be hardware watchpoint.
25807
25808         * gdb.base/annota1.exp: Clean up some more, in case printf has
25809         debug info.  Deal with lack of signal hanlder info in stack.
25810
25811         From Jim Kingdon  <kingdon@redhat.com>:
25812         * gdb.base/annota1.exp: If printf has debug info, deal with it.
25813
25814 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
25815
25816         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
25817         gdb.base/foll-vfork.exp: Don't run for crosses.
25818
25819 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25820
25821         * gdb.base/configure.in: Check for gdbvars.exp instead of
25822         a1-selftest.exp.
25823         * gdb.base/configure: Re-generate.
25824
25825 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
25826
25827         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25828         in trying to run first and name is too long.
25829
25830         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25831         pointers2.c and pointers2.exp, respectively.
25832         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25833         doschk happier.
25834
25835 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
25836
25837         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25838         callfuncs2.c and callfuncs2.exp.
25839
25840         * gdb.base/list.exp: Remove mistaken xfails.
25841         * gdb.base/list0.h: Add optional prototypes.
25842
25843 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
25844
25845         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
25846         calling malloc.
25847         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25848         * ptype.exp: Move test for get_debug_format to before its first
25849         use.
25850
25851 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25852
25853         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25854         * gdb.base/annota2.cc, annota2.exp: Move from here.
25855         * gdb.c++/annota2.cc, annota2.exp: To here.
25856         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25857
25858 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25859
25860         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
25861         a consistent format.
25862
25863 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
25864
25865         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25866         * lib/gdb.exp (get_compiler_info): Add detection for assorted
25867         HP compilers, also set the globals $true and $false.
25868
25869         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
25870         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25871         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25872         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25873         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25874         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25875         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25876         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25877         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25878         whatis.c} Add C++ compatible function definitions and return
25879         types, add includes for library functions.
25880         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25881         * gdb.base/step-test.c (myglob): Rename from glob.
25882         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
25883         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25884         files, move here from gdb.hp.
25885         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
25886         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25887         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25888         Adjust line numbers in regexps.
25889
25890         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25891         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25892         instead of 0/1.
25893
25894         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25895         foll-vfork.exp: New files, move here from gdb.hp.
25896         * gdb.base/page.exp: New file, test of pagination command.
25897
25898         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25899         recursion test.
25900         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25901
25902         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
25903         gdb.base/solib.exp: Fix compiler invocation process.
25904
25905         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
25906         HP-UX 11, turn off overload resolution explicitly.
25907         * gdb.base/commands.exp: Set argument list explicitly, add
25908         watchpoint test.
25909         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25910         them work.
25911         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25912         expressions properly.
25913         * gdb.base/corefile.exp: Loosen the match slightly.
25914         * gdb.base/default.exp: Allow "Error accessing memory" message
25915         also.
25916         * gdb.base/display.exp: Skip over x/0 j if PA64.
25917         * gdb.base/funcargs.exp: Add xfails for HP-UX.
25918         * gdb.base/interrupt.exp: Ditto.
25919         * gdb.base/langs.exp: Add symbolic matches governed by compiler
25920         in use.
25921         * gdb.base/list.exp: Add xfails for HP-UX.
25922         * gdb.base/long_long.exp: Refine some of the numeric matches.
25923         * gdb.base/mips_pro.exp: Xfail on HP-UX.
25924         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25925         * gdb.base/nodebug.exp: Succeed on more varieties of output.
25926         * gdb.base/opaque.exp: Remove some HP-UX xfails.
25927         * gdb.base/ptype.exp: Succeed on more varieties of output.
25928         * gdb.base/scope.exp: Add xfails for HP-UX.
25929         * gdb.base/sect-cmd.exp: Add more cases.
25930         * gdb.base/setvar.exp: Add xfails for HP-UX.
25931         * gdb.base/shlib-call.exp: Loosen some matches slightly.
25932         * gdb.base/signals.exp: Match on void symbolically.
25933         * gdb.base/step-test.exp: Add case for PA64.
25934         * gdb.base/term.exp: Add exit and restart.
25935         * gdb.base/twice.exp: Clean up after self.
25936         * gdb.base/varargs.exp: Disable overload resolution explicitly.
25937         * gdb.base/whatis.exp: Allow more ways to pass tests.
25938
25939         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
25940         no longer useful.
25941
25942 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25943
25944         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
25945         list of patterns.
25946         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
25947         print_double_array(double_array)", "continuing to breakpoint
25948         1018", "print print_double_array(array_d)" and "continuing to
25949         1034" tests.
25950
25951 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
25952
25953         * Makefile.in: Add empty html and install-html targets.
25954
25955 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
25956
25957         * config/mt-*: Remove, these haven't been used since 1996.
25958
25959 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
25960
25961         * gdb.base/call-strs.c, gdb.base/ending-run.c,
25962         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
25963         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
25964
25965 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
25966
25967         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
25968         simpler match case for the ptype of the big class.
25969
25970 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25971
25972         * gdb.exp: Fix test for gdb_prompt existence.
25973
25974 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25975
25976         * gdb.exp (gdb_test): Add fail after calls to perror.
25977
25978 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25979
25980         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
25981
25982 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25983
25984         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
25985
25986 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25987
25988         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
25989         malloc() is linked in.
25990
25991 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25992
25993         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
25994         step at end.
25995
25996         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
25997
25998 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
25999
26000         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
26001
26002 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
26003
26004         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26005         * gdb.base/mips_pro.exp: Likewise.
26006
26007 1999-06-02  Keith Seitz  <keiths@cygnus.com>
26008
26009         * gdb.c++/templates.cc: Change all "new" operators to throw
26010         an exception.
26011         * gdb.c++/cplusfuncs.cc: Likewise.
26012
26013         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26014
26015 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
26016
26017         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26018         * gdb.base/ending-run.exp: When stepping out of main, accept a
26019         step into an arbitrary assembler file.
26020
26021 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26022
26023         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26024         "breakpoint-invalid" to be printed.
26025         * gdb.base/annota2.exp: Revise line number for main
26026         breakpoint. Allow any number of "frames-invalid" and
26027         "breakpoint-invalid" to be printed.
26028         * gdb.base/annota2.cc: Initialize a.x to 0.
26029
26030 1999-05-17  Keith Seitz  <keiths@cygnus.com>
26031
26032         * gdb.base/call-ar-st.exp: Skip
26033         "print print_double_array (double_array)" when "skip_float_tests" set.
26034         Ditto for "print print_double_array(array_d)",
26035         "print print_small_structs", "print print_ten_doubles", and
26036         "step into print_long_arg_list".
26037         Don't assume we can step into "print_long_arg_list": we could step
26038         into memcpy.
26039         * gdb.base/call-rt-st.exp: Don't run float-related tests when
26040         "skip_float_tests" is set: "print print_one_double(*d1)"
26041         and "print print_two_floats(*f3)".
26042         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26043         "skip_float_tests" is set.
26044         * gdb.base/varargs.exp: Skip
26045         "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26046         "skip_float_tests" set.
26047
26048 1999-05-06  Keith Seitz  <keiths@cygnus.com>
26049
26050         * gdb.base/annota2.cc: Include stdio.h.
26051
26052 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
26053
26054         * gdb.base/crossload.exp: Remove, this has been disabled ever
26055         since BFD stopped including all targets, and cross-GDB gets
26056         plenty of testing anyway.
26057         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26058         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26059         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26060         * gdb.base/README: Remove, was doc for this.
26061         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26062         needed.
26063
26064 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26065
26066         * gdb.base/call-ar-st.exp: Fix one regular expression in test
26067         output.
26068
26069         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26070         * gdb.base/annota2.exp: New file. More annotation tests.
26071         * gdb.base/annota1.c: New file. Source file for annota1.exp.
26072         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26073
26074 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
26075
26076         * config/cfdbug.exp: New file.
26077
26078 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
26079
26080         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26081         Marcus Daniel's and Dale Hawkins's demangler crashes.
26082
26083         * gdb.c++/demangle.exp (test_gnu_style_demangling,
26084         test_lucid_style_demangling, test_arm_style_demangling,
26085         test_hp_style_demangling): Try Tom Tromey's core-dumping
26086         identifier under each demangling style.
26087
26088 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
26089
26090         * gdb.c++/demangle.exp: Include the current demangling style
26091         in all test names.
26092         (current_demangling_style): New global variable.
26093         (set_demangling_style, test_demangling_core, test_demangling,
26094         test_demangling_exact): New functions.
26095         (test_gnu_style_demangling, test_lucid_style_demangling,
26096         test_arm_style_demangling, test_hp_style_demangling): Use those,
26097         instead of calling gdb_test and gdb_test_exact directly.
26098         (catch_demangling_errors): New function, which reports errors
26099         signalled by the demangling test functions in an orderly way.
26100         (do_tests): Use catch_demangling_errors.
26101
26102 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
26103
26104         * gdb.base/signals.exp (test_handle_all_print): Use () for
26105         grouping in expressions, not {}.
26106
26107         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
26108         initialized yet.
26109
26110 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
26111
26112         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26113         are listed.
26114
26115 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
26116
26117         * gdb.stabs/weird.exp: Test for CC being defined before
26118         looking at its value.
26119
26120 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
26121
26122         * gdb.base/call-ar-st.exp: Remove stray '#'.
26123         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26124         "short int" and "long int".
26125         * gdb.c++/overload.cc: Cast the string added in the previous
26126         change, to mollify finicky HP compiler.
26127         * gdb.hp/reg-test.exp (testfile): Fix file name.
26128         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26129
26130         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26131         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26132         alternate form of enum ptype.
26133
26134 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
26135
26136         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26137         * gdb.hp/*.exp: Change all to run compiler probe only after
26138         passing skip_hp_tests, so as not to waste time on guaranteed
26139         failure.
26140
26141         * gdb.c++/overload.cc: Pass string instead of char addr, always
26142         init ccpfoo.
26143         * gdb.c++/templates.cc: Fix syntax error.
26144
26145 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26146
26147         * gdb.base/commands.exp: Add test for correct position of '>'
26148         when issuing the 'commands' command after a 'while' or 'if'
26149         command.
26150
26151 1999-03-18  James Ingham  <jingham@cygnus.com>
26152
26153         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26154
26155         * gdb.c++/method.exp: It was testing an uninitialized int on the
26156         stack and assuming it was positive.
26157
26158         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26159
26160         * gdb.base/step-test.exp: Catch a case where finish is broken and
26161         keep it from killing the rest of the tests.
26162         Use gdb_continue_to_end.
26163
26164         * gdb.base/sigall.exp: use gdb_continue_to_end.
26165
26166         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26167
26168         * gdb.base/display.exp: use runto_main, not run.
26169
26170         * gdb.base/default.exp: Check for the current error message in the
26171         r abbreviation test.
26172         Add strongarm to the targets that know info float.
26173
26174         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26175         run which doesn't work with monitors.
26176
26177         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26178         1034 test.
26179
26180         * gdb.base/break.exp: use the gdb_continue_to_end proc.
26181
26182         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26183         end of a program.  Traps the case (in Cygmon) when the program
26184         never really exits.  Same as Mark's continue_to_exit, but I had
26185         put it in a lot more places, so I used my name.  Sorry Mark...
26186
26187         * config/monitor.exp (gdb_target_monitor): added another
26188         target_info parameter: remotebinarydownload.  This will set the
26189         remotebinarydownload flag if this is causing some boards trouble.
26190
26191 1999-03-18  Mark Salter  <msalter@cygnus.com>
26192
26193         * lib/gdb.exp (continue_to_exit): New function.
26194
26195         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26196         * gdb.base/ending-run.exp: Ditto.
26197         * gdb.base/step-test.exp: Ditto.
26198
26199 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
26200
26201         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26202         (suggested by Art Haas <ahaas@neosoft.com>).
26203
26204 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
26205
26206         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26207
26208 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
26209
26210         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26211         descriptions of types (short unsigned int vs unsigned short, etc).
26212
26213 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
26214
26215         * gdb.base/call-strs.exp: Don't assume that `step' will step over
26216         a call to strlen; sometimes we do have sources.
26217
26218 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
26219
26220         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26221         character, so GDB won't print garbage after its end.
26222
26223         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26224         breakpoint there instead.  Sometimes GCC emits memcpy to handle
26225         the large structures being passed by value, so we step into that
26226         instead of sum_array_print, which obscures what we're really testing.
26227         * gdb.base/step-test.exp: However, we do want a test that notices
26228         the bizarre steps into memcpy, so do that here.  Add check for
26229         stepping into function calls that pass large structures by value.
26230         ("Is that a noun clause, or are you just happy to see me?")
26231         Remove all references to specific line numbers.
26232         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26233         New type and function.
26234         (main): Call large_struct_by_value, passing it a large struct by value.
26235         * lib/gdb.exp (gdb_get_line_number): New function.
26236
26237         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26238         more portable.
26239
26240 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
26241
26242         * lib/gdb.exp: Doc fixes.
26243
26244 1999-03-05  Nick Clifton  <nickc@cygnus.com>
26245
26246         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26247
26248 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
26249
26250         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26251         commands.  They're not germane to this test, and they don't work
26252         that way on remote targets.
26253
26254 1999-03-01  James Ingham  <jingham@cygnus.com>
26255
26256         * Changelog entries merged over from gdb development branch.
26257
26258        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
26259
26260                * lib/gdb.exp (gdbtk_analyze_results): Generic function
26261                for outputting results of test run.
26262
26263         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
26264
26265                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26266
26267 1999-02-25  Felix Lee  <flee@cygnus.com>
26268
26269         * lib/gdb.exp (debug_format): initialize
26270
26271 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
26272
26273         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26274         * gdb.base/call-rt-st.c: Ditto.
26275
26276 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
26277
26278         * gdb.threads/pthreads.exp (horiz): New variable.
26279         (test_startup): Fix regexps that capture thread numbers.
26280
26281 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
26282
26283         * gdb.base/smoke.exp: Disambiguate two test case names (both
26284         called ``print'').
26285
26286 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
26287
26288         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26289         compilation.
26290
26291 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
26292
26293         * gdb.base/miscexprs.exp: Change patterns to match GDB's
26294         actual output formatting.
26295         * gdb.base/smoke.exp: GDB removes leading 0's.
26296         * gdb.base/volatile.exp: Don't check type of remuneration;
26297         that variable is no longer defined in constvars.c.
26298         * gdb.base/step-test.c (main): Exit with explicit exit code.
26299         * gdb.base/step-test.exp: Remove two nexti checks--they are
26300         not portable.
26301
26302 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
26303
26304         * gdb.base/help.exp ("help delete display"): Fix test to match
26305         gdb's output.
26306
26307         * gdb.base/long_long.c (known_types): Initialize values to zero.
26308         * gdb.base/long_long.exp: Step one more line
26309         so 'dec' is initialized in "get to known place".  GDB removes
26310         leading zeros.  Explicitly ask for hex formatting.  Use
26311         unique test case names.
26312
26313 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26314
26315         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26316
26317         * gdb.c++/method.exp: Add missing close brace.
26318
26319 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
26320
26321         * gdb.base/maint.exp: Use 'set height 0' to disable page
26322         prompting, not 'set height 400'.
26323
26324         Fix a bunch of timeouts.
26325         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26326         four separate tests, so expect doesn't take forever to match a ton
26327         of text against a regexp with lots of .* forms.
26328         ("maint print psymbols", "maint print symbols"): Make some of
26329         these greps more selective, so that expect doesn't try to wade
26330         through huge piles of output and time out.
26331
26332         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26333
26334         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26335         tests: one which doesn't expect shlib events to be reported, and
26336         another which does, but is XFAIL for all platforms other than
26337         HP/UX.
26338
26339         * gdb.base/break.exp: Teach the test suite that the `catch
26340         fork', `catch vfork', and `catch exec' commands produce error
26341         messages on platforms that don't provide these features.
26342
26343 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
26344
26345         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26346         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26347         (shortening names from solib_threshold.exp etc), won't run on
26348         anything but HP-UX for the foreseeable future.
26349         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26350         reflect move.
26351
26352 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
26353
26354         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26355         gdb.trace/Makefile.in (clean): Remove all test executables.
26356
26357 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
26358
26359         * gdb.base/shlib-call.exp: add test cases to verify that gdb
26360         successfully re-sets breakpoints in shared libraries.
26361         * gdb.base/shmain.c (main): return 0, don't fall off the end.
26362
26363 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26364
26365         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26366         and compiled w/o GCC.
26367
26368         * gdb.hp/watch-cmd.exp: ditto.
26369
26370         * gdb.hp/watch-hp.exp: ditto.
26371
26372         * gdb.hp/xdb1.exp: ditto.
26373
26374         * gdb.hp/xdb2.exp: ditto.
26375
26376         * gdb.hp/dbx.exp: ditto.
26377
26378 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
26379
26380         * constvars.c: Remove C++-isms.
26381         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26382         with GCC.
26383
26384 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
26385
26386         The following changes are part of the HP merge.
26387
26388         * gdb.base/break.exp: new tests to verify that catchpoints for
26389         fork, vfork, and exec don't trigger inappropriately.
26390
26391         * gdb.base/opaque.exp: compile one file at a time, then link.
26392
26393         * gdb.base/signals.exp: be more restrictive about which hppa
26394         systems receive a setup_xfail.  new tests.
26395
26396         * gdb.base/solib_threshold.build: new file.
26397         * gdb.base/solib_threshold.exp: new file.
26398         * gdb.base/solib_threshold.link_opts: new file.
26399         * gdb.base/solib_threshold.mk: new file.
26400         * gdb.base/gen_solib_threshold.c: new file.
26401
26402         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26403         tests.  New tests for enums inside classes.
26404
26405         * gdb.c++/compiler.cc: indicate support of template debugging.
26406
26407         * gdb.c++/demangle.exp: run hp style demangling tests.
26408
26409         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26410         tests.
26411
26412         * gdb.c++/misc.cc: changes to support new tests.
26413
26414         * gdb.c++/templates.cc: changes to support HP's compiler; changes
26415         to support new tests.
26416
26417         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26418         gcc, then skip these tests.
26419
26420 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
26421
26422         The following files are part of the HP merge; some had longer
26423         names at HP, but have been renamed to be no more than 14
26424         characters in length.
26425
26426         * gdb.hp/ambiguous.cc: new file.
26427         * gdb.hp/ambiguous.exp: new file.
26428         * gdb.hp/attach.exp: new file.
26429         * gdb.hp/attach2.exp: new file.
26430         * gdb.hp/classes-hp.exp: new file.
26431         * gdb.hp/ctti.exp: new file.
26432         * gdb.hp/ctti-add.cc: new file.
26433         * gdb.hp/ctti-add1.cc: new file.
26434         * gdb.hp/ctti-add2.cc: new file.
26435         * gdb.hp/ctti-add3.cc: new file.
26436         * gdb.hp/dbx.exp: new file.
26437         * gdb.hp/exception.cc: new file.
26438         * gdb.hp/exception.exp: new file.
26439         * gdb.hp/foll-exec.c: new file.
26440         * gdb.hp/foll-exec.exp: new file.
26441         * gdb.hp/foll-fork.c: new file.
26442         * gdb.hp/foll-fork.exp: new file.
26443         * gdb.hp/foll-vfork.c: new file.
26444         * gdb.hp/foll-vfork.exp: new file.
26445         * gdb.hp/inherit-hp.exp: new file.
26446         * gdb.hp/more-steps.exp: new file.
26447         * gdb.hp/namespace.cc: new file.
26448         * gdb.hp/namespace.exp: new file.
26449         * gdb.hp/optimize.exp: new file.
26450         * gdb.hp/pxdb.c: new file.
26451         * gdb.hp/pxdb.exp: new file.
26452         * gdb.hp/quicksort.exp: new file.
26453         * gdb.hp/reg-test.exp: new file.
26454         * gdb.hp/reg-test.s: new file.
26455         * gdb.hp/sized-enum.c: new file.
26456         * gdb.hp/sized-enum.exp: new file.
26457         * gdb.hp/start-stop.exp: new file.
26458         * gdb.hp/templ-hp.cc: new file.
26459         * gdb.hp/templ-hp.exp: new file.
26460         * gdb.hp/thr-lib.c: new file.
26461         * gdb.hp/thr-lib.exp: new file.
26462         * gdb.hp/thr-lib.h: new file.
26463         * gdb.hp/thr-liblib.c: new file.
26464         * gdb.hp/virtfun-hp.c: new file.
26465         * gdb.hp/virtfun-hp.exp: new file.
26466         * gdb.hp/watch-cmd.exp: new file.
26467         * gdb.hp/watch-hp.exp: new file.
26468         * gdb.hp/xdb1.exp: new file.
26469         * gdb.hp/xdb2.exp: new file.
26470         * gdb.hp/xdb3.exp: new file.
26471
26472 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
26473
26474         The following files are part of the HP merge; some had longer
26475         names at HP, but have been renamed to be no more than 14
26476         characters in length.
26477
26478         * gdb.base/ss.h: new file.
26479         * gdb.base/call-ar-st.c: new file.
26480         * gdb.base/call-ar-st.exp: new file.
26481         * gdb.base/call-rt-st.c: new file.
26482         * gdb.base/call-rt-st-exp: new file.
26483         * gdb.base/call-strs.exp: new file.
26484         * gdb.base/ena-dis-br.exp: new file.
26485         * gdb.base/environ.exp: new file.
26486         * gdb.base/long_long.exp: new file.
26487         * gdb.base/sect-cmd.exp: new file.
26488         * gdb.base/shlib-cl2.exp: new file.
26489         * gdb.base/smoke.exp: new file.
26490         * gdb.base/so-impl-ld.c: new file.
26491         * gdb.base/so-impl-ld.exp: new file.
26492         * gdb.base/so-indr-cl.c: new file.
26493         * gdb.base/so-indr-cl.exp: new file.
26494         * gdb.base/varargs.exp: new file.
26495         * gdb.base/volatile.exp: new file.
26496         * gdb.base/whatis-exp.exp: new file.
26497         * gdb.base/display.exp: new file.
26498         * gdb.c++/derivation.exp: new file.
26499         * gdb.c++/local.exp: new file.
26500         * gdb.c++/member-ptr.exp: new file.
26501         * gdb.c++/overload.exp: new file.
26502         * gdb.c++/ovldbreak.exp: new file.
26503         * gdb.c++/ref-types.exp: new file.
26504         * gdb.c++/ref-types2.exp: new file.
26505         * gdb.c++/userdef.exp: new file.
26506
26507 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
26508
26509         * gdb.base/default.exp: Reflect wording change in remote.c.
26510
26511 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
26512
26513         * gdb.base/help.exp: Update to reflect current text.
26514
26515 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
26516
26517         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26518         they're stack variables and contain garbage.
26519         * gdb.c++/anon-union.exp: new file.
26520
26521         The following changes were made by David Taylor
26522         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26523         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26524         in changes by HP.
26525
26526         * gdb.base/bitops.exp: new file.
26527         * gdb.base/default.exp: change expected messages for catch and
26528         info catch tests to reflect HP merge changes.
26529         * gdb.base/enable-disable-break.exp
26530         * gdb.base/ending-run.c: new file.
26531         * gdb.base/long_long.c: new file.
26532         * gdb.base/maint.exp: new file.
26533         * gdb.base/pointers2.exp: new file.
26534         * gdb.base/shlib-call2.exp: new file.
26535         * gdb.base/solib.exp: new file.
26536         * gdb.base/step-test.c: new file.
26537         * gdb.c++/anon-union.cc: new file.
26538         * gdb.c++/local.cc: new file.
26539         * gdb.c++/member-pointer.cc: new file.
26540         * gdb.c++/method.cc: new file.
26541         * gdb.c++/ref-types.cc: new file.
26542         * gdb.c++/ref-types2.cc: new file.
26543         * gdb.c++/userdef.cc: new file.
26544
26545         * gdb.base/scope.exp: compile one file at a time, then link.
26546         * gdb.base/langs.exp: ditto.
26547         * gdb.base/list.exp: ditto.
26548
26549 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
26550
26551         The following changes were made by David Taylor
26552         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26553         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26554         in changes by HP.
26555
26556         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26557         skip tests.  When compiling pass c++ flag to gdb_compile.
26558         * gdb.c++/
26559
26560         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26561         test for on hppa*-*-hpux*; use args to see if c++ was specified.
26562         (skip_hp_tests): new function.
26563         (gdb_preprocess): new function.
26564
26565         * configure.in (hpdir): decide whether to configure gdb.hp.
26566         * configure: regenerated.
26567
26568         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26569         to delete on clean.
26570         (EXECUTABLES): update to reflect new additions.
26571         * gdb.base/commands.exp: update message expected.
26572         * gdb.base/default.exp: add copyright notice.
26573         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26574         * gdb.base/help.exp: update messages to reflect current text.
26575         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26576         targets for recurse tests.
26577         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26578         skip this file.
26579
26580         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26581         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26582         compilation.
26583         * gdb.c++/misc.exp: ditto.
26584         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26585         run the tests.  tell gdb_compile that it's a c++ compilation.
26586
26587         * gdb.threads/pthreads.exp: fix typo in message.
26588
26589         * gdb.base/all-bin.exp: new file.
26590         * gdb.base/arithmet.exp: new file.
26591         * gdb.base/assign.exp: new file.
26592         * gdb.base/completion.exp: new file.
26593         * gdb.base/cond-expr.exp: new file.
26594         * gdb.base/condbreak.exp: new file.
26595         * gdb.base/define.exp: new file.
26596         * gdb.base/dollar.exp: new file.
26597         * gdb.base/environment.exp: new file.
26598         * gdb.base/eval-skip.exp: new file.
26599         * gdb.base/jump.exp: new file.
26600         * gdb.base/logical.exp: new file.
26601         * gdb.base/pointers.exp: new file.
26602         * gdb.base/relational.exp: new file.
26603         * gdb.base/section_command.exp: new file.
26604         * gdb.base/whatis-expr.exp: new file.
26605
26606         * gdb.base/all-types.c: new file.
26607         * gdb.base/call-array-struct.c: new file.
26608         * gdb.base/call-return-struct.c: new file.
26609         * gdb.base/call-strings.c: new file.
26610         * gdb.base/callfuncs2.c: new file.
26611         * gdb.base/condbreak.c: new file.
26612         * gdb.base/constvars.c: new file.
26613         * gdb.base/display.c: new file.
26614         * gdb.base/int-type.c: new file.
26615         * gdb.base/jump.c: new file.
26616         * gdb.base/miscexprs.c: new file.
26617         * gdb.base/pointers.c: new file.
26618         * gdb.base/pointers2.c: new file.
26619         * gdb.base/shmain.c: new file.
26620         * gdb.base/shr1.c: new file.
26621         * gdb.base/shr2.c: new file.
26622         * gdb.base/solib.c: new file.
26623         * gdb.base/solib1.c: new file.
26624         * gdb.base/solib2.c: new file.
26625         * gdb.base/varargs.c: new file.
26626         * gdb.c++/derivation.cc: new file.
26627         * gdb.c++/overload.cc: new file.
26628         * gdb.c++/ovldbreak.cc: new file.
26629         * gdb.hp/attach.c: new file.
26630         * gdb.hp/attach2.c: new file.
26631         * gdb.hp/average.c: new file.
26632         * gdb.hp/compiler.c: new file.
26633         * gdb.hp/compiler.cc: new file.
26634         * gdb.hp/execd-program.c: new file.
26635         * gdb.hp/follow-exec.c: new file.
26636         * gdb.hp/follow-fork.c: new file.
26637         * gdb.hp/follow-vfork-and-exec.c: new file.
26638         * gdb.hp/misc-hp.cc: new file.
26639         * gdb.hp/more-steps.c: new file.
26640         * gdb.hp/optimize.c: new file.
26641         * gdb.hp/quicksort.c: new file.
26642         * gdb.hp/run-hp.c: new file.
26643         * gdb.hp/start-stop.c: new file.
26644         * gdb.hp/sum.c: new file.
26645         * gdb.hp/templates-hp.cc: new file.
26646         * gdb.hp/thread-local-in-lib.c: new file.
26647         * gdb.hp/thread-local-in-lib.h: new file.
26648         * gdb.hp/thread-local-in-lib.lib.c: new file.
26649         * gdb.hp/vforked-program.c: new file.
26650         * gdb.hp/virtfunc-hp.cc: new file.
26651         * gdb.hp/watchpoint-hp.c: new file.
26652         * gdb.hp/xdb.c: new file.
26653         * gdb.hp/xdb0.c: new file.
26654         * gdb.hp/xdb0.h: new file.
26655         * gdb.hp/xdb1.c: new file.
26656
26657 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
26658
26659         The following change was made by Edith Epstein
26660         <eepstein@cygnus.com> as part of a project to merge in changes
26661         originally made by HP; HP did not create ChangeLog entries.
26662
26663         * gdb.c++/demangle.exp: changed the expected output for some
26664         ARM-style mangling -- removed second reference to datatype.
26665         For example, maint demangle __dt__11T1__pt__2_cFv
26666                      T1<char>::~T1<char>(void)
26667         becomes,
26668                      maint demangle __dt__11T1__pt__2_cFv
26669                      T1<char>::~T1(void)
26670
26671         (test_hp_style_demangling): new hp specific demangling test cases.
26672
26673 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
26674
26675         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26676         * gdb.trace/backtrace.exp: Likewise.
26677         * gdb.trace/circ.exp: Likewise.
26678         * gdb.trace/collection.exp: Likewise.
26679         * gdb.trace/deltrace.exp: Likewise.
26680         * gdb.trace/infotrace.exp: Likewise.
26681         * gdb.trace/limits.exp: Likewise.
26682         * gdb.trace/packetlen.exp: Likewise.
26683         * gdb.trace/passc-dyn.exp: Likewise.
26684         * gdb.trace/passcount.exp: Likewise.
26685         * gdb.trace/report.exp: Likewise.
26686         * gdb.trace/save-trace.exp: Likewise.
26687         * gdb.trace/tfind.exp: Likewise.
26688         * gdb.trace/tracecmd.exp: Likewise.
26689         * gdb.trace/while-dyn.exp: Likewise.
26690         * gdb.trace/while-stepping.exp: Likewise.
26691
26692 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
26693
26694         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26695
26696 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
26697
26698         From Brendan Kehoe:
26699         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26700         int return types.
26701
26702 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
26703
26704         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26705         remote dos host testing right.
26706
26707 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
26708
26709         * gdb.base/corefile.exp: remove some xfails.
26710
26711 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26712
26713         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26714         have different timestamps.
26715
26716 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26717
26718         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26719         gdb.base/default.exp: Replace "exec" with "executable".
26720
26721 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26722
26723         * gdb.base/default.exp: Change else if to elseif from previous
26724         delta.
26725
26726 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
26727
26728         * gdb.base/default.exp: Add brace missing from previous delta.
26729
26730 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
26731
26732         * gdb.base/default.exp: Support test for info float for all
26733         varieties of arm toolchain.
26734
26735 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
26736
26737         * gdb.trace/*.exp: remove "remote_download" command.
26738
26739 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
26740
26741         * gdb.trace/*.exp: remove -gdwarf from compile.
26742
26743 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
26744
26745         * gdb.trace/configure.in(AC_INIT): typo
26746         * gdb.trace/configure: regenerated
26747
26748 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
26749
26750         * config/m68k-emc.exp: New file.
26751         * lib/<emc-support.exp trace-support.exp}: New files.
26752         * configure.in: add new test directory gdb.trace.
26753         * gdb.trace/{configure configure.in Makefile.in}: New files.
26754         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26755         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26756         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26757         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26758         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26759         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26760         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
26761
26762 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
26763
26764         * gdb.c++/classes.exp: Change all regular expressions to match
26765         arbitrary combinations of newline/carriage-return, so that they
26766         will work equally well on Unix and Windows.
26767         * gdb.c++/inherit.exp: ditto.
26768         * gdb.c++/virtfunc.exp: ditto.
26769
26770 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
26771
26772         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26773
26774 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
26775
26776         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26777         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
26778         to use a0-a3/d0-d3 as needed.
26779
26780 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
26781
26782         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26783         * gdb.disasm/am33.exp: Corresponding changes.
26784
26785 1998-07-11  Felix Lee  <flee@cygnus.com>
26786
26787         * gdb.base/callfuncs.exp: add cmp10 test.
26788         * gdb.base/callfuncs.c (cmp10): new function.
26789
26790 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
26791
26792         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
26793         into two parts to get around a synchronization problem in expect.
26794
26795 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
26796
26797         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26798
26799         * configure.in: Add options for gdbtk testsuite.
26800
26801         * configure: Regenerate.
26802
26803         * gdb.gdbtk: New directory to hold gdbtk tests.
26804
26805 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
26806
26807         * gdb.fortran/types.exp:  Escape brackets in expect patterns
26808         for test_float_literal_types_accepted tests.
26809         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
26810         before run test.
26811
26812 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
26813
26814         * am33.exp: Just compile, do not link the testcase.
26815         * am33.s: Add ".am33" pseudoop to force am33 mode.
26816
26817 1998-06-25  Felix Lee  <flee@cygnus.com>
26818
26819         * gdb.base/setshow.exp: make sure $pc is sane.
26820
26821         * gdb.stabs/weird.exp: split expect patterns properly.
26822
26823 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
26824
26825         * gdb.disasm/am33.s: New disassembler testfile for the am33.
26826         * gdb.disasm/am33.exp: Run it.
26827
26828 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
26829
26830         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26831         match processing (and eliminate spurious timeouts when running).
26832
26833 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
26834
26835         * gdb.base/signals.exp (test_handle_all_print): put back Mach
26836         exception test, but conditionalize it on target [mach | gnu].
26837
26838 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
26839
26840         * gdb.base/overlays.exp: fixup compile line for linker script.
26841
26842 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
26843
26844         * gdb.fortran/types.exp: don't guess at float size.
26845
26846 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
26847
26848         * gdb.base/exprs.exp: delete test that depends on int size.
26849
26850 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
26851
26852         * config/sim.exp: Removed checks for target triplets.
26853         (gdb_target_sim): Use gdb,target_sim_options.
26854
26855 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
26856
26857         * gdb.base/reread.exp: New file.
26858         * gdb.base/reread1.c: New file.
26859         * gdb.base/reread2.c: New file.
26860
26861 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
26862
26863         * config/sim.exp: Use 'target sim -sparclite' when running
26864         SPARClite programs.
26865
26866 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
26867
26868         * gdb.base/structs2.exp: New file.
26869         * gdb.base/structs2.c: New file.
26870
26871 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
26872
26873         * gdb.asm/common.inc: New file.
26874         * gdb.asm/d10v.inc: New file.
26875         * asm-source.exp: Pass -I's to gas to find .inc files.
26876         Update line numbers in expected output.
26877         * asmsrc1.s: Rewrite.
26878         * asmsrc2.s: Rewrite.
26879         * configure.in: Create arch.inc symlink.
26880         * configure: Regenerate.
26881         * Makefile.in (distclean): Delete arch.inc.
26882
26883 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
26884
26885         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
26886         (t_enum_value2): ditto
26887         (t_enum_value3): ditto
26888         (main): ditto
26889 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
26890
26891         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
26892         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26893         change.
26894         Use gdb_test instead of send_gdb/gdb_expect sequences.
26895
26896 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
26897
26898         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26899         not void.
26900
26901 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
26902
26903         * gdb.base/branches.c: Code with lots of loops and
26904         subroutines. Used to test gdbs ability to single step through PC
26905         changes, especially to test mips-tdep.c:mips_next_pc
26906
26907 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26908
26909         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26910         more rigorous EGCS C++ error checking.
26911
26912 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26913
26914         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
26915         tests.
26916         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
26917         function when asleep.
26918         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
26919         for i*86 Linux and SVR4 signal handling problems.
26920         Remove linux xfail for `next to handler in signals_tests_1', fixed
26921         by recent infrun.c change.
26922         Limit backtrace to 10 frames to avoid timeout problems with infinite
26923         stack backtraces.
26924         Adjust expect pattern in `handle all print' test to match Apr 28 1997
26925         target.[ch] change.
26926
26927 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
26928
26929         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26930         for a newline from gdb before continuing.
26931         (default_gdb_exit): Just look for y or n.
26932         (gdb_test): Detect abnormal exit from GDB running on DOS; if
26933         it does, fail the rests of the tests in the file.
26934
26935 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
26936
26937         * config/cygmon.exp: New file.
26938
26939 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
26940
26941         * gdb.base/list.exp: Fix problem with "list default lines around
26942         main" test on remote targets.
26943
26944         * gdb.base/scope.exp: Fix problem with filelocal_bss before
26945         run test on remote targets.
26946
26947 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
26948
26949         * gdb.asm: New directory.
26950         * configure.in: Configure it.
26951         * configure: Regenerate.
26952         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
26953         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
26954
26955 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
26956
26957         * config/mn10300-eval.exp: New file to support MN10300 eval board.
26958
26959 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
26960
26961         * gdb.base/overlays (several files): Merge the two overlay
26962         managers into one.  Change variables (foox, barx, bazx, grbxx)
26963         back into ints but force them to load in their proper sections.
26964
26965 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26966
26967         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
26968         on-chip insn memory and IMAP1 to upper 128k.
26969         (D10VCopy): Handle memory regions crossing 16k boundaries.
26970         (D10VCopy): Transfer data in 32 bit chunks.
26971
26972 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26973
26974         * gdb.base/overlays.c (main): Exit normally when result is
26975         correct.
26976
26977         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
26978         map.  Include space for printf in .text segment.
26979
26980         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
26981         updated d10v memory VMA/LMA map.
26982         (D10VCopy): Call D10VTranslate.
26983
26984 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26985
26986         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
26987
26988         * gdb.base/bar.c (barx, bar): Change variable to small array so
26989         that it won't be put into the .sdata - small data -
26990         section. Update reference.
26991         * gdb.base/baz.c (bazx, baz): Ditto.
26992         * gdb.base/foo.c (foox, foo): Ditto.
26993         * gdb.base/grbx.c (grbxx, grbx): Ditto.
26994
26995         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
26996         to be arrays.
26997
26998 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
26999
27000         * gdb.base/overlays.exp: fix up and get working again.
27001         Add tests for backtraces from an overlay function.
27002
27003 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
27004
27005         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27006         "calling function with watchpoint enabled".
27007
27008 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
27009
27010         * gdb.base/break.exp (test_next_with_recursion): Remove
27011         gdb_suppress_tests for d10v-*-*.
27012         * lib/gdb.exp (gdb_suppress_tests): Disable this function
27013         pending review of whether it is useful or not.
27014
27015 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
27016
27017         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27018
27019 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
27020
27021         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27022         * config/dve.exp: New file to support Densan boards.
27023
27024 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
27025
27026         * gdb.base/interrupt.exp: Document problem of simulators, signals,
27027         reads and BSD.
27028
27029 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
27030
27031         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27032         response.
27033
27034         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27035
27036 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
27037
27038         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27039         test.
27040
27041         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27042         target_sizeof_long and target_bigendian_p.
27043         (structs_by_value, structs_by_reference): Check values according
27044         to targets word size and endianess.
27045
27046 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
27047
27048         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27049         output.
27050
27051 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
27052
27053         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27054         Update test of set args help to match source change.
27055
27056 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
27057
27058         * gdb.base/default.exp: Expect help system output to be in
27059         alphabetical order.
27060         * gdb.base/help.exp: Ditto.
27061
27062 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
27063
27064         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27065         "i*86-pc-linux-gnu*".
27066         * gdb.base/interrupt.exp: Ditto.
27067         * gdb.base/corefile.exp: Ditto.
27068
27069         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27070         define vxworks when building the testcase.
27071
27072         * gdb.base/ptype.exp: Fix testnames to be unique.
27073         * gdb.base/radix.exp: Ditto.
27074         * gdb.base/term.exp: Ditto.
27075         * gdb.base/whatis.exp: Ditto.
27076         * gdb.c++/classes.exp: Ditto.
27077
27078 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
27079
27080         * gdb.base/callfuncs.exp: Fix indentation.
27081
27082         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27083         suppress_flag has been set.
27084         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27085         target feature.
27086
27087 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
27088
27089         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27090         the testcase.
27091
27092         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27093         set_debug_traps() and breakpoint().
27094         * gdb.c++/misc.cc (main): Ditto.
27095         * gdb.c++/templates.cc (main): Ditto.
27096         * gdb.c++/virtfunc.cc (main): Ditto.
27097
27098 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
27099
27100         * lib/gdb.exp(gdb_step_for_stub): New function.
27101         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27102         exists, reload the executable and do a "continue" instead of
27103         doing a jump.
27104         (runto_main): Use gdb_step_for_stub.
27105
27106         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27107         tests to have unique names.
27108         * gdb.base/callfuncs.exp: Ditto.
27109         * gdb.base/commands.exp: Ditto.
27110         * gdb.base/default.exp: Ditto.
27111         * gdb.base/help.exp: Ditto.
27112         * gdb.base/list.exp: Ditto.
27113         * gdb.base/opaque.exp: Ditto.
27114         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27115         similar tests.
27116
27117         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27118         * gdb.c++/cplusfuncs.cc: Ditto.
27119         * gdb.c++/virtfunc.cc: Ditto.
27120
27121         * config/monitor.exp: Keep track of the last file we saw, rather
27122         than trying to get the info from gdb.
27123
27124         * gdb.fortran/types.exp: Move comment to previous line.
27125
27126 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
27127
27128         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27129         target mode.
27130
27131 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
27132
27133         From Bob Manson:
27134         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27135         string from GDB when it connects.
27136
27137         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27138
27139 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27140
27141         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27142         if we can't get a debug format from GDB (we may be testing an
27143         older GDB). Use a 10 second timeout when checking for the format.
27144
27145         * gdb.stabs/weird.exp: Fix quoting.
27146
27147         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27148
27149 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
27150
27151         * config/arm-ice.exp: New file.
27152
27153 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
27154
27155         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27156         until it has been modified to work with the new testsuite.
27157
27158         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27159         testcase won't compile, cause all of the testcases in the file to
27160         fail instead.
27161
27162         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27163         (gdb_clear_suppressed): New procedure.
27164         (gdb_stop_suppressing_tests): Only clear suppress_flag if
27165         it contains a positive value.
27166
27167 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
27168
27169         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27170
27171         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27172
27173 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
27174
27175         * lib/gdb.exp (setup_xfail_format): New function.
27176         (get_debug_format): New function to get debug format.
27177         (debug_format): New global variable to hold last value set
27178         by get_debug_format.
27179         * gdb.base/list.exp: Call get_debug_format and expect some
27180         tests to fail for DWARF 1 and COFF formats.
27181         * gdb.c++/ptype.exp: Ditto.
27182         * gdb.c++/classes.exp: Ditto.
27183         * gdb.c++/cplusfuncs.exp: Ditto.
27184         * gdb.c++/inherit.exp: Ditto.
27185         * gdb.c++/templates.exp: Ditto.
27186         * gdb.c++/virtfunc.exp: Ditto.
27187
27188 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
27189
27190         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27191         host doesn't have a currently-open connection.
27192
27193         * config/sparclet.exp: Cleanups and fixes to make it generic for
27194         any gdb stub target. Handle cases where gdb doesn't respond when
27195         interrupted in a sane fashion.
27196
27197         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27198         same thing in a totally different way.
27199
27200         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27201         setting "timeout".
27202         (gdb_start): We set the global gdb_prompt variable in
27203         default_gdb_init now.
27204
27205 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
27206
27207         * gdb.base/printcmds.exp: Fix "check for floating addition"
27208         regexp to accept results within approx +/- .01 of exact value.
27209         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27210
27211 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
27212
27213         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27214         properly.
27215         (gdb_expect): Add optional timeout parameter, and add timeout
27216         value to various calls.
27217         (gdb_suppress_tests): Only give one warning message per group.
27218
27219 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
27220
27221         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27222         global variables. Handle getting a value for $timeout more
27223         gracefully.
27224
27225 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
27226
27227         * lib/gdb.exp: Close connection to remote host if gdb doesn't
27228         initialize.
27229         (default_gdb_init): New procedure; allow gdb_init to be overridden
27230         by a target configuration file.
27231         (gdb_expect): Pass the timeout to remote_expect.
27232
27233         * config/monitor.exp(gdb_load): Fix typo in regexp.
27234
27235 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27236
27237         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27238
27239 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
27240
27241         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27242         here. Call gdb_target_exec before rebooting the target, to make
27243         sure the connection to the target is closed.
27244         (gdb_load): Pass the name of the executable to gdb_target_monitor.
27245         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27246         Also detect "Timeout reading from remote" error.
27247
27248         * config/gdbserver.exp: Pass the executable being loaded to
27249         gdb_target_monitor. Don't call gdb_file_cmd here; let
27250         gdb_target_monitor do it.
27251
27252         * gdb.disasm/hppa.exp: Don't use exec_output.
27253
27254 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
27255
27256         * gdb.base/list.exp: If we're debugging a non-native target,
27257         try to set the pc register to point to the start of the
27258         program before doing the first list command.
27259
27260         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27261         test_calls after restarting.
27262
27263         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27264         reloading.
27265
27266         * gdb.base/watchpoint.exp: Fix typo.
27267
27268         * gdb.base/setshow.exp: Check for use_gdb_stub.
27269
27270         * gdb.base/break.exp: Fix continue until exit test for the gdb
27271         stub case.
27272         * gdb.base/langs.exp: Ditto.
27273
27274         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27275         gdb_load_offset. If we weren't given a file to load, figure out
27276         what the current file is and use it.
27277
27278         * config/i386-bozo.exp: New file.
27279
27280 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
27281
27282         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27283         feature.
27284
27285         * config/proelf.exp: New entry.
27286
27287 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
27288
27289         * lib/gdb.exp: Remove spurious .* patterns at the beginning
27290         of regexps.
27291
27292         * gdb.base/watchpoint.exp: Don't run the test_stepping
27293         tests if gdb can't call functions on the target.
27294
27295         * gdb.base/setshow.exp: Don't run the set prompt tests if
27296         the board has gdb_prompt set.
27297
27298 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
27299
27300         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27301         * gdb.base/commands.exp: Likewise.
27302         * gdb.base/setshow.exp: Likewise.
27303
27304 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
27305
27306         * config/monitor.exp(gdb_start): Look for gdb_prompt target
27307         feature.
27308
27309         * config/i960.exp: New file.
27310
27311 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
27312
27313         * gdb.base/funcargs.exp: Check for gdb,short_int target
27314         feature instead of looking for explicit target triplets.
27315
27316 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
27317
27318         * gdb.base/printcmds.exp: add a couple more tests a la
27319         "p 123DEADBEEF", to check parse_number.
27320         * top.c: change "to enable to enable" to "to enable" in a couple
27321         of help strings.
27322
27323 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
27324
27325         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27326         on the mn10300.
27327
27328 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
27329
27330         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27331         where the test executable is run with explicit args.
27332         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27333
27334 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
27335
27336         * gdb.base/run.c: Use FAKEARGV to build test executable that
27337         does not require a command line arg, since most simulators
27338         don't currently support passing such an arg into the simulated
27339         program.
27340         * gdb.base/commands.exp: Change tests to insert the proper
27341         value as the arg to the first recursive factorial call.  Change
27342         compilation line to define FAKEARGV at compile time.
27343
27344 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
27345
27346         * gdb.base/recurse.exp: Enable these tests for the mn10300.
27347         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27348         function with watchpoint enabled" test.
27349
27350 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
27351
27352         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27353         Don't call gdb_test when the command doesn't return to a gdb prompt.
27354
27355         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27356         "Tests restarted" messages.
27357
27358 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
27359
27360         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27361
27362 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
27363
27364         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27365         for INFO SYMBOL; add help tests for OVERLAY commands.
27366         * gdb.base/default.exp: add tests for INFO SYMBOL command;
27367         add tests for OVERLAY commands
27368         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27369         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27370         * gdb.base/sigall.c: add usestubs code frag
27371         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27372
27373 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
27374
27375         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27376         failures.
27377         (gdb_stop_suppressing_tests): Note that tests have restarted.
27378
27379 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
27380
27381         * config/h8300.exp: New file.
27382
27383 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27384
27385         * gdb.base/setshow.exp: Check for the existence of a
27386         feature, not its value.
27387
27388 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
27389
27390         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27391
27392         * gdb.base/scope.exp: It's now init0(), not init().
27393
27394         * gdb.base/scope0.c: For now, change init() to be init0().
27395
27396         * config/monitor.exp: Use gdb_serial in preference to serial
27397         or netport.
27398
27399         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27400         and it's not already set.
27401
27402 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
27403
27404         * gdb.base/setshow.exp: Only test the run command if the target
27405         isn't using a stub and if it supports argument passing.
27406
27407 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27408
27409         * config/udi.exp(gdb_start): Make sure UDICONF is set
27410         properly before starting gdb.
27411
27412 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
27413
27414         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27415         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27416         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27417
27418 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
27419
27420         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27421         specialized code to reboot the board, use remote_reboot instead.
27422
27423         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27424
27425         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27426
27427         * config/monitor.exp: Make sure we disconnect from the target.
27428         Also, try a reboot/reload cycle instead of failing if the
27429         load fails.
27430
27431 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
27432
27433         * gdb.base/default.exp: Don't set match_max.
27434         * gdb.base/help.exp: Ditto.
27435         * gdb.base/list.exp: Ditto.
27436         * gdb.base/signals.exp: Ditto.
27437
27438         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27439         set, use remote_ld to download the testcase instead of
27440         the GDB loader.
27441
27442 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
27443
27444         * config/vr5000.exp: New file.
27445
27446         * config/monitor.exp(gdb_target_monitor): Add pattern for
27447         "Ending remote" to detect errors in connecting.
27448
27449         * gdb.base/setshow.exp: Add .* within auto language test.
27450
27451         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27452         target feature.
27453
27454         * config/monitor.exp(gdb_load): Check for a failure when loading,
27455         and reboot the board if necessary.
27456
27457         * gdb.base/setvar.exp(test_set): Handle multiple prints within
27458         a set of tests. Remove print.* from the patterns being checked.
27459
27460 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
27461
27462         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27463         refer to gdb_spawn_id.
27464
27465         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27466         longer used.
27467         * config/sparclet.exp: Ditto.
27468         * config/sparclet-old.exp: Ditto.
27469         * config/slite.exp: Ditto.
27470         * config/sim.exp: Ditto.
27471         * gdb.base/funcargs.exp: Ditto.
27472
27473         * lib/gdb.exp:Remove references to gdb_spawn_id.
27474         (gdb_expect): Move to remote.exp.
27475
27476 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
27477
27478         * config/monitor.exp: Detect the "Couldn't establish connection"
27479         message from GDB.
27480
27481 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
27482
27483         * gdb.base/bitfields.exp: Use runto instead of explicit
27484         gdb_run_cmd/gdb_expect sequences.
27485
27486         * gdb.base/break.exp(text_next_with_recursion): Add match for
27487         gdb_expect call.
27488
27489         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27490         We also need to handle the "A program is being debugged already"
27491         prompt from gdb. Use gdb_test to set the baud rate.
27492
27493         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27494         to 20000. Really. I mean it.
27495
27496 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
27497
27498         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27499         fails. If suppress_flag is set, skip perror message about not
27500         being able to send to GDB.
27501         (send_gdb): If suppress_flag is set, don't try to send commands to
27502         GDB.
27503         (gdb_expect): If suppress_flag is set, always fail immediately.
27504         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27505         (gdb_init): Call gdb_stop_suppressing_tests.
27506         (default_gdb_exit): Ditto.
27507         (default_gdb_start): Ditto.
27508
27509         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27510         gdb_stop_suppressing_tests as appropriate.
27511         * gdb.base/break.exp: Ditto.
27512         * gdb.base/callfuncs.exp: Ditto.
27513         * gdb.base/commands.exp: Ditto.
27514         * gdb.base/exprs.exp: Ditto.
27515         * gdb.base/funcargs.exp: Ditto.
27516         * gdb.base/list.exp: Ditto.
27517         * gdb.base/recurse.exp: Ditto.
27518         * gdb.base/scope.exp:  Ditto.
27519         * gdb.base/structs.exp: Ditto.
27520         * gdb.c++/inherit.exp: Ditto.
27521
27522 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
27523
27524         * config/vr4300.exp: New file.
27525
27526         * gdb.*/*.exp: Call gdb_expect instead of expect.
27527
27528         * lib/gdb.exp(gdb_expect): New function.
27529
27530 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
27531
27532         * lib/gdb.exp(gdb_init): New function.
27533
27534         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27535         for each individual variable set.
27536
27537         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27538         name.
27539
27540         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27541
27542         * gdb.base/scope.exp: Use gdb_test.
27543
27544         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27545         aborting; the testsuite driver will do that for us (see
27546         gdb_finish). Also, use gdb_test in a few more places.
27547
27548 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
27549
27550         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27551
27552 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
27553
27554         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27555         and "add_tests" are not at the same address.
27556
27557 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
27558
27559         * gdb.base/ptype.exp: Use gdb_test.
27560
27561 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
27562
27563         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27564         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27565         left in.  No longer expect them to fail.
27566
27567         * gdb.stabs/*.mt; Deleted, no longer used.
27568         * gdb.stabs/configure.in: Remove references to target makefile
27569         frags.
27570         * gdb.stabs/configure: Rebuilt.
27571
27572         * gdb.disasm/*.mt: Deleted, no longer used.
27573         * gdb.disasm/configure.in: Remove references to target makefile
27574         frags.  Use "sh3.s" as the unique filename for this directory.
27575         * gdb.disasm/configure: Rebuilt.
27576
27577         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27578         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27579         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27580
27581 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
27582
27583         * config/udi.exp: Use mondfe,name instead of remote_host.
27584
27585 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
27586
27587         * gdb.base/watchpoint.exp: Don't expect a failure when calling
27588         a function with a watchpoint enabled on the mn10200.
27589
27590         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27591         before trying to create it!
27592
27593 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
27594
27595         * config/vx.exp: Use hostname instead of netport.
27596
27597         * config/vxworks.exp: New file.
27598
27599         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27600
27601         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27602         gdb before assuming everything worked. Send a ^C if a timeout
27603         occurs.
27604
27605         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27606         $gdb_spawn_id directly.
27607         (gdb_run_cmd): Try _start as well as start. Use the target feature
27608         gdb,start_symbol as the symbol to start from when jumping.
27609
27610 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
27611
27612         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27613         redundant) test.
27614
27615         * gdb.base/recurse.exp: Relax final value test for 'b' so that
27616         it doesn't lose for 16bit integer systems.
27617
27618 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
27619
27620         * gdb.fortran/types.exp: If the target doesn't support "double"
27621         data types, then expect "real" types to only be 4 bytes.
27622
27623         * gdb.c++/virtfunc.exp: Expect failure for virtual function
27624         call tests if the target doesn't support inferior function calls.
27625
27626         * gdb.base/printcmds.exp: Allow minor deviation in FP values
27627         in printf tests.
27628
27629 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
27630
27631         * gdb.base/help.exp: Disable "help set", "help show", and
27632         "help support".  Simplify regexp for "help stack".
27633
27634         * gdb.base/default.exp: Set match_max to 5000 and the timeout
27635         to 60 seconds.  Temporarily set match_max to 15000 around the
27636         "info copying" test.
27637
27638         * gdb.base/nodebug.exp: Don't try to do an inferior function
27639         call if the target doesn't support them.
27640         * gdb.base/printcmds.exp: Likewise.
27641         * gdb.base/setvar.exp: Likewise.
27642         * gdb.base/structs.exp: Likewise.
27643         * gdb.c++/templates.exp: Likewise.
27644         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
27645
27646         * gdb.base/recurse.exp: Enable for the mn10200.
27647
27648         * configure.in: Do configure gdb.stabs directory for *-*-elf
27649         targets.
27650         * configure: Rebuilt.
27651
27652         * gdb.base/break.exp: Check for gdb,noresults before testing
27653         exit status and/or results from the target.
27654         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27655         * lib/gdb.exp: Remove old (now bogus) initialization of
27656         noinferior, noargs, noresults and nosignals.
27657
27658 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
27659
27660         * config/sh.exp: New file.
27661
27662         * config/slite.exp: Try to connect multiple times to the board
27663         before rebooting. Only send a "monitor run" if need_monitor_run
27664         is set.
27665
27666         * gdb.base/break.exp: Don't do the "stub continue" test if
27667         the target has gdb_stub set.
27668
27669         * gdb.base/callfuncs.exp: Increase the timeout.
27670
27671         * gdb.base/interrupt.exp: Don't even try to compile the testcase
27672         if the target has gdb,noinferiorio set.
27673
27674         * gdb.base/list.exp: Increase match_max to 10000 characters.
27675
27676         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27677
27678         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27679         target.
27680
27681         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27682
27683 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
27684
27685         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27686         trying to delete the copy of gdb. Catch the file delete so we
27687         don't die if the delete fails; also, the file should be copied to
27688         the host, not to the build.
27689
27690 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
27691
27692         * lib/gdb.exp(gdb_test): Surround the result pattern with
27693         parenthesis in case it contains multiple regexps separated
27694         with |.
27695
27696         * gdb.base/watchpoint.exp: Use gdb_test.
27697         * gdb.base/default.exp: Ditto.
27698
27699 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
27700
27701         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27702
27703         * gdb.base/scope.exp: Use gdb_test.
27704         * gdb.c++/classes.exp: Ditto.
27705         * gdb.c++/inherit.exp: Ditto.
27706
27707 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27708
27709         * gdb.base/crossload.exp: Don't use execute_anywhere, use
27710         remote_exec instead.
27711         * gdb.base/corefile.exp: Don't be ridiculous.
27712         * gdb.base/*.c: Add missing stub invocations.
27713
27714 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27715
27716         * config/slite.exp: Miscellaneous fixes.
27717
27718         * lib/gdb.exp: Fix runto.
27719
27720         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27721         the target.
27722
27723         * gdb.base/watchpoint.exp: Fix regexp.
27724
27725         * lib/gdb.exp(default_gdb_exit): Add a catch to the
27726         close and wait commands, as the descriptor may now be
27727         invalid. Always call "remote_close host".
27728
27729 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
27730
27731            Major rewrite for testsuite revision.
27732
27733         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27734         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27735         instead of relying on spawn_id to always contain a valid
27736         spawn id.
27737         (get_compiler_info): New procedure to build the ${binfile}.ci
27738         file, instead of replicating this in N different places.
27739         (gdb_compile): New procedure.
27740
27741         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27742         appropriate arguments) instead of compile. Use gdb_test in a lot
27743         more places.  Use send_gdb instead of send. Always run gdb_start
27744         at the start of a testcase, as this is no longer done magically.
27745
27746         config/*-gdb.exp: Rename without the -gdb suffix.
27747
27748         config/mips.exp: Use remote_close instead of exit_remote_shell.
27749         config/monitor.exp: Use target_info instead of looking at
27750         baud, timeout, etc.
27751         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27752
27753 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27754
27755         * gdb.c++/templates.exp (test_ptype_of_templates),
27756         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27757         Update expect patterns for destructors and assignment operators
27758         to match corresponding c-typeprint.c changes.
27759         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
27760         to destructor breakpoint test, GDB should be able to set the
27761         destructor breakpoint without specifying arguments.
27762
27763 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
27764
27765         * gdb.threads/pthreads.exp: Change result for failure to compile due
27766         to lack of pthreads runtime support from an error to simply an
27767         unsupported test, per dejagnu standards.
27768
27769 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27770
27771         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
27772         where GDB exits to reduce pattern match time.
27773         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
27774
27775         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
27776
27777 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
27778
27779         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27780         * gdb.base/default.exp:   ditto.
27781         * gdb.base/nodebug.exp:   ditto.
27782         * gdb.base/printcmds.exp: ditto.
27783         * gdb.base/ptype.exp:     ditto.
27784         * gdb.base/setvar.exp:    ditto.
27785         * gdb.base/structs.exp:   ditto.
27786         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
27787
27788 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
27789
27790         * configure, */configure: Rebuild with autoconf 2.12.
27791
27792 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
27793
27794         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27795         use new i*86-pc-linux*-gnu quads.
27796         * gdb.base/corefile.exp: Ditto.
27797         * gdb.base/signals.exp: Ditto.
27798         * gdb.base/sigall.exp: Ditto.
27799         * gdb.base/interrupt.exp: Ditto.
27800
27801         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27802         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
27803         RedHat 4.0.
27804
27805         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
27806         linux.  This allows the test case to at least compile on latest
27807         linux, but still not run due to missing the threads runtime library.
27808
27809 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27810
27811         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
27812         directory to search gdb directory. Accept and step over conditional
27813         stack alignment code. Consume $prompt in failure cases.
27814         Reset timeout to $oldtimeout instead of some arbitrary value.
27815         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
27816         timeout problems with infinite stack backtraces.
27817         * gdb.base/ptype.exp (ptype struct link, union tu_link):
27818         Accept function parameters for linkfunc member.
27819
27820 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
27821
27822         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27823         (CXXFLAGS): Remove, unreferenced.
27824         (B_OPTIONS): Add for -B options and add code to initialize with
27825         previous -B options and also add -B option to pick up cross compiled
27826         runtime.
27827         (TARGET_INCLUDES): Add for -I options and add code to initialize when
27828         doing cross compiles.
27829         (target_alias): Declare global.
27830         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
27831         to verify that gcc exists in build tree, and if so set CC to that
27832         gcc and to use B_OPTIONS and TARGET_INCLUDES.
27833
27834 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
27835
27836         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27837         ptype test for anonymous union.  Fixup testcase to match
27838         current gcc debug output.
27839
27840 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
27841
27842         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27843         force argument to an unsigned long type.
27844
27845 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
27846
27847         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
27848         tests and anonymous union print/ptype tests.
27849         * gdb.base/list.exp (test_forward-search): Increase timeout by
27850         5 minutes for the "search extremely long line" case.
27851         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27852         completely optional and that the pass/fail messages use the command as
27853         the message if that third arg is a null string.
27854         (gdb_test_exact):  Arrange that a null string pattern means match a
27855         null string output rather than any output, which might include random
27856         errors.
27857         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27858         backtrace test.
27859         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27860         always failing and failure is now exposed by gdb.exp changes.
27861
27862 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
27863
27864         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27865         weren't being noted.
27866
27867 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27868
27869         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
27870         * gdb.stabs/weird.exp:  Remove v_comb xfails.
27871
27872 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
27873
27874         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
27875                     list.exp scope.exp watchpoint.exp]
27876           Make all timeout error msgs explicitly say "(timeout)".
27877
27878 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
27879
27880         * config/monitor.exp: Increase download timeout to 1000 seconds.
27881
27882 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
27883
27884         * config/m32r.exp: Increase timeout to 120 seconds.
27885
27886 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
27887
27888         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27889         and accept older ordering as obsolescent gcc or gdb.
27890         * gdb.c++/templates.exp: Ditto.
27891         * gdb.c++/virtfunc.exp: Ditto.
27892
27893 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
27894
27895         * gdb.base/coremaker.c: Add code to mmap some data so we
27896         can check that it ends up in the core file.
27897         * gdb.base/corefile.exp: Add test to read mmapped data
27898         from core file.
27899
27900 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
27901
27902         * config/m32r.exp: New file.
27903
27904 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
27905
27906         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
27907         that cflags can contains -gstabs, and work correctly for other tests.
27908
27909 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
27910
27911         * gdb.base/setshow.exp: New file, tests show and set.
27912         * gdb.base/setshow.c:   New file, tests show and set.
27913         * gdb.base/help.exp: Add test for help set|show annotate.
27914         * gdb.base/default.exp: Add test for set|show annotate.
27915
27916 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
27917
27918         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
27919         errors unique.
27920         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
27921         explicitly.
27922
27923 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
27924
27925         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
27926         and width commands.  This is done elsewhere.
27927         * (gdb_start):  Don't call gdb_start_sim here.  That's already
27928         done in gdb_load.  This fixes lots of failures in default.exp.
27929
27930 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
27931
27932         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27933         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27934         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27935         in the same we we treat other failures (since it may be an expected
27936         condition), rather than as an error.
27937         * gdb.base/signals.exp (test_handle_all_print): Revert back to
27938         old test format.
27939
27940 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
27941
27942         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27943         (distclean maintainer-clean realclean): No need to remove files
27944         twice.  Nuke the duplicates.
27945         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
27946         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
27947         Remove config.h along with other config files.
27948
27949 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
27950
27951         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27952         "p func1 ()" and note that rests of tests are skipped.
27953         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
27954         setup_xfails for "print func2::coremaker_local".
27955         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
27956         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
27957         affected by the previous run test.
27958         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
27959         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
27960         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
27961         "pass int powerset tuple" and "pass modeless int powerset tuple".
27962         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
27963         "real write 4" and "real write 8".
27964         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
27965         setup_xfails for "print vs1 after tuple assign 2",
27966         "print \$i after tuple assign 2", and
27967         "print vs2 after tuple assign 2".
27968         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
27969         meaningful error message and return -1 so the caller can
27970         suppress further tests and avoid a cascade of errors.
27971
27972 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
27973
27974         * gdb.base/a1-selftest.exp: Tweak tests to account for new
27975         format for printing version.
27976         * gdb.base/default.exp: Ditto.
27977         * gdb.base/interrupt.exp: Fix problem with cascade of
27978         errors if child process dies while calling a function.
27979
27980 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
27981
27982         * Makefile.in (VPATH): Add
27983         * Makefile.in (Makefile, config.status): Fix rules so things get
27984         remade when necessary.
27985
27986 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
27987
27988         * Makefile.in (just-check): Add path to sibling expect dir
27989         to environment variable specified by RPATH_ENVVAR.
27990
27991 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
27992
27993         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
27994         (just-check): Add shared library paths for libstdc++, tk,
27995         tcl, bfd, and opcodes to the environment variable specified
27996         in RPATH_ENVVAR.
27997         * configure.in: Add support to recognize --enable-shared flag
27998         and generate correct value for RPATH_ENVVAR.
27999         * configure: Regenerated with autoconf.
28000
28001 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
28002
28003         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28004         include all osf versions.
28005         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28006         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
28007         when target is linux.  When failing to build pthreads test
28008         executable, give more meaningful message.
28009         * gdb.threads/pthreads.c: Hpux also uses old definition of second
28010         arg for pthread_create.
28011
28012 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
28013
28014         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28015         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28016         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28017         and -lpthreads (everybody else).
28018         (test_startup): Fail gracefully if threads are not supported.
28019         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28020         "p/c array_index("abcdef",2)" when not gcc compiled.
28021         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28022         "print func2::coremaker_local" when not gcc compiled.
28023         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28024         "ptype on opaque struct tagname (statically)",
28025         "ptype on opaque struct tagname (dynamically) 1", and
28026         "ptype on opaque struct tagname (dynamically) 2"
28027         for not compiled with gcc.
28028         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28029         backtrace when compiled with gcc.
28030         * lib/gdb.exp (runto_main): Return result of "runto main" rather
28031         than always return success.
28032
28033 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
28034
28035         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28036
28037 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
28038
28039         * gdb.base/structs.exp: Undo last change.
28040
28041 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
28042
28043         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28044         encapsulate all the steps/nexts done during self test, starting
28045         at main, and makes them less sensitive to optimization issues.
28046         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28047         signal handler" test.
28048         * gdb.threads/pthreads.exp: Only run this for native configs.
28049         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28050         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28051         tests.
28052         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28053         for "runto test_calls(void)" test.
28054
28055 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
28056
28057         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28058         and don't expect address info in breakpoint confirmations.
28059
28060 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
28061
28062         * gdb.base/list.exp (test_forward_search): Increase timeout
28063         temporarily by 60 seconds for searching extremely long line,
28064         and then reset to old value when done.  Increase expect input
28065         buffer to 10000.
28066
28067 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
28068
28069         * gdb.base/list.exp (test_forward_search): Fix to handle very
28070         long source line without overflowing expect's input buffer.
28071
28072 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
28073
28074         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28075         "buffer_full".
28076
28077         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28078         "buffer_full".
28079
28080         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28081         "buffer_full".
28082
28083         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28084         "buffer_full".
28085
28086 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
28087
28088         * configure.in (configdirs): Add gdb.threads.
28089         * configure: Regenerated with autoconf.
28090         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28091         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28092         * gdb.threads/configure: New, generated with autoconf.
28093
28094 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
28095
28096         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28097
28098 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
28099
28100         * gdb.base/signals.exp (test_handle_all_print): Test separately for
28101         each signal's status in the output of "handle all print".
28102         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28103         the \r\n sequence that immediately precedes the gdb prompt.
28104         * gdb.base/a1-selftest.exp: Save original timeout and restore
28105         after test.
28106
28107 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
28108
28109         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28110         symbol.
28111
28112 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
28113
28114         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28115
28116 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
28117
28118         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28119         timeout by 60 seconds.
28120
28121 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
28122
28123         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28124         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28125         error return.
28126
28127 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
28128
28129         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28130         gdb initialization, also report how long dejagnu waited.  Restore
28131         old timeout before doing error return.  Temporarily increase timeout
28132         by 3 minutes to allow for slow startups over heavy NFS use.
28133
28134 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
28135
28136         * lib/gdb.exp: Report timeout value for verbosity level 2.
28137         * config/gdbserver.exp: Ditto.
28138         * config/hppro.exp: Ditto.
28139         * config/mips-gdb.exp: Ditto.
28140         * config/monitor.exp: Ditto.
28141         * config/netware.exp: Ditto.
28142         * config/sim-gdb.exp: Ditto.
28143         * config/slite-gdb.exp: Ditto.
28144         * config/udi-gdb.exp: Ditto.
28145         * config/unix-gdb.exp: Ditto.
28146         * config/vx-gdb.exp: Ditto.
28147         * gdb.base/a1-selftest.exp: Ditto.
28148         * gdb.base/a2-run.exp: Ditto.
28149         * gdb.base/break.exp: Ditto.
28150         * gdb.base/corefile.exp: Ditto.
28151         * gdb.base/list.exp: Ditto.
28152         * gdb.base/recurse.exp: Ditto.
28153         * gdb.base/scope.exp: Ditto.
28154         * gdb.base/signals.exp: Ditto.
28155
28156 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
28157
28158         * gdb.threads/Makefile.in (docdir): Removed.
28159
28160 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
28161
28162         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28163         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28164         @srcdir@.
28165         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28166         autoconf 2.5 or higher.
28167         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28168
28169 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
28170
28171         * configure: Regenerated.
28172         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28173         avoid name clashes with SunOS headers.
28174
28175 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
28176
28177         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28178
28179 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
28180
28181         * gdb.base/callfuncs.exp: Finish last change -- make sure the
28182         prototype information ends up in the compiler info file.
28183
28184 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
28185
28186         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28187         attempting to regenerate it.  Eliminate use of a temporary file
28188         and just generate the info file directly.  Source it immediately,
28189         for consistency of use.
28190         * gdb.base/corefile.exp: Ditto
28191         * gdb.base/exprs.exp: Ditto.
28192         * gdb.base/funcargs.exp: Ditto.
28193         * gdb.base/langs.exp: Ditto.
28194         * gdb.base/list.exp: Ditto.
28195         * gdb.base/mips_pro.exp: Ditto.
28196         * gdb.base/nodebug.exp: Ditto.
28197         * gdb.base/opaque.exp: Ditto.
28198         * gdb.base/ptype.exp: Ditto.
28199         * gdb.base/scope.exp: Ditto.
28200         * gdb.base/setvar.exp: Ditto.
28201         * gdb.base/signals.exp: Ditto.
28202         * gdb.base/whatis.exp: Ditto.
28203         * gdb.c++/templates.exp: Ditto.
28204         * gdb.c++/virtfunc.exp: Ditto.
28205         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28206         whether or not to add -lstdc++ to the compile command line args.
28207
28208 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28209
28210         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
28211         it got fixed by the recent lookup_minimal_symbol_by_pc change.
28212         Increase timeout, a lot of single stepping might be needed if the
28213         target has no hardware watchpoints.
28214
28215 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
28216
28217         * gdb.base/break.exp: Ignore compiler warnings when compiling
28218         break.c.
28219         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28220         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
28221         from remote-sim.
28222         * gdb.base/exprs.exp: Add h8300 xfails.
28223         * gdb.base/funcargs.exp: Likewise.
28224         * gdb.base/nodebug.exp: Likewise.
28225         * gdb.base/printcmds.exp: Likewise.
28226         * gdb.base/ptype.exp: Likewise.
28227         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
28228         h8300 xfails.
28229         * gdb.base/return.exp: Handle float/double precision problems
28230         on the h8300.
28231         * gdb.base/funcargs.c: Explicitly make last constant argument to
28232         call_after_alloca_subr an unsigned long type.
28233         * gdb.base/return.c: Include stdio.h.
28234
28235 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
28236
28237         * config/abug.exp: New file for the older Motorola Bug monitor
28238         that runs on the mvme13x series VME boards.
28239         * config/monitor.exp: Use the new config array for target settings
28240         if they exist.
28241
28242 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
28243
28244         * sim-gdb.exp: Make the SH simulator allocate less space when
28245         it is targeted.
28246
28247 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
28248
28249         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28250         test.
28251
28252 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
28253
28254         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28255         "rs6000-*-*" for "list function in include file" when gcc compiled.
28256         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28257         for "p ctable1[120]".
28258         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28259         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28260         Remove setup_xfail for "rs6000-*-*" for
28261         "print 'scope0.c'::filelocal before run".
28262         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28263         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28264         since some compilers don't allow both options to be given
28265         on the same command line.  Create object file and move it.
28266
28267 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
28268
28269         * gdb.base/corefile.exp: Always regenerate the core file, since
28270         we always regenerate the coremaker program.  Detect special case
28271         where registers cannot be read from core file.
28272
28273 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
28274
28275         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28276         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28277         * gdb.c++/templates.exp: Only match on basename of file since
28278         some formats like xcoff don't encode directory information.
28279         * gdb.stabs/weird.exp: Use the right sed script for powerpc
28280         and rs6000 AIX xcoff targets.
28281         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28282         * configure: Regenerate.
28283         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28284         here, rather than in distclean.
28285
28286 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
28287
28288         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28289         defined, and use it to compile the test case with -O2.  The
28290         native compilation still uses no optimization.
28291         * gdb.base/mips_pro.c: Remove inline assembly code since
28292         it is compiled PIC by default, which results in assembler
28293         warnings that make the testsuite think the compilation
28294         was unsuccessful.
28295
28296 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
28297
28298         * gdb.c++/misc.exp: Add note to message for
28299         "print s.a for foo struct" that this is a known gcc 2.7.2
28300         and earlier bug.
28301
28302 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
28303
28304         * gdb.base/break.exp: Fix pattern for matching "Delete all
28305         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
28306         setup_xfail for deleting all breakpoints test.  Fix various
28307         timeout messages to include "(timeout)".
28308         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28309         for "p t_float_values2(3.14159,float_val2)".
28310         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28311         for "continue to call2g" when gcc compiled.
28312         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28313         "up to foo in langs.exp", "show language at foo in langs.exp",
28314         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28315         and "show language at fsub in langs.exp".
28316         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28317         "list line 1 in include file", "list message for lines past EOF",
28318         "list function in include file", "list list0.h:foo", and
28319         "list filename:function; nonexistant function".
28320         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28321         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28322         and "ptype t_char_array" to be for native cc only.
28323
28324 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
28325
28326         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28327         setup_xfail for "print coremaker_bss", "print coremaker_ro",
28328         "print func2::coremaker_local", and "backtrace in corefile.exp".
28329
28330 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
28331
28332         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28333         "bt in signals.exp".  This problem only appears when running
28334         the testsuite, and then only intermittently.
28335
28336 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
28337
28338         * gdb.base/return.exp (return_tests): Differentiate between
28339         two tests of continuing.
28340
28341 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
28342
28343         * */Makefile.in (maintainer-clean): Remove config.log.
28344         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28345         * gdb.c++/Makefile.in (PROGS): Add inherit.
28346         (clean): Remove *.ci.
28347
28348 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
28349
28350         * gdb.c++/misc.cc: Add test code from Mike Stump.
28351         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28352
28353 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
28354
28355         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28356         to "alpha-*-osf2*" and add comment.
28357         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28358         setup_xfail for "step over execarg initialization" and
28359         "step over corearg initialization".
28360         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28361         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28362         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28363         gcc compiled for "print coremaker_bss", "print coremaker_ro",
28364         "print func2::coremaker_local", and "backtrace in corefile.exp".
28365         * gdb.base/signals.exp: Build and source signals.ci.
28366         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28367         to be for gcc only.
28368         * lib/gdb.exp: Move verbose statements outside conditionals.
28369
28370 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28371
28372         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
28373         Feb 3 procfs.c change.
28374
28375 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
28376
28377         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28378
28379 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
28380
28381         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28382         from dejagnu's apparent default of 10 seconds, which gives random
28383         results when running the tests over NFS on moderately loaded systems.
28384         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28385
28386 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
28387
28388         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
28389         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28390         result reports.
28391
28392 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
28393
28394         * configure.in (CY_AC_PATH_TCLH): Remove.
28395         * configure: Regenerate.
28396
28397 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
28398
28399         * gdb.c++/Makefile.in (clean): Add missing '{'.
28400
28401 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
28402
28403         * lib/gdb.exp: Provide a default value for noinferior.
28404
28405         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28406         Load libgloss.exp.
28407
28408 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
28409
28410         * gdb.disasm/hppa.exp: Compile directly into an executable, use
28411         the executable, not the .o to run the tests from.
28412
28413 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
28414
28415         * gdb.base/break.exp: Don't test for program exit or exit status
28416         if $noresults if nonzero.
28417         * gdb.base/langs.exp: Likewise.
28418         * gdb.base/watchpoint.exp: Likewise.
28419
28420         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28421         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28422         trying to compile the testcase.
28423
28424 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
28425
28426         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28427         * gdb.base/signals.exp (continue to handler): Likewise.
28428
28429 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
28430
28431         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
28432
28433         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
28434
28435 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
28436
28437         * gdb.base/corefile.exp: Recognize "not found" as failure
28438         when trying to determine if a core file was generated.
28439         If no core file was generate the first time, try again without
28440         the ulimit -c to work around braindamaged shells.
28441
28442 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
28443
28444         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28445         [] tests with "test" and enclose string in quotes.
28446         * gdb.stabs/configure: Rebuild
28447
28448 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
28449
28450         Changes in sync with expect:
28451         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28452         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28453         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28454         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
28455         argument to AC_REQUIRE.
28456         * configure: Regenerated.
28457
28458 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
28459
28460         * gdb.base/corefile.exp: When generating a core, discard any
28461         error messages about ulimit not found and the "core dumped"
28462         message from the shell that runs the coredumper.
28463
28464 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
28465
28466         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28467
28468         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28469         which sed script to run.  Expect failure for v_comb test
28470         on PA targets too.
28471
28472 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
28473
28474         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28475         "print func2::coremaker_local" and for "backtrace in corefile.exp"
28476
28477 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
28478
28479         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28480         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28481         "sparc-sun-solaris*" xfails for "p v_comb".
28482         * lib/gdb.exp (default_gdb_start): Fix typo.
28483         * gdb.base/corefile.exp: Allow "Core was generated by ..."
28484         messages to not include the full program name that caused
28485         the core dump since some systems (such as solaris) apparently
28486         truncate this path to about 80 characters.
28487         When generating a core file first try increasing the core file
28488         size limit to unlimited since some systems may default it to
28489         zero, and it is harmless to try it.  Move the test for failing
28490         to generate a core file to where it will actually get executed.
28491         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28492         new gdb result from g++ debug info improvements and make old
28493         pattern obsolescent.  Also account for size_t differences
28494         (may be int or long).
28495         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28496         initialization before function call is placed in the delay slot
28497         and thus appears to be skipped over by commands such as "next".
28498
28499 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
28500
28501         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28502
28503 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
28504
28505         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28506         input source file; fix code to compile test to deal with this
28507         convention.
28508         * gdb.c++/*.exp: Likewise.
28509
28510 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
28511
28512         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28513         "bt in signals.exp".
28514
28515 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
28516
28517         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28518         "step over execarg initialization" and
28519         "step over corearg initialization".
28520
28521 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
28522
28523         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28524         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
28525
28526 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
28527
28528         From Rob Savoye  (rob@poseidon.cygnus.com)
28529         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28530         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28531         configure.in}, gdb.disasm/{Makefile.in, configure.in},
28532         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28533         configure.in}: Major reworking for autoconfig.
28534         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28535         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28536         New files.
28537         * config/unix-gdb.exp:  Make GDB global.
28538         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28539         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28540         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28541         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28542         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28543         term.exp, twice.exp, watchpoint.exp, whatis.exp},
28544         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28545         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28546         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28547         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28548         pr-8136.exp, result.exp, string.exp, tuples.exp},
28549         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28550         to returns as necessary, arrange for test to compile own testcase
28551         executable.
28552         * lib/gdb.exp: Changes for testsuite to compile own test cases.
28553
28554 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
28555
28556         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28557         clear_xfail at end of test which might not call either pass or fail.
28558         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28559         "backtrace through signal handler".
28560
28561 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28562
28563         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
28564         continuing from a job control stop signal.
28565         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
28566
28567 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
28568
28569         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28570         * gdb.base/corefile.exp: Likewise.
28571         * gdb.base/funcargs.exp: Likewise.
28572
28573 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
28574
28575         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
28576         * config/monitor.exp:  Add support for setting baud rate.
28577
28578 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
28579
28580         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28581         i*86-*-linux* xfails for "backtrace through signal handler".
28582         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28583         "print func2::coremaker_local".
28584         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28585         alpha-dec-osf2* xfail for
28586         "delete all breakpoints when none".
28587
28588 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
28589
28590         * gdb.base/break.exp: Change test that deletes all breakpoints
28591         when no user breakpoints are installed.  A post 4.15 change
28592         causes gdb to no longer prompt in this case.
28593
28594 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
28595
28596         * gdb.base/return.exp (return_tests):  Change xfail for test
28597         "correct value returned double test" to stop xfailing at
28598         Solaris 2.5.  Apparently the bug has been fixed.
28599
28600 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
28601
28602         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28603         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28604
28605 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
28606
28607         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28608         * gdb.disasm/hppa.s: Corresponding changes.
28609
28610 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
28611
28612         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28613         makefile fragment.
28614         * config/mt-hpux: Deleted.
28615
28616 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
28617
28618         * Many files: When warning about suppressed tests due to a
28619         nonexistant test binary, avoid incrementing the warning count.
28620
28621 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
28622
28623         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
28624
28625 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28626
28627         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
28628         "sparc-*-solaris2*".
28629
28630 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28631
28632         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
28633         Add global and local variables and initialize them.
28634         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
28635         by printing variables. Remove rs6000 and powerpc xfails, BFD now
28636         extracts the file name and terminating signal from the core file.
28637         * TODO:  Remove note about tests for correct mapping of corefile.
28638         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
28639         from optimizing it away.
28640         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
28641         handles common blocks.
28642
28643 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
28644
28645         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28646         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28647
28648 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
28649
28650         * Makefile.in (maintainer-clean): New target, synonym for
28651         realclean.
28652         * gdb.base/Makefile.in (maintainer-clean): Likewise.
28653         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28654         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28655         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28656         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28657         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28658
28659 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
28660
28661         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
28662         xfails when not gcc compiled for "print foo::funclocal".
28663         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28664         "print foo::funclocal at foo",
28665         "print 'scope1.c'::foo::funclocal at foo",
28666         "print foo::funclocal_bss at foo",
28667         "print 'scope1.c'::foo::funclocal_bss at foo",
28668         "print foo::funclocal_ro at foo",
28669         "print 'scope1.c'::foo::funclocal_ro at foo",
28670         "print bar::funclocal at foo" and
28671         "print 'scope1.c'::bar::funclocal at foo".
28672         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
28673         gcc compiled for "print foo::funclocal at bar".
28674         Expand all messages to ensure that they identify that
28675         the test is at bar().
28676         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28677         gcc compiled for:
28678         "ptype on opaque struct pointer (statically)",
28679         "ptype on opaque struct tagname (statically)",
28680         "ptype on opaque struct pointer (dynamically) 1",
28681         "ptype on opaque struct tagname (dynamically) 1",
28682         "ptype on opaque struct pointer (dynamically) 2" and
28683         "ptype on opaque struct tagname (dynamically) 2
28684         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28685         gcc compiled for:
28686         "p datalocal"
28687         "whatis datalocal",
28688         "ptype datalocal",
28689         "p bsslocal",
28690         "whatis bsslocal", and
28691         "ptype bsslocal".
28692         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28693         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28694         when not gcc compiled.
28695         * gdb.base/funcargs.exp (float_and_integral_args):  Add
28696         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28697         compiled.
28698         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
28699         "backtrace from call6a" when not gcc compiled.
28700         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28701         "backtrace from call7a" when not gcc compiled.
28702         * gdb.base/callfuncs.exp (do_function_calls):
28703         Add "hppa*-*-hpux*" xfail when not gcc compiled for
28704         "p t_char_array_values(char_array_val2,char_array_val1)",
28705         "p t_char_array_values(char_array_val1,char_array_val2)",
28706         "p t_char_array_values("carray 1","carray 2")",
28707         "p t_char_array_values("carray 1",char_array_val2)",
28708         "p t_char_array_values(char_array_val1,"carray 2")",
28709         "p sum_args(1,{2})",
28710         "p sum_args(2,{2,3})",
28711         "p sum_args(3,{2,3,4})",
28712         "p sum_args(4,{2,3,4,5})"
28713         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28714         "backtrace in corefile.exp" when not gcc compiled.
28715
28716 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28717
28718         * gdb.base/signals.exp:  Rewrite `handle all print' test as
28719         a procedure. Accept blanks or TABs as whitespace, increase
28720         timeout and expect input buffer size for the large output
28721         from the command. Remove "i*86-*-bsdi2.0" xfail.
28722
28723 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28724
28725         * gdb.base/setvar.exp:  Add new testcases for truncation when
28726         assigning invalid values to bitfields.
28727
28728 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
28729
28730         * gdb.base/callfuncs.exp (do_function_calls):  Remove
28731         mips-sgi-irix* xfail for
28732         "call inferior func with struct - returns char *"
28733         and fix test so that an optional (unsigned char *) cast is
28734         accepted in the result.
28735
28736 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
28737
28738         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
28739         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28740         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28741         * gdb.base/signals.exp: Remove duplicate "handle all print" test
28742         that accidentally got checked in.
28743
28744 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
28745
28746         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
28747         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28748         compiled test.
28749         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28750         Add mips-sgi-irix5* xfail for not gcc compiled.
28751         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
28752         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28753         compiled for "p top", "whatis top", "p middle", and "whatis
28754         middle".
28755         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28756         "whatis signed char" for not gcc compiled.
28757         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28758         "set variable signed char=-1 (-1)" and
28759         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28760         * gdb.base/funcargs.exp (float_and_integral_args):
28761         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28762         Add mips-sgi-irix* xfail when not gcc compiled for
28763         "continue to call2b".
28764         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28765         "continue to call2g".
28766         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28767         compiled for "backtrace from call6a"
28768         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28769         compiled for "backtrace from call7k".  Add mips-sgi-irix5* xfail
28770         when not gcc compiled for "backtrace from call7a".
28771         (localvars_after_alloca):  Fix gdb_test cmds for
28772         "print * after runto ...".
28773         Remove rs6000-*-* xfails for
28774         "print i after runto localvars_after_alloca" and
28775         "print l after runto localvars_after_alloca"
28776         for all compilers.
28777         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
28778         when not compiled with gcc, for:
28779         "print signed char == (minus)",
28780         "print signed char != (minus)",
28781         "print signed char < (minus)",
28782         "print signed char > (minus)".
28783         * gdb.base/callfuncs.exp (do_function_calls):
28784         Add mips-sgi-irix* xfail, when compiled with native compiler, for
28785         "call inferior func with struct - returns char *".
28786         * gdb.base/return.exp (return_tests): Change xfail for
28787         "correct value returned double test" to include Solaris 2.4.
28788         * gdb.base/funcargs.exp (float_and_integral_args):
28789         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28790
28791 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28792
28793         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
28794         enumeration bitfields if compiling with GNU C.
28795         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
28796         to empty' prompt.
28797
28798 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
28799
28800         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28801         test for PRO targets.
28802
28803         * gdb.base/funcargs.exp: Avoid ever setting more than 8
28804         breakpoints in the inferior at any given time by making
28805         two groups of breakpoints for call2*, call6* and call7*
28806         tests.
28807
28808 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28809
28810         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
28811         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
28812         from optimizing it away.
28813         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
28814         "call inferior func with struct".
28815
28816 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
28817
28818         * configure.in: Only configure gdb.chill for particular targets.
28819
28820 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
28821
28822         * gdb.base/Makefile.in:  Add action to .c.o transformation
28823         rule that generates a .ci file for each .o file and remove
28824         explicit .c.o rules except for callfuncs.o.
28825         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
28826         generates a .ci file for each .o file and remove explicit
28827         .cc.o rules.
28828         (clean): Remove *.tmp *.ci files.
28829         (EXECUTABLES): Remove templ-info.exp.
28830         * gdb.base/compiler.c: New file.
28831         * gdb.c++/compiler.cc: New file
28832         * gdb.base/scope.exp: Source gdb.base/scope.ci.
28833         Change rs6000-*-* xfail for
28834         "print 'scope0.c'::filelocal_ro" and
28835         "print 'scope1.c'::filelocal" and
28836         "print 'scope1.c'::filelocal_bss" and
28837         "print 'scope1.c'::filelocal_ro" and
28838         "print 'scope1.c'::foo::funclocal" and
28839         "print 'scope1.c'::foo::funclocal_ro" and
28840         "print 'scope1.c'::bar::funclocal" and
28841         "print 'scope0.c'::filelocal_ro" and
28842         "print 'scope1.c'::filelocal at foo" and
28843         "print 'scope1.c'::filelocal_bss at foo" and
28844         "print 'scope1.c'::filelocal_ro at foo" and
28845         "print 'scope1.c'::foo::funclocal at foo" and
28846         "print 'scope1.c'::foo::funclocal_bss at foo" and
28847         "print 'scope1.c'::foo::funclocal_ro at foo" and
28848         "print 'scope1.c'::bar::funclocal at foo" and
28849         "print 'scope0.c'::filelocal_ro" and
28850         "print 'scope1.c'::filelocal" and
28851         "print 'scope1.c'::filelocal_bss" and
28852         "print 'scope1.c'::filelocal_ro" and
28853         "print 'scope1.c'::foo::funclocal" and
28854         "print 'scope1.c'::foo::funclocal_bss" and
28855         "print 'scope1.c'::foo::funclocal_ro" and
28856         "print 'scope1.c'::bar::funclocal" and
28857         "print 'scope1.c'::bar::funclocal_bss"
28858         to only be xfail'd when not compiled with gcc.
28859         Add rs6000-*-* xfail for
28860         "print 'scope0.c'::filelocal_bss before run"
28861         when compiled with gcc.
28862         (test_at_main): Add rs6000-*-* xfail for
28863         "print filelocal_ro in test_at_main"
28864         when compiled with gcc.
28865         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
28866         Add rs6000-*-aix* xfail for
28867         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28868         "ptype t_char_array",  not compiled with gcc.
28869         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
28870         xfail for "list foo (in include file)" when gcc compiled.
28871         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
28872         (integral_args): Add rs6000-*-* xfail for
28873         "run to call0a" if not compiled with gcc.
28874         (unsigned_integral_args): Add rs6000-*-* xfail for
28875         "run to call1a" if not compiled with gcc.
28876         (float_and_integral_args):  Add rs6000-*-* xfail for
28877         "run to call2a" if not compiled with gcc and for
28878         "continue to call2b" for any compiler.
28879         Add rs6000-*-* xfail to
28880         "print f1 after run to call2a" for gcc compiled.
28881         (discard_and_shuffle): Add rs6000-*-* xfail for
28882         "run to call6a".
28883         (shuffle_round_robin): Add rs6000-*-* xfail for
28884         "backtrace from call7a" if not compiled with gcc.
28885         Add rs6000-*-* xfail for
28886         "backtrace from call7b" if compiled with gcc.
28887         (call_after_alloca): Add rs6000-*-* xfail for
28888         "print c in call_after_alloca" and
28889         "print s in call_after_alloca" and
28890         "backtrace from call_after_alloca_subr"
28891         if not compiled with gcc.
28892         (localvars_in_indirect_call): Add rs6000-*-* xfail for
28893         "print c in localvars_in_indirect_call" and
28894         "print c in localvars_in_indirect_call" and
28895         "backtrace in indirectly called function" and
28896         "stepping into indirectly called function"
28897         if not compiled with gcc.
28898         (localvars_after_alloca): Add rs6000-*-* xfail for
28899         "print c after runto localvars_after_alloca" and
28900         "print s after runto localvars_after_alloca" and
28901         "print i after runto localvars_after_alloca" and
28902         "print l after runto localvars_after_alloca"
28903         for all compilers.
28904         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28905         than whatis-info.exp.
28906         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28907         than opaque-info.exp.
28908         Setup rs6000-*-* xfail for
28909         "ptype on opaque struct pointer (statically)" and
28910         "ptype on opaque struct pointer (dynamically)" when
28911         not compiled with gcc.
28912         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28913         rather than callf-info.exp.
28914         (do_function_calls):  Add clear_xfail for rs6000-*-* for
28915         "p t_float_values2(3.14159,float_val2)".  Seems to work
28916         fine there, both with xlc and gcc.  Need to find out what
28917         it is doing right and fix other platforms.
28918         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28919         "call inferior func with struct - returns int",
28920         "call inferior func with struct - returns long",
28921         "call inferior func with struct - returns float",
28922         "call inferior func with struct - returns double",
28923         "call inferior func with struct - returns char *",
28924         but only if not gcc compiled (presumes xlc compiled).
28925         Change rs6000-*-* xfails for
28926         "call inferior func with struct - returns char" and
28927         " call inferior func with struct -  returns short" to only
28928         xfail if not using gcc.
28929         (clean mostlyclean):  Remove *.ci and *.tmp files.
28930         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28931         than templ-info.exp.
28932         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
28933         Add rs6000-*-* xfail for "up to foo in langs.exp"
28934         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
28935         when not gcc compiled.
28936
28937 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
28938
28939         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28940         * gdb.base/corefile.exp: Likewise.
28941         * gdb.base/list.exp: Likewise.
28942         * gdb.base/scope.exp: Likewise.
28943         * gdb.base/siganls.exp: Likewise.
28944
28945         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
28946         compiler output.
28947         * gdb.base/whatis.exp: Likewise.
28948
28949 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
28950
28951         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28952         failure (opcode table has been fixed to match reality).
28953
28954 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
28955
28956         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
28957         "call inferior func with struct - returns char",
28958         "call inferior func with struct - returns short"
28959
28960         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
28961         "print 'scope0.c'::filelocal at main",
28962         "print 'scope0.c'::filelocal_bss in test_at_main",
28963         "print 'scope0.c'::filelocal at foo",
28964         "print 'scope0.c'::filelocal_bss in test_at_foo",
28965         "print 'scope0.c'::filelocal at bar",
28966         "print 'scope0.c'::filelocal_bss in test_at_bar"
28967
28968         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
28969         in source file 1".  This bug seems to have been fixed with both
28970         gcc and native cc (was native assembler bug?).
28971
28972 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
28973
28974         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
28975         "backtrace through signal handler" to "i*86-*-sysv4*".
28976         * gdb.base/signals.exp: Add xfail for "'next' behaved as
28977         continue" case.  Add "known SVR4 bug" to fail message.
28978         Add "i*86-*-bsdi2.0" xfail for "handle all print".
28979         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
28980         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
28981         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
28982         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
28983         "up to foo in langs.exp", "show language at foo in
28984         langs.exp", "up to cppsub_ in langs.exp", "show
28985         language at cppsub_ in langs.exp", "up to fsub in
28986         langs.exp", and "show language at fsub in langs.exp".
28987         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
28988         "bactrace in corefile.exp".
28989         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
28990         "call inferior function with struct - returns float" and
28991         "call inferior function with struct - returns double".
28992
28993 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
28994
28995         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
28996         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
28997         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
28998         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
28999
29000 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
29001
29002         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29003         (or overriden) "CHILL" macro rather then bare "gcc".
29004         Also look for ../../gcc/xgcc since that is what we will
29005         actually need, not "Makefile".  Remove following assignment
29006         of CHILL to CHILL_FOR_TARGET because that results in
29007         recursive definition.
29008
29009 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
29010
29011         * gdb.base/corefile.exp:  Change xfail for backtrace in
29012         corefile.exp from linuxaout to all linux.
29013         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
29014         cases where we miss the breakpoint at the signal handler
29015         for some reason.  Setup xfail for linuxoldld/linuxaout and
29016         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
29017         hitting SIGURG breakpoint.
29018         * gdb.base/signals.exp:  Setup xfail for "next" acting like
29019         continue to add linuxoldld.  Setup xfail for all linux for
29020         "next to handler in signals_tests_1", "backtrace in
29021         signals_tests_1", "continue to func1", "pass SIGUSR1",
29022         and continue to handler".
29023
29024 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
29025
29026         * Update all FSF addresses except those in COPYING* files.
29027
29028 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
29029
29030         * gdb.base/a2-run.exp: Change messages to be more explicit about
29031         the status of args, and quote binfile in results.
29032
29033 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
29034
29035         * gdb.base/callfuncs.exp: Add tests for passing structs to
29036         inferior functions and return various types.
29037         * gdb.base/callfuncs.c: Add functions to receive a struct
29038         and return a member of the struct, in various types.
29039
29040 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29041
29042         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
29043
29044 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
29045
29046         * config/vxworks29k.exp: New file, sources vxworks.exp.
29047
29048 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29049
29050         * config/gdbremote.exp: New file.  Testing framework using
29051         gdbserver.
29052
29053 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
29054
29055         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29056         "call function when asleep" and "send end of file".
29057         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29058         for "backtrace in corefile.exp".
29059         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29060         for "backtrace through signal handler".
29061         * gdb.base/corefile.exp: Make sure we actually generate a core file
29062         before trying the core tests.  Some systems allow the user to suppress
29063         generation of core files and default to that (linux for example).
29064         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29065         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
29066
29067 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29068
29069         * gdb.threads: New directory with some crude multi-threaded
29070         gdb tests (step.exp and step2.exp).
29071         * config/mt-lynx (STEP_EXECUTABLE): Define.
29072         (THREADFLAGS): Define.
29073
29074 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
29075
29076         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29077
29078         * gdb.base/signals.exp: Disable whole file for lynx until
29079         further notice.
29080
29081         * gdb.base/signals.exp: xfail test where "next" acts like
29082         "continue" for lynx.
29083
29084         * gdb.base/interrupt.exp: xfail test for calling function while
29085         inferior is asleep for lynx.
29086
29087         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29088         than one cr-lf  after each command.
29089
29090 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29091
29092         * configure.in:  Reinstate setting of stabsdirs variable, fix
29093         typo in setting up configdirs for native builds.
29094
29095         * gdb.base/return.exp:  Fix typo in return double test.
29096         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
29097         compiler from optimizing them away.
29098
29099 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
29100
29101         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29102         sequences to be echo'd by gdb when using gdb_test.
29103         * gdb.chill/chexp.exp: Likewise.
29104         * gdb.fortran/exprs.exp: Likewise
29105
29106 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29107
29108         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29109         after the inferior gdb has started.
29110
29111         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29112         after each command.
29113         * gdb.base/funcargs.exp: Likewise.
29114         * gdb.base/gdbvars.exp: Likewise.
29115         * gdb.base/interrupt.exp: Likewise.
29116         * gdb.base/list.exp: Likewise.
29117         * gdb.base/watchpoint.exp: Likewise.
29118         * gdb.c++/demangle.exp: Likewise.
29119         * gdb.c++/inherit.exp: Likewise.
29120         * gdb.chill/chexp.exp: Likewise.
29121         * gdb.fortran/exprs.exp: Likewise.
29122
29123         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29124         test if we can't handle IO to/from the inferior.
29125
29126         * gdb.c++/misc.exp: Always check for a program already being
29127         started after sending a "run" command to gdb.
29128
29129         * gdb.base/twice.exp: Start with a fresh gdb.
29130
29131         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29132         only depend on gdb's expression code, not the chill runtime.
29133
29134         * gdb.base/return.c: Put return values into variables so we
29135         can have gdb print them rather than depending on the program
29136         to print them.
29137         * gdb.base/return.exp: Corresponding changes.
29138
29139         * lib/gdb.exp: Provide default value for noinferiorio.
29140         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29141         the inferior.
29142
29143         * gdb.base/break.exp: Always check for a program already being
29144         started after sending a "run" command to gdb.
29145         (text_next_with_recursion): Don't check the output from the
29146         program's printf statement.  Instead just make sure the program
29147         exited.
29148
29149         * gdb.base/commands.exp: Protect tests which need arguments with
29150         $noargs conditionals.
29151
29152 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29153
29154         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
29155         of structure member arrays to match gdb/valops.c:value_addr change.
29156
29157 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
29158
29159         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29160         cases.
29161
29162 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
29163
29164         * configure.in (configdirs):  Remove gdb.chill from default list
29165         of subdirs and then add it back in only if doing a native build.
29166         The current chill compiler does not yet work in any cross build.
29167         * Revert all signal changes from Jul 6.
29168         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
29169         for sh-hms targets, allowing these tests to link, with no other
29170         changes.  Testing is suppressed by setting "nosignals" in site.exp.
29171
29172 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
29173
29174         * configure.in (signaldirs): Define and add to configdirs for all
29175         targets except some specific ones that are known to not support signals.
29176         Also clean up formatting.
29177         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
29178         (signals, sigall):  Remove rules to build.
29179         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29180         Moved to new gdb.signals directory.
29181         * gdb.signals: New test directory.
29182         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29183         signals.c signals.exp}:  New or moved files.
29184
29185 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
29186
29187         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29188
29189 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
29190
29191         * gdb.base/return.exp:  Xfail `return double' test failure
29192         on at least Solaris 2.3 and handle future/past versions on
29193         a case by case basis as appropriate.  Also update message
29194         to include i*86 failures.
29195
29196 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29197
29198         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29199
29200         * lib/gdb.exp: Fix comment which erroneously identified
29201         gdb_file_cmd as gdb_load (the 19 May change was in fact to
29202         gdb_file_cmd not gdb_load).
29203         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29204
29205         * gdb.base/setvar.exp: Make test names consistent between pass and
29206         fail cases.  Use gdb_test more.
29207
29208 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29209
29210         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29211
29212 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29213
29214         * gdb.base/help.exp:  Fix expected help string for `show commands'.
29215
29216 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
29217
29218         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29219
29220         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29221         of a text section.
29222
29223 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
29224
29225         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
29226         that loop eventually terminates.  Fix Connection refused logic so
29227         that testsuite will expire nicely.
29228
29229 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
29230
29231         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29232         config/rom68k.exp:  New tcl glue for the appropriate monitors.
29233         These all just end up calling monitor.exp.
29234         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
29235         refused' by retrying.  Cleanup some timeout issues.
29236         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
29237         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
29238         callers don't have to set/restore global timeout variable.
29239
29240         * The following set of changes centralizes management of the global
29241         timeout variable.  This way, it can be set in one target dependent
29242         place instead of dozens of places scattered throughout the test suite.
29243         If you need to lengthen a timeout, then you should either set timeout
29244         in one of the config/{target}.exp files, or multiply it by a factor.
29245         Setting it to an absolute value is always going to lose for some
29246         targets.
29247         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
29248         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
29249         * gdb.base/funcargs.exp:  Don't set timeout.
29250         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
29251         * gdb.base/printcmds.exp (test_print_string_constants
29252         test_print_array_constants):  Don't set timeout.
29253         * gdb.base/ptype.exp:  Don't set timeout.
29254         * gdb.base/recurse.exp:  Don't set timeout.
29255         * gdb.base/return.exp:  Don't set timeout.
29256         * gdb.base/watchpoint.exp:  Don't set timeout.
29257         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
29258         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
29259
29260 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
29261
29262         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29263
29264 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29265
29266         * lib/gdb.exp: Disable chill tests for irix5.
29267
29268 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29269
29270         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
29271         each test pass or fail.
29272
29273 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29274
29275         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29276         xlc not gcc.
29277
29278 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
29279
29280         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
29281
29282 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
29283
29284         * config/est.exp:  Fix copyright and comments.  Remove dead code.
29285         Use targetname, serialport and baud variables instead of fixed
29286         constants.
29287         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
29288         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
29289
29290 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29291
29292         * gdb.base/watchpoint.exp: Don't run
29293         test_watchpoint_triggered_in_syscall for sunos.
29294
29295 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29296
29297         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29298         they don't seem to exist.  Do include stdio.h.
29299
29300 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29301
29302         * gdb.base/a1-selftest.exp: Add alpha xfail.
29303
29304 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29305
29306         * gdb.base/watchpoint.c (main): Prompt before calling read().
29307         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29308         Revise accordingly.  Remove cruft about sending "123" several
29309         times, until it gets noticed.  Clean up the "print buf[0]" stuff
29310         so that it passes or fails, and waits for prompts in the usual way.
29311
29312 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29313
29314         * gdb.base/recurse.exp: Fix comment.
29315
29316         * TODO: Remove item about printing variables in nodebug.exp.  Add
29317         item about enabling tests which are only run on some targets.
29318
29319         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29320         fail, make test names unique, use new gdb_test convention
29321         regarding pattern, use gdb_test more, etc.).
29322
29323         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29324         fail, make test names unique, etc.).
29325
29326 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29327
29328         * gdb.base/nodebug.c:  Change return type of top and middle to
29329         short.
29330         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
29331         are fixed by the recent mdebugread.c changes. Allow `short ()'
29332         as type for top and middle.
29333
29334 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29335
29336         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
29337         nearly as I can tell, the whole thing was an accident in Stu's
29338         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29339         to replace a send/expect pair with gdb_test, but ended up only
29340         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
29341         of 30 Mar 1995 took care of it, but left this vestigial comment
29342         which I am now nuking.
29343
29344 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29345
29346         * gdb.base/break.exp: Look for different line number for
29347         breakpoint at main depending on usestubs.
29348
29349 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29350
29351         * gdb.base/list.exp:  Adjust some alternate expect patterns to
29352         match recent list0.c change. Add alternate expect pattern for
29353         output from `list default lines around main' for optimizing
29354         compilers.
29355
29356 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29357
29358         * lib/gdb.exp: If nosignals is not set, set it to 0.
29359
29360 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
29361
29362         * config/slite-gdb.exp: Responds to load symbol table prompt.
29363         * gdb.base/break.exp: Adjust line number, fix rerun.
29364         * gdb.base/langs0.c: Add #ifdef usestubs.
29365
29366 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
29367
29368         * gdb.base/list.exp: Adjust line contents after adding new lines in
29369         list0.c. Also fix a syntax error.
29370
29371         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29372         * gdb.base/break.exp: ditto.
29373         * gdb.base/list.exp: ditto.
29374         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29375         * gdb.base/run.c: ditto.
29376         * gdb.base/list0.c: ditto.
29377         * gdb.base/funcargs.c: ditto.
29378
29379 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
29380
29381         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
29382         $targetname, $serialport and $baud instead of hardwired variables.
29383         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
29384         target doesn't support signals.
29385
29386 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
29387
29388         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29389
29390 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29391
29392         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
29393         Don't rely on the value of an auto variable before it has been
29394         initialized.  Use gdb_test more.
29395
29396 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29397
29398         * lib/gdb.exp (default_gdb_version): A version number must start
29399         with a digit, but other than that contains all characters up to
29400         the first whitespace character.
29401
29402 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29403
29404         * gdb.base/commands.exp (breakpoint_command_test): New tests.
29405
29406 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29407
29408         * gdb.c++/*.exp: Warn if executable does not exist.  The original
29409         reason for skipping the warning was that configure.in sometimes
29410         intentionally skipped building the executables but the tcl code
29411         had no way of knowing.  That (a) was always bogus with respect to
29412         error handling, (b) is no longer true (right now there is no way
29413         to skip C++ tests).
29414
29415         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29416
29417 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29418
29419         * gdb.base/list.exp:  Add expect patterns for output from
29420         SunPRO compiled executables.
29421         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
29422         types.
29423
29424 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29425
29426         * gdb.base/break.exp (test_next_with_recursion): Accept any line
29427         number (we are already testing that the correct source line text
29428         gets printed).
29429
29430         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
29431         that is what is intended, but something needed to be done to get
29432         sunos4 native working again.
29433
29434         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29435
29436         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29437         apparently went with a (very) old xfail.
29438
29439 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
29440
29441         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29442         runto_main is a proc in gdb.exp that will do 'step' for target use
29443         stubs.
29444         * gdb.base/exprs.exp: ditto.
29445         * gdb.base/interrupt.exp: ditto.
29446         * gdb.base/opaque.exp: ditto.
29447         * gdb.base/printcmds.exp: ditto.
29448         * gdb.base/ptype.exp: ditto.
29449         * gdb.base/scope.exp: ditto.
29450         * gdb.base/setvar.exp: ditto.
29451         * gdb.base/signals.exp: ditto.
29452         * gdb.base/twice.exp: ditto.
29453         * gdb.c++/classes.exp: ditto.
29454         * gdb.c++/inherit.exp: ditto.
29455         * gdb.c++/templates.exp: ditto.
29456         * gdb.base/break.exp: no run and hit main for stubs. Change line
29457         numbers for breakpoints and info breakpoint.
29458         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29459         breakpoint().
29460         * gdb.base/callfuncs.c: ditto.
29461         * gdb.base/exprs: ditto.
29462         * gdb.base/interrupt.c: ditto.
29463         * gdb.base/opaque0.c: ditto.
29464         * gdb.base/printcmds.c: ditto.
29465         * gdb.base/ptype.c: ditto.
29466         * gdb.base/scope0.c: ditto.
29467         * gdb.base/setvar.c: ditto.
29468         * gdb.base/signals.c: ditto.
29469         * gdb.base/twice.c: ditto.
29470         * gdb.c++/misc.cc: ditto.
29471         * gdb.c++/templates.cc: ditto.
29472
29473 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29474
29475         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29476
29477         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29478         somewhere between `read' and `main.c'.  I'm pretty sure the
29479         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29480         and it isn't particularly useful.
29481
29482         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
29483
29484 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29485
29486         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29487
29488 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
29489
29490         * config/mt-slite: add LIBS and -nostdlib.
29491         * config/slite-gdb.exp: add this new file to support sparclite target.
29492
29493 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
29494
29495         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29496
29497         * gdb.base/a2-run.exp: Change argument to istarget from
29498         "*-*-vxworks" to "*-*-vxworks*".
29499         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29500
29501 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
29502
29503         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29504         will not runto main but do a 'step' to step out of breakpoint().
29505         * config/mt-slite: add -Dusestubs.
29506
29507 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29508
29509         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29510         instead of just @.
29511
29512         * gdb.base/signals.exp: Add test for "handle all print".
29513         * TODO: Remove "handle all print".  Also remove item about
29514         checking copyright date (I don't like the idea of a spurious FAIL
29515         based on when we run the tests).
29516
29517         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
29518         for SunOS4 (reason for failure not investigated).  Remove
29519         redundant test for $binfile.
29520
29521         * gdb.base/nodebug.c (array_index): Call malloc.
29522
29523         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29524
29525 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
29526
29527         * gdb.base/recurse.exp: Update gdb_test invocation to use new
29528         conventions and slightly simplify the matching regexp.
29529
29530 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29531
29532         * gdb.base/break.exp: Update gdb_test invocation to use new
29533         convention.
29534
29535         * lib/gdb.exp: If noargs is not set, set it to 0.
29536
29537         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
29538         tests unique.
29539
29540         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29541
29542 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29543
29544         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29545         one argument of type "<non-float parameter>".
29546
29547 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
29548
29549         * config/rom68k.exp:  New file to support Motorola IDP board.
29550         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
29551         * gdb.base/break.c:  Change things around so that this program
29552         doesn't depend upon args.  This is necessary to make remote
29553         targets work (in general, they can't take args).
29554         * gdb.base/break.exp:  Don't try to send args to program.  Don't
29555         expect output.  Also, replace lots of code with gdb_test.
29556
29557 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29558
29559         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29560         printing of '\'' (which is what the comment says we are testing,
29561         even though we were not), not '''.
29562         (test_integer_literals_rejected): Test that printing ''' is an error.
29563
29564         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29565         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29566         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29567         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29568         Use gdb_test not test_print_accept.
29569         * lib/gdb.exp: Remove test_print_accept.
29570
29571         * gdb.base/signals.exp (signal_tests_1): Make pass message
29572         consistent with fail message.
29573
29574         * gdb.base/whatis.exp: Remove xfails for printing char vs.
29575         unsigned char; the bug (PR 1821) is fixed.
29576
29577         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29578
29579         * gdb.base/scope.exp (test_at_localscopes): Call pass for
29580         successful tests--makes xfailing them work right.
29581
29582 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29583
29584         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29585         only \r\n, not .*.  The test can pass .* as the last thing in
29586         $pattern if that is what it wants.  In addition to providing this
29587         flexibility, this change should speed up pattern matching in cases
29588         where the pattern already ended with .* (there were a number of
29589         them).  This change also helps catch bad patterns--in the old
29590         scheme the typo "char \*" instead of "char \\*" would pass.  Now
29591         it is caught.
29592         * Many .exp files: Update callers.
29593
29594         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
29595         clearer and does not spuriously match multiple ('s.  Likewise for
29596         ) and *.
29597
29598         * gdb.base/nodebug.exp: Test ability to call a function and pass
29599         it a string (even with no debugging info).
29600
29601         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29602         "p '\'", which is the same as "p ''" once tcl gets done with
29603         quoting, to "p '\\'", which I suspect is what is intended (one
29604         backslash gets sent to GDB).
29605
29606         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29607
29608 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29609
29610         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
29611         1817) was fixed literally years ago.
29612
29613 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29614
29615         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
29616         test, it causes stepping out of call_after_alloca_subr with
29617         optimizing compilers.
29618         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
29619         fails.
29620
29621         * gdb.c++/templates.exp:  Source templ-info.exp only if
29622         the templates executable exists.
29623
29624         * gdb.c++/misc.cc (class Contains_static_instance,
29625         class Contains_nested_static_instance),
29626         gdb.c++/classes.exp (test_static_members):  Test printing of
29627         a class that contains a static instance of the class.
29628
29629 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29630
29631         * gdb.base/langs2.c (cppsub_): Don't prototype.
29632         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29633         only, I believe).
29634
29635 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29636
29637         * lib/gdb.exp (skip_chill_tests): New procedure.
29638
29639         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29640
29641 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
29642
29643         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29644         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
29645
29646 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29647
29648         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29649
29650         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29651         disassemble 8, not 16, instructions for part 4.
29652
29653         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
29654         support the latter anymore.
29655
29656         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29657         -DNO_PROTOTYPES.
29658         * gdb.base/callfuncs.c: Control use of prototypes based on
29659         NO_PROTOTYPES, not __STDC__.
29660         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29661         t_float_values2 tests if prototypes in use.
29662
29663         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29664         t_double_values):  When checking differences against DELTA, check
29665         that difference is within the range (-DELTA,DELTA), not just
29666         (-infinity,DELTA).
29667
29668 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
29669
29670         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29671         'file' command firts, then 'target', then 'load', this is due to gdb
29672         target set up.
29673         * config/mips-gdb.exp: Fix a couple regular exp bugs.
29674
29675 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
29676
29677         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29678         FP load/store variants.
29679         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29680
29681 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
29682
29683         * gdb.base/term.exp: Do not give a warning if not native, it is
29684         not an abnormal condition.
29685
29686 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
29687
29688         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29689         t_char_array".
29690
29691 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
29692
29693         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29694         are getting the version number.
29695
29696         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29697         if not native, it is not an abnormal condition.
29698
29699 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29700
29701         * lib/gdb.exp: Just use "file exists", rather than undocumented
29702         dejagnu procedure "findfile".
29703
29704 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
29705
29706         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29707           (LDFLAGS): Set to -Xlinker -Ur.
29708
29709         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29710           Removed, these values are set by lib/gdb.exp.
29711
29712         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29713
29714 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
29715
29716         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29717           of replicating gdb startup code.
29718
29719         * config/mt-vxworks (LDFLAGS): Set to -r.
29720           (CFLAGS_FOR_TARGET): Removed.
29721
29722         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29723           (gdb) and gdb for vxworks uses (vxgdb).
29724
29725         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29726           executable is not in the tree and host != target, use sed and
29727           program_transform_name to determine the gdb name used by the
29728           target.
29729
29730         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29731           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29732
29733 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29734
29735         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29736         floats, chars, and shorts where there are ANSI-style function
29737         definitions.
29738
29739         * gdb.base/langs.exp, gdb.base/langs*: New test.
29740         * gdb.base/Makefile.in: Build it.
29741         * TODO: Remove item about checking that C names don't get C++
29742         demangling applied; this test tests it.
29743
29744 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29745
29746         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29747         went with the const70 xfail.  The xfail went away a year ago.
29748
29749         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29750
29751         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
29752         for hp300.
29753
29754         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29755
29756         * gdb.base/a1-selftest.exp: Don't run on hp300.
29757
29758 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29759
29760         * Makefile.in (site.exp): Set host_alias and target_alias as well
29761         as host_triplet and target_triplet.
29762
29763 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29764
29765         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29766
29767         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29768         places as other ecoff systems).
29769
29770         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29771         ultrix.
29772
29773 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29774
29775         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29776         remove them.
29777         * gdb.base/nodebug.exp: Accept "function" in addition to "text
29778         variable and "variable" in addition to "data variable".
29779         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29780
29781         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29782         2.
29783         * gdb.base/list1.c (long_line): Add additional statement at start
29784         of function.
29785         * gdb.base/list.exp (test_forward_search): Update line number to
29786         reflect new statement.
29787
29788 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29789
29790         * gdb.base/signals.exp:  Reinitialize searched source directories
29791         after gdb_start call.
29792
29793 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
29794
29795         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29796         * gdb.stabs/Makefile.in: Likewise.
29797
29798         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29799         change.  Instead split the tests into smaller pieces.
29800         * gdb.disasm/hppa.s: Corresponding changes.
29801
29802 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29803
29804         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29805         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
29806
29807         * gdb.base/funcargs.exp: Modify many tests so that every test
29808         either passes or fails.  Make some test names unique.
29809
29810 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29811
29812         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29813         Call stty to set interrupt character.
29814
29815         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29816         for HP assembler versus GNU assembler based on actual behavior of
29817         $(CC), rather than assuming that $(AS) is always the GNU assembler.
29818
29819         * TODO: Suggest a few more stepping tests.
29820
29821 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
29822
29823         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29824         restart GDB for h8300 after a continue.
29825         (return): Add pattern to match a29k-udi behavior.
29826         * gdb.base/nodebug.exp: Remove obsolete comment.
29827         * gdb.base/regs.exp: New file, testing of register displays.
29828         * gdb.base/return.exp: Fix typo in reference to $objdir.
29829         * gdb.base/whatis.exp: Always start with a fresh GDB.
29830
29831 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29832
29833         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29834         higher, these tests generate a lot of output.
29835
29836 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29837
29838         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
29839         code following the catch silently ignored some errors; without the
29840         catch they should be thrown like any other tcl error.  Also, the
29841         catch used "" instead of {} which meant all the callers who wanted
29842         to include one of the characters "[]$ had to quote it an extra time.
29843         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29844         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29845         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29846         Remove extra quoting.
29847
29848 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
29849
29850         * gdb.base/commands.exp: Make test names unique; every test either
29851         passes or fails.  Update some comments.
29852
29853         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29854
29855 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29856
29857         The following fixes a FAIL caused by the fact that the alpha stabs
29858         configuration didn't use the ".if alpha" code in weird.def.
29859         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29860         bit pointer, so the 32 bit version works even on the alpha.
29861         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29862         Remove the stuff which allowed us to have separate versions for
29863         alpha and everything else.
29864
29865         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29866         regexp which "info func operator\[\](" is supposed to match.  Fix
29867         string to send to GDB.  Note that GDB still doesn't work right.  Add a
29868         new test for "info func .perator\[\](" which GDB does handle correctly.
29869
29870         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29871
29872 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29873
29874         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29875         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29876         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29877         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29878         it makes the tests harder to understand and confuses test-o-matic.
29879         The preferred style is that each test provides a PASS or a FAIL,
29880         and has a unique message (e.g. "continue #54" not just "continue")
29881         which is the same for the pass and the fail.
29882         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29883         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29884         to lib/gdb.exp.
29885         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
29886         prt_accept which was basically the same thing.  Likewise for
29887         test_print_reject and prt_reject.
29888         * lib/gdb.exp (test_print_reject): Add some more error message
29889         patterns to match from the former printcmds.exp (prt_reject).
29890         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29891         One defect of the passcount stuff is that some of it failed to
29892         report XPASS where appropriate.
29893         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29894         stuff before and after arg in expected pattern.
29895         (test_paddr_operator_functions): Re-do test without print_addr_of;
29896         this is the only test which seems to want extra stuff there.
29897
29898 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29899
29900         * gdb.base/nodebug.exp: Update new tests to reflect improved
29901         wording of gdb output.
29902
29903         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29904         and "ptype" work on variables in files compiled without -g.
29905         Replaces commented out "maint print msymbol" tests.
29906
29907 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29908
29909         * gdb.base/setvar.c (dummy): Call malloc.
29910
29911         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29912         losing with the irix4 sed.
29913
29914         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29915         ALRM" on irix4.
29916
29917 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29918
29919         * TODO: Remove items about corefile.exp testing new exec-file and
29920         backtrace; both are now done.  Add items about printing enums.
29921
29922 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29923
29924         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29925         "get signal $thissig" test fails.
29926
29927         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29928
29929 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29930
29931         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29932         compiler warning with dec alpha compiler.
29933
29934         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29935         extra \n from gdb_test call (this explains why the prompt test
29936         that I removed yesterday was there).
29937         (user_defined_command_test): Remove extra \n and prompt test.
29938
29939         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29940         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29941         doesn't exist.
29942         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29943         Also remove alpha workaround, which turns out to be because
29944         SIGABRT == SIGLOST.
29945
29946         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29947
29948         * gdb.base/help.exp: Don't test "help show".
29949
29950 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29951
29952         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
29953         "set print address" is on.
29954         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
29955         pass prompt to gdb_test; gdb_test already looks for the prompt.
29956
29957         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
29958
29959         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
29960         was a vestige of the manual TESTSTRATEGY, and the purpose of it
29961         was to make sure that gdb can read a core file.  But (a) the "read
29962         the corefile" part didn't make it to a1-selftest.exp, we just
29963         delete the corefile after creating it, and (b) we test reading
29964         corefiles in corefile.exp anyway.  Also, this test left around a
29965         xgdb process on Solaris.
29966
29967         * gdb.base/corefile.exp: Also test backtrace.
29968
29969 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
29970
29971         * gdb.base/commands.exp: Test a simple user defined command with
29972         arguments and if/while statements; verify the full user command is
29973         printed by "show user".
29974
29975         * gdb.base/commands.exp: Test if/while commands as part of a
29976         breakpoint command list; verify they appear in breakpoint
29977         information.
29978
29979 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29980
29981         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
29982         than by dividing by zero.
29983
29984 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
29985
29986         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
29987         performing an inferior call with watchpoints enabled.
29988         * gdb.base/watchpoint.c (main): Delete second unnecessary read
29989         call.
29990
29991 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29992
29993         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
29994         of "file" command.
29995
29996         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
29997         Add additional pattern for when "int operator int(void);" appears
29998         in a different order.
29999
30000 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30001
30002         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30003
30004         * gdb.base/help.exp: Replace most of docstrings for "info signals"
30005         and "signal" with ".*".
30006
30007 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30008
30009         * TODO: Add note about "handle all nostop".
30010
30011         * gdb.base/{sigall.c, sigall.exp}: New test.
30012         * gdb.base/Makefile.in: Add it.
30013
30014 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
30015
30016         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30017         when invoking GDB, suppresses any windowing interface.
30018
30019 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
30020
30021         * config/sim-gdb: New file, simulator testing support.
30022
30023 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
30024
30025         * gdb.base/interrupt.exp: Test calling func1 twice.
30026
30027 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
30028
30029         * gdb.base/list.exp (test_forward_search): Set timeout higher
30030         when we'll be getting lots of output from gdb.
30031
30032         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30033         "init_malloc" to after the expect statement.  Run it if that
30034         regexp is taken, but also for two others which happen if source
30035         cannot be found.
30036
30037 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30038
30039         * gdb.base/printcmds.exp: New test, for printing register before
30040         program is running.
30041
30042 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30043
30044         * gdb.base/list.exp:  Correct some alternate expect patterns
30045         to reflect changes in list1.c.
30046
30047 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30048
30049         * TODO: Add item regarding large frames.
30050
30051         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30052
30053         * TODO: Remove item about enabling return.exp; it
30054         is enabled.  Suggest a few more "return" tests.
30055
30056 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30057
30058         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
30059         anonymous unions.
30060
30061 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30062
30063         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30064         and pr-5646.o, so "make" is the same as "make all", not "make
30065         pr-4975.o".
30066
30067 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
30068
30069         * gdb.base/list.exp: Adjust expectations to reflect changes in
30070         list1.c.
30071         (test_forward_search): New test proc.
30072         * gdb.base/list1.c (long_line): New function, has long source line.
30073
30074 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
30075
30076         * gdb.base/a1-selftest.exp: Change initial stepping to know about
30077         additional line of code that was added.
30078
30079 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
30080
30081         * gdb.disasm/hppa.s: Break the large branching tests into smaller
30082         tests so as not to overflow expect's input buffers.
30083         * gdb.disasm/hppa.exp: Corresponding changes.
30084
30085 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30086
30087         Beginnings of template debugging tests.
30088         * gdb.c++/templ-info.cc:  New file to test for template
30089         debugging capability of the compiler.
30090         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
30091         templ-info.cc.
30092         * gdb.c++/templates.cc:  Add explicit template instantiations
30093         to enable compiling with -fno-implicit-templates. Add destructor
30094         and 'value' method to T5 class for template tests.
30095         * gdb.c++/templates.exp:  Add testcases for printing of template
30096         types, setting breakpoints on template methods and calling a
30097         template method.
30098
30099 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
30100
30101         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30102         branch target since some assemblers (gas-2.5)  may emit a
30103         relocation for the branch instead of resolving it in the
30104         assembler.
30105
30106 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30107
30108         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
30109         through signal handler.
30110
30111 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30112
30113         * configure.in (*-*-netware): Use config/mt-netware.
30114
30115         * config/mt-netware: New file.
30116         * config/mt-i386-netware: Removed, separate configs for different
30117           netware architectures are no longer needed now that we have
30118           --with-headers.
30119
30120 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30121
30122         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
30123         by the recent changes to use ANSI C arithmetic conversions.
30124
30125 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30126
30127         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30128         bug involving using inferior_pid to figure out whether to select a
30129         frame.
30130
30131 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
30132
30133         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30134         match the current disassembler output.
30135
30136 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
30137
30138         * gdb.fortran/exprs.exp: Expect VOID instead of void.
30139         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30140         types, expect "int" as type of integer values (for now).
30141
30142 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
30143
30144         * gdb.base/commands.exp: New tests for if/while commands.
30145
30146 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30147
30148         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
30149         by .*, since hex values have different syntax in Chill mode.
30150
30151 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30152
30153         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
30154         linefeed from expect pattern for repeated types with indices > 9.
30155
30156 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
30157
30158         First part of Fortran test suite.
30159         * gdb.fortran: New directory.
30160         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30161
30162 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30163
30164         * gdb.base/default.exp:  Update expect pattern for load command
30165         without arguments.
30166
30167 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
30168
30169         * configure.in: Change i386 to i[345]86.
30170         * gdb.base/configure.in: Likewise.
30171         * gdb.c++/configure.in: Likewise.
30172         * gdb.chill/configure.in: Likewise.
30173
30174 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
30175
30176         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30177         patterns, since that is not a valid context for comments.
30178
30179 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
30180
30181         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30182         repeated types and repeated types with indices > 9.
30183
30184 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
30185
30186         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30187         2417; old bug has been fixed.
30188
30189 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
30190
30191         * gdb.base/interrupt.exp: When trying to wake up the inferior,
30192         send the newline ourselves instead of assuming gdb_test will do
30193         so when passed an empty input string.
30194
30195         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30196         stabs testcode.
30197
30198 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30199
30200         * lib/gdb.exp (gdb_test): Don't send anything if the first
30201           argument is an empty string.  This makes cases where we want to
30202           match output that is already in expect's buffers (for example,
30203           matching a breakpoint after gdb_run_cmd has been called) work
30204           reliably.
30205
30206 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30207
30208         * config/netware.exp: New file.
30209
30210 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30211
30212         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30213           the -B and -L prefixes so we can find the debugging stub.
30214
30215         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30216           there and we are using the gcc from the tree.
30217
30218         * gdb.base/types.c: Removed.
30219
30220         * gdb.base/configure.in: Look for makefile fragments in ../config.
30221           Recognize i386-*-netware.
30222         * gdb.c++/configure.in: Likewise.
30223
30224 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30225
30226         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
30227         the correct TCL syntax.
30228
30229 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30230
30231         * gdb.base/opaque.exp: use runto instead of messing around with
30232           breakpoints.  Simplify by using gdb_test.
30233
30234         * gdb.base/bitfields.exp: restart between tests on netware targets
30235           because breakpoints aren't relocated after target death.  Run
30236           processes to completion.
30237
30238         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30239
30240 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
30241
30242         * Makefile.in:  Remove extra tabs that confuse some versions
30243         of "make".  Use the newly built gdb to test with by default,
30244         rather than the first one in the tester's search path.
30245
30246 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
30247
30248         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30249
30250         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30251         condition help.
30252
30253 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30254
30255         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30256
30257         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30258           running.
30259         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30260         * gdb.base/funcargs.exp: Likewise.
30261
30262         * gdb.base/bitfields.exp: Simplify by using gdb_test.
30263         * gdb.base/funcargs.exp: Likewise.
30264
30265         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30266           message is "".
30267
30268 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30269
30270         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30271           return,signals,twice}.exp: Handle non-existant binaries
30272           consistantly.
30273
30274         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30275         * gdb.base/Makefile.in: Don't try to generate a core dump, we
30276           might testing a cross development system.
30277
30278 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30279
30280         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30281           runtest script is relative to ${srcdir}, not ${rootdir}.
30282
30283 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
30284
30285         * gdb.base/signals.exp: Allow for optionality of breakpoint
30286         address.
30287
30288 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30289
30290         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30291
30292 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30293
30294         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30295           for size_t definition.
30296         * gdb.c++/templates.cc: Likewise
30297
30298         * config/mt-i386-netware: New file.
30299
30300         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30301           defined.
30302
30303         * gdb.base/Makefile.in: Added support for systems that name core
30304           files by appending "core" to the program name.
30305         * gdb.base/a1-selftest.exp: Likewise.
30306
30307 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30308
30309         * gdb.base/return.exp:  Add comment and message for `return double'
30310         test failure on Sparc Solaris.
30311
30312 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
30313
30314         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30315
30316 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30317
30318         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
30319         from optimizing them away.
30320         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
30321         patterns to include default constructors and assignment operators,
30322         to match gcc versions beyond 2.5.8. Accept any cplus demangling
30323         character in the output of the virtual base pointer.
30324
30325 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30326
30327         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
30328         expression match in print_addr_of to avoid unintented matches.
30329         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
30330         versions up to 2.5.8.
30331
30332 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30333
30334         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
30335         included file to run under newer versions of expect.
30336         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
30337         consecutive >'s in templates to accomodate recent cplus-dem.c change.
30338         Remove xfail for the virtual table of BDDHookV.
30339
30340 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
30341
30342         * lib/gdb.exp (string_to_regexp): Set a default result.
30343         (default_gdb_start): Fix misleading message.
30344
30345 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
30346
30347         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30348         Remove all CC, etc definitions.
30349         * config/mt-hpux: New file.
30350         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30351         (CFLAGS, LDFLAGS): Define.
30352         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30353
30354         * Makefile.in (site.exp): Don't insert host_os, etc.
30355         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30356         (distclean): Check existence of subdir.
30357         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30358         * gdb.base/Makefile.in: General cleanup and simplification.
30359         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30360         to build executables.   Use default rule to build .o files.
30361         (EXPECT, RUNTEST, CC): Fix relative pathname.
30362         (site.exp): Don't insert host_os, etc.
30363         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30364         and/or SIGUSR1 defined.
30365         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30366         * gdb.c++/Makefile.in: General cleanup and simplification.
30367         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30368         (CFLAGS): Remove.
30369         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30370
30371 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
30372
30373         * gdb.base/recurse.exp: Misc changes to get tests running again
30374         after Kung's changes to the watchpoint code.
30375         * gdb.base/watchpoint.exp: Likewise.
30376
30377 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30378
30379         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
30380
30381 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
30382
30383         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30384         * lib/gdb.exp (default_gdb_start): Define.
30385         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30386         gdb.base/funcargs.exp, gdb.base/opaque.exp,
30387         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30388         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30389         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30390         Don't call gdb_target_udi in between tests.
30391
30392 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30393
30394         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30395         (which was basically just a local version of the same thing).  In
30396         addition to avoiding duplication, gdb_test_exact is faster.
30397         * lib/gdb.exp (gdb_test_exact): Fix typo.
30398
30399         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30400         don't give an error.
30401
30402         * gdb.base/term.exp: Call delete_breakpoints before starting.
30403
30404         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30405         (t10): Add comment.
30406
30407 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
30408
30409         Reorganization of the GDB Test Suite.
30410
30411         * gdb.base: New directory, contains all the basic tests.
30412         * gdb.c++: New directory, tests specific to C++.
30413         * gdb.chill: New directory, tests specific to Chill.
30414         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30415         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30416         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30417         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30418         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30419         t30-31 to chill).
30420         * */gdbme.*: Rename to match appropriate expect scripts.
30421         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30422         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30423         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30424         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30425         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30426         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30427         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30428         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30429         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30430         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30431         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30432         gdb.c++/virtfunc.cc: New names of C++ files.
30433         * gdb.chill/chillvars.ch: New name of Chill file.
30434         * gdb.base/configure.in, gdb.c++/configure.in,
30435         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30436         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30437         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30438         * configure.in (configdirs): Update to reflect directory changes.
30439         (target_abbrev): No longer define for any configuration.
30440         * Makefile.in: Cosmetic improvements to header comments.
30441
30442 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30443
30444         Various changes to gdb.t31:
30445
30446         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
30447         * gdbme.ch:  Make all key-words and predefineds be upper-case.
30448         * chillvars.exp:  Expect key-words and predefinds in upper-case.
30449
30450         * chillvars.exp:  Use gdb_test_exact many places.
30451         Change expected output for arrays (which now includes index labels).
30452
30453         * pr-5020.exp, gdme.ch (module PR_5020):
30454         New test, for PR-5020.
30455
30456 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30457
30458         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
30459         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
30460
30461 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30462
30463         * Makefile.in:  Fix bit-rot in definitions of CHILL,
30464         CHILL_FOR_TARGET and Chill_LIB.
30465         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
30466         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
30467         CHILL, and CHILL_LIB.
30468
30469 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
30470
30471         * Revert the previous changes.  Please see Rob's directory
30472           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30473
30474 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
30475
30476         * Makefile.in, configure.in, config/mips-gdb.exp,
30477           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30478           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30479           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30480           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30481           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30482           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30483           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30484           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30485           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30486           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30487           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30488           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30489           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30490           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30491           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
30492           changes from 94Q1.
30493
30494 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
30495
30496         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30497           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30498           Rob's new testing fragments.
30499
30500 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
30501
30502         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30503           lib/gdb.exp: Replace error proc calls with perror.
30504
30505 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
30506
30507         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30508         version also, match on casted version strings, and match on
30509         gdb startup case where the line numbers might be messed up.
30510
30511 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
30512
30513         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30514           (CFLAGS): Delete it from here.
30515
30516 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
30517
30518         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30519
30520 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
30521
30522         * Makefile.in (RUNTEST): Default to just "runtest".
30523
30524 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30525
30526         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30527         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30528         the code has been restructured.
30529
30530 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30531
30532         * gdb.t00/default.exp (set write): Allow any number of \r and/or
30533         \n, not just one of each.
30534
30535         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30536         /bin/cc gives a warning if you do.
30537
30538 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
30539
30540         * gdb.t24/demangle.exp: change expect pattern of
30541         __t10ListS_link1ZUiRCUiPT0
30542
30543 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30544
30545         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30546         on local variables in recursive functions.
30547
30548         * gdb.t07/Makefile.in: Build the new test.
30549
30550 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30551
30552         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30553         directly.  Instead compare the return values from actual calls.
30554
30555 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
30556
30557         * Makefile.in (check): Set TCL_LIBRARY for runtest.
30558
30559 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30560
30561         * From Peter Schauer with minor modifications.
30562         * gdb.t15/return.exp (return_tests): Handle targets where "return"
30563         stops in mid-line in the caller.  Add xfail for returning a float
30564         value on X86 targets.
30565
30566 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30567
30568         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30569         to avoid expect lossage.
30570         (fmem_LRbug_tests): Likewise.
30571         * gdb.disasm/hppa.s: Corresponding changes.
30572
30573         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30574         conditions to work with latest dejagnu/expect.
30575
30576         * gdb.t15/funcargs.exp (finish from indirect call): No longer
30577         expected to fail on the PA.
30578         (backtrace in call with trampolines): Explicitly require main
30579         to be frame #1 (no trampolines should show up in backtrace).
30580
30581         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30582         "continue -expect".
30583         * gdb.t06/break.exp: Likewise.
30584         * gdb.t07/watchpoint.exp: Likewise.
30585         * gdb.t13/bitfields.exp: Likewise.
30586         * gdb.t15/{funcargs,return}.exp: Likewise.
30587         * gdb.stabs/weird.exp: Likewise.
30588         * config/{mips,udi}-gdb.exp: Likewise.
30589
30590         * hppa.sed: Enclose comments within a sed command to avoid
30591         losing with the old OSF1 sed.
30592
30593 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30594
30595         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
30596         sequent dynix.
30597         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
30598         * gdb.t15/funcargs.exp:  Conditionally step again to really
30599         finish from marker_call_with_trampolines. Handle the case where
30600         the first step from within call_with_trampolines already steps
30601         us back to main.
30602         * gdb.t15/gdbme.c:  Add comment to closing brace of
30603         call_with_trampolines for funcargs.exp.
30604
30605 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30606
30607         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30608         Fix typo(s).
30609
30610 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30611
30612         * gdb.t07/gdbme.c: More code for watchpoint testing.
30613
30614         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30615         "Hardware watchpoint" throughout file.
30616         (test_watchpoint_triggered_in_syscall): New test.
30617         (test_complex_watchpoint): New test.
30618
30619 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30620
30621         * gdbme.c (call_with_trampolines): New function to try and step
30622         into.  Tests trampoline problems on the PA.
30623
30624         * funcargs.exp (localvars_in_indirect_call): No longer expect
30625         stepping into indirect call to fail on PAs.
30626         (test_stepping_over_trampolines): New test.
30627
30628 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30629
30630         * TODO: Add suggestions for static member function tests, and
30631         completion tests.
30632
30633 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30634
30635         * TODO: Add suggestions for "p/a" tests.
30636
30637         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30638         (default_gdb_exit): Replace all the hair with sending "quit" to
30639         the process with a simple close.
30640
30641 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30642
30643         * TODO: Add suggestions for shared library tests.
30644
30645 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30646
30647         * TODO: Add suggestions for x/s tests.
30648
30649 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30650
30651         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30652         "enable once", and "enable breakpoints once" with ".*".
30653
30654 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30655
30656         * TODO: Add suggestions about structure passing tests.
30657
30658 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30659
30660         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
30661         the primary1 test, use work around if __GNUC__ < 2.
30662         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
30663         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
30664         Test for bad output rather than waiting for timeout.  Issue
30665         second continue only if first continue failed.
30666
30667 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30668
30669         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30670         operator[] test with gdb_test because the old code didn't seem to
30671         be getting the quoting right with the new dejagnu.
30672
30673 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
30674
30675         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30676         one from the path.
30677         * Makefile.in: Use a fresh expect if there is one, use runtest
30678         from the src tree if there is one.
30679
30680 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30681
30682         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30683         next over recursive call.  Revise the tests from that point on
30684         (which had been skipped) to match GDB's actual (correct) output.
30685
30686         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30687         with next over a breakpoint whose condition is false.
30688
30689         * gdb.t00/help.exp: Comment out "help set print" tests just like
30690         (and for same reason as) "help set" test.
30691
30692 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30693
30694         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30695         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30696
30697 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30698
30699         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30700         necessary gdb_target_udi.
30701
30702         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30703
30704         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30705         1838 and 2417; they are fixed.
30706
30707         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30708         gdb.t03/ptype.exp (ptype structure, ptype union):
30709         Remove xfails; the test is looser than when the xfails were added.
30710
30711         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30712         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30713
30714         * gdb.t01/run.exp: Only run shell test if isnative.
30715
30716         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30717         since "run" automatically loads if necessary.  Call gdb_target_udi
30718         after the "file" since "file" kills any execution target.
30719
30720         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30721         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
30722         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30723         argument for UDI.
30724
30725 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30726
30727         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30728
30729         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30730
30731 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30732
30733         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30734         properly quoting regexps.  This makes the second argument to
30735         demangle a fixed string, which matches the callers, instead of a
30736         shell-style pattern which is what the previous implementation
30737         used.  Update some of the callers.
30738
30739 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30740
30741         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30742         (comib_nullified_tests): Fix typo.
30743         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30744         strings.  No longer expected to fail.
30745
30746         * gdb.disasm/hppa.s (addib_tests): Fix typo.
30747         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30748         strings.  No longer expected to fail.
30749
30750         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30751         string.  No longer expected to fail.
30752
30753 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30754
30755         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30756         No longer expected to fail.
30757
30758         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30759         string.  No longer expected to fail.
30760
30761 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30762
30763         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30764         only in the names (I probably got most of them).  I was even
30765         generous with some which differed in underscores in names, and
30766         probably missed a few, and I *still* was able to remove almost a
30767         third of the file with almost no impact on testsuite coverage.
30768
30769 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30770
30771         * gdb.t00/default.exp: Match udi_attach error message as well as
30772         the one from child_attach.
30773
30774         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30775
30776         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30777
30778         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30779         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30780
30781         * Move test with enums and partial symbols back to
30782         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30783         Reverts the change of 26 May 93.  Per today's change to
30784         stabs.texinfo, the behavior that weird.exp was expecting was
30785         unreasonable; what is important is that the compiler+gdb get
30786         things right, which happens with a recent gcc.  Also fix the test
30787         to deal with native compilers which put out the stab gdb can't
30788         deal with.
30789
30790 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30791
30792         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30793         in the names.  The main thing these accomplish is to slow things down.
30794         Many more such duplicates surely remain.
30795
30796         * gdb.t00/help.exp: Comment out "help support" test just like
30797         (and for same reason as) "help set" test.
30798
30799 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
30800
30801         * gdb.t06/break.exp:  Remove setup_xfails for
30802         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30803         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
30804         about known bug in gcc to include up through 2.5.8.
30805         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
30806         well as "_vb$".
30807         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30808         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30809         with latest gcc and gdb.
30810         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
30811         well as "_vb$".
30812
30813 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30814
30815         * configure.in (hppa*-*-*): Also configure and build stabs-only
30816         tests.
30817
30818 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30819
30820         * gdb.t10/hppa.mt: A makefile fragment for the PA.
30821         * gdb.t10/configure.in (hppa*-*-*): Use it.
30822
30823 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30824
30825         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
30826
30827 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30828
30829         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
30830         versions prior to 1.13.5.
30831
30832 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30833
30834         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30835         the prompt is at the start of a line.
30836
30837 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30838
30839         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30840         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
30841         in the copr tests now.
30842         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
30843         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
30844         expected to fail.
30845
30846 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
30847
30848         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30849         gdb.t31/chillvars.exp, lib/gdb.exp:
30850         Tweak to run under either version of expect.
30851         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30852         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30853         * gdb.t11/list.exp: Remove extraneous whitespace.
30854
30855 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30856
30857         * gdb.t16/printcmds.exp (test_print_strings): Accept
30858         "(unsigned char *) " before the string.
30859
30860         * TODO: Add notes about printing of fancy types and GDB expressions.
30861
30862 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
30863
30864         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30865         * gdb.t06/configure.in: Don't try to compile signals test program
30866         if doing mips-idt-ecoff.
30867
30868 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
30869
30870         * Most .exp files: Tweak to run under either version of expect.
30871
30872 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30873
30874         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
30875         xfails; I'm not sure why they are failing, but not because of PR 1806.
30876
30877 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
30878
30879         * config/unix-gdb.exp: Remove gdb_unload cause it's already
30880         defined in lib/gdb.exp.
30881
30882 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30883
30884         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
30885         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30886         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
30887         have to be typeless.
30888
30889 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30890
30891         * TODO: Add suggestion for copyright year test.
30892
30893 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
30894
30895         * configure.in (*-*-lynxos*): Add stabs tests.
30896
30897 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
30898
30899         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30900         so insert a tab before any assembler directive in column zero.
30901
30902         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30903         stores.
30904         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30905         stores.
30906         (fpu_short_memory_tests): Likewise.
30907
30908 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30909
30910         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
30911         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
30912         .stabs directives in comments.
30913
30914 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30915
30916         * TODO: New file, describing tests we could write.
30917         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30918
30919 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30920
30921         * gdb.t06/signals.exp: Add kludge to force re-sync.
30922
30923         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30924         to xgdb instead of gdb, get out of gdb.
30925
30926 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
30927
30928         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30929         for info.
30930
30931 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
30932
30933         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30934         * gdb.stabs/configure.in (hppa*-*-*): Use it.
30935         * gdb.stabs/hppa.sed: New sed script for the PA.
30936
30937 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30938
30939         * gdb.stabs: Re-write weird.def and configuration to use sed
30940         instead of cpp.  sed is portable and POSIX; cpp is neither.
30941
30942 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30943
30944         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30945
30946 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30947
30948         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30949
30950 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30951
30952         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
30953         "_vb$".
30954         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
30955         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
30956
30957 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30958
30959         * lib/gdb.exp: Comment out code which depends on non-existent
30960         `transform' procedure.
30961
30962 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
30963
30964         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
30965         * lib/gdb.exp: Transform tool name.
30966         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
30967         1.1's new error handling system.
30968
30969 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30970
30971         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
30972
30973 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30974
30975         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
30976         They made pattern matching so slow that timeouts happened on
30977         heavily loaded systems.  Now any output from "show print" which
30978         gets us back to the GDB prompt is a PASS.
30979
30980 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
30981
30982         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
30983
30984 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30985
30986         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
30987
30988         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
30989         It is not from PR 3220.
30990
30991 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30992
30993         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
30994         just started failing because they depended on the order the
30995         subcommands are presented, or exact docstring text.  This kind of
30996         test is a pain and has minimal benefit.
30997
30998 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30999
31000         * gdb.t09/corefile.exp: At end of test, use "core" command with
31001         no arguments.
31002
31003 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
31004
31005         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31006         17}/Makefile.in:  Make it possible to run the testsuite with Sun
31007         make and CC = cross gcc by adding explicit build rules for .o
31008         files.
31009
31010 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31011
31012         * gdb.t15/funcargs.exp: Don't put comments on same line as
31013         setup_xfail (@#$*%& tcl braindamage!).
31014
31015 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31016
31017         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31018
31019 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
31020
31021         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31022         * gdb.t20/inherit.exp: remove three dumplicate entries.
31023
31024 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31025
31026         * gdb.t06/break.exp: For "next over recursive call", fail on any
31027         incorrect output, not just on "factorial (value=2)".
31028
31029 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31030
31031         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
31032         working now. Add an xfail if accesing a bss variable causes
31033         a memory error if the target is not yet run.
31034
31035 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31036
31037         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31038         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31039         name of __st* demangling (2 strings).  Did Kung really get the
31040         more than 95 others right without testing them?
31041
31042 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
31043
31044         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31045
31046 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
31047
31048         * configure.in (configdirs): Add gdb.disasm
31049         * gdb.disasm: New directory for GDB disassembler tests.
31050         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31051
31052 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31053
31054         * gdb.t00/help.exp: Don't test "help set".
31055
31056         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31057         from within expect statements.  None of these happen anymore and
31058         they cause regressions to be silently unnoticed.
31059
31060         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31061         messages) about known failures with gcc cygnus-2.4.5-930417.
31062
31063         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31064         comp-info.exp so it gets built if it doesn't exist.
31065
31066         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31067         it is no longer used.
31068         * gdb.t13/comp-info.c: Removed.
31069
31070 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
31071
31072         * gdb.t06/signals.exp: Add xfail for sun3.
31073
31074 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31075
31076         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31077         relevant because ^C doesn't get sent but failure can be reproduced
31078         interactively).
31079
31080 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31081
31082         * gdb.stabs/alpha.mt:  New configuration file for alpha.
31083         * gdb.stabs/configure.in:  Use it.
31084         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
31085         sharing with alpha.mt, redefine long to word via preprocessor.
31086         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
31087         for alpha.
31088         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
31089         native cc.
31090         * gdb.t00/teststrategy.exp:  Change expect string so that we
31091         consume the `(xgdb)' from the command echo and from the gdb prompt.
31092         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
31093         gdb currently compares all values as long, so this failure probably
31094         applies to any configuration where LONGEST is bigger than a target int.
31095         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
31096         with gcc.
31097         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
31098         to handle opaque pointers, gcc is.
31099         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
31100         as first argument. Include <sys/types.h> and change all operator
31101         new definitions to use size_t.
31102         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
31103         now that we use size_t.
31104
31105 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31106
31107         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
31108         a long or float array cast all array members to the same type.
31109         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
31110         with 64 bit longs.
31111         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
31112         on alpha.
31113         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
31114
31115 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31116
31117         * gdb.t24 (demangle.exp): Constructors of templates have names like
31118         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
31119         section 14.6 of the ARM.
31120
31121         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31122         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31123         accomplish little and slow down the testsuite.
31124
31125         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31126         Accept spaces various places.
31127
31128 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31129
31130         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31131         with watchpoint enabled.
31132
31133         * Makefile.in: Remove definition of CC and remove the second
31134         definition of CXX (the "CXX = gcc" one remains).  These definitions
31135         were causing backquotes to be expanded within backquotes, which
31136         doesn't work.
31137
31138 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
31139
31140         * gdb.t17/callfuncs.exp: Add "return 0" to end.
31141
31142 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31143
31144         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
31145         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
31146         by mips cc and contains no stabs entries.
31147
31148 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31149
31150         * config/vx-gdb.exp: Use fake device to load files rather than
31151         NFS.
31152         * lib/gdb.exp: New proc to do "file" command.
31153         * config/unix-gdb.exp: Use new "file" proc.
31154
31155 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
31156
31157         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31158         Rework board rebooting slightly.
31159         (gdb_exit): Don't exit from the remote shell; there isn't one.
31160         * gdb.stabs/weird.exp: If a program is being debugged already,
31161         kill it.
31162         * gdb.t04/setvar.exp: Stop and restart gdb.
31163         * gdb.t05/expr.exp: Likewise.
31164         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31165         restart gdb and reload the program.
31166         * gdb.t08/opaque.exp: Likewise.
31167         * gdb.t12/scope.exp: Likewise.
31168         * gdb.t13/bitfields.exp: Likewise.
31169         * gdb.t15/funcargs.exp: Likewise.
31170         * gdb.t20/classes.exp: Likewise.
31171         * gdb.t03/ptype.exp: Increase timeout.
31172         * gdb.t16/printcmds.exp (test_print_string_constants,
31173         test_print_array_constants): Likewise.
31174         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31175         * gdb.t20/classes.exp (do_tests): Likewise.
31176         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31177
31178 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
31179
31180         * gdb.stabs: Renamed *wierd* to *weird*.
31181
31182 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
31183
31184         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31185         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
31186
31187 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
31188
31189         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31190         (do_tests): Remove xfail for whatis on one_var and two_var.
31191
31192 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31193
31194         * Makefile.in: Made cross building work better by adding
31195         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31196
31197 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31198
31199         * gdb.t15/{return.c,return.exp,Makefile.in}:
31200         New test, currently commented out.
31201
31202 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31203
31204         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31205         still running and removes the leftover named socket so GDb can do
31206         clean restarts.
31207
31208 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31209
31210         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31211         console, not GDB.
31212         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31213         cross testing works better with "make check"
31214         * config/unix-gdb: Use default procedures for exit and version.
31215         * config/vx-gdb.exp: Cleaned up and massaged back to working order
31216         with the newest VxWorks.
31217
31218 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31219
31220         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31221         old form.
31222
31223         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31224         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31225
31226         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31227
31228         * config/unix-gdb.exp: Remove this version of gdb_exit
31229         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31230         Rob says he'll look at it when he gets back to testing boards.
31231
31232 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
31233
31234         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
31235         an expected fail for certain ptype commands.
31236
31237         * gdb.t20/classes.exp:  Update expected results of "ptype class
31238         Base1" to account for the constructor that now appears in the type.
31239
31240 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
31241
31242         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
31243         disappeared from list.
31244         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
31245         "alldone" proc with call to cleanup and exit.
31246         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31247         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31248         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31249         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31250         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
31251         "alldone" proc with simple returns that suppress remaining
31252         tests.  The alldone proc went away many months ago.
31253
31254 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31255
31256         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31257
31258         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31259
31260 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31261
31262         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
31263         as vax gdb will display them.
31264
31265 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31266
31267         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31268         optimizers.
31269
31270         * scope.exp: Change "bad value for localval" messages so each one
31271         is unique.
31272
31273         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31274         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31275
31276         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31277
31278 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31279
31280         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31281         doesn't exist (due to optimization).
31282
31283 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31284
31285         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31286         contains \r because the filename is long.
31287
31288         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31289         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31290
31291 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31292
31293         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31294         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
31295         Ultrix.
31296         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
31297         int tests.
31298         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
31299
31300 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
31301
31302         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
31303
31304         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
31305         to match does not match the passing case but still matches the
31306         failing case.
31307
31308 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31309
31310         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31311
31312 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
31313
31314         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
31315         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31316         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31317         Remove various versions of gdb_exit.
31318         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
31319         gdb_exit.
31320         * config/unix-gdb.exp:  gdb_exit remains here, and should override
31321         the generic version, since it's doing a lot of wierd stuff that
31322         the other versions aren't.  FIXME, fold it in, or abandon this
31323         version.
31324
31325 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31326
31327         * gdb.t24/demangle.exp: Add tests for PR 3220.
31328
31329 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31330
31331         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31332
31333 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
31334
31335         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
31336         "i386-*-*".  Works for i486 as well.
31337
31338         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
31339         bug, and expand domain of xfail to all SVR4 systems, since the
31340         actual problem is likely to be in generic SVR4 /proc support.
31341
31342 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31343
31344         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31345
31346 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
31347
31348         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
31349         xfails for other systems.  Match a missing 'Continuing.' as an
31350         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31351
31352         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31353         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31354         Only issue warning for missing executables if -all option is used.
31355
31356         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
31357         file if -all option is used.  It's like an unpredictable XFAIL.
31358
31359 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31360
31361         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31362         for dynamically linked binaries.
31363
31364         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31365
31366 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31367
31368         * gdb.t20/inherit.exp: Change message for "print tagless struct"
31369         to state that this is a known bug in old versions of g++.
31370
31371 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31372
31373         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
31374         while waiting for `Continuing'.
31375
31376 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
31377
31378         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
31379         in text, data, and bss.
31380         * gdb.t10/nodebug.c:  Add local and global test variables for
31381         initialized and uninitialized data.
31382
31383 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31384
31385         * config/unix-gdb.exp (gdb_exit): Add "wait".
31386
31387 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31388
31389         * gdb.t06/signals.exp:  xfail the continue from the handler for all
31390         targets.
31391
31392         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
31393         function with watchpoints enabled, the i386 call dummy starts with
31394         a call.
31395
31396         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
31397         386 bsd names its corefiles.
31398
31399 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
31400
31401         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
31402         compilers don't grok it.
31403         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
31404         with small octal ints rather than character constants, which
31405         are signed and might not fit if first promoted to int.
31406
31407 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
31408
31409         * gdb.t09/Makefile.in (clean):  Remove corefile.
31410
31411 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31412
31413         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31414
31415 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31416                           and Jim Kingdon (kingdon@cygnus.com)
31417
31418         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31419         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
31420         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31421
31422 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31423
31424         * gdb.t17/interrupt.exp: Add xfail for hppa.
31425
31426 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31427
31428         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31429         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
31430         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
31431         to determine signed-ness of bitfields and use the result to setup
31432         the xfail.
31433         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
31434         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
31435         call line is reached if necessary.
31436
31437 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31438
31439         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31440
31441 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31442
31443         * gdb.t06/break.exp: Also test `clear' command.
31444
31445 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
31446
31447         * gdb.t00/teststrategy.exp: Remove extra quote.
31448
31449         * gdb.t07/watchpoint.exp: Change xfail for calling function with
31450         watchpoint enabled to be for all non-68k machines.
31451
31452         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31453
31454 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31455
31456         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31457         targets use aout.mt instead of ecoff.mt as gas understands
31458         standard aout format.
31459
31460 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
31461
31462         * lib/gdb.exp (runto): Don't insist that function we are running to
31463         was compiled with -g.
31464
31465         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31466
31467         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31468         to get back into the read system call.
31469         Accept leading newline in case where we woke it up.
31470
31471 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31472
31473         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
31474         to make the stabs test work on ecoff systems using gcc and -with-stabs.
31475         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
31476         enable ecoff configuration.
31477
31478 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31479
31480         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31481
31482 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31483
31484         * gdb.t16/printcmds.exp: Add another printf test.
31485
31486 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
31487
31488         * configure.in: If configured -with-stabs on any target, add
31489         stabsdirs to configdirs.
31490
31491 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31492
31493         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31494         fun" so pattern does not match the command itself.
31495
31496 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31497
31498         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31499
31500 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31501
31502         * gdb.t17/interrupt.exp: Test for more things.
31503
31504 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31505
31506         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31507         compiler arranges the code and line numbers.
31508
31509         * gdb.t17/interrupt.exp: Don't send \n after ^C.
31510
31511 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31512
31513         * gdb.t00/help.exp:  Increase expect input buffer size.
31514
31515 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31516
31517         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31518
31519         * gdb.t07/watchpoint.exp: Add xfail for hppa.
31520
31521         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31522
31523         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31524         [0-9]*, not just [0-9].
31525
31526 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31527
31528         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31529
31530         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31531
31532 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31533
31534         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31535
31536 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31537
31538         * gdb.t06/signals.c: Add xfails for sun3.
31539
31540         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31541
31542         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
31543         test_stepping tests.
31544
31545 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31546
31547         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31548
31549         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31550
31551         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31552         rather than actually putting it through cpp twice.
31553
31554         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31555
31556 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
31557
31558         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31559         no longer needed.
31560
31561 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31562
31563         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31564
31565         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31566         C++ features prints as "struct", make it a pass, not an xfail.
31567
31568 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31569
31570         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31571         Don't require VA to print as "class" rather than "struct".
31572
31573 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
31574
31575         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31576
31577 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31578
31579         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31580
31581 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31582
31583         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
31584         order.
31585
31586 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31587
31588         * gdb.t16/printcmds.exp: Add printf tests.
31589
31590         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31591
31592         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31593
31594 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
31595
31596         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
31597         pass counts, to counteract any existing or future setup_xfails.
31598
31599 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31600
31601         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31602         {BEGIN,END}_COMMON for common block instead of STAB.
31603         * gdb.stabs/wierd.exp: Add xfail for rs6000.
31604
31605         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31606         intp_var should be N_GSYM not N_LSYM.
31607         wierd-aout.S: Use a label for the value of the N_SO.
31608         wierd.def: Remove all backslashes.
31609         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31610
31611 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31612
31613         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31614         get the expected next to inheritance3.
31615
31616 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31617
31618         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31619         now that gcc-2.4 gets it right.
31620
31621 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31622
31623         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31624
31625         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31626         generating comp-info.exp which works for cross-compilation.
31627
31628 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
31629
31630         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
31631         "*-*-sysv4.*".
31632
31633 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
31634
31635         * gdb.t01/run.exp:  Start with a fresh gdb.
31636         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
31637         SVR4.x.
31638
31639 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
31640
31641         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31642         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31643         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31644         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
31645         things to remove.
31646
31647 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
31648
31649         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
31650         test cases from bug reports.
31651
31652 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
31653
31654         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
31655         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
31656           avoid spurious xfails.
31657         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
31658         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
31659         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
31660
31661 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
31662
31663         * gdb.t00/teststrategy.exp:  Rework to provide more useful
31664         description of each test, fix problem with systems that define
31665         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31666         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
31667         results for "next over recursive call" so timeouts aren't taken
31668         by error.
31669
31670 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
31671
31672         * gdb.t12/scope.exp: Test printing of variables before run.
31673
31674         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31675         printed in wrong order due to sorting.
31676
31677 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
31678
31679         * gdb.t00/teststrategy.exp:  Fix expected results for printing
31680         user entered string constant.  Is array of char, prints with no
31681         address.
31682
31683         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
31684         commands.
31685         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
31686         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
31687         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
31688         of struct of char arrays.
31689         * gdb.t00/radix.exp:  New tests for radix commands.
31690
31691 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
31692
31693         * gdb.t16/printcmd.exp: Print a variable before running program
31694         (with xfail for AIX).
31695
31696 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
31697
31698         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31699
31700         * gdb.t16/printcmd.exp: Don't print variables before running program.
31701
31702         * gdb.t06/break.exp: Don't require envp argument to main.
31703
31704         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31705
31706         * gdb.t02/whatis.exp, gdb.t11/list.exp:
31707         Add xfails for rs6000.
31708
31709         * gdb.t02/whatis.exp: Change other tests not to re-test something
31710         we already tested.
31711
31712         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31713         each type used has a variable of that type.
31714
31715 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
31716
31717         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31718
31719 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
31720
31721         * configure.in: change srctrigger to be a file, not a directory
31722
31723 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
31724
31725         * configure.in (mips-idt-ecoff*): Added trailing '*'.
31726
31727         * gdb.t11/list.exp: Fixed a couple of typos.
31728
31729 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
31730
31731         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
31732         is fixed and PR is closed.
31733         * gdb.t16 (gdbme.c):  Add simple test string variable.
31734         * gdb.t16 (printcmds.exp):  Add tests with simple test string
31735         variable, primarily for boundaries on "set print elements".
31736
31737 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
31738
31739         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31740         Make leading 0's optional and don't expect a tab in the middle
31741         of the number.
31742
31743         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31744
31745         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31746         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
31747         don't end command passed to gdb_test with newline.
31748
31749         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31750         signed keyword away, don't expect signed bitfields to be signed.
31751
31752         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31753         printing with only as many 1's as are in the field as well as printing
31754         with 32 1's (see comment).
31755
31756 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
31757
31758         * gdb.t00/default.exp:  Start with a fresh gdb.
31759         * configure.in (configdirs):  Remove gdb.t31 until the chill
31760         compiler works again.  It no longer is able to find chillrt0
31761         since it isn't in libchill.a anymore.
31762         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
31763         wierd.o, make more modular.
31764         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
31765         spurious newlines that caused problems.
31766
31767 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31768
31769         * Move test with enums and partial symbols from gdb.t03/ptype.exp
31770         to gdb.stabs/wierd.exp since GCC has worked around the bug.
31771         gdb.stabs/wierd.{exp,def}: Many new tests.
31772
31773         * gdb.t00/default.exp: update info line for new message.
31774
31775         * gdb.t02/{whatis.exp,gdbme.c}:
31776         Test that "char *" doesn't print as "caddr_t".
31777
31778 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31779
31780         * gdb.t00/help.exp: Use .* in place of some help messages which
31781         just changed.
31782         gdb.t00/default.exp: Update "info frame" test for new message.
31783         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31784         Remove some xfails
31785
31786 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31787
31788         * gdb.t03/{gdbme.c,ptype.exp}:
31789         Add tests for typedef'd struct and union without tags.
31790         Also check "whatis" on a variable of a typedef'd enum without a tag.
31791
31792         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31793         PRMS 1823; the bug still exists but isn't reproduced by this test
31794         anymore), and remove rs6000 XFAIL (the bug is fixed).
31795
31796         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31797         duplicated from whatis.exp.  For those that are left, accept
31798         "long", "long int", or "int" for long variables (whatis.exp already
31799         has an XFAIL for "int", so no need to fail it here).
31800
31801         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31802         Deal with GCC's names for types now that GDB uses the compiler's names.
31803
31804         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
31805         setup_xfail's for sunos4.  If we #defined the signed keyword away,
31806         don't expect GDB to know that char it is signed.
31807
31808         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31809
31810 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
31811
31812         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
31813         should work on any system, regardless of debugging format.
31814         * gdb.t21/demangle.exp:  Move to gdb.t24.
31815         * gdb.t24/demangle.exp:  Move from gdb.t21.
31816         * gdb.t24/{Makefile.in, configure.in}:  New files.
31817
31818 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31819
31820         * configure.in: Do gdb.stabs and C++ tests only for stabs.
31821         * gdb.stabs: New directory.
31822
31823 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31824
31825         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31826         not just "Quit anyway?".
31827
31828 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
31829
31830         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
31831         that all setup_xfails are immediately followed by clear_xfails.
31832
31833 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
31834
31835         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31836         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31837         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31838         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31839         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31840         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31841         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31842         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31843         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31844         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31845         gdb.t31/chillvars.exp, lib/gdb.exp:
31846         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31847         bug-gdb@prep.ai.mit.edu.
31848
31849 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
31850
31851         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
31852         with 0.0, not integer 0.
31853
31854 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
31855
31856         * gdb.t06/break.exp: Update for "Kill the program" message change.
31857
31858 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
31859
31860         * Makefile.in (GDBFLAGS):  Set to -nx.
31861         * Makefile.in (site.exp):  Use GDBFLAGS.
31862
31863 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
31864
31865         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31866           Makefiles.
31867           (check): depend on just-check.
31868           (just-check): added so that tests can be run without a noop
31869           build pass.
31870
31871 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
31872
31873         Switch to using configure's configdirs.
31874         * Makefile.in (Makefile): add configure.in dependency.
31875           (SUBDIRS): removed redundant assignment.
31876         * configure.in: switch subdirs assignment to configdirs.
31877         * gdb.t*/configure.in: new files.
31878
31879 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
31880
31881         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31882         works.
31883
31884 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
31885
31886         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
31887         in explicit rules.  Apparently this is not supported by some makes.
31888
31889 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
31890
31891         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
31892
31893 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31894
31895         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
31896         disappeared.
31897
31898 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
31899
31900         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
31901
31902 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
31903
31904         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
31905         watchpoint problem that is now fixed.
31906         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
31907         uninitialized convenience variables.
31908         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
31909         structures.
31910
31911 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31912
31913         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31914         which causes expect to get out of sync with gdb on long output
31915         from help set.
31916         * gdb.t09/corefile.exp: Make expected pattern for core file
31917         failing signal and frame output format less sun specific.
31918
31919 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
31920
31921         * gdb.t31/chillvars.exp:  Add and remove initial dummy
31922         breakpoint, so that symbol table is forced in.
31923         (Needed at least on Sunos4, though it seems not SVR4.)
31924         * gdb.t31/chillvars.exp:  Update for changed output format.
31925
31926 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
31927
31928         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
31929
31930 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
31931
31932         * Makefile.in: Added --srcdir when invoking runtest, removed the
31933         need for a local config file. (optional now)
31934
31935 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
31936
31937         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
31938         failure count used to force early termination.  Add some more
31939         expected failures for gnu style demangling.
31940
31941 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31942
31943         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31944         pmi variable from gdb.t20/gdbme to get optimized away.
31945         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31946         Check for written corefile upon timeout _and_ eof.
31947
31948 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31949
31950         * config/unix-gdb.exp:  Add missing return 0.
31951
31952 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31953
31954         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
31955         test termination.
31956
31957 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
31958
31959         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
31960         disappeared.
31961
31962 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
31963
31964         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
31965         time as i860 support works.
31966
31967         * gdb.t15/funcargs.exp:  Fix expected outputs to include
31968         "backtrace 100\r" rather than just "backtrace\r", to match last
31969         change.
31970
31971 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
31972
31973         * config/udi-gdb.exp (gdb_exit): Remove close command.
31974         (gdb_target_udi): New procedure to set the UDI target.
31975         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
31976         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
31977         Added waits for prompts after several question responses.  Added
31978         some more responses used by a29k-amd-udi-gdb.
31979         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
31980         pass different arguments, restart UDI connection after program
31981         completion.
31982         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
31983         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31984         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
31985         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
31986         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
31987         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
31988         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31989         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
31990         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
31991         after program completion.
31992         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
31993         compiled with a SELECT_VECS setting.
31994         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
31995         infinite recursion.
31996
31997         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
31998         Added checks for COFF results, and made them expected failures for
31999         all targets.  It would be better to make them expected failures
32000         for COFF targets only.
32001
32002 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
32003
32004         * Makefile.in: add null dvi target, don't bother to recurse
32005         through test directories for info and install-info; rename
32006         $(datadir) to be dejagnu instead of deja-gnu
32007
32008 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
32009
32010         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
32011         compiler to coredump.
32012         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
32013         code.
32014
32015 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
32016
32017         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
32018         coredump.
32019         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
32020         code.
32021
32022 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
32023
32024         * gdb.t03/ptype.exp: tests for return code from gdb_test.
32025         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32026         which in a shell. Deletes xgdb when done.
32027         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32028         Tests the return from the "set height" or "set width" commands.
32029         Added a few return codes where needed.
32030
32031 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
32032
32033         * Makefile.in (SUBDIRS):  Add gdb.t17.
32034         * configure.in (subdirs):  Add gdb.t17.
32035         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
32036         files to test gdb's calling of functions in the inferior with
32037         the correct arguments and gdb's ability to retrieve any
32038         result returned.
32039
32040 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
32041
32042         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
32043         may be called after gdb goes away.  Previous versions of expect
32044         needed these to avoid file descriptor leaks, but they cause
32045         errors with the current revision of expect.
32046         * gdb.t00/gdbvars.exp:  Use -re on expected output after
32047         setting sevenbit-strings.
32048         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
32049         to set sevenbit-strings consistent across tests.
32050         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
32051         set sevenbit-strings consistent across tests.
32052
32053 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
32054
32055         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
32056         expected output to match current "expect" expectations.
32057
32058 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
32059
32060         * gdb.t00/default.exp:  Change expected output for default "source"
32061         command, to match new gdb behavior which requires a filename to
32062         source.
32063
32064 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
32065
32066         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
32067         expected fail for i486-*-* that misses the marker2 function.
32068         * gdb.t10/crossload.exp (bfddefault):  Allow successful
32069         recognition of a format to pass even if no symbols are found.
32070         Explicitly catch failures where the format is not recognized
32071         or is ambiguous, and add the reason to the fail message.
32072         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
32073         the cause is and invalid target and add reason to failure message.
32074         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
32075         elf32-i386, elf32-sparc, and elf32-i860.
32076         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32077         Set up expected failure for 'filename'::variable scope resolution,
32078         which is now apparently broken on all targets.
32079         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32080         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32081         gdb.t23/templates.exp:   Change failure for missing binfile into
32082         just a warning.
32083         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
32084         references.
32085
32086 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
32087
32088         * gdb.t00/default.exp:  Add expected output for default "source"
32089         command, to match new gdb behavior.
32090         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
32091
32092 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
32093
32094         * config/*-gdb.exp: returns an error, rather than exiting on
32095         internal errors.
32096
32097 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
32098
32099         * gdb.t03/gdbme.c:  Add pointer to struct variable.
32100         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
32101         referencing struct members.
32102
32103 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
32104
32105         * configure.in (mips-idt-ecoff): New target.
32106         * config/mips-gdb.exp: New file for remote board using MIPS remote
32107         debugging protocol.
32108
32109         * Redid configuration scheme.  Removed gdb.t*/configure.in.
32110         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
32111         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
32112         distclean targets.  Built executables via .o files.  Adjusted
32113         tests to account for source files in $(srcdir) rather than
32114         $(objdir).
32115         * lib/gdb.exp (runto): Don't expect () after the function name,
32116         because it may have arguments.
32117
32118 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
32119
32120         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32121         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32122         expected failures for mips-idt-* and mips-sgi-*.
32123         * gdb.t00/default.exp (attach): Kill process if requested.
32124         * gdb.t00/help.exp (help target core, help target): Accept a gdb
32125         that does not read core files.
32126         * gdb.t01/run.exp: Removed checks for exit status code.
32127         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32128         it is linked in.
32129         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32130         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32131         appropriate, rather than doing it by hand.
32132         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32133         execution.
32134         * gdb.t10/crossload.exp: Kill existing program if needed.
32135         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32136         appropriate, rather than doing it by hand.  Always increase
32137         timeout for this test, not just for VxWorks.
32138
32139 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
32140
32141         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
32142         of Chill STRUCT types and STRUCT values.
32143         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
32144         than "char".
32145         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32146         struct2):  New struct definitions and initializations to test
32147         simple Chill STRUCT types.
32148
32149 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
32150
32151         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
32152         the null byte at the end of strings.
32153         * gdb.t00/default.exp:  Make show version insensitive to copyright
32154         date.
32155         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
32156         to avoid dependencies on target char signedness.
32157         * gdb.t16/printcmds.exp:  Update expected results for explicitly
32158         unsigned char.
32159         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
32160         now work.
32161         * gdb.t21/demangle.exp:  Add many more patterns for template
32162         demangling, most of them being expected failures.
32163         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
32164         string we are matching for, to match on the whole string.
32165         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
32166         and fix a whole bunch that had incorrect expected output but were
32167         passing anyway because of the bug in "proc demangle".
32168         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
32169         type.
32170         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
32171
32172 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
32173
32174         * gdb/testsuite: made modifications to testcases, etc., to allow
32175         them to work properly  given the reorganization of deja-gnu and the
32176         relocation of the testcases from deja-gnu to a "tool" subdirectory.
32177
32178 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
32179
32180         * gdb/testsuite: Initial creation of gdb/testsuite.
32181         Migrated dejagnu testcases and support files for testing nm to
32182         gdb/testsuite from deja-gnu.  These files were moved "as is"
32183         with no modifications.  This migration is part of a major overhaul
32184         of dejagnu.  The modifications to these testcases, etc., which
32185         will allow them to work with the new version of dejagnu will be
32186         made in a future update.
32187
32188  For additional changes see gdb.mi/ChangeLog-1999-2003.
32189 \f
32190 ;; Local Variables:
32191 ;; mode: change-log
32192 ;; left-margin: 8
32193 ;; fill-column: 74
32194 ;; version-control: never
32195 ;; End:
32196
32197     Copyright 1993-2013 Free Software Foundation, Inc.
32198   Copying and distribution of this file, with or without modification,
32199   are permitted provided the copyright notice and this notice are preserved.