ac575b53310203c28bc67bf64f06a852483c6aee
[platform/upstream/binutils.git] / gdb / testsuite / ChangeLog
1 2013-08-13  Tom Tromey  <tromey@redhat.com>
2             Yao Qi  <yao@codesourcery.com>
3
4         * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
5         * lib/gdb.exp: Handle GDB_PARALLEL.
6         (default_gdb_version): Kill inotify_pid if it exists.
7         (default_gdb_exit): Emit warning if the inotify log is not
8         empty.
9         (standard_output_file): Respect GDB_PARALLEL.
10         (standard_temp_file): Likewise.
11         (gdb_init): Start inotifywait if requested.
12
13 2013-08-13  Andrew Burgess  <aburgess@broadcom.com>
14
15         * gdb.base/printcmds.exp (test_printf): Add test for printf of
16         pointer with various flags.
17
18 2013-08-13  Tom Tromey  <tromey@redhat.com>
19
20         * lib/cache.exp: New file.
21         * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
22         * lib/gdb.exp: Load cache.exp.
23         (support_complex_tests, is_ilp32_target, is_lp64_target)
24         (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
25         (gdb_skip_xml_test): Use gdb_caching_proc.
26         * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
27
28 2013-08-13  Tom Tromey  <tromey@redhat.com>
29
30         * lib/gdb.exp (standard_temp_file): New proc.
31         (support_complex_tests, is_ilp32_target, is_lp64_target)
32         (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
33         standard_temp_file.
34
35 2013-08-13  Tom Tromey  <tromey@redhat.com>
36
37         * lib/gdb.exp (build_id_debug_filename_get): Use
38         standard_output_file.
39         * lib/prelink-support.exp (section_get)
40         (build_executable_own_libs): Use standard_output_file.
41
42 2013-08-12  Tom Tromey  <tromey@redhat.com>
43
44         * Makefile.in (ALL_SUBDIRS): Add gdb.go.
45
46 2013-08-12  Ali Anwar  <alianwar@codesourcery.com>
47
48         * gdb.base/break.exp: Test break via convenience variable
49         with file name.
50
51 2013-08-09  Doug Evans  <dje@google.com>
52
53         * lib/future.exp (gdb_find_ldd): New proc.
54         * lib/prelink-support.exp (build_executable_own_libs): Call it.
55         Make "/usr/sbin/" in prelink path optional.
56
57 2013-08-09  Yao Qi  <yao@codesourcery.com>
58
59         * gdb.trace/collection.exp (gdb_collect_args_test): Set
60         "only" and "both" to 'print entry-values' before selecting
61         trace frame.
62
63 2013-08-08  Yao Qi  <yao@codesourcery.com>
64
65         * gdb.trace/mi-trace-unavailable.exp: Don't set
66         "print entry-values" to "no".
67         (test_trace_unavailable): Set various values to
68         "print entry-values" to test that the output of
69         '-stack-list-locals' is not affected, and then set
70         set "print entry-values" to "no".
71
72 2013-08-07  Doug Evans  <dje@google.com>
73
74         * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
75         * gdb.python/py-value-cc.exp: Update.
76         * gdb.python/py-value.exp: Use different names for .o files for
77         C and C++.  Only perform C++ tests if !skip_cplus_tests.
78
79 2013-08-07  Tom Tromey  <tromey@redhat.com>
80
81         * gdb.base/maint.exp: Allow zero symtabs to be expanded.
82
83 2013-08-07  Tom Tromey  <tromey@redhat.com>
84
85         * gdb.dwarf2/dwz.exp: New file.
86
87 2013-08-02  Tom Tromey  <tromey@redhat.com>
88
89         * gdb.base/watchpoint.c (struct foo5): New.
90         (nullptr): New global.
91         * gdb.base/watchpoint.exp (test_watch_location): Add test.
92
93 2013-08-01  Doug Evans  <dje@google.com>
94
95         PR symtab/15691
96         * gdb.dwarf2/fission-mix.exp: New file.
97         * gdb.dwarf2/fission-mix.h: New file.
98         * gdb.dwarf2/fission-mix.c: New file.
99         * gdb.dwarf2/fission-mix2.c: New file.
100
101         PR symtab/15695
102         * gdb.base/func-ptr.exp: New file.
103         * gdb.base/func-ptr.c: New file.
104
105 2013-08-01  Yao Qi  <yao@codesourcery.com>
106
107         * gdb.python/py-sync-interp.c: New.
108         * gdb.python/py-sync-interp.exp: New.
109
110 2013-07-31  Yao Qi  <yao@codesourcery.com>
111
112         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
113         'tdump' on stack frame 0 and 1 respectively.
114
115 2013-07-31  Yao Qi  <yao@codesourcery.com>
116
117         PR gdb/13443
118         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
119         'traceframe'.  Wrap test with with_test_prefix.
120         (top level): Update.
121
122 2013-07-31  Yao Qi  <yao@codesourcery.com>
123
124         * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
125         'gdb_start'.
126         Invoke 'prepare_for_testing' instead of 'gdb_compile'.
127         Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
128
129 2013-07-30  Andrew Burgess  <aburgess@broadcom.com>
130
131         * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
132         when printing an optimized out value.  Expect an error when using
133         an optimized out value in an expression.
134
135 2013-07-30  Andrew Burgess  <aburgess@broadcom.com>
136
137         * gdb.dwarf2/pieces-optimized-out.exp: New file.
138         * gdb.dwarf2/pieces-optimized-out.c: New file.
139         * gdb.dwarf2/pieces-optimized-out.S: New file.
140
141 2013-07-30  Muhammad Bilal  <mbilal@codesourcery.com>
142
143         PR gdb/15715
144         * gdb.base/setshow.exp: Test that relative paths passed to
145         'set history filename' are converted to absolute paths.
146
147 2013-07-26  Keith Seitz  <keiths@redhat.com>
148
149         * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
150         of f77.
151         Allow for compiler variations of integer types.
152         Use mi_create_varobj.
153         Use mi_list_varobj_children for the immediate children of `array'.
154         Add "has_more" attribute for grandchildren test.
155
156 2013-07-26  Pedro Alves  <palves@redhat.com>
157
158         * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
159         files.
160
161 2013-07-25  Andrew Burgess  <aburgess@broadcom.com>
162
163         * gdb.mi/mi-reg-undefined.exp: New file.
164         * gdb.mi/mi-reg-undefined.c: Likewise.
165         * gdb.mi/mi-reg-undefined.S: Likewise.
166
167 2013-07-25  Andrew Burgess  <aburgess@broadcom.com>
168
169         * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
170         z, o, and t output formats.
171         * gdb.base/display.exp: Use 'k' as an undefined format now that
172         'z' is defined.
173
174 2013-07-24  Doug Evans  <dje@google.com>
175
176         * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
177         "--" to switch.
178
179 2013-07-24  Yao Qi  <yao@codesourcery.com>
180
181         * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
182         host.
183         * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
184         Likewise.  If host is remote, copy ${binfile} to host.
185
186 2013-07-23  Yao Qi  <yao@codesourcery.com>
187
188         * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
189         message.
190
191 2013-07-19  Omair Javaid  <Omair.Javaid@linaro.org>
192
193         * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
194         instructions and enable disp-step-syscall for arm targets.
195
196 2013-07-19  Omair Javaid  <Omair.Javaid@linaro.org>
197
198         * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
199         assembler errors on arm.
200         * gdb.dwarf2/mac-fileno.S: Likewise.
201         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
202         * gdb.dwarf2/pr13961.S: Likewise.
203
204 2013-07-19  Hui Zhu  <hui@codesourcery.com>
205
206         PR gdb/15692
207         * gdb.mi/mi-dprintf.exp: Add double quotes test.
208
209 2013-07-19  Yao Qi  <yao@codesourcery.com>
210
211         * gdb.trace/read-memory.exp (test_from_remote): Update test.
212         (teset_from_exec): Likewise.
213
214 2013-07-19  Yao Qi  <yao@codesourcery.com>
215
216         * gdb.trace/read-memory.c: New.
217         * gdb.trace/read-memory.exp: New.
218
219 2013-07-19  Yao Qi  <yao@codesourcery.com>
220
221         * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
222         $dest to link options if host is remote.  Move the
223         generated file to $dest.a on host if host is remote.
224
225 2013-07-18  Will Newton  <will.newton@linaro.org>
226
227         * gdb.threads/tls-nodebug.c: Call pthread_testcancel
228         to ensure the test is linked against pthreads.
229         * gdb.threads/tls-var-main.c: Likewise.
230         * gdb.threads/tls-shared.c: Likewise.
231
232 2013-07-18  Yao Qi  <yao@codesourcery.com>
233
234         * lib/future.exp (gdb_default_target_compile): Use tail name
235         of $destfile as the output name of compile.  Move the
236         generated file to $destfile on build.
237
238 2013-07-18  Yao Qi  <yao@codesourcery.com>
239
240         * lib/gdb.exp (gdb_compile): Set
241         gdb_saved_set_unbuffered_mode_obj to
242         set_unbuffered_mode_saved.o if host is remote.  Invoke
243         remote_download to copy $unbuf_obj to host.
244
245 2013-07-17  Doug Evans  <dje@google.com>
246
247         * gdb.python/py-frame-args.c: New file.
248         * gdb.python/py-frame-args.py: New file.
249         * gdb.python/py-frame-args.exp New file.
250
251 2013-07-16  Andrew Burgess  <aburgess@broadcom.com>
252
253         * gdb.base/printcmds.exp (test_printf): Add tests for format
254         strings with missing format specifier.
255
256 2013-07-16  Tom Tromey  <tromey@redhat.com>
257
258         * gdb.ada/info_types.exp: Use standard_testfile.
259
260 2013-07-16  Tom Tromey  <tromey@redhat.com>
261
262         * gdb.mi/mi-basics.exp: Use standard_output_file.
263         (test_dir_specification, test_cwd_specification)
264         (test_path_specification): Use testsubdir, not subdir and objdir.
265
266 2013-07-16  Tom Tromey  <tromey@redhat.com>
267
268         * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
269
270 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
271
272         * gdb.ada/small_reg_param.exp: Accept optional entry value
273         for parameter "w".
274
275 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
276
277         * gdb.ada/small_reg_param.exp: Remove trailing space.
278
279 2013-07-09  Doug Evans  <dje@google.com>
280
281         * gdb.base/default.exp: Update expected output of "show print array"
282         and "show print pretty".
283
284 2013-07-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
285
286         * gdb.threads/wp-replication.exp: Stop counting available hardware
287         watchpoints after NR_THREADS iterations.
288
289 2013-07-08  Andrew Burgess  <aburgess@broadcom.com>
290
291         * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
292
293 2013-07-07  Yao Qi  <yao@codesourcery.com>
294
295         * boards/native-gdbserver.exp: Move invoke of
296         process_multilib_options to gdbserver-base.exp.
297         Move set_board_info 'compiler', 'gdb,noinferiorio',
298         'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
299         gdbserver-base.exp.
300         Move proc ${board}_download, ${board}_upload and
301         ${board}_file to gdbserver-base.exp.
302         * boards/native-extended-gdbserver.exp: Likewise.
303         * boards/native-stdio-gdbserver.exp: Likewise.
304         * boards/gdbserver-base.exp: New file.
305
306 2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
307
308         * gdb.base/dump.exp: Remove arch-specific tests and do a
309         generic data address check to set is64bitonly correctly.
310
311 2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
312
313         * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
314         the register number instead of expecting only 0.
315
316 2013-07-05  Will Newton  <will.newton@linaro.org>
317
318         * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
319         in asm syntax to allow building on ARM.
320
321 2013-07-05  Yao Qi  <yao@codesourcery.com>
322
323         * boards/local-remote-host.exp: Remove obsolete comments.
324         * boards/native-extended-gdbserver.exp: Likewise.
325         * boards/native-gdbserver.exp: Likewise.
326         * boards/native-stdio-gdbserver.exp: Likewise.
327
328 2013-07-04  Andrew Burgess  <aburgess@broadcom.com>
329
330         * gdb.dwarf2/dw2-reg-undefined.exp: New file.
331         * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
332         * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
333
334 2013-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
335
336         * gdb.base/break-on-linker-gcd-function.exp: Replace
337         prepare_for_testing by build_executable_from_specs and clean_restart.
338
339 2013-06-27  Tom Tromey  <tromey@redhat.com>
340
341         * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
342         gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
343         gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
344         gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
345         gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
346         gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
347         gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
348         gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
349         gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
350         gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
351         gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
352         Use standard_testfile, standard_output_file, prepare_for_testing,
353         clean_restart.
354
355 2013-06-27  Tom Tromey  <tromey@redhat.com>
356
357         * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
358         gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
359         gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
360         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
361         gdb.base/shreloc.exp, gdb.base/sigall.exp,
362         gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
363         gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
364         gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
365         gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
366         gdb.base/signull.exp, gdb.base/sigrepeat.exp,
367         gdb.base/sigstep.exp, gdb.base/sizeof.exp,
368         gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
369         gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
370         gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
371         gdb.base/solib-weak.exp, gdb.base/source.exp,
372         gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
373         gdb.base/stap-probe.exp, gdb.base/start.exp,
374         gdb.base/step-break.exp, gdb.base/step-bt.exp,
375         gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
376         gdb.base/step-test.exp, gdb.base/structs.exp,
377         gdb.base/structs2.exp, gdb.base/structs3.exp,
378         gdb.base/symbol-without-target_section.exp: Use standard_testfile,
379         standard_output_file, prepare_for_testing, clean_restart.
380
381 2013-06-27  Tom Tromey  <tromey@redhat.com>
382
383         * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
384         gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
385         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
386         gdb.base/pending.exp, gdb.base/permissions.exp,
387         gdb.base/pie-execl.exp, gdb.base/pointers.exp,
388         gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
389         gdb.base/printcmds.exp, gdb.base/prologue.exp,
390         gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
391         gdb.base/ptype.exp, gdb.base/randomize.exp,
392         gdb.base/readline-ask.exp, gdb.base/recpar.exp,
393         gdb.base/recurse.exp, gdb.base/relativedebug.exp,
394         gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
395         gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
396         standard_testfile, standard_output_file, prepare_for_testing,
397         clean_restart.
398
399 2013-06-27  Tom Tromey  <tromey@redhat.com>
400
401         * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
402         gdb.base/huge.exp, gdb.base/included.exp,
403         gdb.base/inferior-died.exp, gdb.base/infnan.exp,
404         gdb.base/info-fun.exp, gdb.base/info-macros.exp,
405         gdb.base/info-os.exp, gdb.base/info-proc.exp,
406         gdb.base/info-target.exp, gdb.base/infoline.exp,
407         gdb.base/interp.exp, gdb.base/interrupt.exp,
408         gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
409         gdb.base/kill-after-signal.exp, gdb.base/label.exp,
410         gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
411         gdb.base/logical.exp, gdb.base/long_long.exp,
412         gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
413         gdb.base/memattr.exp, gdb.base/mips_pro.exp,
414         gdb.base/miscexprs.exp, gdb.base/morestack.exp,
415         gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
416         standard_testfile, standard_output_file, prepare_for_testing,
417         clean_restart.
418
419 2013-06-27  Tom Tromey  <tromey@redhat.com>
420
421         * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
422         gdb.base/enumval.exp, gdb.base/environ.exp,
423         gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
424         gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
425         gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
426         gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
427         gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
428         gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
429         gdb.base/fullname.exp, gdb.base/funcargs.exp,
430         gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
431         gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
432         gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
433         gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
434         gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
435         gdb.base/gnu_vector.exp: Use standard_testfile,
436         standard_output_file, prepare_for_testing, clean_restart.
437
438 2013-06-27  Tom Tromey  <tromey@redhat.com>
439
440         * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
441         gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
442         gdb.base/call-strs.exp, gdb.base/callexit.exp,
443         gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
444         gdb.base/catch-syscall.exp, gdb.base/charset.exp,
445         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
446         gdb.base/code-expr.exp, gdb.base/code_elim.exp,
447         gdb.base/commands.exp, gdb.base/completion.exp,
448         gdb.base/complex.exp, gdb.base/cond-expr.exp,
449         gdb.base/condbreak.exp, gdb.base/consecutive.exp,
450         gdb.base/constvars.exp, gdb.base/corefile.exp,
451         gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
452         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
453         gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
454         gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
455         gdb.base/dup-sect.exp: Use standard_testfile,
456         standard_output_file, prepare_for_testing, clean_restart.
457
458 2013-06-27  Tom Tromey  <tromey@redhat.com>
459
460         * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
461         gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
462         gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
463         gdb.base/async-shell.exp, gdb.base/async.exp,
464         gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
465         gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
466         gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
467         gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
468         gdb.base/break-entry.exp, gdb.base/break-interp.exp,
469         gdb.base/break-on-linker-gcd-function.exp,
470         gdb.base/breakpoint-shadow.exp: Use standard_testfile,
471         standard_output_file, prepare_for_testing, clean_restart.
472
473 2013-06-26  Yao Qi  <yao@codesourcery.com>
474
475         * gdb.trace/mi-trace-frame-collected.exp: New.
476
477 2013-06-25  Yao Qi  <yao@codesourcery.com>
478
479         * boards/native-extended-gdbserver.exp: Set board_info
480         'gdb,predefined_tsv'.
481         * boards/native-gdbserver.exp: Likewise.
482         * boards/native-stdio-gdbserver.exp: Likewise.
483         * gdb.server/ext-attach.exp: Load trace-support.exp.  Check
484         uploaded TSVs if target supports tracing.
485         * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
486         tracing and target has predefined tsv.
487
488 2013-06-25  Yao Qi  <yao@codesourcery.com>
489             Hui Zhu  <hui@codesourcery.com>
490             Pedro Alves  <palves@redhat.com>
491
492         PR breakpoints/15075
493         PR breakpoints/15434
494         * gdb.base/dprintf-next.c: New file.
495         * gdb.base/dprintf-next.exp: New file.
496         * gdb.base/dprintf-non-stop.c: New file.
497         * gdb.base/dprintf-non-stop.exp: New file.
498         * gdb.base/dprintf.exp: Don't check "continue" in the output
499         of "info breakpoints".
500         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
501         Don't check "continue" in script field.
502
503 2013-06-21  Tom Tromey  <tromey@redhat.com>
504
505         * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
506         name in a test name.
507
508 2013-06-20  Yao Qi  <yao@codesourcery.com>
509
510         * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
511         and set an action.
512         (test_trace_unavailable): Test command -data-list-register-values
513         in the context of traceframe and with option --skip-unavailable.
514         * gdb.trace/trace-unavailable.c (foo): New.
515         (main): Call it.
516         * gdb.mi/gdb2549.exp: Update matching pattern.
517
518 2013-06-19  Mike Frysinger  <vapier@gentoo.org>
519
520         * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
521         * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
522         * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
523         * gdb.arch/i386-sse.c: Call new i386_cpuid function.
524         * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
525
526 2013-06-19  Luis Machado  <lgustavo@codesourcery.com>
527
528         * gdb.base/subst.exp: Delete default rules before further
529         tests.
530
531 2013-06-19  Yao Qi  <yao@codesourcery.com>
532
533         * gdb.base/maint.exp: Make the test to command 'maint dump-me'
534         unsupported if it is not registered.
535
536 2013-06-18  Tom Tromey  <tromey@redhat.com>
537
538         * gdb.base/random-signal.c: New file.
539         * gdb.base/random-signal.exp: New file.
540
541 2013-06-18  Will Newton  <will.newton@linaro.org>
542
543         * gdb.base/skip.c: Use comma to evaluate results of foo()
544         and bar() before passing to baz().
545         * gdb.base/skip.c: baz() now takes one argument instead of
546         two.
547
548 2013-06-18  Tom Tromey  <tromey@redhat.com>
549
550         * gdb.dwarf2/implptrpiece.exp: New file.
551         * gdb.dwarf2/implptrconst.exp (d): New variable.
552         Print d.
553         * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
554
555 2013-06-18  Tom Tromey  <tromey@redhat.com>
556
557         * lib/selftest-support.exp (do_self_tests): Reject remote or
558         non-native targets.
559         * gdb.gdb/complaints.exp: Remove check.
560         * gdb.gdb/observer.exp: Remove check.
561         * gdb.gdb/xfullpath.exp: Remove check.
562         * gdb.gdb/complaints.exp: Remove check.
563
564 2013-06-07  Pedro Alves  <palves@redhat.com>
565
566         * boards/native-extended-gdbserver.exp: Remove semicolon.
567         * config/arm-ice.exp: Likewise.
568         * config/bfin.exp: Likewise.
569         * config/cygmon.exp: Likewise.
570         * config/h8300.exp: Likewise.
571         * config/monitor.exp: Likewise.
572         * config/sid.exp: Likewise.
573         * config/sim.exp: Likewise.
574         * config/slite.exp: Likewise.
575         * config/vx.exp: Likewise.
576         * gdb.arch/i386-bp_permanent.exp: Likewise.
577         * gdb.asm/asm-source.exp: Likewise.
578         * gdb.base/args.exp: Likewise.
579         * gdb.base/attach-pie-misread.exp: Likewise.
580         * gdb.base/auxv.exp: Likewise.
581         * gdb.base/bigcore.exp: Likewise.
582         * gdb.base/bitfields2.exp: Likewise.
583         * gdb.base/bitfields.exp: Likewise.
584         * gdb.base/break.exp: Likewise.
585         * gdb.base/break-interp.exp: Likewise.
586         * gdb.base/callfuncs.exp: Likewise.
587         * gdb.base/call-sc.exp: Likewise.
588         * gdb.base/commands.exp: Likewise.
589         * gdb.base/corefile.exp: Likewise.
590         * gdb.base/dbx.exp: Likewise.
591         * gdb.base/ending-run.exp: Likewise.
592         * gdb.base/exprs.exp: Likewise.
593         * gdb.base/funcargs.exp: Likewise.
594         * gdb.base/hbreak2.exp: Likewise.
595         * gdb.base/huge.exp: Likewise.
596         * gdb.base/list.exp: Likewise.
597         * gdb.base/memattr.exp: Likewise.
598         * gdb.base/overlays.exp: Likewise.
599         * gdb.base/printcmds.exp: Likewise.
600         * gdb.base/recurse.exp: Likewise.
601         * gdb.base/remotetimeout.exp: Likewise.
602         * gdb.base/reread.exp: Likewise.
603         * gdb.base/savedregs.exp: Likewise.
604         * gdb.base/scope.exp: Likewise.
605         * gdb.base/sepdebug.exp: Likewise.
606         * gdb.base/setshow.exp: Likewise.
607         * gdb.base/setvar.exp: Likewise.
608         * gdb.base/sigaltstack.exp: Likewise.
609         * gdb.base/siginfo-addr.exp: Likewise.
610         * gdb.base/siginfo.exp: Likewise.
611         * gdb.base/siginfo-obj.exp: Likewise.
612         * gdb.base/sigrepeat.exp: Likewise.
613         * gdb.base/sigstep.exp: Likewise.
614         * gdb.base/structs.exp: Likewise.
615         * gdb.base/testenv.exp: Likewise.
616         * gdb.base/twice.exp: Likewise.
617         * gdb.base/valgrind-db-attach.exp: Likewise.
618         * gdb.base/valgrind-infcall.exp: Likewise.
619         * gdb.base/varargs.exp: Likewise.
620         * gdb.base/watchpoint.exp: Likewise.
621         * gdb.cp/gdb1355.exp: Likewise.
622         * gdb.cp/misc.exp: Likewise.
623         * gdb.disasm/hppa.exp: Likewise.
624         * gdb.disasm/t01_mov.exp: Likewise.
625         * gdb.disasm/t02_mova.exp: Likewise.
626         * gdb.disasm/t03_add.exp: Likewise.
627         * gdb.disasm/t04_sub.exp: Likewise.
628         * gdb.disasm/t05_cmp.exp: Likewise.
629         * gdb.disasm/t06_ari2.exp: Likewise.
630         * gdb.disasm/t07_ari3.exp: Likewise.
631         * gdb.disasm/t08_or.exp: Likewise.
632         * gdb.disasm/t09_xor.exp: Likewise.
633         * gdb.disasm/t10_and.exp: Likewise.
634         * gdb.disasm/t11_logs.exp: Likewise.
635         * gdb.disasm/t12_bit.exp: Likewise.
636         * gdb.disasm/t13_otr.exp: Likewise.
637         * gdb.gdb/selftest.exp: Likewise.
638         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
639         * gdb.mi/mi-reverse.exp: Likewise.
640         * gdb.pascal/floats.exp: Likewise.
641         * gdb.python/py-inferior.exp: Likewise.
642         * gdb.threads/attach-into-signal.exp: Likewise.
643         * gdb.threads/pthreads.exp: Likewise.
644         * gdb.threads/thread_events.exp: Likewise.
645         * gdb.threads/watchthreads.exp: Likewise.
646         * gdb.trace/actions-changed.exp: Likewise.
647         * gdb.trace/actions.exp: Likewise.
648         * gdb.trace/ax.exp: Likewise.
649         * gdb.trace/backtrace.exp: Likewise.
650         * gdb.trace/change-loc.exp: Likewise.
651         * gdb.trace/deltrace.exp: Likewise.
652         * gdb.trace/disconnected-tracing.exp: Likewise.
653         * gdb.trace/ftrace.exp: Likewise.
654         * gdb.trace/infotrace.exp: Likewise.
655         * gdb.trace/passc-dyn.exp: Likewise.
656         * gdb.trace/passcount.exp: Likewise.
657         * gdb.trace/pending.exp: Likewise.
658         * gdb.trace/qtro.exp: Likewise.
659         * gdb.trace/range-stepping.exp: Likewise.
660         * gdb.trace/report.exp: Likewise.
661         * gdb.trace/save-trace.exp: Likewise.
662         * gdb.trace/status-stop.exp: Likewise.
663         * gdb.trace/strace.exp: Likewise.
664         * gdb.trace/tfile.exp: Likewise.
665         * gdb.trace/tfind.exp: Likewise.
666         * gdb.trace/trace-break.exp: Likewise.
667         * gdb.trace/tracecmd.exp: Likewise.
668         * gdb.trace/trace-mt.exp: Likewise.
669         * gdb.trace/tspeed.exp: Likewise.
670         * gdb.trace/tsv.exp: Likewise.
671         * gdb.trace/while-stepping.exp: Likewise.
672         * lib/gdb.exp: Likewise.
673         * lib/gdbserver-support.exp: Likewise.
674         * lib/java.exp: Likewise.
675         * lib/mi-support.exp: Likewise.
676         * lib/pascal.exp: Likewise.
677         * lib/prompt.exp: Likewise.
678         * lib/trace-support.exp: Likewise.
679
680 2013-06-07  Pedro Alves  <palves@redhat.com>
681
682         * gdb.ada/info_types.c: Fix formating in copyright header.
683         * gdb.base/break-on-linker-gcd-function.cc: Likewise.
684         * gdb.base/float.c: Likewise.
685         * gdb.base/inferior-died.c: Likewise.
686         * gdb.base/interp.c: Likewise.
687         * gdb.base/jit-main.c: Likewise.
688         * gdb.base/jit-solib.c: Likewise.
689         * gdb.base/long_long.c: Likewise.
690         * gdb.base/longjmp.c: Likewise.
691         * gdb.base/nextoverexit.c: Likewise.
692         * gdb.base/pr11022.c: Likewise.
693         * gdb.base/prelink-lib.c: Likewise.
694         * gdb.base/prelink.c: Likewise.
695         * gdb.base/prologue.c: Likewise.
696         * gdb.base/restore.c: Likewise.
697         * gdb.base/sigchld.c: Likewise.
698         * gdb.base/solib-search-lib1.c: Likewise.
699         * gdb.base/solib-search-lib2.c: Likewise.
700         * gdb.base/solib-search.c: Likewise.
701         * gdb.base/solib-search.h: Likewise.
702         * gdb.base/whatis.c: Likewise.
703         * gdb.cp/abstract-origin.cc: Likewise.
704         * gdb.cp/anon-struct.cc: Likewise.
705         * gdb.cp/baseenum.cc: Likewise.
706         * gdb.cp/bs15503.cc: Likewise.
707         * gdb.cp/call-c-1.c: Likewise.
708         * gdb.cp/call-c.cc: Likewise.
709         * gdb.cp/class2.cc: Likewise.
710         * gdb.cp/classes.cc: Likewise.
711         * gdb.cp/cttiadd.cc: Likewise.
712         * gdb.cp/cttiadd1.cc: Likewise.
713         * gdb.cp/cttiadd2.cc: Likewise.
714         * gdb.cp/cttiadd3.cc: Likewise.
715         * gdb.cp/derivation.cc: Likewise.
716         * gdb.cp/derivation2.cc: Likewise.
717         * gdb.cp/dispcxx.cc: Likewise.
718         * gdb.cp/exception.cc: Likewise.
719         * gdb.cp/gdb2384-base.cc: Likewise.
720         * gdb.cp/gdb2384-base.h: Likewise.
721         * gdb.cp/gdb2384.cc: Likewise.
722         * gdb.cp/gdb2495.cc: Likewise.
723         * gdb.cp/mb-inline.h: Likewise.
724         * gdb.cp/mb-inline1.cc: Likewise.
725         * gdb.cp/mb-inline2.cc: Likewise.
726         * gdb.cp/member-name.cc: Likewise.
727         * gdb.cp/member-ptr.cc: Likewise.
728         * gdb.cp/misc.cc: Likewise.
729         * gdb.cp/namespace1.cc: Likewise.
730         * gdb.cp/nextoverthrow.cc: Likewise.
731         * gdb.cp/pr-574.cc: Likewise.
732         * gdb.cp/pr9631.cc: Likewise.
733         * gdb.cp/printmethod.cc: Likewise.
734         * gdb.cp/psmang1.cc: Likewise.
735         * gdb.cp/psmang2.cc: Likewise.
736         * gdb.cp/psymtab-parameter.cc: Likewise.
737         * gdb.cp/ptype-flags.cc: Likewise.
738         * gdb.cp/ref-params.cc: Likewise.
739         * gdb.cp/ref-types.cc: Likewise.
740         * gdb.cp/smartp.cc: Likewise.
741         * gdb.cp/try_catch.cc: Likewise.
742         * gdb.cp/userdef.cc: Likewise.
743         * gdb.cp/using-crash.cc: Likewise.
744         * gdb.cp/virtfunc.cc: Likewise.
745         * gdb.cp/virtfunc2.cc: Likewise.
746         * gdb.dwarf2/callframecfa.S: Likewise.
747         * gdb.dwarf2/dw2-ranges.c: Likewise.
748         * gdb.dwarf2/dw2-ranges2.c: Likewise.
749         * gdb.dwarf2/dw2-ranges3.c: Likewise.
750         * gdb.dwarf2/dw2-restore.S: Likewise.
751         * gdb.dwarf2/pieces.S: Likewise.
752         * gdb.dwarf2/valop.S: Likewise.
753         * gdb.java/jnpe.java: Likewise.
754         * gdb.mi/mi-stepn.c: Likewise.
755         * gdb.mi/mi-var-cp.cc: Likewise.
756         * gdb.mi/mi-var-rtti.cc: Likewise.
757         * gdb.mi/ns-stale-regcache.c: Likewise.
758         * gdb.mi/pr11022.c: Likewise.
759         * gdb.mi/solib-lib.c: Likewise.
760         * gdb.mi/solib-main.c: Likewise.
761         * gdb.python/py-arch.c: Likewise.
762         * gdb.python/py-block.c: Likewise.
763         * gdb.python/py-breakpoint.c: Likewise.
764         * gdb.python/py-events.c: Likewise.
765         * gdb.python/py-evthreads.c: Likewise.
766         * gdb.python/py-explore.c: Likewise.
767         * gdb.python/py-explore.cc: Likewise.
768         * gdb.python/py-finish-breakpoint.c: Likewise.
769         * gdb.python/py-finish-breakpoint2.cc: Likewise.
770         * gdb.python/py-symbol.c: Likewise.
771         * gdb.threads/execl.c: Likewise.
772         * gdb.threads/execl1.c: Likewise.
773
774 2013-06-07  Will Newton  <will.newton@linaro.org>
775
776         * gdb.base/long_long.exp: Fix ARM EABI target glob.
777
778 2013-06-07  Will Newton  <will.newton@linaro.org>
779
780         * gdb.cp/annota2.exp: Add empty line between "post-prompt"
781         and "starting".
782
783 2013-06-07  Will Newton  <will.newton@linaro.org>
784
785         * gdb.cp/anon-struct.exp: Conditionalize constructor and
786         destructor prototypes for ARM ABI.
787         * gdb.cp/m-static.exp: Likewise.
788
789 2013-06-07  Yao Qi  <yao@codesourcery.com>
790
791         * gdb.trace/mi-trace-unavailable.exp: New.
792         * gdb.trace/trace-unavailable.c: New.
793
794 2013-06-06  Doug Evans  <dje@google.com>
795
796         * gdb.cp/derivation.exp: Make tests have unique names.
797
798 2013-06-06  Tom Tromey  <tromey@redhat.com>
799
800         * gdb.base/dump.exp (capture_value): Don't put expression into
801         test name if arguments passed in.
802         Rename a couple more tests to make them unique.
803
804 2013-06-06  Tom Tromey  <tromey@redhat.com>
805
806         * gdb.base/break-always.exp: Explicitly specify test name.
807
808 2013-06-05  Doug Evans  <dje@google.com>
809             Keith Seitz  <keiths@redhat.com>
810
811         * gdb.cp/derivation2.cc: New file.
812         * gdb.cp/derivation.cc (main): Call foo2.
813         * gdb.cp/derivation.exp: Add tests for typedefs in another
814         file, and when there's an active block.
815
816 2013-06-05  Luis Machado  <lgustavo@codesourcery.com>
817
818         * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
819         from targets that use function descriptors in the virtual tables.
820         Handle presence of dot symbols.
821
822 2013-06-04  Gary Benson  <gbenson@redhat.com>
823
824         * gdb.base/break-probes.exp: New file.
825         * gdb.base/break-probes.c: Likewise.
826         * gdb.base/break-probes-solib.c: Likewise.
827         * gdb.base/info-shared.exp: New file.
828         * gdb.base/info-shared.c: Likewise.
829         * gdb.base/info-shared-solib1.c: Likewise.
830         * gdb.base/info-shared-solib2.c: Likewise.
831
832 2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
833             Gary Benson  <gbenson@redhat.com>
834
835         * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
836         gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
837         * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
838         to be set to "no" to indicate that no ld.so copy should be made.
839         * gdb.base/break-interp.exp (solib_bp): New constant.
840         (reach_1): Use the above instead of "_dl_debug_state".
841         (test_attach): Likewise.
842         (test_ld): Likewise.
843         * gdb.threads/dlopen-libpthread.exp: New file.
844         * gdb.threads/dlopen-libpthread.c: Likewise.
845         * gdb.threads/dlopen-libpthread-lib.c: Likewise.
846         * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
847
848 2013-05-30  Yao Qi  <yao@codesourcery.com>
849
850         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
851         Add a test that no MI notification is emitted when executing
852         -exec-arguments.
853
854 2013-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
855
856         PR testsuite/12649
857         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
858         $mi_gdb_prompt expectation by mi_expect_stop.
859         (mi 1st dprintf, agent, mi 2nd dprintf, agent)
860         (mi info dprintf second time): Replace them by mi_send_resuming_command
861         and mi_expect_stop.
862
863 2013-05-24  Gary Benson  <gbenson@redhat.com>
864
865         * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
866         backslash.
867         * gdb.base/unload.exp (exec_opts): Remove two unnecessary
868         backslashes.
869         * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
870         backslash.
871
872 2013-05-24  Yao Qi  <yao@codesourcery.com>
873
874         * gdb.trace/tfile.exp: Test inferior and thread.
875
876 2013-05-24  Yao Qi  <yao@codesourcery.com>
877             Pedro Alves  <palves@redhat.com>
878
879         * gdb.base/range-stepping.exp: Skip the rest of tests if the
880         test fails.
881         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
882         Return 0 if the test passes, otherwise return 1.
883
884 2013-05-23  Doug Evans  <dje@google.com>
885
886         * boards/fission-dwp.exp: New file.
887
888 2013-05-23  Yao Qi  <yao@codesourcery.com>
889             Pedro Alves  <palves@redhat.com>
890
891         * gdb.base/range-stepping.c: New file.
892         * gdb.base/range-stepping.exp: New file.
893         * gdb.trace/range-stepping.c: New file.
894         * gdb.trace/range-stepping.exp: New file.
895         * lib/range-stepping-support.exp: New file.
896
897 2013-05-22  Tom Tromey  <tromey@redhat.com>
898
899         * gdb.cp/class2.cc (main): New local 'aref'.
900         * gdb.cp/class2.exp: Check printing of 'aref'.
901
902 2013-05-22  Doug Evans  <dje@google.com>
903
904         * gdb.threads/wp-replication.c (main): Insert some code at the start
905         to ensure the breakpoint on main is only hit once.  Fix comment.
906
907 2013-05-21  Keith Seitz  <keiths@redhat.com>
908             Pedro Alves  <palves@redhat.com>
909
910         * gdb.base/filesym.exp: Use gdb_test_multiple instead of
911         gdb_expect.
912         Add test to flush the remaining input buffer so that this
913         file passes testsuite/12649.
914
915 2013-05-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
916
917         * gdb.base/catch-signal-fork.exp: New file.
918         * gdb.base/catch-signal-fork.c: New file.
919
920 2013-05-21  Sterling Augustine  <saugustine@google.com>
921
922         * boards/remote-stdio-gdbserver.exp: New file.
923
924 2013-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
925
926         PR testsuite/12649
927         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
928         racy matches.
929
930 2013-05-21  Christian Groessler  <chris@groessler.org>
931
932         * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
933         since it's not supported in all shells.
934
935 2013-05-21  Hui Zhu  <hui@codesourcery.com>
936
937         * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
938         * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
939
940 2013-05-20  Doug Evans  <dje@google.com>
941
942         * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
943         (_handle_DW_TAG): Use it.
944         (cu, tu): Replace parameters is_64, version, addr_size with options.
945         All callers updated.  Add Fission support.
946         * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
947         * gdb.dwarf2/method-ptr.exp: Ditto.
948         * gdb.dwarf2/nostaticblock.exp: Ditto.
949         * gdb.dwarf2/subrange.exp: Ditto.
950         * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
951
952 2013-05-20  Tom Tromey  <tromey@redhat.com>
953
954         * gdb.gdb/python-selftest.exp: New file.
955
956 2013-05-20  Doug Evans  <dje@google.com>
957
958         * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
959         -fdebug-types-section.
960
961 2013-05-20  Joel Brobecker  <brobecker@adacore.com>
962
963         * gdb.ada/float_param: New testcase.
964
965 2013-05-17  Doug Evans  <dje@google.com>
966
967         * gdb.base/maint.exp: Update test for "maint check-psymtabs".
968         Add tests for "maint check-symtabs", "maint expand-symtabs".
969
970         * gdb.base/maint.exp: Remove testing of individual maint command
971         help output.
972
973 2013-05-16  Pedro Alves  <palves@redhat.com>
974
975         * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
976         comment.  Use gdb_test_no_output.
977
978 2013-05-16  Joel Brobecker  <brobecker@adacore.com>
979
980         * gdb.ada/complete.exp: Add test verifying completion using
981         the "tab" key.
982
983 2013-05-15  Keith Seitz  <keiths@redhat.com>
984
985         * gdb.base/filesym.exp: New completer test.
986         * gdb.base/filesym.c: New file.
987
988 2013-05-15  Pedro Alves  <palves@redhat.com>
989
990         * gdb.base/fixsection.c: Remove attribution.
991         * gdb.base/watch-read.exp: Ditto.
992
993 2013-05-13  Tom Tromey  <tromey@redhat.com>
994
995         * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
996         size and change type sizes to 4 bytes.
997
998 2013-05-13  Tom Tromey  <tromey@redhat.com>
999
1000         * gdb.base/exprs.exp (test_expr): Add regression test.
1001         * gdb.base/exprs.c (null_t_struct): New global.
1002
1003 2013-05-13  Muhammad Bilal  <mbilal@codesourcery.com>
1004
1005        * gdb.base/default.exp: Disable history saving.
1006        * gdb.base/setshow.exp: Likewise.
1007
1008 2013-05-10  Pedro Alves  <palves@redhat.com>
1009
1010         PR remote/15455
1011
1012         * gdb.trace/qtro.c: New file.
1013         * gdb.trace/qtro.exp: New file.
1014
1015 2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
1016
1017         * gdb.python/py-framefilter.py: New File.
1018         * gdb.python/py-framefilter-mi.exp: Ditto.
1019         * gdb.python/py-framefilter.c: Ditto.
1020         * gdb.python/py-framefilter-mi.exp: Ditto.
1021         * gdb.python/py-framefilter-mi.c: Ditto,
1022         * gdb.python/py-framefilter-gdb.py.in: Ditto.
1023
1024 2013-05-08  Tom Tromey  <tromey@redhat.com>
1025
1026         * gdb.base/solib-search.exp: Set test name for "set
1027         solib-search-path" test.
1028
1029 2013-05-08  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1030
1031         * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1032         (set_a_tracepoint): Set tracepoint before prologue.
1033         (run_trace_experiment): Test setup_tracepoints and 'break end'
1034         in it.
1035         (trace_buffer_normal): Remove.
1036         (gdb_trace_circular_tests): Remove.  Move tests to...
1037         (top level): ...here.  Call 'runto_main' before checking for
1038         trace support.  Use commands to check the support for circular
1039         trace buffer and changing of trace buffer size.  Add test
1040         to calculate size of single frame.  Use this size to
1041         calculate the size of trace buffer.  Use 'tfind pc func9'
1042         instead of 'tfind 9'.  Use 'with_test_prefix'.
1043
1044 2013-05-07  Tom Tromey  <tromey@redhat.com>
1045
1046         * lib/selftest-support.exp: New file.
1047         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
1048         do_self_tests.
1049         (setup_test, find_gdb): Remove.
1050         * gdb.gdb/observer.exp: Load selftest-support.exp.  Use
1051         do_self_tests.
1052         (setup_test, find_gdb): Remove.
1053         (test_observer): Don't call setup_test.  Remove argument.
1054         * gdb.gdb/selftest.exp: Load selftest-support.exp.
1055         (find_gdb): Remove.
1056         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
1057         do_self_tests.
1058         (setup_test, find_gdb): Remove.
1059         (test_with_self): Don't call setup_test.  Remove argument.
1060
1061 2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1062
1063         * gdb.arch/system-gcore.exp: Remove.
1064         * gdb.arch/gcore.c: Remove.
1065         * gdb.base/gcore.exp: Add "info reg system".
1066
1067 2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
1068
1069         PR breakpoints/15413:
1070         * gdb.base/pending.exp: Add test for completion of the "condition"
1071         command for pending breakpoints.
1072         * gdb.linespec/linespec.ex: Add test for completion of the
1073         "condition" command when dealing with multiple locations.
1074
1075 2013-05-07  Luis Machado  <lgustavo@codesourcery.com>
1076
1077         * gdb.threads/wp-replication.c: New file.
1078         * gdb.threads/wp-replication.exp: New file.
1079
1080 2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1081
1082         * gdb.xml/tdesc-regs.exp: Add case for nios2.
1083
1084 2013-05-06  Doug Evans  <dje@google.com>
1085
1086         * gdb.base/solib-search-lib1.c: New file.
1087         * gdb.base/solib-search-lib2.c: New file.
1088         * gdb.base/solib-search.c: New file.
1089         * gdb.base/solib-search.h: New file.
1090         * gdb.base/solib-search.exp: New file.
1091
1092         * lib/gdb.exp (gdb_core_cmd): New function.
1093         * gdb.arch/system-gcore.exp: Use it.
1094         * gdb.arch/vsx-regs.exp: Ditto.
1095         * gdb.base/gcore.exp: Ditto.
1096         * gdb.threads/gcore-thread.exp: Ditto.
1097
1098         * gdb.reverse/shr.h: New file.
1099         * gdb.reverse/shr1.c: New file.
1100         * gdb.reverse/shr2.c: #include "shr.h".
1101         * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1102         #include "shr.h".  Replace calls to printf,sleep to call shr1 instead.
1103         * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1104         Update tests using sleep/printf to use shr2.sl instead.
1105         * gdb.reverse/solib-reverse.exp: Ditto.
1106
1107 2013-05-06  Tom Tromey  <tromey@redhat.com>
1108
1109         * gdb.dwarf2/implptrconst.c: New file.
1110         * gdb.dwarf2/implptrconst.exp: New file.
1111         * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1112         (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1113         (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1114
1115 2013-05-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1116
1117         * gdb.base/catch-sig.c (main): Raise SIGINT.
1118         * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1119
1120 2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1121
1122         * status-stop.exp (test_tstart_tstart): Check for error
1123         returned by the second 'tstart' command.
1124
1125 2013-03-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1126
1127         * gdb.xml/maint_print_struct.exp: New file.
1128         * gdb.xml/maint_print_struct.xml: New file.
1129
1130 2013-04-25  Tom Tromey  <tromey@redhat.com>
1131
1132         * gdb.dwarf2/nostaticblock.exp: New file.
1133
1134 2013-04-24  Muhammad Bilal  <mbilal@codesourcery.com>
1135
1136         PR gdb/10462
1137         * gdb.base/setshow.exp: Add test case.
1138
1139 2013-04-23  Hui Zhu  <hui@codesourcery.com>
1140
1141         PR gdb/15293
1142         * gdb.base/dprintf.exp: Add ignore command.
1143
1144 2013-04-23  Hui Zhu  <hui@codesourcery.com>
1145
1146         PR gdb/15165
1147         * gdb.base/save-bp.exp: Add test for dprintf.
1148
1149 2013-04-22  Tom Tromey  <tromey@redhat.com>
1150
1151         * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1152         notice_open_fds.
1153
1154 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
1155
1156         * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1157         ldflags.
1158
1159 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
1160
1161         * gdb.arch/arm-bl-branch-dest.c: New file.
1162         * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1163
1164 2013-04-19  Vladimir Kargov  <kargov@gmail.com>
1165             Pedro Alves  <palves@redhat.com>
1166
1167         * gdb.arch/i386-float.S: New file.
1168         * gdb.arch/i386-float.exp: New file.
1169
1170 2013-04-18  Luis Machado  <lgustavo@codesourcery.com>
1171
1172         * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1173         type void *.
1174
1175 2013-04-17  Doug Evans  <dje@google.com>
1176
1177         * lib/dwarf.exp (Dwarf): New proc "tu".
1178         * gdb.dwarf2/missing-sig-type.exp: New file.
1179
1180 2013-04-15  Siva Chandra Reddy  <sivachandra@google.com>
1181
1182         Add option to link testcases with Pthreads library when
1183         using 'prepare_for_testing' in tests.
1184
1185         * lib/gdb.exp (build_executable_from_specs): Use
1186         gdb_compile_pthreads to compile if option "pthreads" is
1187         specified.
1188
1189 2013-04-15  Tom Tromey  <tromey@redhat.com>
1190
1191         * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1192
1193 2013-04-15  Tom Tromey  <tromey@redhat.com>
1194
1195         * gdb.base/default.exp: Update for $_exception.
1196         * gdb.cp/exceptprint.cc: New file.
1197         * gdb.cp/exceptprint.exp: New file.
1198         * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1199
1200 2013-04-15  Tom Tromey  <tromey@redhat.com>
1201
1202         * gdb.cp/typeid.cc: New file.
1203         * gdb.cp/typeid.exp: New file.
1204
1205 2013-04-15  Tom Tromey  <tromey@redhat.com>
1206
1207         * gdb.cp/exception.exp: Add "catch rethrow" tests.
1208
1209 2013-04-13  Yao Qi  <yao@codesourcery.com>
1210
1211         * gdb.base/completion.exp: Test completion of command
1212         'target ctf' if target ctf is supported.
1213
1214 2013-04-10  Pedro Alves  <palves@redhat.com>
1215
1216         * gdb.base/completion.exp: Test "set height", "set listsize" and
1217         "set trace-buffer-size" completion.
1218         * gdb.base/setshow.exp: Test "set height unlimited".
1219         * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1220         unlimited".
1221
1222 2013-04-10  Yao Qi  <yao@codesourcery.com>
1223
1224         * gdb.trace/actions.exp: Save trace data to CTF.
1225         Change to ctf target if GDB supports, read CTF data in ctf
1226         target, and check the actions of tracepoints.
1227         * gdb.trace/while-stepping.exp: Likewise.
1228         * gdb.trace/report.exp: Test GDB saves trace data to CTF
1229         format and read CTF trace file if GDB supports.
1230         * gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
1231         target is supported, change to ctf target, read trace data and
1232         check output of command "tstatus".
1233         * gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
1234         read CTF data by target ctf and call check_tsv.
1235
1236 2013-04-10  Yao Qi  <yao@codesourcery.com>
1237
1238         * gdb.trace/actions.exp (check_tracepoint): New.
1239         (top level): Start the tracing and check the actions of
1240         tracepoints.  Save trace data to tfile format.  Restart GDB
1241         and read trace file in tfile target.  Check the actions of
1242         tracepoints again.
1243         * gdb.trace/while-stepping.exp: Likewise.
1244
1245 2013-04-10  Yao Qi  <yao@codesourcery.com>
1246
1247         * gdb.trace/report.exp: Use standard_output_file for saved
1248         trace file.
1249
1250 2013-04-10  Hui Zhu  <hui@codesourcery.com>
1251
1252         * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1253         (MISCELLANEOUS): Add dprintf-pendshr.sl.
1254         * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1255
1256 2013-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1257
1258         * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1259         response.
1260
1261 2013-04-08  Pedro Alves  <palves@redhat.com>
1262
1263         * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1264         the location.
1265
1266 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
1267
1268         * gdb.cp/cplabel.exp: Allow empty directory in file reported
1269         for breakpoint location.
1270
1271 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
1272
1273         * gdb.linespec/linespec.exp: Make dir/file:line tests
1274         conditional for non-remote hosts only.
1275
1276 2013-04-04  Stan Shebs  <stan@codesourcery.com>
1277             Pedro Alves  <palves@redhat.com>
1278
1279         * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1280         * gdb.trace/actions-changed.c: New file.
1281         * gdb.trace/actions-changed.exp: New file.
1282         * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1283         (gdb_trace_setactions_command): ... this.  Add "actions_command"
1284         parameter, and handle it.
1285         (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1286
1287 2013-04-04  Yao Qi  <yao@codesourcery.com>
1288
1289         * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1290         'step'.
1291
1292 2013-04-03  Yao Qi  <yao@codesourcery.com>
1293
1294         * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1295         "tfile-basic.tf".
1296         (test_tfind_tfile): Likewise.
1297
1298 2013-04-03  Yao Qi  <yao@codesourcery.com>
1299
1300         * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1301         "tfile-basic.tf" instead of "basic.tf".
1302         (write_error_trace_file): Pass argument "tfile-error.tf"
1303         instead of "error.tf".
1304         * gdb.trace/tfile.exp: Update tfile names to
1305         "tfile-basic.tf" and "tfile-error.tf".
1306
1307 2013-04-02  Sandra Loosemore  <sandra@codesourcery.com>
1308
1309         * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1310         empty directory in file for breakpoint hit.
1311
1312 2013-03-29  Yao Qi  <yao@codesourcery.com>
1313
1314         * gdb.base/completion.exp: Test completion of commands
1315         "target core", "target tfile" and "target exec".
1316         * gdb.trace/tfile.exp: Test completion of command
1317         "target tfile".
1318
1319 2013-03-28  Joel Brobecker  <brobecker@adacore.com>
1320
1321         * gdb.ada/win_fu_syms: New testcase.
1322
1323 2013-03-28  Doug Evans  <dje@google.com>
1324
1325         * gdb.base/maint.exp (maint print statistics): Update expected output.
1326
1327 2013-03-28  Pedro Alves  <palves@redhat.com>
1328
1329         PR gdb/15294
1330
1331         * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1332         mean unlimited instead of $arg < 0.
1333         (test_listsize): Remove "listsize of 0 suppresses output" test.
1334         Test that "set listsize 0" ends up with an unlimited listsize.
1335
1336 2013-03-28  Pedro Alves  <palves@redhat.com>
1337
1338         * gdb.base/list.exp (last_line): New global.
1339         (last_line_re): New global.
1340         (test_listsize, test_list_function, test_list_forward)
1341         (test_repeat_list_command, test_list_range)
1342         (test_list_filename_and_function): Use them.
1343         * gdb.base/list0.c: Comment the last line of the file with "last
1344         line".
1345
1346 2013-03-28  Pedro Alves  <palves@redhat.com>
1347
1348         * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1349         list the whole file.
1350
1351 2013-03-28  Pedro Alves  <palves@redhat.com>
1352
1353         * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1354         "set listsize".
1355
1356 2013-03-26  Keith Seitz  <keiths@redhat.com>
1357
1358         * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1359         from passing.
1360
1361 2013-03-26  Pedro Alves  <palves@redhat.com>
1362
1363         * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1364         until after GDB has run.
1365
1366 2013-03-26  Yao Qi  <yao@codesourcery.com>
1367
1368         * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1369         * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1370
1371 2013-03-26  Markus Metzger  <markus.t.metzger@intel.com>
1372
1373         * gdb.btrace/enable.exp: Add regression test.
1374
1375 2013-03-25  Tom Tromey  <tromey@redhat.com>
1376
1377         * gdb.cp/m-static.exp: Add destructor-printing tests.
1378
1379 2013-03-25  Tom Tromey  <tromey@redhat.com>
1380
1381         * gdb.cp/m-static.exp: Add constructor ptype tests.
1382         * gdb.cp/m-static.cc (single_constructor): New class.
1383         (main): Make instance of single_constructor.
1384
1385 2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1386             Pedro Alves  <palves@redhat.com>
1387
1388         * gdb.server/server-kill.c: New file.
1389         * gdb.server/server-kill.exp: New file.
1390
1391 2013-03-21  Pedro Alves  <palves@redhat.com>
1392
1393         * gdb.trace/trace-buffer-size.exp (get default buffer size):
1394         Expect $gdb_prompt in gdb_test_multiple.
1395
1396 2013-03-21  Doug Evans  <dje@google.com>
1397
1398         * gdb.base/maint.exp: Update tests for per-command stats.
1399
1400 2013-03-21  Tom Tromey  <tromey@redhat.com>
1401
1402         * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1403         * gdb.cp/misc.exp: Add test for FILENAME:: case.
1404
1405 2013-03-20  Pedro Alves  <palves@redhat.com>
1406
1407         PR gdb/15289
1408
1409         * gdb.base/remote.exp: Test
1410         "set remote hardware-watchpoint-limit -1",
1411         "set remote hardware-breakpoint-limit -1",
1412         "set remote hardware-watchpoint-limit 2147483647" and
1413         "set remote hardware-breakpoint-limit 2147483647".
1414
1415 2013-03-20  Pedro Alves  <palves@redhat.com>
1416             Yao Qi  <yao@codesourcery.com>
1417
1418         * gdb.trace/tfile.c: Add comments.
1419         (nonconstglob): New global.
1420         * gdb.trace/tfile.exp: Add comments.  Test printing a non-const
1421         global that is not covered by the trace frame.  Test
1422         disassembling.
1423
1424 2013-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1425
1426         * gdb.base/valgrind-infcall.exp
1427         (continue #$continue_count) <remote connection closed>
1428         (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1429         $valgrind_pid.
1430
1431 2013-03-15  Tom Tromey  <tromey@redhat.com>
1432
1433         * gdb.cp/overload.cc (intintfunc): New.
1434         * gdb.cp/overload.exp: Add regression test.
1435
1436 2013-03-15  Yao Qi  <yao@codesourcery.com>
1437
1438         * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1439         using with_test_prefix.
1440         * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1441         * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1442         * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1443         * gdb.threads/watchpoint-fork.exp (test): Likewise.
1444         * gdb.base/break-interp.exp (test_core): Likewise.
1445         (test_attach_gdb): Likewise.
1446         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1447         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1448         Likewise.
1449         * gdb.base/jit-so.exp (one_jit_test): Likewise.
1450         * gdb.base/jit.exp (one_jit_test): Likewise.
1451         * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1452         * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1453         * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1454         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1455         Likewise.
1456         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1457         Likewise.
1458         * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1459         * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1460         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1461         (tracepoint_change_loc_2): Likewise.
1462         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1463         Likewise.
1464         (disconnected_tfind): Likewise.
1465         * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1466         Likewise.
1467         (test_tfind_remote): Likewise.
1468         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1469         Likewise.
1470         (test_pending_resolved): Likewise.
1471         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1472         Likewise.
1473         (test_upload_tsv): Likewise.
1474         * gdb.trace/pending.exp (pending_tracepoint_resolved):
1475         Likewise.
1476         (pending_tracepoint_works): Likewise.
1477         * gdb.trace/report.exp (use_collected_data): Likewise.
1478         * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1479         Likewise.
1480         (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1481         * gdb.trace/strace.exp (strace_info_marker): Likewise.
1482         (strace_trace_on_same_addr): Likewise.
1483         (strace_trace_on_diff_addr): Likewise.
1484         * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1485         (gdb_collect_locals_test): Likewise.
1486         (gdb_unavailable_registers_test): Likewise.
1487         (gdb_collect_globals_test): Likewise.
1488
1489 2013-03-15  Yao Qi  <yao@codesourcery.com>
1490
1491         * gdb.base/condbreak.exp: Add semicolon back which was removed
1492         by my previous commit.
1493
1494 2013-03-14  Yao Qi  <yao@codesourcery.com>
1495
1496         * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1497         'return'.
1498         (gdb_target_monitor, gdb_load): Likewise.
1499         * config/sid.exp (gdb_load): Likewise.
1500         * config/slite.exp (gdb_load): Likewise.
1501         * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1502         * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1503         * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1504         (single_step_until): Likewise.
1505         * gdb.arch/powerpc-d128-regs.exp: Likewise.
1506         * gdb.arch/system-gcore.exp: Likewise.
1507         * gdb.base/bigcore.exp (extract_heap): Likewise.
1508         * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1509         * gdb.base/call-ar-st.exp: Likewise.
1510         * gdb.base/call-rt-st.exp: Likewise.
1511         * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1512         * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1513         * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1514         * gdb.base/corefile.exp: Likewise.
1515         * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1516         * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1517         * gdb.base/fixsection.exp: Likewise.
1518         * gdb.base/funcargs.exp: Likewise.
1519         * gdb.base/gcore-buffer-overflow.exp: Likewise.
1520         * gdb.base/gcore-relro.exp: Likewise.
1521         * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1522         * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1523         * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1524         * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1525         * gdb.base/list.exp: Likewise.
1526         (set_listsize): Likewise.
1527         * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1528         * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1529         * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1530         * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1531         * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1532         * gdb.base/setvar.exp: Likewise.
1533         (test_set): Likewise.
1534         * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1535         * gdb.base/solib-overlap.exp: Likewise.
1536         * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1537         * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1538         * gdb.base/watchpoint.exp (initialize): Likewise.
1539         (test_simple_watchpoint): Likewise.
1540         (test_disabling_watchpoints): Likewise.
1541         (test_watchpoint_triggered_in_syscall): Likewise.
1542         * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1543         * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1544         * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1545         * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1546         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1547         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1548         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1549         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1550         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1551         * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1552         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1553         * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1554         * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1555         * gdb.mi/gdb792.exp: Likewise.
1556         * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1557         * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1558         * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1559         * gdb.threads/gcore-thread.exp: Likewise.
1560         (load_core): Likewise.
1561         * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1562         (test_startup, check_control_c): Likewise.
1563         * gdb.threads/sigstep-threads.exp: Likewise.
1564         * gdb.threads/thread_check.exp: Likewise.
1565         * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1566         * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1567         (set_a_tracepoint, trace_buffer_normal): Likewise.
1568         (gdb_trace_circular_tests): Likewise.
1569         * gdb.trace/collection.exp: Likewise.
1570         * gdb.trace/disconnected-tracing.exp: Likewise.
1571         * gdb.trace/infotrace.exp: Likewise.
1572         * gdb.trace/mi-traceframe-changed.exp: Likewise.
1573         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1574         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1575         * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1576         * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1577         * gdb.trace/stap-trace.exp: Likewise.
1578         * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1579         * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1580         * gdb.trace/trace-buffer-size.exp: Likewise.
1581         * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1582         * gdb.trace/unavailable.exp: Likewise.
1583         * gdb.trace/while-dyn.exp: Likewise.
1584         * lib/fortran.exp (set_lang_fortran): Likewise.
1585         * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1586         (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1587         (default_gdb_start, get_compiler_info): Likewise.
1588         (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1589         (get_debug_format, setup_xfail_format): Likewise.
1590         (rerun_to_main, gdb_skip_float_test): Likewise.
1591         (build_id_debug_filename_get, get_remotetimeout): Likewise.
1592         * lib/java.exp (set_lang_java): Likewise.
1593         * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1594         (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1595         (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1596         (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1597         * lib/objc.exp (set_lang_objc): Likewise.
1598         * lib/pascal.exp (set_lang_pascal): Likewise.
1599         * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1600         * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1601         (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1602
1603 2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
1604
1605         PR c++/15203
1606         PR c++/15210
1607         * gdb.cp/m-static.cc (keepalive_int): New function.
1608         (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1609         * gdb.cp/m-static.exp: New test for `sintvar'.
1610
1611 2013-03-14  Yao Qi  <yao@codesourcery.com>
1612
1613         * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1614         of 'tstatus' into tstatus_output.
1615         (top level): Save the trace data to tfile.  Read trace file in
1616         tfile target.  Check the trace status.
1617
1618 2013-03-13  Yao Qi  <yao@codesourcery.com>
1619
1620         * gdb.trace/tsv.exp (check_tsv): New.
1621         (top level): Save a tfile on current trace session. Call
1622         check_tsv on live target.  Load the tfile with target tfile
1623         and call check_tsv again.
1624
1625 2013-03-13  Yao Qi  <yao@codesourcery.com>
1626
1627         * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1628         Replace some "gdb_test" with "gdb_test_no_output".
1629
1630 2013-03-12  Paul Hilfinger  <hilfingr@adacore.com>
1631
1632         * gdb.ada/expr_delims.exp: New file.
1633         * gdb.ada/expr_delims/foo.adb: New file.
1634         * gdb.ada/expr_delims/pck.ads: New file.
1635         * gdb.ada/expr_delims/pck.adb: New file.
1636
1637 2013-03-11  Keith Seitz  <keiths@redhat.com>
1638
1639         * watchpoint.exp (test_no_hw_watchpoints): Add test using
1640         both condition and thread.  Then delete the watchpoint.
1641
1642 2013-03-11  Christian Himpel  <christian.himpel@intel.com>
1643
1644         * Makefile.in: Add btrace testsuite.
1645         * configure: Regenerated.
1646         * configure.ac: Add btrace testsuite.
1647         * gdb.btrace/Makefile.in: New file.
1648         * gdb.btrace/enable.c: New file.
1649         * gdb.btrace/enable.exp: New file.
1650         * gdb.btrace/function_call_history.c: New file.
1651         * gdb.btrace/function_call_history.exp: New file.
1652         * gdb.btrace/instruction_history.c: New file.
1653         * gdb.btrace/instruction_history.exp: New file.
1654         * gdb.btrace/instruction_history.S: New file.
1655         * lib/gdb.exp: Add btrace skip proc.
1656
1657 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1658
1659         Fix entry-values if the callee called a noreturn function.
1660         * gdb.arch/amd64-tailcall-noret.S: New file.
1661         * gdb.arch/amd64-tailcall-noret.c: New file.
1662         * gdb.arch/amd64-tailcall-noret.exp: New file.
1663
1664 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1665
1666         Fix entry-values in C++ across CUs.
1667         * gdb.arch/amd64-tailcall-cxx.exp: New file.
1668         * gdb.arch/amd64-tailcall-cxx1.S: New file.
1669         * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1670         * gdb.arch/amd64-tailcall-cxx2.S: New file.
1671         * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1672
1673 2013-03-08  Stan Shebs  <stan@codesourcery.com>
1674             Hafiz Abid Qadeer  <abidh@codesourcery.com>
1675
1676         gdb/testsuite/
1677         * gdb.trace/trace-buffer-size.exp: New file.
1678         * gdb.trace/trace-buffer-size.c: New file.
1679
1680 2013-03-06  Pedro Alves  <palves@redhat.com>
1681
1682         * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1683         doesn't support the tested optional feature, call "unsupported"
1684         with the same test message as the "pass" case, instead of calling
1685         "pass" with a different message.  Use the same text for the "fail"
1686         cases too.
1687
1688 2013-03-06  Yao Qi  <yao@codesourcery.com>
1689
1690         * gdb.trace/tstatus.exp: Remove the invocation of
1691         gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1692         (test_tracepoints): Don't set fast tracepoint.
1693         (top level): Don't check agent library is loaded or not.
1694
1695 2013-03-06  Yao Qi  <yao@codesourcery.com>
1696
1697         * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1698         parentheses by "\\".
1699
1700 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1701
1702         * gdb.linespec/base/one/thefile.cc (twodup): New.
1703         (m): Call it.
1704         * gdb.linespec/base/two/thefile.cc (dupname): New.
1705         (n): Call it.
1706         * gdb.linespec/break-ask.exp: New file.
1707         * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1708
1709 2013-02-28  Yao Qi  <yao@codesourcery.com>
1710
1711         * gdb.trace/report.exp: Move some code to ...
1712         (use_collected_data): New.
1713         (top level): Call use_collected_data once on the live target.
1714         Save at file of the current trace session, load it with target
1715         tfile, and call use_collected_data again.
1716
1717 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1718
1719         * gdb.threads/fork-thread-pending.c (main): Add alarm.
1720
1721 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1722
1723         * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1724         Add final kill of ${valgrind_pid}.
1725
1726 2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
1727
1728         * gdb.python/py-arch.c: New test case
1729         * gdb.python/py-arch.exp: New tests to test
1730         gdb.Architecture.disassemble
1731         * gdb.python/Makefile.in: Add py-arch to the list of
1732         EXECUTABLES.
1733
1734 2013-02-18  Tom Tromey  <tromey@redhat.com>
1735
1736         * gdb.dwarf2/subrange.exp: New file.
1737
1738 2013-02-15  Pedro Alves  <pedro@codesourcery.com>
1739             Hafiz Abid Qadeer  <abidh@codesourcery.com>
1740
1741         * gdb.trace/tfile.exp: Add test for -trace-status command.
1742
1743 2013-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
1744
1745         * gdb.threads/pthread_cond_wait.c (main): Remove variable ts.  Replace
1746         nanosleep by sleep.
1747
1748 2013-02-14  Pedro Alves  <palves@redhat.com>
1749
1750         * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1751
1752 2013-02-14  Pedro Alves  <pedro@codesourcery.com>
1753             Hafiz Abid Qadeer  <abidh@codesourcery.com>
1754
1755         * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1756
1757 2013-02-12  Tom Tromey  <tromey@redhat.com>
1758
1759         * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1760         * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1761
1762 2013-02-12  Pedro Alves  <palves@redhat.com>
1763
1764         * gdb.base/catch-signal.c: Update copyright years.
1765         * gdb.base/catch-signal.exp: Update copyright years.
1766         * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1767         * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1768         * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1769         * gdb.dwarf2/dw2-error.S: Update copyright years.
1770         * gdb.dwarf2/dw2-error.c: Update copyright years.
1771         * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1772         * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1773         * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1774
1775 2013-02-12  Pedro Alves  <palves@redhat.com>
1776
1777         * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1778         message.
1779         * gdb.base/sigaltstack.exp: Ditto.
1780         * gdb.base/siginfo.exp: Ditto.
1781         * gdb.base/sizeof.exp: Ditto.
1782
1783 2013-02-12  Pedro Alves  <palves@redhat.com>
1784
1785         * gdb.mi/mi-basics.exp: Tweak intro comment.
1786         * gdb.mi/mi-break.exp: Tweak intro comment.
1787         * gdb.mi/mi-console.exp: Tweak intro comment.
1788         * gdb.mi/mi-file.exp: Tweak intro comment.
1789         * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1790         * gdb.mi/mi-return.exp: Tweak intro comment.
1791         * gdb.mi/mi-stepi.exp: Tweak intro comment.
1792         * gdb.mi/mi-until.exp: Tweak intro comment.
1793         * gdb.mi/mi-watch.exp: Tweak intro comment.
1794
1795 2013-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
1796
1797         * gdb.server/no-thread-db.exp: New file.
1798         * gdb.server/no-thread-db.c: New file.
1799         * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1800
1801 2013-02-11  Doug Evans  <dje@google.com>
1802
1803         * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1804         two decfloats.
1805
1806 2013-02-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1807
1808         * gdb.base/bitfields.c (struct internalvartest): New declaration.
1809         * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1810
1811 2013-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1812
1813         * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1814
1815 2013-02-06  Yao Qi  <yao@codesourcery.com>
1816
1817         * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1818         to ...
1819         (test_create_delete_modify_tsv): ... here.  New test on modifying
1820         the initial value of a tsv.
1821
1822 2013-02-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1823
1824         * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1825         (cd .../rdir): ... here.
1826
1827 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1828
1829         * gdb.linespec/base/one/header.h: New file.
1830         * gdb.linespec/base/two/header.h: New file.
1831         * gdb.linespec/macro-relative.c: New file.
1832         * gdb.linespec/macro-relative.exp: New file.
1833
1834 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1835
1836         * gdb.base/fullpath-expand-func.c: New file.
1837         * gdb.base/fullpath-expand.c: New file.
1838         * gdb.base/fullpath-expand.exp: New file.
1839         * gdb.base/realname-expand-real.c: New file.
1840         * gdb.base/realname-expand.c: New file.
1841         * gdb.base/realname-expand.exp: New file.
1842
1843 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1844
1845         * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1846         * gdb.dwarf2/dw2-dir-file-name.c: New file.
1847
1848 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1849
1850         * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1851         (compare_filenames_for_search does not match)
1852         (compare_filenames_for_search does match): New tests.
1853
1854 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1855
1856         * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1857
1858 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1859
1860         * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1861
1862 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1863
1864         * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1865         ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1866         ${binfile}.mini_debuginfo-debuglink and
1867         ${binfile}.mini_debuginfo-debuglink.xz.
1868
1869 2013-02-01  Tom Tromey  <tromey@redhat.com>
1870
1871         * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1872         attributes.
1873
1874 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1875             Tom Tromey  <tromey@redhat.com>
1876
1877         * gdb.dwarf2/method-ptr.exp: Link with c++.
1878         * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1879
1880 2013-01-31  Tom Tromey  <tromey@redhat.com>
1881
1882         * gdb.base/jit.exp (compile_jit_test): New proc.
1883         Add PIE tests.
1884
1885 2013-01-31  Tom Tromey  <tromey@redhat.com>
1886
1887         * gdb.dwarf2/method-ptr.cc: New file.
1888         * gdb.dwarf2/method-ptr.exp: New file.
1889
1890 2013-01-31  Tom Tromey  <tromey@redhat.com>
1891
1892         * lib/dwarf.exp (namespace Dwarf): New.
1893
1894 2013-01-29  Tom Tromey  <tromey@redhat.com>
1895
1896         * gdb.dwarf2/fission-reread.exp: Add unload test.
1897
1898 2013-01-28  Doug Evans  <dje@google.com>
1899
1900         * gdb.dwarf2/fission-loclists.exp: New file.
1901         * gdb.dwarf2/fission-loclists.S: New file.
1902
1903 2013-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1904
1905         Code cleanup.
1906         * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1907         gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1908         and prepare_for_testing.
1909         * gdb.base/store.exp: Likewise.
1910
1911 2013-01-25  Tom Tromey  <tromey@redhat.com>
1912
1913         * gdb.python/py-explore.exp: Expect the gdb prompt.
1914
1915 2013-01-25  Andrew Burgess  <aburgess@broadcom.com>
1916
1917         * gdb.base/gnu_vector.c: New variable for use in tests.
1918         * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1919         changes in scalar to vector casting and widening.
1920         * gdb.python/py-type.c: New variables for use in tests.
1921         * gdb.python/py-type.exp: Update vector related tests to reflect
1922         changes in scalar to vector casting and widening.
1923
1924 2013-01-24  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1925
1926         * gdb.base/prologue-include.c: New file.
1927         * gdb.base/prologue-include.exp: New file.
1928         * gdb.base/prologue-include.h: New file.
1929
1930 2013-01-24  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1931
1932         PR gdb/13443
1933         * gdb.mi/mi-var-block.exp: Make test messages unique.
1934
1935 2013-01-23  Tom Tromey  <tromey@redhat.com>
1936
1937         * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1938
1939 2013-01-23  Tom Tromey  <tromey@redhat.com>
1940
1941         * gdb.cp/converts.cc (main): Initialize 'a'.
1942
1943 2013-01-23  Siva Chandra Reddy  <sivachandra@google.com>
1944
1945         * testsuite/gdb.python/frame.exp: Add a test for
1946         gdb.Frame.architecture() method.
1947
1948 2013-01-22  Pedro Alves  <palves@redhat.com>
1949
1950         * gdb.base/annota1.exp (signal sent): No longer expect
1951         breakpoints-invalid.
1952         * gdb.cp/annota2.exp (continue until exit)
1953         (watch triggered on a.x): Ditto.
1954
1955 2013-01-22  Pedro Alves  <palves@redhat.com>
1956
1957         * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1958         Adjust tests to breakpoints-invalid changes.
1959         * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1960         variables.
1961         Adjust tests to breakpoints-invalid changes.
1962
1963 2013-01-22  Pedro Alves  <palves@redhat.com>
1964
1965         * gdb.base/annota1.exp (annotate ignore count change): Add
1966         expected output for failure case.
1967
1968 2013-01-22  Tom Tromey  <tromey@redhat.com>
1969
1970         * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1971         call.
1972
1973 2013-01-21  Marc Khouzam  <marc.khouzam@ericsson.com>
1974
1975         * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1976         * gdb.mi/mi-catch-load.exp: Ditto.
1977         * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1978         Also handle 'thread' field.
1979         * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1980         * gdb.mi/mi-watch.exp: Ditto.
1981         * lib/mi-support.exp: Ditto.
1982
1983 2013-01-21  Siva Chandra Reddy  <sivachandra@google.com>
1984
1985         * gdb.python/py-explore.exp: Improve a test
1986
1987 2013-01-18 Â David Blaikie Â <dblaikie@gmail.com>
1988
1989         * gdb.base/label.c (main): Correct the type of the second
1990         parameter.
1991
1992 2013-01-18  Tom Tromey  <tromey@redhat.com>
1993
1994         * gdb.dwarf2/trace-crash.s: New file.
1995         * gdb.dwarf2/trace-crash.exp: New file.
1996
1997 2013-01-18  Hafiz Abid Qadeer<abidh@codesourcery.com>
1998
1999         PR gdb/13443
2000         * gdb.base/checkpoint.exp: Update test messages to make them
2001         unique.
2002
2003 2013-01-18  Yao Qi  <yao@codesourcery.com>
2004
2005         * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2006         output of 'info tracepoints'.
2007         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2008         Likewise.
2009         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2010         * gdb.trace/disconnected-tracing.c (struct foo): New.
2011
2012 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2013
2014         * gdb.dwarf2/dw2-dos-drive.S: New file.
2015         * gdb.dwarf2/dw2-dos-drive.exp: New file.
2016
2017 2013-01-17  Doug Evans  <dje@google.com>
2018
2019         * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2020         CXX_FOR_TARGET.
2021
2022         * boards/cc-with-tweaks.exp: New file.
2023
2024 2013-01-17  Tom Tromey  <tromey@redhat.com>
2025
2026         * gdb.base/completion.exp: Add "set cp-abi" completion test.
2027
2028 2013-01-17  Pedro Alves  <palves@redhat.com>
2029
2030         Merge dg-extract-results.sh from upstream (svn 195224).
2031
2032         2013-01-15  David Blaikie <dblaikie@gmail.com>
2033         * dg-extract-results.sh: Fix order of summary counts.
2034
2035         2013-01-15  David Blaikie <dblaikie@gmail.com>
2036         * dg-extract-results.sh: Constrain the start-of-log pattern.
2037
2038         2013-01-15  David Blaikie <dblaikie@gmail.com>
2039         * dg-extract-results.sh: Handle KPASSes.
2040
2041         2010-05-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2042         * dg-extract-results.sh: Redirect grep output to /dev/null instead
2043         of grep -q.
2044
2045 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
2046
2047         * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2048         interface.
2049         * gdb.base/jithost.c: New file.
2050         * gdb.base/jithost.h: New file.
2051         * gdb.base/jitreader.c : New file.
2052         * gdb.base/jit-protocol.h: New file.
2053
2054 2013-01-16  Tom Tromey  <tromey@redhat.com>
2055
2056         * gdb.base/catch-signal.c: New file.
2057         * gdb.base/catch-signal.exp: New file.
2058
2059 2013-01-16  Tom Tromey  <tromey@redhat.com>
2060
2061         * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2062
2063 2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2064
2065         * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2066
2067 2013-01-14  Tom Tromey  <tromey@redhat.com>
2068
2069         * gdb.base/completion.exp: Add "set gnutarget" test.
2070
2071 2013-01-14  Tom Tromey  <tromey@redhat.com>
2072
2073         * gdb.dwarf2/dw2-restrict.S: New file.
2074         * gdb.dwarf2/dw2-restrict.c: New file.
2075         * gdb.dwarf2/dw2-restrict.exp: New file.
2076
2077 2013-01-14  Tom Tromey  <tromey@redhat.com>
2078
2079         * gdb.dwarf2/dw2-error.exp: New file.
2080         * gdb.dwarf2/dw2-error.c: New file.
2081         * gdb.dwarf2/dw2-error.S: New file.
2082
2083 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2084
2085         * gdb.cp/parse-lang.cc: New file.
2086         * gdb.cp/parse-lang.exp: New file.
2087
2088 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2089
2090         * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2091         (set substitute-path): New test.
2092         (fullname present): Remove content.
2093         (substituted fullname): New test.
2094
2095 2013-01-13  Joel Brobecker  <brobecker@adacore.com>
2096
2097         * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2098         check.  Move $gdb_py_is_py24 value check right after.
2099
2100 2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2101
2102         * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2103         targets.
2104
2105 2013-01-11  Yao Qi  <yao@codesourcery.com>
2106
2107         * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2108         for dprintf.
2109         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2110         Check the fields in "=breakpoint-created" for dprintf.
2111
2112 2012-12-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2113
2114         * gdb.mi/mi-fullname-deleted.exp: New file.
2115
2116 2012-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2117
2118         * gdb.base/skip-solib.exp (info skip with pending file): Update the
2119         expected output.
2120         (info skip with pending file): Remove.
2121         (ignoring function in solib, info skip for function multiply): Update
2122         the expected output.
2123         * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2124         (info skip (delete 1), info skip after disabling all)
2125         (info skip after enabling all, info skip after disabling 4 2-3)
2126         (info skip after enabling 2-3, info skip 2-3)
2127         (info skip after deleting 2 3): Update the expected output.
2128         * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2129         statement to its initialization and return.
2130         * gdb.linespec/skip-two.exp: New file.
2131
2132 2012-12-19  Doug Evans  <dje@google.com>
2133
2134         * gdb.base/maint.exp: Handle testing with .gdb_index.
2135
2136 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
2137
2138         * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2139         Cavium to FSF.
2140
2141 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
2142
2143         * dg-extract-results.sh: Update contact info in copyright notice.
2144         * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2145         GPL v3 or later.  Update contact info.
2146         * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2147         gdb.threads/watchpoint-fork-mt.c,
2148         gdb.threads/watchpoint-fork-parent.c,
2149         gdb.threads/watchpoint-fork-st.c,
2150         gdb.threads/watchpoint-fork.h: Likewise.
2151
2152 2012-12-15  Yao Qi  <yao@codesourcery.com>
2153
2154         * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2155         'installed' field in '=breakpoint-modified'.
2156         (test_reconnect): Check 'installed' field in
2157         '=breakpoint-modified' and '=breakpoint-created'.
2158
2159         * gdb.trace/actions.exp: Update test for 'installed' field.
2160         * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2161         (tracepoint_change_loc_2): Likewise.
2162         Check 'info tracepoint' display nothing else.
2163         * gdb.trace/deltrace.exp: Likewise.
2164         * gdb.trace/infotrace.exp: Likewise.
2165         * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2166         Likewise.
2167         * gdb.trace/passcount.exp: Likewise.
2168         * gdb.trace/tracecmd.exp: Likewise.
2169         * gdb.trace/while-stepping.exp: Likewise.
2170
2171 2012-12-14  Tom Tromey  <tromey@redhat.com>
2172
2173         * gdb.cp/member-name.exp: New file.
2174         * gdb.cp/member-name.cc: New file.
2175
2176 2012-12-14  Tom Tromey  <tromey@redhat.com>
2177
2178         * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2179
2180 2012-12-14  Doug Evans  <dje@google.com>
2181
2182         * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2183         DW_OP_GNU_implicit_pointer is section-relative.
2184
2185 2012-12-14  Tom Tromey  <tromey@redhat.com>
2186
2187         * gdb.base/info-proc.exp: Add core file tests.
2188
2189 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
2190
2191         * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2192
2193 2012-12-13  Doug Evans  <dje@google.com>
2194
2195         * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2196         * gdb.multi/multi-arch.exp: Ditto.
2197
2198 2012-12-12  Keven Boell  <keven.boell@intel.com>
2199
2200         * gdb.mi/mi-catch-load-so.c: New. Clone of the
2201         catch load test library source file.
2202         * gdb.mi/mi-catch-load.c: New. Clone of the catch
2203         load test source file.
2204         * gdb.mi/mi-catch-load.exp: New. Test file for
2205         basic MI -catch-load and -catch-unload tests.
2206
2207 2012-12-11  Paul Koning  <paul_koning@dell.com>
2208
2209         * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2210         exception.
2211         (_iterator_except): New function.
2212         (ArrayPrinter): Use _iterator function instead of local _iterator
2213         class for Python 3 compatibility.
2214         (NoStringContainerPrinter): Use _iterator_except instead of
2215         _iterator.
2216         * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2217         execfile for Python 3 compatibility.
2218         * gdb.python/python.exp: Handle Python 2.4 exception traceback
2219         format in error_prompt test.
2220
2221 2012-12-10  Paul Koning  <paul_koning@dell.com>
2222
2223         * gdb.base/charset.exp: Change print syntax for Python 3
2224         compatibility.
2225         * gdb.python/py-block.exp: Ditto.
2226         * gdb.python/py-breakpoint.exp: Ditto.
2227         * gdb.python/py-cmd.exp: Ditto.
2228         * gdb.python/py-events.py: Ditto.
2229         * gdb.python/py-finish-breakpoint.py: Ditto.
2230         * gdb.python/py-finish-breakpoint2.exp: Ditto.
2231         * gdb.python/py-finish-breakpoint2.py: Ditto.
2232         * gdb.python/py-frame-inline.exp: Ditto.
2233         * gdb.python/py-frame.exp: Ditto.
2234         * gdb.python/py-infthread.exp: Ditto.
2235         * gdb.python/py-objfile.exp: Ditto.
2236         * gdb.python/py-parameter.exp: Ditto.
2237         * gdb.python/py-progspace.exp: Ditto.
2238         * gdb.python/py-prompt.exp: Ditto.
2239         * gdb.python/py-symbol.exp: Ditto.
2240         * gdb.python/py-symtab.exp: Ditto.
2241         * gdb.python/py-template.exp: Ditto.
2242         * gdb.python/py-value-cc.exp: Ditto.
2243         * gdb.python/python.exp: Ditto.
2244         * gdb.python/source2.py: Ditto.
2245         * gdb.python/lib-types.exp: Change print syntax for Python 3
2246         compatibility.
2247         Use sorted() function rather than sort() method.
2248         Accept either int or long values for enum values.
2249         * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2250         execfile for Python 3 compatibility.
2251         * gdb.python/py-evsignal.exp: Ditto.
2252         * gdb.python/py-evthreads.exp: Ditto.
2253         * gdb.python/py-mi.exp: Ditto.
2254         * gdb.python/py-pp-maint.exp: Ditto.
2255         * gdb.python/py-prettyprint.exp: Ditto.
2256         * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2257         Python 3 compatibility.
2258         Skip tests for Python 2.4.
2259         * gdb.python/py-inferior.exp: Change print syntax for
2260         Python 3 compatibility.
2261         Use byte string rather than character string in memory write test
2262         if Python 3.
2263         * gdb.python/py-pp-maint.py: Change class declarations to "new
2264         class" syntax.
2265         * gdb.python/py-prettyprint.py: Change iterator class to generator
2266         function for Python 3 compatibility.
2267         Make all classes "new style".
2268         Fix indentation issue and stray semicolon.
2269         * gdb.python/py-shared.expChange print syntax for Python 3
2270         compatibility.
2271         Define "long" if Python 3.
2272         * gdb.python/py-type.exp: Change print syntax for Python 3
2273         compatibility.
2274         Accept either int or long values for enum values.
2275         * gdb.python/py-value.exp: Change print syntax for Python 3
2276         compatibility.
2277         Skip "long" and "unicode" tests if Python 3.
2278         Accept either "type" or "class" in type checks.
2279         * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2280         (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2281
2282 2012-12-10  Tom Tromey  <tromey@redhat.com>
2283
2284         * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2285         (test): Add "two_cu" argument.
2286         * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2287         for types; allow two CUs.
2288
2289 2012-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
2290
2291         * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2292         * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2293
2294 2012-12-08  Yao Qi  <yao@codesourcery.com>
2295             Pedro Alves  <palves@redhat.com>
2296
2297         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2298         '=breakpoint-created' when GDB merges the tracepoints of both
2299          sides.
2300
2301 2012-12-07  Tom Tromey  <tromey@redhat.com>
2302
2303         * gdb.base/break1.c (enum some_enum, union some_union): New.
2304         (some_enum_global, some_union_global, some_value): New globals.
2305         * gdb.base/completion.exp: Add tag completion tests.
2306
2307 2012-12-07  Tom Tromey  <tromey@redhat.com>
2308
2309         * gdb.base/completion.exp: Add tests for ptype and whatis
2310         completion.
2311
2312 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
2313
2314         * gdb.base/stale-infcall.exp: Fix copyright line.
2315
2316 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
2317
2318         * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2319
2320 2012-12-06  Pedro Alves  <palves@redhat.com>
2321             Tom Tromey  <tromey@redhat.com>
2322
2323         * gdb.base/exprs.exp: Add tests for cast to void.
2324
2325 2012-12-06  Jens Elmenthaler <jens.elmenthaler@advantest.com>
2326
2327         * gdb.python/py-mi.exp: Correct expected results for attribute
2328         "dynamic" returned by -var-update.
2329         Add test case for correct handling of "diplayhint" for children
2330         of dynamic varobjs.
2331         * gdb.python/py-prettyprint.c (set_itme): New function.
2332         (bug_14741) New function.
2333         (main) Add call to bug_14741().
2334         * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2335
2336 2012-12-05  Ulrich Weigand  <uweigand@de.ibm.com>
2337
2338         * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2339         ${binfile}.funcsyms list.
2340
2341 2012-12-04  Yao Qi  <yao@codesourcery.com>
2342
2343         PR gdb/13443
2344         * gdb.trace/actions.exp: Make test messages unique.
2345
2346 2012-11-29  Tom Tromey  <tromey@redhat.com>
2347
2348         * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2349
2350 2012-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
2351
2352         * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2353         * gdb.opencl/datatypes.exp: Likewise.
2354         * gdb.opencl/operators.exp: Likewise.
2355         * gdb.opencl/vec_comps.exp: Likewise.
2356
2357 2012-11-29  Jerome Guitton  <guitton@adacore.com>
2358
2359         * gdb.ada/iwide: New testcase.
2360
2361 2012-11-29  Jerome Guitton  <guitton@adacore.com>
2362
2363         * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2364         ptype test.
2365
2366 2012-11-29  Jerome Guitton  <guitton@adacore.com>
2367
2368         * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2369         form {VARIANT_TYPE}ADDRESS.
2370
2371 2012-11-27  Daniel Jacobowitz  <dan@codesourcery.com>
2372
2373         * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2374         (func): New function.
2375         (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2376         * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2377         pointers to members with pointer-to-function type.
2378
2379 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2380             Tom Tromey  <tromey@redhat.com>
2381
2382         * gdb.base/gnu-debugdata.exp: New file.
2383         * gdb.base/gnu-debugdata.c: New file.
2384         * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2385         (gdb_unload): Return 0 on success.
2386
2387 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2388
2389         * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2390
2391 2012-11-26  Joel Brobecker  <brobecker@adacore.com>
2392
2393         * gdb.base/empty_exe.exp: New testcase.
2394
2395 2012-11-20  Mike Frysinger  <vapier@gentoo.org>
2396
2397         * gdb.base/completion.exp: Add test for help aliases completion.
2398
2399 2012-11-20  Yao Qi  <yao@codesourcery.com>
2400
2401         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2402         Don't test 'maint set show-debug-regs'.
2403         Use command 'set remotecache' instead of
2404         'set circular-trace-buffer'.
2405
2406 2012-11-16  Keith Seitz  <keiths@redhat.com>
2407
2408         PR c++/13615
2409         * gdb.cp/baseenum.cc: New file.
2410         * gdb.cp/baseenum.exp: New file.
2411         * gdb.cp/derivation.cc (A): Add copyright.
2412         Add a typedef.
2413         (B): Use A::value_type instead of int.  Change all references.
2414         (D): Use value_type instead of int.  Change all references.
2415         (E): Likewise.
2416         (F); Likewise.
2417         (Z): New class.
2418         (ZZ): New class.
2419         (N, Base, Derived): New namespace and classes.
2420         (main): Add instances of Z and ZZ.
2421         Make sure all symbols from N are kept.
2422         * gdb.cp/derivation.exp: Update typedef changes in tests.
2423         Add tests for class typedefs both before and after starting
2424         the inferior.
2425         Add tests for searching for a typedef while stopped in a
2426         method.
2427
2428 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
2429
2430         * gdb.mi/mi-var-create-rtti.c: New file.
2431         * gdb.mi/mi-var-create-rtti.exp: New file.
2432
2433 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
2434
2435         * gdb.base/structs3.exp: Run to main before doing any tests.
2436
2437 2012-11-14  Andrew Burgess  <aburgess@broadcom.com>
2438
2439         * gdb.python/py-type.exp: Uniquify test names.
2440
2441 2012-11-14  Yao Qi  <yao@codesourcery.com>
2442
2443         * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2444         (thread_function) [DEBUG]: Call 'printf'.
2445         * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2446         command line if 'DEBUG=1' is passed to test.
2447         Remove a pattern to match inferior's output.
2448
2449 2012-11-13  Giuseppe Montalto  <giuseppe.montalto@st.com>
2450
2451         * gdb.mi/mi-fill-memory.exp: New test.
2452
2453 2012-11-12  Tom Tromey  <tromey@redhat.com>
2454
2455         * gdb.base/completion.exp: Update for "info type-printers".
2456         * gdb.python/py-typeprint.cc: New file.
2457         * gdb.python/py-typeprint.exp: New file.
2458         * gdb.python/py-typeprint.py: New file.
2459
2460 2012-11-12  Tom Tromey  <tromey@redhat.com>
2461
2462         * gdb.base/call-sc.exp: Use "ptype/r".
2463         * gdb.base/volatile.exp: Don't expect "int".
2464         * gdb.cp/ptype-flags.cc: New file.
2465         * gdb.cp/ptype-flags.exp: New file.
2466         * gdb.cp/templates.exp: Use ptype/r.
2467         (test_ptype_of_templates, test_template_typedef): Likewise.
2468         * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2469         argument.  Handle template names and template parameters.
2470         * gdb.mi/mi-var-cmd.exp: Accept "long".
2471         * gdb.mi/mi-var-child.exp: Accept "long".
2472         * gdb.mi/mi-var-display.exp: Accept "long".
2473         * gdb.mi/mi2-var-child.exp: Accept "long".
2474
2475 2012-11-12  Tom Tromey  <tromey@redhat.com>
2476
2477         * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2478         "ptype" from calls to cp_test_ptype_class.
2479         (test_enums): Likewise.
2480         * gdb.cp/derivation.exp: Remove "ptype" from calls to
2481         cp_test_ptype_class.
2482         * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2483         calls to cp_test_ptype_class.
2484         (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2485         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2486         from calls to cp_test_ptype_class.
2487         * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2488         command here.  Change "in_command" argument to "in_exp".
2489
2490 2012-11-10  Keith Seitz  <keiths@redhat.com>
2491
2492         PR gdb/14288
2493         * gdb.base/printcmds.c: Add invalid_XXX globals
2494         for repeated byte tests.
2495         * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2496         * gdb.base/wchar.c (main): Add and construct a wchar_t
2497         array with repeated characters.
2498         * gdb.base/wchar.exp: Add repeated character tests.
2499
2500 2012-11-09  Andrew Burgess  <aburgess@broadcom.com>
2501
2502         * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2503         disassembly output.
2504
2505 2012-11-09  Pedro Alves  <palves@redhat.com>
2506
2507         PR gdb/14306
2508
2509         * gdb.multi/multi-arch-exec.c: New file.
2510         * gdb.multi/multi-arch-exec.exp: New file.
2511
2512 2012-11-09  Yao Qi  <yao@codesourcery.com>
2513
2514         * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2515         (top level): Call it.
2516
2517 2012-11-09  Yao Qi  <yao@codesourcery.com>
2518
2519         * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2520         typo.
2521
2522 2012-11-09  Pedro Alves  <palves@redhat.com>
2523
2524         * gdb.multi/multi-arch.exp: New.
2525
2526 2012-11-08  Tom Tromey  <tromey@redhat.com>
2527
2528         * gdb.base/siginfo-obj.exp: Create core file.  Test siginfo from
2529         core files, if possible.
2530         * gdb.base/siginfo-thread.c: New file
2531         * gdb.base/siginfo-thread.exp: New file
2532
2533 2012-11-08  Tom Tromey  <tromey@redhat.com>
2534
2535         * gdb.base/comprdebug.exp: New file.
2536
2537 2012-11-06  Pedro Alves  <palves@redhat.com>
2538
2539         PR gdb/14810
2540
2541         * gdb.base/disabled-location.c: New file.
2542         * gdb.base/disabled-location.exp: New file.
2543
2544 2012-11-06  Tom Tromey  <tromey@redhat.com>
2545
2546         * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2547         * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2548         gdb_gcore_cmd.
2549         * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2550         * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2551         * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2552         * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2553         * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2554         * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2555         * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2556         * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2557         * lib/gdb.exp (gdb_gcore_cmd): New proc.
2558
2559 2012-11-05  Pedro Alves  <palves@redhat.com>
2560
2561         * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2562         procedure.
2563         (do_vfork_and_follow_child_tests_exec)
2564         (do_vfork_and_follow_child_tests_exit): Call it.
2565
2566 2012-11-05  Pedro Alves  <palves@redhat.com>
2567
2568         * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2569         fails.
2570
2571 2012-11-03  Yao Qi  <yao@codesourcery.com>
2572
2573         Fix PR gdb/14617.
2574         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2575         Remove setup_kfail, and update test.
2576
2577 2012-11-02  Tom Tromey  <tromey@redhat.com>
2578
2579         * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2580         test.
2581
2582 2012-11-02  Pedro Alves  <palves@redhat.com>
2583
2584         PR gdb/14766
2585
2586         * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2587         setup_kfail.
2588         (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2589         get registers".
2590
2591 2012-11-02  Pedro Alves  <palves@redhat.com>
2592
2593         * gdb.base/foll-vfork-exit.c: New file.
2594         * gdb.base/foll-vfork.exp (top level): New file-describing
2595         comment.
2596         (vfork_child_follow_to_exit): New procedure.
2597         (tcatch_vfork_then_child_follow): Rename as ...
2598         (tcatch_vfork_then_child_follow_exec): ... this.
2599         (tcatch_vfork_then_child_follow_exit): New procedure.
2600         (do_vfork_and_follow_parent_tests): New procedure, factored out
2601         from do_vfork_and_exec_tests.
2602         (do_vfork_and_follow_child_tests_exec): Ditto.
2603         (do_vfork_and_exec_tests): Delete.
2604         (do_vfork_and_follow_child_tests_exit): New procedure.
2605         (top level): Run tests with both the program that has the vfork
2606         child execing, and the program has the vfork child exiting.
2607
2608 2012-11-02  Pedro Alves  <palves@redhat.com>
2609
2610         * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2611         (check_vfork_catchpoints, vfork_parent_follow_through_step)
2612         (vfork_parent_follow_to_bp): Call it.
2613         (kill_child): Delete.
2614         (vfork_and_exec_child_follow_to_main_bp)
2615         (vfork_and_exec_child_follow_through_step): Call setup_gdb.  No
2616         longer call kill_child.
2617         (tcatch_vfork_then_parent_follow): Call setup_gdb.
2618         (do_vfork_and_exec_tests): Don't runto_main before calling each
2619         test procedure.
2620         (top level): Don't clean restart and set verbose before running
2621         each test procedure.
2622
2623 2012-11-02  Pedro Alves  <palves@redhat.com>
2624
2625         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2626         (vfork_parent_follow_to_bp)
2627         (vfork_and_exec_child_follow_to_main_bp)
2628         (vfork_and_exec_child_follow_through_step)
2629         (tcatch_vfork_then_parent_follow)
2630         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2631         Use with_test_prefix.
2632
2633 2012-11-02  Pedro Alves  <palves@redhat.com>
2634
2635         * gdb.base/foll-vfork.c: Add copyright header.
2636         * gdb.base/vforked-prog.c: Add copyright header.
2637
2638 2012-11-02  Pedro Alves  <palves@redhat.com>
2639
2640         * gdb.base/foll-vfork.exp
2641         (vfork_and_exec_child_follow_through_step): Don't skip on
2642         non-HP/UX targets.  Expect the next to only step one line on
2643         non-HP/UX targets, rather than stopping only after the exec.
2644
2645 2012-11-02  Pedro Alves  <palves@redhat.com>
2646
2647         Don't hard code line numbers.
2648
2649         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2650         Expect text from the sources instead of a line number.
2651         (vfork_parent_follow_to_bp)
2652         (vfork_and_exec_child_follow_to_main_bp)
2653         (vfork_and_exec_child_follow_through_step)
2654         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2655         Use gdb_get_line_number.
2656
2657 2012-11-02  Pedro Alves  <palves@redhat.com>
2658
2659         Modernize.
2660
2661         * gdb.base/foll-vfork.exp: Use standard_testfile and
2662         build_executable.  Pass descriptive string to untested.
2663         (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2664         (vfork_and_exec_child_follow_to_main_bp)
2665         (vfork_and_exec_child_follow_through_step)
2666         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2667         (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2668         of send_gdb/gdb_expect.
2669
2670         (kill_child): New procedure.
2671         (vfork_and_exec_child_follow_to_main_bp)
2672         (vfork_and_exec_child_follow_through_step): Use it.
2673
2674 2012-11-02  Yao Qi  <yao@codesourcery.com>
2675
2676         * gdb.base/setvar.exp: Test setting nested struct.
2677         * gdb.base/setvar.c (v_struct3): New.
2678
2679 2012-11-01  Doug Evans  <dje@google.com>
2680
2681         * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2682         changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2683         use them.
2684
2685 2012-10-31  Andrew Burgess  <aburgess@broadcom.com>
2686
2687         PR cli/14772
2688         * gdb.base/gnu_vector.c (union_with_vector_1)
2689         (struct_with_vector_1): Add new struct and union for testing
2690         ptype.
2691         * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2692         structs / unions containing vectors.
2693
2694 2012-10-25  Yao Qi  <yao@codesourcery.com>
2695
2696         * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2697         'setup_kfail' instead of 'setup_kfail_for_target'.
2698         * gdb.base/varargs.exp: Likewise.
2699         * lib/gdb.exp (setup_kfail_for_target): Remove.
2700
2701 2012-10-25  Mark Kettenis  <kettenis@openbsd.nfra.nl>
2702
2703         * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2704
2705 2012-10-25  Mark Kettenis  <kettenis@gnu.org>
2706
2707         * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2708
2709 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
2710
2711         * gdb.ada/set_wstr: New testcase.
2712
2713 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
2714
2715         * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2716
2717 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
2718
2719         * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2720
2721 2012-10-24  Mark Kettenis  <kettenis@gnu.org>
2722
2723         * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2724
2725 2012-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
2726
2727         * gdb.base/callfuncs.exp (do_function_calls): Fix
2728         setup_kfail_for_target for -m32 mode.
2729
2730 2012-10-23  Mark Kettenis  <kettenis@gnu.org>
2731
2732         * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2733         are now fixed.
2734
2735 2012-10-23  Yao Qi  <yao@codesourcery.com>
2736
2737         * gdb.base/info-os.exp: Resume the inferior until it exits.
2738
2739 2012-10-18  Yufeng Zhang  <yufeng.zhang@arm.com>
2740
2741         * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2742         * gdb.base/print-file-var.exp: Likewise.
2743         * gdb.base/type-opaque.exp: Likewise.
2744
2745 2012-10-17  Yao Qi  <yao@codesourcery.com>
2746
2747         * gdb.mi/mi-memory-changed.exp: New.
2748
2749 2012-10-16  Yao Qi  <yao@codesourcery.com>
2750
2751         * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2752         returns true.
2753         Call gdb_load_shlibs.
2754         * gdb.reverse/solib-reverse.exp: Likewise.
2755
2756 2012-10-15  Keith Seitz  <keiths@redhat.com>
2757
2758         * lib/cp-support.exp (cp_test_ptype_class): Add support
2759         for class typedefs.
2760
2761         * gdb.cp/derivation.exp: Add tests for g_instance.
2762
2763 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2764
2765         Fix entry values resolving in inlined frames.
2766         * gdb.arch/amd64-entry-value-inline.S: New file.
2767         * gdb.arch/amd64-entry-value-inline.c: New file.
2768         * gdb.arch/amd64-entry-value-inline.exp: New file.
2769
2770 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2771             Doug Evans  <dje@google.com>
2772
2773         Fix recent gdb_breakpoint regression.
2774         * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2775         braces from the parameter.
2776         * gdb.java/jprint.exp: Likewise.
2777
2778 2012-10-15  Doug Evans  <dje@google.com>
2779
2780         * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2781
2782 2012-10-15  Yufeng Zhang  <yufeng.zhang@arm.com>
2783
2784         * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2785
2786 2012-10-15  Tom Tromey  <tromey@redhat.com>
2787
2788         * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2789
2790 2012-10-15  Tom Tromey  <tromey@redhat.com>
2791
2792         * gdb.python/py-symbol.exp: Test symbol destructor.
2793
2794 2012-10-14  Yao Qi  <yao@codesourcery.com>
2795
2796         * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2797         * gdb.mi/mi-cli.exp: New.
2798
2799         * gdb.mi/mi2-basics.exp: Remove.
2800         * gdb.mi/mi2-break.exp: Remove.
2801         * gdb.mi/mi2-console.exp: Remove.
2802         * gdb.mi/mi2-disassemble.exp: Remove.
2803         * gdb.mi/mi2-eval.exp: Remove.
2804         * gdb.mi/mi2-file.exp: Remove.
2805         * gdb.mi/mi2-hack-cli.exp: Remove.
2806         * gdb.mi/mi2-pthreads.exp: Remove.
2807         * gdb.mi/mi2-read-memory.exp: Remove.
2808         * gdb.mi/mi2-regs.exp: Remove.
2809         * gdb.mi/mi2-return.exp: Remove.
2810         * gdb.mi/mi2-simplerun.exp: Remove.
2811         * gdb.mi/mi2-stack.exp: Remove.
2812         * gdb.mi/mi2-stepi.exp: Remove.
2813         * gdb.mi/mi2-syn-frame.exp: Remove.
2814         * gdb.mi/mi2-until.exp: Remove.
2815         * gdb.mi/mi2-watch.exp: Remove.
2816         * gdb.mi/mi2-var-block.exp: Remove.
2817         * gdb.mi/mi2-var-cmd.exp: Remove.
2818         * gdb.mi/mi2-var-display.exp: Remove.
2819
2820 2012-10-12  Yao Qi  <yao@codesourcery.com>
2821
2822         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2823         trail '.*' on matching patterns.
2824
2825 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2826
2827         * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2828         * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2829         * gdb.arch/i386-disp-step.exp: Likewise.
2830         * gdb.arch/i386-gnu-cfi.exp: Likewise.
2831         * gdb.arch/i386-prologue.exp: Likewise.
2832         * gdb.arch/i386-size-overlap.exp: Likewise.
2833         * gdb.arch/i386-size.exp: Likewise.
2834         * gdb.arch/i386-unwind.exp: Likewise.
2835
2836 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2837
2838         * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2839         * gdb.arch/i386-word.exp: Likewise.
2840
2841 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2842
2843         * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2844         is_ilp32_target to set nr_regs.
2845         * gdb.arch/i386-sse.exp: Likewise.
2846
2847 2012-10-11  Doug Evans  <dje@google.com>
2848
2849         PR breakpoints/14643.
2850         * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2851         * gdb.linespec/thread.c: New file.
2852         * gdb.linespec/thread.exp: New file.
2853
2854         * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2855         Recognize "message" -> print pass and fail.  Add eof case.
2856         (runto): Recognize message, no-message.  Print pass/fail if requested,
2857         with same treatment as gdb_breakpoint.
2858         (runto_main): Pass no-message to runto.
2859         (gdb_internal_error_resync): Add log message.
2860         (gdb_file_cmd): Tweak internal error fail text for consistency.
2861
2862 2012-10-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2863
2864         Fix crash during stepping on ppc32.
2865         * gdb.base/step-symless.c: New file.
2866         * gdb.base/step-symless.exp: New file.
2867
2868 2012-10-03  Doug Evans  <dje@google.com>
2869
2870         PR symtab/14601
2871         * gdb.cp/using-crash.exp: New file.
2872         * gdb.cp/using-crash.cc: New file.
2873
2874 2012-10-02  Doug Evans  <dje@google.com>
2875
2876         * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2877         more consistent.
2878         (runto,gdb_debug_format): Ditto.
2879         (gdb_file_cmd): Watch for eof in nested gdb_expect.
2880         Clean up logging and error messages.
2881
2882 2012-10-01  Andrew Burgess  <aburgess@broadcom.com>
2883
2884         Test find command on unmapped memory.
2885         * gdb.base/find-unmapped.c: New file.
2886         * gdb.base/find-unmapped.exp: New file.
2887
2888 2012-09-29  Yao Qi  <yao@codesourcery.com>
2889
2890         * gdb.trace/mi-tracepoint-changed.exp: New.
2891         * gdb.mi/mi-breakpoint-changed.exp: New.
2892         * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2893         * gdb.mi/pendshr2.c: New.
2894
2895 2012-09-28  Yao Qi  <yao@codesourcery.com>
2896
2897         * gdb.mi/pr11022.exp: New.
2898         * gdb.mi/pr11022.c: New.  Copied from gdb.base/.
2899
2900 2012-09-27  Tom Tromey  <tromey@redhat.com>
2901
2902         * gdb.cp/derivation.exp: Add regression test.
2903         * gdb.cp/derivation.cc (class V_base, class V_inter, class
2904         V_derived): New.
2905         (vderived): New global.
2906
2907 2012-09-26  Tom Tromey  <tromey@redhat.com>
2908
2909         * gdb.dwarf2/dw2-common-block.S: New file.
2910         * gdb.dwarf2/dw2-common-block.exp: New file.
2911
2912 2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2913
2914         * gdb.fortran/common-block.exp: New file.
2915         * gdb.fortran/common-block.f90: New file.
2916
2917 2012-09-26  Andrew Burgess  <aburgess@broadcom.com>
2918
2919         * gdb.base/duplicate-bp.c: New file.
2920         * gdb.base/duplicate-bp.exp: New file.
2921
2922 2012-09-26  Yao Qi  <yao@codesourcery.com>
2923
2924         * gdb.mi/mi2-cli.exp:  Avoid line number in test summary.
2925
2926         Revert:
2927         2012-09-21  Yao Qi  <yao@codesourcery.com>
2928
2929         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2930
2931 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2932
2933         * gdb.base/longest-types.c: New test case.
2934         * gdb.base/longest-types.exp: New test case.
2935
2936 2012-09-25  Yao Qi  <yao@codesourcery.com>
2937
2938         * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2939
2940 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2941
2942         Fix internal error on canonicalization of clang types.
2943         * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2944         * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2945         * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2946
2947 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2948
2949         Fix disassemble without parameters in tailcall frame.
2950         * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2951
2952 2012-09-21  Andrew Burgess  <aburgess@broadcom.com>
2953
2954         * gdb.dwarf2/dw2-op-out-param.S: New file.
2955         * gdb.dwarf2/dw2-op-out-param.exp: New file.
2956
2957 2012-09-21  Yao Qi  <yao@codesourcery.com>
2958
2959         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2960
2961 2012-09-21  Yao Qi  <yao@codesourcery.com>
2962
2963         * gdb.mi/mi-cli.exp: Remove.
2964         * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2965
2966 2012-09-21  Yao Qi  <yao@codesourcery.com>
2967
2968         * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2969         "=record-started" notification.
2970
2971 2012-09-21  Yao Qi  <yao@codesourcery.com>
2972
2973         * gdb.mi/mi-record-changed.exp: New.
2974         * gdb.mi/mi-reverse.exp: Adjust expected output.
2975
2976 2012-09-20  Tom Tromey  <tromey@redhat.com>
2977
2978         * gdb.python/python.exp: Test atexit.register.
2979
2980 2012-09-20  Doug Evans  <dje@google.com>
2981
2982         * boards/dwarf4-gdb-index.exp: New file.
2983
2984         * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2985         while running the tests.
2986
2987 2012-09-18  Joel Brobecker  <brobecker@adacore.com>
2988
2989         * gdb.ada/bp_reset: New testcase.
2990
2991 2012-09-18  Yao Qi  <yao@codesourcery.com>
2992
2993         * gdb.trace/mi-tsv-changed.exp: New.
2994
2995 2012-09-18  Yao Qi  <yao@codesourcery.com>
2996
2997         * gdb.trace/mi-traceframe-changed.exp: New.
2998
2999 2012-09-17  Yao Qi  <yao@codesourcery.com>
3000
3001         * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3002         when it is less than 0.
3003
3004 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3005
3006         PR 14119
3007         * gdb.arch/amd64-tailcall-ret.S: New file.
3008         * gdb.arch/amd64-tailcall-ret.c: New file.
3009         * gdb.arch/amd64-tailcall-ret.exp: New file.
3010         * gdb.reverse/amd64-tailcall-reverse.S: New file.
3011         * gdb.reverse/amd64-tailcall-reverse.c: New file.
3012         * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3013
3014 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3015
3016         PR 14548
3017         * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3018         * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3019         * gdb.reverse/singlejmp-reverse.S: New file.
3020         * gdb.reverse/singlejmp-reverse.c: New file.
3021         * gdb.reverse/singlejmp-reverse.exp: New file.
3022
3023 2012-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3024
3025         Fix compatibility with old GCC (~4.1).
3026         * gdb.cp/converts.cc (my_enum_var): New variable.
3027
3028 2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
3029
3030         * gdb.xml/tdesc-regs.exp: Update expected output for new
3031         vector_size syntax of vector types.
3032
3033 2012-09-13  Khoo Yit Phang  <khooyp@cs.umd.edu>
3034
3035         Refactor Python "gdb" module into a proper Python package, by
3036         introducing a new "_gdb" module for code implemented in C, and
3037         using reload/__import__ instead of exec.
3038         * gdb.python/python.exp (Test stderr location): Update module
3039         location of GDB-specific sys.stderr.
3040         (Test stdout location): Ditto for sys.stdout.
3041
3042 2012-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3043
3044         * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3045
3046 2012-09-12  Keith Seitz  <keiths@redhat.com>
3047
3048         * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3049         conversion statement.
3050
3051 2012-09-12  Doug Evans  <dje@google.com>
3052
3053         * gdb.base/help.exp: Remove testing of individual command help text,
3054         too much of a maintenance burden.  Instead, test the functionality
3055         of "help" itself.
3056
3057 2012-09-11  Doug Evans  <dje@google.com>
3058
3059         * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3060         breakpoint.
3061
3062         * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3063         * gdb.dwarf2/fission-reread.S: Ditto.
3064         * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3065         * gdb.dwarf2/fission-reread.exp: Ditto.
3066
3067 2012-09-11  Andrew Burgess  <aburgess@broadcom.com>
3068
3069         * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3070
3071 2012-09-10  Joel Brobecker  <brobecker@adacore.com>
3072
3073         * gdb.ada/optim_drec: New testcase.
3074
3075 2012-09-10  Doug Evans  <dje@google.com>
3076
3077         * boards/fission.exp: Explicitly mark "board" as not remote.
3078
3079 2012-09-10  Keith Seitz  <keiths@redhat.com>
3080
3081         PR gdb/13483
3082         * gdb.cp/converts.cc (A::A): Add ctor.
3083         (A::member_): Add member.
3084         (enum my_enum): New enumeration.
3085         (main): Add calls to foo1_7 with various
3086         permitted arguments.
3087         * gdb.cp/converts.exp: Add tests for boolean
3088         conversions permitted by the standard.
3089
3090 2012-09-08  Khoo Yit Phang  <khooyp@cs.umd.edu>
3091
3092         Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3093         avoid spurious results due to ~/.gdbinit.
3094         * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3095         $INTERNAL_GDBFLAGS in run command.
3096         * gdb.gdb/observer.exp (setup_test): Ditto.
3097         * gdb.gdb/selftest.exp (test_with_self): Ditto.
3098         * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3099
3100 2012-09-06  Doug Evans  <dje@google.com>
3101
3102         * boards/fission.exp: New file.
3103
3104         * gdb.python/py-value.exp: Use clean_restart.
3105
3106 2012-09-05  Doug Evans  <dje@google.com>
3107
3108         * gdb.base/info-macros.c: Fix whitespace.
3109
3110 2012-08-28  Pedro Alves  <palves@redhat.com>
3111
3112         PR gdb/14428
3113
3114         * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3115
3116 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3117
3118         * gdb.base/break-caller-line.c: New file.
3119         * gdb.base/break-caller-line.exp: New file.
3120
3121 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3122
3123         * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3124         * gdb.arch/i386-cfi-notcurrent.S: New file.
3125         * gdb.arch/i386-cfi-notcurrent.exp: New file.
3126
3127 2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
3128             Yao Qi <yao@codesourcery.com>
3129             Pedro Alves <palves@redhat.com>
3130
3131         * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3132         New procedures.
3133         (top level): Add overlap checking tests.
3134
3135 2012-08-24  Tom Tromey  <tromey@redhat.com>
3136
3137         * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3138         gdb_test_multiple fails for other reasons.
3139
3140 2012-08-24  Yao Qi  <yao@codesourcery.com>
3141
3142         * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3143
3144 2012-08-23  Pedro Alves  <palves@redhat.com>
3145
3146         * gdb.base/help.exp: Adjust to "handle" help text change.
3147
3148 2012-08-23  Yao Qi  <yao@codesourcery.com>
3149
3150         * gdb.trace/disconnected-tracing.c (start, end): New.
3151         (main): Call start and end.
3152         * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3153         existing tests into this proc.
3154         (disconnected_tfind): New.
3155
3156 2012-08-23  Yao Qi  <yao@codesourcery.com>
3157
3158         * boards/native-gdbserver.exp (${board}_upload): New.
3159         * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3160         * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3161         Execute tfile on remote target.
3162         Copy trace file from target to host.
3163
3164 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
3165
3166         * gdb.arch/thumb-bx-pc.S: New file.
3167         * gdb.arch/thumb-bx-pc.exp: New file.
3168
3169 2012-08-22  Tom Tromey  <tromey@redhat.com>
3170
3171         * gdb.base/maint.exp: Update.
3172
3173 2012-08-22  Tom Tromey  <tromey@redhat.com>
3174
3175         * lib/gdb.exp (skip_unwinder_tests): New proc.
3176         * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3177         * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3178
3179 2012-08-21  Tom Tromey  <tromey@redhat.com>
3180
3181         * gdb.hp/gdb.aCC/exception.exp: Remove.
3182
3183 012-08-19  Andrew Pinski  <apinski@cavium.com>
3184
3185         * gdb.arch/mips-octeon-bbit.c: New file.
3186         * gdb.arch/mips-octeon-bbit.exp: New Test.
3187
3188 012-08-19  Keith Seitz  <keiths@redhat.com>
3189
3190         PR c++/14365
3191         * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3192         * gdb.dwarf2/dw2-anon-mptr.S: New file.
3193
3194 2012-08-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3195
3196         * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3197         verbose -log by more specific untested call.
3198
3199 2012-08-18  Yao Qi  <yao@codesourcery.com>
3200
3201         * gdb.trace/tfind.exp: Move tests on various command help before
3202         checking target supports trace.
3203         Fix the expected output of 'help tfind end'.
3204
3205 2012-08-17  Keith Seitz  <keiths@redhat.com>
3206
3207         PR c++/13356
3208         * gdb.base/default.exp: Update all "check type" tests.
3209         * gdb.base/help.exp: Likewise.
3210         * gdb.base/setshow.exp: Likewise.
3211         * gdb.cp/converts.cc (foo1_type_check): New function.
3212         (foo2_type_check): New function.
3213         (foo3_type_check): New function.
3214         (main): Call new functions.
3215         * converts.exp: Add tests for integer-to-pointer conversions
3216         with/without strict type-checking.
3217
3218 2012-08-16  Mike Frysinger  <vapier@gentoo.org>
3219
3220         * gdb.base/help.exp: Update expected output.
3221
3222 2012-08-16  Joel Brobecker  <brobecker@adacore.com>
3223
3224         * gdb.ada/rdv_wait: New testcase.
3225
3226 2012-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3227
3228         * gdb.base/attach-twice.exp: Remove excessive ps exec.
3229
3230 2012-08-13  Doug Evans  <dje@google.com>
3231
3232         * gdb.base/help.exp: Update expected output.
3233         * gdb.base/default.exp: Update expected output of "show convenience".
3234
3235 2012-08-10  Doug Evans  <dje@google.com>
3236
3237         * gdb.python/py-strfns.c: New file.
3238         * gdb.python/py-strfns.exp: New file.
3239         * gdb.python/py-type.exp (test_fields): Add vector tests.
3240
3241 2012-08-10  Mike Frysinger  <vapier@gentoo.org>
3242
3243         PR cli/10436:
3244         * gdb.base/completion.exp: Add tests for handle completion.
3245
3246 2012-08-09  Yao Qi  <yao@codesourcery.com>
3247
3248         * gdb.mi/mi-cmd-param-changed.exp: New.
3249         * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3250         * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3251         * gdb.mi/mi2-prompt.exp: Likewise.
3252
3253 2012-08-08  Doug Evans  <dje@google.com>
3254
3255         * gdb.base/debug-expr.c: New file.
3256         * gdb.base/debug-expr.exp: New file.
3257         * gdb.base/exprs.exp: Test {type} casts.
3258         * gdb.cp/debug-expr.exp: New file.
3259
3260 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3261
3262         * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3263         global variable loop, not a 'break'.  Add loop count limit to 100.
3264         Add new fail case for terminated vgdb.
3265
3266 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3267             Jean-Marc Saffroy  <saffroy@gmail.com>
3268
3269         PR 11804
3270         * gdb.base/gcore-relro.exp: New file.
3271         * gdb.base/gcore-relro-main.c: New file.
3272         * gdb.base/gcore-relro-lib.c: New file.
3273
3274 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3275
3276         Do not false FAIL with old GCCs.
3277         * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3278         GCC < 4.5 in $no_hw mode.
3279
3280 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3281
3282         * gdb.base/default.exp (cd): Accept new directory with no arguments.
3283
3284 2012-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3285
3286         * gdb.base/list.exp (test_only_end): New function.
3287         Call it.
3288
3289 2012-08-06  Tom Tromey  <tromey@redhat.com>
3290
3291         * gdb.python/py-mi.exp: Add test for printer whose children
3292         are a list.
3293         * gdb.python/py-prettyprint.c (struct children_as_list): New.
3294         (main): New variable children_as_list.
3295         * gdb.python/py-prettyprint.py (class pp_children_as_list):
3296         New.
3297         (register_pretty_printers): Register new printer.
3298
3299 2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3300
3301         * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3302         symbols. Abort if vgdb remote connection is closed.
3303
3304 2012-08-02  Doug Evans  <dje@google.com>
3305
3306         * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3307
3308 2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3309
3310         * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3311         s390x, PowerPC 64 and m68k-linux.
3312
3313 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
3314
3315         * gdb.base/annota1.exp: Accept no frames-invalid notification
3316         when starting up the program.
3317         * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3318         show a symbolic value as well.
3319         * gdb.server/server-exec-info.exp: Skip test when skipping
3320         gdbserver test and/or when skipping shared library tests.
3321         * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3322         avoid name conflicts with other tests.
3323
3324 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
3325
3326         * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3327         Fix wrong output on big-endian systems.
3328         * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3329         4-byte pointer types on 64-bit s390x.
3330
3331 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
3332
3333         * gdb.base/watchpoint.c (func2): Initialize local_a.  Add
3334         marker comment at the beginning (after intialization).
3335         * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3336         breakpoint on marker comment instead of function begin.
3337         (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3338         PowerPC.
3339         (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3340         or 64-bit PowerPC.
3341         (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3342         gdb,no_hardware_watchpoints flag is set.
3343         (initialize): Remove now redundant can-use-hw-watchpoints change.
3344
3345 2012-08-02  Yao Qi  <yao@codesourcery.com>
3346             Pedro Alves  <palves@redhat.com>
3347
3348         * boards/local-remote-host.exp: New.
3349
3350 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
3351
3352         * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3353         * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3354         * gdb.base/print-file-var.exp: Likewise.
3355         * gdb.server/solib-list.exp: Skip on remote targets.
3356
3357 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
3358
3359         * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3360         watchpoints on ARM.  When expecting software watchpoints, tolerate
3361         (remote) targets that report unsupported hardware watchpoint only
3362         at continue time.
3363         (test_wide_location_2): Likewise.
3364
3365 2012-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3366
3367         * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3368         valgrind versions.
3369
3370 2012-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
3371
3372         * gdb.base/valgrind-infcall.c: New file.
3373         * gdb.base/valgrind-infcall.exp: New file.
3374
3375         * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3376
3377 2012-07-30  Keith Seitz  <keiths@redhat.com>
3378
3379         * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3380         linespecs.
3381
3382 2012-07-30  Doug Evans  <dje@google.com>
3383
3384         * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3385         * gdb.dwarf2/pr13961.S: Ditto.
3386
3387         * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3388
3389 2012-07-30  Andrew Burgess  <aburgess@broadcom.com>
3390
3391         * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3392         change its format immediately after reloading the binary.
3393
3394 2012-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3395
3396         Fix testsuite regression after --use-deprecated-index-sections removal.
3397         * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3398         string.
3399         * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3400
3401 2012-07-27  Yao Qi  <yao@codesourcery.com>
3402
3403         KFAIL for PR remote/14161.
3404         * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3405         Cleanup socket files.
3406         (strace_info_marker): Detach inferior.
3407
3408 2012-07-26  Tom Tromey  <tromey@redhat.com>
3409
3410         * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3411
3412 2012-07-26  Markus Metzger  <markus.t.metzger@intel.com>
3413
3414         * gdb.python/py-inferior.c (thread): New function.
3415         (check_threads): New function.
3416         (test_threads): New function.
3417         * gdb.python/py-inferior.exp: Added test.
3418         Replaced runto with continue to breakpoint.
3419
3420 2012-07-26  Tom Tromey  <tromey@redhat.com>
3421
3422         * lib/ada.exp (standard_ada_testfile): New proc.
3423         * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3424         * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3425         * gdb.ada/array_return.exp: Use standard_ada_testfile.
3426         * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3427         * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3428         * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3429         * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3430         * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3431         * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3432         * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3433         * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3434         * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3435         * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3436         * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3437         * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3438         * gdb.ada/char_param.exp: Use standard_ada_testfile.
3439         * gdb.ada/complete.exp: Use standard_ada_testfile.
3440         * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3441         standard_output_file.
3442         * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3443         * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3444         * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3445         standard_output_file.
3446         * gdb.ada/exprs.exp: Use standard_ada_testfile.
3447         * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3448         * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3449         * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3450         * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3451         * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3452         * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3453         * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3454         * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3455         * gdb.ada/homonym.exp: Use standard_ada_testfile.
3456         * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3457         * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3458         * gdb.ada/interface.exp: Use standard_ada_testfile.
3459         * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3460         standard_output_file
3461         * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3462         * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3463         * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3464         * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3465         * gdb.ada/nested.exp: Use standard_ada_testfile.
3466         * gdb.ada/null_array.exp: Use standard_ada_testfile.
3467         * gdb.ada/null_record.exp: Use standard_ada_testfile.
3468         * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3469         * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3470         * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3471         * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3472         * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3473         * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3474         * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3475         * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3476         * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3477         * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3478         * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3479         * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3480         * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3481         * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3482         * gdb.ada/start.exp: Use standard_ada_testfile.
3483         * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3484         * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3485         * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3486         * gdb.ada/tagged.exp: Use standard_ada_testfile.
3487         * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3488         * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3489         * gdb.ada/tasks.exp: Use standard_ada_testfile.
3490         * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3491         * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3492         * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3493         * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3494         * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3495         * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3496         * gdb.ada/widewide.exp: Use standard_ada_testfile.
3497
3498 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3499
3500         Fix testsuite regression after --use-deprecated-index-sections removal.
3501         * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3502
3503 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3504
3505         Fix compatibility with Tcl before 7.5.
3506         * lib/future.exp (lreverse): New function if it does not exist.
3507
3508 2012-07-25  Marc Khouzam  <marc.khouzam@ericsson.com>
3509
3510         * gdb.mi/mi-pending.c: New method to set a second pending
3511         breakpoint.
3512         * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3513         condition.
3514
3515 2012-07-20  Pedro Alves  <palves@redhat.com>
3516
3517         PR threads/11692
3518         PR gdb/12203
3519
3520         * gdb.threads/create-fail.c: New file.
3521         * gdb.threads/create-fail.exp: New file.
3522
3523 2012-07-19  Pedro Alves  <palves@redhat.com>
3524
3525         * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3526         * config/vx.exp (gdb_start): Likewise.
3527         * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3528         * gdb.base/setvar.exp (test_set): Likewise.
3529         * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3530         * gdb.reverse/sigall-precsave.exp: Likewise.
3531         * gdb.reverse/sigall-reverse.exp: Likewise.
3532
3533 2012-07-19  Pedro Alves  <palves@redhat.com>
3534
3535         * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3536         handler before recording.
3537
3538 2012-07-19  Tom Tromey  <tromey@redhat.com>
3539
3540         * gdb.cp/casts.exp: Add tests for typeof and decltype.
3541         * gdb.cp/casts.cc (decltype): New function.
3542         (main): Use it.
3543
3544 2012-07-19  Pedro Alves  <palves@redhat.com>
3545
3546         * gdb.base/sigall.exp (signals): New list.
3547         <top level>: Loop over signals in the $signals list instead of
3548         calling a test function once per signal.
3549         * gdb.reverse/sigall-precsave.exp (signals): New list.
3550         <top level>: Loop over signals in the $signals list instead of
3551         calling a test function once per signal.
3552         * gdb.reverse/sigall-reverse.exp (signals): New list.
3553         <top level>: Loop over signals in the $signals list instead of
3554         calling a test function once per signal.
3555
3556 2012-07-19  Yao Qi  <yao@codesourcery.com>
3557
3558         * gdb.base/setshow.exp: Test 'set args ~'.
3559
3560 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3561
3562         * gdb.base/store.exp (check_set): Import gdb_prompt.
3563         (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3564         (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3565
3566 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3567
3568         PR 11914
3569         * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3570         (main): Call eval_sub.
3571         * gdb.python/py-prettyprint.exp:
3572         (python execfile ('py-prettyprint.py')): Move it earlier.
3573         New breakpoint for eval-break.
3574         (continue to breakpoint: eval-break, info locals): New test.
3575         (python execfile ('py-prettyprint.py')): Move it from here.
3576         * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3577         (register_pretty_printers): Register pp_eval_type.
3578
3579 2012-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3580
3581         Fix a testcase regression by me.
3582         * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3583         DW_FORM_data4.
3584
3585 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3586             Doug Evans  <dje@google.com>
3587
3588         * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3589         * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3590
3591 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3592
3593         Fix gdbserver run regression.
3594         * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3595
3596 2012-07-12  Tom Tromey  <tromey@redhat.com>
3597
3598         * lib/gdb.exp (standard_testfile): Don't declare objdir.
3599         (clean_restart): Likewise.
3600         (core_find): Use standard_output_file.
3601
3602 2012-07-12  Tom Tromey  <tromey@redhat.com>
3603
3604         * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3605         * gdb.dwarf2/dw2-anonymous-func.exp: Use
3606         prepare_for_testing_full.
3607         * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3608         * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3609         * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3610         * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3611         * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3612         * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3613         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3614         prepare_for_testing_full.
3615         * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3616         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3617         prepare_for_testing_full.
3618         * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3619         * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3620         * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3621
3622 2012-07-12  Tom Tromey  <tromey@redhat.com>
3623
3624         * lib/gdb.exp (build_executable_from_specs): New proc, from
3625         build_executable.
3626         (build_executable): Use it.
3627         (prepare_for_testing_full): New proc.
3628
3629 2012-07-11  Tom Tromey  <tromey@redhat.com>
3630
3631         * gdb.reverse/break-precsave.exp: Use standard_output_file.
3632         * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3633         * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3634         * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3635         * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3636         * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3637         * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3638         * gdb.reverse/step-precsave.exp: Use standard_output_file.
3639         * gdb.reverse/until-precsave.exp: Use standard_output_file.
3640         * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3641
3642 2012-07-10  Tom Tromey  <tromey@redhat.com>
3643
3644         * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3645         standard_output_file.
3646         * gdb.mi/gdb2549.exp: Use standard_testfile.
3647         * gdb.mi/gdb669.exp: Use standard_testfile.
3648         * gdb.mi/gdb701.exp: Use standard_testfile.
3649         * gdb.mi/gdb792.exp: Use standard_testfile.
3650         * gdb.mi/mi-async.exp: Use standard_testfile.
3651         * gdb.mi/mi-basics.exp: Use standard_testfile.
3652         * gdb.mi/mi-break.exp: Use standard_testfile.
3653         * gdb.mi/mi-cli.exp: Use standard_testfile.
3654         * gdb.mi/mi-console.exp: Use standard_testfile.
3655         * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3656         * gdb.mi/mi-eval.exp: Use standard_testfile.
3657         * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3658         * gdb.mi/mi-file.exp: Use standard_testfile.
3659         * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3660         * gdb.mi/mi-logging.exp: Use standard_testfile.
3661         * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3662         * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3663         * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3664         * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3665         * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3666         * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3667         * gdb.mi/mi-pending.exp: Use standard_testfile,
3668         standard_output_file.
3669         * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3670         * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3671         * gdb.mi/mi-regs.exp: Use standard_testfile.
3672         * gdb.mi/mi-return.exp: Use standard_testfile.
3673         * gdb.mi/mi-reverse.exp: Use standard_testfile.
3674         * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3675         * gdb.mi/mi-solib.exp: Use standard_testfile,
3676         standard_output_file.
3677         * gdb.mi/mi-stack.exp: Use standard_testfile.
3678         * gdb.mi/mi-stepi.exp: Use standard_testfile.
3679         * gdb.mi/mi-stepn.exp: Use standard_testfile.
3680         * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3681         * gdb.mi/mi-until.exp: Use standard_testfile.
3682         * gdb.mi/mi-var-block.exp: Use standard_testfile.
3683         * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3684         * gdb.mi/mi-var-child.exp: Use standard_testfile.
3685         * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3686         * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3687         * gdb.mi/mi-var-display.exp: Use standard_testfile.
3688         * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3689         standard_output_file.
3690         * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3691         * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3692         * gdb.mi/mi-watch.exp: Use standard_testfile.
3693         * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3694         * gdb.mi/mi2-basics.exp: Use standard_testfile.
3695         * gdb.mi/mi2-break.exp: Use standard_testfile.
3696         * gdb.mi/mi2-cli.exp: Use standard_testfile.
3697         * gdb.mi/mi2-console.exp: Use standard_testfile.
3698         * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3699         * gdb.mi/mi2-eval.exp: Use standard_testfile.
3700         * gdb.mi/mi2-file.exp: Use standard_testfile.
3701         * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3702         * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3703         * gdb.mi/mi2-regs.exp: Use standard_testfile.
3704         * gdb.mi/mi2-return.exp: Use standard_testfile.
3705         * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3706         * gdb.mi/mi2-stack.exp: Use standard_testfile.
3707         * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3708         * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3709         * gdb.mi/mi2-until.exp: Use standard_testfile.
3710         * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3711         * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3712         * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3713         * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3714         * gdb.mi/mi2-watch.exp: Use standard_testfile.
3715
3716 2012-07-10  Tom Tromey  <tromey@redhat.com>
3717
3718         * gdb.cp/abstract-origin.exp: Use standard_testfile.
3719         * gdb.cp/ambiguous.exp: Use standard_testfile,
3720         prepare_for_testing.
3721         * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3722         * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3723         * gdb.cp/anon-ns.exp: Use standard_testfile.
3724         * gdb.cp/anon-struct.exp: Use standard_testfile.
3725         * gdb.cp/anon-union.exp: Use standard_testfile,
3726         prepare_for_testing.
3727         * gdb.cp/arg-reference.exp: Use standard_testfile,
3728         prepare_for_testing.
3729         * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3730         * gdb.cp/breakpoint.exp: Use standard_testfile,
3731         prepare_for_testing.
3732         * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3733         * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3734         standard_output_file.
3735         * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3736         * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3737         * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3738         (test_static_members): Update.
3739         * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3740         * gdb.cp/converts.exp: Use standard_testfile.
3741         * gdb.cp/cp-relocate.exp: Use standard_testfile.
3742         * gdb.cp/cpcompletion.exp: Use standard_testfile,
3743         prepare_for_testing.
3744         * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3745         * gdb.cp/cplabel.exp: Use standard_testfile.
3746         * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3747         prepare_for_testing.
3748         * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3749         * gdb.cp/derivation.exp: Use standard_testfile,
3750         prepare_for_testing.
3751         * gdb.cp/destrprint.exp: Use standard_testfile.
3752         * gdb.cp/dispcxx.exp: Use standard_testfile.
3753         * gdb.cp/exception.exp: Use standard_testfile,
3754         prepare_for_testing.
3755         * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3756         * gdb.cp/extern-c.exp: Use standard_testfile,
3757         prepare_for_testing.
3758         * gdb.cp/formatted-ref.exp: Use standard_testfile,
3759         prepare_for_testing.
3760         * gdb.cp/fpointer.exp: Use standard_testfile.
3761         * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3762         * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3763         standard_output_file.
3764         * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3765         * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3766         * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3767         standard_output_file.
3768         * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3769         (do_tests): Update.
3770         * gdb.cp/koenig.exp: Use standard_testfile.
3771         * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3772         * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3773         * gdb.cp/m-static.exp: Use standard_testfile,
3774         prepare_for_testing.
3775         * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3776         * gdb.cp/mb-inline.exp: Use standard_testfile,
3777         prepare_for_testing.
3778         * gdb.cp/mb-templates.exp: Use standard_testfile,
3779         prepare_for_testing.
3780         * gdb.cp/member-ptr.exp: Use standard_testfile,
3781         prepare_for_testing.
3782         * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3783         * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3784         * gdb.cp/method2.exp: Use standard_testfile.
3785         * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3786         standard_output_file.
3787         * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3788         (do_tests): Update.
3789         * gdb.cp/namespace-enum.exp: Use standard_testfile,
3790         prepare_for_testing.
3791         * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3792         prepare_for_testing.
3793         * gdb.cp/namespace.exp: Use standard_testfile,
3794         prepare_for_testing.
3795         * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3796         * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3797         * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3798         * gdb.cp/nsimport.exp: Use standard_testfile,
3799         prepare_for_testing.
3800         * gdb.cp/nsnested.exp: Use standard_testfile.
3801         * gdb.cp/nsnoimports.exp: Use standard_testfile.
3802         * gdb.cp/nsrecurs.exp: Use standard_testfile,
3803         prepare_for_testing.
3804         * gdb.cp/nsstress.exp: Use standard_testfile,
3805         prepare_for_testing.
3806         * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3807         * gdb.cp/operator.exp: Use standard_testfile.
3808         * gdb.cp/oranking.exp: Use standard_testfile.
3809         * gdb.cp/overload-const.exp: Use standard_testfile.
3810         * gdb.cp/overload.exp: Use standard_testfile,
3811         prepare_for_testing.
3812         * gdb.cp/ovldbreak.exp: Use standard_testfile.
3813         * gdb.cp/ovsrch.exp: Use standard_testfile.
3814         * gdb.cp/paren-type.exp: Use standard_testfile.
3815         * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3816         prepare_for_testing.
3817         * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3818         * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3819         * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3820         * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3821         * gdb.cp/pr10728.exp: Use standard_testfile,
3822         standard_output_file.
3823         * gdb.cp/pr12028.exp: Use standard_testfile.
3824         * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3825         * gdb.cp/pr9167.exp: Use standard_testfile.
3826         * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3827         * gdb.cp/printmethod.exp: Use standard_testfile,
3828         prepare_for_testing.
3829         * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3830         * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3831         * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3832         * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3833         standard_output_file.
3834         * gdb.cp/readnow-language.exp: Use standard_testfile.
3835         * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3836         (gdb_start_again): Use clean_restart.
3837         * gdb.cp/ref-types.exp: Use standard_testfile,
3838         prepare_for_testing.
3839         * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3840         * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3841         * gdb.cp/smartp.exp: Use standard_testfile.
3842         * gdb.cp/static-method.exp: Use standard_testfile.
3843         * gdb.cp/static-print-quit.exp: Use standard_testfile.
3844         * gdb.cp/temargs.exp: Use standard_testfile.
3845         * gdb.cp/templates.exp: Use standard_testfile,
3846         prepare_for_testing.
3847         (do_tests): Update.
3848         * gdb.cp/try_catch.exp: Use standard_testfile,
3849         prepare_for_testing.
3850         * gdb.cp/typedef-operator.exp: Use standard_testfile.
3851         * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3852         * gdb.cp/virtbase.exp: Use standard_testfile,
3853         prepare_for_testing.
3854         * gdb.cp/virtfunc.exp: Use standard_testfile,
3855         prepare_for_testing.
3856         (do_tests): Update.
3857         * gdb.cp/virtfunc2.exp: Use standard_testfile,
3858         prepare_for_testing.
3859
3860 2012-07-10  Tom Tromey  <tromey@redhat.com>
3861
3862         * lib/gdb.exp (standard_testfile): Unset output variables from
3863         earlier invocations.
3864
3865 2012-07-10  Yao Qi  <yao@codesourcery.com>
3866
3867         * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3868         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3869         * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3870         * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3871         * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3872         * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3873         * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3874         * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3875         * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3876         * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3877         * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3878         * gdb.mi/mi-var-display.exp: Likewise.
3879         * gdb.mi/mi-var-invalidate.exp: Likewise.
3880         * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3881         * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3882         * gdb.mi/mi2-console.exp: Likewise.
3883         * gdb.mi/mi2-disassemble.exp: Likewise.
3884         * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3885         * gdb.mi/mi2-read-memory.exp: Likewise.
3886         * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3887         * gdb.mi/mi2-simplerun.exp: Likewise.
3888         * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3889         * gdb.mi/mi2-syn-frame.exp: Likewise.
3890         * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3891         * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3892         * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3893
3894 2012-07-09  Tom Tromey  <tromey@redhat.com>
3895
3896         * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3897         * gdb.base/callfuncs.exp: Add cast-based test.
3898         * gdb.base/callfuncs.c (voidfunc): New function.
3899
3900 2012-07-08  Doug Evans  <dje@google.com>
3901
3902         * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3903
3904 2012-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3905
3906         Fix XFAIL compatibility with old i386 systems.
3907         * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3908         Check also 'Cannot insert breakpoint 0'.
3909
3910 2012-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3911
3912         PR 14321
3913         * gdb.base/find.exp
3914         (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3915
3916 2012-07-06  Tom Tromey  <tromey@redhat.com>
3917
3918         * gdb.base/whatis.exp: Add test.
3919
3920 2012-07-06  Tom Tromey  <tromey@redhat.com>
3921
3922         * gdb.base/whatis.exp: Add regression test.
3923
3924 2012-07-06  Tom Tromey  <tromey@redhat.com>
3925
3926         * gdb.base/whatis.exp: Add tests.
3927
3928 2012-07-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3929
3930         PR 12649
3931         * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3932         gdb_test_multiple $gdb_prompt terminator.
3933
3934 2012-07-04  Pedro Alves  <palves@redhat.com>
3935
3936         * gdb.mi/mi-reverse.exp: Use supports_reverse and
3937         supports_process_record.
3938
3939 2012-07-04  Pedro Alves  <palves@redhat.com>
3940
3941         * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3942         endings.
3943         * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3944
3945 2012-07-03  Stan Shebs  <stan@codesourcery.com>
3946
3947         * gdb.base/info-os.c (main): Retry resource acquisition until an
3948         available one is found.
3949         * gdb.base/info-os.exp: Collect resource keys from the program
3950         and use them in matching.
3951
3952 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3953
3954         * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3955         Wrap the test into loop for corefile and core0file.
3956
3957 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3958
3959         * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3960         Change CU pointer size to 4 bytes, adjust .8byte to .4byte.  Remove
3961         .note.GNU-stack.
3962
3963         * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3964
3965 2012-07-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3966
3967         * gdb.base/help.exp (help b, help br, help bre, help brea, help
3968         break): Include help message for the new `-probe' and `-probe-stap'
3969         options.
3970
3971 2012-07-02  Stan Shebs  <stan@codesourcery.com>
3972
3973         * gdb.base/dprintf.exp: Add agent style tests.
3974
3975 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3976
3977         * gdb.base/stale-infcall.c (infcall): New label test-next.
3978         (main): New labels test-pass and test-fail.
3979         * gdb.base/stale-infcall.exp: Continue to test-next.  Put breakpoint
3980         $test_fail_bpnum to test-fail.
3981         (test system longjmp tracking support): New test.
3982         Delete $test_fail_bpnum.
3983         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3984         breakpoint.
3985
3986 2012-06-30  Doug Evans  <dje@google.com>
3987
3988         * gdb.dwarf2/fission-reread.S: New file.
3989         * gdb.dwarf2/fission-reread.exp: New file.
3990
3991 2012-06-28  Stan Shebs  <stan@codesourcery.com>
3992
3993         * gdb.mi/mi-logging.exp: New file.
3994
3995 2012-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3996             Pedro Alves  <palves@redhat.com>
3997
3998         * gdb.threads/siginfo-threads.exp: New file.
3999         * gdb.threads/siginfo-threads.c: New file.
4000         * gdb.threads/sigstep-threads.exp: New file.
4001         * gdb.threads/sigstep-threads.c: New file.
4002
4003 2012-06-28  Tom Tromey  <tromey@redhat.com>
4004
4005         * gdb.go/package.exp: Partially revert earlier patch; use
4006         gdb_compile again.  Use standard_output_file.
4007
4008 2012-06-27  Doug Evans  <dje@google.com>
4009
4010         * gdb.dwarf2/fission-base.c: New file.
4011         * gdb.dwarf2/fission-base.S: New file.
4012         * gdb.dwarf2/fission-base.exp: New file.
4013
4014 2012-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4015
4016         * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4017
4018 2012-06-27  Tom Tromey  <tromey@redhat.com>
4019
4020         * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4021         * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4022
4023 2012-06-27  Tom Tromey  <tromey@redhat.com>
4024
4025         * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4026         * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4027         * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4028         * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4029         * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4030         prepare_for_testing.
4031         * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4032         * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4033         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4034         standard_testfile.
4035         * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4036         * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4037         * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4038         * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4039         prepare_for_testing.
4040         * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4041         * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4042         * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4043         * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4044         * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4045         * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4046         * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4047         * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4048         * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4049         * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4050         * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4051         * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4052         * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4053         * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4054         * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4055         * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4056         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4057         * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4058         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4059         * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4060         * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4061         * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4062         standard_output_file.
4063         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4064         standard_output_file.
4065         * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4066         * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4067         * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4068         * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4069         * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4070         * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4071         * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4072         * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4073         * gdb.dwarf2/implptr.exp: Use standard_testfile.
4074         * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4075         * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4076         * gdb.dwarf2/pieces.exp: Use standard_testfile.
4077         * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4078         * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4079         * gdb.dwarf2/valop.exp: Use standard_testfile,
4080         prepare_for_testing.
4081
4082 2012-06-27  Tom Tromey  <tromey@redhat.com>
4083
4084         * gdb.python/python.exp: Fix regexps in pagination tests.
4085
4086 2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>
4087
4088         * gdb.python/py-symtab.exp: Add tests to test the new attribute
4089         'last' of gdb.Symtab_and_line.
4090         * gdb.python/py-symbol.c: Move break point comment to enable
4091         testing of gdb.Symtab_and_line.last.
4092
4093 2012-06-26  Tom Tromey  <tromey@redhat.com>
4094
4095         * gdb.threads/step.c: Remove.
4096         * gdb.threads/step.exp: Remove.
4097         * gdb.threads/step2.exp: Remove.
4098
4099 2012-06-26  Tom Tromey  <tromey@redhat.com>
4100
4101         * gdb.threads/watchpoint-fork.exp (test): Use
4102         standard_output_file.  Don't declare objdir.
4103         * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4104         standard_output_file.
4105         * gdb.threads/attach-stopped.exp: Use standard_testfile.
4106         * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4107         clean_restart.  Remove incdir.
4108         * gdb.threads/corethreads.exp: Use standard_testfile.
4109         * gdb.threads/execl.exp: Use standard_testfile,
4110         standard_output_file, clean_restart.
4111         * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4112         clean_restart.
4113         * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4114         clean_restart.
4115         * gdb.threads/gcore-thread.exp: Use standard_testfile.  Remove
4116         incdir.
4117         * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4118         clean_restart.  Remove incdir.
4119         * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4120         * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4121         clean_restart.  Remove incdir.
4122         * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4123         Remove incdir.
4124         * gdb.threads/leader-exit.exp: Use standard_testfile.
4125         * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4126         * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4127         clean_restart.
4128         * gdb.threads/manythreads.exp: Use standard_testfile,
4129         clean_restart.  Remove incdir.
4130         * gdb.threads/multi-create.exp: Use standard_testfile,
4131         clean_restart.
4132         * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4133         * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4134         * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4135         * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4136         * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4137         * gdb.threads/pending-step.exp: Use standard_testfile,
4138         clean_restart.  Remove incdir.
4139         * gdb.threads/print-threads.exp: Use standard_testfile,
4140         clean_restart.  Remove incdir.
4141         * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4142         clean_restart.  Remove incdir.
4143         * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4144         Remove incdir.
4145         * gdb.threads/schedlock.exp: Use standard_testfile.  Remove
4146         incdir.
4147         * gdb.threads/sigthread.exp: Use standard_testfile,
4148         clean_restart.
4149         * gdb.threads/staticthreads.exp: Use standard_testfile,
4150         clean_restart.  Remove incdir.
4151         * gdb.threads/switch-threads.exp: Use standard_testfile,
4152         clean_restart.  Remove incdir.
4153         * gdb.threads/thread-execl.exp: Use standard_testfile,
4154         clean_restart.  Remove incdir.
4155         * gdb.threads/thread-find.exp: Use standard_testfile,
4156         clean_restart.
4157         * gdb.threads/thread-specific.exp: Use standard_testfile,
4158         clean_restart.  Remove incdir.
4159         * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4160         clean_restart.  Remove incdir.
4161         * gdb.threads/thread_check.exp: Use standard_testfile,
4162         clean_restart.  Remove incdir.
4163         * gdb.threads/thread_events.exp: Use standard_testfile.  Remove
4164         incdir.
4165         * gdb.threads/threadapply.exp: Use standard_testfile,
4166         clean_restart.  Remove incdir.
4167         * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4168         clean_restart.  Remove incdir.
4169         * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4170         clean_restart.
4171         * gdb.threads/tls-shared.exp: Use standard_testfile,
4172         clean_restart, standard_output_file.
4173         * gdb.threads/tls-var.exp: Use standard_testfile,
4174         standard_output_file.
4175         * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4176         Remove incdir.
4177         * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4178         * gdb.threads/watchthreads.exp: Use standard_testfile.  Remove
4179         incdir.
4180         * gdb.threads/watchthreads2.exp: Use standard_testfile,
4181         clean_restart.  Remove incdir.
4182
4183 2012-06-26  Tom Tromey  <tromey@redhat.com>
4184
4185         * gdb.trace/actions.exp: Use standard_testfile.
4186         * gdb.trace/ax.exp: Use standard_testfile.
4187         * gdb.trace/backtrace.exp: Use standard_testfile.
4188         * gdb.trace/change-loc.exp: Use standard_testfile.
4189         * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4190         * gdb.trace/collection.exp: Use standard_testfile,
4191         prepare_for_testing.
4192         * gdb.trace/deltrace.exp: Use standard_testfile.
4193         * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4194         * gdb.trace/ftrace.exp: Use standard_testfile.
4195         * gdb.trace/infotrace.exp: Use standard_testfile.
4196         * gdb.trace/packetlen.exp: Use standard_testfile.
4197         * gdb.trace/passc-dyn.exp: Use standard_testfile.
4198         * gdb.trace/passcount.exp: Use standard_testfile.
4199         * gdb.trace/pending.exp: Use standard_testfile.
4200         * gdb.trace/report.exp: Use standard_testfile.
4201         * gdb.trace/save-trace.exp: Use standard_testfile.
4202         * gdb.trace/stap-trace.exp: Use standard_testfile.
4203         * gdb.trace/status-stop.exp: Use standard_testfile.
4204         * gdb.trace/strace.exp: Use standard_testfile.
4205         * gdb.trace/tfile.exp: Use standard_testfile.
4206         * gdb.trace/tfind.exp: Use standard_testfile.
4207         * gdb.trace/trace-break.exp: Use standard_testfile.
4208         * gdb.trace/trace-mt.exp: Use standard_testfile.
4209         * gdb.trace/tracecmd.exp: Use standard_testfile.
4210         * gdb.trace/tspeed.exp: Use standard_testfile.
4211         * gdb.trace/tstatus.exp: Use standard_testfile.
4212         * gdb.trace/tsv.exp: Use standard_testfile.
4213         * gdb.trace/unavailable.exp: Use standard_testfile,
4214         prepare_for_testing.
4215         * gdb.trace/while-dyn.exp: Use standard_testfile.
4216         * gdb.trace/while-stepping.exp: Use standard_testfile.
4217
4218 2012-06-26  Tom Tromey  <tromey@redhat.com>
4219
4220         * gdb.reverse/break-precsave.exp: Use standard_testfile.
4221         * gdb.reverse/break-reverse.exp: Use standard_testfile.
4222         * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4223         * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4224         * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4225         * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4226         * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4227         * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4228         prepare_for_testing.
4229         * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4230         prepare_for_testing.
4231         * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4232         prepare_for_testing.
4233         * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4234         prepare_for_testing.
4235         * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4236         prepare_for_testing
4237         * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4238         * gdb.reverse/machinestate.exp: Use standard_testfile.
4239         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4240         * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4241         build_executable.
4242         * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4243         build_executable.
4244         * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4245         standard_output_file.
4246         * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4247         standard_output_file.
4248         * gdb.reverse/step-precsave.exp: Use standard_testfile.
4249         * gdb.reverse/step-reverse.exp: Use standard_testfile.
4250         * gdb.reverse/until-precsave.exp: Use standard_testfile.
4251         * gdb.reverse/until-reverse.exp: Use standard_testfile.
4252         * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4253         * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4254
4255 2012-06-26  Tom Tromey  <tromey@redhat.com>
4256
4257         * gdb.stabs/weird.exp: Remove directory-checking code.  Use
4258         standard_output_file.
4259         * gdb.stabs/exclfwd.exp: Use standard_testfile,
4260         prepare_for_testing.  Remove directory-checking code.
4261
4262 2012-06-25  Tom Tromey  <tromey@redhat.com>
4263
4264         * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4265         * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file.  Use
4266         build_executable, not prepare_for_testing.
4267         * gdb.multi/base.exp: Use standard_output_file.  Use
4268         build_executable,  not prepare_for_testing.
4269
4270 2012-06-25  Tom Tromey  <tromey@redhat.com>
4271
4272         * gdb.fortran/subarray.exp: Use standard_testfile,
4273         prepare_for_testing.
4274         * gdb.fortran/multi-dim.exp: Use standard_testfile.
4275         * gdb.fortran/module.exp: Use standard_testfile.
4276         * gdb.fortran/logical.exp: Use standard_testfile.
4277         * gdb.fortran/library-module.exp: Use standard_testfile,
4278         standard_output_file.
4279         * gdb.fortran/derived-type.exp: Use standard_testfile,
4280         prepare_for_testing.
4281         * gdb.fortran/complex.exp: Use standard_testfile,
4282         prepare_for_testing.
4283         * gdb.fortran/charset.exp: Use standard_testfile.
4284         * gdb.fortran/array-element.exp: Use standard_testfile,
4285         prepare_for_testing.
4286
4287 2012-06-25  Keith Seitz  <keiths@redhat.com>
4288
4289         * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4290         Change rbreak-related tests to KFAIL and add bugzilla numbers.
4291
4292 2012-06-25  Tom Tromey  <tromey@redhat.com>
4293
4294         * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4295         * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4296         * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4297         * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4298
4299 2012-06-25  Tom Tromey  <tromey@redhat.com>
4300
4301         * gdb.linespec/ls-errs.exp: Use standard_testfile.
4302         * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4303         * gdb.linespec/linespec.exp: Use standard_testfile.
4304
4305 2012-06-25  Tom Tromey  <tromey@redhat.com>
4306
4307         * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4308         prepare_for_testing.
4309
4310 2012-06-25  Tom Tromey  <tromey@redhat.com>
4311
4312         * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4313         prepare_for_testing.
4314         * gdb.opt/inline-break.exp: Use standard_testfile,
4315         prepare_for_testing.
4316         * gdb.opt/inline-bt.exp: Use standard_testfile,
4317         prepare_for_testing.
4318         * gdb.opt/inline-cmds.exp: Use standard_testfile,
4319         prepare_for_testing.
4320         * gdb.opt/inline-locals.exp: Use standard_testfile,
4321         prepare_for_testing.
4322
4323 2012-06-25  Tom Tromey  <tromey@redhat.com>
4324
4325         * gdb.asm/asm-source.exp: Use standard_output_file,
4326         standard_testfile.  Construct .o files in proper subdir.
4327
4328 2012-06-25  Tom Tromey  <tromey@redhat.com>
4329
4330         * gdb.server/ext-attach.exp: Use standard_testfile,
4331         prepare_for_testing.
4332         * gdb.server/ext-run.exp: Use standard_testfile,
4333         build_executable.
4334         * gdb.server/file-transfer.exp: Use standard_testfile,
4335         prepare_for_testing.
4336         * gdb.server/server-exec-info.exp: Use standard_testfile.
4337         * gdb.server/server-mon.exp: Use standard_testfile,
4338         prepare_for_testing.
4339         * gdb.server/server-run.exp: Use standard_testfile,
4340         build_executable.
4341         * gdb.server/solib-list.exp: Use standard_testfile,
4342         standard_output_file.
4343
4344 2012-06-25  Tom Tromey  <tromey@redhat.com>
4345
4346         * lib/gdb.exp (standard_output_file): Use "file join".
4347         * gdb.go/chan.exp: Use standard_testfile.
4348         * gdb.go/handcall.exp: Use standard_testfile.
4349         * gdb.go/hello.exp: Use standard_testfile.
4350         * gdb.integers/chan.exp: Use standard_testfile.
4351         * gdb.go/methods.exp: Use standard_testfile.
4352         * gdb.go/package.exp: Use standard_testfile.
4353         * gdb.go/strings.exp: Use standard_testfile.
4354         * gdb.go/types.exp: Use standard_testfile.
4355         * gdb.go/unsafe.exp: Use standard_testfile.
4356
4357 2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
4358
4359         * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4360
4361 2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4362
4363         Fix regression by the previous commit.
4364         * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4365
4366 2012-06-22  Tom Tromey  <tromey@redhat.com>
4367
4368         * gdb.python/lib-types.exp: Use standard_testfile,
4369         prepare_for_testing.
4370         * gdb.python/py-block.exp: Use standard_testfile.
4371         * gdb.python/py-breakpoint.exp: Use standard_testfile.
4372         * gdb.python/py-events.exp: Use standard_testfile,
4373         standard_output_file.
4374         * gdb.python/py-evsignal.exp: Use standard_testfile.
4375         * gdb.python/py-evethreads.exp: Use standard_testfile.
4376         * gdb.python/py-explore-cc.exp: Use standard_testfile.
4377         * gdb.python/py-explore.exp: Use standard_testfile.
4378         * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4379         standard_output_file.
4380         * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4381         prepare_for_testing.
4382         * gdb.python/py-frame-inline.exp: Use standard_testfile.
4383         * gdb.python/py-frame.exp: Use standard_testfile.
4384         * gdb.python/py-inferior.exp: Use standard_testfile.
4385         * gdb.python/py-infthread.exp: Use standard_testfile.
4386         * gdb.python/py-mi.exp: Use standard_testfile.
4387         * gdb.python/py-objfile-script.exp: Use standard_testfile,
4388         build_executable.
4389         * gdb.python/py-objfile.exp: Use standard_testfile.
4390         * gdb.python/py-pp-maint.exp: Use standard_testfile,
4391         prepare_for_testing.
4392         * gdb.python/py-prettyprint.exp: Use standard_testfile.
4393         * gdb.python/py-progspace.exp: Use standard_testfile,
4394         build_executable.
4395         * gdb.python/py-prompt.exp: Use standard_testfile,
4396         build_executable.
4397         * gdb.python/py-section-script.exp: Use standard_testfile,
4398         build_executable.
4399         * gdb.python/py-shared.exp: Use standard_testfile,
4400         standard_output_file, clean_restart.
4401         * gdb.python/py-symbol.exp: Use standard_output_file,
4402         prepare_for_testing.
4403         * gdb.python/py-symtab.exp: Use standard_output_file,
4404         prepare_for_testing
4405         * gdb.python/py-template.exp: Use standard_testfile.
4406         * gdb.python/py-type.exp: Use standard_testfile.
4407         * gdb.python/py-value-cc.exp: Use standard_testfile.
4408         * gdb.python/py-value.exp: Use standard_testfile.
4409         * gdb.python/python.exp: Use standard_testfile, build_executable.
4410
4411 2012-06-22  Tom Tromey  <tromey@redhat.com>
4412
4413         * gdb.objc/basicclass.exp: Use standard_testfile.
4414         (do_objc_tests): Don't declare objdir.
4415         * gdb.objc/nondebug.exp: Use standard_testfile.
4416         (do_objc_tests): Don't declare objdir.
4417         * gdb.objc/objcdecode.exp: Use standard_testfile.
4418         (do_objc_tests): Don't declare objdir.
4419
4420 2012-06-22  Tom Tromey  <tromey@redhat.com>
4421
4422         * gdb.java/jmain.exp: Use standard_testfile.
4423         * gdb.java/jmisc.exp: Use standard_testfile.
4424         * gdb.java/jnpe.exp: Use standard_testfile.
4425         * gdb.java/jprint.exp: Use standard_testfile.
4426
4427 2012-06-22  Tom Tromey  <tromey@redhat.com>
4428
4429         * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4430         (standard_output_file, standard_testfile): New procs.
4431         (build_executable, clean_restart): Use standard_output_file.
4432
4433 2012-06-22  Yao Qi  <yao@codesourcery.com>
4434
4435         * boards/native-gdbserver.exp: New proc ${board}_exec.
4436         * boards/native-stdio-gdbserver.exp: Likewise.
4437
4438 2012-06-21  Tom Tromey  <tromey@redhat.com>
4439
4440         * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4441         (build_executable): Update.
4442         (get_compiler_info): Remove 'binfile' argument.
4443         * gdb.ada/arrayidx.exp: Update.
4444         * gdb.ada/null_array.exp: Update.
4445         * gdb.arch/altivec-abi.exp: Update.
4446         * gdb.arch/altivec-regs.exp: Update.
4447         * gdb.arch/amd64-byte.exp: Update.
4448         * gdb.arch/amd64-dword.exp: Update.
4449         * gdb.arch/amd64-word.exp: Update.
4450         * gdb.arch/i386-avx.exp: Update.
4451         * gdb.arch/i386-byte.exp: Update.
4452         * gdb.arch/i386-sse.exp: Update.
4453         * gdb.arch/i386-word.exp: Update.
4454         * gdb.arch/ppc-dfp.exp: Update.
4455         * gdb.arch/ppc-fp.exp: Update.
4456         * gdb.arch/vsx-regs.exp: Update.
4457         * gdb.base/all-bin.exp: Update.
4458         * gdb.base/annota1.exp: Update.
4459         * gdb.base/async.exp: Update.
4460         * gdb.base/attach.exp: Update.
4461         * gdb.base/break-interp.exp: Update.
4462         * gdb.base/call-ar-st.exp: Update.
4463         * gdb.base/call-rt-st.exp: Update.
4464         * gdb.base/call-sc.exp: Update.
4465         * gdb.base/callfuncs.exp: Update.
4466         * gdb.base/catch-load.exp: Update.
4467         * gdb.base/completion.exp: Update.
4468         * gdb.base/complex.exp: Update.
4469         * gdb.base/condbreak.exp: Update.
4470         * gdb.base/consecutive.exp: Update.
4471         * gdb.base/constvars.exp: Update.
4472         * gdb.base/corefile.exp: Update.
4473         * gdb.base/eval-skip.exp: Update.
4474         * gdb.base/expand-psymtabs.exp: Update.
4475         * gdb.base/exprs.exp: Update.
4476         * gdb.base/fileio.exp: Update.
4477         * gdb.base/fixsection.exp: Update.
4478         * gdb.base/funcargs.exp: Update.
4479         * gdb.base/gdb11530.exp: Update.
4480         * gdb.base/gdb1555.exp: Update.
4481         * gdb.base/gnu-ifunc.exp: Update.
4482         * gdb.base/gnu_vector.exp: Update.
4483         * gdb.base/info-macros.exp: Update.
4484         * gdb.base/jit-simple.exp: Update.
4485         * gdb.base/jit-so.exp: Update.
4486         * gdb.base/jit.exp: Update.
4487         * gdb.base/langs.exp: Update.
4488         * gdb.base/list.exp: Update.
4489         * gdb.base/logical.exp: Update.
4490         * gdb.base/long_long.exp: Update.
4491         * gdb.base/longjmp.exp: Update.
4492         * gdb.base/macscp.exp: Update.
4493         * gdb.base/mips_pro.exp: Update.
4494         * gdb.base/miscexprs.exp: Update.
4495         * gdb.base/morestack.exp: Update.
4496         * gdb.base/nodebug.exp: Update.
4497         * gdb.base/opaque.exp: Update.
4498         * gdb.base/pc-fp.exp: Update.
4499         * gdb.base/pending.exp: Update.
4500         * gdb.base/permissions.exp: Update.
4501         * gdb.base/pointers.exp: Update.
4502         * gdb.base/prelink.exp: Update.
4503         * gdb.base/printcmds.exp: Update.
4504         * gdb.base/psymtab.exp: Update.
4505         * gdb.base/ptype.exp: Update.
4506         * gdb.base/relational.exp: Update.
4507         * gdb.base/scope.exp: Update.
4508         * gdb.base/setvar.exp: Update.
4509         * gdb.base/shlib-call.exp: Update.
4510         * gdb.base/shreloc.exp: Update.
4511         * gdb.base/signals.exp: Update.
4512         * gdb.base/sizeof.exp: Update.
4513         * gdb.base/so-impl-ld.exp: Update.
4514         * gdb.base/so-indr-cl.exp: Update.
4515         * gdb.base/solib-disc.exp: Update.
4516         * gdb.base/solib-display.exp: Update.
4517         * gdb.base/solib-nodir.exp: Update.
4518         * gdb.base/solib-overlap.exp: Update.
4519         * gdb.base/solib-symbol.exp: Update.
4520         * gdb.base/solib-weak.exp: Update.
4521         * gdb.base/solib.exp: Update.
4522         * gdb.base/store.exp: Update.
4523         * gdb.base/structs.exp: Update.
4524         * gdb.base/structs2.exp: Update.
4525         * gdb.base/type-opaque.exp: Update.
4526         * gdb.base/unload.exp: Update.
4527         * gdb.base/varargs.exp: Update.
4528         * gdb.base/volatile.exp: Update.
4529         * gdb.base/watch_thread_num.exp: Update.
4530         * gdb.base/watchpoint-solib.exp: Update.
4531         * gdb.base/watchpoint.exp: Update.
4532         * gdb.base/watchpoints.exp: Update.
4533         * gdb.base/whatis.exp: Update.
4534         * gdb.cell/arch.exp: Update.
4535         * gdb.cell/break.exp: Update.
4536         * gdb.cell/bt.exp: Update.
4537         * gdb.cell/core.exp: Update.
4538         * gdb.cell/data.exp: Update.
4539         * gdb.cell/ea-cache.exp: Update.
4540         * gdb.cell/f-regs.exp: Update.
4541         * gdb.cell/fork.exp: Update.
4542         * gdb.cell/gcore.exp: Update.
4543         * gdb.cell/mem-access.exp: Update.
4544         * gdb.cell/ptype.exp: Update.
4545         * gdb.cell/registers.exp: Update.
4546         * gdb.cell/sizeof.exp: Update.
4547         * gdb.cell/solib-symbol.exp: Update.
4548         * gdb.cell/solib.exp: Update.
4549         * gdb.cp/ambiguous.exp: Update.
4550         * gdb.cp/breakpoint.exp: Update.
4551         * gdb.cp/bs15503.exp: Update.
4552         * gdb.cp/casts.exp: Update.
4553         * gdb.cp/class2.exp: Update.
4554         * gdb.cp/cpexprs.exp: Update.
4555         * gdb.cp/cplusfuncs.exp: Update.
4556         * gdb.cp/ctti.exp: Update.
4557         * gdb.cp/dispcxx.exp: Update.
4558         * gdb.cp/gdb1355.exp: Update.
4559         * gdb.cp/gdb2384.exp: Update.
4560         * gdb.cp/gdb2495.exp: Update.
4561         * gdb.cp/infcall-dlopen.exp: Update.
4562         * gdb.cp/local.exp: Update.
4563         * gdb.cp/m-data.exp: Update.
4564         * gdb.cp/m-static.exp: Update.
4565         * gdb.cp/mb-ctor.exp: Update.
4566         * gdb.cp/mb-inline.exp: Update.
4567         * gdb.cp/mb-templates.exp: Update.
4568         * gdb.cp/member-ptr.exp: Update.
4569         * gdb.cp/method.exp: Update.
4570         * gdb.cp/namespace.exp: Update.
4571         * gdb.cp/nextoverthrow.exp: Update.
4572         * gdb.cp/nsdecl.exp: Update.
4573         * gdb.cp/nsrecurs.exp: Update.
4574         * gdb.cp/nsstress.exp: Update.
4575         * gdb.cp/nsusing.exp: Update.
4576         * gdb.cp/pr-1023.exp: Update.
4577         * gdb.cp/pr-1210.exp: Update.
4578         * gdb.cp/pr-574.exp: Update.
4579         * gdb.cp/pr9631.exp: Update.
4580         * gdb.cp/printmethod.exp: Update.
4581         * gdb.cp/psmang.exp: Update.
4582         * gdb.cp/re-set-overloaded.exp: Update.
4583         * gdb.cp/rtti.exp: Update.
4584         * gdb.cp/shadow.exp: Update.
4585         * gdb.cp/templates.exp: Update.
4586         * gdb.cp/try_catch.exp: Update.
4587         * gdb.dwarf2/dw2-ranges.exp: Update.
4588         * gdb.dwarf2/pr10770.exp: Update.
4589         * gdb.fortran/library-module.exp: Update.
4590         * gdb.hp/gdb.aCC/optimize.exp: Update.
4591         * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4592         * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4593         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4594         * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4595         * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4596         * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4597         * gdb.hp/gdb.compat/xdb1.exp: Update.
4598         * gdb.hp/gdb.compat/xdb2.exp: Update.
4599         * gdb.hp/gdb.compat/xdb3.exp: Update.
4600         * gdb.hp/gdb.defects/bs14602.exp: Update.
4601         * gdb.hp/gdb.defects/solib-d.exp: Update.
4602         * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4603         * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4604         * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4605         * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4606         * gdb.mi/gdb792.exp: Update.
4607         * gdb.mi/mi-pending.exp: Update.
4608         * gdb.mi/mi-solib.exp: Update.
4609         * gdb.mi/mi-var-cp.exp: Update.
4610         * gdb.opt/clobbered-registers-O2.exp: Update.
4611         * gdb.opt/inline-bt.exp: Update.
4612         * gdb.opt/inline-cmds.exp: Update.
4613         * gdb.opt/inline-locals.exp: Update.
4614         * gdb.python/py-events.exp: Update.
4615         * gdb.python/py-finish-breakpoint.exp: Update.
4616         * gdb.python/py-type.exp: Update.
4617         * gdb.reverse/solib-precsave.exp: Update.
4618         * gdb.reverse/solib-reverse.exp: Update.
4619         * gdb.server/solib-list.exp: Update.
4620         * gdb.stabs/weird.exp: Update.
4621         * gdb.threads/attach-into-signal.exp: Update.
4622         * gdb.threads/attach-stopped.exp: Update.
4623         * gdb.threads/tls-shared.exp: Update.
4624         * gdb.trace/change-loc.exp: Update.
4625         * gdb.trace/strace.exp: Update.
4626
4627 2012-06-19  Tom Tromey  <tromey@redhat.com>
4628
4629         * gdb.base/whatis.exp: Add tests.
4630
4631 2012-06-19  Tom Tromey  <tromey@redhat.com>
4632
4633         * gdb.cp/m-static.cc (keepalive): New function.
4634         (gnu_obj_1::method): Use it.
4635
4636 2012-06-18  Doug Evans  <dje@google.com>
4637
4638         * gdb.base/info-fun.exp: New file.
4639         * gdb.base/info-fun.c: New file.
4640         * gdb.base/info-fun-solib.c: New file.
4641
4642 2012-06-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4643
4644         Remove stale dummy frames.
4645         * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4646         (maintenance info breakpoints): New tests.
4647         * gdb.base/stale-infcall.c: New file.
4648         * gdb.base/stale-infcall.exp: New file.
4649
4650 2012-06-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4651
4652         * gdb.arch/amd64-entry-value-param.S: New file.
4653         * gdb.arch/amd64-entry-value-param.c: New file.
4654         * gdb.arch/amd64-entry-value-param.exp: New file.
4655
4656 2012-06-15  Tom Tromey  <tromey@redhat.com>
4657
4658         * gdb.cp/namespace.exp: Add "show lang" test.
4659
4660 2012-06-15  Iain Sandoe <iain@codesourcery.com>
4661
4662         * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4663         case. (top level): Use gdb_file_cmd instead of gdb_load.
4664
4665 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4666
4667         PR tdep/14222
4668         * gdb.arch/i386-sse-stack-align.S: New file.
4669         * gdb.arch/i386-sse-stack-align.c: New file.
4670         * gdb.arch/i386-sse-stack-align.exp: New file.
4671
4672 2012-06-13  Keith Seitz  <keiths@redhat.com>
4673
4674         PR breakpoints/13798 and mi/11541
4675         * gdb.linespec/ls-errs.exp: Add a few more tests for
4676         filenames with spaces and colons.
4677
4678 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
4679
4680         PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4681         * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4682         (test_function): Call CV_f.
4683         * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4684         (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4685         (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4686         (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4687         (p CV_f(CV::i)): New tests.
4688
4689 2012-06-13  Tom Tromey  <tromey@redhat.com>
4690
4691         * gdb.base/condbreak.exp: Add tests for "condition" completion.
4692
4693 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4694
4695         Fix regression by the "ambiguous linespec" series.
4696         * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4697         tests.
4698
4699 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4700
4701         * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4702         missing.
4703
4704 2012-06-11  Tom Tromey  <tromey@redhat.com>
4705
4706         * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4707         location...
4708         (main): ...here.
4709
4710 2012-06-07  Yao Qi  <yao@codesourcery.com>
4711
4712         * gdb.trace/strace.exp: Shorten some too-long lines.
4713
4714 2012-06-06  Pedro Alves  <palves@redhat.com>
4715
4716         * gdb.threads/clone-new-thread-event.c: New file.
4717         * gdb.threads/clone-new-thread-event.exp: New file.
4718
4719 2012-06-06  Yao Qi  <yao@codesourcery.com>
4720
4721         * gdb.base/dprintf.c (main): Add extra parameter when calling
4722         printf and fprintf.
4723         (bar): New function.  It is a dead function, but to ensure
4724         'malloc' is linked explicitly.
4725
4726 2012-06-06  Yao Qi  <yao@codesourcery.com>
4727
4728         * gdb.base/info-proc.exp: Return if target doesn't support
4729         'info proc'.
4730
4731 2012-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
4732
4733         * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4734         (run program with breakpoint commands): XFAIl if it is not.
4735
4736 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
4737
4738         * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4739         and add comment.
4740         * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4741         * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4742         "STOP" marker.  Adjust testing strategy to make it work on
4743         all targets.
4744
4745         * gdb.base/print-file-var-main.c (main): Rewrite using local
4746         variables and adjust get_version_2's return value check.
4747         Add small comment.
4748         * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4749         marker.  Adjust testing strategy to make it work on all targets.
4750
4751 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
4752
4753         * gdb.ada/bad-task-bp-keyword: New testcase.
4754
4755 2012-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4756
4757         * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4758         Simplify it to ...
4759         (symbol-file ${testfile1}): ... here.
4760         (test eliminated var my_global_symbol)
4761         (test eliminated var my_static_symbol)
4762         (test eliminated var my_global_func, get address of main): Wrap them to
4763         'single psymtabs' and 'single symtabs'
4764         (get address of my_global_symbol, get address of my_static_symbol)
4765         (get address of my_global_func, get address of main): Wrap them to
4766         'order1' and 'order2'.
4767
4768         * gdb.base/code_elim.exp
4769         (add-symbol-file ${testfile1} 0x100000)
4770         (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4771         'order2'.
4772         (order1: add-symbol-file ${testfile1} 0x100000)
4773         (order1: add-symbol-file ${testfile2} 0x200000)
4774         (order2: add-symbol-file ${testfile2} 0x200000)
4775         (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4776         .bss as appropriate.
4777
4778 2012-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4779
4780         * gdb.server/solib-list-lib.c: New file.
4781         * gdb.server/solib-list-main.c: New file.
4782         * gdb.server/solib-list.exp: New file.
4783
4784 2012-05-25  Maciej W. Rozycki  <macro@codesourcery.com>
4785
4786         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4787         for 'set print symbol' change.
4788
4789 2012-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4790
4791         * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4792         .debug_abbrev_seg3.
4793
4794 2012-05-24  John Steele Scott  <toojays@toojays.net>
4795
4796         PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4797         * gdb.dwarf2/dw2-icc-opaque.S: New file.
4798         * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4799
4800 2012-05-23  Stan Shebs  <stan@codesourcery.com>
4801
4802         * gdb.mi/mi-info-os.exp: New file.
4803
4804 2012-05-23  Keith Seitz  <keiths@redhat.com>
4805
4806         * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4807         return -1 to suppress the rest of the tests.
4808         (compile_stap_bin): Return boolean success value.
4809
4810 2012-05-21  Tom Tromey  <tromey@redhat.com>
4811
4812         * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4813         Remove kfails.
4814         (test_print_mi_member_types): Likewise.
4815
4816 2012-05-21  Tom Tromey  <tromey@redhat.com>
4817
4818         * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4819         print symbol' change.
4820
4821 2012-05-18  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
4822
4823         * gdb.python/py-prompt.exp: Quit if the target is remote.
4824
4825 2012-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4826
4827         Fix ERROR: internal buffer is full.
4828         * gdb.base/info-os.exp (expect_multiline): New function.
4829         (get process list, get process groups, get threads)
4830         (get file descriptors, get internet-domain sockets)
4831         (get shared-memory regions, get semaphores, get message queues): Use
4832         it for these tests.
4833
4834 2012-05-18  Tom Tromey  <tromey@redhat.com>
4835
4836         * gdb.mi/mi-var-cmd.exp: Update.
4837         * gdb.objc/basicclass.exp (do_objc_tests): Update.
4838         * gdb.cp/virtbase.exp: Update.
4839         * gdb.cp/classes.exp (test_static_members): Update.
4840         * gdb.cp/casts.exp: Update.
4841         * gdb.base/pointers.exp: Update.
4842         * gdb.base/funcargs.exp (pointer_args): Update.
4843         (structs_by_reference): Update.
4844         * gdb.base/find.exp: Update.
4845         * gdb.base/call-strs.exp: Send "set print symbol off".
4846         * gdb.base/call-ar-st.exp: Update.
4847         * gdb.ada/fun_addr.exp: Update.
4848         * gdb.base/printcmds.exp (test_print_symbol): New proc.
4849         Call it.
4850         (test_print_repeats_10, test_print_strings)
4851         (test_print_char_arrays): Update.
4852
4853 2012-05-18  Tom Tromey  <tromey@redhat.com>
4854
4855         * gdb.base/charset.exp (string_display): Update.
4856
4857 2012-05-18  Tom Tromey  <tromey@redhat.com>
4858
4859         * gdb.mi/mi2-var-display.exp: Update.
4860         * gdb.mi/mi-var-display.exp: Update.
4861         * gdb.mi/mi-var-child.exp: Update.
4862         * gdb.cp/expand-psymtabs-cxx.exp: Update.
4863         * gdb.cp/cp-relocate.exp (get_func_address): Update.
4864
4865 2012-05-17  Doug Evans  <dje@google.com>
4866
4867         * info-macros.exp: Pass "debug" to prepare_for_testing.
4868
4869         * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4870         * gdb.ada/Makefile.in (clean): Ditto.
4871         * gdb.arch/Makefile.in (clean): Ditto.
4872         * gdb.asm/Makefile.in (clean): Ditto.
4873         * gdb.base/Makefile.in (clean): Ditto.
4874         * gdb.cell/Makefile.in (clean): Ditto.
4875         * gdb.cp/Makefile.in (clean): Ditto.
4876         * gdb.disasm/Makefile.in (clean): Ditto.
4877         * gdb.dwarf2/Makefile.in (clean): Ditto.
4878         * gdb.fortran/Makefile.in (clean): Ditto.
4879         * gdb.go/Makefile.in (clean): Ditto.
4880         * gdb.hp/Makefile.in (clean): Ditto.
4881         * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4882         * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4883         * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4884         * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4885         * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4886         * gdb.java/Makefile.in (clean): Ditto.
4887         * gdb.linespec/Makefile.in (clean): Ditto.
4888         * gdb.mi/Makefile.in (clean): Ditto.
4889         * gdb.modula2/Makefile.in (clean): Ditto.
4890         * gdb.multi/Makefile.in (clean): Ditto.
4891         * gdb.objc/Makefile.in (clean): Ditto.
4892         * gdb.opencl/Makefile.in (clean): Ditto.
4893         * gdb.opt/Makefile.in (clean): Ditto.
4894         * gdb.pascal/Makefile.in (clean): Ditto.
4895         * gdb.python/Makefile.in (clean): Ditto.
4896         * gdb.reverse/Makefile.in (clean): Ditto.
4897         * gdb.server/Makefile.in (clean): Ditto.
4898         * gdb.stabs/Makefile.in (clean): Ditto.
4899         * gdb.threads/Makefile.in (clean): Ditto.
4900         * gdb.trace/Makefile.in (clean): Ditto.
4901         * gdb.xml/Makefile.in (clean): Ditto.
4902
4903 2012-05-16  Tom Tromey  <tromey@redhat.com>
4904
4905         * gdb.base/macscp1.c (macscp_expr): Add comment.
4906         * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4907
4908 2012-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4909
4910         * gdb.base/return-nodebug.exp: Also test float and double types.
4911
4912 2012-05-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4913
4914         PR testsuite/12649
4915         * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4916
4917         * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4918
4919 2012-05-14  Sergio Durigan Junior  <sergiodj@redhat.com>
4920
4921         * gdb.base/stap-probe.exp (stap_test): Remove calls to
4922         `rerun_to_main'.
4923         (stap_test_no_debuginfo): Likewise.
4924
4925 2012-05-14  Stan Shebs  <stan@codesourcery.com>
4926
4927         * gdb.base/dprintf.c: New file.
4928         * gdb.base/dprintf.exp: New file.
4929
4930 2012-05-14  Hui Zhu  <hui_zhu@mentor.com>
4931
4932         * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4933         * gdb.trace/disconnected-tracing.c: New file.
4934         * gdb.trace/disconnected-tracing.exp: New file.
4935
4936 2012-05-13  Siva Chandra Reddy  <sivachandra@google.com>
4937
4938         * gdb.python/python.c: Add a new breakpoint comment.
4939         * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4940
4941 2011-12-26  Kwok Cheung Yeung  <kcy@codesourcery.com>
4942
4943         * gdb.base/info-os.exp: New file.
4944         * gdb.base/info-os.c: New file.
4945
4946 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
4947
4948         * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4949         gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4950         New files.
4951
4952 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
4953
4954         * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4955         gdb.base/ctxobj.exp: New files.
4956
4957 2012-05-09  Tom Tromey  <tromey@redhat.com>
4958
4959         * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4960
4961 2012-05-09  Maciej W. Rozycki  <macro@codesourcery.com>
4962
4963         * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4964
4965 2012-05-08  Maciej W. Rozycki  <macro@codesourcery.com>
4966
4967         * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4968         before using it.
4969
4970 2012-05-04  Tristan Gingold  <gingold@adacore.com>
4971
4972         * gdb.base/set-noassign.exp: New test.
4973
4974 2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
4975
4976         * gdb.python/py-symbol.exp: Add tests to test the new methods
4977         gdb.Symtab.global_block() and gdb.Symtab.static_block().
4978         * gdb.python/py-symbol.c: Add new struct to help test
4979         gdb.Symtab.static_block().
4980
4981 2012-05-03  Doug Evans  <dje@google.com>
4982
4983         * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4984         commented out.
4985
4986 2012-05-03  Yao Qi  <yao@codesourcery.com>
4987
4988         * gdb.base/catch-syscall.exp: Skip it before compilation if target
4989         doesn't support.
4990         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4991         * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4992
4993 2012-05-03  Yao Qi  <yao@codesourcery.com>
4994
4995         * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4996
4997 2012-04-30  Doug Evans  <dje@google.com>
4998
4999         PR testsuite/13961
5000         * gdb.dwarf2/pr13961.S: New file.
5001         * gdb.dwarf2/pr13961.exp: New file.
5002
5003 2012-04-29  Yao Qi  <yao@codesourcery.com>
5004
5005         * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5006
5007 2012-04-28  Doug Evans  <dje@google.com>
5008
5009         * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5010         .Ltype_int_in_cu2.  Use name "int2" instead of "int".
5011         All uses updated.
5012         * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5013         "ptype func_cu1" to expand cu2 before cu1.
5014
5015 2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
5016             Tom Tromey  <tromey@redhat.com>
5017
5018         * gdb.base/default.exp: Add `$_probe_arg*' convenience
5019         variables.
5020         * gdb.base/stap-probe.c: New file.
5021         * gdb.base/stap-probe.exp: New file.
5022         * gdb.trace/stap-trace.c: New file.
5023         * gdb.trace/stap-trace.exp: New file.
5024         * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5025         libgcc's unwinder.
5026
5027 2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
5028
5029         * gdb.arch/mips16-thunks-inmain.c: New file.
5030         * gdb.arch/mips16-thunks-main.c: New file.
5031         * gdb.arch/mips16-thunks-sin.c: New file.
5032         * gdb.arch/mips16-thunks-sinfrob.c: New file.
5033         * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5034         * gdb.arch/mips16-thunks-sinmain.c: New file.
5035         * gdb.arch/mips16-thunks-sinmips16.c: New file.
5036         * gdb.arch/mips16-thunks.exp: New file.
5037
5038 2012-04-25  Doug Evans  <dje@google.com>
5039
5040         * configure.ac: Create gdb.go/Makefile.
5041         * configure: Regenerate.
5042         * gdb.base/default.exp: Add "go" to "set language" testing.
5043         * gdb.go/Makefile.in: New file.
5044         * gdb.go/basic-types.exp: New file.
5045         * gdb.go/chan.exp: New file.
5046         * gdb.go/chan.go: New file.
5047         * gdb.go/handcall.exp: New file.
5048         * gdb.go/handcall.go: New file.
5049         * gdb.go/hello.exp: New file.
5050         * gdb.go/hello.go: New file.
5051         * gdb.go/integers.exp: New file.
5052         * gdb.go/integers.go: New file.
5053         * gdb.go/methods.exp: New file.
5054         * gdb.go/methods.go: New file.
5055         * gdb.go/package.exp: New file.
5056         * gdb.go/package1.go: New file.
5057         * gdb.go/package2.go: New file.
5058         * gdb.go/print.exp: New file.
5059         * gdb.go/strings.exp: New file.
5060         * gdb.go/strings.go: New file.
5061         * gdb.go/types.exp: New file.
5062         * gdb.go/types.go: New file.
5063         * gdb.go/unsafe.exp: New file.
5064         * gdb.go/unsafe.go: New file.
5065         * lib/future.exp: Add Go support.
5066         (gdb_find_go, gdb_find_go_linker): New procs.
5067         (gdb_default_target_compile): Add Go support.
5068         * lib/gdb.exp (skip_go_tests): New proc.
5069         * lib/go.exp: New file.
5070
5071 2012-04-25  Tom Tromey  <tromey@redhat.com>
5072
5073         * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5074
5075 2012-04-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5076             Jan Kratochvil  <jan.kratochvil@redhat.com>
5077
5078         PR symtab/7259:
5079         * gdb.base/enumval.c: New test case.
5080         * gdb.base/enumval.exp: New test case.
5081         * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5082         field.bitpos.
5083
5084 2012-04-17  Pedro Alves  <palves@redhat.com>
5085
5086         * Makefile.in (site.exp): Make site.exp source
5087         $srcdir/lib/append_gdb_boards_dir.exp.
5088         * lib/append_gdb_boards_dir.exp: New file.
5089
5090 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
5091
5092         New option "set auto-load safe-path".
5093         * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5094         * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5095
5096 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
5097
5098         auto-load: Implementation.
5099         * gdb.base/help.exp (test set height): Increase the height.
5100         * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5101         to ...
5102         (info auto-load python-scripts): ... here.
5103         * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5104         to ...
5105         (info auto-load python-scripts *): ... here.
5106
5107 2012-04-16  Yao Qi  <yao@codesourcery.com>
5108
5109         * lib/trace-support.exp (get_in_proc_agent): New.
5110         * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5111         of in process trace agent.
5112         * gdb.trace/ftrace.exp: Likewise.
5113         * gdb.trace/pending.exp: Likewise.
5114         * gdb.trace/trace-break.exp: Likewise.
5115         * gdb.trace/trace-mt.exp
5116         * gdb.trace/tspeed.exp: Likewise.
5117         * gdb.trace/tstatus.exp
5118         * gdb.trace/strace.exp: Likewise.
5119
5120 2012-04-16  Thomas Schwinge  <thomas@codesourcery.com>
5121
5122         * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5123         symbol _stack is defined.  Get rid of a hard-coded constant for _stack.
5124
5125         * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5126
5127 2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
5128
5129         PR mi/13393
5130         * gdb.mi/mi-var-rtti.cc: New file.
5131         * gdb.mi/mi-var-rtti.exp: New file.
5132         * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5133         function.
5134         (mi_varobj_update_with_type_change): updated to avoid code duplication.
5135
5136 2012-04-11  Siva Chandra Reddy  <sivachandra@google.com>
5137
5138         * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5139         EXECUTABLES.
5140         * gdb.python/py-explore.c: C program used for testing the new
5141         'explore' command on C constructs.
5142         * gdb.python/py-explore.cc: C++ program used for testing the new
5143         'explore' command on C++ constructs.
5144         * gdb-python/py-explore.exp: Tests for the new 'explore'
5145         command on C constructs.
5146         * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5147         command on C++ constructs.
5148
5149 2012-04-07  Mark Kettenis  <kettenis@gnu.org>
5150
5151         * gdb.base/funcargs.exp (complex_args): Fix typo.
5152
5153 2012-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5154
5155         * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5156         (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5157
5158 2012-04-05  Keith Seitz  <keiths@redhat.com>
5159
5160         * gdb.base/advance.exp: Update error message for
5161         "advance malformed" test.
5162         * gdb.base/break.exp: Likewise for "breakpoint with
5163         trailing garbage" test.
5164         * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5165         with trailing garbage" test.
5166         * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5167         trailng garbage" test.
5168         * gdb.base/until.exp: Likewise for "malformed until" test.
5169         * gdb.cp/ovldbreak.exp: Create the breakpoint table
5170         for "breakpoint info (after setting on all)".
5171         * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5172         tests.
5173         * gdb.cp/cplabel.cc: New file.
5174         * gdb.cp/cplabel.exp: New test.
5175         * gdb.linespec/ls-errs.c: New file.
5176         * gdb.linespec/ls-errs.exp: New test.
5177
5178 2012-04-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5179
5180         * gdb.trace/unavailable.exp
5181         (collect globals: print object on: print derived_partial)
5182         (collect globals: print object on: print derived_whole)
5183         (collect globals: print object off: print derived_partial)
5184         (collect globals: print object off: print derived_whole): Update
5185         expected output.
5186
5187 2012-03-30  Keith Seitz  <keiths@redhat.com>
5188
5189         * gdb.python: Add test for linespecs with commas.
5190
5191 2012-03-28  Keith Seitz  <keiths@redhat.com>
5192
5193         * gdb.linespec/ls-dollar.cc: New file.
5194         * gdb.linespec/ls-dollar.exp: New test.
5195
5196 2012-03-28  Keith Seitz  <keiths@redhat.com>
5197
5198         * gdb.cp/namespace.exp: Add breakpoint tests for functions
5199         starting with the global namespace.
5200
5201 2012-03-23  Doug Evans  <dje@google.com>
5202
5203         * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5204
5205 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
5206
5207         * gdb.python/py-value.cc: Add test case for testing the
5208         methodology exposing C++ values to Python.
5209         * gdb.python/py-value-cc.exp: Add tests testing the methodology
5210         exposing C++ values to Python.
5211         * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5212
5213 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5214             Siddhesh Poyarekar  <siddhesh@redhat.com>
5215
5216         * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5217         * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5218         (generate native core dump): Make the test unsupported if core cannot
5219         be generated.
5220
5221 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5222
5223         * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5224         for cmdarg_vec = NULL.  Remove entries for cmdsize = 1, cmdarg = and
5225         ncmd = 0.  New entry for VEC_cleanup cmdarg_s.
5226
5227 2012-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5228
5229         * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5230
5231 2012-03-17  Doug Evans  <dje@google.com>
5232
5233         * dg-extract-results.sh: Handle KFAILs.
5234
5235 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5236
5237         PR symtab/13777
5238         * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5239
5240 2012-03-16  Joel Brobecker  <brobecker@adacore.com>
5241
5242         * gdb.ada/set_pckd_arr_elt: New testcase.
5243
5244 2012-03-16  Gary Benson  <gbenson@redhat.com>
5245
5246         PR breakpoints/10738
5247         * gdb.opt/inline-break.exp: New file.
5248         * gdb.opt/inline-break.c: Likewise.
5249         * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5250         * gdb.dwarf2/dw2-inline-break.S: Likewise.
5251         * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5252         * gdb.base/async-shell.exp: Likewise.
5253         * lib/mi-support.exp (library_loaded_re): Likewise.
5254
5255 2012-03-15  Tom Tromey  <tromey@redhat.com>
5256
5257         * gdb.cp/virtfunc2.exp: Update expected output.
5258         * gdb.cp/pr9631.exp: Update expected output.
5259         * gdb.cp/member-ptr.exp: Update expected output.
5260         * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5261         output.
5262         * gdb.cp/casts.exp: Update expected output.
5263
5264 2012-03-15  Tom Tromey  <tromey@redhat.com>
5265
5266         * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5267         (test_info_vtbl): Likewise.
5268         (do_tests): Call test_info_vtbl.
5269         * gdb.cp/virtfunc.cc (va): New global.
5270
5271 2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5272
5273         * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5274         describing DWARF data structures.
5275         * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5276         * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5277         * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5278         * gdb.dwarf2/dw2-entry-value.S: Likewise.
5279         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5280         * gdb.dwarf2/dw2-param-error.S: Likewise.
5281         * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5282         * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5283         * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5284         * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5285         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5286         * gdb.dwarf2/pr11465.S: Likewise.
5287
5288 2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5289
5290         * gdb.mi/mi2-prompt.exp: New file.
5291
5292 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
5293
5294         * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5295
5296 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
5297
5298         * gdb.ada/bp_range_type: New testcase.
5299
5300 2012-03-13  Doug Evans  <dje@google.com>
5301
5302         * gdb.base/default.exp: Delete tests for symbol-reloading.
5303         * gdb.base/help.exp: Ditto.
5304         * gdb.base/setshow.exp: Ditto.
5305         * gdb.base/gdb_history: Delete references to symbol-reloading.
5306
5307 2012-03-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5308
5309         * gdb.base/attach-twice.c: New files.
5310         * gdb.base/attach-twice.exp: New files.
5311
5312 2012-03-08  Keith Seitz  <keiths@redhat.com>
5313
5314         * lib/gdb.exp (gdb_get_line_number): Throw an
5315         error instead of returning -1.
5316         * gdb.base/break.exp: Remove unused variable
5317         bp_location5.
5318         * gdb.base/hbreak2.exp: Likewise.
5319         * gdb.base/sepdebug.exp: Likewise.
5320
5321 2012-03-08  Yao Qi  <yao@codesourcery.com>
5322             Pedro Alves  <palves@redhat.com>
5323
5324         Fix PR server/13392.
5325         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5326         (tracepoint_change_loc_2): Remove kfail.  Return if failed to
5327         download tracepoints.
5328         * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5329         (pending_tracepoint_resolved_during_trace): Likewise.
5330         (pending_tracepoint_installed_during_trace): Likewise.
5331         (pending_tracepoint_with_action_resolved): Likewise.
5332
5333 2012-03-08  Keith Seitz  <keiths@redhat.com>
5334
5335         * gdb.ada/array_bounds.exp: Get breakpoint for line
5336         with "START", not "STOP".
5337         * gdb.python/py-infthread.exp: Do not continue to
5338         line marked "Break here.", which is undefined.
5339
5340 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
5341
5342         Revert:
5343
5344         2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5345
5346         Implement testsuite workaround for PR breakpoints/13781.
5347         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5348         (set breakpoint condition-evaluation host): New conditional command.
5349
5350 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5351
5352         Fix CU relative vs. absolute DIE offsets.
5353         * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5354         one.
5355
5356 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
5357
5358         Fix false FAIL on distros with relro linkage as default.
5359         * gdb.reverse/solib-precsave.exp: Try to compile the test using
5360         -Wl,-z,norelro first.
5361
5362 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
5363
5364         * gdb.ada/bp_on_var: New testcase.
5365
5366 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
5367
5368         * gdb.ada/bp_enum_homonym: New testcase.
5369
5370 2012-03-06  Yao Qi  <yao@codesourcery.com>
5371
5372         * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5373         x86_64-*-* and i?86-*-*.
5374         Set up KFAIL for gdb/13808.
5375
5376 2012-03-05  Tom Tromey  <tromey@redhat.com>
5377
5378         * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5379         * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5380
5381 2012-03-05  Tom Tromey  <tromey@redhat.com>
5382
5383         * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5384
5385 2012-03-04  Yao Qi  <yao@codesourcery.com>
5386
5387         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5388         messages for KFAIL.
5389
5390 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5391
5392         * gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
5393         (print one_two_three, indexes off, print few_reps, indexes off)
5394         (print many_reps, indexes off, print empty, indexes off)
5395         (print one_two_three, print few_reps, print many_reps, print empty):
5396         Call setup_xfail if $gcc_old.
5397
5398 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5399
5400         Implement testsuite workaround for PR breakpoints/13781.
5401         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5402         (set breakpoint condition-evaluation host): New conditional command.
5403
5404 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5405
5406         Code cleanup.
5407         * gdb.cp/mb-templates.exp: New variables executable.  Use it for
5408         binfile.  use clean_restart.  Replace gdb_expect by gdb_test_multiple.
5409         Replace GDB restart by kill and delete_breakpoints.  Replace breakpoint
5410         number 1 by $bpnum.  Four times.
5411
5412 2012-03-03  Yao Qi  <yao@codesourcery.com>
5413
5414         * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5415
5416 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5417
5418         Setup KFAIL for PR server/13796.
5419         * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5420
5421 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
5422
5423         * gdb.ada/operator_bp: New testcase.
5424
5425 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
5426
5427         * gdb.ada/info_locals_renaming: New testcase.
5428
5429 2012-03-02  Tom Tromey  <tromey@redhat.com>
5430
5431         * gdb.base/nextoverexit.c: New file.
5432         * gdb.base/nextoverexit.exp: New file.
5433
5434 2012-03-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5435
5436         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5437         parameter.
5438
5439 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
5440
5441         * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5442         core registers.
5443
5444 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
5445             Maciej W. Rozycki  <macro@codesourcery.com>
5446             Daniel Jacobowitz  <dan@codesourcery.com>
5447
5448         * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5449
5450 2012-03-01  Pedro Alves  <palves@redhat.com>
5451
5452         PR gdb/13767
5453
5454         * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5455         (gdb_collect_globals_test): Call it.
5456
5457 2012-03-01  Keith Seitz  <keiths@redhat.com>
5458
5459         * gdb.cp/method2.exp: Output of overload menu is now
5460         alphabetized.  Update tests for "break A::method".
5461         * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5462         of hard-coding them.
5463         Overload menu is alphabetized: rewrite to accommodate.
5464         Unset variables LINE and TYPES which are used in other tests.
5465         Compute the output of "info break".
5466         Update the breakpoint table after all breakpoints are deleted.
5467         (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5468         compute ACTUALS and the method body based on parameters.
5469         Update expected output accordingly.
5470         * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5471         unique comments to allow the use of gdb_get_line_number.
5472
5473 2012-03-01  Keith Seitz  <keiths@redhat.com>
5474
5475         * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5476         some Tcl syntax.
5477         * gdb.cp/ovldbreak.exp: Likewise.
5478
5479 2012-03-01  Keith Seitz  <keiths@redhat.com>
5480
5481         * gdb.base/help.exp (help show user): Update expected result
5482         for new doc string changes (add "non-python").
5483
5484 2012-03-01  Scott J. Goldman <scottjg@vmware.com>
5485
5486         * gdb.python/py-cmd.exp: Add test to verify that python commands can
5487         be put in the user-defined category and that the commands appear in
5488         "help user-defined".
5489
5490 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5491
5492         * gdb.ada/tagged_not_init: New testcase.
5493
5494 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5495
5496         * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5497         * gdb.ada/enum_idx_packed: New testcase.
5498
5499 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5500
5501         * gdb.ada/aliased_array: New testcase.
5502
5503 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
5504
5505         * gdb.ada/whatis_array_val: New testcase.
5506
5507 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5508
5509         Fix disp-step-syscall.exp: fork: single step over fork.
5510         * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5511         whitespaces.
5512         (single step over $syscall): Remove its check.
5513         (single step over $syscall final pc): New check.
5514
5515 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5516
5517         Support processors without SSSE3.
5518         * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5519         pabsd into ...
5520         (ssse3_test): ... a new function.
5521         (main): Call ssse3_test.
5522         * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5523         Update expected values everywhere.
5524         (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5525         (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5526         (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5527         (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5528         (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5529         (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5530         Move these tests lower.
5531         (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5532         (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5533         (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5534         New tests.
5535
5536 2012-02-29  Yao Qi  <yao@codesourcery.com>
5537             Pedro Alves  <palves@redhat.com>
5538
5539         * gdb.trace/trace-mt.c: New.
5540         * gdb.trace/trace-mt.exp: New.
5541
5542 2012-02-28  Thomas Schwinge  <thomas@codesourcery.com>
5543
5544         * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5545         numbers instead of hardcoding them.
5546         * gdb.base/annota1.c: Provide suitable markers.
5547         * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5548         numbers instead of hardcoding them.
5549         * gdb.base/annota3.c: Provide suitable markers.
5550
5551         * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5552         * gdb.base/annota3.c: Likewise.
5553         * gdb.base/sigall.c: Likewise.
5554         * gdb.base/signals.c: Likewise.
5555         * gdb.reverse/sigall-reverse.c: Likewise.
5556
5557 2012-02-27  Maciej W. Rozycki  <macro@codesourcery.com>
5558
5559         * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5560         failure return path.
5561
5562 2012-02-27  Luis Machado  <lgustavo@codesourcery.com>
5563
5564         * gdb.base/save-bp.exp: Account for new condition evaluator output.
5565
5566 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
5567
5568         * gdb.base/cond-eval-mode.exp: New file.
5569
5570 2012-02-24  Pedro Alves  <palves@redhat.com>
5571
5572         * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5573         (top level): Use with_test_prefix.
5574
5575 2012-02-24  Pedro Alves  <palves@redhat.com>
5576
5577         * gdb.threads/attach-into-signal.exp (corefunc): Use
5578         with_test_prefix.
5579
5580 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5581
5582         Fix false FAILs on old CPUs without SSE.
5583         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5584         Return untested for Illegal instruction.
5585
5586 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5587
5588         Fix false FAILs with glibc debug infos installed.
5589         * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5590         * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5591
5592 2012-02-22  Sterling Augustine  <saugustine@google.com>
5593
5594         * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5595         constant with cast.
5596
5597 2012-02-21  Pedro Alves  <palves@redhat.com>
5598
5599         * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5600
5601 2012-02-21  Pedro Alves  <palves@redhat.com>
5602
5603         * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5604
5605 2012-02-21  Pedro Alves  <palves@redhat.com>
5606
5607         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5608         with_test_prefix.
5609
5610 2012-02-21  Pedro Alves  <palves@redhat.com>
5611
5612         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5613         with_test_prefix here.
5614         (top level): Do it here instead.  Remove `:' from the
5615         with_test_prefix string.
5616         * gdb.base/attach-pie-misread.exp: Remove the leading space the
5617         the suffix `:' from the with_test_prefix prefix string.
5618         * gdb.base/break-interp.exp: Ditto.
5619         * gdb.base/catch-load.exp: Ditto.
5620         * gdb.base/disp-step-syscall.exp: Ditto.
5621         * gdb.base/jit-so.exp: Ditto.
5622         * gdb.base/jit.exp: Ditto.
5623         * gdb.base/sepdebug.exp: Ditto.
5624         * gdb.base/solib-display.exp: Ditto.
5625         * gdb.base/solib-overlap.exp: Ditto.
5626         * gdb.base/watch-cond-infcall.exp: Ditto.
5627         * gdb.base/watchpoint.exp: Ditto.
5628         * gdb.dwarf2/dw2-noloc.exp: Ditto.
5629         * gdb.mi/mi-watch.exp: Ditto.
5630         * gdb.mi/mi2-watch.exp: Ditto.
5631         * gdb.threads/non-ldr-exc-1.exp: Ditto.
5632         * gdb.threads/non-ldr-exc-2.exp: Ditto.
5633         * gdb.threads/non-ldr-exc-3.exp: Ditto.
5634         * gdb.threads/non-ldr-exc-4.exp: Ditto.
5635         * gdb.threads/watchpoint-fork.exp: Ditto.
5636         * gdb.threads/watchthreads-reorder.exp: Ditto.
5637         * gdb.trace/change-loc.exp: Ditto.
5638         * gdb.trace/pending.exp: Ditto.
5639         * gdb.trace/status-stop.exp: Ditto.
5640         * gdb.trace/strace.exp: Ditto.
5641         * gdb.trace/trace-break.exp: Ditto.
5642         * gdb.trace/unavailable.exp: Ditto.
5643         * lib/gdb.exp (with_test_prefix): Always prefix with space and
5644         suffix with colon.  Adjust leading comments.
5645
5646 2012-02-21  Pedro Alves  <palves@redhat.com>
5647             Tom Tromey  <tromey@redhat.com>
5648
5649         * lib/gdb.exp: Add description of test prefixes.
5650         (with_test_prefix): New procedure.
5651         * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5652         * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5653         * gdb.base/break-interp.exp: Use with_test_prefix.  Use append
5654         instead of lappend to append to pf_prefix.
5655         * gdb.base/catch-load.exp: Use with_test_prefix.
5656         * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5657         * gdb.base/jit-so.exp: Use with_test_prefix.
5658         * gdb.base/jit.exp: Use with_test_prefix.
5659         * gdb.base/return-nodebug.exp (do_test): Use append instead of
5660         lappend to append to pf_prefix.
5661         * gdb.base/sepdebug.exp: Use with_test_prefix.
5662         * gdb.base/solib-display.exp: Use with_test_prefix.
5663         * gdb.base/solib-overlap.exp: Use with_test_prefix.
5664         * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5665         * gdb.base/watchpoint.exp: Use with_test_prefix.
5666         * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5667         * gdb.mi/mi-watch.exp: Use with_test_prefix.
5668         * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5669         * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5670         * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5671         * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5672         * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5673         * gdb.threads/watchpoint-fork.exp: Use with_test_prefix.  Use
5674         append instead of lappend to append to pf_prefix.
5675         * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5676         * gdb.trace/change-loc.exp: Use with_test_prefix.
5677         * gdb.trace/pending.exp: Use with_test_prefix.
5678         * gdb.trace/status-stop.exp: Use with_test_prefix.
5679         * gdb.trace/strace.exp: Use with_test_prefix.
5680         * gdb.trace/trace-break.exp: Use with_test_prefix.
5681         * gdb.trace/unavailable.exp: Use with_test_prefix.  Use append
5682         instead of lappend to append to pf_prefix.
5683
5684 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5685
5686         Fix racy FAILs.
5687         * gdb.base/inferior-died.c (main): Add return of 0.
5688         * gdb.base/inferior-died.exp (continue): Fix expectation of
5689         asynchronous events.
5690         (p 1): New test.
5691
5692 2012-02-20  Pedro Alves  <palves@redhat.com>
5693
5694         * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5695         lin-lwp output.  Set SIGALRM to stop.  Adjust tests to not rely on
5696         gdb's internal debug output.  For the non-threaded case, look for
5697         "Program received signal SIGLARM", for the threaded case, peek at
5698         the thread's siginfo.
5699
5700 2012-02-20  Pedro Alves  <palves@redhat.com>
5701
5702         General cleanup, make output test messages unique, and build
5703         different executable files for the non-threaded and threaded
5704         cases.
5705
5706         * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5707         Delete.
5708         (executable_nothr, executable_thr): New globals.
5709         (top level): Adjust to delete both executables.
5710         (corefunc): New parameter $executable.  Set $pf_prefix instead of
5711         hand writing a prefix in tests.  Issue a clean_restart and enable
5712         lin-lwp debug output here.
5713         (top level): Adjust.  Use build_executable.  Don't start gdb here,
5714         and don't enable lin-lwp debug output here.
5715         * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5716
5717 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5718
5719         Fix racy FAILs.
5720         * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5721         "continue" command.
5722
5723 2012-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5724
5725         Fix for gdbserver non-extended mode.
5726         * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5727         and gdb_run_cmd.
5728
5729 2012-02-17  Tom Tromey  <tromey@redhat.com>
5730
5731         * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5732         * gdb.python/py-events.exp: Check 'dir' output.
5733         * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5734
5735 2012-02-17  Yao Qi  <yao@codesourcery.com>
5736
5737         * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5738
5739 2012-02-16  Tom Tromey  <tromey@redhat.com>
5740
5741         * gdb.base/inferior-died.c: Don't include stdio.h.
5742
5743 2012-02-16  Tom Tromey  <tromey@redhat.com>
5744
5745         * gdb.base/inferior-died.c: New file.
5746         * gdb.base/inferior-died.exp: New file.
5747
5748 2012-02-15  Aleksandar Ristovski  <aristovski@qnx.com>
5749
5750         * gdb.base/break-inline.exp: New file.
5751         * gdb.base/break-inline.c: New file.
5752
5753 2012-02-15  Tom Tromey  <tromey@redhat.com>
5754
5755         * gdb.base/pc-fp.exp: Add "info register" tests.
5756
5757 2012-02-15  Tom Tromey  <tromey@redhat.com>
5758
5759         * gdb.base/regs.exp: Remove.
5760
5761 2012-02-15  Pedro Alves  <palves@redhat.com>
5762
5763         * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5764         the target doesn't support tracepoints.
5765         * gdb.trace/circ.exp: Ditto.
5766         * gdb.trace/collection.exp: Ditto.
5767         * gdb.trace/packetlen.exp: Ditto.
5768         * gdb.trace/passc-dyn.exp: Ditto.
5769         * gdb.trace/report.exp: Ditto.
5770         * gdb.trace/tfind.exp: Ditto.
5771         * gdb.trace/tspeed.exp: Ditto.
5772         * gdb.trace/tsv.exp: Ditto.
5773         * gdb.trace/unavailable.exp: Ditto.
5774         * gdb.trace/while-dyn.exp: Ditto.
5775
5776 2012-02-15  Pedro Alves  <palves@redhat.com>
5777
5778         * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5779         gdb_test_multiple, and call unsupported instead of fail, if the
5780         remote side does not support the request.
5781
5782 2012-02-15  Pedro Alves  <palves@redhat.com>
5783
5784         * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5785         * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5786         * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5787         * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5788         * gdb.server/server-run.exp: Make sure gdb is disconnected.
5789         * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5790         prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5791         doesn't start with "extended-" already.
5792
5793 2012-02-15  Pedro Alves  <palves@redhat.com>
5794
5795         Support extended-remote.  Avoid cascading timeouts.
5796
5797         * gdb.base/attach.exp (do_attach_tests): Add expected output for
5798         the extended-remote target.  If attaching with no file fails, load
5799         the file manually.
5800         * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5801
5802 2012-02-14  Stan Shebs  <stan@codesourcery.com>
5803
5804         * gdb.base/ena-dis-br.exp: Add enable count test.
5805
5806 2012-02-13  Pedro Alves  <palves@redhat.com>
5807
5808         * config/mips-idt.exp: Delete.
5809         * gdb.base/a2-run.exp: Remove mips-idt xfails.
5810         * gdb.base/bitfields.exp: Remove mips-idt restarts.
5811         * gdb.base/break.exp: Remove mips-idt references.
5812         * gdb.base/chng-syms.exp: Ditto.
5813         * gdb.base/default.exp: Ditto.
5814         * gdb.base/funcargs.exp (funcargs_reload): Delete.
5815         (top level): Don't call it.
5816         * gdb.base/opaque.exp: Remove mips-idt restarts.
5817         * gdb.base/ptype.exp: Remove mips-idt xfails.
5818         * gdb.base/scope.exp: Remove mips-idt restarts.
5819         * gdb.base/sepdebug.exp: Remove mips-idt references.
5820         * gdb.base/watchpoint.exp (maybe_clean_restart)
5821         (maybe_reinitialize): Delete.
5822         (test_disabling_watchpoints, test_disabling_watchpoints)
5823         (test_watchpoint_triggered_in_syscall)
5824         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5825         Don't call them.
5826
5827 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5828
5829         * gdb.server/server-exec-info.exp: New file.
5830
5831 2012-02-10  Pedro Alves  <palves@redhat.com>
5832
5833         * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5834         always non-empty.
5835         (test_attach): Always pass $exec to test_attach_gdb.
5836
5837 2012-02-08  Tom Tromey  <tromey@redhat.com>
5838
5839         * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5840         before inferior is started.
5841
5842 2012-02-07  Tom Tromey  <tromey@redhat.com>
5843
5844         * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5845         Symbol.value.
5846         * gdb.python/py-symbol.c (qq): Set default value.
5847
5848 2012-02-07  Tom Tromey  <tromey@redhat.com>
5849
5850         * gdb.python/py-symbol.c (qq): New global.
5851         * gdb.python/py-symbol.exp: Add test for frame-less
5852         lookup_symbol.
5853         * gdb.python/py-symtab.exp: Fix line number.
5854
5855 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
5856
5857         * gdb.ada/mi_task_arg: New testcase.
5858
5859 2012-02-02  Pedro Alves  <palves@redhat.com>
5860
5861         * gdb.reverse/until-precsave.exp: Also put "record save" under the
5862         extended timeout.
5863
5864 2012-02-02  Pedro Alves  <palves@redhat.com>
5865
5866         * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5867         * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5868
5869 2012-02-02  Pedro Alves  <palves@redhat.com>
5870
5871         * gdb.base/term.exp: Rewrite.
5872         * gdb.base/term.c: New.
5873
5874 2012-02-02  Pedro Alves  <palves@redhat.com>
5875
5876         * gdb.base/default.exp (run "r" abbreviation, run): Add
5877         extended-remote expected output.
5878
5879 2012-02-02  Tom Tromey  <tromey@redhat.com>
5880
5881         * gdb.cp/dispcxx.exp: New file.
5882         * gdb.cp/dispcxx.cc: New file.
5883
5884 2012-02-01  Tom Tromey  <tromey@redhat.com>
5885
5886         * gdb.base/jit-simple.exp: New file.
5887         * gdb.base/jit-simple.c: New file.
5888
5889 2012-01-30  Yao Qi  <yao@codesourcery.com>
5890
5891         * gdb.base/skip.exp: Make test result unique.
5892
5893 2012-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5894
5895         * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5896         compatibility with valgrind-3.7.0.
5897
5898 2012-01-27  Pedro Alves  <palves@redhat.com>
5899
5900         * gdb.base/watchpoint.exp (no_hw): New global.
5901         (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5902         disable hw watchpoints.
5903         (test_wide_location_1, test_wide_location_2): If no_hw is set,
5904         don't expect hw watchpoints.
5905         (no_hw_watchpoints): Always clean restart.
5906         (do_tests): New procedure, factored out from the top level.
5907         (top level): Run tests twice.  Once with hw watchpoints enabled,
5908         another time with hw watchpoints disabled.
5909
5910 2012-01-27  Pedro Alves  <palves@redhat.com>
5911
5912         * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5913         out from the top level.
5914         (top level): Call it instead.
5915
5916 2012-01-27  Pedro Alves  <palves@redhat.com>
5917
5918         * gdb.base/watchpoint.exp (top level): Re-enable hardware
5919         watchpoints sooner.
5920
5921 2012-01-27  Pedro Alves  <palves@redhat.com>
5922
5923         * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5924
5925 2012-01-27  Pedro Alves  <palves@redhat.com>
5926
5927         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5928         "You may have requested too many hardware
5929         breakpoints/watchpoints".
5930
5931 2012-01-27  Pedro Alves  <palves@redhat.com>
5932
5933         * gdb.base/watchpoint.exp (maybe_clean_restart)
5934         (maybe_reinitialize): New.
5935         (test_disabling_watchpoints): Call maybe_reinitialize.  Don't
5936         expect "hit N times".
5937         (test_disabling_watchpoints, test_complex_watchpoint)
5938         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5939         Call maybe_clean_restart.
5940         (top level): Use clean_restart.  Remove "mips-idt-*"
5941         reinitialization.
5942
5943 2012-01-27  Pedro Alves  <palves@redhat.com>
5944
5945         * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5946
5947 2012-01-27  Pedro Alves  <palves@redhat.com>
5948
5949         * gdb.base/watchpoint.exp: Clean restart after tests that don't
5950         require `initialize' anymore.  Remove unnecessary `initialize'
5951         calls.
5952
5953 2012-01-27  Pedro Alves  <palves@redhat.com>
5954
5955         * gdb.base/watchpoint.exp (wp_set): Delete.
5956         (initialize, test_simple_watchpoint, top level): Remove dead code.
5957
5958 2012-01-27  Pedro Alves  <palves@redhat.com>
5959
5960         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5961         typo.
5962
5963 2012-01-27  Pedro Alves  <palves@redhat.com>
5964
5965         * config/extended-gdbserver.exp: New file.
5966         * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5967         comment.
5968         (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5969         * boards/native-extended-gdbserver.exp: New file.
5970
5971 2012-01-26  Pedro Alves  <palves@redhat.com>
5972
5973         * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5974         and gdb_test_multiple.
5975
5976 2012-01-26  Pedro Alves  <palves@redhat.com>
5977
5978         Make test messages unique, and more identifiable.
5979         * gdb.multi/watchpoint-multi.exp: Change test messages.
5980
5981 2012-01-25  Tom Tromey  <tromey@redhat.com>
5982
5983         * gdb.base/solib-disc.exp: Fix regexps.
5984
5985 2012-01-24  Tom Tromey  <tromey@redhat.com>
5986
5987         * lib/mi-support.exp (mi_expect_stop): Add special case for
5988         solib-event.
5989         * gdb.base/catch-load-so.c: New file.
5990         * gdb.base/catch-load.exp: New file.
5991         * gdb.base/catch-load.c: New file.
5992         * gdb.base/break-interp.exp (reach_1): Update regexp.
5993
5994 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5995
5996         Fix fuzzy results.
5997         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5998         lpsimple and func.
5999
6000 2012-01-24  Gary Benson  <gbenson@redhat.com>
6001
6002         Delete #if 0'd out code.
6003         * gdb.base/default.exp (info catch): Remove.
6004         * gdb.base/gdb_history (info catch): Likewise.
6005         * gdb.base/help.exp (info catch): Likewise.
6006
6007 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6008
6009         Fix watchpoints to be specific for each inferior.
6010         * gdb.multi/watchpoint-multi.c: New file.
6011         * gdb.multi/watchpoint-multi.exp: New file.
6012
6013 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6014
6015         Fix watchpoints across inferior fork.
6016         * gdb.threads/watchpoint-fork-child.c: New file.
6017         * gdb.threads/watchpoint-fork-mt.c: New file.
6018         * gdb.threads/watchpoint-fork-parent.c: New file.
6019         * gdb.threads/watchpoint-fork-st.c: New file.
6020         * gdb.threads/watchpoint-fork.exp: New file.
6021         * gdb.threads/watchpoint-fork.h: New file.
6022
6023 2012-01-23  Pedro Alves  <palves@redhat.com>
6024
6025         * gdb.base/call-signal-resume.exp: Allow output after "return".
6026
6027 2012-01-20  Pedro Alves  <palves@redhat.com>
6028
6029         * gdb.python/py-finish-breakpoint.py: Fix typo.
6030
6031 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
6032
6033         * gdb.base/info-proc.exp: Also run on remote targets.  Main
6034         "info proc" command is now always present; whether target supports
6035         actual info proc operation is detected when attempting to issue
6036         the command.
6037
6038 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6039
6040         * .gdbinit: Remove.
6041
6042 2012-01-19  Pedro Alves  <palves@redhat.com>
6043
6044         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6045         look at the funtions' returns.
6046         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6047         (jprint.print(int, int)): Change return type to int.  Adjust.
6048
6049 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6050
6051         PR gdb/9538
6052         * gdb.base/sepdebug.exp: New test.
6053
6054 2012-01-18  Pedro Alves  <palves@redhat.com>
6055
6056         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6057         Allow output before ^done.
6058
6059 2012-01-16  Tom Tromey  <tromey@redhat.com>
6060
6061         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6062         Add tests for relative directory.
6063
6064 2012-01-16  Tom Tromey  <tromey@redhat.com>
6065
6066         * gdb.base/printcmds.c (enum flag_enum): New.
6067         (three): New global.
6068         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6069         enum printing.
6070         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6071         FlagEnumerationPrinter.
6072         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6073         * gdb.python/py-pp-maint.c (enum flag_enum): New.
6074         (fval): New global.
6075
6076 2012-01-16  Pedro Alves  <palves@redhat.com>
6077
6078         * lib/gdb.exp (banned_procedures): New variable.
6079         (banned_variables_traced): Rename to ...
6080         (banned_traced): ... this.
6081         (gdb_init): Also trace banned procedures.
6082         (gdb_finish): Also untrace banned procedures.
6083
6084 2012-01-16  Pedro Alves  <palves@redhat.com>
6085
6086         Remove all calls to strace.
6087
6088 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6089
6090         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6091         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6092
6093 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6094
6095         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6096         * gdb.base/pie-execl.exp: Likewise.
6097
6098 2012-01-12  Keith Seitz  <keiths@redhat.com>
6099
6100         PR mi/10586
6101         * gdb.mi/var-cmd.c (struct anonymous): New structure.
6102         (do_anonymous_type_tests): New function.
6103         (main): Call do_anonymous_type_tests.
6104         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6105         (verify_everything): New procedure.
6106         * gdb.mi/mi-var-cp.cc (class A): New class.
6107         (anonymous_structs_and_unions): New function.
6108         (main): Call anonymous_structs_and_unions.
6109         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6110         (verify_everything): New procedure.
6111
6112 2012-01-12  Keith Seitz  <keiths@redhat.com>
6113
6114         * lib/mi-support.exp: Expand comments about PATH_EXPR.
6115         (varobj_tree::get_path_expr): Assume that all varobjs are
6116         compound unless they are known simple types.
6117         Adjust path expressions based on parent type, path parent type,
6118         and tree language.
6119         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6120         the root varobj.
6121         (mi_walk_varobj_tree): Add LANGUAGE parameter.
6122
6123 2012-01-11  Pedro Alves  <palves@redhat.com>
6124
6125         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6126         core files on this machine" anymore.
6127
6128 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
6129
6130         * gdb.base/watchpoint.c (recurser): Initialize local_x.
6131         (main): Repeat recurser call.
6132         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6133         equivalent to 'local_x'.
6134
6135 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
6136             Joel Brobecker <brobecker@adacore.com>
6137
6138         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6139
6140 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
6141
6142         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6143         * gdb.python/py-events.c (first): Add bits for new "step N" test.
6144         * gdb.python/py-events.exp: Test that "step N" tripping on a
6145         breakpoint emits a breakpoint event.
6146
6147 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
6148
6149         * gdb.base/auxv.exp: Reformat the copyright notice.
6150
6151 2012-01-03  Yao Qi  <yao@codesourcery.com>
6152
6153         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6154         (strace_trace_on_diff_addr): New.
6155         * gdb.trace/strace.c: (main): Add two local variables.
6156
6157 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
6158
6159         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6160         * gdb.cell/gcore.exp: Likewise.
6161         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6162         to verify the correct instance of main is selected.
6163
6164 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
6165
6166         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6167         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6168         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6169         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6170         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6171         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6172         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6173         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6174         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6175         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6176         gdb.threads/thread_check.c: Reformat copyright header.
6177
6178 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6179
6180         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6181         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6182         is not enabled.
6183
6184 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6185
6186         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6187         parameter to self_exec, adjust the function.
6188         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
6189         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6190         (set var do_exit = 0): Remove test.
6191         (newline at end of file): Add one.
6192
6193 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
6194
6195         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6196         New files.
6197
6198 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
6199
6200         Fix racy FAILs.
6201         * gdb.threads/fork-thread-pending.c (barrier): New variable.
6202         (thread_function, thread_forker): Call pthread_barrier_wait for it.
6203         (main): Call pthread_barrier_init for it.
6204
6205 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
6206
6207         Fix double send_gdb leading to racy FAILs.
6208         * gdb.base/break.exp (set silent break bp_location1): Replace
6209         3x send_gdb and gdb_expect by gdb_test.
6210         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6211         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6212         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6213         instead of send_gdb.  Twice.
6214         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6215         3x send_gdb and gdb_expect by gdb_test.
6216         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6217
6218 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6219
6220         * gdb.linespec/linespec.exp: Compile using {c++}.
6221
6222 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6223
6224         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6225         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6226         (verify GCC PR debug/51668): New test.
6227
6228 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
6229
6230         Introduce gdb.FinishBreakpoint in Python.
6231         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6232         py-finish-breakpoint2
6233         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6234         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6235         instead of line number.
6236         * gdb.python/py-finish-breakpoint.c: New file.
6237         * gdb.python/py-finish-breakpoint.exp: New file.
6238         * gdb.python/py-finish-breakpoint.py: New file.
6239         * gdb.python/py-finish-breakpoint2.cc: New file.
6240         * gdb.python/py-finish-breakpoint2.exp: New file.
6241         * gdb.python/py-finish-breakpoint2.py: New file.
6242
6243 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6244
6245         Partial fix of compatibility with gcc-4.7.
6246         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6247         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
6248         Add comment to add a PASS case in the future.
6249
6250         Fix compatibility with gcc-4.7.
6251         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6252
6253 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
6254
6255         PR tdep/12797
6256         * gdb.base/callfuncs.exp: Remove KFAIL.
6257
6258 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
6259
6260         * gdb.ada/task_bp: New testcase.
6261
6262 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6263
6264         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6265         -DNO_SECTIONS.
6266         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6267
6268 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6269
6270         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6271         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6272         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6273         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
6274         conditional for gcc <= 4.5.
6275
6276 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6277
6278         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6279         by XFAIL.
6280         * gdb.cp/static-method.exp (info addr A::func())
6281         (list static-method.cc:xxx::(anonymous namespace)::A::func)
6282         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6283         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6284         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6285         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6286         (test value of F in k3_m): Likewise.
6287         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6288         Likewise.
6289
6290 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6291
6292         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6293         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6294         Remove.
6295         * gdb.threads/attachstop-mt.c: Remove.
6296         * gdb.threads/attachstop-mt.exp: Remove.
6297
6298 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
6299
6300         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6301
6302 2011-12-16  Doug Evans  <dje@google.com>
6303
6304         * boards/native-stdio-gdbserver.exp: New file.
6305         * boards/native-gdbserver.exp: New file.
6306
6307         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6308         gdbserver output.
6309         (gdbserver_default_get_remote_address): New function.
6310         (gdbserver_start): Call gdb,get_remote_address to compute argument
6311         to "target remote" command.
6312
6313 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
6314
6315         * gdb.python/py-function.exp: Change "on" to "full" for
6316         python print-stack.  Add set/show python print-stack
6317         off|full|message tests.
6318
6319 2011-12-15  Yao Qi  <yao@codesourcery.com>
6320
6321         * gdb.trace/strace.c: New
6322         * gdb.trace/strace.exp: New.
6323
6324 2011-12-14  Tom Tromey  <tromey@redhat.com>
6325
6326         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6327
6328 2011-12-14  Doug Evans  <dje@google.com>
6329
6330         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6331
6332 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
6333
6334         PR threads/10729
6335
6336         * gdb.mi/watch-nonstop.c: New file.
6337         * gdb.mi/mi-watch-nonstop.exp: New file.
6338
6339 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
6340             Doug Evans  <dje@google.com>
6341
6342         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6343         (clean_restart): Remove references to the gdb_stub target board
6344         variable.
6345         (gdb_step_for_stub): Delete.
6346
6347         * gdb.base/annota1.exp: Remove all references to [target_info
6348         exists gdb_stub], gdb_step_for_stub and usestubs.
6349         * gdb.base/annota3.exp: Ditto.
6350         * gdb.base/async.exp: Ditto.
6351         * gdb.base/break.exp: Ditto.
6352         * gdb.base/code-expr.exp: Ditto.
6353         * gdb.base/commands.exp: Ditto.
6354         * gdb.base/completion.exp: Ditto.
6355         * gdb.base/condbreak.exp: Ditto.
6356         * gdb.base/consecutive.exp: Ditto.
6357         * gdb.base/cvexpr.exp: Ditto.
6358         * gdb.base/define.exp: Ditto.
6359         * gdb.base/display.exp: Ditto.
6360         * gdb.base/ena-dis-br.exp: Ditto.
6361         * gdb.base/environ.exp: Ditto.
6362         * gdb.base/gnu-ifunc.exp: Ditto.
6363         * gdb.base/maint.exp: Ditto.
6364         * gdb.base/pending.exp: Ditto.
6365         * gdb.base/sect-cmd.exp: Ditto.
6366         * gdb.base/sepdebug.exp: Ditto.
6367         * gdb.base/unload.exp: Ditto.
6368         * gdb.base/watchpoint-solib.exp: Ditto.
6369         * gdb.cp/annota2.exp: Ditto.
6370         * gdb.cp/annota3.exp: Ditto.
6371         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6372         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6373         * gdb.mi/mi-pending.exp: Ditto.
6374         * gdb.trace/circ.exp: Ditto.
6375         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
6376         * gdb.base/list.exp: Ditto.
6377
6378         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6379         breakpoint function and all references to the usestubs macro.
6380         * gdb.base/exprs.c: Ditto.
6381         * gdb.base/freebpcmd.c: Ditto.
6382         * gdb.base/bitfields.c: Ditto.
6383         * gdb.base/bitfields2.c: Ditto.
6384         * gdb.base/break.c: Ditto.
6385         * gdb.base/call-sc.c: Ditto.
6386         * gdb.base/call-signals.c: Ditto.
6387         * gdb.base/callfuncs.c: Ditto.
6388         * gdb.base/charset.c: Ditto.
6389         * gdb.base/consecutive.c: Ditto.
6390         * gdb.base/constvars.c: Ditto.
6391         * gdb.base/funcargs.c: Ditto.
6392         * gdb.base/int-type.c: Ditto.
6393         * gdb.base/interrupt.c: Ditto.
6394         * gdb.base/langs0.c: Ditto.
6395         * gdb.base/list0.c: Ditto.
6396         * gdb.base/mips_pro.c: Ditto.
6397         * gdb.base/miscexprs.c: Ditto.
6398         * gdb.base/nodebug.c: Ditto.
6399         * gdb.base/opaque0.c: Ditto.
6400         * gdb.base/pointers.c: Ditto.
6401         * gdb.base/printcmds.c: Ditto.
6402         * gdb.base/ptype.c: Ditto.
6403         * gdb.base/recurse.c: Ditto.
6404         * gdb.base/reread1.c: Ditto.
6405         * gdb.base/reread2.c: Ditto.
6406         * gdb.base/restore.c: Ditto.
6407         * gdb.base/return.c: Ditto.
6408         * gdb.base/run.c: Ditto.
6409         * gdb.base/scope0.c: Ditto.
6410         * gdb.base/sepdebug.c: Ditto.
6411         * gdb.base/setshow.c: Ditto.
6412         * gdb.base/setvar.c: Ditto.
6413         * gdb.base/sigall.c: Ditto.
6414         * gdb.base/signals.c: Ditto.
6415         * gdb.base/structs.c: Ditto.
6416         * gdb.base/structs2.c: Ditto.
6417         * gdb.base/testenv.c: Ditto.
6418         * gdb.base/twice.c: Ditto.
6419         * gdb.base/unwindonsignal.c: Ditto.
6420         * gdb.base/watchpoint.c: Ditto.
6421         * gdb.base/watchpoints.c: Ditto.
6422         * gdb.base/whatis.c: Ditto.
6423         * gdb.cp/classes.cc: Ditto.
6424         * gdb.cp/cplusfuncs.cc: Ditto.
6425         * gdb.cp/derivation.cc: Ditto.
6426         * gdb.cp/formatted-ref.cc: Ditto.
6427         * gdb.cp/misc.cc: Ditto.
6428         * gdb.cp/overload.cc: Ditto.
6429         * gdb.cp/ovldbreak.cc: Ditto.
6430         * gdb.cp/ref-params.cc: Ditto.
6431         * gdb.cp/ref-types.cc: Ditto.
6432         * gdb.cp/templates.cc: Ditto.
6433         * gdb.cp/virtfunc.cc: Ditto.
6434         * gdb.hp/gdb.aCC/run.c: Ditto.
6435         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6436         * gdb.hp/gdb.compat/xdb0.c: Ditto.
6437         * gdb.reverse/consecutive-reverse.c: Ditto.
6438         * gdb.reverse/sigall-reverse.c: Ditto.
6439         * gdb.reverse/until-reverse.c: Ditto.
6440         * gdb.reverse/watch-reverse.c: Ditto.
6441         * gdb.trace/actions.c: Ditto.
6442         * gdb.trace/circ.c: Ditto.
6443         * gdb.trace/collection.c: Ditto.
6444
6445 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
6446
6447         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6448         (func6, func7): New.
6449         (main): Call func6 and func7.
6450         * gdb.base/watchpoint.exp (test_wide_location_1)
6451         (test_wide_location_2): New.
6452         (top level): Re-enable hardware watchpoints if necessary.  Call
6453         test_wide_location_1 and test_wide_location_2.
6454
6455 2011-12-11  Yao Qi  <yao@codesourcery.com>
6456
6457         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6458
6459 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
6460
6461         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6462         expected output for unsupported case.
6463
6464 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6465
6466         PR testsuite/12649
6467         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6468         Protect gdb_test_multiple by final $gdb_prompt match.
6469
6470 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6471
6472         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6473         New variable, new test.
6474         (list static-method.cc:xxx::(anonymous namespace)::A::func)
6475         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6476         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6477         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6478         them if HAVE_GCC_45682_FIXED is not set.
6479
6480 2011-12-10  Yao Qi  <yao@codesourcery.com>
6481
6482         * gdb.trace/status-stop.exp: New.
6483         * gdb.trace/status-stop.c: New.
6484
6485 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6486
6487         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6488         timeout.
6489
6490 2011-12-08  Tom Tromey  <tromey@redhat.com>
6491
6492         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6493         condition.
6494
6495 2011-12-07  Stan Shebs  <stan@codesourcery.com>
6496
6497         * gdb.trace/tfind.exp: Update for output changes.
6498
6499 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
6500
6501         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6502         throws "Cannot insert catchpoints in this configuration".
6503         * gdb.ada/mi_catch_ex.exp: Likewise.
6504
6505 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
6506
6507         * gdb.base/break-always.exp: Test changing memory at addresses
6508         with breakpoints inserted.
6509
6510 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
6511
6512         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6513         involving a fully qualified function name.
6514
6515 2011-12-06  Tom Tromey  <tromey@redhat.com>
6516
6517         * gdb.ada/homonym.exp: Add three breakpoint tests.
6518
6519 2011-12-06  Tom Tromey  <tromey@redhat.com>
6520
6521         * gdb.base/solib-weak.exp (do_test): Remove kfail.
6522         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6523         * gdb.objc/objcdecode.exp: Update for output changes.
6524         * gdb.linespec/linespec.exp: New file.
6525         * gdb.linespec/lspec.cc: New file.
6526         * gdb.linespec/lspec.h: New file.
6527         * gdb.linespec/body.h: New file.
6528         * gdb.linespec/base/two/thefile.cc: New file.
6529         * gdb.linespec/base/one/thefile.cc: New file.
6530         * gdb.linespec/Makefile.in: New file.
6531         * gdb.cp/templates.exp (test_template_breakpoints): Update for
6532         output changes.
6533         * gdb.cp/re-set-overloaded.exp: Remove kfail.
6534         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
6535         makes one breakpoint.
6536         * gdb.cp/method2.exp (test_break): Update for output changes.
6537         * gdb.cp/mb-templates.exp: Update for output changes.
6538         * gdb.cp/mb-inline.exp: Update for output changes.
6539         * gdb.cp/mb-ctor.exp: Update for output changes.
6540         * gdb.cp/ovsrch.exp: Use fully-qualified names.
6541         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
6542         has multiple matches.
6543         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
6544         error message change.
6545         * gdb.base/list.exp (test_list_filename_and_number): Update for
6546         error message change.
6547         * gdb.base/break.exp: Disable pending breakpoints.  Update for
6548         output changes.
6549         * configure.ac: Add gdb.linespec.
6550         * configure: Rebuild.
6551         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6552
6553 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
6554
6555         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6556         last_break register on s390*-*-* targets.
6557
6558 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
6559
6560         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6561         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6562         of parameter X in procedure Foo.
6563
6564 2011-12-05  Stan Shebs  <stan@codesourcery.com>
6565
6566         * gdb.trace/tfind.exp: Update help string matches.
6567
6568 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6569
6570         * gdb.server/ext-run.exp (get process list): Accept also systemd
6571         as PID 1.
6572
6573 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6574             Pedro Alves  <pedro@codesourcery.com>
6575
6576         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6577         starting GDB.
6578         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6579         $use_gdb_stub.
6580         * gdb.base/display.exp: Likewise.
6581         * gdb.base/ending-run.exp: Likewise.
6582         * gdb.base/list.exp (test_listsize): Likewise.
6583         * gdb.base/setshow.exp: Likewise.
6584         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6585         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6586         check by global $use_gdb_stub.
6587         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6588         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6589         (default_gdb_init): Unset global $use_gdb_stub.
6590         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6591         by global $use_gdb_stub.
6592         * lib/gdbserver-support.exp: Extend comments for set_board_info
6593         gdb_protocol and gdb,socketport.
6594         (gdbserver_start_extended): Set global gdbserver_protocol and
6595         gdbserver_gdbport.  Clear global use_gdb_stub.
6596         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6597         from target use_gdb_stub.
6598         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6599
6600 2011-12-03  Doug Evans  <dje@google.com>
6601
6602         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6603         (gdb_step_for_stub): Add comments.
6604
6605 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
6606
6607         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6608         to the caller.
6609         (gdb_test_multiple): Likewise.
6610
6611 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6612
6613         Fix gdb.mi/mi-solib.exp without system debug info installed.
6614         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6615         expect attribute, return 0 for it.  Update comments.
6616
6617 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6618
6619         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6620         (corrupted list): Adjust the expectation.
6621
6622 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6623
6624         PR threads/13448
6625         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6626         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6627         * gdb.threads/tls-var-main.c: New file.
6628         * gdb.threads/tls-var.c: New file.
6629         * gdb.threads/tls-var.exp: New file.
6630
6631 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6632
6633         PR testsuite/12649
6634         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6635         Protect gdb_test_multiple by final $gdb_prompt match.
6636         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6637         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6638         (test_tracepoints): Likewise.
6639
6640 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6641
6642         PR breakpoints/13346
6643         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6644         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6645         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6646
6647 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
6648
6649         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6650         * gdb.ada/homonym/homonym.adb: For use of all types defined
6651         locally inside both Get_Value subprograms.
6652
6653 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6654
6655         Fix racy FAILs.
6656         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6657         of send_gdb.
6658
6659 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
6660
6661         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
6662         environment variable after test completed.
6663
6664 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
6665
6666         * gdb.base/solib-nodir.exp: Skip if remote target.
6667         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6668         application.  Call gdb_load_shlibs.
6669         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6670
6671 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
6672
6673         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6674
6675 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
6676
6677         * gdb.ada/fullname_bp: New testcase.
6678
6679 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6680
6681         PR testsuite/12649
6682         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6683         Wrap send_gdb into a new gdb_test.
6684
6685         Code cleanup.
6686         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6687         Convert send_gdb and gdb_expect to gdb_test_multiple.
6688
6689 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6690
6691         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6692
6693 2011-11-23  Keith Seitz  <keiths@redhat.com>
6694
6695         * lib/mi-support.exp (varobj_tree): New namespace and procs.
6696         (mi_varobj_tree_test_children_callback): New proc.
6697         (mi_walk_varobj_tree): New proc.
6698
6699 2011-11-22  Tom Tromey  <tromey@redhat.com>
6700
6701         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6702         Add "use_mi_command" argument.
6703         (mi_run_cmd, mi_run_with_cli): New procs.
6704         * gdb.mi/solib-lib.c: New file.
6705         * gdb.mi/solib-main.c: New file.
6706         * gdb.mi/mi-solib.exp: New file.
6707
6708 2011-11-21  Doug Evans  <dje@google.com>
6709
6710         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6711         _Unwind_DebugHook is missing.
6712
6713 2011-11-20  Stan Shebs  <stan@codesourcery.com>
6714
6715         * gdb.trace/tstatus.exp: New.
6716         * gdb.trace/actions.c: Include string.h.
6717
6718 2011-11-18  Yao Qi  <yao@codesourcery.com>
6719
6720         * gdb.trace/pending.exp: New.
6721         * gdb.trace/pending.c: New.
6722         * gdb.trace/pendshr1.c: New.
6723         * gdb.trace/pendshr2.c: New.
6724         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6725         tracepoint location becomes pending.
6726         (tracepoint_change_loc_2): New.
6727
6728 2011-11-16  David S. Miller  <davem@davemloft.net>
6729
6730         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6731         target is sparc*-*-linux*
6732
6733 2011-11-15  Paul Koning  <paul_koning@dell.com>
6734
6735         * gdb.python/py-type.exp: New testcases for exceptions on scalar
6736         types.
6737
6738 2011-11-14  Doug Evans  <dje@google.com>
6739
6740         * gdb.base/shell.exp: New file.
6741
6742 2011-11-14  Stan Shebs  <stan@codesourcery.com>
6743
6744         * gdb.trace/ftrace.c: New.
6745         * gdb.trace/ftrace.exp: New.
6746
6747 2011-11-14  Yao Qi  <yao@codesourcery.com>
6748
6749         * gdb.trace/change-loc-1.c: New.
6750         * gdb.trace/change-loc-2.c: New.
6751         * gdb.trace/change-loc.c: New.
6752         * gdb.trace/change-loc.exp:  New.
6753         * gdb.trace/change-loc.h:  New.
6754         * gdb.trace/trace-break.c (marker): Define new symbol.
6755         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6756         New.
6757         (break_trace_same_addr_6): New.
6758
6759 2011-11-12  Matt Rice  <ratmice@gmail.com>
6760
6761         * gdb.base/info-macros.exp: Make tests for info definitions
6762         test info macro.  Add tests for info macro argument processing.
6763         Rename a few tests.
6764
6765 2011-11-11  Keith Seitz  <keiths@redhat.com>
6766
6767         PR gdb/12843
6768         * gdb.base/linespecs.exp: New file.
6769
6770 2011-11-11  Doug Evans  <dje@google.com>
6771
6772         * gdb.threads/print-threads.exp: Extend timeout for slower
6773         tests.
6774
6775 2011-11-10  Doug Evans  <dje@google.com>
6776
6777         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6778         "record to end of main" test.
6779
6780         * gdb.python/py-type.c (TS): New typedef.
6781         (ts): New global.
6782         * gdb.python/py-type.exp: Test field list of typedef.
6783
6784 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
6785
6786         * gdb.ada/small_reg_param: New testcase.
6787
6788 2011-11-09  Tom Tromey  <tromey@redhat.com>
6789
6790         * gdb.cp/destrprint.exp: New file.
6791         * gdb.cp/destrprint.cc: New file.
6792
6793 2011-11-08  Meador Inge  <meadori@codesourcery.com>
6794
6795         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6796         (switch_stack_to_other): New test function.
6797         * gdb.arch/thumb-prologue.exp: New test cases.
6798
6799 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
6800
6801         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6802
6803 2011-11-08  Yao Qi  <yao@codesourcery.com>
6804
6805         * gdb.exp (supports_process_record): New.
6806         (supports_reverse): New.
6807         * gdb.reverse/break-precsave.exp: Call support_process_record
6808         to run test conditionally.
6809         * gdb.reverse/consecutive-precsave.exp: Likewise.
6810         * gdb.reverse/i386-precsave.exp: Likewise.
6811         * gdb.reverse/machinestate-precsave.exp: Likewise.
6812         * gdb.reverse/solib-precsave.exp: Likewise.
6813         * gdb.reverse/step-precsave.exp: Likewise.
6814         * gdb.reverse/until-precsave.exp: Likewise.
6815         * gdb.reverse/watch-precsave.exp: Likewise.
6816         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
6817         test conditionally.
6818         * gdb.reverse/consecutive-reverse.exp: Likewise.
6819         * gdb.reverse/finish-precsave.exp: Likewise.
6820         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6821         * gdb.reverse/finish-reverse.exp: Likewise.
6822         * gdb.reverse/i386-reverse.exp: Likewise.
6823         * gdb.reverse/i386-sse-reverse.exp: Likewise.
6824         * gdb.reverse/machinestate.exp: Likewise.
6825         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6826         * gdb.reverse/sigall-precsave.exp: Likewise.
6827         * gdb.reverse/sigall-reverse.exp: Likewise.
6828         * gdb.reverse/solib-reverse.exp: Likewise.
6829         * gdb.reverse/step-reverse.exp: Likewise.
6830         * gdb.reverse/until-reverse.exp: Likewise.
6831         * gdb.reverse/watch-reverse.exp: Likewise.
6832
6833 2011-11-05  Yao Qi  <yao@codesourcery.com>
6834
6835         * gdb.trace/trace-break.exp: Add test on setting two
6836         fast tracepoints at the same address.
6837
6838 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6839
6840         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6841
6842 2011-11-02  Stan Shebs  <stan@codesourcery.com>
6843
6844         * gdb.trace/collection.c: Add code using strings.
6845         * gdb.trace/collection.exp: Add tests of string collection.
6846
6847 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6848
6849         * gdb.base/skip-solib.exp (executable_main): New variable.
6850         (binfile_main): Base it on that.
6851         Use $executable_main in clean_restart calls.  Drop gdb_exit and
6852         gdb_start calls.
6853
6854 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6855
6856         Fix racy FAILs.
6857         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6858         breakpoint_re globals import by async.  Set string_regex to .* for
6859         async.  Remove the optional thread_selected_re and breakpoint_re
6860         globals expectations.
6861
6862 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
6863
6864         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6865         well as Cygwin.
6866
6867 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
6868
6869         Add tests for skip command.
6870         * gdb.base/skip-solib-lib.c: New
6871         * gdb.base/skip-solib-main.c: New
6872         * gdb.base/skip-solib.exp: New
6873         * gdb.base/skip.c: New
6874         * gdb.base/skip.exp: New
6875         * gdb.base/skip1.c: New
6876         * gdb.base/Makefile.in: Adding new files.
6877
6878 2011-10-31  Yao Qi  <yao@codesourcery.com>
6879             Pedro Alves  <pedro@codesourcery.com>
6880
6881         * gdb.trace/trace-break.c: New.
6882         * gdb.trace/trace-break.exp: New.
6883
6884 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6885
6886         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6887         break-here-2.
6888
6889 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
6890
6891         * gdb.threads/no-unwaited-for-left.c: New.
6892         * gdb.threads/no-unwaited-for-left.exp: New.
6893         * gdb.threads/non-ldr-exc-1.c: New.
6894         * gdb.threads/non-ldr-exc-1.exp: New.
6895         * gdb.threads/non-ldr-exc-2.c: New.
6896         * gdb.threads/non-ldr-exc-2.exp: New.
6897         * gdb.threads/non-ldr-exc-3.c: New.
6898         * gdb.threads/non-ldr-exc-3.exp: New.
6899         * gdb.threads/non-ldr-exc-4.c: New.
6900         * gdb.threads/non-ldr-exc-4.exp: New.
6901
6902 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6903
6904         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6905         * gdb.base/attach-pie-misread.exp: Likewise.
6906         * gdb.base/break-interp.exp: Likewise.
6907         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6908         testcases for use_gdb_stub.
6909         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6910         (continue): New testcase.
6911         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6912         * gdb.threads/attach-into-signal.exp: Likewise.
6913         * gdb.threads/attach-stopped.exp: Likewise.
6914         * gdb.threads/attachstop-mt.exp: Likewise.
6915
6916 2011-10-28  Paul Koning  <paul_koning@dell.com>
6917
6918         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6919
6920 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6921
6922         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6923         (mi_gdb_test): Import globals thread_selected_re
6924         and breakpoint_re.  Expect them optionally at the regex start.
6925
6926 2011-10-27  Doug Evans  <dje@google.com>
6927
6928         * gdb.python/python.exp: Test source -s.
6929
6930 2011-10-26  Paul Koning  <paul_koning@dell.com>
6931
6932         * gdb.python/lib-types.cc (struct A): New structure.
6933         * gdb.python/lib-types.exp (deepitems): New tests.
6934
6935 2011-10-25  Paul Koning  <paul_koning@dell.com>
6936
6937         PR python/13327
6938
6939         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6940         fetch_lazy method.
6941
6942 2011-10-24  Yao Qi  <yao@codesourcery.com>
6943
6944         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6945         target is tic6x-*-*.
6946
6947 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
6948
6949         * gdb.ada/mi_task_info/task_switch.adb: New file.
6950         * gdb.ada/mi_task_info.exp: New file.
6951
6952 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
6953
6954         * gdb.cp/expand-psymtabs-cxx.exp: New file.
6955         * gdb.cp/expand-psymtabs-cxx.cc: New file.
6956
6957 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
6958
6959         PR python/12656
6960
6961         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6962         global_block tests.
6963
6964 2011-10-18  Tom Tromey  <tromey@redhat.com>
6965
6966         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6967
6968 2011-10-18  Tom Tromey  <tromey@redhat.com>
6969
6970         * gdb.base/source.exp: Don't include full file name in test name.
6971         * gdb.python/python.exp: Don't include full file name in test
6972         name.
6973
6974 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
6975
6976         * gdb.base/attach-pie-noexec.c: New files.
6977         * gdb.base/attach-pie-noexec.exp: New files.
6978
6979 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
6980
6981         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6982         prompt for each extra line in command.
6983
6984 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
6985
6986         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6987         Revert the part of:
6988         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6989         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6990         Change the expected string.
6991
6992 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6993
6994         Fix results with system glibc debug info installed.
6995         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6996         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6997         Accept also __libc_ symbol prefix and no prefix.
6998
6999 2011-10-14  Keith Seitz  <keiths@redhat.com>
7000
7001         PR c++/13225
7002         * gdb.cp/converts.cc (foo3_1): New function.
7003         (foo3_2): New functions.
7004         * gdb.cp/converts.exp: Add tests for int to pointer conversion
7005         and null pointer conversions of integer constant zero.
7006         Add test to check if all arguments are checked for incompatible
7007         conversion BADNESS.
7008
7009 2011-10-14  Tom Tromey  <tromey@redhat.com>
7010
7011         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7012         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7013         linespec.
7014
7015 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7016
7017         Fix internal error regression.
7018         * gdb.dwarf2/implptr-optimized-out.S: New file.
7019         * gdb.dwarf2/implptr-optimized-out.exp: New file.
7020
7021 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
7022
7023         Fix empty DWARF expressions DATA vs. SIZE conditionals.
7024         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7025         (loclist): New.
7026         (4): New abbrev.
7027         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7028         Use prepare_for_testing, remove clean_restart.
7029         (p arraynoloc, p arraycallnoloc): New tests.
7030
7031 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
7032
7033         * gdb.cp/namespace-enum.exp (executable): New variable.
7034         (binfile): Use ${objdir}/${subdir}/ prefix.
7035         Use ${executable} for clean_restart.
7036
7037 2011-10-11  Sterling Augustine  <saugustine@google.com>
7038
7039         * gdb.cp/Makefile.in: Add namespace-enum test.
7040         * gdb.cp/namespace-enum.exp: New file.
7041         * gdb.cp/namespace-enum.c: New file.
7042         * gdb.cp/namespace-enum-main.c: New file.
7043
7044 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
7045
7046         * gdb.python/py-shared.exp: Relax filename check to handle remote:
7047         sysroot.
7048
7049 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7050
7051         Reimplement @entry in input expressions.
7052         * gdb.base/exprs.c (v_int_array_init): New variable.
7053         * gdb.base/exprs.exp (print v_int_array_init)
7054         (print *v_int_array_init@1, print *v_int_array_init@2)
7055         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7056         (print v_int_array_init[1]@1): New tests.
7057
7058 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
7059
7060         * gdb.cp/gdb2495.exp: Do not include directories in filename in
7061         expected message.
7062
7063 2011-10-09  Doug Evans  <dje@google.com>
7064
7065         * gdb.base/alias.exp: Add tests for alias command.
7066
7067 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7068
7069         * gdb.arch/amd64-entry-value.s: New file.
7070         * gdb.mi/mi2-amd64-entry-value.s: New file.
7071
7072 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7073
7074         Display @entry parameter values even for references.
7075         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7076         functions.
7077         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
7078         reference and datap_input.
7079         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7080         breakpoints.
7081         (continue to breakpoint: entry_reference: reference)
7082         (entry_reference: bt at entry)
7083         (continue to breakpoint: entry_reference: breakhere_reference)
7084         (entry_reference: bt, entry_reference: ptype regparam)
7085         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7086         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7087         (entry_reference: p regcopy, entry_reference: p nodataparam)
7088         (entry_reference: p nodataparam@entry): New tests.
7089
7090 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7091
7092         Support @entry in input expressions.
7093         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7094         (entry_stack: p s1@entry, entry_stack: p s2@entry)
7095         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7096         (tailcall: p j@entry): New tests.
7097         * gdb.cp/koenig.cc (A::entry): New function.
7098         (main): Call it.
7099         * gdb.cp/koenig.exp (p entry (c)): New test.
7100
7101 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7102
7103         Display @entry parameter values (without references).
7104         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7105         (different, validity, invalid): New functions.
7106         (main): Call them.
7107         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7108         stacktest, breakhere_stacktest, different, breakhere_different,
7109         breakhere_validity and breakhere_invalid.
7110         (entry: bt): Update for @entry.
7111         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7112         (entry_validity: *, entry_invalid: *): Many new tests.
7113         * gdb.base/break.exp
7114         (run until breakpoint set at small function, optimized file): Accept
7115         also the @entry suffix.
7116         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7117         * gdb.mi/mi2-amd64-entry-value.c: New files.
7118         * gdb.mi/mi2-amd64-entry-value.exp: New files.
7119
7120 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7121
7122         Protect entry values against self tail calls.
7123         * gdb.arch/amd64-entry-value.cc (self2, self): New.
7124         (main): Call self.
7125         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7126         (set debug entry-values 1, self: bt debug entry-values): New tests.
7127
7128 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7129
7130         Recognize virtual tail call frames.
7131         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7132         (amb_b, amb_a): New.
7133         (main): Call a and b.
7134         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7135         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7136         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7137         New tests.
7138
7139 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7140
7141         Implement basic support for DW_TAG_GNU_call_site.
7142         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7143         * gdb.arch/amd64-entry-value.cc: New file.
7144         * gdb.arch/amd64-entry-value.exp: New file.
7145
7146 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7147
7148         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7149         * gdb.dwarf2/implptr-64bit.S: New file.
7150         * gdb.dwarf2/implptr-64bit.exp: New file.
7151
7152 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7153
7154         Fix initial language detection with -readnow.
7155         * gdb.cp/readnow-language.cc: New file.
7156         * gdb.cp/readnow-language.exp: New file.
7157
7158 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
7159
7160         Fix printed anonymous struct name.
7161         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7162
7163 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
7164
7165         * gdb.base/solib-symbol.exp: Do not include directories in
7166         filenames in expected messages.
7167
7168 2011-10-07  Doug Evans  <dje@google.com>
7169
7170         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7171
7172 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
7173
7174         Allow Python notification of new object-file loadings.
7175         * gdb.python/py-events.exp: Test newobjfile event.
7176         * gdb.python/py-events.py: Register newobjfile callback.
7177         * gdb.python/py-events.c: Add call to shared library
7178         * gdb.python/py-events-shlib.c: New file.
7179
7180 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
7181
7182         * gdb.base/fixsection.exp: Do not include directories in filename
7183         in expected message.
7184
7185 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
7186
7187         Add tests for passing of environment variables to inferior.
7188         * gdb.base/testenv.c: New test source.
7189         * gdb.base/testenv.exp: New expect test.
7190
7191 2011-10-04  Paul Koning  <paul_koning@dell.com>
7192
7193         * gdb.python/py-value.c (main): Break before return.
7194
7195 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
7196
7197         PR python/12691: Add the inferior to Python exited event
7198         * gdb.python/py-events.exp: Test the inferior attribute of exited
7199         event with a fork.
7200         * gdb.python/py-events.py: Print inferior number on exit.
7201         * gdb.python/py-events.c: Fork the inferior.
7202
7203 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7204
7205         * gdb.base/jit.exp: Add testcase name to log message
7206
7207 2011-10-03  Paul Koning  <paul_koning@dell.com>
7208             Jan Kratochvil  <jan.kratochvil@redhat.com>
7209
7210         * gdb.python/py-value.exp
7211         (python inval = gdb.parse_and_eval('*(int*)0'))
7212         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7213         (set argc=2, python print argc_lazy): New tests.
7214
7215 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
7216
7217         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7218
7219 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7220             Pedro Alves  <pedro@codesourcery.com>
7221
7222         * gdb.python/py-value.exp (test_value_in_inferior): New variable
7223         can_read_0, test for it.
7224         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7225         (parse_and_eval with memory error): ... here, make it untested if
7226         can_read_0.
7227
7228 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
7229
7230         * gdb.python/python.exp (verify pagination beforehand)
7231         (verify pagination afterwards): Fix race by splitting the line.
7232
7233 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
7234
7235         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7236         for 64-bit multilibs from i?86-* targets.
7237
7238 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
7239
7240         * lib/gdb.exp: Fix a typo in one of the comments.
7241
7242 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
7243
7244         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7245         matching pattern.
7246
7247 2011-09-28  Paul Koning  <paul_koning@dell.com>
7248
7249         * gdb.python/py-type.c (enum E): New.
7250         * gdb.python/py-type.exp (test_fields): Add tests for Python
7251         mapping access to fields.
7252         (test_enums): New test for field access on enums.
7253
7254 2011-09-27  Stan Shebs  <stan@codesourcery.com>
7255
7256         * gdb.trace/collection.exp: Test collection of $_ret.
7257
7258 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
7259
7260         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7261         list of compilation switches for <*-*-freebsd*>.
7262
7263 2011-09-19  Stan Shebs  <stan@codesourcery.com>
7264
7265         * gdb.trace/tspeed.exp: New file.
7266         * gdb.trace/tspeed.c: New file.
7267
7268 2011-09-18  Yao Qi  <yao@codesourcery.com>
7269
7270         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7271         instructions.
7272         (test_adr_32bit, test_pop_pc): Likewise.
7273         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7274         Thumb instructions.
7275         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7276         in gdb_test_multiple.
7277         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7278
7279 2011-09-17  Yao Qi  <yao@codesourcery.com>
7280
7281         * lib/gdb.exp (can_single_step_to_signal_handler): New.
7282         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
7283         support single step to signal handler.
7284
7285 2011-09-17  Yao Qi  <yao@codesourcery.com>
7286
7287         * gdb.base/disp-step-fork.c: New.
7288         * gdb.base/disp-step-syscall.exp: New.
7289         * gdb.base/disp-step-vfork.c: New.
7290
7291 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
7292
7293         * gdb.ada/tasks.exp: Make the expected output for
7294         the `info tasks' tests more resilient to spacing
7295         changes.
7296
7297 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7298
7299         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7300         (reached breakpoint 2, reached breakpoint 3): Update expected output.
7301
7302 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
7303
7304         PR Python/12692 Add gdb.selected_inferior() to Python interface.
7305         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7306
7307 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
7308
7309         Handle multiple breakpoint hits in Python interface:
7310         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7311         presence.
7312         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7313         breakpoint hits.
7314
7315 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
7316             Jan Kratochvil  <jan.kratochvil@redhat.com>
7317
7318         * gdb.python/py-events.exp: Remove pretty printing comment.
7319         * gdb.python/py-evsignal.exp: New file.
7320         * gdb.python/py-evthreads.c: Include signal.h.
7321         (thread3): Remove variable count3.  Remove variable bad and use raise
7322         instead.
7323         (thread2): Remove variable count2.  Move thread3 pthread_create here,
7324         merge pthread_join to a single line.
7325         (main): Remove variable count1.  Merge pthread_join with pthread_create
7326         to a single line.
7327         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
7328         KFAIL python/12966 for gdbserver.  Test return value of
7329         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
7330         gdb_expect by gdb_test and gdb_test_multiple.
7331         (thread 2, thread 3): New tests.
7332
7333 2011-09-12  Matt Rice  <ratmice@gmail.com>
7334             Pedro Alves  <pedro@codesourcery.com>
7335
7336         PR gdb/13175
7337
7338         * gdb.base/interp.exp: New tests.
7339         * gdb.base/interp.c: New file.
7340
7341 2011-09-12  Doug Evans  <dje@google.com>
7342
7343         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7344         * gdb.dwarf2/typeddwarf.exp: Ditto.
7345
7346 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7347
7348         Fix compatibility with x32 arch.
7349         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7350         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7351         is_x86_like_target.
7352         * testsuite/gdb.trace/collection.exp: Likewise.
7353         * testsuite/gdb.trace/report.exp: Likewise.
7354         * testsuite/gdb.trace/unavailable.exp: Likewise.
7355         * testsuite/gdb.trace/while-dyn.exp: Likewise.
7356         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7357         (is_x86_like_target): Check also is_amd64_regs_target.
7358
7359 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7360
7361         PR breakpoints/12435
7362         * gdb.arch/amd64-prologue-xmm.c: New file.
7363         * gdb.arch/amd64-prologue-xmm.exp: New file.
7364         * gdb.arch/amd64-prologue-xmm.s: New file.
7365
7366 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7367
7368         * gdb.dwarf2/dw2-param-error-main.c: New file.
7369         * gdb.dwarf2/dw2-param-error.S: New file.
7370         * gdb.dwarf2/dw2-param-error.exp: New file.
7371
7372 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
7373
7374         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7375         inferior's pid and look for a core dump named core.$pid.  Use
7376         `remote_file' commands on the host instead of hand coding shell
7377         commands on the build.
7378         * gdb.base/valgrind-db-attach.exp: Kill the program before
7379         finishing the test.
7380
7381 2011-09-02  Matt Rice  <ratmice@gmail.com>
7382
7383         * lib/prompt.exp: New file for testing the first prompt.
7384         * gdb.python/py-prompt.exp: Ditto.
7385         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7386
7387 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
7388
7389         * gdb.threads/gcore-thread.exp: Set the global core_supported to
7390         0, before testing gcore.
7391
7392 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7393
7394         * dw2-ifort-parameter-debug.S: Update copyright year.
7395         * dw2-ifort-parameter.c: Update copyright year.
7396         * dw2-ifort-parameter.exp: Update copyright year.
7397
7398         * dw2-ifort-parameter-debug.S: New file.
7399         * dw2-ifort-parameter.c: New file.
7400         * dw2-ifort-parameter.exp: New file.
7401
7402 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7403
7404         * gdb.base/commands.exp (error_clears_commands_left): New function.
7405         (): Call it.
7406
7407 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7408
7409         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7410         (C): Initialize `a'.
7411         * gdb.mi/mi-inheritance-syntax-error.exp
7412         (-data-evaluate-expression $path):  Expect `a' as 5.
7413
7414 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
7415
7416         PR mi/11912
7417         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7418         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7419         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7420         keyword in output of -var-info-path-expression.
7421
7422 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
7423
7424         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7425         * gdb.trace/collection.exp: Likewise.
7426         * gdb.trace/report.exp: Likewise.
7427         * gdb.trace/unavailable.exp: Likewise.
7428         * gdb.trace/while-dyn.exp: Likewise.
7429
7430 2011-08-18  Keith Seitz  <keiths@redhat.com>
7431
7432         PR c++/12266
7433         * gdb.cp/meth-typedefs.cc: New file.
7434         * gdb.cp/meth-typedefs.exp: New file.
7435
7436 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
7437
7438         * gdb.python/python.exp: Add extended-prompt tests.
7439
7440 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7441
7442         * gdb.arch/i386-dr3-watch.exp
7443         (watchpoint on gap1 does not fit debug registers)
7444         (delete all watchpoints): Fix racy expect strings.
7445
7446 2011-08-14  Yao Qi  <yao@codesourcery.com>
7447
7448         * gdb.base/maint.exp: set data_section to ".neardata".
7449         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7450         * gdb.base/savedregs.exp: Handle SIGILL.
7451         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7452         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7453
7454 2011-08-12  Doug Evans  <dje@google.com>
7455
7456         * gdb.python/py-symbol.exp: Add test for symbol.type.
7457
7458 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
7459
7460         * gdb.threads/pthreads.exp: Enable on non-native configurations.
7461         * gdb.mi/mi-pthreads.exp: Likewise.
7462         * gdb.mi/mi2-pthreads.exp: Likewise.
7463         * gdb.mi/gdb669.exp.exp: Likewise.
7464
7465 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
7466
7467         * lib/mi-support.exp (detect_async): Rename to...
7468         (mi_detect_async): ... this.
7469         * gdb.mi/mi-nonstop-exit.exp: Adjust.
7470         * gdb.mi/mi-nonstop.exp: Adjust.
7471         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7472         * gdb.mi/mi-nsintrall.exp: Adjust.
7473         * gdb.mi/mi-nsmoribund.exp: Adjust.
7474         * gdb.mi/mi-nsthrexec.exp: Adjust.
7475
7476 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
7477
7478         * gdb.base/display.c (do_loops): New `p_i' local.
7479         * gdb.base/display.exp: Test displaying a variable that is
7480         temporarily at a bad address.
7481
7482 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7483
7484         * gdb.dwarf2/dw2-op-stack-value.S: New file.
7485         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7486
7487 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7488
7489         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7490         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7491         (p fuNC_symtab): Permit also ppc64 leading dot.
7492
7493 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
7494
7495         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7496         procedure.
7497         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7498
7499 2011-08-05  Yao Qi  <yao@codesourcery.com>
7500
7501         * gdb.base/callfuncs.exp: Set language after main.
7502         * gdb.cp/cplusfuncs.exp: Likewise.
7503         * gdb.cp/inherit.exp: Likewise.
7504
7505 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
7506
7507         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7508         * gdb.base/watch-vfork.exp: Skip on remote targets.
7509
7510 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
7511
7512         * gdb.threads/thread-find.exp: Support remote targets.
7513
7514 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
7515
7516         * gdb.base/jit.exp: Download solib_binfile to target.
7517         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
7518         and call dlopen without full path name.
7519         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7520         dlopen without full path name.
7521
7522 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7523
7524         * gdb.base/break-always.exp: Complete the test
7525         with duplicated breakpoints and enabling/disabling them.
7526
7527 2011-08-02  Tom Tromey  <tromey@redhat.com>
7528
7529         PR gdb/11289:
7530         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
7531
7532 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7533
7534         PR gdb/13045
7535         * gdb.base/float.exp: Add new test case for PR gdb/13045
7536         * gdb.base/float.c: New file.
7537
7538 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
7539
7540         * gdb.python/py-mi.exp: Test printers returning string hint, and
7541         also not returning a value.
7542         * gdb.python/py-prettyprint.c: Add testcase for above.
7543         * gdb.python/py-prettyprint.py: Add test printer for above.
7544
7545 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7546
7547         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7548         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7549         (.Ldie30) Add as field "data4".
7550         (.Ldie32) Rename field "b" to "shl".
7551         (abbrev4) Change for the "data4" field.
7552         (abbrev5, abbrev6) Remove.
7553         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7554         (p &s.shl): ... here.  Add comment.
7555         (p &s.data4): New.
7556
7557 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7558
7559         Fix crash on lval_computed values.
7560         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7561
7562 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7563
7564         * gdb.base/help.exp (help whatis): Update the expected string.
7565
7566 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7567
7568         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7569         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7570         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7571         Change the expected string.
7572
7573 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
7574
7575         * gdb.base/watchpoint.exp
7576         (test_disable_enable_software_watchpoint): New procedure.
7577         (top level): Run it.
7578
7579 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
7580
7581         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
7582         executable file "${binfile}", C++ version "${binfile}-cxx".
7583         * gdb.python/py-prettyprint.exp: Likewise.
7584         * gdb.python/py-symbol.exp: Likewise.
7585         * gdb.python/py-type.exp: Likewise.
7586         * gdb.python/py-value.exp: Likewise.
7587         * gdb.python/py-template.exp (test_template_arg): Pass full executable
7588         file name instead of just suffix.
7589
7590 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7591
7592         Fix implicit pointer offsets.
7593         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7594         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7595         (continue to breakpoint: continue to baz breakpoint for implptr)
7596         (sanity check element 0, sanity check element 1)
7597         (enter the inlined function, check element 0 for the offset)
7598         (check element 1 for the offset)
7599         (continue to breakpoint: ignore the second baz breakpoint): New tests.
7600         (set foo breakpoint for implptr): Update the breakpoint number.
7601
7602 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
7603
7604         * gdb.python/py-mi.exp: Use different file names for different
7605         versions of the executable under test.
7606         * gdb.python/py-prettyprint.exp: Likewise.
7607         * gdb.python/py-symbol.exp: Likewise.
7608         * gdb.python/py-template.exp: Likewise.
7609         * gdb.python/py-type.exp: Likewise.
7610         * gdb.python/py-value.exp: Likewise.
7611
7612 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
7613
7614         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7615         flag after restarting GDB if necessary.
7616
7617 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
7618
7619         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7620
7621 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
7622
7623         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7624         backend doesn't leave used debug registers behind.
7625
7626 2011-07-22  Tom Tromey  <tromey@redhat.com>
7627
7628         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7629         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7630         argument.
7631         * gdb.dwarf2/typeddwarf-amd64.S: New file.
7632
7633 2011-07-21  Matt Rice  <ratmice@gmail.com>
7634
7635         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7636         in mostlyclean rule.  Add files ending in .core.
7637
7638 2011-07-21  Matt Rice  <ratmice@gmail.com>
7639
7640         PR macros/12999
7641         * gdb.base/info-macros.c: New test sources.
7642         * gdb.base/info-macros.exp: New tests.
7643
7644 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
7645
7646         * gdb.python/python.exp: Add prompt substitution tests.
7647
7648 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7649
7650         Fix crash if referenced CU is aged out.
7651         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7652         New.
7653         * gdb.dwarf2/implptr.exp: Likewise.
7654
7655 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
7656
7657         * gdb.dwarf2/implptr.S: Rebuilt.
7658         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7659         (bar): Use them for j, k, l.
7660         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
7661         COMPILE.
7662         (print j in implptr:bar): Update for the intp typedef.
7663         (print p[0].x in implptr:foo): Use more exact regex.
7664
7665 2011-07-18  Tom Tromey  <tromey@redhat.com>
7666
7667         * gdb.cp/static-method.exp: Add missing single quote.
7668
7669 2011-07-18  Yao Qi  <yao@codesourcery.com>
7670
7671         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7672         supported.
7673         * gdb.mi/mi-nonstop-exit.exp: Likewise.
7674         * gdb.mi/mi-nonstop.exp: Likewise.
7675         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7676         * gdb.mi/mi-nsintrall.exp: Likewise.
7677         * gdb.mi/mi-nsmoribund.exp: Likewise.
7678         * gdb.mi/mi-nsthrexec.exp: Likewise.
7679         * gdb.python/py-evthreads.exp: Likewise.
7680
7681 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7682
7683         Code cleanup.
7684         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
7685         it.  Substitute it instead of test_compiler_info everywhere.
7686
7687 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
7688
7689         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
7690         remote targets as well.
7691
7692 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
7693
7694         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7695         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
7696
7697 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
7698
7699         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7700         a remote machine, not the host.
7701         (gdb_compile_shlib): Set soname if target is remote.
7702
7703 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7704
7705         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7706
7707 2011-07-13  Matt Rice <ratmice@gmail.com>
7708
7709         * gdb.python/py-objfile-script-gdb.py: Renamed to
7710         py-objfile-script-gdb.py.in.
7711         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7712         py-objfile-script-gdb.py.
7713         * gdb.python/py-objfile-script.exp: Update reference to
7714         py-objfile-script-gdb.py.
7715
7716 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7717
7718         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7719         reference undefined label.
7720
7721 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7722
7723         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7724         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7725         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7726         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7727
7728 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
7729
7730         PR python/12438
7731         * gdb.python/python.exp: Add maint set/show python print-stack
7732         deprecated tests.  Add set/show python print-backtrace tests.
7733
7734 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7735
7736         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7737         debug info.
7738
7739 2011-07-06  Matt Rice  <ratmice@gmail.com>
7740
7741         * gdb.python/python.exp: Update filename paths.
7742         * gdb.python/py-symtab.exp: Ditto.
7743
7744 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7745
7746         * gdb.python/py-evthreads.exp: Add missing `$'.
7747
7748 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
7749
7750         * config/bfin.exp: New file.
7751         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7752         * gdb.asm/bfin.inc: New file.
7753
7754 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7755
7756         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7757         the whole output.
7758
7759 2011-07-05  Tom Tromey  <tromey@redhat.com>
7760
7761         * gdb.java/jprint.java (jprint.hi): New field.
7762         * gdb.java/jprint.exp: Print string.
7763
7764 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
7765
7766         * gdb.base/call-sc.c: Fix typos.
7767         * gdb.base/ifelse.exp: Likewise.
7768         * gdb.base/structs.c: Likewise.
7769
7770 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7771
7772         * gdb.base/jit-so.exp: New test.
7773         * gdb.base/jit-dlmain.c: New file.
7774         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7775
7776 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7777
7778         * gdb.cp/m-static.exp: Call get_compiler_info.
7779         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7780         * gdb.cp/pr9167.exp (p b): Likewise.
7781         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7782         (test value of P in inner_m, test type of Z in inner_m): Call
7783         setup_xfail for gcc <= 4.5.
7784
7785 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7786
7787         * gdb.cp/paren-type.cc: New files.
7788         * gdb.cp/paren-type.exp: New files.
7789
7790 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7791
7792         Stop on first linespec terminator instead of eating what we can.
7793         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7794         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7795         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7796         (break C::f()): ... this one.
7797         (break C::operator()()): New test.
7798         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7799         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7800         test.
7801
7802 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7803
7804         Fall back linespec to minimal symbols.
7805         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7806         error message.
7807         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7808         * gdb.cp/minsym-fallback-main.cc: New file.
7809         * gdb.cp/minsym-fallback.cc: New file.
7810         * gdb.cp/minsym-fallback.exp: New file.
7811         * gdb.cp/minsym-fallback.h: New file.
7812
7813 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7814
7815         * gdb.cp/no-dmgl-verbose.cc: New file.
7816         * gdb.cp/no-dmgl-verbose.exp: New file.
7817
7818 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7819
7820         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7821         __GI_.
7822         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7823         (f): New function.
7824         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7825         (complete p 'func<short>(): ... here.
7826         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7827         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7828         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7829         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7830         Make them KFAIL gcc/49546.
7831
7832 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7833
7834         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7835
7836 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7837
7838         Test GCC PR debug/49546.
7839         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7840         (test type of F in k3_m, test value of F in k3_m): New.
7841         * gdb.cp/temargs.cc (struct S3, struct K3): New.
7842         (main): New variable k3.  Call k3.k3_m.
7843
7844 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
7845
7846         * gdb.ada/packed_array.exp: Fix expected outout.
7847
7848 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
7849
7850         * gdb.ada/packed_array.exp: fixed expected output.
7851
7852 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7853
7854         * gdb.ada/same_enum: New testcase.
7855
7856 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7857
7858         * gdb.ada/ptr_typedef: New testcase.
7859
7860 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7861
7862         * gdb.ada/arrayptr.exp: Add ptype test.
7863
7864 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7865
7866         * gdb.ada/char_enum: New testcase.
7867
7868 2011-07-01  Yao Qi  <yao@codesourcery.com>
7869
7870         * gdb.base/dump.exp (capture_pointer_with_type): New.
7871         Get value from address instead of name.
7872         Start GDB once, and do `dump' and `restore'
7873         tests together.
7874
7875 2011-06-30  Jie Zhang <jie.zhang@analog.com>
7876             Mike Frysinger  <vapier@gentoo.org>
7877
7878         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7879         helper functions for getting/setting remotetimeout variable.
7880         * lib/gdb.exp (gdb_load): If the target is remote, set
7881         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7882         with $loadtimeout.  Set $load_ok to 0 before doing the load.
7883         Instead of returning, immediately, set $load_ok to 0.  Call
7884         set_remotetimeout with $oldremotetimeout, and then return if
7885         $load_ok is 1.
7886
7887 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
7888
7889         * gdb.python/py-template.exp: Don't run this test if the target
7890         does not support c++ tests.
7891
7892 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7893
7894         Fix non-only rename list for Fortran modules import.
7895         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7896         tests.
7897         * gdb.fortran/module.f90 (module moduse): New.
7898         (program module): use moduse, test var_x, var_y and var_z.
7899
7900 2011-06-29  Tom Tromey  <tromey@redhat.com>
7901
7902         PR testsuite/12040:
7903         * gdb.fortran/array-element.exp: Use f90, not f77.
7904         * gdb.fortran/complex.exp: Use f90, not f77.
7905         * gdb.fortran/derived-type.exp: Use f90, not f77.
7906         * gdb.fortran/library-module.exp: Use f90, not f77.
7907         * gdb.fortran/logical.exp: Use f90, not f77.
7908         * gdb.fortran/module.exp: Use f90, not f77.
7909         * gdb.fortran/multi-dim.exp: Use f90, not f77.
7910         * gdb.fortran/subarray.exp: Use f90, not f77.
7911
7912 2011-06-29  Tom Tromey  <tromey@redhat.com>
7913
7914         * gdb.fortran/charset.exp: New file.
7915         * gdb.fortran/charset.f90: New file.
7916
7917 2011-06-29  Tom Tromey  <tromey@redhat.com>
7918
7919         PR testsuite/12040:
7920         * lib/future.exp: New file, mostly extracted from ada.exp.
7921         Rewrote compatibility code to use rename.
7922         (gdb_find_gfortran): New proc.
7923         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7924         gfortran patch.
7925         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7926         Move to future.exp.
7927         * lib/gdb.exp: Always load future.exp.
7928
7929 2011-06-28  Yao Qi  <yao@codesourcery.com>
7930
7931         * gdb.cp/exception.cc: Don't include iostream.
7932         (bar): Remove print statement.
7933         (catcher): New.
7934         (main): Remove print statements.  Call function catcher.
7935         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7936         Set breakpoint on catcher, and check the value of parameter.
7937
7938 2011-06-23  Yao Qi  <yao@codesourcery.com>
7939
7940         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7941         breakpoint 1.2 is disabled.  KFAIL for uclinux.
7942
7943 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7944
7945         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7946         mi_gdb_test.
7947
7948 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7949
7950         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7951
7952 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7953
7954         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7955
7956 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7957
7958         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
7959         `test_exec_and_symbol_mi_operatons' return value.
7960         (test_mi_interpreter_selection): Use mi_gdb_test instead of
7961         gdb_test_multiple.
7962         (test_exec_and_symbol_mi_operatons): Likewise.
7963         (test_path_specification): Likewise.
7964
7965 2011-06-23  Yao Qi  <yao@codesourcery.com>
7966
7967         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7968         supported.
7969         * lib/gdb.exp (support_displaced_stepping): New.
7970
7971 2011-06-23  Yao Qi  <yao@codesourcery.com>
7972
7973         * gdb.threads/execl.exp: Skip on remote target.
7974
7975 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
7976
7977         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7978         mi_gdb_test.
7979
7980 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7981
7982         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7983
7984 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7985
7986         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7987         mi_gdb_test.
7988
7989 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7990
7991         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7992
7993 2011-06-14  Yao Qi  <yao@codesourcery.com>
7994
7995         gdb/testsuite/
7996         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7997
7998 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
7999
8000         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8001
8002 2011-06-10  Tom Tromey  <tromey@redhat.com>
8003
8004         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8005         Add tests for pointer-to-member-function.
8006         * gdb.cp/temargs.cc (S::somefunc): New function.
8007         (K2): New class.
8008         (main): Instantiate K2; call method.
8009
8010 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
8011
8012         * gdb.python/py-inferior.c (f2): Make str an array rather
8013         than a pointer.
8014         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8015
8016 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8017
8018         * gdb.base/async-shell.c: New file.
8019         * gdb.base/async-shell.exp: New file.
8020
8021 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
8022
8023         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8024
8025 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
8026
8027         From Stephen Kitt  <steve@sk2.org>
8028         * gdb.base/help.exp: Adjust following some spelling corrections
8029         in GDB.
8030
8031 2011-06-01  Yao Qi  <yao@codesourcery.com>
8032
8033         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8034
8035 2010-05-31  Keith Seitz  <keiths@redhat.com>
8036
8037         PR c++/12750
8038         * gdb.cp/static-method.cc: New file.
8039         * gdb.cp/static-method.exp: New file.
8040
8041 2010-05-31  Keith Seitz  <keiths@redhat.com>
8042
8043         PR symtab/12704
8044         * gdb.cp/anon-ns.cc: New file.
8045         * gdb.cp/anon-ns.exp: New file.
8046
8047 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
8048
8049         * gdb.arch/i386-dr3-watch.c: New file.
8050         * gdb.arch/i386-dr3-watch.exp: New file.
8051
8052 2011-05-30  Yao Qi  <yao@codesourcery.com>
8053
8054         * gdb.base/callfuncs.c (t_structs_fc): New.
8055         (t_structs_dc, t_structs_ldc): New.
8056         (t_double_many_args):
8057         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8058         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8059         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8060         * gdb.base/callfuncs.exp: Call new functions.
8061
8062 2011-05-30  Yao Qi  <yao@codesourcery.com>
8063
8064         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8065         Call rerun_and_prepare for each test to isolate effects.
8066
8067 2011-05-30  Yao Qi  <yao@codesourcery.com>
8068
8069         * gdb.base/varargs.c (find_max_float_real): New.
8070         (find_max_double_real, find_max_long_double_real): New.
8071         * gdb.base/varargs.exp: Call these new added functions.
8072         * lib/gdb.exp (setup_kfail_for_target): New.
8073
8074 2011-05-30  Yao Qi  <yao@codesourcery.com>
8075
8076         * gdb.base/funcargs.c (callca, callcb, callcc): New.
8077         (callcd, callce, callcf, callc1a, callc1b): New.
8078         (callc2a, callc2b): New.
8079         * gdb.base/funcargs.exp (complex_args): New.
8080         (complex_integral_args, complex_float_integral_args): New.
8081         * lib/gdb.exp (support_complex_tests): New.  Determine
8082         whether to run test cases on _Complex types.
8083
8084 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8085
8086         * gdb.threads/leader-exit.c: New file.
8087         * gdb.threads/leader-exit.exp: New file.
8088
8089 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
8090
8091         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8092
8093 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
8094
8095         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8096         remove the `supported' variable.
8097         * gdb.mi/mi-nonstop.exp: Likewise.
8098         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8099         * gdb.mi/mi-nsintrall.exp: Likewise.
8100         * gdb.mi/mi-nsmoribund.exp: Likewise.
8101         * gdb.mi/mi-nsthrexec.exp: Likewise.
8102
8103 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
8104
8105         * gdb.reverse/finish-reverse-bkpt.exp: New test.
8106
8107 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
8108
8109         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8110
8111 2011-05-24  Keith Seitz  <keiths@redhat.com>
8112
8113         PR breakpoint/12803
8114         * gdb.cp/cmpd-minsyms.cc (a): New method.
8115         (b): New method.
8116         (c): New method.
8117         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8118
8119 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
8120
8121         * gdb.base/commands.exp (watchpoint_command_test): Check that the
8122         watchpoint's command list didn't execute when the watchpoint went
8123         out of scope.
8124
8125 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
8126
8127         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8128         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8129         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8130         * gdb.arch/i386-gnu-cfi.exp: Likewise.
8131         * gdb.arch/i386-permbkpt.exp: Likewise.
8132         * gdb.arch/i386-prologue.exp: Likewise.
8133         * gdb.arch/i386-size-overlap.exp: Likewise.
8134         * gdb.arch/i386-size.exp: Likewise.
8135         * gdb.arch/i386-unwind.exp: Likewise.
8136         * gdb.reverse/i386-precsave.exp: Likewise.
8137         * gdb.reverse/i386-reverse.exp: Likewise.
8138         * gdb.reverse/i386-sse-reverse.exp: Likewise.
8139         * gdb.reverse/i387-env-reverse.exp: Likewise.
8140         * gdb.reverse/i387-stack-reverse.exp: Likewise.
8141
8142 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
8143
8144         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8145         file doesn't error, using MI.
8146
8147 2011-05-23  Tom Tromey  <tromey@redhat.com>
8148
8149         * gdb.base/charset.exp (string_display): Add tests to assign to
8150         arrays.
8151         * gdb.base/charset.c (short_array, int_array, long_array): New.
8152
8153 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
8154
8155         Cope with async mode.
8156
8157         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8158         into gdb_test + mi_expect_stop.
8159
8160 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
8161
8162         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8163         (callme): Remove printf call.
8164
8165 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
8166
8167         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8168         quote pattern to avoid problems with Cygwin/mingw expect versions.
8169         * gdb.base/default.exp (show convenience): Use double
8170         quote pattern for regular expressions.
8171
8172 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8173
8174         Fix -readnow for -gdwarf-4 unused type units.
8175         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8176         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8177
8178 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8179
8180         * gdb.base/kill-after-signal.c: New file.
8181         * gdb.base/kill-after-signal.exp: New file.
8182
8183 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
8184
8185         * gdb.ada/start.exp: Call untested with the correct test filename.
8186         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8187         test filename.  Make the test's binary unique.
8188         * gdb.arch/i386-signal.exp: Call untested with the correct test
8189         filename.
8190         * gdb.arch/i386-size-overlap.exp: Ditto.
8191         * gdb.arch/Makefile.in (EXECUTABLES): Update.
8192         * gdb.base/gcore-buffer-overflow.exp: Ditto.
8193         * gdb.cp/call-c.exp: Ditto.
8194         * gdb.mi/mi-reverse.exp: Call untested with the correct test
8195         filename.  Make the test's binary unique.
8196         * gdb.mi/Makefile.in (EXECUTABLES): Update.
8197         * gdb.python/py-mi.exp: Ditto.
8198         * gdb.python/Makefile.in (EXECUTABLES): Update.
8199         * gdb.reverse/i386-precsave.exp: Ditto.
8200         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8201         test filename.
8202         * gdb.reverse/i387-stack-reverse.exp: Ditto.
8203         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
8204         unique.
8205         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8206         test filename.
8207         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8208         * gdb.trace/tfile.exp: Ditto.
8209
8210 2011-05-14  Yao Qi  <yao@codesourcery.com>
8211
8212         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8213         type.
8214
8215 2011-05-13  Doug Evans  <dje@google.com>
8216
8217         * gdb.python/py-objfile-script.exp: New file.
8218         * gdb.python/py-objfile-script.c: New file.
8219         * gdb.python/py-objfile-script-gdb.py: New file.
8220         * testsuite/gdb.python/py-section-script.exp: Test
8221         "info auto-load-scripts".
8222
8223 2011-05-13  Tom Tromey  <tromey@redhat.com>
8224
8225         * gdb.dwarf2/clztest.exp: New file.
8226         * gdb.dwarf2/clztest.c: New file.
8227         * gdb.dwarf2/clztest.S: New file.
8228
8229 2011-05-13  Doug Evans  <dje@google.com>
8230
8231         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8232         String16 tests.
8233
8234 2011-05-13  Tom Tromey  <tromey@redhat.com>
8235
8236         * lib/gdb.exp (is_x86_like_target): New proc.
8237         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8238         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8239         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
8240         -nostdlib to compiler.
8241         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8242         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8243         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8244         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8245         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8246
8247 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8248
8249         * gdb.python/py-function.exp: Test setting a value from a function
8250         which executes a command.
8251
8252 2011-05-12  Tom Tromey  <tromey@redhat.com>
8253
8254         * gdb.dwarf2/typeddwarf.S: New file.
8255         * gdb.dwarf2/typeddwarf.c: New file.
8256         * gdb.dwarf2/typeddwarf.exp: New file.
8257
8258 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
8259
8260         * gdb.mi/mi-basics.exp: Fix races.  Honour the
8261         `test_exec_and_symbol_mi_operatons' return value.
8262         (test_mi_interpreter_selection): Use mi_gdb_test instead of
8263         gdb_test_multiple.
8264         (test_exec_and_symbol_mi_operatons): Likewise.
8265         (test_path_specification): Likewise.
8266
8267 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8268
8269         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8270         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
8271         Replace `file copy' and `file rename' by `file mtime'.  Twice.
8272
8273 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8274
8275         * gdb.base/readline-ask.c: New file.
8276         * gdb.base/readline-ask.exp: New file.
8277         * gdb.base/readline-ask.inputrc: New file.
8278
8279 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
8280
8281         * gdb.cell/bt.exp: Delete breakpoints before running to signal
8282         to avoid race condition.
8283         * gdb.cell/coremaker.c: Use small stack size.
8284         * gdb.cell/ea-standalone.exp: Use file name without path as
8285         argument to c_to.
8286         * gdb.cell/fork.exp: Allow other output when continuing to end.
8287
8288 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8289
8290         * gdb.threads/corethreads.c: New file.
8291         * gdb.threads/corethreads.exp: New file.
8292
8293 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8294
8295         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8296         Try to compile the test using -Wl,-z,norelro first.
8297         (load_core): New variable libthread_db_seen, initialize it.
8298         (zeroed-threads cannot be listed): Protect it by XFAIL on
8299         !$libthread_db_seen.
8300
8301 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8302
8303         PR 12573
8304         * gdb.dwarf2/dw2-skip-prologue.S: New file.
8305         * gdb.dwarf2/dw2-skip-prologue.c: New file.
8306         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8307
8308 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8309
8310         * gdb.cp/psymtab-parameter.cc: New file.
8311         * gdb.cp/psymtab-parameter.exp: New file.
8312
8313 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
8314
8315         Fix a race.
8316         * gdb.cp/static-print-quit.exp (print c): Split to ...
8317         (print c - <return>, print c - q <return>, print c - to quit):
8318         ... these.  Make the testfile untested on gdb-7.1.
8319
8320 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
8321
8322         * lib/gdb.exp (exec_target_file, exec_symbol_file,
8323         gdb_rename_execfile, gdb_touch_execfile): New.
8324         * gdb.base/reread.exp: Use new procs to handle multiple
8325         exec files.
8326
8327 2011-05-05  Yao Qi  <yao@codesourcery.com>
8328
8329         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8330         (test_adr_32bit, test_pop_pc): New.
8331         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8332         (test_adr_32bit, test_pop_pc): New.
8333
8334 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
8335
8336         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8337         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8338         targets.
8339         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8340         handle targets.
8341
8342 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
8343
8344         * gdb.base/completion.exp (complete help info wat): Rename to ...
8345         (complete 'help info wat'): ... here.
8346         Remove all `-re ".*' and `-re "^.*' redundant regexes.
8347         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8348
8349 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
8350
8351         * gdb.base/completion.exp: Use gdb_test_multiple instead of
8352         gdb_test and explicit $gdb_prompt/timeout matches.
8353
8354 2011-05-04  Yao Qi  <yao@codesourcery.com>
8355
8356         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8357         and __thumb2__.
8358
8359 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
8360
8361         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8362         in place of `gdb_test "delete breakpoints"'.  This eliminates two
8363         testcases.
8364
8365 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
8366
8367         PR testsuite/12649
8368         Fix races.
8369
8370         * gdb.base/completion.exp: Remove all sleep calls.  Remove
8371         unnecessary regexs.  Don't explicitly expect anything after the
8372         prompt.  Eat the prompt if necessary.
8373
8374 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8375
8376         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8377         accept to show the caller line again as well as the line after.
8378
8379 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
8380
8381         PR mi/12531
8382
8383         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8384         compile target.
8385         * gdb.python/py-prettyprint.exp: Add C++ object for
8386         CPLUS_FAKE_CHILD test.
8387
8388 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
8389
8390         * gdb.base/signest.exp: New file.
8391         * gdb.base/signest.c: Likewise.
8392
8393 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8394
8395         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8396         thread and breakpoint notifications.
8397
8398 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8399
8400         * gdb.base/fortran-sym-case.c: New file.
8401         * gdb.base/fortran-sym-case.exp: New file.
8402         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8403         * gdb.dwarf2/dw2-case-insensitive.c: New file.
8404         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8405
8406 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8407
8408         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8409         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8410         false #1', `if true else false #2' and `if true else false #3'.
8411
8412 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
8413
8414         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8415         while delivering signal.
8416
8417 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
8418
8419         MI breakpoint notifications.
8420
8421         * testsuite/gdb.mi/mi-cli.exp: Adust.
8422         * testsuite/gdb.mi/mi2-cli.exp: Adust.
8423         * testsuite/gdb.mi/mi-watch.exp: Adust.
8424         * testsuite/gdb.mi/mi2-watch.exp: Adust.
8425         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8426         notifications.
8427
8428 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8429
8430         * gdb.base/gdbindex-stabs-dwarf.c: New file.
8431         * gdb.base/gdbindex-stabs.c: New file.
8432         * gdb.base/gdbindex-stabs.exp: New file.
8433
8434 2011-04-25  Yao Qi  <yao@codesourcery.com>
8435
8436         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8437         with /*...*/.
8438         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8439
8440 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
8441
8442         * gdb.python/py-value.exp (test_objfiles): Name the first test
8443         `py-value in file.filename'.
8444
8445 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
8446
8447         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8448         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8449         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8450         !gdbserver_reconnect_p..
8451         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8452
8453 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8454
8455         * gdb.cp/cpcompletion.exp (complete class methods)
8456         (complete class methods beginning with F): Move them above runto.  New
8457         comment about the runto delimiter.
8458
8459 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
8460
8461         * gdb.base/maint.exp: Test that "maint print registers" works
8462         without a running program.
8463
8464 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
8465
8466         * gdb.base/setshow.exp: Fix racy tests.
8467         ($old_gdb_prompt): New variable.
8468
8469 2011-04-19  Tom Tromey  <tromey@redhat.com>
8470
8471         * gdb.mi/mi-nsmoribund.exp:
8472         * gdb.hp/gdb.objdbg/objdbg01.exp:
8473         * gdb.base/structs.exp (test_struct_returns):
8474         * gdb.base/call-sc.exp (test_scalar_returns):
8475         * gdb.base/bigcore.exp: Remove duplicate words.
8476
8477 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8478
8479         * gdb.base/break-interp-lib.c (v, vptr): New variables.
8480         * gdb.base/break-interp.exp (test_attach): New comment.
8481
8482 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8483
8484         * gdb.threads/gcore-thread.exp ($core0file): New variable.
8485         (clear __stack_user.next, clear stack_used.next)
8486         (save a zeroed-threads corefile): New test.
8487         Call core_load for $core0file.
8488         (zeroed-threads cannot be listed): New test.
8489
8490 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8491
8492         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8493         filename.
8494         ($srcfile): Preserve the original value.
8495         ($testfile): Match it the .exp filename.
8496         ($corefile): New variable.  Substitute it around.
8497         Use clean_restart.
8498         ($prev_timeout): Remove.
8499         (load_core): Move core loading into this proc.
8500         Fix restore of $timeout if load_core fails.
8501
8502 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8503
8504         * gdb.base/eu-strip-infcall.c: New file.
8505         * gdb.base/eu-strip-infcall.exp: New file.
8506
8507 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8508
8509         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8510         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8511
8512 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8513
8514         Fix Python access to inlined frames.
8515         * gdb.python/py-frame-inline.c: New file.
8516         * gdb.python/py-frame-inline.exp: New file.
8517
8518 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8519
8520         * gdb.base/gdb1090.exp: Change breakpoint location to read the
8521         content of 's24' correctly (avoiding "optimized out").
8522         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8523
8524 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8525
8526         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8527
8528 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8529
8530         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8531         expect a colon in watch -location output.
8532
8533 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
8534
8535         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8536         New testcase `expect response to define backtrace'.  Also remove
8537         redundant `default' block.
8538
8539 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8540
8541         * gdb.python/py-prettyprint.c (struct hint_error): New.
8542         (main): New variable hint_error.
8543         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8544         "print hint_error".
8545         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8546         (register_pretty_printers): Register it.
8547
8548 2011-04-04  Tom Tromey  <tromey@redhat.com>
8549
8550         * gdb.cp/maint.exp (test_help): Update.
8551         (test_namespace): Likewise.
8552
8553 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
8554
8555         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8556         * gdb.ada/arrayptr.exp: Add new tests.
8557
8558 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
8559
8560         * gdb.ada/mi_catch_ex: New testcase.
8561
8562 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
8563
8564         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8565         base::overload(void) method without specifying "const".
8566
8567 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
8568
8569         * gdb.arch/thumb-singlestep.S: New file.
8570         * gdb.arch/thumb-singlestep.exp: Likewise.
8571
8572 2011-03-31  Tom Tromey  <tromey@redhat.com>
8573
8574         * gdb.python/py-prettyprint.py (exception_flag): New global.
8575         (NoStringContainerPrinter._iterator.next): Check it.
8576         * gdb.python/py-prettyprint.c (main): New variable nstype2.
8577         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8578
8579 2011-03-29  Tom Tromey  <tromey@redhat.com>
8580
8581         * gdb.cp/anon-struct.cc: New file.
8582         * gdb.cp/anon-struct.exp: New file.
8583
8584 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8585
8586         Test STT_GNU_IFUNC support.
8587         * gdb.base/gnu-ifunc-lib.c: New file.
8588         * gdb.base/gnu-ifunc.c: New file.
8589         * gdb.base/gnu-ifunc.exp: New file.
8590
8591 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8592
8593         Support a ring of related breakpoints.
8594         * gdb.base/watchpoint-delete.c: New file.
8595         * gdb.base/watchpoint-delete.exp: New file.
8596
8597 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8598
8599         * gdb.ada/arrayparam.exp (print first after function call): Use
8600         explicit package name.  Add a comment
8601         (print lasta after function call): Rename ...
8602         (print last after function call): ... it and use explicit package
8603         name.
8604         (print length after function call): Use explicit package name.
8605         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8606         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8607         (multiple matches for symbol i): Rename ...
8608         (multiple matches for symbol integervar): ... it.
8609         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8610         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8611
8612 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
8613
8614         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8615         environment variable to make grep output more predictable. Move
8616         all the environment setup into gdb_init so it's done once per test
8617         case rather than each time we start gdb.
8618
8619 2011-03-24  Tom Tromey  <tromey@redhat.com>
8620
8621         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
8622         test.
8623
8624 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8625
8626         * gdb.dwarf2/dw2-entry-value-main.c: New file.
8627         * gdb.dwarf2/dw2-entry-value.S: New file.
8628         * gdb.dwarf2/dw2-entry-value.exp: New file.
8629
8630 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
8631
8632         PR python/12183
8633
8634         * gdb.python/py-function.exp: Add GdbError tests.
8635
8636 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
8637
8638         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8639         (reglocal_test_func, statlocal_test_func): New functions.
8640         (globals_test_func): Call new functions.
8641         * gdb.trace/unavailable.exp (gdb_collect_args_test)
8642         (gdb_collect_locals_test): New procedure.
8643         (gdb_trace_collection_test): Call new procedures.
8644
8645 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
8646
8647         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8648         (test_register, test_register_unavailable): New procedures.
8649         (gdb_unavailable_registers_test): New procedure.
8650         (gdb_trace_collection_test): Call it.
8651
8652 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
8653
8654         PR python/12149
8655
8656         * gdb.python/python.exp: Add gdb.write tests.
8657
8658 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
8659
8660         * gdb.python/Makefile.in: Add py-objfile.
8661         * gdb.python/py-objfile.exp: New file.
8662         * gdb.python/py-objfile.c: New file.
8663         * gdb.python/py-block.exp: Add is_valid tests.
8664         * gdb.python/py-inferior.exp: Ditto.
8665         * gdb.python/py-infthread.exp: Ditto.
8666         * gdb.python/py-symbol.exp: Ditto.
8667         * gdb.python/py-symtab.exp: Ditto.
8668
8669 2011-03-16  Keith Seitz  <keiths@redhat.com>
8670
8671         PR c++/12273
8672         * gdb.cp/cmpd-minsyms.exp: New test.
8673         * gdb.cp/cmpd-minsyms.cc: New file.
8674
8675         PR c++/11734
8676         * gdb.cp/ovsrch.exp: New test.
8677         * gdb.cp/ovsrch.h: New file.
8678         * gdb.cp/ovsrch1.cc: New file.
8679         * gdb.cp/ovsrch2.cc: New file.
8680         * gdb.cp/ovsrch3.cc: New file.
8681         * gdb.cp/ovsrch4.cc: New file.
8682
8683 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8684
8685         PR gdb/12528
8686         * gdb.base/Makefile.in: Adjust EXECUTABLES.
8687         * gdb.base/break-on-linker-gcd-function.exp: New test.
8688         * gdb.base/break-on-linker-gcd-function.cc: New file.
8689
8690 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
8691
8692         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8693
8694 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
8695
8696         * lib/gdb.exp (gdb_unload): Add another termination case.
8697
8698 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8699
8700         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8701         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8702         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8703         Provide a stub byte there.
8704         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8705         DW_AT_entry_pc.
8706         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8707
8708 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
8709
8710         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8711         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
8712         "generic ABI, auto".
8713         (altivec_abi_tests): Accept vectors returned by reference.
8714
8715 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
8716
8717         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8718
8719 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
8720
8721         * gdb.python/py-section-script.exp: Skip test if no Python support.
8722
8723 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
8724
8725         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8726
8727 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
8728
8729         * gdb.python/py-parameter.exp: Update tests to the new Python
8730         parameter API. Add "no documentation" test.  Add deprecated API
8731         backward compatibility test.
8732
8733 2011-03-09  Tom Tromey  <tromey@redhat.com>
8734
8735         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8736         gdb_continue_to_end.
8737
8738 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
8739
8740         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8741         tabs.
8742
8743 2011-03-09  Tom Tromey  <tromey@redhat.com>
8744
8745         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
8746         parentheses.
8747         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
8748         $command.
8749         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8750         argument to gdb_continue_to_end.
8751         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8752         argument to gdb_continue_to_end.
8753         * gdb.cp/annota3.exp: Fix regex.
8754         * gdb.cp/annota2.exp: Fix regex.
8755         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8756         gdb_continue_to_end.
8757         * gdb.base/call-signal-resume.exp: Revert earlier patch.
8758         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8759         gdb_continue_to_end.
8760
8761 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8762
8763         * gdb.server/ext-run.exp
8764         (load new file without any gdbserver inferior): New test.
8765
8766 2011-03-07  Tom Tromey  <tromey@redhat.com>
8767
8768         * Makefile.in (TAGS): Rewrite.
8769
8770 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8771
8772         * gdb.trace/report.exp (12.1: trace report #1): New match for the
8773         initial commands echo.  New match for `Found trace'.  Anchor all the
8774         other matches.  Anchor and match for `No trace frame found' the final
8775         match.
8776
8777 2011-03-07  Tom Tromey  <tromey@redhat.com>
8778
8779         * Makefile.in (TAGS): New target.
8780
8781 2011-03-07  Tom Tromey  <tromey@redhat.com>
8782
8783         * lib/opencl.exp (skip_opencl_tests): Update for exit message
8784         change.
8785         * lib/mi-support.exp (mi_gdb_test): Update for exit message
8786         change.
8787         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
8788         exit message change.
8789         (skip_altivec_tests): Update for exit message change.
8790         (skip_vsx_tests): Likewise.
8791         (gdb_continue_to_end): Likewise.  Add 'command' argument.
8792         * lib/cell.exp (skip_cell_tests): Update for exit message change.
8793         * gdb.threads/tls.exp: Update for exit message change.
8794         * gdb.threads/thread-unwindonsignal.exp: Use
8795         gdb_continue_to_end.
8796         * gdb.threads/step.exp (step_it): Update for exit message change.
8797         (continue_all): Likewise.
8798         * gdb.threads/print-threads.exp (test_all_threads): Update for
8799         exit message change.
8800         * gdb.threads/interrupted-hand-call.exp: Use
8801         gdb_continue_to_end.
8802         * gdb.threads/execl.exp: Use gdb_continue_to_end.
8803         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8804         gdb_continue_to_end.
8805         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8806         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8807         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8808         * gdb.cp/method.exp: Update for exit message change.
8809         * gdb.cp/mb-templates.exp: Update for exit message change.
8810         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8811         * gdb.cp/annota3.exp: Update for exit message change.
8812         * gdb.cp/annota2.exp: Update for exit message change.
8813         * gdb.cell/fork.exp: Use gdb_continue_to_end.
8814         * gdb.base/term.exp: Update for exit message change.
8815         * gdb.base/step-test.exp (test_i): Update for exit message change.
8816         * gdb.base/sigstep.exp (advance): Update for exit message change.
8817         (advancei): Likewise.
8818         * gdb.base/siginfo.exp: Update for exit message change.
8819         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8820         * gdb.base/reread.exp: Use gdb_continue_to_end.
8821         * gdb.base/langs.exp: Use gdb_continue_to_end.
8822         * gdb.base/interrupt.exp: Update for exit message change.
8823         * gdb.base/gdb1555.exp: Update for exit message change.
8824         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8825         * gdb.base/ending-run.exp: Update for exit message change.
8826         * gdb.base/chng-syms.exp: Update for exit message change.
8827         * gdb.base/checkpoint.exp: Update for exit message change.
8828         * gdb.base/catch-syscall.exp (check_for_program_end): Use
8829         gdb_continue_to_end.
8830         (test_catch_syscall_with_wrong_args): Likewise.
8831         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8832         * gdb.base/break-interp.exp (test_ld): Update for exit message
8833         change.
8834         * gdb.base/bang.exp: Update for exit message change.
8835         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8836         (do_call_attach_tests): Likewise.
8837         * gdb.base/a2-run.exp: Update for exit message change.
8838         * gdb.arch/ppc-dfp.exp: Update for exit message change.
8839         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8840         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8841
8842 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
8843
8844         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8845
8846 2011-03-03  Tom Tromey  <tromey@redhat.com>
8847
8848         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8849         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8850         * gdb.hp/gdb.aCC/configure.ac: Remove.
8851         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8852         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8853         * gdb.hp/gdb.base-hp/configure.ac: Remove.
8854         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8855         * gdb.hp/gdb.compat/configure (Makefile): Remove.
8856         * gdb.hp/gdb.compat/configure.ac: Remove.
8857         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8858         * gdb.hp/gdb.defects/configure (Makefile): Remove.
8859         * gdb.hp/gdb.defects/configure.ac: Remove.
8860         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8861         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8862         * gdb.hp/gdb.objdbg/configure.ac: Remove.
8863         * gdb.hp/configure.ac: Remove.
8864         * gdb.hp/configure: Remove.
8865         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8866         substitution.
8867         (Makefile): Remove rule.
8868         * gdb.cell/configure.ac: Remove.
8869         * gdb.cell/configure: Remove.
8870         * gdb.stabs/Makefile.in (Makefile): Remove.
8871         (distclean): Don't remove config.status or config.log.
8872         * gdb.stabs/configure (Makefile): Remove.
8873         * gdb.stabs/configure.ac: Remove.
8874         * configure: Rebuild.
8875         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8876         Remove stabs- and cell-specific logic.  Test for existence of
8877         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
8878         subdirectories, gdb.cell, and and gdb.stabs.
8879         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8880
8881 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
8882
8883         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8884         end of buffer.
8885
8886 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
8887
8888         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8889         gdb_test when running a test where we expected no output back.
8890
8891 2011-02-28  Michael Snyder  <msnyder@vmware.com>
8892
8893         * gdb.cp/overload.cc: Change initializer value to integer.
8894
8895 2011-02-27  Michael Snyder  <msnyder@vmware.com>
8896
8897         * gdb.multi/base.exp: Add test for remove-inferiors.
8898
8899 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
8900
8901         * gdb.python/py-frame.exp: Simplify the initialization phase
8902         using prepare_for_testing.
8903
8904 2011-02-25  Michael Snyder  <msnyder@vmware.com>
8905
8906         * gdb.multi/base.exp: Add tests for info inferiors with args.
8907
8908 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8909
8910         * gdb.dwarf2/dw2-ranges.S: Rename to ...
8911         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8912         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8913         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8914         asmfile3.  Comment the STABS (#3) file compilation.  Compile
8915         everything through assembler.  Provide KFAIL for symtab/12497.
8916         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8917         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8918         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8919         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8920
8921 2011-02-24  Michael Snyder  <msnyder@vmware.com>
8922
8923         * gdb.base/break.exp: Add tests for delete breakpoints using
8924         convenience variables and value history references.
8925
8926 2011-02-24  Michael Snyder  <msnyder@vmware.com>
8927
8928         * gdb.base/break.exp: Remove debugging 'printf' accidentally
8929         left behind in previous check-in.
8930
8931 2011-02-23  Michael Snyder  <msnyder@vmware.com>
8932
8933         * gdb.base/break.exp: Add tests for "info break" with arguments.
8934         * gdb.trace/infotrace.exp: Update patterns for error and help.
8935         * gdb.base/completion.exp: Update pattern.
8936         * gdb.base/ena-dis-br.exp: Update pattern.
8937         * gdb.base/help.exp: Update patterns.
8938
8939 2011-02-23  Michael Snyder  <msnyder@vmware.com>
8940
8941         * gdb.base/memattr.exp: New test.
8942         * gdb.base/memattr.c: Test load for memattr.exp.
8943
8944 2011-02-22  Doug Evans  <dje@google.com>
8945
8946         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8947
8948 2011-02-22  Michael Snyder  <msnyder@vmware.com>
8949
8950         * Makefile.in: Make more clean.
8951         * gdb.ada/Makefile.in: Ditto.
8952         * gdb.arch/Makefile.in: Ditto.
8953         * gdb.asm/Makefile.in: Ditto.
8954         * gdb.base/Makefile.in: Ditto.
8955         * gdb.cp/Makefile.in: Ditto.
8956         * gdb.dwarf2/Makefile.in: Ditto.
8957         * gdb.java/Makefile.in: Ditto.
8958         * gdb.mi/Makefile.in: Ditto.
8959         * gdb.modula2/Makefile.in: Ditto.
8960         * gdb.python/Makefile.in: Ditto.
8961         * gdb.server/Makefile.in: Ditto.
8962         * gdb.stabs/Makefile.in: Ditto.
8963         * gdb.threads/Makefile.in: Ditto.
8964         * gdb.trace/Makefile.in: Ditto.
8965
8966 2011-02-22  Michael Snyder  <msnyder@vmware.com>
8967
8968         * gdb.threads/thread-find.exp: Add tests for bad input to
8969         info threads.
8970
8971 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8972
8973         * gdb.python/py-breakpoint.exp: Fix the expected output of
8974         one of the "maint info breakpoints" tests to accept the output
8975         generated on platforms that do not have hardware watchpoints.
8976
8977 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8978
8979         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8980         clean_restart.  Be a little stricter in the expected output
8981         for one of the tests.  Fix a typo in one of the comments.
8982
8983 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8984
8985         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8986         Delete variable binfile, no longer use.  Add or modify test
8987         comments to make them unique.
8988
8989 2011-02-21  Michael Snyder  <msnyder@vmware.com>
8990
8991         * Makefile.in: Update for make clean.
8992         * gdb.ada/Makefile.in: Ditto.
8993         * gdb.arch/Makefile.in: Ditto.
8994         * gdb.asm/Makefile.in: Ditto.
8995         * gdb.base/Makefile.in: Ditto.
8996         * gdb.cp/Makefile.in: Ditto.
8997         * gdb.dwarf2/Makefile.in: Ditto.
8998         * gdb.java/Makefile.in: Ditto.
8999         * gdb.mi/Makefile.in: Ditto.
9000         * gdb.modula2/Makefile.in: Ditto.
9001         * gdb.python/Makefile.in: Ditto.
9002         * gdb.server/Makefile.in: Ditto.
9003         * gdb.stabs/Makefile.in: Ditto.
9004         * gdb.threads/Makefile.in: Ditto.
9005         * gdb.trace/Makefile.in: Ditto.
9006
9007 2011-02-21  Michael Snyder  <msnyder@vmware.com>
9008
9009         * gdb.threads/thread-find.exp: Update patterns for changes in
9010         output of "info threads" command.
9011
9012 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9013             Ulrich Weigand  <uweigand@de.ibm.com>
9014
9015         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9016         (skip_hw_watchpoint_tests): Likewise.
9017         (skip_hw_watchpoint_multi_tests): Likewise.
9018
9019 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
9020
9021         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9022         (skip_hw_watchpoint_tests): Likewise.
9023         (skip_hw_watchpoint_multi_tests): Likewise.
9024         (skip_hw_watchpoint_access_tests): Likewise.
9025
9026         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9027         * gdb.base/pr11022.exp: Likewise.
9028         * gdb.base/watch-read.exp: Likewise.
9029         * gdb.base/watch_thread_num.exp: Likewise.
9030         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9031         * gdb.base/watchpoint-hw.exp: Likewise.
9032         * gdb.base/watchpoint.exp: Likewise.
9033         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9034         * gdb.threads/watchthreads-reorder.exp: Likewise.
9035         * gdb.threads/watchthreads.exp: Likewise.
9036         * gdb.threads/watchthreads2.exp: Likewise.
9037
9038 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
9039
9040         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9041         the debugger is unable to find the array bounds.
9042
9043 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
9044
9045         * gdb.cp/typedef-operator.exp: New file.
9046         * gdb.cp/typedef-operator.cc: New file.
9047
9048 2011-02-17  Michael Snyder  <msnyder@vmware.com>
9049
9050         * gdb.threads/thread-find.exp: Fix regular expressions.
9051
9052 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
9053
9054         * gdb.ada/packed_array: Expand testcase to test printing of
9055         unconstrained packed array.
9056
9057 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
9058
9059         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9060
9061 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
9062
9063         * gdb.trace/collection.c (globalarr3): New global.
9064         (main): Initialize it before collecting, and and clear it
9065         afterwards.
9066         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9067         collecting with '{type} addr', where the addr expression is not an
9068         rvalue.
9069
9070 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
9071
9072         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9073         a bool variable. Expect correct OpenCL names for vector types. Use the
9074         uc3 variable name instead of referring to the uchar3 built-in type.
9075         Escape the asterisk at the half pointer test.
9076
9077 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
9078
9079         * gdb.trace/collection.c (globalarr2): New global.
9080         (main): Initialize it before collecting, and and clear it
9081         afterwards.
9082         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9083         collecting overlapping memory ranges.
9084
9085 2011-02-15  Michael Snyder  <msnyder@vmware.com>
9086
9087         * gdb.base/default.exp: Add tests for thread commands.
9088         * gdb.base/help.exp: Add tests for thread commands.
9089         * gdb.threads/thread-find.exp: New test for thread find command.
9090
9091 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
9092
9093         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9094
9095 2011-02-15  Yao Qi  <yao@codesourcery.com>
9096
9097         PR tdep/12352
9098         * gdb.arch/arm-disp-step.S : New test for str instruction.
9099         * gdb.arch/arm-disp-step.exp : Likewise.
9100
9101 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9102
9103         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9104         "vector_register2_vr" test strings.  Test the extended floating
9105         point registers (F32~F63).
9106         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9107         IBM XL C compiler.  Make the test program use a register provided
9108         by the compiler for the lxvd2x instruction.
9109
9110 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
9111
9112         * gdb.trace/unavailable.cc (class Base, class Middle, class
9113         Derived): New types.
9114         (derived_unavail, derived_partial, derived_whole): New globals.
9115         (virtual_partial): New global.
9116         (virtualp): Point at virtual_partial.
9117         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9118         related to unavailable vptr.
9119
9120 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
9121
9122         * gdb.trace/unavailable.cc (a, b, c): New globals.
9123         (main): Set and clear them.
9124         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9125         `a' and `c', and check that `b' isn't collected, although `a' and
9126         `c' are.
9127
9128 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
9129
9130         * gdb.trace/unavailable.cc (struct Virtual): New.
9131         (virtualp): New global pointer.
9132         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9133         printing a pointer to an object whose type has a vtable, with
9134         print object on.
9135
9136 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
9137
9138         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9139         value repeat handles unavailableness.
9140
9141 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
9142
9143         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9144         tests for building arrays from unavailable values, subscripting
9145         non-memory rvalue unvailable arrays, and accessing fields or
9146         baseclasses of non-lazy unavailable values,
9147         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9148         struct types.
9149         (g_smallstruct, g_smallstruct_b): New globals.
9150
9151 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
9152
9153         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9154
9155 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9156
9157         Fix const/volatile qualifiers of C++ types, PR c++/12328.
9158         * gdb.cp/overload-const.exp: New file.
9159         * gdb.cp/overload-const.cc: New file.
9160
9161 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
9162
9163         * gdb.opencl/callfuncs.cl: New file.
9164         * gdb.opencl/callfuncs.exp: New test.
9165         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9166
9167 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
9168
9169         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9170         when computing result.
9171         * gdb.arch/altivec-abi.exp: Update expected results.
9172
9173 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9174
9175         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9176         * gdb.base/jit.exp: Likewise.
9177         * gdb.base/pie-execl.exp: Likewise.
9178         * gdb.base/solib-nodir.exp: Likewise.
9179         * gdb.base/solib-overlap.exp: Likewise.
9180
9181 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
9182
9183         * gdb.trace/collection.c (global_pieces): New.
9184         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9185         New procedure.
9186         (gdb_trace_collection_test): Call it.
9187
9188 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
9189
9190         * gdb.python/py-evthreads.c: New file.
9191         * gdb.python/py-evthreads.exp: New file.
9192         * gdb.python/py-events.py: New file.
9193         * gdb.python/py-events.exp: New file.
9194         * gdb.python/py-events.c: New file.
9195
9196 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9197
9198         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9199
9200 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
9201
9202         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9203         gdb.base/disasm-end-cu.exp: New test for disassembling over the
9204         boundary between two compilation units.
9205
9206 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
9207
9208         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9209         (Virtual): New structs.
9210         (virtual_o, virtual_middle_b): New globals.
9211         * gdb.cp/virtbase.exp: New tests.
9212
9213 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
9214
9215         * gdb.base/jit.exp: New file.
9216         * gdb.base/jit-main.c: New file.
9217         * gdb.base/jit-solib.c: New file.
9218
9219 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
9220
9221         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9222         proceed to initial kernel entry point.
9223         * gdb.opencl/datatypes.exp: Likewise.
9224         * gdb.opencl/operators.exp: Likewise.
9225         * gdb.opencl/vec_comps.exp: Likewise.
9226
9227 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
9228
9229         * gdb.cp/nsnested.cc: New.
9230         * gdb.cp/nsnested.exp: New.
9231         * gdb.cp/nsnoimports.exp: New.
9232         * gdb.cp/nsnoimports.cc: New.
9233
9234 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
9235
9236         * gdb.base/interact.exp: Add extra tests that verify that
9237         the value of the interactive-mode setting does not change
9238         after the script is sourced.
9239
9240 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9241
9242         * gdb.cp/noparam.exp: New file.
9243         * gdb.cp/noparam.cc: New file.
9244
9245 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
9246
9247         * gdb.trace/tfile.exp: Test that with no traceframe selected,
9248         there's no stack or registers.
9249
9250 2011-01-26  Tom Tromey  <tromey@redhat.com>
9251
9252         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9253         space before string output.  Add test for "set print pretty off"
9254         case.
9255
9256 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
9257
9258         * gdb.base/frame-args.exp: Adjust.
9259         * gdb.dwarf2/dw2-noloc.exp: Adjust.
9260         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9261         * gdb.dwarf2/pieces.exp: Adjust.
9262         * gdb.opt/clobbered-registers-O2.exp: Adjust.
9263         * gdb.opt/inline-locals.exp: Adjust.
9264         * gdb.threads/fork-child-threads.exp: Adjust.
9265
9266 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
9267
9268         * gdb.opencl/convs_casts.cl: Move program scope variables into the
9269         OpenCL kernel function. Add a comment as marker. Add address space
9270         qualifiers for the remaining program scope variables.
9271         * gdb.opencl/datatypes.cl: Likewise.
9272         * gdb.opencl/operators.cl: Likewise.
9273         * gdb.opencl/vec_comps.cl: Likewise.
9274         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9275         Add breakpoint at the marker comment.
9276         * gdb.opencl/datatypes.exp: Likewise.
9277         * gdb.opencl/operators.exp: Likewise.
9278         * gdb.opencl/vec_comps.exp: Likewise.
9279
9280 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
9281
9282         * gdb.base/printcmds.c (some_struct): New struct and instance.
9283         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9284         procedure.
9285         <global scope>: Call it.
9286
9287 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
9288
9289         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9290         argument to the gdb_compile_opencl_hostapp call.
9291
9292 2011-01-19  Yao Qi  <yao@codesourcery.com>
9293
9294         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9295         positve list.
9296
9297 2011-01-19  Yao Qi  <yao@codesourcery.com>
9298
9299         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9300         canonical form.
9301         Remove "xscale-*-*"
9302         * gdb.xml/tdesc-regs.exp: Likewise.
9303         * gdb.python/py-section-script.exp: Replace ARM target triplet
9304         with canonical form.
9305         Match arm*-*-symbianelf*.
9306         * gdb.base/dup-sect.exp: Likewise.
9307         * lib/dwarf.exp: New.
9308         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9309         dwarf2_support.
9310         * gdb.dwarf2/dup-psym.exp: Likewise.
9311         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9312         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9313         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9314         * gdb.dwarf2/dw2-basic.exp: Likewise.
9315         * gdb.dwarf2/dw2-compressed.exp: Likewise.
9316         * gdb.dwarf2/dw2-const.exp: Likewise.
9317         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9318         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9319         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9320         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9321         * gdb.dwarf2/dw2-filename.exp: Likewise.
9322         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9323         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9324         * gdb.dwarf2/dw2-intercu.exp: Likewise.
9325         * gdb.dwarf2/dw2-intermix.exp: Likewise.
9326         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9327         * gdb.dwarf2/dw2-noloc.exp: Likewise.
9328         * gdb.dwarf2/dw2-op-call.exp: Likewise.
9329         * gdb.dwarf2/dw2-producer.exp: Likewise.
9330         * gdb.dwarf2/dw2-ranges.exp: Likewise.
9331         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9332         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9333         * gdb.dwarf2/dw2-strp.exp: Likewise.
9334         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9335         * gdb.dwarf2/implptr.exp: Likewise.
9336         * gdb.dwarf2/mac-fileno.exp: Likewise.
9337         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9338         * gdb.dwarf2/pieces.exp: Likewise.
9339         * gdb.dwarf2/pr11465.exp: Likewise.
9340         * gdb.dwarf2/valop.exp: Likewise.
9341         * gdb.dwarf2/watch-notconst.exp: Likewise.
9342         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9343
9344 2011-01-19  Tom Tromey  <tromey@redhat.com>
9345
9346         * gdb.python/py-infthread.exp: Add thread tests.
9347
9348 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
9349
9350         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9351
9352 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
9353
9354         * gdb.ada/widewide: New testcase.
9355
9356 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
9357
9358         * gdb.base/interact.exp: New testcase.
9359
9360 2011-01-12  Tom Tromey  <tromey@redhat.com>
9361
9362         * gdb.mi/gdb2549.exp: Update for error message changes.
9363         * gdb.mi/mi-cli.exp: Likewise.
9364         * gdb.mi/mi-disassemble.exp: Likewise.
9365         * gdb.mi/mi-pthreads.exp: Likewise.
9366         * gdb.mi/mi-regs.exp: Likewise.
9367         * gdb.mi/mi-stack.exp: Likewise.
9368         * gdb.mi/mi-var-block.exp: Likewise.
9369         * gdb.mi/mi-var-cmd.exp: Likewise.
9370         * gdb.mi/mi2-cli.exp: Likewise.
9371         * gdb.mi/mi2-disassemble.exp: Likewise.
9372         * gdb.mi/mi2-pthreads.exp: Likewise.
9373         * gdb.mi/mi2-regs.exp: Likewise.
9374         * gdb.mi/mi2-stack.exp: Likewise.
9375         * gdb.mi/mi2-var-block.exp: Likewise.
9376         * gdb.mi/mi2-var-cmd.exp: Likewise.
9377
9378 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
9379             Jan Kratochvil  <jan.kratochvil@redhat.com>
9380
9381         PR fortran/11104 and DWARF unbound arrays detection.
9382         * gdb.fortran/multi-dim.exp: New file.
9383         * gdb.fortran/multi-dim.f90: New file.
9384
9385 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
9386
9387         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9388         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9389         add new tests for opcode dumping.
9390
9391 2011-01-11  Tom Tromey  <tromey@redhat.com>
9392
9393         * gdb.python/py-infthread.exp: Load gdb-python.exp.
9394
9395 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9396
9397         Convert hardware watchpoints to use breakpoint_ops.
9398         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9399         type is not supported.
9400         * gdb.base/foll-fork.exp: Likewise.
9401         * gdb.base/foll-vfork.exp: Likewise.
9402
9403 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
9404
9405         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9406         Use load_lib gdb-python.exp.
9407         * gdb.python/python.exp: Ditto.
9408         * gdb.python/py-function.exp: Ditto.
9409
9410 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
9411
9412         * gdb.threads/tls.exp ("info address me"): Fix expected output.
9413
9414 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9415
9416         * configure: Regenerate.
9417
9418 2011-01-06  Tom Tromey  <tromey@redhat.com>
9419
9420         * gdb.python/py-frame.exp: Test gdb.newest_frame.
9421
9422 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
9423
9424         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9425         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9426         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9427         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9428         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9429         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9430         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9431         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9432         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9433         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9434         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9435         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9436         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9437         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9438         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9439         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9440         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9441         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9442         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9443         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9444         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9445         gdb.ada/uninitialized_vars.exp,
9446         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9447         Simplify by using clean_restart.
9448
9449 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
9450
9451         Add marker to be used as anchor for inserting breakpoints.
9452         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9453         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9454         Likewise.
9455
9456         Remove uses of gdb_start_cmd.
9457         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9458         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9459
9460         Do not run testcase if testing with GDBserver.
9461         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9462         if testing with GDBserver.
9463
9464 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
9465
9466         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9467         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9468         copyright header.
9469
9470 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
9471
9472         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9473         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9474         testsuite/gdb.fortran/complex.f,
9475         testsuite/gdb.fortran/derived-type.f90,
9476         testsuite/gdb.fortran/library-module-lib.f90,
9477         testsuite/gdb.fortran/library-module-main.f90,
9478         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9479         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9480         Copyright year update.
9481
9482 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
9483
9484         * gdb.base/langs1.f: Add copyright header.
9485
9486 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9487
9488         * gdb.base/morestack.exp: New file.
9489         * gdb.base/morestack.c: New file.
9490
9491 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9492
9493         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9494
9495 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
9496
9497         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9498         * gdb.ada/arrayptr.exp: Add test printing that new variable.
9499
9500 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
9501
9502         * gdb.ada/lang_switch.exp: Correct expected parameter value.
9503
9504 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
9505
9506         * gdb.threads/tls.exp: Fix typo.
9507
9508         * gdb.threads/thread-specific.exp (get_thread_list): Update.
9509         * gdb.threads/execl.exp: Update.
9510
9511 2010-12-23  Yao Qi  <yao@codesourcery.com>
9512
9513         * gdb.arch/arm-disp-step.exp: New.
9514         * gdb.arch/arm-disp-step.S: New.
9515
9516 2010-12-21  Tom Tromey  <tromey@redhat.com>
9517
9518         * gdb.threads/execl.exp: Update.
9519         * gdb.threads/linux-dp.exp: Update.
9520         * gdb.threads/manythreads.exp: Update.
9521         * gdb.threads/tls.exp: Update.
9522
9523 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9524
9525         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9526         (NextOverThrowDerivates) <resumebpt>: New.
9527         (resumebpt_test): New.
9528         (main): Call resumebpt_test.
9529         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9530
9531 2010-12-12  Stan Shebs  <stan@codesourcery.com>
9532
9533         * gdb.trace/tsv.exp: Test print command on trace state variables.
9534
9535 2010-12-09  Tom Tromey  <tromey@redhat.com>
9536
9537         * gdb.base/interp.exp: Add regression test.
9538
9539 2010-12-09  Tom Tromey  <tromey@redhat.com>
9540
9541         * gdb.java/jnpe.java: New file.
9542         * gdb.java/jnpe.exp: New file.
9543         * gdb.cp/nextoverthrow.exp: New file.
9544         * gdb.cp/nextoverthrow.cc: New file.
9545
9546 2010-12-07  Doug Evans  <dje@google.com>
9547
9548         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9549         of data-directory.
9550         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9551         updated.
9552         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9553
9554 2010-11-29  Michael Snyder  <msnyder@vmware.com>
9555
9556         * gdb.base/callfuncs.exp: Test for skip_float_tests.
9557         * gdb.base/call-sc.exp: Ditto.
9558         * gdb.base/finish.exp: Ditto.
9559         * gdb.base/return.exp: Ditto.
9560         * gdb.base/return2.exp: Ditto.
9561
9562 2010-11-30  Doug Evans  <dje@google.com>
9563
9564         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9565         (gdb_expect_list): Fix spelling errors in comments.
9566         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9567         send_gdb/gdb_expect_list where applicable.
9568         * gdb.base/call-ar-st.exp: Ditto.
9569         * gdb.base/funcargs.exp: Ditto.
9570         * gdb.base/gcore.exp: Ditto.
9571         * gdb.base/page.exp: Ditto.
9572         * gdb.base/sigaltstack.exp: Ditto.
9573         * gdb.base/siginfo.exp: Ditto.
9574         * gdb.base/sigstep.exp: Ditto.
9575         * gdb.base/trace-commands.exp: Ditto.
9576
9577 2010-11-29  Doug Evans  <dje@google.com>
9578
9579         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9580         printer-name;subprinter-name.
9581
9582 2010-11-29  Tom Tromey  <tromey@redhat.com>
9583
9584         * gdb.dwarf2/implptr.exp: New file.
9585         * gdb.dwarf2/implptr.c: New file.
9586         * gdb.dwarf2/implptr.S: New file.
9587
9588 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
9589
9590         PR python/12199
9591
9592         * gdb.python/py-breakpoint.exp: Test the delete method.
9593
9594 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9595
9596         Fix step_resume_breakpoint unsaved during an infcall.
9597         * gdb.base/step-resume-infcall.exp: New file.
9598         * gdb.base/step-resume-infcall.c: New file.
9599
9600 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
9601
9602         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9603
9604 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
9605
9606         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9607         on ppc64's symbols; "finish" and "return" commands must accept to
9608         show the caller line again as well as the line after.
9609         * gdb.asm/powerpc64.inc: New file.
9610
9611 2010-11-23  Doug Evans  <dje@google.com>
9612
9613         * lib/gdb.exp (gdb_test_sequence): New function.
9614         (gdb_expect_list): Add verbose -log call for each pattern.
9615         * gdb.base/signals.exp (test_handle_all_print): Call it.
9616         Reduce timeout increment from 6 minutes to 1 minute.
9617         * gdb.server/ext-run.exp: Call it.
9618
9619 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
9620
9621         PR python/12212
9622
9623         * gdb.python/python.exp: Check that selected_thread raises an
9624         error when no inferior is loaded.
9625
9626 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9627
9628         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9629         * gdb.dwarf2/dw2-stack-boundary.S: New file.
9630
9631 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9632
9633         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9634         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9635
9636 2010-11-18  Doug Evans  <dje@google.com>
9637
9638         * gdb.server/ext-run.exp: Fix intermittent failures.
9639
9640 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
9641
9642         * gdb.stabs/gdb11479.exp: Use runto_main.
9643
9644 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
9645
9646         * gdb.base/break-entry.exp: Skip if using a stub.
9647
9648 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
9649
9650         * gdb.python/py-inferior.exp: Pack values in target endianness.
9651
9652 2010-11-12  Tom Tromey  <tromey@redhat.com>
9653
9654         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9655         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9656         MemoryError.
9657         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9658         type.
9659         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9660         MemoryError.
9661         (test_subscript_regression): Update exception type.
9662
9663 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
9664
9665         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9666         breakpoint tests.
9667
9668 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
9669
9670         * gdb.base/watchpoint.exp: Test "watch -location" with an
9671         innacessible location.
9672
9673 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
9674             Luis Machado  <luisgpm@br.ibm.com>
9675
9676         * gdb.base/maint.exp: Expect "." prefix.
9677         * gdb.base/nodebug.exp: Expect "." Likewise.
9678         * gdb.base/sepsymtab.exp: Expect "." Likewise.
9679         * gdb.base/watchpoint-cond-gone.exp: Likewise.
9680         * gdb.base/watchpoint.exp: Expect a software watch to be created for
9681         POWER server processors.
9682
9683 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
9684             Luis Machado  <luisgpm@br.ibm.com>
9685
9686         * gdb.base/break-entry.exp: convert entry point for
9687         ppc64 and expect leading `.' on ppc64's symbols
9688
9689 2010-11-05  Doug Evans  <dje@google.com>
9690
9691         * gdb.base/help.exp: Update expected output.
9692         * gdb.python/py-param.exp: Delete, contents moved to ...
9693         * gdb.python/py-parameter.exp: ... here.  New file.
9694         Add test for gdb.parameter ("directories").
9695
9696 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
9697
9698         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9699         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9700         * configure: Regenerate.
9701         * gdb.opencl/Makefile.in: New File.
9702         * gdb.opencl/datatypes.exp: Likewise.
9703         * gdb.opencl/datatypes.cl: Likewise.
9704         * gdb.opencl/operators.exp: Likewise.
9705         * gdb.opencl/operators.cl: Likewise.
9706         * gdb.opencl/vec_comps.exp: Likewise.
9707         * gdb.opencl/vec_comps.cl: Likewise.
9708         * gdb.opencl/convs_casts.exp: Likewise.
9709         * gdb.opencl/convs_casts.cl: Likewise.
9710         * lib/opencl.exp: Likewise.
9711         * lib/opencl_hostapp.c: Likewise.
9712         * lib/opencl_kernel.cl: Likewise.
9713         * lib/cl_util.c: Likewise.
9714         * lib/cl_util.c: Likewise.
9715         * gdb.base/default.exp (set language): Add "opencl" to the list of
9716         languages.
9717
9718 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
9719
9720         * gdb.cp/overload.exp: Added test for inheritance overload.
9721         * gdb.cp/overload.cc: Ditto.
9722         * gdb.cp/oranking.exp: Removed releveant kfails.
9723
9724 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9725             Joel Brobecker  <brobecker@adacore.com>
9726
9727         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9728         check test_compiler_info.
9729
9730 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
9731
9732         * gdb.base/gnu_vector.exp: Adjust expect messages.
9733
9734 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
9735
9736         * gdb.base/gnu_vector.exp: Add unary operator tests.
9737
9738 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
9739
9740         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9741
9742 2010-11-02  Doug Evans  <dje@google.com>
9743
9744         * gdb.python/py-pp-maint.c: New file.
9745         * gdb.python/py-pp-maint.exp: New file.
9746         * gdb.python/py-pp-maint.py: New file.
9747
9748 2010-11-02  Tom Tromey  <tromey@redhat.com>
9749
9750         * gdb.base/default.exp: Remove "scheme" from language list.
9751
9752 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9753
9754         Revert:
9755         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9756         * gdb.threads/sigstep-threads.exp: New file.
9757         * gdb.threads/sigstep-threads.c: New file.
9758
9759 2010-10-20  Michael Snyder  <msnyder@vmware.com>
9760
9761         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9762
9763 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
9764
9765         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9766         Skip test completely if gdb,no_hardware_watchpoints.
9767
9768 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
9769
9770         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9771         strict, but do not check for any particular function name within libc.
9772
9773 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
9774
9775         * gdb.cp/smartp.exp: New test.
9776         * gdb.cp/smartp.cc : New test.
9777
9778 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
9779
9780         * gdb.cp/converts.exp: Test pointer to bool conversion.
9781         Test pointer to long conversion.
9782         * gdb.cp/oranking.exp: Removed relevant kfail.
9783
9784 2010-10-18  Tom Tromey  <tromey@redhat.com>
9785
9786         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9787         argument to lazy_string.
9788         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9789         (pp_ls.to_string): Use it.
9790         * gdb.python/py-prettyprint.c (main): Move declarations to top.
9791         Add "estring2" local.
9792
9793 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9794
9795         Fix s390x compatibility.
9796         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
9797         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9798
9799 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9800
9801         * gdb.threads/sigstep-threads.exp: New file.
9802         * gdb.threads/sigstep-threads.c: New file.
9803
9804 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9805
9806         * gdb.base/pie-execl.exp: New file.
9807         * gdb.base/pie-execl.c: New file.
9808
9809 2010-10-13  Doug Evans  <dje@google.com>
9810             Jan Kratochvil  <jan.kratochvil@redhat.com>
9811
9812         PR exp/12117
9813         * gdb.cp/ptype-cv-cp.cc: New file.
9814         * gdb.cp/ptype-cv-cp.exp: New file.
9815
9816 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
9817
9818         * gdb.cp/converts.cc: New test program.
9819         * gdb.cp/converts.exp: New test.
9820         * gdb.cp/overload.exp: Added test for void* vs int*.
9821         * gdb.cp/overload.exp: Ditto.
9822         * gdb.cp/oranking.exp: Removed related kfail.
9823
9824 2010-10-13  Doug Evans  <dje@google.com>
9825
9826         * lib/gdb-python.exp (gdb_check_python_config): New function.
9827         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9828         * gdb.python/lib-types.cc: New file.
9829         * gdb.python/lib-types.exp: New file.
9830
9831 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9832
9833         * gdb.python/py-error.exp: New file.
9834         * gdb.python/py-error.py: New file.
9835
9836 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9837
9838         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9839         gdb_test_multiple.
9840
9841 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9842
9843         * gdb.base/break-interp.exp: Use ldlags for linking flags.
9844         * gdb.base/prelink.exp: Likewise.
9845         * gdb.base/solib-nodir.exp: Likewise.
9846         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9847         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9848         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9849
9850 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
9851
9852         * break-interp.exp (test_ld): Use two separate gdb_expect statements
9853         for the "info files" test to avoid timeouts on slow machines.
9854
9855 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9856
9857         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9858         (main): Make openlib dummy call.
9859
9860 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9861
9862         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9863         * break-interp.exp (reach): Move the core body ...
9864         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
9865         (test_ld): Provide always real argument, even to the linker.  Replace
9866         dl_main by _dl_debug_state.
9867
9868 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9869
9870         Fix results of prelinked PIEs on ppc*.
9871         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9872         Accept also DISPLACEMENT "PRESENT".
9873         (main): Replace "ZERO" displacements by "PRESENT".
9874
9875 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
9876
9877         * gdb.cp/oranking.exp: New test.
9878         * gdb.cp/oranking.cc: New test program.
9879
9880 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
9881
9882         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9883         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9884
9885 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
9886
9887         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9888         lush, lynx) New constant.
9889         * gdb.base/constvars.exp: Test const array types.
9890         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9891
9892 2010-10-06  Doug Evans  <dje@google.com>
9893
9894         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9895         of syscall staging area.
9896
9897 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
9898
9899         * gdb.base/gnu_vector.c: Add variable c4.
9900         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9901         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9902
9903 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
9904
9905         * gdb.arch/altivec-abi.exp: Fix a typo.
9906
9907 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
9908
9909         * lib/mi-support.exp (thread_selected_re): Correct pattern used
9910         to match a thread ID.
9911
9912 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9913
9914         Fix s390x testcase compatibility.
9915         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9916
9917 2010-10-01  Doug Evans  <dje@google.com>
9918
9919         * lib/gdb-python.exp: New file.
9920         * gdb.python/py-block.exp: Use it.
9921         * gdb.python/py-breakpoint.exp: Ditto.
9922         * gdb.python/py-frame.exp: Ditto.
9923         * gdb.python/py-inferior.exp: Ditto.
9924         * gdb.python/py-param.exp: Ditto.
9925         * gdb.python/py-prettyprint.exp: Ditto.
9926         * gdb.python/py-shared.exp: Ditto.
9927         * gdb.python/py-symbol.exp: Ditto.
9928         * gdb.python/py-symtab.exp: Ditto.
9929         * gdb.python/py-type.exp: Ditto.
9930         * gdb.python/py-value.exp: Ditto.
9931         * gdb.python/python.exp: Ditto.
9932
9933 2010-09-30  Tom Tromey  <tromey@redhat.com>
9934
9935         * gdb.base/anon.exp: New file.
9936         * gdb.base/anon.c: New file.
9937
9938 2010-09-30  Tom Tromey  <tromey@redhat.com>
9939
9940         * gdb.base/completion.exp: Test completion through anonymous
9941         union.
9942         * gdb.base/break1.c (struct some_struct): Add anonymous union.
9943
9944 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9945
9946         Fix printing parameters of inlined functions.
9947         * gdb.dwarf2/dw2-inline-param.exp: New file.
9948         * gdb.dwarf2/dw2-inline-param-main.c: New file.
9949         * gdb.dwarf2/dw2-inline-param.S: New file.
9950
9951 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9952
9953         PR corefiles/12071.
9954         * gdb.base/corefile.exp (quit with a process, no question: load core)
9955         (quit with a core file): New tests.
9956
9957 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9958
9959         Fix GDB crash on inferior calls with self-referencing classes.
9960         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9961         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9962         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9963
9964 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9965
9966         Fix lost siginfo_t for inferior calls.
9967         * gdb.base/siginfo-infcall.exp: New file.
9968         * gdb.base/siginfo-infcall.c: New file.
9969
9970 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9971
9972         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9973
9974 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9975
9976         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9977         New test.
9978         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9979
9980 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9981
9982         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9983         type of our const type.
9984
9985 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
9986
9987         * gdb.cp/pr12028.cc: New.
9988         * gdb.cp/pr12028.exp: New.
9989
9990 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9991
9992         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9993
9994 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
9995             Jan Kratochvil  <jan.kratochvil@redhat.com>
9996
9997         PR mi/11407
9998         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9999         * gdb.mi/dw2-ref-missing-frame-main.c New File.
10000         * gdb.mi/dw2-ref-missing-frame.S New File.
10001         * gdb.mi/dw2-ref-missing-frame.exp New File.
10002
10003 2010-09-14  Tom Tromey  <tromey@redhat.com>
10004
10005         PR symtab/8399:
10006         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
10007
10008 2010-09-14  Tom Tromey  <tromey@redhat.com>
10009
10010         PR exp/11803:
10011         * gdb.threads/tls.exp: Use C++.
10012         (check_thread_local): Use K::another_thread_local.
10013         * gdb.threads/tls.c (class K): New.
10014         (another_thread_local): Now a member of K.
10015         (spin): Update.  No longer K&R C.
10016
10017 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
10018
10019         * gdb.cp/koenig.cc: created class for testing member lookup.
10020         * gdb.cp/koenig.exp: Added test for member lookup.
10021
10022 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
10023
10024         Fix false FAILs on sourcetree topdir directory containing "kill".
10025         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10026         source line matching regexp.
10027
10028 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10029
10030         * gdb.python/python.exp (set height 0, collect help from uiout)
10031         (verify help to uiout): New tests.
10032
10033 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
10034
10035         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10036         is_lp64_target to check 64bit target.
10037
10038 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
10039
10040         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10041         (test_ld) <powerpc64-*>: New.
10042
10043 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
10044
10045         * gdb.cp/templates.exp (test_template_args): Allow "struct".
10046
10047 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
10048
10049         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10050         (FunctionArg::method): New function.
10051         (empty, arg): New variables.
10052         (main): Call arg.method.
10053         * gdb.cp/templates.exp (test_template_args): New function.
10054         (do_tests): Call it.
10055
10056 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
10057
10058         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10059         of "next" to proceed over pthread_exit call.
10060
10061 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
10062
10063         * gdb.base/maint.exp: Avoid wildcards against potentially very long
10064         "maint print statistics" output to prevent expect timeouts.
10065
10066 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
10067
10068         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10069         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10070         (test_float_rejected): ... here.
10071         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10072         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10073         (test_float_rejected): ... here.
10074         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10075         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10076         (test_float_rejected): ... here.
10077         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10078         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10079         (test_float_rejected): ... here.
10080
10081 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
10082
10083         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10084         before disabling hardware watchpoints.
10085         (test_inaccessible_watchpoint): Check that hardware watchpoints
10086         are used.  Test for watchpoints on a constant address.
10087
10088 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10089
10090         * gdb.base/ui-redirect.exp: New file.
10091
10092 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10093             Joel Brobecker  <brobecker@adacore.com>
10094
10095         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10096
10097 2010-08-31  Doug Evans  <dje@google.com>
10098
10099         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10100
10101 2010-08-30  Tom Tromey  <tromey@redhat.com>
10102
10103         PR python/11792:
10104         * gdb.python/py-value.exp (test_subscript_regression): Add
10105         dynamic_type test.
10106
10107 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
10108
10109         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10110         instead of running to main.  Do not test the main function.
10111         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10112         Add new main.
10113
10114 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
10115
10116         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10117         one test.
10118
10119 2010-08-24  Doug Evans  <dje@google.com>
10120
10121         PR symtab/11942
10122         * gdb.dwarf2/dw4-sig-types.cc: New file.
10123         * gdb.dwarf2/dw4-sig-types.h: New file.
10124         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10125         * gdb.dwarf2/dw4-sig-types.exp: New file.
10126
10127 2010-08-23  Tom Tromey  <tromey@redhat.com>
10128
10129         PR python/11145:
10130         * gdb.python/py-value.c (Base, Derived): New types.
10131         (base): New global.
10132         * gdb.python/py-value.exp (test_subscript_regression): Add
10133         dynamic_cast test.
10134
10135 2010-08-23  Tom Tromey  <tromey@redhat.com>
10136
10137         PR python/10676:
10138         * gdb.python/py-type.exp (test_fields): Add tests for type
10139         equality.
10140
10141 2010-08-23  Tom Tromey  <tromey@redhat.com>
10142
10143         PR python/11915:
10144         * gdb.python/py-type.exp (test_fields): Add tests for array.
10145
10146 2010-08-23  Keith Seitz  <keiths@redhat.com>
10147
10148         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10149         have any children. Create a new abbrev for it.
10150         Add missing terminal sequence to .debug_abbrev.
10151
10152 2010-08-20  Keith Seitz  <keiths@redhat.com>
10153
10154         PR symtab/11465:
10155         * gdb.dwarf2/pr11465.exp: New test.
10156         * gdb.dwarf2/pr11465.S: New file.
10157         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10158         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10159
10160 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10161
10162         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10163         registers.  Update data sets with the new v2_double element in the
10164         VSX register union.  Add vector_register3_vr data set for the AltiVec
10165         registers.  Use gdb_test_no_output instead of send_gdb.
10166
10167 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
10168
10169         * gdb.python/py-shared.exp: New file, factored out from
10170         python.exp.
10171         * gdb.python/py-shared.c: New file.
10172         * gdb.python/py-shared-sl.c: New file.
10173         * gdb.python/python-1.c: New file.
10174         * gdb.python/python-sl.c: Delete.
10175         * gdb.python/python.c: Mention python-1.c.
10176         * gdb.python/python.exp: Move shared library tests to
10177         py-shared.exp.
10178         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10179         (MISCELLANEOUS): New.
10180         (clean mostlyclean): Also remove $MISCELLANEOUS.
10181
10182 2010-08-19  Doug Evans  <dje@google.com>
10183
10184         PR exp/11926
10185         * gdb.base/printcmds.exp (test_float_accepted): New function.
10186         Move existing float tests there.  Add tests for floats with suffixes.
10187         (test_float_rejected): New function.
10188         * gdb.java/jv-print.exp (test_float_accepted): New function.
10189         (test_float_rejected): New function.
10190         * gdb.objc/print.exp: New file.
10191         * gdb.pascal/print.exp: New file.
10192         * lib/objc.exp: New file.
10193
10194 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
10195
10196         * gdb.base/default.exp (info set): Avoid full buffer error and force
10197         reading up to final gdb prompt.
10198         (show): Likewise.
10199
10200 2010-08-18  Tom Tromey  <tromey@redhat.com>
10201
10202         PR symtab/11919:
10203         * gdb.base/completion.exp: Add test.
10204
10205 2010-08-18  Doug Evans  <dje@google.com>
10206
10207         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10208         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10209         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10210         Simplify, early exit if runto_main fails.
10211         * gdb.fortran/exprs.exp: load_lib fortran.exp.
10212         (set_lang_fortran): Moved to lib/fortran.exp.
10213         * gdb.fortran/types.exp: load_lib fortran.exp.
10214         (set_lang_fortran): Moved to lib/fortran.exp.
10215         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10216         * gdb.java/jprint.exp (set_lang_java): Ditto.
10217         * gdb.java/jv-exp.exp: load_lib java.exp.
10218         If set_lang_java fails, issue a warning instead of failure to be
10219         consistent with other set_lang_foo uses.
10220         (set_lang_java): Moved to lib/java.exp.
10221         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10222         If set_lang_java fails, issue a warning instead of failure to be
10223         consistent with other set_lang_foo uses.
10224         * gdb.pascal/types.exp: load_lib pascal.exp.
10225         (set_lang_pascal): Moved to lib/pascal.exp.
10226         * lib/fortran.exp: New file.
10227         * lib/java.exp (set_lang_java): New function.
10228         * lib/pascal.exp (set_lang_pascal): New function.
10229
10230 2010-08-18  Yao Qi  <yao@codesourcery.com
10231
10232         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10233         func_nofb_start and func_loopfb_start, so that address of functions
10234         is equal to these labels on Thumb.
10235
10236 2010-08-18  Yao Qi  <yao@codesourcery.com>
10237
10238         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10239         to reflect latest c source file.
10240
10241 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10242
10243         * gdb.cp/infcall-dlopen.exp: New file.
10244         * gdb.cp/infcall-dlopen.cc: New file.
10245         * gdb.cp/infcall-dlopen-lib.cc: New file.
10246
10247 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
10248             Pedro Alves  <pedro@codesourcery.com>
10249
10250         PR breakpoints/11371
10251
10252         * gdb.base/watch-cond-infcall.exp: New file.
10253         * gdb.base/watch-cond-infcall.c: New file.
10254
10255 2010-08-16  Tom Tromey  <tromey@redhat.com>
10256
10257         * gdb.base/help.exp: Update.
10258         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10259         watchpoint.
10260         (test_watch_location): New proc.
10261         (test_watchpoint_in_big_blob): Delete watchpoint.
10262         * gdb.base/watchpoint.c (func5): New function.
10263         (main): Call it.
10264
10265 2010-08-16  Doug Evans  <dje@google.com>
10266
10267         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10268
10269 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
10270
10271         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10272         tests.
10273
10274 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
10275
10276         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10277         * gdb.base/gnu_vector.c: New File.
10278         * gdb.base/gnu_vector.exp: Likewise.
10279
10280 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
10281
10282         * gdb.python/python.c: New File.
10283         * gdb.python/python-sl.c: New File.
10284         * gdb.python/python.exp: Test solib_address and decode_line
10285         * functions.
10286
10287 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10288
10289         * gdb.python/python.exp (show height, set height 10)
10290         (verify pagination beforehand, verify pagination beforehand: q)
10291         (gdb.execute does not page, verify pagination afterwards)
10292         (verify pagination afterwards: q): New.
10293
10294 2010-08-02  Doug Evans  <dje@google.com>
10295
10296         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10297         because of an older gcc, change test2
10298         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10299         to unsupported.
10300
10301 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
10302
10303         * gdb.base/break-always.exp: Do not expect full paths to file
10304         names.
10305         * gdb.base/commands.exp: Likewise.
10306
10307 2010-07-30  Doug Evans  <dje@google.com>
10308
10309         * gdb.cp/temargs.exp: For new tests that require newer gccs,
10310         xfail them when run with older gccs.
10311
10312         * lib/gdb.exp (build_executable): Forward "c++" option to
10313         get_compiler_info.
10314
10315         * gdb.python/py-type.exp (test_template): Mark as xfail tests
10316         "python print ttype.template_argument(1)" and
10317         "python print isinstance(ttype.template_argument(1), gdb.Value)"
10318         if using gcc 4.4 or earlier.
10319
10320         * gdb.base/valgrind-db-attach.exp: Use unique test name for
10321         attach-to-debugger handling.
10322
10323 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
10324
10325         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10326         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10327         (main): Use copyreloc.
10328         * gdb.base/prelink.exp (split debug of executable)
10329         (.dynbss vs. .bss address shift): New tests.
10330
10331 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
10332
10333         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10334         in gdb_test_multiple.
10335
10336 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
10337
10338         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10339         environment.
10340
10341 2010-07-28  Tom Tromey  <tromey@redhat.com>
10342
10343         PR python/11060:
10344         * gdb.python/py-type.c (Temargs): New template.
10345         (temvar): New variable.
10346         * gdb.python/py-type.exp (test_template): New proc.
10347
10348 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
10349
10350         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10351         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10352
10353 2010-07-28  Tom Tromey  <tromey@redhat.com>
10354
10355         PR c++/9946:
10356         * gdb.cp/temargs.exp: New file.
10357         * gdb.cp/temargs.cc: New file.
10358
10359 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10360
10361         * gdb.base/help.exp (help disassemble): Update the content.
10362
10363 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
10364
10365         * gdb.threads/ia64-sigill.exp: New file.
10366         * gdb.threads/ia64-sigill.c: New file.
10367
10368 2010-07-27  Tom Tromey  <tromey@redhat.com>
10369
10370         * gdb.opt/inline-cmds.c (ATTR): New define.
10371         (func1): Use it.
10372         (func2): Likewise.
10373         (func3): Likewise.
10374         (outer_inline1): Likewise.
10375         (outer_inline2): Likewise.
10376         * gdb.opt/inline-bt.c (ATTR): New define.
10377         (func1): Use it.
10378         (func2): Likewise.
10379         * gdb.opt/inline-locals.c (ATTR): New define.
10380         (func1): Use it.
10381         (func2): Likewise.
10382
10383 2010-07-27  Tom Tromey  <tromey@redhat.com>
10384
10385         * gdb.stabs/gdb11479.c (hack): New function.
10386         (test): Use it.
10387         (test2): Use it.
10388         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10389         (int32_search_buf, int64_search_buf): No longer static.
10390         (x): Remove.
10391         * gdb.base/relocate.c (hack): New function.
10392
10393 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
10394
10395         * gdb.python/py-value.exp (test_inferior_function_call): New function.
10396         * gdb.python/py-value.c (func1): New function.
10397         (func2): Likewise.
10398
10399 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
10400
10401         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10402         as not to clash with .data section.
10403
10404 2010-07-26  Jerome Guitton  <guitton@adacore.com>
10405
10406         * gdb.base/code_elim.exp: New file.
10407         * gdb.base/code_elim1.c: New file.
10408         * gdb.base/code_elim2.c: New file.
10409
10410 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
10411
10412         PR symtab/11827
10413
10414         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10415         (some_volatile_enum): New variable.
10416         * gdb.base/printcmds.exp (test_print_enums): New.
10417         <top level>: Call it.
10418
10419 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
10420
10421         * gdb.cp/fpointer.cc: New test.
10422         * gdb.cp/fpointer.exp: New test.
10423
10424 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10425
10426         * gdb.base/solib-nodir.exp: New file.
10427         * lib/gdb.exp (runto): New case for a GDB internal error.
10428
10429 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10430             Ulrich Weigand  <uweigand@de.ibm.com>
10431             Tom Tromey  <tromey@redhat.com>
10432
10433         * gdb.base/charset-malloc.c: New file.
10434         * gdb.base/charset.c (malloc_stub): New prototype.
10435         (main): Call it instead of malloc itself.
10436         * gdb.base/charset.exp: Use only prepare_for_testing.
10437         (binfile): Remove the variable.
10438
10439 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
10440
10441         Make core files the process_stratum.
10442         * gdb.base/corefile.exp (run: load core again)
10443         (run: sanity check we see the core file, run: with core)
10444         (run: core file is cleared, attach: load core again)
10445         (attach: sanity check we see the core file, attach: with core)
10446         (attach: core file is cleared): New tests.
10447         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
10448
10449 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
10450
10451         * gdb.arch/altivec-abi.exp: New tests.
10452
10453 2010-07-13  Tom Tromey  <tromey@redhat.com>
10454
10455         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10456         (main): Use it.
10457         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10458
10459 2010-07-13  Tom Tromey  <tromey@redhat.com>
10460
10461         * gdb.base/label.exp: New file.
10462         * gdb.base/label.c: New file.
10463
10464 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
10465             H.J. Lu  <hongjiu.lu@intel.com>
10466
10467         * lib/gdb.exp (is_ilp32_target): New.
10468         (is_lp64_target): Likewise.
10469
10470         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10471         target.
10472         * gdb.arch/amd64-disp-step.exp: Likewise.
10473         * gdb.arch/amd64-dword.exp: Likewise.
10474         * gdb.arch/amd64-i386-address.exp: Likewise.
10475         * gdb.arch/amd64-word.exp: Likewise.
10476
10477         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10478         target.
10479         * gdb.arch/i386-bp_permanent.exp: Likewise.
10480         * gdb.arch/i386-byte.exp: Likewise.
10481         * gdb.arch/i386-disp-step.exp: Likewise.
10482         * gdb.arch/i386-gnu-cfi.exp: Likewise.
10483         * gdb.arch/i386-prologue.exp: Likewise.
10484         * gdb.arch/i386-size-overlap.exp: Likewise.
10485         * gdb.arch/i386-size.exp: Likewise.
10486         * gdb.arch/i386-sse.exp: Likewise.
10487         * gdb.arch/i386-unwind.exp: Likewise.
10488         * gdb.arch/i386-word.exp: Likewise.
10489
10490         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10491         test only when building 64-bit executables.  Do not hard-code
10492         -m64 option.
10493
10494 2010-07-07  Doug Evans  <dje@google.com>
10495
10496         * lib/gdb.exp (gdb_test_list_exact): New function.
10497         * gdb.base/default.exp (show convenience): Call it, add tests for
10498         $_sdata = void, $_thread = 0.
10499
10500 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10501             Joel Brobecker  <brobecker@adacore.com>
10502
10503         Fix re-run of PIE executable, PR shlibs/11776.
10504         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10505         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
10506         and re-"run" of the inferior.
10507
10508 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10509             Joel Brobecker  <brobecker@adacore.com>
10510
10511         Cope with missing /usr/sbin/prelink.
10512         * lib/prelink-support.exp (prelink_no):
10513         <result == 1 && $output is "no such file or directory">: New.
10514         (prelink_yes): Likewise.  Return on failed prelink_no.
10515
10516 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10517             Joel Brobecker  <brobecker@adacore.com>
10518
10519         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
10520         build_executable by build_executable_own_libs.  Replace "prelink -R"
10521         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
10522         change.
10523         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
10524         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
10525         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10526         Replace build_executable by build_executable_own_libs's function
10527         build_executable_own_libs.
10528         (prelinkNO): Create new stub to call prelink_no.
10529         (prelinkYES): Create new stub to call prelink_yes.
10530         (test_attach): Rename calls of copy to file_copy.
10531         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10532         (copy): Move to ...
10533         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
10534         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10535         * gdb.base/prelink.exp: Disable testcase also for is_remote and
10536         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
10537         special flags by gdb_compile_shlib.  Replace second gdb_compile by
10538         build_executable_own_libs.  Replace "prelink -R" execution by a call of
10539         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
10540         a second call of prelink_yes.  Replace restart commands by
10541         clean_restart.
10542         (prelink): Rename to ...
10543         (seen displacement message): ... this test.  Extend its expectation
10544         strictness.
10545
10546 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10547
10548         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10549         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10550         displacement message exactly once.
10551
10552 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10553             Joel Brobecker  <brobecker@adacore.com>
10554
10555         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
10556         its restore after the <$relink_args != ""> loop.  new comment.
10557
10558 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
10559             Joel Brobecker  <brobecker@adacore.com>
10560
10561         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10562         code for it.  New variable relink_args.
10563         (prelinkYES): Call prelinkNO.
10564         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
10565         in such case.  Move the core code to ...
10566         (test_attach_gdb): ... a new function.  Send GDB command "file".
10567         Extend expected "Attaching to " string.
10568
10569 2010-07-02  Tom Tromey  <tromey@redhat.com>
10570
10571         * gdb.base/bitops.exp: Remove extraneous "pass".
10572
10573 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
10574
10575         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10576
10577 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
10578
10579         * gdb.base/help.exp: Adjust expected output.
10580
10581 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
10582
10583         * gdb.base/help.exp: Adjust expected output.
10584
10585 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
10586
10587         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10588         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10589         c++/11702.
10590
10591 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
10592             Doug Evans  <dje@google.com>
10593
10594         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10595         add .dynamic entry'.
10596
10597 2010-06-29  Doug Evans  <dje@google.com>
10598
10599         Test PR c++/11702.
10600         * gdb.cp/m-static.exp: Add testcase.
10601         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10602
10603 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
10604             Tom Tromey  <tromey@redhat.com>
10605             Thiago Jung Bauermann  <bauerman@br.ibm.com>
10606
10607         * gdb.python/py-inferior.c: New File.
10608         * gdb.python/py-infthread.c: New File.
10609         * gdb.python/py-inferior.exp: New File.
10610         * gdb.python/py-infthread.exp: New File.
10611
10612 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10613
10614         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10615         (ptype ::C::OtherFileClass typedefs): New.
10616         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10617         (C::OtherFileClass::cOtherFileClassVar2): New.
10618         (C::OtherFileClass::cOtherFileClassVar_use): Use also
10619         cOtherFileClassVar2.
10620         (C::cOtherFileType2, C::cOtherFileVar2): New.
10621         (C::cOtherFileVar_use): use also cOtherFileVar2.
10622         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10623
10624 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10625
10626         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10627         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10628         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10629         (print ::C::cOtherFileVar)
10630         (whatis C::OtherFileClass::cOtherFileClassType)
10631         (whatis ::C::OtherFileClass::cOtherFileClassType)
10632         (print C::OtherFileClass::cOtherFileClassVar)
10633         (print ::cOtherFileClassVar)
10634         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10635         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10636         trailing content.
10637         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10638         (C::OtherFileClass::cOtherFileClassVar)
10639         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10640         (C::cOtherFileVar, C::cOtherFileVar_use): New.
10641
10642 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10643
10644         Test PR c++/11703 and PR gdb/1448.
10645         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10646         gdb/1448.
10647
10648 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10649
10650         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10651         (main) <rtti_data>: New.
10652         * gdb.cp/virtbase.exp (print rtti_data): New.
10653
10654 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10655             Joel Brobecker  <brobecker@adacore.com>
10656
10657         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10658
10659 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10660
10661         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10662
10663 2010-06-28  Doug Evans  <dje@google.com>
10664
10665         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10666
10667 2010-06-27  Doug Evans  <dje@google.com>
10668
10669         * gdb.cp/m-static.exp: Update expected test output.
10670
10671 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
10672
10673         * gdb.gdb/selftest.exp: Adjust expected message for
10674         capturing start-up runtime.
10675
10676 2010-06-25  Tom Tromey  <tromey@redhat.com>
10677
10678         PR python/10808:
10679         * gdb.python/python.exp: Add new tests.
10680
10681 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
10682
10683         * gdb.cp/operator.cc: Created an import loop.
10684         * gdb.cp/operator.exp: Added testcase for import loop.
10685
10686 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10687
10688         Test PR python/11407.
10689         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10690         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10691         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10692         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10693         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
10694         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10695         binfile.  Call gdb_compile with clean_restart twice.
10696         (func_nofb print, func_nofb backtrace, func_loopfb print)
10697         (func_loopfb backtrace): New.
10698
10699 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
10700
10701         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10702         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10703         by a hand made one.
10704         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
10705         i?86 requirement.  Remove variables srcfile and binfile.  New variable
10706         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
10707
10708 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10709
10710         * gdb.cell/dwarfaddr.exp: New file.
10711         * gdb.cell/dwarfaddr.S: New file.
10712
10713 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
10714
10715         Test PR 9436.
10716         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10717
10718 2010-06-24  Hui Zhu  <teawater@gmail.com>
10719
10720         * gdb.base/eval.exp: New file.
10721
10722 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10723
10724         * gdb.cell/fork.exp: New file.
10725         * gdb.cell/fork.c: Likewise.
10726         * gdb.cell/fork-spu.c: Likewise.
10727
10728 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
10729
10730         * lib/gdb.exp (banned_variables_traced): New global variable.
10731         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10732         (gdb_init): Use `trace add variable' instead of obsolete
10733         `trace variable'.
10734
10735 2010-06-21  Doug Evans  <dje@google.com>
10736
10737         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10738
10739 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10740
10741         * gdb.arch/spu-ls.exp: New file.
10742         * gdb.arch/spu-ls.c: Likewise.
10743
10744 2010-06-18  Stan Shebs  <stan@codesourcery.com>
10745
10746         * gdb.threads/thread-specific.exp: Add tests of $_thread.
10747
10748 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10749
10750         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10751         * gdb.base/watch-cond.exp: Likewise.
10752         * gdb.python/py-breakpoint.exp: Likewise.
10753
10754 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
10755
10756         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10757         clean_restart, make sure every test has a distinct message, and
10758         that messages don't include the executable' full path.
10759
10760 2010-06-17  Doug Evans  <dje@google.com>
10761
10762         * gdb.arch/i386-size.exp: Updated expected output for
10763         DISASSEMBLY_OMIT_FNAME.
10764
10765 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10766             Sergio Durigan Junior  <sergiodj@redhat.com>
10767
10768         * gdb.base/watch-notconst.c: New file.
10769         * gdb.base/watch-notconst.S: New file.
10770         * gdb.base/watch-notconst2.c: New file.
10771         * gdb.base/watch-notconst2.S: New file.
10772         * gdb.base/watch-notconst.exp: New file.
10773         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10774         (func4): Add operations on `global_ptr_ptr'.
10775         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10776         routine to test watchpoints created with a constant expression.
10777         (test_inaccessible_watchpoint): Include tests for watchpoints
10778         created with a constant expression.
10779
10780 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
10781
10782         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10783         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10784         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10785         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10786         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10787         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10788         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10789         of `_start'.
10790
10791 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10792
10793         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10794         not supported on the target.
10795         * gdb.mi/mi-nonstop-exit.exp: Likewise.
10796         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10797         * gdb.mi/mi-nsintrall.exp: Likewise.
10798         * gdb.mi/mi-nsmoribund.exp: Likewise.
10799         * gdb.mi/mi-nsthrexec.exp: Likewise.
10800
10801 2010-06-11  Stan Shebs  <stan@codesourcery.com>
10802
10803         * gdb.base/permissions.exp: New file.
10804
10805 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10806
10807         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10808         does not support ELF executable class.
10809
10810 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10811
10812         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10813
10814 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10815
10816         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10817         (runto): Catch "The target does not support running in non-stop mode.".
10818
10819 2010-06-11  Michael Snyder  <msnyder@vmware.com>
10820
10821         * gdb.base/setshow.exp (set language asm): Don't use
10822         gdb_test_no_output, fails on some targets.
10823
10824 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10825
10826         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10827         * gdb.cp/pr9167.exp: Likewise.
10828
10829 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10830
10831         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10832
10833 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10834
10835         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10836
10837 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10838
10839         * gdb.base/charset.c (main): Make sure malloc gets linked in.
10840
10841 2010-06-11  Tom Tromey  <tromey@redhat.com>
10842
10843         PR gdb/9977, PR exp/11636::
10844         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10845         (pieces_test_f6): Update expected output.
10846
10847 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10848
10849         * gdb.base/moribund-step.exp: New.
10850
10851 2010-06-08  Michael Snyder  <msnyder@vmware.com>
10852
10853         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10854         * gdb.ada/boolean_expr.exp:
10855         * gdb.ada/frame_args.exp: Ditto.
10856         * gdb.ada/lang_switch.exp: Ditto.
10857         * gdb.ada/ptype_arith_binop.exp: Ditto.
10858         * gdb.ada/ref_param.exp: Ditto.
10859         * gdb.ada/type_coercion.exp:Ditto.
10860
10861         * gdb.asm/asm-source.exp: Ditto.
10862
10863         * gdb.base/attach.exp: Ditto.
10864         * gdb.base/bitfields2.exp: Ditto.
10865         * gdb.base/call-signal-resume.exp: Ditto.
10866         * gdb.base/callfuncs.exp: Ditto.
10867         * gdb.base/commands.exp: Ditto.
10868         * gdb.base/dbx.exp: Ditto.
10869         * gdb.base/default.exp: Ditto.
10870         * gdb.base/dump.exp: Ditto.
10871         * gdb.base/exprs.exp: Ditto.
10872         * gdb.base/freebpcmd.exp: Ditto.
10873         * gdb.base/interrupt.exp: Ditto.
10874         * gdb.base/list.exp: Ditto.
10875         * gdb.base/long_long.exp: Ditto.
10876         * gdb.base/maint.exp: Ditto.
10877         * gdb.base/ptype.exp: Ditto.
10878         * gdb.base/return.exp: Ditto.
10879         * gdb.base/setshow.exp: Ditto.
10880         * gdb.base/sigbpt.exp: Ditto.
10881         * gdb.base/sigrepeat.exp: Ditto.
10882
10883         * gdb.cp/classes.exp: Ditto.
10884
10885         * gdb.dwarf2/dw2-restore.exp: Ditto.
10886
10887         * gdb.gdb/selftest.exp: Ditto.
10888
10889         * gdb.multi/base.exp: Ditto.
10890         * gdb.multi/bkpt-multi-exec.exp: Ditto.
10891
10892         * gdb.python/py-block.exp: Ditto.
10893         * gdb.python/py-prettyprint.exp: Ditto.
10894         * gdb.python/py-template.exp: Ditto.
10895
10896         * gdb.server/ext-attach.exp: Ditto.
10897         * gdb.server/ext-run.exp: Ditto.
10898         * gdb.server/server-mon.exp: Ditto.
10899
10900         * gdb.threads/fork-thread-pending.exp: Ditto.
10901         * gdb.threads/hand-call-in-threads.exp: Ditto.
10902         * gdb.threads/interrupted-hand-call.exp: Ditto.
10903         * gdb.threads/linux-dp.exp: Ditto.
10904         * gdb.threads/manythreads.exp: Ditto.
10905         * gdb.threads/print-threads.exp: Ditto.
10906         * gdb.threads/pthreads.exp: Ditto.
10907         * gdb.threads/schedlock.exp: Ditto.
10908         * gdb.threads/thread-unwindonsignal.exp: Ditto.
10909         * gdb.threads/threadapply.exp: Ditto.
10910
10911 2010-06-08  Michael Snyder  <msnyder@vmware.com>
10912
10913         * gdb.ada/exec_changed.exp:
10914         Use ".*" instead of "" as wildcard regexp.
10915
10916         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10917         * gdb.base/call-ar-st.exp: Ditto.
10918         * gdb.base/checkpoint.exp: Ditto.
10919         * gdb.base/default.exp: Ditto.
10920         * gdb.base/dump.exp: Ditto.
10921         * gdb.base/ending-run.exp: Ditto.
10922         * gdb.base/fileio.exp: Ditto.
10923         * gdb.base/miscexprs.exp: Ditto.
10924         * gdb.base/pointers.exp: Ditto.
10925         * gdb.base/readline.exp: Ditto.
10926         * gdb.base/reread.exp: Ditto.
10927         * gdb.base/restore.exp: Ditto.
10928         * gdb.base/shlib-call.exp: Ditto.
10929         * gdb.base/valgrind-db-attach.exp: Ditto.
10930         * gdb.base/volatile.exp: Ditto.
10931         * gdb.base/watchpoints.exp: Ditto.
10932
10933         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10934
10935         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10936         * gdb.python/py-value.exp: Ditto.
10937
10938         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10939         * gdb.trace/circ.exp: Ditto.
10940         * gdb.trace/collection.exp: Ditto.
10941         * gdb.trace/packetlen.exp: Ditto.
10942         * gdb.trace/passc-dyn.exp: Ditto.
10943         * gdb.trace/report.exp: Ditto.
10944         * gdb.trace/tfile.exp: Ditto.
10945         * gdb.trace/tfind.exp: Ditto.
10946         * gdb.trace/while-dyn.exp: Ditto.
10947
10948 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10949
10950         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10951
10952 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10953
10954         Test PR 10640.
10955         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10956
10957 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
10958
10959         * gdb.cp/koenig.exp: Test for ADL operators.
10960         * gdb.cp/koenig.cc: Added ADL operators.
10961         * gdb.cp/operator.exp: New test.
10962         * gdb.cp/operator.cc: New test.
10963
10964 2010-06-04  Michael Snyder  <msnyder@vmware.com>
10965
10966         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10967         * gdb.base/pending.exp: Ditto.
10968
10969         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10970
10971 2010-06-04  Doug Evans  <dje@google.com>
10972
10973         * gdb.python/py-prettyprint.exp: Add new test for enabled and
10974         disabled printers.
10975         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10976         (enable_lookup_function): New function.
10977
10978 2010-06-04  Tom Tromey  <tromey@redhat.com>
10979
10980         * gdb.python/py-value.exp (test_value_hash): Don't test equality
10981         of hash and id.
10982
10983 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10984
10985         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10986         newline.
10987         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10988         (empty verbose non-noisy clear, empty verbose noisy clear)
10989         (empty non-verbose noisy clear): Likewise.
10990
10991 2010-06-03  Michael Snyder  <msnyder@vmware.com>
10992
10993         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10994         * gdb.base/display.exp: Ditto.
10995         * gdb.base/find.exp: Ditto.
10996         * gdb.base/ifelse.exp: Ditto.
10997         * gdb.base/multi-forks.exp: Ditto.
10998         * gdb.base/recurse.exp: Ditto.
10999         * gdb.base/setshow.exp: Ditto.
11000         * gdb.base/value-double-free.exp: Ditto.
11001         * gdb.base/watch-vfork.exp: Ditto.
11002         * gdb.base/watch_thread_num.exp: Ditto.
11003         * gdb.base/watchpoint-solib.exp: Ditto.
11004         * gdb.base/watchpoint.exp: Ditto.
11005         * gdb.base/watchpoints.exp: Ditto.
11006
11007         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11008         * gdb.cp/overload.exp: Ditto.
11009         * gdb.cp/virtfunc.exp: Ditto.
11010
11011         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11012
11013         * gdb.reverse/watch-precsave.exp:
11014         Replace gdb_test with gdb_test_no_output.
11015
11016         * gdb.threads/attach-into-signal.exp:
11017         Replace gdb_test with gdb_test_no_output.
11018         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11019         * gdb.threads/watchthreads.exp: Ditto.
11020         * gdb.threads/watchthreads2.exp: Ditto.
11021
11022         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11023         * gdb.trace/tfind.exp: Ditto.
11024
11025 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
11026
11027         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11028         successful test if message is the empty string.
11029
11030 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11031
11032         * gdb.fortran/module.exp (stopped language detection): New test.
11033
11034 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11035
11036         Support DW_TAG_module as separate namespaces.
11037         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11038         gdb.fortran/library-module-lib.f90: New.
11039         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11040         (print i): Remove.
11041         (continue to breakpoint: i-is-1, print var_i value 1)
11042         (continue to breakpoint: i-is-2, print var_i value 2)
11043         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11044         (print var_d, print var_i value 14, ptype modmany, complete `modm)
11045         (complete `modmany, complete `modmany`, complete `modmany`var)
11046         (show language, setting breakpoint at module): New tests.
11047         * gdb.fortran/module.f90 (module mod): Remove.
11048         (module mod1, module mod2, module modmany, subroutine sub1)
11049         (subroutine sub2, program module): New.
11050
11051 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11052
11053         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11054         (print value of rUC, print value of rI, print value of UI): ... here.
11055         * gdb.cp/anon-union.exp (pass): Rename to ...
11056         (print z 2): ... here.
11057
11058 2010-06-02  Michael Snyder  <msnyder@vmware.com>
11059
11060         * gdb.trace/actions.exp: Use gdb_test_no_output.
11061         * gdb.trace/circ.exp: Ditto.
11062         * gdb.trace/packetlen.exp: Ditto.
11063         * gdb.trace/save-trace.exp: Ditto.
11064         * gdb.trace/tracecmd.exp: Ditto.
11065         * gdb.trace/tsv.exp: Ditto.
11066
11067         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11068         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11069         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11070         * gdb.threads/manythreads.exp: Ditto.
11071         * gdb.threads/print-threads.exp: Ditto.
11072         * gdb.threads/pthreads.exp: Ditto.
11073         * gdb.threads/schedlock.exp: Ditto.
11074         * gdb.threads/staticthreads.exp: Ditto.
11075         * gdb.threads/thread-specific.exp: Ditto.
11076         * gdb.threads/thread-unwindonsignal.exp: Ditto.
11077         * gdb.threads/threadapply.exp: Ditto.
11078         * gdb.threads/watchthreads.exp: Ditto.
11079         * gdb.threads/watchthreads2.exp: Ditto.
11080
11081         * gdb.python/py-block.exp: Use gdb_test_no_output.
11082         * gdb.python/py-prettyprint.exp: Ditto.
11083         * gdb.python/py-template.exp: Ditto.
11084         * gdb.python/py-value.exp: Ditto.
11085
11086         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11087         * gdb.reverse/watch-reverse.exp: Ditto.
11088
11089         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11090         * gdb.server/ext-run.exp: Ditto.
11091
11092         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11093         * gdb.dwarf2/dw2-compressed.exp: Ditto.
11094         * gdb.dwarf2/dw2-intercu.exp: Ditto.
11095         * gdb.dwarf2/dw2-intermix.exp: Ditto.
11096         * gdb.dwarf2/dw2-producer.exp: Ditto.
11097         * gdb.dwarf2/mac-fileno.exp: Ditto.
11098
11099         * gdb.gdb/observer.exp: Use gdb_test_no_output.
11100         * gdb.gdb/selftest.exp: Ditto.
11101
11102         * gdb.multi/base.exp: Use gdb_test_no_output.
11103
11104         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11105
11106 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11107
11108         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11109
11110 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
11111
11112         * gdb.cp/class2.exp: Use gdb_test_no_output.
11113         * gdb.cp/classes.exp: Ditto.
11114         * gdb.cp/extern-c.exp: Ditto.
11115         * gdb.cp/inherit.exp: Ditto.
11116         * gdb.cp/maint.exp: Ditto.
11117         * gdb.cp/mb-inline.exp: Ditto.
11118         * gdb.cp/mb-templates.exp: Ditto.
11119         * gdb.cp/method2.exp: Ditto.
11120         * gdb.cp/misc.exp: Ditto.
11121         * gdb.cp/ovldbreak.exp: Ditto.
11122         * gdb.cp/punctuator.exp: Ditto.
11123         * gdb.cp/templates.exp: Ditto.
11124         * gdb.cp/virtbase.exp: Ditto.
11125
11126         * gdb.threads/attach-stopped.exp:
11127         Replace uses of send_gdb / gdb_expect.
11128         * gdb.threads/attachstop-mt.exp:
11129         Replace uses of send_gdb / gdb_expect.
11130         * gdb.threads/gcore-thread.exp:
11131         Replace uses of send_gdb / gdb_expect.
11132         * gdb.threads/hand-call-in-threads.exp:
11133         Replace uses of send_gdb / gdb_expect.
11134         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11135         * gdb.threads/print-threads.exp:
11136         Replace uses of send_gdb / gdb_expect.
11137         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11138         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11139         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11140
11141         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11142         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11143         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11144         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11145         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11146         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11147         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11148         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11149         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11150         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11151         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11152
11153 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11154
11155         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11156
11157 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
11158
11159         * gdb.cp/koenig.exp: Added new test case.
11160         * gdb.cp/koenig.cc: Ditto.
11161
11162 2010-06-01  Michael Snyder  <msnyder@vmware.com>
11163
11164         * gdb.base/arithmet.exp: Use gdb_test_no_output.
11165         * gdb.base/arrayidx.exp: Ditto.
11166         * gdb.base/attach.exp: Ditto.
11167         * gdb.base/auxv.exp: Ditto.
11168         * gdb.base/bigcre.exp: Ditto.
11169         * gdb.base/break-always.exp: Ditto.
11170         * gdb.base/break-interp.exp: Ditto.
11171         * gdb.base/break.exp: Ditto.
11172         * gdb.base/breakpoint-shadow.exp: Ditto.
11173         * gdb.base/call-ar-st.exp: Ditto.
11174         * gdb.base/call-sc.exp: Ditto.
11175         * gdb.base/call-signal-resume.exp: Ditto.
11176         * gdb.base/callfuncs.exp: Ditto.
11177         * gdb.base/catch-syscall.exp: Ditto.
11178         * gdb.base/charset.exp: Ditto.
11179         * gdb.base/code-expr.exp: Ditto.
11180         * gdb.base/commands.exp: Ditto.
11181         * gdb.base/cond-expr.exp: Ditto.
11182         * gdb.base/condbreak.exp: Ditto.
11183         * gdb.base/cursal.exp: Ditto.
11184         * gdb.base/cvexpr.exp: Ditto.
11185         * gdb.base/default.exp: Ditto.
11186         * gdb.base/del.exp: Ditto.
11187         * gdb.base/detach.exp: Ditto.
11188         * gdb.base/display.exp: Ditto.
11189         * gdb.base/ena-dis-br.exp: Ditto.
11190         * gdb.base/eval-skip.exp: Ditto.
11191         * gdb.base/foll-fork.exp: Ditto.
11192         * gdb.base/foll-vfork.exp: Ditto.
11193         * gdb.base/frame-args.exp: Ditto.
11194         * gdb.base/funcargs.exp: Ditto.
11195         * gdb.base/gcore-buffer-overflow.exp: Ditto.
11196         * gdb.base/gdbvars.exp: Ditto.
11197         * gdb.base/help.exp: Ditto.
11198         * gdb.base/ifelse.exp: Ditto.
11199         * gdb.base/included.exp: Ditto.
11200         * gdb.base/list.exp: Ditto.
11201         * gdb.base/macscp.exp: Ditto.
11202         * gdb.base/maint.exp: Ditto.
11203         * gdb.base/multi-fork.exp: Ditto.
11204         * gdb.base/overlays.exp: Ditto.
11205         * gdb.base/page.exp: Ditto.
11206         * gdb.base/pending.exp: Ditto.
11207         * gdb.base/pointers.exp: Ditto.
11208         * gdb.base/pr11022.exp: Ditto.
11209         * gdb.base/prelink.exp: Ditto.
11210         * gdb.base/printcmds.exp: Ditto.
11211         * gdb.base/psymtab.exp: Ditto.
11212         * gdb.base/randomize.exp: Ditto.
11213         * gdb.base/relational.exp: Ditto.
11214         * gdb.base/relocate.exp: Ditto.
11215         * gdb.base/remote.exp: Ditto.
11216         * gdb.base/sepdebug.exp: Ditto.
11217         * gdb.base/set-lang-auto.exp: Ditto.
11218         * gdb.base/setshow.exp: Ditto.
11219         * gdb.base/setvar.exp: Ditto.
11220         * gdb.base/signals.exp: Ditto.
11221         * gdb.base/signull.exp: Ditto.
11222         * gdb.base/sigstep.exp: Ditto.
11223         * gdb.base/sizeof.exp: Ditto.
11224         * gdb.base/solib-disc.exp: Ditto.
11225         * gdb.base/store.exp: Ditto.
11226         * gdb.base/structs.exp: Ditto.
11227         * gdb.base/structs2.exp: Ditto.
11228         * gdb.base/subst.exp: Ditto.
11229         * gdb.base/term.exp: Ditto.
11230         * gdb.base/trace-commands.exp: Ditto.
11231         * gdb.base/unwindonsignal.exp: Ditto.
11232         * gdb.base/valgrind-db-attach.exp: Ditto.
11233         * gdb.base/varargs.exp: Ditto.
11234         * gdb.base/watch-cond.exp: Ditto.
11235         * gdb.base/watch_thread_num.exp: Ditto.
11236         * gdb.base/watchpoint-cond-gone.exp: Ditto.
11237         * gdb.base/watchpoint.exp: Ditto.
11238         * gdb.base/whatis-exp.exp: Ditto.
11239
11240 2010-06-01  Michael Snyder  <msnyder@vmware.com>
11241
11242         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11243         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11244         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11245         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11246         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11247         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11248         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11249         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11250         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11251         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11252         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11253         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11254         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11255         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11256         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11257
11258 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11259
11260         * gdb.base/commands.exp (begin commands on watch): Remove excessive
11261         trailing newline.
11262         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11263         * gdb.java/jmisc.exp (p *args\n): Rename to ...
11264         (p *args): ... here and remove excessive trailing newline.
11265
11266 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
11267
11268         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11269
11270 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
11271
11272         Accept the new Linux kernel "t (tracing stop)" string.
11273         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11274         Update comment.
11275         (state_wait) <T (tracing stop)>: New.
11276         (main): Update the state_wait expect string.
11277
11278 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
11279
11280         * limits.c, limits.exp: Delete files.
11281         * Makefile.in (clean mostlyclean): Adjust.
11282         * tracecmd.exp: Adjust.
11283
11284 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11285
11286         * gdb.base/tui-layout.exp: New.
11287
11288 2010-05-28  Michael Snyder  <msnyder@vmware.com>
11289
11290         * gdb.reverse/break-precsave.exp:
11291         Replace uses of send_gdb / gdb_expect.
11292         * gdb.reverse/break-reverse.exp:
11293         Replace uses of send_gdb / gdb_expect.
11294         * gdb.reverse/consecutive-precsave.exp:
11295         Replace uses of send_gdb / gdb_expect.
11296         * gdb.reverse/consecutive-reverse.exp:
11297         Replace uses of send_gdb / gdb_expect.
11298         * gdb.reverse/finish-precsave.exp:
11299         Replace uses of send_gdb / gdb_expect.
11300         * gdb.reverse/finish-reverse.exp:
11301         Replace uses of send_gdb / gdb_expect.
11302         * gdb.reverse/i386-precsave.exp:
11303         Replace uses of send_gdb / gdb_expect.
11304         * gdb.reverse/i386-reverse.exp:
11305         Replace uses of send_gdb / gdb_expect.
11306         * gdb.reverse/i386-sse-reverse.exp:
11307         Replace uses of send_gdb / gdb_expect.
11308         * gdb.reverse/i387-env-reverse.exp:
11309         Replace uses of send_gdb / gdb_expect.
11310         * gdb.reverse/i387-stack-reverse.exp:
11311         Replace uses of send_gdb / gdb_expect.
11312         * gdb.reverse/machinestate-precsave.exp:
11313         Replace uses of send_gdb / gdb_expect.
11314         * gdb.reverse/machinestate.exp:
11315         Replace uses of send_gdb / gdb_expect.
11316         * gdb.reverse/sigall-precsave.exp:
11317         Replace uses of send_gdb / gdb_expect.
11318         * gdb.reverse/sigall-reverse.exp:
11319         Replace uses of send_gdb / gdb_expect.
11320         * gdb.reverse/solib-precsave.exp:
11321         Replace uses of send_gdb / gdb_expect.
11322         * gdb.reverse/solib-reverse.exp:
11323         Replace uses of send_gdb / gdb_expect.
11324         * gdb.reverse/step-precsave.exp:
11325         Replace uses of send_gdb / gdb_expect.
11326         * gdb.reverse/step-reverse.exp:
11327         Replace uses of send_gdb / gdb_expect.
11328         * gdb.reverse/until-precsave.exp:
11329         Replace uses of send_gdb / gdb_expect.
11330         * gdb.reverse/until-reverse.exp:
11331         Replace uses of send_gdb / gdb_expect.
11332         * gdb.reverse/watch-precsave.exp:
11333         Replace uses of send_gdb / gdb_expect.
11334         * gdb.reverse/watch-reverse.exp:
11335         Replace uses of send_gdb / gdb_expect.
11336
11337 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11338
11339         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11340         excessive newline.
11341
11342 2010-05-27  Michael Snyder  <msnyder@vmware.com>
11343
11344         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11345         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11346         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11347         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11348         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11349         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11350         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11351         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11352         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11353         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11354         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11355         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11356         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11357         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11358         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11359         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11360         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11361         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11362         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11363
11364 2010-05-26  Michael Snyder  <msnyder@vmware.com>
11365
11366         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11367         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11368
11369         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11370         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11371         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11372
11373         * gdb.reverse/consecutive-reverse.exp:
11374         Replace uses of send_gdb / gdb_expect.
11375         * gdb.reverse/consecutive-precsave.exp:
11376         Replace uses of send_gdb / gdb_expect.
11377
11378         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11379         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11380         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11381         * gdb.mi/mi-ns-stale-regcache.exp:
11382         Replace uses of send_gdb / gdb_expect.
11383         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11384         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11385         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11386         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11387         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11388         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11389         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11390         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11391         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11392
11393 2010-05-26  Michael Snyder  <msnyder@vmware.com>
11394
11395         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11396
11397         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11398
11399         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11400         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11401         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11402         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11403         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11404         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11405         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11406         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11407         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11408
11409 2010-05-25  Tom Tromey  <tromey@redhat.com>
11410
11411         * gdb.base/macscp.exp: Add missing space after setup_kfail.
11412
11413 2010-05-25  Tom Tromey  <tromey@redhat.com>
11414
11415         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11416         argument order.
11417         * gdb.base/macscp.exp: Fix setup_kfail argument order.
11418         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11419         order.
11420         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11421         order.
11422         * gdb.base/call-sc.exp (setup_kfails): Remove.
11423         (setup_compiler_kfails): Remove.
11424         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11425         argument order.
11426         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11427         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11428         (advancei): Fix setup_kfail argument order.
11429         * gdb.base/radix.exp: Fix setup_kfail argument order.
11430         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11431         order.
11432         * gdb.base/structs.exp (setup_kfails): Remove.
11433         (setup_compiler_kfails): Fix setup_kfail argument order.
11434         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11435         order.
11436         * gdb.java/jmain.exp: Fix setup_kfail argument order.
11437         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11438         setup_kfail argument order.
11439         * gdb.cp/overload.exp: Fix setup_kfail argument order.
11440
11441 2010-05-25  Tom Tromey  <tromey@redhat.com>
11442
11443         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11444
11445 2010-05-25  Michael Snyder  <msnyder@vmware.com>
11446
11447         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11448         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11449         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11450         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11451         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11452         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11453         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11454         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11455         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11456         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11457         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11458         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11459         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11460         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11461         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11462         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11463         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11464         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11465         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11466         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11467         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11468         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11469         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11470         * gdb.base/default.exp: Replace send_gdb with gdb_test.
11471         * gdb.base/define.exp: Replace send_gdb with gdb_test.
11472         * gdb.base/display.exp: Replace send_gdb with gdb_test.
11473         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11474         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11475         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11476         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11477         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11478         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11479         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11480         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11481         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11482         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11483         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11484         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11485         * gdb.base/help.exp: Replace send_gdb with gdb_test.
11486         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11487         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11488         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11489         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11490         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11491         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11492         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11493         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11494         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11495
11496 2010-05-25  Doug Evans  <dje@google.com>
11497
11498         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11499         gdb.string_to_argv.
11500
11501 2010-05-21  Tom Tromey  <tromey@redhat.com>
11502
11503         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11504         Call it.
11505         * gdb.dwarf2/pieces.S: Update.
11506         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11507
11508 2010-05-21  Tom Tromey  <tromey@redhat.com>
11509
11510         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11511         Call it.
11512         * gdb.dwarf2/pieces.c (struct C): New.
11513         (f6): New function.
11514         * gdb.dwarf2/pieces.S: Replace.
11515
11516 2010-05-21  Tom Tromey  <tromey@redhat.com>
11517
11518         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11519         Call it.
11520
11521 2010-05-21  Tom Tromey  <tromey@redhat.com>
11522
11523         * gdb.dwarf2.pieces.exp: New file.
11524         * gdb.dwarf2.pieces.S: New file.
11525         * gdb.dwarf2.pieces.c: New file.
11526
11527 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
11528             Joel Brobecker  <brobecker@adacore.com>
11529
11530         * lib/gdb.exp (gdb_test_no_output): New function.
11531         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11532         when testing commands that should produce no output.
11533
11534 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11535
11536         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11537         parameter that we want to watch being a constant.
11538
11539 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11540
11541         * gdb.ada/cond_lang: New testcase.
11542
11543 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11544
11545         * lib/gdb.exp (banned_variables): New variable/constant.
11546         (gdb_init): Add write trace on variables listed in banned_variables.
11547         (gdb_finish): Remove write traces on variables listed in
11548         banned_variables.
11549
11550 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
11551
11552         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11553         * gdb.cp/koenig.exp: Likewise.
11554
11555 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
11556
11557         PR python/11482
11558
11559         * gdb.python/py-value.exp (test_value_hash): New function.
11560
11561 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
11562
11563         PR exp/11530.
11564         * gdb.base/gdb11530.c: New file.
11565         * gdb.base/gdb11530.exp: New file.
11566
11567 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
11568
11569         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11570         * gdb.dwarf2/dw2-modula2-self-type.S: New.
11571
11572 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
11573
11574         * gdb.cp/koenig.exp: New test.
11575         * gdb.cp/koenig.cc: New test program.
11576
11577 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
11578
11579         Remove the use of prms_id and bug_id throughout the testsuite.
11580
11581 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
11582
11583         PR exp/11349.
11584         * testsuite/gdb.cp/ref-types.exp: Add test to examine
11585         use a reference local variable.
11586
11587 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11588
11589         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11590         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
11591         variable different_dir. Move debugfile into a full directory pathname
11592         under DIFFERENT_DIR.
11593         * lib/gdb.exp (separate_debug_filename): Remove.
11594         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
11595         variable debug_dir and mkdir of it.  Update function comments.
11596
11597 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
11598
11599         PR gdb/11557
11600
11601         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11602         files.
11603
11604 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
11605
11606         * gdb.python/py-param.exp: New File.
11607
11608 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
11609
11610         * gdb.base/default.exp: Fix "set language" test.
11611
11612 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
11613
11614         PR breakpoints/11531.
11615         * gdb.base/gdb11531.c: New file.
11616         * gdb.base/gdb11531.exp: New file.
11617
11618 2010-04-26  Tom Tromey  <tromey@redhat.com>
11619
11620         * gdb.base/completion.exp: Add tests for completion and deprecated
11621         commands.
11622
11623 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11624
11625         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11626         (print /x char_array): Escape curly brackets.
11627
11628 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
11629
11630         Fix deadlock on looped list of loaded shared objects.
11631         * gdb.base/solib-corrupted.exp: New.
11632
11633 2010-04-23  Doug Evans  <dje@google.com>
11634
11635         * gdb.python/py-section-script.c: New file.
11636         * gdb.python/py-section-script.exp: New file.
11637         * gdb.python/py-section-script.py: New file.
11638
11639 2010-04-20  Chris Moller  <cmoller@redhat.com>
11640
11641         PR 10179
11642
11643         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11644         * gdb.base/pr10179-a.c:
11645         * gdb.base/pr10179-b.c:
11646         * gdb.base/pr10179.exp: New files.
11647
11648 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11649
11650         Fix crashes on dangling display expressions.
11651         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11652         is SEP.
11653         (lib_flags): Remove the "debug" keyword.
11654         (libsepdebug): New variable for iterating new loop.
11655         (save_pf_prefix): New variable wrapping the loop.
11656         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
11657         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11658
11659 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
11660
11661         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11662
11663 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
11664
11665         PR stabs/11479.
11666         * gdb.stabs/gdb11479.exp: New file.
11667         * gdb.stabs/gdb11479.c: New file.
11668
11669 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
11670
11671         * gdb.base/charset.c (Strin16, String32): New variables.
11672         * gdb.base/charset.exp (gdb_test): Test correct display
11673         of 16 or 32 bit strings.
11674
11675 2010-04-21  Chris Moller  <cmoller@redhat.com>
11676
11677         PR 9167
11678         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11679         * gdb.cp/pr9167.cc: New file.
11680         * gdb.cp/pr9167.exp: New file.
11681
11682
11683 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
11684
11685         PR pascal/11492.
11686         * gdb.pascal/gdb11492.pas: New file.
11687         * gdb.pascal/gdb11492.exp: New file.
11688
11689 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
11690
11691         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11692
11693 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
11694
11695         * gdb.ada/dyn_loc: New testcase.
11696
11697 2010-04-20  Chris Moller  <cmoller@redhat.com>
11698
11699         PR 10867
11700
11701         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
11702         * gdb.cp/pr10687.cc: New file.
11703         * gdb.cp/pr10687.exp: New file.
11704
11705
11706 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11707             Sergio Durigan Junior  <sergiodj@redhat.com>
11708
11709         * gdb.fortran/logical.exp: New testcase.
11710         * gdb.fortran/logical.f90: New file.
11711
11712 2010-04-19  Doug Evans  <dje@google.com>
11713
11714         * gdb.base/help.exp (help source): Update expected output.
11715
11716 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11717
11718         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11719         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
11720         gdb_exit and return.
11721         (executable): New variable.
11722         (binfile): Use it.
11723
11724 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
11725
11726         PR breakpoints/8554.
11727
11728         * gdb.trace/save-trace.exp: Adjust.
11729
11730 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
11731
11732         PR corefiles/11511
11733         * gdb.arch/system-gcore.exp: New.
11734         * gdb.arch/gcore.c: Likewise.
11735
11736 2010-04-15  Doug Evans  <dje@google.com>
11737
11738         * gdb.python/py-progspace.c: New file.
11739         * gdb.python/py-progspace.exp: New file.
11740
11741         * gdb.base/source.exp: Add tests for "source -s".
11742
11743 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
11744
11745         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11746         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11747         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11748         * gdb.python/py-mi.exp: New test for to_string returning None.
11749
11750 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
11751
11752         * gdb.python/py-breakpoint.c: Make result global.
11753
11754 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11755
11756         Fix non-GNU make compatibility.
11757         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11758
11759 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
11760
11761         * gdb.python/py-breakpoint.exp: New File.
11762         * gdb.python/py-breakpoint.C: Ditto.
11763
11764 2010-04-08  Stan Shebs  <stan@codesourcery.com>
11765
11766         * gdb.trace/actions.exp: Clear default-collect.
11767         * gdb.trace/save-trace.exp: Clear default-collect.
11768
11769 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
11770
11771         * gdb.python/py-value: Add null string variable.
11772           (test_lazy_string): Test zero length, NULL address lazy
11773           strings.
11774
11775 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
11776
11777         * gdb.arch/i386-avx.c: New.
11778         * gdb.arch/i386-avx.exp: Likewise.
11779
11780         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11781
11782 2010-04-06  Doug Evans  <dje@google.com>
11783
11784         * gdb.base/source-test.gdb: New file.
11785         * gdb.base/source.exp: Test source -v.
11786
11787 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11788
11789         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11790
11791 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
11792
11793         * gdb.stabs/aout.sed: Convert all backslash to double backslash
11794         within one line, unless it is followed by a double quote.
11795         * gdb.stabs/hppa.sed: Idem.
11796         * gdb.stabs/weird.def: Add char and String constants
11797         * gdb.stabs/weird.exp: Check for correct parsing of
11798         char and string constants.
11799         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11800         in .stabs to .stabx substitution.
11801
11802 2010-04-05  Stan Shebs  <stan@codesourcery.com>
11803
11804         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11805         constant global.
11806         * gdb.trace/tfile.exp: Try to print them.
11807
11808 2010-04-04  Stan Shebs  <stan@codesourcery.com>
11809
11810         * gdb.base/completion.exp: Update for new "info watchpoints".
11811         * gdb.base/default.exp: Ditto.
11812         * gdb.base/help.exp: Ditto.
11813         * gdb.base/watchpoint.exp: Ditto.
11814         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11815
11816 2010-04-04  Stan Shebs  <stan@codesourcery.com>
11817
11818         * gdb.trace/tfile.exp: Sharpen tfind test.
11819
11820 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
11821
11822         * gdb.base/break-entry.exp: New.
11823
11824 2010-04-02  Hui Zhu  <teawater@gmail.com>
11825             Michael Snyder <msnyder@vmware.com>
11826
11827         * gdb.reverse/i386-sse-reverse.exp: New file.
11828         * gdb.reverse/i386-sse-reverse.c: New file.
11829
11830 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
11831
11832         * gdb.trace/tfind.exp: Adjust expected disassembly output.
11833
11834 2010-04-01  Stan Shebs  <stan@codesourcery.com>
11835
11836         * gdb.trace/actions.exp: Tweak expected output.
11837         * gdb.trace/while-stepping.exp: Tweak expected output.
11838
11839 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
11840
11841         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11842
11843 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11844
11845         * gdb.base/commands.exp: Adjust.
11846         * gdb.cp/extern-c.exp: Adjust.
11847
11848 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11849
11850         * gdb.trace/collection.c (local_test_func): Define a local struct,
11851         and instanciate it.
11852
11853 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11854
11855         * gdb.trace/collection.exp (gdb_collect_args_test)
11856         (gdb_collect_argarray_test): XFAIL the tests that assume the
11857         argarray argument's elements are collected.
11858
11859 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
11860
11861         * gdb.dwarf2/dw2-bad-parameter-type.exp,
11862         gdb.dwarf2/dw2-bad-parameter-type.S: New.
11863
11864 2010-03-31  Stan Shebs  <stan@codesourcery.com>
11865
11866         * gdb.trace/save-trace.exp: Test save/restore of default-collect
11867         and tracepoint conditionals.
11868         (gdb_verify_tracepoints): Delete unused return.
11869
11870 2010-03-26  Keith Seitz  <keiths@redhat.com>
11871
11872         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11873         appear in the output before main.
11874         Remove KFAIL for gdb/2215 aka bz 9320.
11875
11876 2010-03-30  Doug Evans  <dje@google.com>
11877
11878         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11879         by dejagnu.
11880         * gdb.arch/amd64-dword.exp: Ditto.
11881
11882         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11883         match.
11884         (break printf): Ditto.
11885
11886 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
11887
11888         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11889         gcc < 4.4.
11890         * gdb.cp/shadow.exp: Ditto.
11891
11892 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
11893
11894         * gdb.trace/collection.exp (run_trace_experiment): Make sure
11895         "tstart" is silent.
11896
11897 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
11898
11899         * gdb.trace/collection.exp (executable): New.
11900         (binfile): Use it.
11901         (fpreg, spreg, pcreg): New.
11902         (test_register): Use gdb_test_multiple.  Pass /x to print.
11903         (prepare_for_trace_test): New.
11904         (run_trace_experiment): Use "continue", not gdb_run_cmd.
11905         (gdb_collect_args_test, gdb_collect_argstruct_test)
11906         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11907         prepare_for_trace_test.
11908         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
11909         fpreg, spreg and pcreg.
11910         (gdb_collect_expression_test, gdb_collect_globals_test): Use
11911         prepare_for_trace_test.
11912         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
11913         try to detect tracing support here.  Don't set breakpoints at
11914         `begin' or `end' here.
11915         <global scope>: Use clean_restart.  Run to main before checking
11916         for tracing support.  Check for for tracing support here.
11917
11918 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11919
11920         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11921         " as $displacement" to "seen displacement message".
11922
11923 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
11924
11925         * gdb.trace/while-dyn.exp (executable): New variable.
11926         (binfile): Use it.
11927         (test_while_stepping): New function.  Move most tests here.  Call
11928         it once for each of the while-stepping, stepping and ws aliases.
11929
11930 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11931
11932         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11933         that do not provide the tagless_struct type name at all.
11934         (test_print_anon_union): Do not check value of uninitialized
11935         union member.  Do not use cp_test_ptype_class, so we can accept
11936         "long" as well as "long int".
11937
11938 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
11939
11940         * gdb.trace/tfile.c (tohex, bin2hex): New.
11941         (write_error_trace_file): Hexify error description.
11942
11943 2010-03-25  Stan Shebs  <stan@codesourcery.com>
11944
11945         * gdb.trace/tfile.c: Generate an additional trace file, improve
11946         portability.
11947         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11948         files in a better way.
11949
11950 2010-03-25  Keith Seitz  <keiths@redhat.com>
11951
11952         * gdb.java/jprint.exp: XFAIL printing of static class members
11953         because of GCC debuginfo problem.
11954
11955 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
11956
11957         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11958
11959 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11960
11961         * gdb.base/completion.exp: Allow long instead of long int.
11962         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11963         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
11964         variable p.
11965         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11966         * gdb.base/pointers.exp: Allow long instead of long int.
11967         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11968         * gdb.base/step-line.exp: Allow a directory before the source file name.
11969
11970 2010-03-24  Tom Tromey  <tromey@redhat.com>
11971
11972         PR breakpoints/9352:
11973         * gdb.base/default.exp: Update.
11974         * gdb.base/commands.exp: Update.
11975         * gdb.cp/extern-c.exp: Test setting commands on multiple
11976         breakpoints at once.
11977
11978 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11979
11980         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11981         if gdb,nosignals.
11982         * gdb.base/watchpoints.c: Do not include unnecessary headers.
11983         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11984         exited".
11985
11986 2010-03-24  Stan Shebs  <stan@codesourcery.com>
11987
11988         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11989
11990 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11991
11992         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11993         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11994         argument.  Handle "short" and "long".
11995         (Top level): Pass overprototyped output for old_fptr and xptr.
11996
11997 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
11998
11999         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12000         format strings and add casts to avoid compiler warnings.
12001
12002 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
12003
12004         * lib/trace-support.exp (gdb_trace_setactions):
12005         Don't expect whitespace after ">" prompt.
12006         * gdb.trace/actions.exp: Adjust for output changes.
12007         * gdb.trace/while-stepping.exp: Likewise.
12008
12009 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12010
12011         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12012         and r157645).
12013
12014 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12015
12016         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12017         New.
12018
12019 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
12020
12021         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12022         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12023
12024 2010-03-19  Stan Shebs  <stan@codesourcery.com>
12025
12026         * gdb.trace/ax.exp: New file.
12027
12028 2010-03-19  Doug Evans  <dje@google.com>
12029
12030         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12031         output from gcc.
12032
12033         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12034         named /usr/sbin/prelink<foo>.
12035
12036 2010-03-18  Stan Shebs  <stan@codesourcery.com>
12037
12038         * gdb.trace/circ.exp: Test circular-trace-buffer.
12039         * gdb.trace/tfile.exp: Update tstatus test.
12040
12041 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
12042
12043         * gdb.dwarf2/dw2-anonymous-func.S: New file.
12044         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12045
12046 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12047
12048         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12049
12050 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
12051
12052         * gdb.base/default.exp: Adjust the expected output of the finish
12053         and until commands when the inferior is not being run.
12054
12055 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
12056
12057         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12058         * gdb.cp/nsusing.exp: Ditto.
12059
12060 2010-03-15  Tom Tromey  <tromey@redhat.com>
12061
12062         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12063         * gdb.cp/userdef.cc (operator==): New function.
12064         (main): New locals mem1, mem2.
12065
12066 2010-03-15  Jie Zhang  <jie@codesourcery.com>
12067
12068         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12069         Declare and use new loadtimeout variable.
12070
12071 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
12072
12073         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12074         Use gdb_load later.
12075
12076 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
12077
12078         * gdb.base/solib-disc.c (main): Make format of fprintf a string
12079         literal.  Add missing endlines to prints to stderr.
12080
12081 2010-03-12  Tom Tromey  <tromey@redhat.com>
12082
12083         PR c++/9708:
12084         * gdb.cp/m-static.exp: Add regression test.
12085         * gdb.cp/m-static.cc (method): New method.
12086         (main): Call it.
12087
12088 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
12089
12090         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12091         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12092
12093 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
12094
12095         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12096
12097 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
12098
12099         * lib/gdb.exp (skip_stl_tests): New.
12100         (gdb_compile): Symbian needs -ldl.
12101         (shlib_target_file): New.
12102         (shlib_symbol_file): New.
12103         (gdb_load_shlibs): Use shlib_target_file.
12104         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12105         * gdb.cp/exception.exp: Use skip_stl_tests.
12106         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
12107         * gdb.cp/try_catch.exp: Use skip_stl_tests.
12108         * gdb.cp/mb-templates.exp: Ditto.
12109         * gdb.base/commands.exp: Relax regexes.
12110         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
12111         shlib_target_file and shlib_symbol_file.
12112         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
12113         sections.
12114         * gdb.base/ending-run.exp: Accept E32Main for symbian.
12115         * gdb.base/solib-disc.exp: Use
12116         shlib_target_file and shlib_symbol_file.
12117         * gdb.base/unload.exp: Don't skip on symbian.  Use
12118         shlib_target_file and shlib_symbol_file.
12119         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12120
12121 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
12122
12123         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12124         * gdb.trace/report.exp: Adjust for x86 and x86_64.
12125         Issue a tfind end before looking for a tracepoint frame.
12126         * gdb.trace/tfind.exp: Adjust tstatus output.
12127         Adjust disassembly output.
12128         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12129
12130 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12131
12132         * gdb.base/break-interp.exp: Create new displacement parameter value
12133         for the test_ld calls.
12134         (reach): New parameter displacement, verify its content.  New push of
12135         pf_prefix "reach-$func:".  Import global expect_out.
12136         (test_core): New parameter displacement, verify its content.  New push
12137         of pf_prefix "core:".  New command "set verbose on".  Import global
12138         expect_out.
12139         (test_attach): New parameter displacement, verify its content.  New
12140         push of pf_prefix "attach:".  New command "set verbose on".  Import
12141         global expect_out.
12142         (test_ld): New parameter displacement, pass it to the reach, test_core
12143         and test_attach calls and verify its content in the "ld.so exit" test.
12144         * gdb.base/prelink.exp: Remove gdb_exit and final return.
12145         (prelink): Update expected text, use gdb_test.
12146
12147 2010-03-10  Doug Evans  <dje@google.com>
12148
12149         * gdb.base/checkpoint.exp: Fix comment.
12150         Lengthen timeout while doing >600 checkpoints test.
12151         Rename duplicate "kill all one" test to keep test names unique.
12152
12153 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
12154
12155         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12156
12157 2010-03-08  Keith Seitz  <keiths@redhat.com>
12158
12159         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12160         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12161         (dm_type_long): New function.
12162         (dm_type_unsigned_short): New function.
12163         (dm_type_unsigned_long): New function.
12164         (myint): New typedef.
12165         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12166         long, unsigned shor and long, operator char*, and typedef.
12167         (test_lookup_operator_functions): Add operator char* test.
12168         (test_paddr_operator_functions): Likewise.
12169         (test_paddr_overloaded_functions): Use probe values for
12170         short, long, and unsigned short and long.
12171         (test_paddr_hairy_functions): If the demangler probe detected
12172         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12173         demangler.
12174         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12175         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12176         and "print null_pmf".
12177         Add test "ptype a.*pmf".
12178         * gdb.cp/overload.exp: Allow optional "int" to appear with
12179         "short" and "long".
12180         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12181         long expect value for men_overload1arg.
12182         Allow "int" to appear with "short" and "long".
12183         When testing "info break", add argument for main (void).
12184         Also allow "int" to appear with "short" and "long".
12185         Ditto with "unsigned" and "long long".
12186         * gdb.java/jmain.exp: Do not enclose methods names in single
12187         quotes.
12188         * gdb.java/jmisc.exp: Likewise.
12189         * gdb.java/jprint.exp: Likewise.
12190         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12191
12192         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
12193         * gdb.cp/exception.exp (backtrace after first throw)
12194         (backtrace after second throw): Allow a namespace before __cxa_throw.
12195         (backtrace after first catch, backtrace after second catch): Allow
12196         a namespace before __cxa_begin_catch.
12197
12198         * gdb.cp/cpexprs.exp: New file.
12199         * gdb.cp/cpexprs.cc: New file.
12200
12201         From Daniel Jacobowitz  <dan@codesourcery.com>
12202         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
12203         to use string_to_regexp.
12204         (ctor, dtor): New functions.  Use them to match constructor
12205         and destructor function types.
12206         (Top level): Use runto_main.
12207
12208 2010-03-05  Tom Tromey  <tromey@redhat.com>
12209
12210         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12211         gdb.target_charset.
12212         (pp_ns.to_string): Likewise.
12213
12214 2010-03-04  Keith Seitz  <keiths@redhat.com>
12215
12216         * gdb.cp/overload.exp: Test that the filename portion of a linespec
12217         can be quoted.  Test that both the filename and function/line
12218         portions can be quoted at the same time.
12219
12220 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
12221
12222         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12223
12224 2010-03-03  Doug Evans  <dje@google.com>
12225
12226         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12227         libc contains libpthread.
12228
12229         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12230         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12231         of gdb_compile.  Add another pattern to match android backtrace.
12232
12233 2010-03-03  Tom Tromey  <tromey@redhat.com>
12234
12235         PR gdb/11345:
12236         * gdb.base/printcmds.exp (test_printf): Add test.
12237
12238 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
12239
12240         * gdb.arch/amd64-byte.exp: New.
12241         * gdb.arch/amd64-dword.exp: Likewise.
12242         * gdb.arch/amd64-pseudo.c: Likewise.
12243         * gdb.arch/amd64-word.exp: Likewise.
12244         * gdb.arch/i386-byte.exp: Likewise.
12245         * gdb.arch/i386-pseudo.c: Likewise.
12246         * gdb.arch/i386-word.exp: Likewise.
12247
12248 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
12249
12250         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12251         types.  Add structreg, bitfields, and flags registers.
12252         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12253         registers.
12254
12255 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12256
12257         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
12258         (load_description): Set architecture if defined.
12259
12260 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
12261
12262         * gdb.python/py-frame.exp: Add read_var block tests.
12263         * gdb.python/py-frame.c (block): New function.
12264
12265 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12266             Daniel Jacobowitz  <dan@codesourcery.com>
12267
12268         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
12269
12270 2010-02-25  David S. Miller  <davem@davemloft.net>
12271
12272         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12273         fix logic for setting all_syscalls_numbers.
12274
12275 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
12276
12277         * Makefile.in: Add py-block and py-symbol.
12278         * gdb.python/py-symbol.exp: New File.
12279         * gdb.python/py-symtab.exp: New File.
12280         * gdb.python/py-block.exp: New File.
12281         * gdb.python/py-symbol.c: New File.
12282         * gdb.python/py-block.c: New File.
12283
12284 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
12285
12286         PR python/11314
12287         * lib/gdb.exp (skip_python_tests): New function.
12288         * gdb.python/py-cmd.exp: Use skip_python_tests.
12289         * gdb.python/py-frame.exp: Likewise.
12290         * gdb.python/py-function.exp: Likewise.
12291         * gdb.python/py-prettyprint.exp: Likewise.
12292         * gdb.python/py-template.exp: Likewise.
12293         * gdb.python/py-type.exp: Likewise.
12294         * gdb.python/py-value.exp: Likewise.
12295
12296 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
12297
12298         PR9605
12299
12300         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12301
12302 2010-02-19  Tom Tromey  <tromey@redhat.com>
12303
12304         PR c++/8693, PR c++/9496:
12305         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
12306         regression tests.
12307
12308 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12309
12310         Fix compatibility with m68k as.
12311         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
12312         Use only /* comments */.
12313
12314 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12315
12316         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12317         * configure: Regenerate.
12318
12319 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
12320
12321         * gdb.python/py-type.exp: Check for Python support.
12322
12323 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
12324
12325         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12326         `regsub' syntax available.
12327
12328 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
12329
12330         * gdb.base/shmain.c (main): Remove printf call.
12331         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12332         * gdb.base/unload.c (main): Make format of fprintf a string
12333         literal.  Add missing endlines to prints to stderr.
12334         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12335
12336 2010-02-17  Tom Tromey  <tromey@redhat.com>
12337
12338         * gdb.java/jprint.java (jprint.props): New field.
12339         * gdb.java/jprint.exp (set_lang_java): Add regression test.
12340
12341 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
12342
12343         * gdb.base/charset.exp: Don't assume new `regsub' syntax
12344         available.
12345
12346 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12347
12348         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12349         creation to support remote host testing.
12350
12351 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12352
12353         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12354         Recognize "command not found".
12355
12356 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12357
12358         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12359         single-stepping.
12360
12361 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12362
12363         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12364         if arguments are not supported.
12365
12366 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12367
12368         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12369         be const or non-const.
12370
12371 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12372
12373         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12374         mi_send_resuming_command to send -exec-continue.
12375
12376 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12377
12378         * gdb.base/list.exp (test_list_filename_and_function): Add test
12379         with single quotes.
12380         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12381         matching.
12382         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12383         Add KFAIL'd tests for PR gdb/11289.
12384
12385 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12386
12387         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12388
12389 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12390
12391         * gdb.base/comp-dir/subdir/dummy.txt: New file.
12392         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12393         a temporary directory.
12394
12395 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
12396
12397         * gdb.base/charset.exp: Use a single regular expression to match
12398         show host-charset and show target-charset output.
12399
12400 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
12401
12402         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12403         "Illegal process-id" expect string more exact.
12404         (attach to digits-starting nonsense is prohibited): New.
12405
12406 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12407
12408         * gdb.base/prelink.exp (set verbose on): New.
12409
12410 2010-02-12  Tomas Holmberg  <th@virtutech.com>
12411
12412         * mi-reverse.exp: New file. Test for reverse option to the
12413         following MI commands: exec-continue, exec-finish, exec-next,
12414         exec-step, exec-next-instruction, exec-step-instruction.
12415
12416 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
12417
12418         * gdb.ada/ptype_tagged_param: New testcase.
12419
12420 2010-02-08  Tom Tromey  <tromey@redhat.com>
12421
12422         PR c++/8017:
12423         * gdb.cp/overload.exp: Add tests.
12424         * gdb.cp/overload.cc (struct K): New.
12425         (namespace N): New.
12426         (main): Call new functions.
12427         (K::staticoverload): Define.
12428
12429 2010-02-08  Chris Moller  <moller@mollerware.com>
12430
12431         PR gdb/10728
12432         * gdb.cp/pr10728-x.h: New file.
12433         * gdb.cp/pr10728-x.cc: New file.
12434         * gdb.cp/pr10728-y.cc: New file.
12435         * gdb.cp/pr10728.exp: New file.
12436         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12437
12438 2010-02-08  Chris Moller  <moller@mollerware.com>
12439
12440         PR gdb/9067
12441         * gdb.cp/pr9067.exp:  New
12442         * gdb.cp/pr9067.cc:   New
12443         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12444
12445 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
12446
12447         * lib/gdb.exp (gdb_test_timeout): New global variable.
12448         Set it to timeout if not already set.
12449         (gdb_init): Reset the value of timeout to gdb_test_timeout.
12450
12451 2010-02-05  Doug Evans  <dje@google.com>
12452
12453         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12454         user.
12455
12456 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
12457
12458         PR c++/7935:
12459         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12460
12461 2010-02-04  Tom Tromey  <tromey@redhat.com>
12462
12463         * gdb.cp/virtbase.exp: Make test case names unique.
12464
12465 2010-02-02  Tom Tromey  <tromey@redhat.com>
12466
12467         * gdb.cp/virtbase.exp: Add regression tests.
12468         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12469         (main): Instantiate RHC.
12470
12471 2010-02-02  Tom Tromey  <tromey@redhat.com>
12472
12473         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12474         type-printing change.
12475
12476 2010-02-02  Tom Tromey  <tromey@redhat.com>
12477
12478         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12479         * gdb.cp/virtbase.cc: New file.
12480         * gdb.cp/virtbase.exp: New file.
12481         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12482
12483 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12484
12485         PR libc/11214:
12486         * gdb.threads/current-lwp-dead.c: Include features.h.
12487         (HAS_NOMMU): New.
12488         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12489
12490 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12491
12492         * gdb.base/symbol-without-target_section.exp,
12493         gdb.base/symbol-without-target_section.c: New.
12494
12495 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12496
12497         * gdb.base/bigcore.exp: Reset increased timeout.
12498         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12499
12500 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12501
12502         * gdb.base/gcore.exp (capture_command_output): Use
12503         gdb_test_multiple.
12504
12505 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12506
12507         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12508         * gdb.arch/thumb2-it.exp (test_it_break): New function.
12509         (Top level): Call it.
12510
12511 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
12512
12513         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12514
12515 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
12516
12517         * gdb.base/call-strs.exp, gdb.base/default.exp,
12518         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12519         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12520         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12521         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12522         gdb.base/watchpoint-solib.exp: Save and restore timeout.
12523         * gdb.base/ending-run.exp: Correct restore of timeout.
12524         * gdb.base/page.exp: Remove unnecessary timeout setting.
12525
12526 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
12527
12528         * gdb.ada/rec_return: New testcase.
12529
12530 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
12531
12532         * gdb.ada/call_pn: New testcase.
12533
12534 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12535
12536         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12537         (Top level): Use it to resume.
12538         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12539         the Thumb mode displaced stepping error as unsupported.
12540
12541 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
12542
12543         * gdb.cp/nsusing.exp: Added more tests.
12544         * gdb.cp/nsrecurs.exp: Ditto.
12545         * gdb.cp/nsusing.cc: Added test functions.
12546         * gdb.cp/nsrecurs.cc: Ditto.
12547
12548 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
12549
12550         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12551         absolute directory pathnames in gdb.sum file.
12552
12553 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
12554
12555         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12556         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12557
12558 2010-01-26  Tom Tromey  <tromey@redhat.com>
12559
12560         PR exp/7643:
12561         * gdb.base/printcmds.exp (test_print_string_constants): Remove
12562         setup_kfail.
12563
12564 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
12565
12566         * gdb.cp/nsrecurs.exp: New test.
12567         * gdb.cp/nsrecurs.cc: New test program.
12568         * gdb.cp/nsstress.exp: New test.
12569         * gdb.cp/nsstress.cc: New test program.
12570         * gdb.cp/nsdecl.exp: New test.
12571         * gdb.cp/nsdecl.cc: New test program.
12572
12573 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
12574
12575         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12576         imported into file scope.
12577         Marked test as xfail.
12578         * gdb.cp/namespace-using.cc (marker5): New function.
12579         * gdb.cp/shadow.exp: New test.
12580         * gdb.cp/shadow.cc: New test program.
12581         * gdb.cp/nsimport.exp: New test.
12582         * gdb.cp/nsimport.cc: New test program.
12583
12584 2010-01-25  Tom Tromey  <tromey@redhat.com>
12585
12586         PR gdb/11049:
12587         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12588         with "set print null-stop on".
12589
12590 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12591
12592         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12593         Adjust it for DISASSEMBLY_OMIT_FNAME.
12594
12595 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12596
12597         PR symtab/11199:
12598         * gdb.dwarf2/member-ptr-forwardref.exp,
12599         gdb.dwarf2/member-ptr-forwardref.S: New.
12600
12601 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12602
12603         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12604         (thread1_func): Protect thread1_tid with thread1_tid_cond by
12605         thread1_tid_mutex.  Remove gdbstop_mutex handling.
12606         (thread2_func): Protect thread2_tid with thread2_tid_cond by
12607         thread2_tid_mutex.  Remove gdbstop_mutex handling.
12608         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12609         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
12610         pthread_cond_wait conditionalizations by while loops.
12611
12612 2010-01-20  Tom Tromey  <tromey@redhat.com>
12613
12614         PR backtrace/10770:
12615         * gdb.dwarf2/pr10770.exp: New file.
12616         * gdb.dwarf2/pr10770.c: New file.
12617         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12618
12619 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
12620
12621         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12622         that target was removed, and the test always runs native anyway.
12623
12624 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12625
12626         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12627         gdb.base/watchpoint-cond-gone-stripped.c: New.
12628
12629 2010-01-19  Tom Tromey  <tromey@redhat.com>
12630
12631         PR c++/8000:
12632         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
12633         existing tests.
12634         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12635         (main): Use AAA::SomeEnum.
12636
12637 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
12638
12639         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12640         (test_ignore_count): Declare line_callme_body global.
12641         (run to breakpoint with ignore count): Use line_callme_body.
12642         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12643         (set line_main_hello, set line_main_return): Reindent.
12644         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12645         New.
12646         (continue to callee4): Use line_callee4_body.
12647         (check *stopped from CLI command): Use line_callee4_next.
12648         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12649         (set line_main_hello, set line_main_return): Reindent.
12650         (set line_callee4_head, set line_callee4_body): New.
12651         (continue to callee4): Use line_callee4_body.
12652
12653 2010-01-18  Tom Tromey  <tromey@redhat.com>
12654
12655         PR c++/9680:
12656         * gdb.cp/casts.cc: Add new classes and variables.
12657         * gdb.cp/casts.exp: Test new operators.
12658
12659 2010-01-18  Tom Tromey  <tromey@redhat.com>
12660             Thiago Jung Bauermann  <bauerman@br.ibm.com>
12661
12662         * gdb.python/source2.py: New file.
12663         * gdb.python/source1: New file.
12664         * gdb.python/python.exp: Test "source" command.
12665
12666 2010-01-15  Stan Shebs  <stan@codesourcery.com>
12667
12668         * gdb.trace/tfile.c: New file.
12669         * gdb.trace/tfile.exp: New file.
12670
12671 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12672
12673         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12674
12675 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12676
12677         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12678
12679 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12680
12681         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12682         (libfunc): New parameter action.  Implement also selectable "sleep".
12683         * gdb.base/break-interp-main.c: Include assert.h.
12684         (libfunc): New parameter action.
12685         (main): New parameters argc and argv.  Assert argc.  Pass argv.
12686         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12687         (test_attach): New proc.
12688         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
12689         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
12690
12691 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12692
12693         * gdb.base/break-interp.exp (test_core): New proc.
12694         (test_ld): Call it.
12695
12696 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12697
12698         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12699         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
12700         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
12701         and gdb_compile_shlib.  Use new -Wl compiler options.
12702         (dl bt, main bt): New tests.
12703
12704 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12705
12706         Support PIEs with no symfile_objfile.
12707         * gdb.base/break-interp.exp: New argument at the test_ld calls.
12708         (test_ld): New parameter trynosym.
12709         (test_ld <$trynosym>): New block.
12710
12711 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
12712
12713         * gdb.base/break-interp.exp: New file.
12714
12715 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
12716
12717         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12718         * gdb.python/py-prettyprint.py (pp_ls): New printer.
12719         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12720         test.
12721         * gdb.python/py-prettyprint.c: Define lazystring test structure.
12722         * gdb.python/py-mi.exp: Add lazy string test.
12723
12724 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
12725
12726         * lib/mi-support.exp (mi_check_thread_states): Handle
12727         core number in thread listing.
12728
12729 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
12730
12731         * gdb.base/maint.exp: Adjust the expected output for the
12732         "maint print type" test. Use gdb_test_multiple instead of
12733         gdb_sent/gdb_expect.
12734
12735 2010-01-11  Doug Evans  <dje@google.com>
12736
12737         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12738         from gdbserver_download.  All callers updated.
12739
12740         * gdb.server/ext-run.exp: "info os processes" requires xml support.
12741
12742 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12743
12744         Implement binary numbers parsing.
12745         * gdb.base/printcmds.exp (test_integer_literals_accepted)
12746         (test_integer_literals_rejected): New binary tests.
12747
12748 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12749
12750         * gdb.cell/configure: Regenerate.
12751
12752 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12753
12754         * gdb.base/corefile.exp: Move the core finding block out and call it as
12755         core_find, new variable $corefile, replace corefile by $corefile and
12756         [file tail $corefile] for usage vs. test names resp.
12757         * lib/gdb.exp (core_find): Move it as a new function here.  New
12758         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
12759         $destcore.  Return "" on error.
12760
12761 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
12762
12763         Workaround PR binutils/10802.
12764         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12765         (twice).
12766
12767 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
12768
12769         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12770
12771 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
12772
12773         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12774         call, to avoid interruption.
12775
12776 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
12777
12778         * gdb.stabs/weird.def (args93): New.
12779
12780 2010-01-07  Doug Evans  <dje@google.com>
12781
12782         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12783
12784 2010-01-07  Tom Tromey  <tromey@redhat.com>
12785
12786         * gdb.base/source.exp: Use correct line number.
12787
12788 2010-01-05  Stan Shebs  <stan@codesourcery.com>
12789
12790         * gdb.trace/tracecmd.exp: Test ftrace.
12791
12792 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12793
12794         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12795
12796 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12797
12798         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12799         "uint_for_mi_testing".
12800
12801 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12802
12803         Test indented comment in file being sourced.
12804         * gdb.base/commands.exp: Test indented comment in file being sourced.
12805
12806 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12807
12808         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12809         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12810         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12811         notice.
12812
12813 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12814
12815         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12816         notice.
12817
12818 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12819
12820         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12821         missing $after_stopped and comma (,) expectation.
12822
12823 2009-12-31  Stan Shebs  <stan@codesourcery.com>
12824
12825         * gdb.trace/actions.exp: Test teval action.
12826
12827 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
12828
12829         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12830         (top level): Call test_watchpoint_in_big_blob.
12831         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12832         watchpoints.
12833         (func3): Write to buf.
12834
12835 2009-12-29  Stan Shebs  <stan@codesourcery.com>
12836
12837         * gdb.trace/actions.exp: Test default-collect.
12838
12839 2009-12-28  Stan Shebs  <stan@codesourcery.com>
12840
12841         * gdb.trace/tsv.exp: New file.
12842         * gdb.base/completion.exp: Update ambiguous info output.
12843
12844 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
12845
12846         * gdb.base/find.c (main): Reference search buffers.
12847         * gdb.base/included.c (main): Reference integer.
12848         * gdb.base/ptype.c (charfoo): Declare.
12849         (intfoo): Call charfoo.
12850         * gdb.base/scope0.c (useitp): New function.
12851         (usestatics): Use useitp.
12852         (useit): Add a type for val.
12853         * gdb.base/scope1.c (useit1): Take a pointer argument.
12854         (usestatics1): Update calls to useit1.
12855         * gdb.cp/call-c.cc: Declare foo.
12856         (main): Call foo.
12857         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12858         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12859         (main): Call C::ensureRefs and ensureOtherRefs.
12860         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12861         variables.
12862         (ensureOtherRefs): New function.
12863         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12864         * gdb.cp/templates.cc (main): Call t5i.value.
12865
12866 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12867
12868         Fix compatibility with G++-4.5.
12869         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12870         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12871         (uncaught return): Remove.
12872
12873 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
12874             Phil Muldoon  <pmuldoon@redhat.com>
12875
12876         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12877         (bp_location13, bp_location14, bp_location17, bp_location18)
12878         (marker3_proto, marker4_proto): New variables.
12879         (breakpoint info): Update output.
12880         (run until breakpoint at marker3, run until breakpoint at marker4): New
12881         tests.
12882
12883 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
12884
12885         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12886         Replace the printf call of Y by provided "y-set-1" label.  New block
12887         for the second shared library.
12888         * gdb.base/unload.exp: Compile also the second library, call
12889         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
12890         (single pending breakpoint info): Rename to ...
12891         (pending breakpoint info before run): ... this extended test.
12892         (libfile2, libname2, libsrcfile2, libsrc2)
12893         (lib_sl2): New variables.
12894         (exec_opts): Set also SHLIB_NAME2.
12895         (pending breakpoint info on first run at shrfunc1)
12896         (pending breakpoint info on second run at shrfunc1)
12897         (pending breakpoint info on second run at shrfunc2)
12898         (print y from libfile, print y from libfile2): New tests.
12899         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12900         * gdb.base/unloadshr2.c: New.
12901
12902 2009-12-22  Hui Zhu  <teawater@gmail.com>
12903
12904         * gdb.reverse/sigall-reverse.exp: Adjust.
12905
12906 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
12907
12908         PR gdb/10884
12909
12910         * gdb.mi/var-cmd.c (do_bitfield_tests): New
12911         (main): Call do_bitfield_tests.
12912         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12913
12914 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
12915
12916         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12917         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12918         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12919         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12920         gdb.modula2/unbounded1.c: Update copyright header.
12921
12922 2009-12-10  Chris Moller  <moller@mollerware.com>
12923
12924         PR gdb/9399
12925         * gdb.cp/virtfunc2.exp: New tests
12926         * gdb.cp/virtfunc2.cc: New tests
12927         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12928
12929 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
12930
12931         * gdb.reverse/i387-env-reverse.c: New file.
12932         * gdb.reverse/i387-env-reverse.exp: New file.
12933         * gdb.reverse/i387-stack-reverse.c: New file.
12934         * gdb.reverse/i387-stack-reverse.exp: New file.
12935
12936 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
12937
12938         * gdb.python/py-type.exp (test_range): New test.
12939
12940 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
12941
12942         PR python/10805
12943
12944         * gdb.python/py-type.exp: New file.
12945         * gdb.python/py-type.c: New file.
12946         * Makefile.in: Add py-type.
12947
12948 2009-12-03  Tom Tromey  <tromey@redhat.com>
12949
12950         * gdb.python/py-value.exp (test_parse_and_eval): New
12951         function.
12952
12953 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12954
12955        PR gdb/11022
12956
12957        * gdb.base/pr11022.exp: New test.
12958        * gdb.base/pr11022.c: New test.
12959
12960 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12961
12962         Fix spurious false FAILs.
12963         * gdb.base/structs.c (chartest): New.
12964         (main): Fill-in chartest.
12965         * gdb.base/structs.exp (anychar_re, first): New.
12966         (start_structs_test): Import global anychar_re and first.
12967         New gdb_test call "set print elements 300; ${testfile}"
12968         (start_structs_test <$first>): New block.
12969         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
12970
12971 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12972
12973         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12974
12975 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12976
12977         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12978         Force $srcfile file.
12979         * gdb.base/foll-fork.c (callee): Comment out the printf call.
12980
12981 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12982
12983         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12984         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12985         * gdb.threads/watchthreads-reorder.exp: Likewise.
12986
12987 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
12988
12989         PR gdb/8704
12990
12991         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12992         "if", and "thread".  Correct matching in the previous test.
12993
12994 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
12995
12996         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12997
12998 2009-11-23  Michael Snyder  <msnyder@vmware.com>
12999
13000         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13001         * gdb.reverse-watch-precsave.exp: Ditto.
13002
13003 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
13004
13005         * gdb.asm/asm-source.exp: Adjust.
13006         * gdb.base/help.exp: Adjust.
13007
13008 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
13009
13010         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13011         (do_syscall_tests_without_xml): Set data-directory to
13012         /the/path/to/nowhere.
13013
13014 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
13015
13016         * gdb.threads/local-watch-wrong-thread.c,
13017         gdb.threads/local-watch-wrong-thread.exp: New files.
13018
13019 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
13020
13021         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13022         assume new `regsub' syntax available.
13023
13024 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
13025
13026         * gdb.base/watchpoint-hw-hit-once.exp,
13027         gdb.base/watchpoint-hw-hit-once.c: New.
13028
13029 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
13030
13031         * gdb.threads/watchthreads-reorder.exp,
13032         gdb.threads/watchthreads-reorder.c: New.
13033
13034 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
13035
13036         * gdb.xml/tdesc-regs.exp: Use for m68k.
13037
13038 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
13039
13040         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13041
13042 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
13043
13044         * lib/gdb.exp (current_target_name): New procedure.
13045         (gdb_wrapper_target): New variable.
13046         (gdb_wrapper_init): Set gdb_wrapper_target.
13047         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13048         wrapper.
13049
13050 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
13051
13052         * gdb.base/remote.exp: Delete the slowest load test.
13053         Do not load with fixed packet sizes.
13054
13055 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
13056
13057         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13058
13059 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
13060
13061         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
13062         srcfile when setting a breakpoint.
13063
13064 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
13065
13066         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13067         macros.
13068
13069 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
13070
13071         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13072         to be in memory.
13073         * gdb.base/display.c (force_mem): New.
13074         (do_loops): Use it.  Add breakpoint comments.
13075         (do_vars): Add a breakpoint comment.
13076         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
13077         line numbers.
13078
13079 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
13080
13081         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13082         instead of a bare "run".
13083
13084 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
13085
13086         * gdb.python/py-prettyprint.exp: Adjust.
13087
13088 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
13089
13090         * lib/cell.exp (skip_cell_tests): Clean up test files before
13091         returning.
13092
13093 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
13094
13095         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13096         and the breakpoint menu.  Do not call perror if a prompt is seen.
13097         Consume the following GDB prompt.
13098         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13099         * gdb.cp/namespace.exp: Use gdb_test.
13100         * gdb.cp/templates.exp: Use gdb_test.
13101         (test_template_breakpoints): Use gdb_test_multiple.
13102
13103 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
13104
13105         * gdb.base/break1.c (struct some_struct, values): Move earlier.
13106         (marker4): Reference values.
13107
13108 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
13109
13110         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13111         is missing.
13112
13113 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
13114
13115         * gdb.base/break.c (need_malloc): New.
13116         * gdb.base/constvars.c (main): Reference crass and crisp.
13117         * gdb.base/gdb1821.c (main): Reference bar.
13118         * gdb.cp/gdb1355.cc (main): Reference s1.
13119         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13120         (main): Call them.
13121         * gdb.cp/hang2.cc (dummy2): Define.
13122         * gdb.cp/hang3.cc (dummy3): Define.
13123         * gdb.cp/m-data.cc (main): Reference shadow.
13124
13125 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
13126             Nathan Froyd  <froydnj@codesourcery.com>
13127
13128         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13129         remote host.
13130
13131 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
13132
13133         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13134         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13135         * gdb.dwarf2/dw2-compressed.exp: Likewise.
13136         * gdb.dwarf2/dw2-intercu.exp: Likewise.
13137         * gdb.dwarf2/dw2-intermix.exp: Likewise.
13138         * gdb.dwarf2/dw2-producer.exp: Likewise.
13139         * gdb.dwarf2/mac-fileno.exp: Likewise.
13140         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13141         py-prettyprint.py to the remote host.
13142         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13143
13144 2009-11-11  Keith Seitz  <keiths@redhat.com>
13145
13146         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13147         use it instead of "Foo".
13148         * gdb.cp/classes.exp (do_tests): Add a test to access
13149         a method through a typedef'd class name.
13150
13151 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
13152
13153         * gdb.base/long_long.exp: Permit leading zeros on floating-point
13154         exponents.
13155         * gdb.base/pointers.exp: Likewise.
13156         * gdb.cp/ref-types.exp: Likewise.
13157
13158 2009-11-11  Keith Seitz  <keiths@redhat.com>
13159
13160         * gdb.cp/cplusfuncs.cc (class foo): Add operators
13161         new[] and delete[].
13162         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13163         "void".
13164         (probe_demangler): Remove all single-quoting of
13165         method and variable names.
13166         (info_func_regexp): Remove the word "void" from any
13167         occurrence of "(void)".
13168         (print_addr_2): Remove all single-quoting of
13169         method names.
13170         (print_addr_2_kfail): Likewise.
13171         (print_addr): Single-quote C function names before
13172         passing to print_addr_2.
13173         (test_paddr_operator_functions): Remove single-quoting
13174         for method names.
13175         Add tests for operator new[] and operator delete[].
13176
13177 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13178
13179         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13180
13181 2009-11-09  Keith Seitz  <keiths@redhat.com>
13182
13183         * gdb.cp/overload.exp: Add tests for resolving overloaded
13184         methods in expression parsing/evaluation.
13185
13186 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
13187
13188         * lib/gdb.exp (default_gdb_version): Use --version instead of
13189         --command.
13190
13191 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
13192
13193         * lib/gdb.exp (gdb_compile_test): New.
13194         (skip_ada_tests, skip_java_tests): New.
13195         (gdb_compile): Use gdb_compile_test for f77.
13196         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13197         * lib/java.exp (compile_java_from_source): Remove runtests check,
13198         use gdb_compile_test to record result.
13199         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13200         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13201         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13202         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13203         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13204         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13205         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13206         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13207         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13208         adjust gdb_compile invocations.
13209
13210 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
13211
13212         * Makefile.in (abs_builddir): New.
13213         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
13214         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13215         `$(abs_builddir)/site.exp'.
13216
13217 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
13218
13219         * config/m68k-emc.exp, lib/emc-support.exp,
13220         gdb.trace/gdb_c_test.c: Delete.
13221         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13222         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13223         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13224         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13225         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13226         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13227         casing for m68k-*-elf.
13228
13229 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
13230
13231         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13232         * gdb.arch/i386-prologue.exp: Likewise.
13233         * gdb.arch/i386-unwind.exp: Likewise.
13234
13235 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
13236
13237         * lib/gdb.exp (gdb_expect): Fix timeout typo.
13238
13239 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
13240
13241         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13242
13243 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
13244
13245         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13246
13247 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13248
13249         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13250
13251 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13252
13253         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13254         * gdb.base/sepdebug2.c: New file.
13255
13256 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13257
13258         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13259         the modified warnings for catch syscall.  Verify if GDB was compiled
13260         with support for lib expat, and choose which tests to run depending
13261         on this.
13262
13263 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
13264
13265         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13266         that composite commands are parsed OK. And also test
13267         that breakpoint commands do work.
13268
13269 2009-10-23  Michael Snyder  <msnyder@vmware.com>
13270
13271         gdb.reverse/consecutive-precsave.exp: Change expect pattern
13272         to allow for new disassembly style.
13273
13274 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13275
13276         * gdb.asm/asm-source.exp: Adjust.
13277
13278 2009-10-22  Michael Snyder  <msnyder@vmware.com>
13279
13280         * gdb.reverse/break-precsave.exp: New test.
13281         * gdb.reverse/consecutive-precsave.exp: Ditto.
13282         * gdb.reverse/finish-precsave.exp: Ditto.
13283         * gdb.reverse/i386-precsave.exp: Ditto.
13284         * gdb.reverse/machinestate-precsave.exp: Ditto.
13285         * gdb.reverse/sigall-precsave.exp: Ditto.
13286         * gdb.reverse/solilb-precsave.exp: Ditto.
13287         * gdb.reverse/step-precsave.exp: Ditto.
13288         * gdb.reverse/until-precsave.exp: Ditto.
13289         * gdb.reverse/watch-precsave.exp: Ditto.
13290
13291 2009-10-22  Michael Snyder  <msnyder@vmware.com>
13292
13293         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13294         for gdb_expect.  Adjust one test's expect strings for the new
13295         format of disassemble.
13296         * gdb.reverse/finish-reverse.exp: Delete 'return'.
13297         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13298         gdb_test_multiple.
13299         * gdb.reverse/step-reverse.exp: Delete 'return'.
13300         * gdb.reverse/until-reverse.exp: Delete blank lines.
13301         * gdb.reverse/watch-reverse.exp: Delete blank lines.
13302
13303 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
13304
13305         * gdb.base/consecutive.exp: Adjust.
13306         * gdb.base/display.exp: Likewise.
13307         * gdb.base/pc-fp.exp: Likewise.
13308         * gdb.base/sigbpt.exp: Likewise.
13309
13310 2009-10-19  Michael Snyder  <msnyder@vmware.com>
13311
13312         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13313         * gdb.reverse/finish-reverse.c: Ditto.
13314         * gdb.reverse/sigall-reverse.c: Ditto.
13315         * gdb.reverse/solib-reverse.c: Ditto.
13316         * gdb.reverse/step-reverse.c: Ditto.
13317         * gdb.reverse/watch-reverse.c: Ditto.
13318
13319 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
13320             Stan Shebs  <stan@codesourcery.com>
13321
13322         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13323         * gdb.base/foll-exec.exp: Adjust to expect a process id before
13324         "Executing new program".
13325         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13326         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
13327         left listed after having been killed.
13328         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13329         * gdb.base/maint.exp: Adjust test.
13330
13331         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13332         * gdb.multi/Makefile.in: New.
13333         * gdb.multi/base.exp: New.
13334         * gdb.multi/goodbye.c: New.
13335         * gdb.multi/hangout.c: New.
13336         * gdb.multi/hello.c: New.
13337         * gdb.multi/bkpt-multi-exec.c: New.
13338         * gdb.multi/bkpt-multi-exec.exp: New.
13339         * gdb.multi/crashme.c: New.
13340
13341 2009-10-13  Tristan Gingold  <gingold@adacore.com>
13342
13343         * gdb.base/sepdebug.exp: Check debug info are found.
13344
13345 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
13346
13347         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13348         bits.
13349
13350 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13351
13352         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13353
13354 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
13355
13356         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
13357         of the comments.
13358
13359 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
13360
13361         * gdb.base/annota1.exp: Remove obsolete match_max increase.
13362         * gdb.base/annota3.exp: Idem.
13363         * gdb.base/maint.exp: Idem.
13364
13365 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
13366
13367         * lib/gdb.exp (default_gdb_init): Set current value of match_max
13368         to default.
13369
13370 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
13371
13372         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13373         mingw and cygwin targets.
13374
13375 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
13376             Pedro Alves  <pedro@codesourcery.com>
13377
13378         * lib/gdb.exp (gdb_compile): Avoid adding
13379         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13380
13381 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
13382
13383         * gdb.base/shr1.c: Use %p in format string.
13384         * gdb.base/unload.c: Avoid warning in fprintf.
13385         * gdb.base/watchpoint-solib.c: Idem.
13386
13387 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
13388
13389         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13390         long type.
13391         (test_unlink): Correct printf string.
13392         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13393         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13394
13395 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13396
13397         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13398         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13399         * gdb.arch/ia64-breakpoint-shadow.S: New file.
13400
13401 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13402
13403         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13404         * gdb.objc/nondebug.exp: Likewise.
13405
13406 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13407
13408         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13409         target_info setting.
13410
13411         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13412         that detect new threads during "info threads".
13413
13414 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13415
13416         * gdb.threads/manythreads.c (main): Increase thread stack size
13417         to 2*PTHREAD_STACK_MIN.
13418         * gdb.threads/multi-create.c (main): Likewise.
13419         (create_function): Likewise.
13420
13421 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13422
13423         * gdb.base/dump.exp: Pass difference of pointer types instead
13424         of integer types as offset to restore in intarr3.srec case.
13425
13426 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13427
13428         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13429
13430 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13431
13432         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13433
13434 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
13435
13436         New test for two watchpoints, with disabling of
13437         the first inserted.
13438         * testsuite/gdb.base/watchpoints.c: New file.
13439         * testsuite/gdb.base/watchpoints.exp: New file.
13440
13441 2009-09-25  Tom Tromey  <tromey@redhat.com>
13442
13443         * gdb.base/charset.exp: Test utf-16 strings with Python.
13444
13445 2009-09-25  Tom Tromey  <tromey@redhat.com>
13446
13447         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13448         UCS-4.
13449         * gdb.base/charset.c (utf_32_string): Rename.
13450         (init_utf32): Rename.
13451         (main): Update.
13452
13453 2009-09-22  Tom Tromey  <tromey@redhat.com>
13454
13455         * gdb.python/py-function.exp: Add regression tests.
13456
13457 2009-09-21  Keith Seitz  <keiths@redhat.com>
13458
13459         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13460         with invalid operator.
13461
13462 2009-09-21  Keith Seitz  <keiths@redhat.com>
13463
13464         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13465         and destructor using typedef name of class.
13466         * gdb.cp/classes.cc (class Base1): Add a destructor.
13467         (base1): New typedef.
13468         (use_methods): Instanitate an object of type base1.
13469         * gdb.cp/templates.exp (test_template_typedef): New procedure.
13470         (do_tests): Call test_template_typedef.
13471         * gdb.cp/templates.cc (Baz::~Baz): New method.
13472         (intBazOne): New typedef.
13473         (main): Instantiate intBazOne.
13474
13475 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
13476
13477         PR python/10633
13478
13479         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13480         Function.
13481         (run_lang_tests): Add print elements test.
13482
13483 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
13484
13485         * gdb.python/py-value.exp (test_subscript_regression): New
13486         function.  Test for invalid subscripts.
13487         * gdb.python/py-value.c (main): Add test array, and pointer to it.
13488         (ptr_ref): New function.
13489
13490 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13491
13492         * gdb.base/default.exp: Fix "show convenience".
13493
13494 2009-09-15  Tom Tromey  <tromey@redhat.com>
13495
13496         * lib/mi-support.exp (mi_create_varobj): Update.
13497         (mi_create_floating_varobj): Likewise.
13498         (mi_create_dynamic_varobj): New proc.
13499         (mi_varobj_update): Update.
13500         (mi_varobj_update_with_type_change): Likewise.
13501         (mi_varobj_update_kv_helper): New proc.
13502         (mi_varobj_update_dynamic_helper): Rewrite.
13503         (mi_varobj_update_dynamic): New proc.
13504         (mi_list_varobj_children): Update.
13505         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13506         * gdb.python/python-prettyprint.py (pp_outer): New class.
13507         (pp_nullstr): Likewise.
13508         (lookup_function): Register new printers.
13509         * gdb.python/python-prettyprint.c (struct substruct): New type.
13510         (struct outerstruct): Likewise.
13511         (substruct_test): New function.
13512         (struct nullstr): New type.
13513         (string_1, string_2): New globals.
13514         (main): Add new tests.
13515         * gdb.python/python-mi.exp: Added regression tests.
13516         * gdb.mi/mi2-var-display.exp: Update.
13517         * gdb.mi/mi2-var-cmd.exp: Update.
13518         * gdb.mi/mi2-var-child.exp: Update.
13519         * gdb.mi/mi2-var-block.exp: Update.
13520         * gdb.mi/mi-var-invalidate.exp: Update.
13521         * gdb.mi/mi-var-display.exp: Update.
13522         * gdb.mi/mi-var-cmd.exp: Update.
13523         * gdb.mi/mi-var-child.exp: Update.
13524         * gdb.mi/mi-var-block.exp: Update.
13525         * gdb.mi/mi-break.exp: Update.
13526         * gdb.mi/gdb701.exp: Update.
13527
13528 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13529
13530         * Makefile.in: Inclusion of catch-syscall object.
13531         * gdb.base/catch-syscall.c: New file.
13532         * gdb.base/catch-syscall.exp: New file.
13533
13534 2009-09-12  Michael Snyder  <msnyder@vmware.com>
13535
13536         * gdb.reverse/step-reverse.exp: Explicitly check for targets
13537         that can support reverse debuggnig.
13538
13539 2009-09-11  Tom Tromey  <tromey@redhat.com>
13540
13541         * gdb.dwarf2/valop.S: New file.
13542         * gdb.dwarf2/valop.exp: New file.
13543
13544 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
13545
13546         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13547
13548 2009-09-10  Doug Evans  <dje@google.com>
13549
13550         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13551         Add $gdb_prompt to second breakpoint regexp.
13552
13553 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
13554
13555         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13556         names, add missing ones.
13557         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13558         * gdb.python/py-frame.c: Rename from python-frame.c.
13559         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
13560         testfile name.
13561         * gdb.python/py-function.exp: Rename from python-function.exp.
13562         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
13563         testfile name.
13564         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13565         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13566         Adjust testfile name.
13567         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13568         * gdb.python/py-template.cc: Rename from python-template.cc.
13569         * gdb.python/py-template.exp: Rename from python-template.exp.
13570         Adjust testfile name.
13571         * gdb.python/py-value.c: Rename from python-value.c.
13572         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
13573         testfile name.
13574
13575 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
13576
13577         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13578         $bpt2address.
13579         (Second breakpoint address is valid on ia64)
13580         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13581
13582 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
13583
13584         * gdb.base/ending-run.exp: Restrict regular expression matching
13585         line number to require closing brace following.
13586
13587 2009-09-03  Doug Evans  <dje@google.com>
13588
13589         * gdb.base/store.exp (check_set): Fix typo in expected value message.
13590
13591 2009-09-02  Tom Tromey  <tromey@redhat.com>
13592
13593         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13594
13595 2009-09-02  Tom Tromey  <tromey@redhat.com>
13596
13597         * gdb.dwarf2/callframecfa.exp: New file.
13598         * gdb.dwarf2/callframecfa.S: New file.
13599
13600 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
13601
13602         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13603         gdb.base/solib-overlap-main.c: New.
13604
13605 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
13606
13607         PR gdb/10565
13608
13609         * gdb.base/bitfields.c (struct container, container): New.
13610         (main): Initialize it and call break5.
13611         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13612
13613 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
13614
13615         Support constant DW_AT_data_member_location by GCC PR debug/40659.
13616         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13617
13618 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
13619
13620         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13621
13622 2009-08-26  Michael Snyder  <msnyder@vmware.com>
13623
13624         * gdb.base/i386-reverse.c: New file.
13625         * gdb.base/i386-reverse.exp: New file.
13626         * gdb.base/Makefile.in: Add new files to be removed.
13627
13628 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
13629
13630         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13631         environment-pwd for remote host.
13632         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13633
13634 2009-08-24  Keith Seitz  <keiths@redhat.com>
13635
13636         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13637         Add two new C++ completer tests which limit the output to a
13638         given class.
13639
13640 2009-08-24  Michael Snyder  <msnyder@vmware.com>
13641
13642         * gdb.base/del.exp: Fix typo in comment.
13643         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13644
13645 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13646
13647         * configure: Regenerate.
13648         * gdb.hp/configure: Likewise.
13649         * gdb.hp/gdb.aCC/configure: Likewise.
13650         * gdb.hp/gdb.base-hp/configure: Likewise.
13651         * gdb.hp/gdb.compat/configure: Likewise.
13652         * gdb.hp/gdb.defects/configure: Likewise.
13653         * gdb.hp/gdb.objdbg/configure: Likewise.
13654         * gdb.stabs/configure: Likewise.
13655
13656 2009-08-19  Doug Evans  <dje@google.com>
13657
13658         * gdb.base/gdbvars.c: New file.
13659         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13660
13661 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
13662
13663         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13664         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13665
13666 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
13667
13668         * gdb.base/default.exp: Adjust "set language test": it's now an
13669         enum command.  Larger help string moved to "help set language".
13670         * gdb.base/help.exp: Adjust "help set language" expected output,
13671         now lists all known languages.
13672
13673 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
13674
13675         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13676         all frame arguments.
13677         * gdb.arch/altivec-regs.exp: Likewise.
13678
13679 2009-08-07  Tom Tromey  <tromey@redhat.com>
13680
13681         * gdb.base/setshow.exp: Add tests for changes to set language, set
13682         check range, and set check type.
13683
13684 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
13685
13686         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13687         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13688         Call it.
13689
13690 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13691
13692         * configure.ac: Run gdb.cell tests when appropriate.
13693         * configure: Regenerate.
13694         * lib/cell.exp: New file.
13695         * gdb.cell: New directory.
13696         * gdb.cell/configure.ac: New file.
13697         * gdb.cell/configure: New file.
13698         * gdb.cell/Makefile.in: New file.
13699         * gdb.cell/arch.exp: New file.
13700         * gdb.cell/break.c: New file.
13701         * gdb.cell/break.exp: New file.
13702         * gdb.cell/break-spu.c: New file.
13703         * gdb.cell/bt.c: New file.
13704         * gdb.cell/bt2-spu.c: New file.
13705         * gdb.cell/bt-spu.c: New file.
13706         * gdb.cell/bt.exp: New file.
13707         * gdb.cell/coremaker.c: New file.
13708         * gdb.cell/coremaker-spu.c: New file.
13709         * gdb.cell/core.exp: New file.
13710         * gdb.cell/gcore.exp: New file.
13711         * gdb.cell/data.c: New file.
13712         * gdb.cell/data.exp: New file.
13713         * gdb.cell/data-spu.c: New file.
13714         * gdb.cell/ea-cache.exp: New file.
13715         * gdb.cell/ea-cache.c: New file.
13716         * gdb.cell/ea-cache-spu.c: New file.
13717         * gdb.cell/ea-standalone.c: New file.
13718         * gdb.cell/ea-standalone.exp: New file.
13719         * gdb.cell/ea-test.c: New file.
13720         * gdb.cell/ea-test.exp: New file.
13721         * gdb.cell/f-regs.exp: New file.
13722         * gdb.cell/mem-access.c: New file.
13723         * gdb.cell/mem-access.exp: New file.
13724         * gdb.cell/mem-access-spu.c: New file.
13725         * gdb.cell/ptype.exp: New file.
13726         * gdb.cell/registers.exp: New file.
13727         * gdb.cell/size.c: New file.
13728         * gdb.cell/sizeof.exp: New file.
13729         * gdb.cell/size-spu.c: New file.
13730         * gdb.cell/solib.exp: New file.
13731         * gdb.cell/solib-symbol.exp: New file.
13732
13733 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13734
13735         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13736
13737 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
13738
13739         * gdb.base/float.exp: Handle VFP registers.
13740
13741 2009-07-14  Michael Snyder  <msnyder@vmware.com>
13742
13743         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13744         to bring gdb to the beginning of the calling line.
13745
13746         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13747         confusing the i386 epilogue unwinder.
13748
13749 2009-07-14  Stan Shebs  <stan@codesourcery.com>
13750
13751         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13752
13753 2009-07-14  Michael Snyder  <msnyder@vmware.com>
13754
13755         * gdb.reverse/step-reverse.exp (stepi into function call):
13756         Call instruction may not be first instruction in the line.
13757         (reverse stepi from a function call): Used wrong line number.
13758
13759 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13760
13761         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13762
13763 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13764
13765         Fix gdb.base/macscp.exp when using custom inputrc.
13766         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13767         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
13768         env(TERM) set.
13769         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13770         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13771
13772 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
13773
13774         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13775         * gdb.base/annota1.exp (thread_test): Import global $testfile.
13776         Change the compilation target to match the testcase name.
13777         * gdb.base/sect-cmd.exp: Change the compilation target to match the
13778         testcase name.
13779         * a2-run.exp: Use for setup prepare_for_testing.  Change the
13780         compilation target to match the testcase name.
13781         * gdb.base/commands.exp: Likewise.
13782         * gdb.base/finish.exp: Likewise.
13783         * gdb.base/float.exp: Likewise.
13784         * gdb.base/info-target.exp: Likewise.
13785         * gdb.base/relational.exp: Likewise.
13786         * gdb.base/term.exp: Likewise.
13787         * gdb.base/until.exp: Likewise.
13788         * gdb.base/volatile.exp: Likewise.
13789         * gdb.base/whatis-exp.exp: Likewise.
13790
13791 2009-07-11  Hui Zhu  <teawater@gmail.com>
13792
13793         * gdb.base/help.exp (disassemble): Update expected help text.
13794
13795 2009-07-09  Tom Tromey  <tromey@redhat.com>
13796
13797         * lib/gdb.exp: Handle TRANSCRIPT.
13798         (remote_spawn, remote_close, send_gdb): New procs.
13799
13800 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
13801
13802         * gdb.python/python-prettyprint.c: Add counted null string
13803         structure.
13804         * gdb.python/python-prettyprint.exp: Print null string. Test for
13805         embedded nulls.
13806         * gdb.python/python-prettyprint.py (pp_ns): New Function.
13807         * gdb.python/python-value.exp (test_value_in_inferior): Add
13808         variable length string fetch tests.
13809         * gdb.python/python-value.c (main): Add strings for string fetch tests.
13810
13811 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
13812
13813         * gdb.base/dump.exp (inaccessible memory is reported): New test.
13814
13815 2009-07-07  Tom Tromey  <tromey@redhat.com>
13816
13817         * gdb.base/call-rt-st.exp: Update for change to escape output.
13818         * gdb.base/callfuncs.exp: Likewise.
13819         * gdb.base/charset.exp: Likewise.
13820         * gdb.base/constvars.exp: Likewise.
13821         * gdb.base/long_long.exp: Likewise.
13822         * gdb.base/pointers.exp: Likewise.
13823         * gdb.base/printcmds.exp: Likewise.
13824         * gdb.base/setvar.exp: Likewise.
13825         * gdb.base/store.exp: Likewise.
13826         * gdb.cp/ref-types.exp: Likewise.
13827         * gdb.mi/mi-var-child.exp: Likewise.
13828         * gdb.mi/mi-var-display.exp: Likewise.
13829         * gdb.mi/mi2-var-display.exp: Likewise.
13830         * gdb.base/charset.exp: Test octal escape sequence length.
13831         Update for change to escape output.
13832
13833 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13834
13835         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13836
13837 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
13838
13839         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13840
13841 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
13842
13843         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13844         gdbserver increasing $portnum if "Can't bind address" has been seen.
13845
13846 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
13847
13848         * gdb.base/ending-run.exp: Add "step out of main" pattern for
13849         mingw32ce.
13850
13851 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
13852
13853         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13854         VFP format.
13855
13856 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
13857
13858         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13859         linux.  Adjust to use "inferior", "info inferiors", "detach
13860         inferior" and "kill inferior" instead of "restart", "info fork",
13861         "detach fork" and "delete fork".
13862         * gdb.base/ending-run.exp: Spell out "info".
13863         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13864         the "kill" command.
13865
13866 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13867
13868         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13869         change to prefix TLS offset in hex with 0x.
13870
13871 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13872
13873         * gdb.base/default.exp: Update test case for "x" changes.
13874
13875 2009-07-01  Tristan Gingold  <gingold@adacore.com>
13876
13877         * gdb.base/bigcore.exp: Make darwin untested.
13878
13879 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13880
13881         * gdb.base/completion.exp (directory completion): Create the directory.
13882         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13883         escapeuniquesub.
13884         (directory completion 2): Expect now ${escapeuniquesub}.
13885         (Glob remaining of directory test): Remove one excessive newline.
13886         Expect the real output.
13887
13888 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13889
13890         Fix `make check//%' target after `make check' has been ran.
13891         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
13892         a mkdir call.
13893         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13894         (%/.dir): Remove.
13895
13896 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13897
13898         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13899         the expected result record.
13900
13901 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13902
13903         Remove racy FAILs relying just on the timeouts.
13904         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13905         (annotation_level 2): Remove racy FAILs.
13906
13907 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13908
13909         gdb/10275
13910         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13911
13912 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
13913
13914         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13915
13916 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
13917
13918         * gdb.mi/mi-stack.exp: Testing symbolic options
13919         to -stack-list-locals and -stack-list-arguments.
13920
13921 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13922
13923         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13924
13925 2009-06-29  Tom Tromey  <tromey@redhat.com>
13926
13927         * dg-extract-results.sh: New file.
13928         * Makefile.in (FORCE_PARALLEL): New variable.
13929         (CHECK_TARGET): New conditional variable.
13930         (check): Use CHECK_TARGET.
13931         (DO_RUNTEST): New variable.
13932         (check-single): New target.
13933         (TEST_DIRS): New variable.
13934         (TEST_TARGETS): Likewise.
13935         (check-parallel): New target.
13936         (check-gdb.%): New pattern.
13937         (BASE1_FILES): New variable.
13938         (BASE2_FILES): Likewise.
13939         (check-gdb.base%): New pattern.
13940         (%/.dir): New pattern.
13941         * configure: Rebuild.
13942         * aclocal.m4 (AM_CONDITIONAL): New defun.
13943         * configure.ac: Check whether user is using GNU make.
13944         (GMAKE): New conditional.
13945
13946 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
13947
13948         * gdb.cp/namespace-nested-import.cc: New test.
13949         * gdb.cp/namespace-nested-import.exp: New test.
13950
13951 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
13952
13953         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13954         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13955         * gdb.opt/Makefile.in (EXECUTABLES): Update.
13956         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13957         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13958         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13959         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13960         gdb.opt/inline-markers.c: New files.
13961         * lib/gdb.exp (skip_inline_frame_tests): New function.
13962         (skip_inline_var_tests): New function.
13963
13964 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
13965
13966         * gdb.cp/exception.exp: Don't require $hex before inner frame in
13967         backtrace.
13968
13969 2009-06-27  Michael Snyder  <msnyder@vmware.com>
13970
13971         * gdb.reverse: New directory.
13972         * gdb.reverse/break-reverse.c: New test.
13973         * gdb.reverse/break-reverse.exp: New test.
13974         * gdb.reverse/consecutive-reverse.c: New test.
13975         * gdb.reverse/consecutive-reverse.exp: New test.
13976         * gdb.reverse/finish-reverse.c: New test.
13977         * gdb.reverse/finish-reverse.exp: New test.
13978         * gdb.reverse/machinestate.c: New test.
13979         * gdb.reverse/ms1.c: New test.
13980         * gdb.reverse/machinestate.exp: New test.
13981         * gdb.reverse/Makefile.in: New file.
13982         * gdb.reverse/shr2.c: New test.
13983         * gdb.reverse/solib-reverse.c: New test.
13984         * gdb.reverse/solib-reverse.exp: New test.
13985         * gdb.reverse/step-reverse.c: New test.
13986         * gdb.reverse/step-reverse.exp: New test.
13987         * gdb.reverse/until-reverse.c: New test.
13988         * gdb.reverse/ur1.c: New test.
13989         * gdb.reverse/until-reverse.exp: New test.
13990         * gdb.reverse/watch-reverse.c: New test.
13991         * gdb.reverse/watch-reverse.exp: New test.
13992         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13993         * configure: Regenerate.
13994
13995 2009-06-26  Doug Evans  <dje@google.com>
13996
13997         * gdb.base/psymtab.exp: Turn off pending breakpoints.
13998
13999 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
14000
14001         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14002         windows problem for 'file delete $binfile'.
14003
14004 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
14005
14006         * gdb.cp/namespace-using.exp: New test.
14007         * gdb.cp/namespace-using.cc: New test.
14008
14009 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
14010
14011         * gdb.ada/variant_record_packed_array: New testcase.
14012
14013 2009-06-23  Tom Tromey  <tromey@redhat.com>
14014
14015         * gdb.base/charset.exp (test_combination): Regression test.
14016         * gdb.base/charset.c (my_wchar_t): New typedef.
14017         (myvar): New global.
14018         (main): Set myvar.
14019
14020 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
14021
14022         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14023         target.
14024
14025 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14026
14027         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14028
14029 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14030
14031         * gdb.mi/gdb680.exp: Update test for error message.
14032
14033 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14034
14035         * gdb.base/annota1.exp: Allow multiple occurrences of the
14036         frames-invalid annotation.
14037         * gdb.cp/annota2.exp: Likewise.
14038
14039 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
14040
14041         * gdb.cp/gdb2495.cc: New file.
14042         * gdb.cp/gdb2495.exp: New file.
14043
14044 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
14045
14046         Report error on GDB crash during runto.
14047         * lib/gdb.exp (runto <eof>): New.
14048
14049 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
14050
14051         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14052         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14053         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14054         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14055         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14056         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14057         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14058         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14059         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14060         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14061         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14062         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14063         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14064         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14065         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14066         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14067         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14068         gdb.server/server-mon.exp, gdb.server/server-run.exp,
14069         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14070         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14071         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14072         gdb.trace/passcount.exp, gdb.trace/report.exp,
14073         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14074         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14075         gdb.trace/while-stepping.exp: Use a unique name for the compiled
14076         executable.
14077
14078 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
14079
14080         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14081         defined before referencing it.
14082
14083 2009-06-03  Doug Evans  <dje@google.com>
14084
14085         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14086         * gdb.arch/i386-see.c: Ditto.
14087
14088 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
14089
14090         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14091         (check_macro): Return 1 if undefined.
14092         If first test fails, check if macro debug information is available,
14093         and report unsupported test if no macro information is found.
14094
14095 2009-05-29  Doug Evans  <dje@google.com>
14096
14097         * gdb.threads/hand-call-in-threads.exp: New.
14098         * gdb.threads/hand-call-in-threads.c: New.
14099
14100 2009-05-29  Michael Snyder  <msnyder@vmware.com>
14101
14102         * gdb.base/break-always.exp: Change "1" to "on".
14103         Add confirmation check.
14104
14105 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
14106
14107         * gdb.threads/threxit-hop-specific.c: New.
14108         * gdb.threads/threxit-hop-specific.exp: New.
14109         * gdb.threads/thread-execl.c: New.
14110         * gdb.threads/thread-execl.exp: New.
14111
14112 2009-05-27  Tom Tromey  <tromey@redhat.com>
14113             Thiago Jung Bauermann  <bauerman@br.ibm.com>
14114
14115         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14116         (mi_child_regexp): Likewise.
14117         (mi_list_varobj_children_range): Likewise.
14118         (mi_get_features): Likewise.
14119         (mi_list_varobj_children): Rewrite.
14120         * gdb.python/python-mi.exp: New file.
14121
14122 2009-05-27  Tom Tromey  <tromey@redhat.com>
14123             Thiago Jung Bauermann  <bauerman@br.ibm.com>
14124             Phil Muldoon  <pmuldoon@redhat.com>
14125             Paul Pluzhnikov  <ppluzhnikov@google.com>
14126
14127         * gdb.python/python-prettyprint.exp: New file.
14128         * gdb.python/python-prettyprint.c: New file.
14129         * gdb.python/python-prettyprint.py: New file.
14130         * gdb.base/display.exp: print/r is now valid.
14131
14132 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14133             Tom Tromey  <tromey@redhat.com>
14134             Pedro Alves  <pedro@codesourcery.com>
14135             Paul Pluzhnikov  <ppluzhnikov@google.com>
14136
14137         * gdb.python/python-template.exp: New file.
14138         * gdb.python/python-template.cc: New file.
14139         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14140         tests.
14141         * gdb.python/python-value.exp (py_objfile_tests): New proc.
14142         Call it.
14143         (test_value_after_death): New proc.
14144         * gdb.python/python-value.c (PTR): New typedef.
14145         (main): New variable 'x'.
14146
14147 2009-05-27  Tom Tromey  <tromey@redhat.com>
14148
14149         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14150         tests.
14151         * gdb.python/python-value.exp (py_objfile_tests): New proc.
14152         Call it.
14153
14154 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
14155
14156         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14157
14158 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
14159
14160         * gdb.threads/fork-thread-pending.c: New.
14161         * gdb.threads/fork-thread-pending.exp: New.
14162
14163 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14164
14165         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14166         * gdb.dwarf2/dw2-strp.S (a_string2): New.
14167
14168 2009-05-18  Jon Beniston  <jon@beniston.com>
14169
14170         * gdb.asm/asm-source.exp: Add lm32 target.
14171
14172 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
14173
14174         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
14175         `gdb_get_line_number'.  Call `callee' in both parent and child.
14176         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14177         `gdb_get_line_number' instead of hardcoding line numbers.
14178         (catch_fork_unpatch_child): New procedure to test detaching
14179         breakpoints from child fork.
14180         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14181         hardcoding line numbers.
14182         (do_fork_tests): Run `catch_fork_unpatch_child'.
14183
14184 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
14185
14186         * gdb.mi/mi-cmd-var.exp: Check that when varobj
14187         of structure type enters or leaves the scope, it
14188         is reported by -var-update.
14189
14190 2009-05-11  Doug Evans  <dje@sebabeach.org>
14191
14192         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14193         * gdb.threads/pending-step.c (main): Fix off-by-one error.
14194         * gdb.threads/schedlock.c (main): Fix off-by-one error.
14195
14196 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14197
14198         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14199
14200 2009-04-30  Doug Evans  <dje@google.com>
14201
14202         * gdb.threads/watchthreads2.exp: New testcase.
14203         * gdb.threads/watchthreads2.c: New testcase.
14204
14205 2009-04-29  Doug Evans  <dje@google.com>
14206
14207         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14208         * gdb.cp/mb-ctor.cc: Ditto.
14209         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14210         * gdb.cp/mb-inline.h (multi_line_foo): New function.
14211         * gdb.cp/mb-inline1.cc: Call it.
14212         * gdb.cp/mb-inline2.cc: Ditto.
14213         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14214         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14215
14216 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
14217
14218         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14219         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
14220         Replace all uses of `decimal' by `nonzero'.
14221         (info macro FROM_COMMANDLINE): New test.
14222
14223 2009-04-27  Tom Tromey  <tromey@redhat.com>
14224
14225         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14226
14227 2009-04-27  Doug Evans  <dje@google.com>
14228
14229         * gdb.threads/watchthreads.c (main): Initialize args before starting
14230         the threads.  Plus formatting cleanup.
14231         * gdb.threads/watchthreads.exp: Avoid errant failures due to
14232         biased scheduling of one thread.
14233
14234 2009-04-27  Jerome Guitton  <guitton@adacore.com>
14235
14236         * gdb.cp/templates.cc (GetMax): New template.
14237         (main): Declare two instances of GetMax.
14238         * gdb.cp/templates.exp: Add new test.
14239
14240 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
14241
14242         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14243
14244 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
14245
14246         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14247
14248 2009-04-15  Tom Tromey  <tromey@redhat.com>
14249
14250         * gdb.base/charset.exp: Add regression test.
14251
14252 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
14253
14254         * gdb.base/exe-lock.exp: New testcase.
14255
14256 2009-04-13  Tom Tromey  <tromey@redhat.com>
14257
14258         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14259         operator on Frame.
14260
14261 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14262
14263         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14264         * gdb.server/ext-attach.exp: Likewise.
14265
14266 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
14267
14268         Eliminate some sleep usage.
14269
14270         * gdb.mi/basics.c (do_nothing): New.
14271         (main): Use do_nothing instead of printf, so that
14272         not to introduce race condition between output of
14273         inferiour and output of gdb. Do not use sleep as it
14274         is not generally available on embedded targets.
14275
14276 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
14277
14278         * gdb.server/ext-attach.exp: Expect an optional process id after
14279         "Detached from remote process".
14280
14281 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14282
14283         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14284         gdb.dwarf2/dw2-unresolved.exp: New.
14285
14286 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
14287
14288         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
14289         mi_run_to_main.
14290
14291 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
14292
14293         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
14294         mi_run_to_main.  Skip thread exit test on remote targets.
14295         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
14296         mi_run_to_main.
14297         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
14298         mi_run_to_main.
14299         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14300         when expecting ^connected.  Detect when the target doesn't support
14301         non-stop mode.
14302         (mi_run_cmd): Detect if non-stop mode was requested by isn't
14303         supported.  Return -1 on error, 0 on success.
14304         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14305         (mi_runto): Return mi_runto_helper's result explicitly.
14306
14307 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
14308
14309         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14310
14311 2009-04-01  Tom Tromey  <tromey@redhat.com>
14312
14313         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14314         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14315         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14316         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14317
14318 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
14319             Jan Kratochvil  <jan.kratochvil@redhat.com>
14320
14321         PR gdb/931
14322         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14323         output.
14324         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
14325         for gdb/931.
14326         * dw2-strp.S (DW_AT_language): Change to C++.
14327         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14328
14329 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
14330
14331         * gdb.ada/tasks: New testcase.
14332
14333 2009-03-30  Stan Shebs  <stan@codesourcery.com>
14334
14335         * gdb.trace/actions.exp: Update to match new info trace format.
14336         * gdb.trace/deltrace.exp: Ditto.
14337         * gdb.trace/infotrace.exp: Ditto.
14338         * gdb.trace/passcount.exp: Ditto.
14339         * gdb.trace/save-trace.exp: Ditto.
14340         * gdb.trace/while-stepping.exp: Ditto.
14341         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14342
14343 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14344
14345         * gdb.python/python-frame.c: New file.
14346         * gdb.python/python-frame.exp: New file.
14347
14348 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14349
14350         * gdb.python/python-value.exp: Add tests for the address
14351         attribute.
14352
14353 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
14354
14355         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14356
14357 2009-03-26  Doug Evans  <dje@google.com>
14358
14359         * gdb.mi/mi-nonstop-exit.exp: New file.
14360         * gdb.mi/non-stop-exit.c: New file.
14361
14362 2009-03-26  Tom Tromey  <tromey@redhat.com>
14363
14364         Update for change to prologue skipping:
14365         * gdb.mi/mi2-simplerun.exp: Update.
14366         * gdb.mi/mi2-break.exp: Update.
14367         * gdb.mi/mi-simplerun.exp: Update.
14368         * gdb.mi/mi-break.exp: Update.
14369         * gdb.base/ending-run.exp: Update.
14370
14371 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14372
14373         * gdb.python/python-value.exp (test_value_in_inferior): Test
14374         gdb.Value.is_optimized_out attribute.
14375
14376 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
14377
14378         * gdb.dwarf2/dw2-noloc-main.c: New file.
14379         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14380         (.text): Remove.
14381         (.data): New.
14382         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14383         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14384         (DW_TAG_subprogram func_cu1, noloc): Remove.
14385         (main): New.
14386         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14387         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
14388         (file_symbols): New procedure.
14389
14390 2009-03-25  Tom Tromey  <tromey@redhat.com>
14391
14392         * gdb.base/charset.exp (valid_target_charset): New proc.
14393         Use it to skip tests on invalid charsets.
14394
14395 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
14396
14397         * gdb.base/completion.exp: Add a test for directory completion.
14398
14399 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14400
14401         Fix a racy FAIL.
14402         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14403         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14404
14405 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14406
14407         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14408         * gdb.python/python-function.exp: Add test for function returning
14409         a GDB value.
14410
14411 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14412
14413         * gdb.python/python-function.exp: New file.
14414
14415 2009-03-20  Tom Tromey  <tromey@redhat.com>
14416
14417         * gdb.base/store.exp: Update for change to escape output.
14418         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14419         to escape output.
14420         * gdb.base/pointers.exp: Update for change to escape output.
14421         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14422         to escape output.
14423         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14424         escape output.
14425         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14426         to escape output.
14427         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14428         escape output.
14429         * gdb.base/setvar.exp: Update for change to escape output.
14430         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14431         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14432         to escape output.
14433         (test_print_string_constants): Likewise.
14434         * gdb.base/charset.exp (valid_host_charset): Check size of
14435         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
14436         cases.  Handle "auto"-related output.
14437         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14438         (uvar, Uvar): New globals.
14439
14440 2009-03-19  Jerome Guitton  <guitton@adacore.com>
14441
14442         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14443         deltas.
14444         * gdb.ada/fixed_points.exp: Ditto.
14445
14446 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
14447
14448         * return-nodebug.c: Don't include stdio.h.
14449         (init): Delete.
14450         (func): Delete definition and provide extern declaration.
14451         (t): New.
14452         (main): Don't call printf.  Call func and store its result in t.
14453         * return-nodebug1.c: New.
14454         * return-nodebug.exp: Don't expect stdio output.  Instead, print
14455         the global variable t.  Drop printf formatters and cast types from
14456         foreach loop.  Don't use prepare_for_testing.  Compile
14457         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
14458         define FORMAT or CAST.
14459
14460 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14461
14462         * gdb.base/solib-display.exp: Disable test for remote targers.
14463
14464 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
14465
14466         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14467
14468 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
14469
14470         Fix a racy FAIL.
14471         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14472         code from `follow parent, print pids'.
14473         (`follow child, print pids', `follow parent, print pids'): Call it.
14474         Replace `gdb_test "break..."' by gdb_breakpoint.
14475
14476 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
14477
14478         * gdb.mi/mi-cli.exp: Adjust for output difference in
14479         sync and async modes.
14480
14481 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14482
14483         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14484         that was checked in by mistake. Remove loading of ada.exp, since
14485         this is not necessary in this case.
14486
14487 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14488
14489         * gdb.ada/ptype_arith_binop.exp: New testcase.
14490
14491 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14492
14493         * gdb.ada/mod_from_name: New testcase.
14494
14495 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
14496
14497         * gdb.ada/tick_last_segv: New testcase.
14498
14499 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
14500
14501         * gdb.mi/mi-cli.exp: Remove debug print.
14502
14503 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
14504
14505         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14506         include the token in ^running and frame info in *stopped.
14507
14508 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14509
14510         * solib-display.exp: New file.
14511         * solib-display-main.c: New file.
14512         * solib-display-lib.c: New file.
14513
14514 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
14515
14516         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14517
14518 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14519
14520         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14521         (list_and_check_macro): Use more specific test name.
14522         (next to definition): Make the test names unique.
14523
14524 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
14525
14526         * gdb.pascal/floats.exp: Accept approximate results everywhere.
14527
14528 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
14529
14530         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14531         notifications.
14532         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14533         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14534         * lib/mi-support.exp (library_loaded_re): New.
14535         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14536
14537 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
14538
14539         * gdb.gdb/observer.exp: Use test_notification observer, not
14540         normal_stop, everywhere.
14541         (test_normal_stop_notifications): Rename to...
14542         (test_notifications): ...this.
14543         (test_observer_normal_stop): Rename to...
14544         (test_observer): ...this.
14545
14546 2009-02-16  Doug Evans  <dje@google.com>
14547
14548         * gdb.arch/amd64-disp-step.S (test_int3): New test.
14549         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14550         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14551         (test_prefixed_syscall,test_int3): New tests.
14552         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14553         (test_prefixed_syscall,test_int3): New tests.
14554
14555 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
14556
14557         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14558         (mi_expect_interrupt): Likewise.
14559         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14560         response.
14561
14562 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
14563
14564         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14565         * gdb.base/pc-fp.exp (get_valueofx): Remove.
14566         Replace calls to get_valueofx by get_hexadecimal_valueof.
14567
14568 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
14569
14570         * lib/gdb.exp (get_valueof): Accept anything as a return value.
14571         (get_integer_valueof): New procedure.
14572         (get_sizeof): Use new get_integer_value_of.
14573         * gdb.base/sizeof.exp: Replace all uses of get_valueof
14574         by get_integer_valueof.
14575
14576 2009-02-13  Tom Tromey  <tromey@redhat.com>
14577
14578         * gdb.base/remote.exp (get_sizeof): Remove.
14579         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14580         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14581         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14582         * lib/gdb.exp (get_valueof): Move from long_long.exp.
14583         (get_sizeof): Likewise.
14584
14585 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
14586
14587         PR fortran/9806
14588         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14589
14590 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14591
14592         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14593
14594 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
14595
14596         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14597
14598 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14599
14600         * gdb.python/python-cmd.exp: New file.
14601
14602 2009-02-06  Tristan Gingold  <gingold@adacore.com>
14603
14604         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14605
14606 2009-02-05  Tristan Gingold  <gingold@adacore.com>
14607
14608         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14609         pointer is dereferenced and use this signal name in regexp.
14610         * gdb.base/signull.exp: Ditto.
14611         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14612         * gdb.base/signull.c (main): Ditto.
14613
14614 2009-02-04  Tom Tromey  <tromey@redhat.com>
14615             Thiago Jung Bauermann  <bauerman@br.ibm.com>
14616
14617         * gdb.python/python-value.exp: Use `gdb.history' instead of
14618         `gdb.value_from_history'.
14619         (test_value_numeric_ops): Add test for conversion of enum constant.
14620         * gdb.python/python-value.c (enum e): New type.
14621         (evalue): New global.
14622         (main): Use argv.
14623
14624 2009-02-04  Jerome Guitton  <guitton@adacore.com>
14625
14626         * gdb.ada/uninitialized_vars: New test program.
14627         * gdb.ada/uninitialized_vars.exp: New testcase.
14628
14629 2009-02-02  Tom Tromey  <tromey@redhat.com>
14630
14631         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14632         * gdb.cp/pr2489.cc: Rename...
14633         * gdb.cp/pr9594.cc: ... to this.
14634
14635 2009-02-02  Tom Tromey  <tromey@redhat.com>
14636
14637         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14638         * gdb.cp/pr2489.cc: New file.
14639         * gdb.cp/cpcompletion.exp: New file.
14640
14641 2009-02-02  Tom Tromey  <tromey@redhat.com>
14642
14643         PR exp/9059:
14644         * gdb.cp/call-c.exp: Add regression test.
14645         * gdb.cp/call-c.cc (FooHandle): New typedef.
14646         (main): New variable 'handle'.
14647
14648 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
14649
14650         * lib/mi-support.exp (et_mi_thread_list)
14651         (check_mi_and_console_threads): Adjust for current thread in
14652         -thread-list-ids output.
14653
14654 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
14655
14656         * gdb.mi/mi-break.exp (test_disabled_creation): New.
14657         Call it.
14658
14659 2009-01-28  Doug Evans  <dje@google.com>
14660
14661         * gdb.arch/amd64-disp-step.S: New file.
14662         * gdb.arch/amd64-disp-step.exp: New file.
14663         * gdb.arch/i386-disp-step.S: New file.
14664         * gdb.arch/i386-disp-step.exp: New file.
14665
14666 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
14667
14668         * gdb.base/find.exp: Set newline variable
14669         using quotes instead of braces to fix cygwin failures.
14670
14671 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
14672
14673         * gdb.base/radix.exp: Add tests to ensure that that set
14674         input-radix 0 and set output-radix 0 are really rejected.
14675
14676 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
14677
14678         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14679         copyright years.
14680
14681 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
14682
14683         PR gdb/9664:
14684         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14685
14686 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
14687
14688         PR c++/9631:
14689         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14690
14691 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
14692
14693         * gdb.server/file-transfer.exp: Use EXEEXT variable for
14694         binfile definition to fix Windows OS failure.
14695
14696 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
14697
14698         PR gdb/9346
14699         * gdb.base/interrupt.c (sigint_handler): New.
14700         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
14701         on error.
14702         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14703         Test "signal SIGINT".
14704
14705 2009-01-19  Doug Evans  <dje@google.com>
14706
14707         * gdb.base/break.exp: Update expected gdb output.
14708         * gdb.base/sepdebug.exp: Ditto.
14709         * gdb.mi/mi-syn-frame.exp: Ditto.
14710         * gdb.mi/mi2-syn-frame.exp: Ditto.
14711         * gdb.base/call-signal-resume.exp: New file.
14712         * gdb.base/call-signals.c: New file.
14713         * gdb.base/unwindonsignal.exp: New file.
14714         * gdb.base/unwindonsignal.c: New file.
14715         * gdb.threads/interrupted-hand-call.exp: New file.
14716         * gdb.threads/interrupted-hand-call.c: New file.
14717         * gdb.threads/thread-unwindonsignal.exp: New file.
14718
14719 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
14720
14721         * gdb.base/define.exp: Test defining and hooking prefix commands.
14722         * gdb.python/python.exp: Update test for "show user" output.
14723
14724 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
14725
14726         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
14727         now the output exactly, using less wildcards.  Expect also the output
14728         of gfortran-4.3.  Update for the f-valprint.c modification from
14729         2008-04-22.
14730         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14731         Remove gdb_test test names where matching the command.
14732
14733 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
14734
14735         PR breakpoints/9681:
14736         * gdb.base/watchpoint.exp: Add regression test.
14737
14738 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
14739
14740         * gdb.threads/attach-into-signal.exp: Don't use
14741         gdb_suppress_entire_file.
14742         * gdb.threads/attach-stopped.exp: Ditto.
14743         * gdb.threads/attachstop-mt.exp: Ditto.
14744
14745 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
14746
14747         PR gdb/8812:
14748         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14749
14750 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
14751
14752         PR gdb/7536:
14753         * gdb.base/radix.exp: Add tests to ensure invalid input radices
14754         and unsupported output radices are really rejected.
14755
14756 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
14757
14758         * gdb.cp/punctuator.exp: Backslash the '$' signs.
14759
14760 2008-12-22  Tom Tromey  <tromey@redhat.com>
14761
14762         * gdb.cp/punctuator.exp: New file.
14763
14764 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14765
14766         * gdb.base/completion.exp (Completing non-existing component): New test.
14767
14768 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14769
14770         Fix for PR gdb/8648.
14771         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14772         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14773         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14774         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14775
14776 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14777
14778         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14779
14780 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
14781
14782         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14783         compiler actually generate code at the expected line number.
14784
14785 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
14786
14787         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14788
14789 2008-12-12  Tom Tromey  <tromey@redhat.com>
14790
14791         * gdb.base/commands.exp (redefine_hook_test): New proc.
14792         Call it.
14793
14794 2008-12-11  Tom Tromey  <tromey@redhat.com>
14795
14796         * gdb.base/macscp.exp: New regression test.
14797
14798 2008-12-11  Tom Tromey  <tromey@redhat.com>
14799
14800         * gdb.base/macscp.exp: Print "address.addr".
14801         * gdb.base/macscp1.c (struct outer): New struct.
14802         (address): New global.
14803
14804 2008-12-09  Tom Tromey  <tromey@redhat.com>
14805
14806         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14807         Call it.
14808
14809 2008-12-04  Doug Evans  <dje@google.com>
14810
14811         * gdb.server/ext-run.exp: Relax regexp for init program.
14812
14813 2008-12-03  Tristan Gingold  <gingold@adacore.com>
14814
14815         * gdb.base/macscp.exp: Generate an object file during compilation
14816         to work around Darwin dsymutil limitations.
14817
14818 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14819
14820         Test resolving external references to TLS variables.
14821         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14822         FILE2_THREAD_LOCAL.
14823         (testfile2, srcfile2): New variables.
14824         * gdb.threads/tls.c (file2_thread_local)
14825         (function_referencing_file2_thread_local): New.
14826         * gdb.threads/tls2.c: New file.
14827
14828 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
14829
14830         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14831         rather than integer, as integer might not be big enough when
14832         on 64bit targets.
14833
14834 2008-11-27  Jerome Guitton  <guitton@adacore.com>
14835
14836         * gdb.cp/formatted-ref.exp: Add equality test.
14837         * gdb.ada/formatted_ref.exp: Ditto.
14838
14839 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14840
14841         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14842         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14843
14844 2008-11-20  Andreas Schwab  <schwab@suse.de>
14845
14846         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14847         matching syscall entry point.
14848         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14849         (tcatch_vfork_then_child_follow): Likewise.  Finish through
14850         vfork even if we stopped at the syscall trampoline.
14851
14852 2008-11-20  Doug Evans  <dje@google.com>
14853
14854         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14855
14856 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14857
14858         * gdb.arch/ppc-dfp.exp: New file.
14859         * gdb.arch/ppc-dfp.c: New file.
14860
14861 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14862
14863         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14864
14865 2008-11-17  Doug Evans  <dje@google.com>
14866
14867         * gdb.mi/mi-syn-frame.exp: Update expected output.
14868         * gdb.mi/mi2-syn-frame.exp: Update expected output.
14869
14870 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
14871
14872         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14873         "thread N" results in =thread-selected.
14874         * lib/mi-support (mi_run_cmd, mi_expect_stop)
14875         (mi_send_resuming_command_raw): Be prepared for
14876         =thread-selected.
14877
14878 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
14879
14880         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14881         * lib/mi-support.exp: Likewise.
14882
14883 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
14884
14885         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14886         commands from the expected output for "help catch".
14887
14888 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
14889
14890         * gdb.ada/int_deref.exp: New testcase.
14891
14892 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
14893
14894         * gdb.mi/gdb2549.exp: New file.
14895
14896 2008-11-11  Doug Evans  <dje@google.com>
14897
14898         * gdb.base/callexit.exp: New file.
14899         * gdb.base/callexit.c: New file.
14900
14901 2008-11-10  Doug Evans  <dje@google.com>
14902
14903         * lib/gdb.exp (GDBFLAGS): Move -nx ...
14904         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
14905         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14906         (default_gdb_start,default_gdb_exit): Ditto.
14907         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14908         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14909         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14910         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14911         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14912         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14913
14914 2008-11-03  Andreas Schwab  <schwab@suse.de>
14915
14916         * gdb.base/hashline2.exp: Fix typo.
14917         * gdb.base/hashline3.exp: Likewise.
14918
14919 2008-10-30  Tom Tromey  <tromey@redhat.com>
14920
14921         * gdb.base/pointers.exp: Add test.
14922         * gdb.base/pointers.c (k, S): New typedefs.
14923         (instance): New global.
14924
14925 2008-10-30  Andreas Schwab  <schwab@suse.de>
14926
14927         * gdb.base/args.exp: Add tests for newlines.
14928
14929 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
14930
14931         gdb.base/foll-exec.exp: Update the expected output of a couple
14932         of "info breakpoints" tests.
14933
14934 2008-10-28  Tom Tromey  <tromey@redhat.com>
14935
14936         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14937
14938 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
14939
14940         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14941         gdb_start_cmd.
14942         Use runto_main before any test that requires execution.
14943
14944 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
14945
14946         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14947         instead of SIGINT.
14948
14949 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
14950
14951         * gdb.base/completion.exp: Update expected output following
14952         the addition of the "info tasks" command.
14953
14954 2008-10-22  Tom Tromey  <tromey@redhat.com>
14955
14956         * gdb.base/exprs.exp (test_expr): Add test for string
14957         concatenation.
14958
14959 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
14960
14961         * configure.ac: Output gdb.python/Makefile.
14962         * configure: Regenerate.
14963         * gdb.python/Makefile.in: New.
14964
14965 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
14966
14967         * gdb.base/foll-fork.exp: Adjust the expected output to match
14968         the new description for fork/vfork catchpoints in the "info
14969         breakpoints" output.
14970
14971 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
14972
14973         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14974
14975 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14976
14977         * gdb.python/python-value.c: New file.
14978         * gdb.python/python-value.exp: New file.
14979
14980 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
14981
14982         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14983
14984 2008-10-15  Denis Pilat  <denis.pilat@st.com>
14985
14986         * gdb.cp/mb-ctor.exp: Fix a typo.
14987
14988 2008-10-09  Tom Tromey  <tromey@redhat.com>
14989
14990         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14991         'fprintf' and 'stderr'.
14992
14993 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
14994
14995         * gdb.ada/ref_tick_size.exp: New testcase.
14996
14997 2008-10-06  Doug Evans  <dje@google.com>
14998
14999         * gdb.dwarf2/dw2-cu-size.exp: New file.
15000         * gdb.dwarf2/dw2-cu-size.S: New file.
15001
15002         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15003         .Ltype_int for clarity.
15004
15005 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15006
15007         PR gdb/2384:
15008         * gdb.cp/gdb2384.exp: Extended to test more cases.
15009         * gdb.cp/gdb2384.cc: Likewise.
15010         * gdb.cp/gdb2384-base.h: Likewise.
15011         * gdb.cp/gdb2384-base.cc: Likewise.
15012
15013 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15014
15015         * gdb.base/maint.exp (maint print type): Remove printing
15016         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15017
15018 2008-09-30  Tom Tromey  <tromey@redhat.com>
15019
15020         * gdb.base/macscp.exp: Add completion tests.
15021         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15022         (TWENTY_THREE): Likewise.
15023         (FORTY_EIGHT): Likewise.
15024
15025 2008-09-30  Tom Tromey  <tromey@redhat.com>
15026
15027         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15028         everywhere.
15029         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15030
15031 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
15032
15033         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15034         testcase is derived from.  Fix racy dependency on an expected PID
15035         number.  No longer support the testcase on Linux kernel 2.4.x.
15036
15037 2008-09-27  Tom Tromey  <tromey@redhat.com>
15038
15039         * gdb.base/macscp.exp: Add tests for stringification, splicing,
15040         and varargs.
15041
15042 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
15043
15044         * lib/mi-support.exp (mi_expect_interrupt): New.
15045         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15046         from gdb.mi/mi-nonstop.exp.
15047         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15048         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15049         lib/mi-support.exp.
15050         Use mi_check_thread_states throughout.  Avoid ".*" and do not
15051         require an anchor after -exec-run.
15052
15053 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
15054
15055         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15056         stop is pending.  Avoid ".*" when two stops are pending.
15057         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15058         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15059         newlines in fullnames.
15060         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15061         (mi_expect_stop): Update comments.  Only anchor in sync mode.
15062         Do not match newlines.
15063         (mi_send_resuming_command_raw): Always return status.
15064         (mi_get_stop_line): Do not match more than one line by accident.
15065         Only anchor in sync mode.
15066         (mi_run_inline_test): If -exec-next fails, give up.
15067
15068 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15069
15070         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15071         on SPU.
15072
15073 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
15074
15075         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15076
15077 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
15078
15079         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15080         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15081         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15082         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15083         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15084         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15085         gdb.ada/interface.exp, gdb.ada/null_array.exp,
15086         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15087         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15088         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15089         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15090         Include the "= " sequence in the expected output of print tests.
15091
15092 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
15093
15094         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15095         description for boolean types.
15096
15097 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
15098
15099         * gdb.base/hook-stop-continue.c: New.
15100         * gdb.base/hook-stop-continue.exp: New.
15101
15102 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
15103
15104         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15105
15106 2008-09-08  Jerome Guitton  <guitton@adacore.com>
15107
15108         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15109         (stack_check_probe_2, stack_check_probe_loop_1)
15110         (stack_check_probe_loop_2): New functions.
15111         (main): Add call to these new functions.
15112         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15113         functions, check that the breakpoint is inserted at the appropriate
15114         location.
15115         (insert_breakpoint): Slightly refine this procedure so that it can
15116         be called several times in the test.
15117
15118 2008-09-08  Jerome Guitton  <guitton@adacore.com>
15119
15120         * gdb.base/stack-checking.c: New file.
15121         * gdb.base/stack-checking.exp: New file.
15122
15123 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15124
15125         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15126         * gdb.arch/altivec-regs.exp: Likewise.
15127         * gdb.arch/vsx-regs.exp: Likewise.
15128
15129 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15130
15131         * gdb.arch/ppc-fp.exp: New file.
15132         * gdb.arch/ppc-fp.c: New file.
15133
15134 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15135
15136         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15137         lest gcc-4.3.1 optimizes the whole thing away.
15138
15139 2008-09-04  Michael Snyder  <msnyder@vmware.com>
15140
15141         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15142         as "at" (for non-debug functions such as _start).
15143
15144 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15145
15146         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15147         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
15148         software watchpoints.
15149         * gdb.base/watch_thread_num.exp: Likewise.
15150
15151 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
15152
15153         * gdb.arch/i386-bp_permanent.exp: New test.
15154
15155 2008-08-24  Tom Tromey  <tromey@redhat.com>
15156
15157         * gdb.base/maint.exp: Update "maint print type".
15158
15159 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
15160
15161         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15162         support.  Adjust the order of "*running" notifications.
15163         * gdb.mi/non-stop.c: Don't cast from int to void* and
15164         back.
15165
15166 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
15167
15168         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15169         expect to find it in the "info frame" output.
15170
15171 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
15172
15173         * gdb.base/interp.exp: Always consume both prompts.
15174
15175 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
15176
15177         * gdb.base/pending.exp: Test pending breakpoints without symbols
15178         loaded.
15179
15180 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
15181
15182         * lib/mi-support.exp (mi_expect_stop): Produce
15183         more details on failures.
15184         * gdb.mi/mi-nonstop.exp: New.
15185         * gdb.mi/non-stop.c: New.
15186
15187 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
15188
15189         * gdb.mi/mi-async.exp: Use 'set target-async'.
15190         * lib/mi-support.exp: Use 'set/show target-async'.
15191
15192 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
15193
15194         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15195
15196 2008-08-17  Tom Tromey  <tromey@redhat.com>
15197
15198         * gdb.base/help.exp (help catch): Rewrite.
15199
15200 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15201
15202         * gdb.base/define.exp: Test indented command documentation.
15203         * gdb.python/python.exp: Test indented multi-line command.
15204
15205 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
15206
15207         * testsuite/gdb.arch/vsx-regs.c: New source file.
15208         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15209         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15210
15211 2008-08-14  Tom Tromey  <tromey@redhat.com>
15212
15213         * gdb.base/macscp.exp: Add regression test for "macro define" or
15214         "macro undef" with no arguments.
15215
15216 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15217
15218         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15219
15220 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15221
15222         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15223
15224 2008-08-06  Tom Tromey  <tromey@redhat.com>
15225
15226         * gdb.python/python.exp: New file.
15227
15228 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15229
15230         Fix for PR gdb/1543.
15231         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15232         $LOCATION.
15233         (location): New variable.
15234         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15235         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15236         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15237         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15238         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15239         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15240         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15241         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15242         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15243         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15244         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15245         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15246         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15247         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15248         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15249         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15250         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15251         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15252         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15253         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15254         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15255         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15256         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15257         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15258         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15259         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15260         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15261         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15262         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15263         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15264         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15265         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15266         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15267         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15268         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15269         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15270         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15271         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15272         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15273         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15274         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15275         gdb.base/type-opaque.exp, gdb.base/until.exp,
15276         gdb.base/value-double-free.c, gdb.base/varargs.exp,
15277         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15278         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15279         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15280         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15281         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15282         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15283         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15284         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15285         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15286         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15287         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15288         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15289         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15290         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15291         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15292         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15293         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15294         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15295         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15296         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15297         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15298         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15299         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15300         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15301         gdb.pascal/types.exp, gdb.stabs/weird.exp,
15302         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15303         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15304         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15305         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15306         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15307         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15308         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15309         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15310         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15311         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15312         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15313         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15314         lib/mi-support.exp, lib/trace-support.exp: Remove reference
15315         to bug-gdb@prep.ai.mit.edu .
15316
15317 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
15318
15319         * lib/mi-support.exp (mi_load_shlibs): New.
15320         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15321
15322 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
15323
15324         * lib/mi-support.exp (get_mi_thread_list)
15325         (check_mi_and_console_threads): New, moved from ...
15326         * gdb.mi/mi-pthread.exp: ...here.
15327         * gdb.mi/gdb669.exp (get_mi_thread_list)
15328         (check_mi_and_console_threads): Delete.
15329         * gdb.mi/mi2-pthread.exp: Likewise.
15330
15331 2008-07-28  Tom Tromey  <tromey@redhat.com>
15332
15333         * Makefile.in (just-check): Remove.  Move body to...
15334         (check): ... here.
15335
15336 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15337
15338         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15339         Add a test for duplicated SIGINTs.
15340
15341 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15342
15343         * gdb.threads/schedlock.exp (get_args): Update to work for any
15344         value of NUM.
15345         (Top level): Report the number of threads that did not resume.
15346
15347 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15348
15349         * gdb.dwarf2/dw2-compressed.S: Also define __start.
15350
15351 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
15352
15353         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15354         non-MI prompt.
15355
15356 2008-07-26  Tom Tromey  <tromey@redhat.com>
15357
15358         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15359         (function_struct, function_struct_ptr): New globals.
15360         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15361         function pointer in a struct.
15362
15363 2008-07-26  Tom Tromey  <tromey@redhat.com>
15364
15365         * gdb.base/macscp.exp: Add test for macro lexing bug.
15366
15367 2008-07-18  Tom Tromey  <tromey@redhat.com>
15368
15369         * gdb.base/macscp.exp: Add macro tests.
15370
15371 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15372
15373         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15374
15375 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15376
15377         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15378
15379 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15380
15381         * gdb.cp/class2.exp: fix for failure on spu-elf
15382
15383 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15384
15385         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15386
15387 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
15388
15389         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15390
15391 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
15392
15393         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15394
15395 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
15396
15397         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15398         of regexp to account for changes made to GDB in the printing of
15399         byte vectors.
15400
15401 2008-07-11  Tom Tromey  <tromey@redhat.com>
15402
15403         * gdb.base/completion.exp: Add 'help' completion test.
15404
15405 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
15406
15407         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15408
15409 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
15410
15411         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15412
15413 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
15414
15415         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15416
15417 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
15418
15419         * gdb.base/fullname.exp: Restore pwd if compiling failed.
15420
15421 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15422
15423         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15424
15425 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
15426
15427         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15428         previous commit.  Add a comment.
15429
15430 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
15431
15432         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15433
15434 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
15435
15436         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15437
15438 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
15439
15440         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15441         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15442         compiling an executable, link in an object that forces unbuffered
15443         output.
15444         * lib/set_unbuffered_mode.c: New file.
15445
15446 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15447
15448         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15449
15450 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
15451
15452         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15453         mi_expect_stop.
15454         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15455         Demand that *running is output.
15456         (detect_async): Perform checking every time.
15457         (mi_send_resuming_command): Extract everything into...
15458         (mi_send_resuming_command_raw): ...this.
15459         (mi_expect_stop): Don't accept any output before *stopped.
15460
15461 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
15462
15463         Robustify mi-simplerun.
15464         * gdb.mi/basics.c (main): Add a call to sleep.
15465         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15466         * gdb.mi/mi2-cli.exp: Likewise.
15467         * gdb.mi/mi-break.exp: Likewise.
15468
15469 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
15470
15471         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15472
15473 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
15474
15475         * gdb.mi/mi-console.exp: Adjust.
15476         * gdb.mi/mi-syn-frame.exp: Adjust.
15477         * gdb.mi/mi2-console.exp: Adjust.
15478         * gdb.mi/mi2-syn-frame.exp: Adjust.
15479         * lib/mi-support.exp (mi_run_cmd): Adjust.
15480         (mi_send_resuming_command): Adjust.
15481
15482 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
15483
15484         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15485         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15486         testing of stopped.
15487         * gdb.mi/mi2-syn-frame.exp: Likewise.
15488         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15489         (async, detect_async): New.
15490         (mi_expect_stop, mi_continue_to_line): Adjust expectation
15491         depending on if we're running in sync or async mode.
15492
15493 2008-06-09  Tom Tromey  <tromey@redhat.com>
15494
15495         * gdb.base/completion.exp: New tests for field name completion
15496         with spaces, and field name completion with '->'.
15497
15498 2008-06-06  Tom Tromey  <tromey@redhat.com>
15499
15500         * gdb.base/break1.c (struct some_struct): New struct.
15501         (values): New global.
15502         * gdb.base/completion.exp: Add field name completion test.
15503
15504 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15505
15506         * gdb.cp/call-c.exp: Test for incorrect handling of reference
15507         to pointer.
15508         * gdb.cp/call-c.cc: Likewise.
15509
15510 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
15511
15512         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15513         annotation.
15514
15515 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15516             Pedro Alves  <pedro@codesourcery.com>
15517
15518         * gdb.threads/execl.c, gdb.threads/execl1.c,
15519         gdb.threads/execl.exp: New tests.
15520
15521 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
15522             Daniel Jacobowitz  <dan@codesourcery.com>
15523
15524         * gdb.cp/exception.exp: Activate test, make it work with pending
15525         catchpoints.
15526
15527 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
15528
15529         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15530
15531 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
15532
15533         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15534         now printed.
15535         * gdb.mi/mi2-var-cmd.exp: Likewise.
15536
15537 2008-05-27  Andreas Schwab  <schwab@suse.de>
15538
15539         * gdb.base/frame-args.exp: Handle arguments that are optimized
15540         out.
15541
15542 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
15543
15544         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15545         quiet for ppc32 and group options into a single variable.
15546
15547 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
15548
15549         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15550         of zero-size elements.
15551         * gdb.ada/null_array.exp: Test printing this new array.
15552
15553 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
15554
15555         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15556
15557 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
15558
15559         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15560         of the "finish" command.
15561
15562 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
15563
15564         * gdb.base/annota1.exp: Test for new annotation.
15565
15566 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
15567
15568         * gdb.base/fixsection.exp: New file.
15569         * gdb.base/fixsection0.c: New file.
15570         * gdb.base/fixsection1.c: New file.
15571
15572 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15573
15574         * gdb.base/annota1.exp: Accept printf@... in place of printf.
15575         * gdb.base/annota3.exp: Likewise.
15576
15577 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
15578
15579         * gdb.base/watch_thread_num.exp: Don't run tests that require
15580         watchpoints if the target doesn't support them.
15581
15582 2008-05-12  Doug Evans  <dje@google.com>
15583
15584         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15585
15586 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
15587
15588         * gdb.ada/assign_1.exp: New testcase.
15589
15590 2008-05-09  Doug Evans  <dje@google.com>
15591
15592         * gdb.base/find.exp: New file.
15593         * gdb.base/find.c: New file.
15594
15595 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
15596
15597         * gdb.base/commands.exp (watchpoint_command_test): Handle
15598         gdb,no_hardware_watchpoints.
15599         * gdb.base/float.exp: Allow ARM targets without floating point.
15600         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15601
15602 2008-05-06  Jerome Guitton  <guitton@adacore.com>
15603             Joel Brobecker  <brobecker@adacore.com>
15604
15605         * gdb.ada/lang_switch: New test program.
15606         * gdb.ada/lang_switch.exp: New testcase.
15607
15608 2008-05-05  Doug Evans  <dje@google.com>
15609
15610         * gdb.base/help.exp (disassemble): Update expected help text.
15611
15612 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
15613
15614         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15615
15616 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
15617
15618         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15619         different times.
15620
15621 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
15622
15623         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15624         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15625         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15626         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15627
15628 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
15629
15630         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15631         notification to appear.
15632
15633 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
15634
15635         * gdb.base/fullname.c: New file.
15636         * gdb.base/fullname.exp: New file.
15637         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15638
15639 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
15640
15641         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15642         expressions with macros.
15643
15644 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
15645
15646         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15647
15648 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
15649
15650         * gdb.base/completion.exp: Handle lack of other symbols beginning
15651         with "a".
15652
15653         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15654
15655 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
15656
15657         * gdb.asm/asmsrc1.s: Add scratch space.
15658
15659 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
15660             Daniel Jacobowitz  <dan@codesourcery.com>
15661
15662         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15663         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15664         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15665
15666 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
15667
15668         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15669
15670 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
15671
15672         * gdb.base/info-target.exp: New testcase.
15673
15674 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
15675
15676         * gdb.cp/hang.exp: Use .cc instead of .C.
15677         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15678         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15679
15680 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
15681
15682         * gdb.base/gdb1250.exp: Remove perror.
15683         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15684
15685 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
15686
15687         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15688         .2byte.
15689
15690 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
15691
15692         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
15693         (maybe_kfail): New.
15694
15695 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
15696
15697         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15698
15699 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
15700
15701         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15702         * gdb.mi/mi2-syn-frame.exp: Likewise.
15703         * lib/mi-support.exp: Likewise.
15704
15705 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
15706
15707         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15708         to specify regexp for the location to stop at.
15709         * gdb.base/break-always.c: New.
15710         * gdb.base/break-always.exp: New.
15711
15712 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
15713
15714         * lib/mi-support.exp (mi_runto_helper): Adjust
15715         for the original-location field.
15716         (mi_create_breakpoint, mi_list_breakpoints): New.
15717         * gdb.mi/mi-break.exp: Adjust.
15718         * gdb.mi/mi2-break.exp: Adjust.
15719         * gdb.mi/mi-pending.exp: Adjust.
15720         * gdb.mi/mi-simplerun.exp: Adjust.
15721         * gdb.mi/mi2-simplerun.exp: Adjust.
15722         * gdb.mi/mi-syn-frame.exp: Adjust.
15723         * gdb.mi/mi2-syn-frame.exp: Adjust.
15724         * gdb.mi/mi-until.exp: Adjust.
15725         * gdb.mi/mi2-until.exp: Adjust.
15726         * gdb.mi/mi-var-display.exp: Adjust.
15727         * gdb.mi/mi2-var-display.exp: Adjust.
15728         * gdb.mi/mi-watch.exp: Adjust.
15729         * gdb.mi/mi2-watch.exp: Adjust.
15730
15731 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
15732
15733         * aclocal.m4: Add override.m4.
15734         * configure: Regenerate.
15735
15736 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
15737
15738         * gdb.mi/var-cmd.c (do_at_tests): Verify that
15739         '-var-update --all-values' reports new value even the type
15740         of a variable object has changed.
15741
15742 2008-04-18  Craig Silverstein  <csilvers@google.com>
15743
15744         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15745         files.
15746
15747 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
15748
15749         * gdb.ada/atomic_enum: New test program.
15750         * gdb.ada/atomic_enum.exp: New testcase.
15751
15752 2008-04-17  Doug Evans  <dje@google.com>
15753
15754         * gdb.opt/Makefile.in: Fix whitespace.
15755
15756 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
15757
15758         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15759
15760 2008-04-17  Doug Evans  <dje@google.com>
15761
15762         * gdb.base/hashline1.exp: New testcase.
15763         * gdb.base/hashline2.exp: New testcase.
15764         * gdb.base/hashline2.exp: New testcase.
15765
15766 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
15767
15768         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15769
15770 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
15771
15772         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15773         temporary breakpoint to match "Temporary breakpoint".
15774         * gdb.base/break.exp (delete_breakpoints): Likewise.
15775         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15776         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15777         * gdb.base/display.exp: Likewise.
15778         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15779         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15780         * gdb.base/restore.exp (restore_tests): Likewise.
15781         * gdb.base/sepdebug.exp: Likewise.
15782         * gdb.base/watchpoint.exp: Likewise.
15783         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15784         * gdb.mi/mi-pending.exp: Likewise.
15785         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15786         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15787         * gdb.mi/mi-var-cmd.exp: Likewise.
15788         * gdb.mi/mi-var-display.exp: Likewise.
15789         * gdb.mi/mi2-cli.exp: Likewise.
15790         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15791         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15792         * gdb.mi/mi2-var-display.exp: Likewise.
15793         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15794         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15795         new "disp" field.
15796         (mi_expect_stop): Move after_reason argument to be really after
15797         reason. This is to support fix for PR2424.
15798
15799 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
15800
15801         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15802
15803 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
15804
15805         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15806         field.  Add more floating varobj tests.
15807         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15808         field.
15809         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15810         (main): Call do_at_tests.
15811         * lib/mi-support.exp (mi_create_floating_varobj)
15812         (mi_varobj_update_with_type_change): New.
15813
15814 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
15815
15816         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15817         option of -var-evaluate-expression.
15818         * gdb.mi/mi2-var-display.exp: Likewise.
15819
15820 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
15821
15822         Introduce test setup helpers.
15823         * lib/gdb.exp (build_executable, clean_restart)
15824         (prepare_for_testing): New.
15825         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15826         * gdb.base/return.exp: Likewise.
15827         * gdb.base/ending-run.exp: Likewise.
15828
15829 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
15830
15831         * gdb.mi/mi-async.exp: New test for asynchronous Machine
15832         Interface (MI) responses.
15833
15834 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
15835
15836         * gdb.cp/breakpoint.cc: New code to test conditions involving
15837         member variables.
15838         * gdb.cp/breakpoint.exp: Test condition involving member
15839         variables.
15840
15841 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
15842
15843         * lib/mi-support.exp (mi_expect_stop): New.
15844         (mi_run_cmd): Change the
15845         token.  Use mi_send_resuming_command, use
15846         mi_expect_stop.
15847         (mi_execute_to_helper): Rename to mi_execute_to.
15848         (mi_send_resuming_command): Add more error patterns.
15849         (mi_wait_for_stop): Renamed to...
15850         (mi_get_stop_line): ...this.
15851         (mi_run_inline_test): Adjust.
15852
15853         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15854         * gdb.mi/mi-console.exp: Likewise.
15855         * gdb.mi/mi-pending.exp: Likewise.
15856         * gdb.mi/mi-simplerun.exp: Likewise.
15857         * gdb.mi/mi-stack.exp: Likewise.
15858         * gdb.mi/mi-stepi.exp: Likewise.
15859         * gdb.mi/mi-syn-frame.exp: Add comment.
15860         * gdb.mi/mi-until.exp: Likewise.
15861         * gdb.mi/mi-var-display.exp: Likewise.
15862         * gdb.mi/mi-watch.exp: Likewise.
15863         * gdb.mi/mi2-cli.exp: Likewise.
15864         * gdb.mi/mi2-console.exp: Likewise.
15865         * gdb.mi/mi2-simplerun.exp: Likewise.
15866         * gdb.mi/mi2-stack.exp: Likewise.
15867         * gdb.mi/mi2-stepi.exp: Likewise.
15868         * gdb.mi/mi2-until.exp: Likewise.
15869         * gdb.mi/mi2-var-display.exp: Likewise.
15870         * gdb.mi/mi2-watch.exp: Likewise.
15871
15872 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15873
15874         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15875
15876         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15877
15878 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
15879
15880         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15881         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15882         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15883         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15884         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15885         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15886         expect an mi error duplicated in stderr.
15887
15888 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
15889
15890         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15891         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15892         Add a couple of tests that verify the behavior when the new setting
15893         is set to "cancel" and "all".
15894         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15895         "ask" before we start the testing.
15896
15897 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
15898
15899         * gdb.cp/casts.cc: Add class reference variables.
15900         * gdb.cp/casts.exp: New test cases for up/down casting references.
15901
15902 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
15903
15904         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15905         instead of beginning to make an extra test pass.
15906         * gdb.mi/mi2-var-display.exp: Likewise.
15907
15908 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
15909
15910         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
15911
15912 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
15913             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15914
15915         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15916         value.  Add xfail for older kernels.
15917
15918 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
15919
15920         Bring mi-support in line with gdb.exp.
15921         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15922         (mi_gdb_start): New function.
15923
15924 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
15925
15926         * gdb.mi/mi-var-cmd.exp: Fix a typo.
15927
15928 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
15929
15930         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15931         * gdb.mi/mi2-var-display.exp: Likewise.
15932
15933 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
15934
15935         * lib/mi-support.exp (mi_create_varobj_checked): New.
15936         (mi_list_varobj_children): Allow to check for a
15937         value.
15938         (mi_list_array_varobj_children): New.
15939
15940         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15941         and mi_list_varobj_children, as opposed to hardcoding
15942         expected strings.
15943         * gdb.mi/gdb701.exp: Likewise.
15944         * gdb.mi/gdb792.exp: Likewise.
15945         * gdb.mi/mi-var-block.exp: Likewise.
15946         * gdb.mi/mi-var-cmd.exp: Likewise.
15947         * gdb.mi/mi-var-invalidate.exp: Likewise.
15948         * gdb.mi/mi2-var-block.exp: Likewise.
15949         * gdb.mi/mi2-var-child.exp: Likewise.
15950         * gdb.mi/mi2-var-cmd.exp: Likewise.
15951         * gdb.mi/mi2-var-display.exp: Likewise.
15952
15953 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
15954
15955         Fix random false FAILs on i386.
15956         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15957
15958 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
15959
15960         PR gdb/544
15961         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15962
15963 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
15964
15965         PR gdb/544
15966         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15967
15968 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15969
15970         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15971         fixed PR gdb/544.
15972
15973 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
15974
15975         * gdb.threads/fork-child-threads.exp: Test next over fork.
15976
15977 2008-03-21  Chris Demetriou  <cgd@google.com>
15978
15979         * gdb.base/break.exp (rbreak junk): New test for rbreak
15980         "Junk at end of arguments" issue.
15981
15982 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15983
15984         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15985         *& to work on created array elements.
15986         (Top level): Test print $pc with a file.  Test string operations
15987         without a target.
15988         * gdb.base/ptype.exp: Do not expect *& to work on created array
15989         elements.
15990
15991 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15992
15993         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15994         gdb.threads/staticthreads.exp: Update exit query.
15995
15996 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
15997
15998         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15999
16000 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
16001
16002         * gdb.base/watchpoint.c (global_ptr, func4): New.
16003         (main): Call func4.
16004         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16005         (test_inaccessible_watchpoint): New.
16006
16007 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
16008
16009         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16010         select the largest.
16011
16012 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
16013
16014         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16015         frames-invalid annotations.
16016
16017 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
16018
16019         * gdb.base/assign.exp: avoid same output for different tests.
16020
16021 2008-02-27  Doug Evans  <dje@google.com>
16022
16023         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16024         for bug 1738.
16025         (breakpoint_to_handler_entry): Ditto.
16026
16027 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
16028
16029         * gdb.base/ending-run.exp: Use the first line of code inside
16030         function body to test breakpoints.
16031         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16032         location where the breakpoint is inserted when using the line
16033         where a function is declared. Fix typo in the description of
16034         one of the tests.
16035         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16036
16037 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
16038
16039         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16040         tests.
16041
16042 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
16043
16044         * gdb.base/args.exp: avoid same output for tests
16045         with single quotes.
16046
16047 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
16048
16049         * gdb.base/annota1.exp: Adjust for 'info break'
16050         format changes.
16051         * gdb.base/annota3.exp: Likewise.
16052         * gdb.base/break.exp: Likewise.
16053         * gdb.base/condbreak.exp: Likewise.
16054         * gdb.base/pending.exp: Likewise.
16055         * gdb.base/sepdebug.exp: Likewise.
16056         * gdb.base/unload.exp: Likewise.
16057         * gdb.cp/ovldbreak.exp: Likewise.
16058         * gdb.mi/mi-pending.exp: Likewise.
16059
16060 2008-02-07  Doug Evans  <dje@google.com>
16061
16062         * gdb.cp/mb-inline.exp: New.
16063         * gdb.cp/mb-inline.h: New.
16064         * gdb.cp/mb-inline1.cc: New.
16065         * gdb.cp/mb-inline2.cc: New.
16066
16067 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
16068
16069         * gdb.pascal/floats.pas: New test program.
16070         * gdb.pascal/floats.exp: New testcase.
16071
16072 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16073
16074         * gdb.base/callfuncs.c (t_float_many_args): New function.
16075         (t_double_many_args): New function.
16076         * gdb.base/callfuncs.exp: Add tests for exceeding float
16077         and double parameters passed through the stack.
16078
16079 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
16080
16081         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16082         gdb.ada/complete/foo.adb: New files.
16083         * gdb.ada/complete.exp: New testcase.
16084
16085 2008-02-03  Doug Evans  <dje@google.com>
16086
16087         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16088
16089         * gdb.cp/gdb2384.exp: New file.
16090         * gdb.cp/gdb2384.cc: New file.
16091         * gdb.cp/gdb2384-base.h: New file.
16092         * gdb.cp/gdb2384-base.cc: New file.
16093
16094 2008-02-02  Doug Evans  <dje@google.com>
16095
16096         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16097
16098 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
16099
16100         * gdb.ada/sym_print_name: New test program.
16101         * gdb.ada/sym_print_name.exp: New testcase.
16102
16103 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
16104
16105         * gdb.ada/nested/hello.adb: New file.
16106         * gdb.ada/nested.exp: New testcase.
16107         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16108
16109 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
16110
16111         * gdb.mi/basic.c (return_1): New function.
16112         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16113         don't cause future evaluations of function to report
16114         creation of internal breakpoints.
16115
16116 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
16117
16118         * gdb.mi/mi-break.exp (test_error): New.
16119         Call it.
16120
16121 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
16122
16123         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16124         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16125
16126 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
16127
16128         * gdb.pascal/integers.pas: New test program.
16129         * gdb.pascal/integers.exp: New testcase.
16130
16131 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
16132
16133         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16134
16135 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
16136
16137         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16138         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16139
16140 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
16141
16142         * gdb.ada/formatted_ref: New test program.
16143         * gdb.ada/formatted_ref.exp: New testcase.
16144
16145         * gdb.cp/formatted-ref.cc: New file.
16146         * gdb.cp/formatted-ref.exp: New testcase.
16147
16148 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
16149
16150         * gdb.base/ptype.exp: Add testing of "ptype $pc".
16151
16152 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
16153
16154         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16155         (test_file_list_exec_source_file): Update to new macro-info field.
16156
16157 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
16158
16159         * gdb.ada/exprs: New test program.
16160         * gdb.ada/exprs.exp: New testcase.
16161
16162 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16163
16164         * dfp-test.c (DELTA, DELTA_B): New definitions.
16165         (double_val1, double_val2, double_val3, double_val4, double_val5,
16166         double_val6, double_val7, double_val8, double_val9, double_val10,
16167         double_val11, double_val12, double_val13, double_val14, dec32_val1,
16168         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16169         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16170         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16171         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16172         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16173         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16174         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16175         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16176         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16177         dec128_val16): New global variables.
16178         (decimal_dec128_align): New function.
16179         (decimal_mixed): Likewise.
16180         (decimal_many_args_dec32): Likewise.
16181         (decimal_many_args_dec64): Likewise.
16182         (decimal_many_args_dec128): Likewise.
16183         (decimal_many_args_mixed): Likewise.
16184         * dfp-test.exp: Add tests calling new inferior functions.
16185
16186 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
16187
16188         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16189         gdb.server/ext-run.exp: New files.
16190         * lib/gdbserver-support.exp (gdbserver_download): New.
16191         (gdbserver_start): New.  Update gdbserver expected
16192         output.
16193         (gdbserver_spawn): Use them.
16194         (gdbserver_start_extended): New.
16195
16196 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
16197
16198         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
16199         Run on GNU/Linux.
16200         (do_exec_tests): Check for systems which do not support catchpoints.
16201         Do not match START.
16202         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
16203         Run on GNU/Linux.  Enable verbose output.
16204         (check_fork_catchpoints): New.
16205         (explicit_fork_child_follow, catch_fork_child_follow)
16206         (tcatch_fork_parent_follow): Update expected messages.
16207         (do_fork_tests): Use check_fork_catchpoints.
16208         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
16209         Run on GNU/Linux.  Enable verbose output.
16210         (check_vfork_catchpoints): New.
16211         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16212         expected messages.
16213         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16214
16215 2008-01-29  Jim Blandy  <jimb@red-bean.com>
16216
16217         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16218         host' errors.
16219         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16220
16221 2008-01-29  Jim Blandy  <jimb@red-bean.com>
16222
16223         * gdb.threads/sigthread.c: Use barriers to ensure that
16224         child_thread and child_thread_two are always initialized before we
16225         start to use them.
16226
16227 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
16228
16229         * gdb.base/watchpoint-solib.exp: New.
16230         * gdb.base/watchpoint-solib.c: New.
16231         * gdb.base/watchpoint-solib-shr.c: New.
16232
16233 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
16234
16235         * gdb.base/gdb1056.exp: Add unsigned integer test.
16236
16237 2008-01-28  Doug Evans  <dje@google.com>
16238
16239         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16240
16241 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
16242
16243         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16244
16245         * gdb.base/expand-psymtabs.exp: Doc fix.
16246
16247 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
16248
16249         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16250
16251 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
16252
16253         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16254         -var-set-format.
16255
16256 2008-01-23  Chris Demetriou  <cgd@google.com>
16257
16258         * gdb.threads/thread_events.c: New testcase source file.
16259         * gdb.threads/thread_events.exp: New testcase expect file.
16260
16261 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
16262
16263         * lib/gdb.exp: Add the variable octal.
16264
16265         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16266         -var-set-format.
16267
16268 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
16269             Vladimir Prus  <vladimir@codesourcery.com>
16270
16271         * gdb.base/float.exp: Allow missing floating point for m68k and
16272         PowerPC.
16273
16274 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
16275
16276         * gdb.mi/basics.c: Setup for testing breakpoints
16277         ignore count.
16278         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16279         * gdb.mi/mi-cli.exp: Adjust.
16280         * gdb.mi/mi2-cli.exp: Adjust.
16281
16282 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
16283
16284         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16285         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
16286         with dummy_ptr's address.
16287         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16288         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16289         all targets.
16290         * gdb.mi/mi2-var-child.exp: Likewise.
16291
16292 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
16293
16294         * gdb.ada/null_array: New test program.
16295         * gdb.ada/null_array.exp: New testcase.
16296
16297 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
16298
16299         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16300         with required float modifiers.
16301
16302 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
16303
16304         * gdb.ada/funcall_param: New test program.
16305         * gdb.ada/funcall_param.exp: New testcase.
16306
16307 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
16308
16309         * gdb.ada/arrayparam: New test program.
16310         * gdb.ada/arrayparam.exp: New testcase.
16311
16312 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
16313
16314         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16315         landed.  Should also fix random failures in the test following it.
16316
16317 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
16318
16319         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16320         for expressions with decimal float values.
16321         (test_dfp_conversions): New function to test casts to and from
16322         decimal float types.
16323         Call test_dfp_conversions.
16324         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16325         elements.
16326         (main): Initialize ds.float4 and ds.double8 elements.
16327         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
16328         string to new error message.
16329         (d64_set_tests): Likewise.
16330         (d128_set_tests): Likewise.
16331         Add tests for expressions with decimal float variables.  Add tests for
16332         conversions to and from decimal float types.
16333
16334 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
16335
16336         * gdb.ada/packed_tagged/comp_bug.adb: New file.
16337         * gdb.ada/packed_tagged.exp: New testcase.
16338
16339 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16340
16341         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16342         gdb.ada/homonym/homonym_main.adb: New files.
16343         * gdb.ada/homonym.exp: New testcase.
16344
16345 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16346
16347         * gdb.ada/packed_array.exp: Add testing of references to
16348         a packed array.
16349
16350 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16351
16352         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16353         New files.
16354         * gdb.ada/type_coercion.exp: New testcase.
16355
16356 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16357
16358         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16359         gdb.ada/tagged/foo.adb: New file.
16360         * gdb.ada/tagged.exp: New testcase.
16361
16362 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
16363
16364         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16365         gdb.ada/ptype_field/foo.adb: New files.
16366         * gdb.ada/ptype_field.exp: New testcase.
16367
16368 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16369
16370         * gdb.ada/print_pc.exp: New testcase.
16371
16372 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16373
16374         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16375         gdb.ada/taft_type/p.adb: New files.
16376         * gdb.ada/taft_type.exp: New testcase.
16377
16378 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16379
16380         * gdb.ada/array_bounds/bar.adb: New file.
16381         * gdb.ada/array_bounds.exp: New testcase.
16382
16383 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16384
16385         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16386         gdb.ada/arrayptr/foo.adb: New files.
16387         * gdb.ada/arrayptr.exp: New testcase.
16388
16389 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16390
16391         * gdb.base/set-lang-auto.exp: New testcase.
16392
16393 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
16394
16395         * gdb.ada/fun_addr/foo.adb: New file.
16396         * gdb.ada/fun_addr.exp: New testcase.
16397
16398 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16399
16400         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16401         New files
16402
16403 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
16404
16405         * array_subscript_addr/p.adb: New file.
16406         * array_subscript_addr.exp: New testcase.
16407
16408 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
16409
16410         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16411         New files.
16412         * gdb.ada/str_cmp_ref.exp: New testcase.
16413
16414 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
16415
16416         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16417         gdb.ada/fun_in_declare/foo.adb: New files.
16418         * gdb.ada/fun_in_declare.exp: New testcase.
16419
16420 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
16421
16422         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16423         gdb.ada/ref_param/pck.ads: New files.
16424         * gdb.ada/ref_param.exp: New testcase.
16425
16426 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
16427
16428         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16429         gdb.ada/interface/foo.adb: New files.
16430         * gdb.ada/interface.exp: New testcase.
16431
16432 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
16433
16434         * gdb.base/multi-forks.exp: Consume all output from child
16435         processes before proceeding to next test.
16436
16437 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
16438
16439         * configure: Regenerated.
16440
16441 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
16442
16443         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16444         gdb.ada/fixed_cmp/fixed.adb: New files.
16445         * gdb.ada/fixed_cmp.exp: New testcase.
16446
16447 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
16448
16449         * gdb.ada/boolean_expr.exp: New testcase.
16450
16451 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
16452
16453         * gdb.base/multi-forks.exp: Doc fix.
16454
16455 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
16456
16457         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16458         * gdb.ada/char_param.exp: Do not compile our test program with
16459         -gnata, this is unnecessary.
16460         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16461
16462 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
16463
16464         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16465         gdb.ada/print_chars/foo.adb: New files.
16466         * gdb.ada/print_chars.exp: New testcase.
16467
16468 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
16469
16470         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16471         gdb.ada/char_param/foo.adb: New files.
16472         * gdb.ada/char_param.exp: New testcase.
16473
16474 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
16475
16476         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16477         hard-coding source line numbers into the test.
16478         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16479         gdb_get_line_number to find.
16480
16481 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
16482
16483         * gdb.base/ptype.c (highest): New struct type.
16484         (the_highest): New variable of that type.
16485         (main): Add dummy assignment to a field of variable the_highest.
16486         * gdb.base/ptype.exp: Test type printing of our new variable.
16487
16488 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
16489
16490         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16491         and record first explicitly generated thread number.
16492         Use that thread number for thread specific watchpoint test.
16493         Add iteration number to repetitive tests.
16494
16495 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16496             Jim Blandy  <jimb@codesourcery.com>
16497
16498         * gdb.base/expand-psymtabs.c: New testcase
16499         source file.
16500         * gdb.base/expand-psymtabs.exp: New testcase
16501         expect file.
16502
16503 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
16504
16505         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16506         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16507
16508 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
16509
16510         * gdb.ada/frame_args/foo.adb: New file.
16511         * gdb.ada/frame_args/pck.ads: New file.
16512         * gdb.ada/frame_args/pck.adb: New file.
16513         * gdb.ada/frame_args.exp: New testcase.
16514
16515 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
16516
16517         * gdb.base/frame-args.c: New file.
16518         * gdb.base/frame-args.exp: New testcase.
16519
16520 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
16521             Joseph Myers  <joseph@codesourcery.com>
16522
16523         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16524
16525 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
16526
16527         * gdb.mi/mi-pending.exp: New.
16528         * gdb.mi/mi-pending.c: New.
16529         * gdb.mi/mi-pendshr.c: New.
16530
16531 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
16532
16533         * gdb.base/default.exp: Update expected output for 'info catch'.
16534
16535 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
16536
16537         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16538         must be set to binary.
16539
16540 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
16541
16542         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16543
16544 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
16545
16546         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16547         gdb.mi/mi-file-transfer.exp: New.
16548
16549 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
16550
16551         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16552
16553 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
16554
16555         * gdb.trace/backtrace.exp: Fix a typo.
16556         * gdb.trace/circ.exp: Likewise.
16557         * gdb.trace/collection.exp: Likewise.
16558         * gdb.trace/limits.exp: Likewise.
16559         * gdb.trace/report.exp: Likewise.
16560         * gdb.trace/tfind.exp: Likewise.
16561         * gdb.trace/while-dyn.exp: Likewise.
16562
16563 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
16564
16565         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16566         objects of pointers that can't be dereferenced are now
16567         "noneditable".
16568
16569 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16570
16571         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16572         (target_cpu): Remove.
16573
16574 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
16575
16576         * gdb.base/ending-run.exp: Expect the list of cleared
16577         breakpoint to come in natural order, not the reversed one.
16578
16579 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
16580
16581         * gdb.mi/mi-var-child.c (do_child_deletion): New.
16582         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16583
16584 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
16585
16586         * gdb.base/printcmds.exp: New function
16587         test_printf_with_dfp.
16588
16589 2007-11-02  Doug Evans  <dje@google.com>
16590
16591         * gdb.disasm/t01_mov.s: Remove carriage returns.
16592         * gdb.disasm/t02_mova.s: Ditto.
16593         * gdb.disasm/t03_add.s: Ditto.
16594         * gdb.disasm/t04_sub.s: Ditto.
16595         * gdb.disasm/t05_cmp.s: Ditto.
16596         * gdb.disasm/t06_ari2.s: Ditto.
16597         * gdb.disasm/t07_ari3.s: Ditto.
16598         * gdb.disasm/t08_or.s: Ditto.
16599         * gdb.disasm/t09_xor.s: Ditto.
16600         * gdb.disasm/t10_and.s: Ditto.
16601         * gdb.disasm/t11_logs.s: Ditto.
16602         * gdb.disasm/t12_bit.s: Ditto.
16603         * gdb.disasm/t13_otr.s: Ditto.
16604
16605 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
16606
16607         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16608
16609 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16610
16611         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16612         provide DFP support.
16613
16614 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
16615
16616         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16617         Test "set powerpc vector-abi".  Skip auto-detection tests for old
16618         toolchains.
16619
16620 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
16621
16622         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16623         with [string compare].
16624
16625 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
16626
16627         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16628         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16629
16630 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
16631
16632         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16633         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16634         * gdb.opt/Makefile.in: New makefile.
16635         * Makefile.in: Create new directory "gdb.opt".
16636         * configure.ac: Add "gdb.opt" directory.
16637         * configure: Regenerated.
16638
16639 2007-10-25  Doug Evans  <dje@google.com>
16640
16641         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16642         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16643
16644 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
16645             Thiago Jung Bauermann  <bauerman@br.ibm.com>
16646
16647         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16648         Floating Point expressions.
16649         * gdb.base/dfp-test.exp: new file adding tests for Decimal
16650         Floating Point variables.
16651         * gdb.base/dfp-test.c: new file containing program with Decimal
16652         Floating variables, used by gdb.base/dfp-test.exp.
16653
16654 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
16655
16656         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16657
16658 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16659
16660         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16661         compiling test case with GCC.
16662         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16663
16664 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16665
16666         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16667         format changes.
16668
16669 2007-10-18  Michael Snyder  <msnyder@specifix.com>
16670
16671         * gdb.base/dbx.exp: Add missing "-re " operator.
16672
16673 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
16674
16675         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16676         * configure.ac: Removed trailing spaces after backslash.
16677         * gdb.modula2: New directory.
16678         * gdb.modula2/Makefile.in: New file.
16679         * gdb.modula2/unbounded-array.exp: New file.
16680         * gdb.modula2/unbounded1.c: New file.
16681
16682 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
16683
16684         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16685
16686 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
16687
16688         * gdb.base/sigstep.c (main): Add checks for
16689         return values for setitimer call.
16690         Call setitimer again with itimer = ITIMER_REAL
16691         if first call to setitimer fails.
16692
16693 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
16694
16695         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16696         of $timeout.
16697
16698 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
16699
16700         * gdb.server/server-run.exp: Test for dynamic linker symbols.
16701
16702 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
16703
16704         * lib/gdb.exp (gdb_run_cmd): Move comment outside
16705         of gdb_expect call, to avoid interruption.
16706
16707 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
16708
16709         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16710         (v_unsigned_long_long, v_long_long_array)
16711         (v_signed_long_long_array, v_unsigned_long_long_array)
16712         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16713         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16714         [!NO_LONG_LONG]: New.
16715         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16716         v_long_long_member.
16717
16718         (v_long_long_func, v_signed_long_long_func)
16719         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16720         (main) [!NO_LONG_LONG]: Initialize long long variants.
16721
16722         * gdb.base/whatis.exp: If board file requests no_long_long, build
16723         test with NO_LONG_LONG defined.  Test long long, signed long long,
16724         and unsigned long long variants but only if board file doesn't
16725         disable it.
16726
16727 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
16728             Daniel Jacobowitz  <dan@codesourcery.com>
16729
16730         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16731         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16732         * configure: Regenerated.
16733         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16734         gdb.pascal/types.exp, lib/pascal.exp: New files.
16735
16736 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
16737
16738         * gdb.cp/classes.exp (do_tests): Always step to the line after the
16739         call.
16740         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16741         to return to the call.
16742         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16743         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16744         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16745         * gdb.mi/mi-until.exp (test_until): Likewise.
16746         * gdb.mi/mi2-until.exp (test_until): Likewise.
16747
16748 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
16749
16750         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16751         two-char array.
16752         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16753
16754 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
16755
16756         * gdb.threads/watchthreads.c (thread_function): Sleep between
16757         iterations.
16758         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16759         at once for S/390.  Generate matching fails and passes.
16760
16761 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
16762
16763         * gdb.mi/var-cmd.c (do_children_tests): Initialize
16764         the 'struct_declarations' variable to zeros.
16765
16766 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
16767
16768         * gdb.cp/mb-ctor.cc: New.
16769         * gdb.cp/mb-ctor.exp: New.
16770         * gdb.cp/mb-templates.cc: New.
16771         * gdb.cp/mb-templates.exp: New.
16772
16773 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
16774
16775         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16776
16777 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
16778
16779         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16780         targets.
16781         * configure: Regenerate.
16782
16783 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
16784
16785         * gdb.base/annota1.exp: Adjust for 'info break'
16786         format changes.
16787         * gdb.base/annota3.exp: Likewise.
16788         * gdb.base/break.exp: Likewise.
16789         * gdb.base/condbreak.exp: Likewise.
16790         * gdb.base/pending.exp: Likewise.
16791         * gdb.base/sepdebug.exp: Likewise.
16792         * gdb.base/unload.exp: Likewise.
16793         * gdb.base/ovldbreak.exp: Likewise.
16794
16795 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
16796
16797         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16798         messages.
16799         * gdb.base/chng-syms.exp: Likewise.
16800         * gdb.base/unload.exp: Likewise.
16801
16802 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
16803
16804         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16805
16806 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
16807
16808         * schedlock.c (NUM): Change to 1.
16809         (main): Use args[0] for the main thread.
16810         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
16811         regardless of the number of threads.
16812
16813 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
16814
16815         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16816         type down.
16817         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16818         test.
16819         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16820         watchpoint type down.
16821         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16822         test.
16823
16824 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
16825
16826         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16827         Move all the tests here and run them twice, once using software
16828         watchpoints and once using hardware watchpoints.
16829         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16830
16831 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
16832
16833         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16834         test.
16835
16836 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
16837
16838         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16839         build-id.
16840
16841         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16842         know about $ORIGIN.  Calculate output dir from $dest instead of
16843         using ${objdir}/{$subdir}.
16844
16845 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
16846
16847         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16848         gcore, before continuing with the test.
16849
16850 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
16851
16852         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16853         * gdb.mi/mi-watch.exp: Likewise.
16854
16855 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
16856             Jim Blandy  <jimb@codesourcery.com>
16857
16858         * gdb.arch/i386-sse.exp: Do not expect character constants.
16859         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16860         * gdb.base/display.exp: Allow print/s.
16861         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16862         and unsigned char array changes.
16863
16864 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
16865
16866         * gdb.base/display.exp: Add tests for printf %p.
16867
16868 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
16869
16870         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16871         the dll name to unicode.
16872
16873 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
16874
16875         * gdb.base/default.exp (show version): Update the version text.
16876         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16877
16878 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16879
16880         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16881         New files.
16882
16883 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
16884
16885         * lib/gdb.exp (build_id_debug_filename_get): New function.
16886         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16887         Remove the generate DEBUG file for the future testcase runs.
16888         New testcase for the NT_GNU_BUILD_ID retrieval.
16889         Move the final testing step to ...
16890         (test_different_dir): ... a new function.
16891         New parameter XFAIL to XFAIL all the tests performed.
16892         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16893         New parameter TYPE to PF_PREFIX all the tests performed.
16894
16895 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
16896
16897         * gdb.mi/mi-var-cp.cc (path_expression): New
16898         function.
16899         * gdb.mi/mi-var-cp.exp: Run path exression tests.
16900
16901 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
16902
16903         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16904         to fit into SPU Local Store memory.
16905
16906 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16907
16908         * gdb.base/default.exp: Adjust the expected output of "info
16909         warranty" after the switch to GPLv3.
16910
16911 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16912
16913         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16914         to 30000 (from 20000).
16915
16916 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16917
16918         Switch the license of all .exp files to GPLv3.
16919         Switch the license of all .f and .f90 files to GPLv3.
16920         Switch the license of all .s and .S files to GPLv3.
16921
16922 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16923
16924         * configure.ac: Switch license to GPLv3.
16925
16926 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16927
16928         Switch the licensing to GPLv3 for all .ads and .adb files.
16929
16930 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
16931
16932         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16933         and t_int_double.
16934         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16935
16936 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
16937
16938         * gdb.base/step-line.c: Switch license to GPL version 3, and
16939         update copyright year.
16940         * gdb.base/step-line.inp: Likewise.
16941
16942 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
16943
16944         * gdb.base/gdb1555.exp: Make expected output immune to formatting
16945         changes inside gdb1555.c.
16946         * gdb.base/pending.exp: Likewise.
16947
16948 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
16949
16950         * config/default.exp: New file.
16951
16952 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
16953
16954         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16955         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16956
16957 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
16958
16959         * gdb.base/dump.exp: Force the correct endianness for binary
16960         formats not carrying this information.
16961
16962 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
16963
16964         * gdb.threads/staticthreads.exp: Match .*sem_post.
16965
16966 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
16967
16968         * gdb.base/readline.exp (operate_and_get_next): Match the final
16969         prompt.
16970
16971 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
16972
16973         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16974         to restarting SID.
16975
16976 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
16977
16978         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16979         prior to `gdb_start'.
16980
16981 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
16982
16983         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
16984         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16985         Remove call to gdb_unload.
16986
16987 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
16988             Daniel Jacobowitz  <dan@codesourcery.com>
16989
16990         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16991         for __WIN32__.
16992         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
16993         * gdb.base/unload.exp: Use shared library test routines.
16994
16995 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
16996
16997         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16998         * gdb.base/solib-symbol-lib.c: Likewise.
16999         * gdb.base/solib-symbol-main.c: Likewise.
17000
17001 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
17002
17003         * config/gdbserver.exp (gdb_reconnect): New.
17004         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17005         gdb.base/solib-disc.exp: New files.
17006         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17007         remote debugging".
17008         (gdb_compile): Add shlib_load flag.
17009         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17010         port.
17011         (gdbserver_reconnect): New.
17012
17013 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
17014             Daniel Jacobowitz  <dan@codesourcery.com>
17015
17016         * gdb.base/annota3.exp: Test for if construct.
17017
17018 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
17019
17020         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17021
17022 2007-06-21  Chris Dearman  <chris@mips.com>
17023             Maciej W. Rozycki  <macro@mips.com>
17024
17025         * gdb.base/display.exp: Allow a newline after display/i.
17026         * gdb.base/pc-fp.exp: Likewise.
17027         * gdb.base/sigbpt.exp: Likewise.
17028
17029 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
17030
17031         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
17032         required features to be included.
17033
17034 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
17035
17036         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17037         in info threads output.
17038
17039 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17040             Markus Deuling  <deuling@de.ibm.com>
17041
17042         * gdb.arch/spu-info.exp: New testcase.
17043         * gdb.arch/spu-info.c: New file.
17044
17045 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
17046
17047         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17048         tpcs_offset.  Restore lr after the call.
17049         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17050
17051 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
17052
17053         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17054         (gdbserver_run): Kill any running gdbserver.
17055         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17056
17057 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
17058
17059         * gdb.base/sigbpt.exp: Preset segv_addr.
17060
17061 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
17062
17063         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17064         (gdb_compile_shlib): Likewise.
17065         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17066         (default_gdb_init): Clear cleanfiles.
17067         (gdb_finish): Delete recorded cleanfiles.
17068         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17069
17070         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17071         Do not use isnative.
17072         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17073         gdb.base/so-impl-ld.exp: Likewise.
17074         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
17075         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
17076         gdb_compile.
17077
17078 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
17079
17080         * config/unknown.exp: Remove.
17081
17082 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
17083
17084         * gdb.base/info-proc.exp: Check is_remote.
17085
17086 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
17087
17088         * gdb.base/gcore.exp: Initialize variable core_supported.
17089
17090 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
17091
17092         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17093
17094 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
17095
17096         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17097         * gdb.threads/print-threads.exp (test_all_threads): Allow
17098         negative and hexadecimal thread IDs.
17099
17100 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
17101
17102         * gdb.java/jprint.java (public): Avoid invalid call to static
17103         method.
17104
17105 2007-05-14  Denis Pilat  <denis.pilat@st.com>
17106
17107         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17108         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17109         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17110         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17111         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17112
17113 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17114
17115         * gdb.base/overlays.exp: Add support for targets with only code
17116         overlay support, not data overlay.  Support spu-*-* target in
17117         this mode.
17118         * gdb.base/ovlymgr.c: Provide stubs for spu target.
17119         * gdb.base/spu.ld: New file.
17120
17121 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
17122
17123         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17124
17125 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
17126
17127         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17128
17129 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
17130
17131         * gdb.java/jmain.exp: Handle demangled names with and without method
17132         signatures.
17133
17134 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
17135
17136         * gdb.mi/mi-syn-frame.c (main, foo, bar)
17137         (have_a_very_merry_interrupt): Remove calls to puts.
17138         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17139         inferior output.
17140         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
17141         test names.
17142
17143 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
17144             Daniel Jacobowitz  <dan@codesourcery.com>
17145
17146         * gdb.base/auxv.exp (core_works): Also check is_remote.
17147         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17148
17149 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
17150
17151         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17152         message, not the undefined 'module' variable.
17153         * gdb.base/siginfo.exp: Likewise.
17154         * gdb.base/sigstep.exp: Likewise.
17155         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17156         serialport.
17157         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17158
17159 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
17160
17161         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17162         target sim fails.  Return 0 otherwise.
17163         (gdb_load): Return prematurely if gdb_target_sim fails.
17164
17165 2007-04-16  Denis Pilat  <denis.pilat@st.com>
17166
17167         * gdb.base/setshow.exp: Reset height after having set it to 100.
17168
17169 2007-04-16  Denis Pilat  <denis.pilat@st.com>
17170
17171         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17172
17173 2007-04-16  Denis Pilat  <denis.pilat@st.com>
17174
17175         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17176
17177 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
17178
17179         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17180         tests. Run the frozen varobjs test.
17181         * gdb.mi/var-cmd.c (do_frozen_tests): New.
17182         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17183
17184 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17185
17186         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17187         gdb.base/type-opaque.exp: New files.
17188
17189 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
17190
17191         * gdb.mi/mi-var-child.c
17192         (do_children_tests): User char[2] instead of
17193         char so that automatic printing of pointers to char
17194         don't give unpredicable result.
17195         * gdb.mi/var-cmd.c (do_locals_test): Initialize
17196         local variables.
17197         * gdb.mi/mi-var-child.exp: Step to right line
17198         of do_children_tests.
17199         * gdb.mi/mi2-var-child.exp: Likewise.
17200         * gdb.mi/mi-var-cmd.exp: Step to right line of
17201         do_locals_tests.
17202         (do_children_tests): User char[2] instead of
17203         char so that automatic printing of pointers to char
17204         don't give unpredicable result.
17205         * gdb.mi/mi2-var-cmd.exp: Likewise.
17206         * lib/mi-support.exp (mi_continue_to_line):
17207         Pass test name to mi_wait_for_stop.
17208
17209 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
17210
17211         * gdb.asm/asm-source.exp: Remove d10v case.
17212         * lib/gdb.exp (skip_cplus_tests): Likewise.
17213         * gdb.asm/d10v.inc: Deleted.
17214
17215 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
17216
17217         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17218
17219 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
17220
17221         * config/netware.exp: Delete file.
17222
17223 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
17224
17225         * gdb.dwarf2/dw2-noloc.S: New file.
17226         * gdb.dwarf2/dw2-noloc.exp: New file.
17227
17228 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
17229
17230         * gdb.cp/method2.cc: New test.
17231         * gdb.cp/method2.exp: New test.
17232         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17233
17234 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
17235
17236         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17237
17238 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
17239
17240         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17241
17242 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
17243
17244         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17245         (gdb_load): Delete, replace with...
17246         (gdb_reload): ...this.
17247         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17248         * gdb.server/server-mon.exp: Likewise.
17249         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17250         (gdb_start_cmd): New.
17251         (gdb_file_cmd): Save the last loaded file.
17252         (gdb_reload): New.
17253         (gdb_gnu_strip_debug): Use transform.
17254         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17255         support here.  Use new $last_loaded_file.  Check mtime.
17256         (gdb_target_cmd): Handle ObjC failure case.
17257         (infer_host_exec): Delete.
17258         (gdbserver_load): Rename to...
17259         (gdbserver_run): ...this.  Simplify.
17260         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17261         (mi_gdb_load): Move most contents to a new function...
17262         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
17263         (mi_run_cmd): Use mi_gdb_target_load.
17264         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17265         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17266         Use gdb_run_cmd.
17267         * gdb.base/charsign.exp: Remove incorrect comment.
17268         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17269         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17270         gdb.base/start.exp: Use gdb_start_cmd.
17271
17272 2007-03-23  Nigel Stephens  <nigel@mips.com>
17273             Maciej W. Rozycki  <macro@mips.com>
17274
17275         * gdb.base/sigbpt.exp: Fix the message when skipping test.
17276         * gdb.base/signull.exp: Similarly.
17277
17278 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17279
17280         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17281         messages available to test cases (like chng-sym.exp).
17282
17283 2007-03-14  Andreas Schwab  <schwab@suse.de>
17284
17285         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17286         format changes.
17287
17288 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
17289
17290         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17291         (optimized_1): New.
17292         (main): Call optimized_1.
17293         (gdb2029): Correct typos.  Call gdb2029_marker.
17294         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
17295         for gdb2029.
17296
17297 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
17298
17299         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17300         as tabs.  Remove redundant test pattern.
17301
17302 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17303
17304         * gdb.base/long_long.exp: Accept optional symbol name in <...>
17305         for /a format output.
17306
17307 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
17308
17309         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17310         collect output incrementally.
17311
17312 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17313
17314         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17315         for -var-create lpcharacter test.
17316         * gdb.mi/mi2-var-cmd.exp: Likewise.
17317
17318 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17319
17320         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17321         pass on targets where address zero is readable.
17322
17323 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17324
17325         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17326         just a single architecture.
17327
17328 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17329
17330         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17331         (fetch_all_registers): New function, uses gdb_test_multiple and
17332         exp_continue to fetch inferior output line-by-line.
17333         Replace all uses of do_get_all_registers by fetch_all_registers.
17334
17335 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17336
17337         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17338         in target_info.
17339
17340 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
17341
17342         * gdb.threads/manythreads.exp: Use $message string for
17343         consistancy; add a default (timeout) case.
17344
17345 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
17346
17347         * gdb.base/watchpoint.exp: Fix truncated comment.
17348
17349 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
17350
17351         * Makefile.in: Remove spurious single-quotes from sed command.
17352
17353 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
17354
17355         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
17356         func.
17357         * gdb.mi/mi2-var-cmd.exp: Likewise.
17358
17359 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
17360
17361         * gdb.dwarf2/dw2-producer.S: New file.
17362         * gdb.dwarf2/dw2-producer.exp: New testcase.
17363
17364 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
17365
17366         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17367         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17368         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17369         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17370         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17371         Revert tests to use mi_gdb_test and include value field in output
17372         of -var-create.
17373
17374 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
17375
17376         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17377
17378 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
17379
17380         * gdb.base/maint.exp: Remove full paths from test names.
17381         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17382         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17383
17384 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
17385
17386         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17387
17388 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
17389
17390         * gdb.server/server-mon.exp: New test.
17391
17392 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
17393
17394         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17395
17396 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
17397
17398         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17399         register capitalization.
17400
17401 2007-02-13  Denis Pilat  <denis.pilat@st.com>
17402
17403         * gdb.mi/mi-var-invalidate.exp: New file.
17404
17405 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
17406
17407         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17408
17409 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
17410
17411         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17412
17413 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
17414
17415         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17416         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17417
17418 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
17419
17420         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17421         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17422         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17423         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17424         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17425         * gdb.mi/gdb792.exp, lib/mi-support.exp:
17426         Update tests to include value field in output of -var-create.
17427
17428 2007-02-08  Andreas Schwab  <schwab@suse.de>
17429
17430         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17431
17432 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
17433
17434         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17435         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17436
17437 2007-02-02  Denis Pilat  <denis.pilat@st.com>
17438
17439         * gdb.threads/threadapply.exp: check that frame is not changed by
17440         the thread apply all command.
17441
17442 2007-01-31  Andreas Schwab  <schwab@suse.de>
17443
17444         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17445
17446         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17447         in the dwarf sections.
17448         * gdb.dwarf2/mac-fileno.S: Likewise.
17449
17450         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17451         bspstore register on ia64.
17452
17453 2007-01-29  Andreas Schwab  <schwab@suse.de>
17454
17455         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17456         "frame-begin" annotation.
17457
17458         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17459         number of "frames-invalid" annotations.
17460
17461 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
17462
17463         * gdb.base/commands.exp: Call if_commands_test.
17464         (gdb_test_no_prompt, if_commands_test): New.
17465
17466 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
17467
17468         * gdb.threads/sigthread.c (NSIGS): Make bigger.
17469
17470 2007-01-27  Andreas Schwab  <schwab@suse.de>
17471
17472         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17473         .short/.int/.quad in the dwarf sections.
17474         * gdb.dwarf2/dw2-intercu.S: Likewise.
17475         * gdb.dwarf2/dw2-intermix.S: Likewise.
17476
17477 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
17478
17479         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17480         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17481         array.
17482         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17483         * gdb.base/setvar.exp: Likewise.
17484
17485 2007-01-26  Andreas Schwab  <schwab@suse.de>
17486
17487         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17488         test.
17489
17490         * gdb.base/multi-forks.exp ("restart $i"): Also match
17491         __kernel_syscall_via_break.
17492
17493 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
17494
17495         * lib/mi-support.exp (mi_delete_varobj): New.
17496         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17497         testcase.
17498         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17499         (main): Call the above.
17500         (reference_update_test, base_in_reference_test)
17501         (reference_to_pointer): Delete the created varobjs.
17502
17503 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
17504
17505         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17506         * configure: Regenerated.
17507         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17508         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17509         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17510         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17511         * lib/gdb.exp (gdb_skip_xml_test): New function.
17512
17513 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
17514
17515         * gdb.base/sigrepeat.exp: Correct error message.
17516
17517 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
17518             Daniel Jacobowitz  <dan@codesourcery.com>
17519
17520         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17521         gdb.arch/i386-gnu-cfi-asm.S: New files.
17522
17523 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
17524
17525         * lib/gdb.exp: Abort on missing `site.exp'.
17526
17527 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
17528             Daniel Jacobowitz  <dan@codesourcery.com>
17529
17530         * gdb.base/included.c, gdb.base/included.exp,
17531         gdb.base/included.h: New files.
17532
17533 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
17534
17535         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17536         (maximize_rlimit): Reduce limits on 64-bit systems.
17537
17538 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
17539
17540         From Marcus Deuling <deuling@de.ibm.com>:
17541         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17542         every case.
17543
17544 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
17545
17546         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17547         (test_path_specification): Use objdir instead of srcdir to always
17548         get an absolute filename.
17549
17550 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
17551
17552         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17553
17554 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
17555
17556         * gdb.mi/mi-var-cp.cc (reference_update_tests):
17557         Make sure the variable we're using is in scope.
17558         (reference_to_pointer): Likewise.
17559
17560 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
17561
17562         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17563         has no debug information.
17564
17565 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
17566
17567         * gdb.base/annota1.exp: Remove extra send_gdb.
17568
17569 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17570
17571         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17572
17573 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17574
17575         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17576
17577 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
17578             Daniel Jacobowitz  <dan@codesourcery.com>
17579
17580         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17581         lcharacter or linteger change.  Correct duplicated test name.
17582         * gdb.mi/mi2-var-cmd.exp: Likewise.
17583
17584 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
17585
17586         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17587
17588 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
17589
17590         * gdb.base/nofield.c: New file.
17591         * gdb.base/nofield.exp: New testcase.
17592
17593 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
17594
17595         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17596
17597         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17598          test.
17599
17600 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
17601
17602         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17603
17604 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
17605
17606         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17607         when continuing.
17608
17609 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
17610
17611         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17612         Expect ".exe" extension.
17613
17614 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
17615
17616         * gdb.base/charset.exp: Add explicit filename to break.
17617         * gdb.base/dbx.exp: Add explicit filename to breaks.
17618
17619 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
17620
17621         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17622         * gdb.mi/mi2-file.exp: Likewise.
17623
17624 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
17625
17626         Implement specification of MI tests as comments
17627         in C and C++ sources.
17628         * lib/mi-support.exp (mi_autotest_data): New variable.
17629         (mi_autotest_source): New variable.
17630         (count_newlines, mi_prepare_inline_tests)
17631         (mi_get_inline_test, mi_continue_to_line)
17632         (mi_run_inline_test, mi_tbreak)
17633         (mi_send_resuming_command, mi_wait_for_stop): New functions.
17634         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17635         Run inline tests.
17636         * gdb.mi/mi-var-cp.cc: Define tests here.
17637
17638 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
17639
17640         Simplify usage of mi_continue_to.
17641         * lib/mi-support.exp (mi_runto_helper): Renamed
17642         from mi_runto, added new parameter 'run_or_continue'.
17643         (mi_runto): Use mi_runto_helper.
17644         (mi_continue_to): Accept just function name as parameter.
17645         Use mi_runto_helper.
17646         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17647         * gdb.mi/mi2-var-cmd.exp: Likewise.
17648
17649 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
17650
17651         Make this testcase a bit more realistic. The current code
17652         is too simplistic, and allows the compiler to optimize out
17653         some of the entities we need for this testcase.
17654         * gdb.ada/null_record/bar.ads (Void_Star): New type.
17655         (Do_Nothing): Add extra parameter.
17656         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17657         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17658         by using a variable of type Void_Star.
17659
17660 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
17661
17662         * gdb.ada/catch_ex/foo.adb: New file.
17663         * gdb.ada/catch_ex.exp: New testcase.
17664
17665 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
17666
17667         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17668         pass --image-base to linker.
17669
17670 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
17671             Daniel Jacobowitz  <dan@codesourcery.com>
17672
17673         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
17674         secondary prompts.
17675
17676 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
17677
17678         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17679         output.  Test the types of members and member pointers.
17680         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17681         gdb/2092.
17682         * gdb.cp/member-ptr.exp: Search for a comment instead of a
17683         statement.  Enable for GCC.  Update expected output for some tests
17684         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
17685         layout.
17686         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17687         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17688         (Diamond::vget_base): New.
17689         (main): Add new tests.
17690         * gdb.cp/printmethod.exp: Update expected output for member functions.
17691         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17692         print pEe->D::vg().
17693
17694 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
17695
17696         * gdb.threads/tls.exp: Allow stops in sem_post.
17697
17698 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
17699
17700         * gdb.base/annota1.exp: Allow .*printf in backtraces.
17701         * gdb.base/annota3.exp: Likewise.
17702         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17703         again (instead of timing out).
17704         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17705         GCC bug 26475.
17706         * gdb.java/jmisc.exp: Adjust to work with method signatures including
17707         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
17708         test from jmisc1.exp.
17709         * gdb.java/jmisc1.exp: Delete.
17710         * gdb.java/jprint.exp: Adjust to work with method signatures including
17711         return types.
17712         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17713         * gdb.threads/linux-dp.exp: Don't be confused by program output.
17714         * lib/java.exp (compile_java_from_source): Pass the correct type
17715         to target_compile.
17716
17717 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
17718
17719         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17720         (stack_align_edx): New function.
17721         (stack_align_eax): New function.
17722         (main): Add calls to stack_align_edx and stack_align_eax.
17723         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17724         Add testing for the cases where the register used during a stack
17725         realignment is edx. Same for eax.
17726
17727 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
17728
17729         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17730         and generic PE targets.
17731
17732 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
17733
17734         * gdb.ada/array_return.exp: Update copyright date list.
17735
17736 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
17737
17738         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17739         (Create_Small_Float_Vector): New function.
17740         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17741         function body.
17742         * gdb.ada/array_return/p.adb: Use new type and function from
17743         package Pck.
17744         * gdb.ada/array_return.exp: Add a test verifying that GDB is
17745         able to print the value returned by a function returning an
17746         array of float.
17747
17748 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
17749
17750         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17751         The associated tests should be PASSing.
17752
17753 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
17754
17755         Test for base in references.
17756         * gdb.mi/mi-var-cp.cc: Add test code.
17757         * gdb.mi/mi-var-cp.exp: Test for bases in references.
17758         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17759         * gdb.mi/mi2-watch.exp: Likewise.
17760         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17761         (mi_list_varobj_children): New function.
17762
17763 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
17764
17765         * lib/mi-support.exp
17766         (mi_runto): Accept "()" after function name.
17767         (mi_create_varobj): New function.
17768         (mi_varobj_update): New function.
17769         (mi_Check_varobj_value): New function.
17770         * gdb.mi/mi-var-cp.exp: New file.
17771         * gdb.mi/mi-var-cp.cc: New file.
17772
17773 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
17774
17775         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17776         gdb.base/weaklib2.c: New files.
17777
17778 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
17779
17780         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17781         info.  Adjust test names.
17782
17783         * gdb.base/break.c (main): Move position of malloc.
17784         * gdb.base/break.exp: Revert mistaken checkin.
17785
17786 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
17787
17788         * gdb.mi/mi-var-cmd.exp: Check -var-update after
17789         assignement of arrays and function pointers.
17790         * gdb.mi/var-cmd.c: Add declaration necessary for above
17791         tests.
17792
17793 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
17794
17795         * gdb.base/break.c (main): Call malloc.
17796
17797         * gdb.threads/linux-dp.exp: Read thread table before and after
17798         creating each philosopher and verify it.
17799
17800 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
17801             Paul Brook  <paul@codesourcery.com>
17802             Daniel Jacobowitz  <dan@codesourcery.com>
17803
17804         * gdb.base/ending-run.exp: Flatten expect script stepping out of
17805         main to remove duplication.  Add start function of the form
17806         '_*start[1-9]*'. Add RVDS start function.
17807
17808 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
17809
17810         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17811
17812 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17813
17814         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17815         * gdb.asm/spu.inc: New file.
17816         * gdb.base/term.exp: Disable if [target_info exists noargs].
17817         * gdb.gdb/complaints.exp: Disable if ![isnative].
17818         * gdb.gdb/selftest.exp: Likewise.
17819         * gdb.gdb/observer.exp: Likewise.
17820         * gdb.gdb/xfullpath.exp: Likewise.
17821         * gdb.base/attach.exp: Disable on SPU target.
17822         * gdb.cp/bs145503.exp: Likewise.
17823         * gdb.cp/exception.exp: Likewise.
17824         * gdb.cp/userdef.exp: Likewise.
17825
17826 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
17827
17828         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17829
17830 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
17831
17832         * gdb.base/completion.exp: Fix completion tests for
17833         'info' and 'info '.
17834         * gdb.base/help.exp (help_test_raw, test_class_help)
17835         (test_prefix_command_help): Move...
17836         * lib/gdb.exp: Here.
17837         * gdb.base/main.exp: Adjust.
17838         * gdb.cp/maint.exp: Adjust.
17839         * gdb.trace/tracecmd.exp: Use test_help_class.
17840
17841 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
17842
17843         * gdb.stabs/weird.exp (print_weird_var): Use
17844         gdb_test_multiple instead of gdb_expect.
17845
17846 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
17847
17848         * gdb.base/help.exp (help_test_raw): New.
17849         (test_class_help): New.
17850         (test_prefix_command_help): New.
17851         Adjust testcases.
17852
17853 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
17854
17855         * gdb.base/constvars.c (main): Write to crass and crips, so that
17856         they are allocated by the compiler.
17857
17858 2006-10-27  Andreas Schwab  <schwab@suse.de>
17859
17860         * gdb.base/multi-forks.exp: Use "detach fork" instead of
17861         "detach-fork".
17862
17863 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
17864
17865         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17866         of patterns.
17867
17868 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
17869
17870         * gdb.base/sepdebug.exp: Remove debug format test.
17871         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17872         Handle no-symtab.
17873         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17874
17875 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
17876
17877         * gdb.threads/manythreads.c (thread_function, main): Don't cast
17878         int to pointer or pointer to int.
17879         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17880
17881 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
17882
17883         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17884
17885 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17886
17887         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17888
17889 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
17890
17891         PR c++/2116
17892         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17893
17894 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17895
17896         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17897         the corresponding bug has been fixed in GDB (PR/2018).
17898
17899 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17900
17901         * gdb.base/subst.exp: New testcase.
17902
17903 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17904
17905         * gdb.ada/array_return/pck.ads: Add copyright notice.
17906         * gdb.ada/array_return/pck.adb: Likewise.
17907         * gdb.ada/array_return/p.adb: Likewise.
17908         * gdb.ada/exec_changed/first.adb: Likewise.
17909         * gdb.ada/exec_changed/second.adb: Likewise.
17910
17911 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17912
17913         * gdb.ada/watch_arg/watch.adb: New file.
17914         * gdb.ada/watch_arg.exp: New testcase.
17915
17916 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
17917
17918         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17919         via string_to_regexp.
17920         * gdb.mi/mi2-basics.exp: Likewise.
17921
17922 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
17923
17924         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17925         Remove unused / obsolete files.
17926
17927 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
17928
17929         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17930
17931 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
17932
17933         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17934         HIGH_FRAME argument to -stack-list-arguments can be larger than
17935         the number of frames.
17936
17937 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
17938
17939         * gdb.base/args.c (main): Add breakpoint marker.
17940         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
17941         really test empty arguments.
17942         (args_load): Delete.
17943         (args_test): New.
17944
17945 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
17946
17947         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17948         check for one file.
17949
17950 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
17951
17952         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17953         HIGH_FRAME argument to -stack-list-locals can be larger than
17954         the number of frames.
17955
17956 2006-08-18  Fred Fish  <fnf@specifix.com>
17957
17958         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17959         '$' in front of skip_vmx_tests_saved when setting that.
17960
17961 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
17962
17963         * gdb.base/trace-commands.exp: New file.
17964
17965 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
17966             Daniel Jacobowitz  <dan@codesourcery.com>
17967
17968         * gdb.base/step-bt.exp: Make hexadecimal address optional in
17969         expected output of the backtrace commands.
17970
17971 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
17972
17973         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17974         untested followed by return combination.
17975         * gdb.arch/altivec-regs.exp: Likewise.
17976         * gdb.arch/e500-abi.exp: Likewise.
17977         * gdb.arch/e500-regs.exp: Likewise.
17978         * gdb.arch/gdb1291.exp: Likewise.
17979         * gdb.arch/gdb1431.exp: Likewise.
17980         * gdb.arch/gdb1558.exp: Likewise.
17981         * gdb.arch/i386-prologue.exp: Likewise.
17982         * gdb.arch/i386-unwind.exp: Likewise.
17983         * gdb.asm/asm-source.exp: Likewise.
17984         * gdb.base/a2-run.exp: Likewise.
17985         * gdb.base/advance.exp: Likewise.
17986         * gdb.base/all-bin.exp: Likewise.
17987         * gdb.base/annota1.exp: Likewise.
17988         * gdb.base/annota3.exp: Likewise.
17989         * gdb.base/args.exp: Likewise.
17990         * gdb.base/arithmet.exp: Likewise.
17991         * gdb.base/assign.exp: Likewise.
17992         * gdb.base/async.exp: Likewise.
17993         * gdb.base/attach.exp: Likewise.
17994         * gdb.base/bang.exp: Likewise.
17995         * gdb.base/bigcore.exp: Likewise.
17996         * gdb.base/bitfields.exp: Likewise.
17997         * gdb.base/bitfields2.exp: Likewise.
17998         * gdb.base/break.exp: Likewise.
17999         * gdb.base/call-sc.exp: Likewise.
18000         * gdb.base/call-strs.exp: Likewise.
18001         * gdb.base/callfuncs.exp: Likewise.
18002         * gdb.base/checkpoint.exp: Likewise.
18003         * gdb.base/chng-syms.exp: Likewise.
18004         * gdb.base/code-expr.exp: Likewise.
18005         * gdb.base/commands.exp: Likewise.
18006         * gdb.base/completion.exp: Likewise.
18007         * gdb.base/cond-expr.exp: Likewise.
18008         * gdb.base/condbreak.exp: Likewise.
18009         * gdb.base/consecutive.exp: Likewise.
18010         * gdb.base/constvars.exp: Likewise.
18011         * gdb.base/corefile.exp: Likewise.
18012         * gdb.base/cvexpr.exp: Likewise.
18013         * gdb.base/dbx.exp: Likewise.
18014         * gdb.base/define.exp: Likewise.
18015         * gdb.base/detach.exp: Likewise.
18016         * gdb.base/display.exp: Likewise.
18017         * gdb.base/dump.exp: Likewise.
18018         * gdb.base/ena-dis-br.exp: Likewise.
18019         * gdb.base/ending-run.exp: Likewise.
18020         * gdb.base/environ.exp: Likewise.
18021         * gdb.base/eval-skip.exp: Likewise.
18022         * gdb.base/exprs.exp: Likewise.
18023         * gdb.base/fileio.exp: Likewise.
18024         * gdb.base/finish.exp: Likewise.
18025         * gdb.base/float.exp: Likewise.
18026         * gdb.base/foll-exec.exp: Likewise.
18027         * gdb.base/foll-fork.exp: Likewise.
18028         * gdb.base/foll-vfork.exp: Likewise.
18029         * gdb.base/freebpcmd.exp: Likewise.
18030         * gdb.base/funcargs.exp: Likewise.
18031         * gdb.base/gcore.exp: Likewise.
18032         * gdb.base/gdb1090.exp: Likewise.
18033         * gdb.base/gdb1250.exp: Likewise.
18034         * gdb.base/huge.exp: Likewise.
18035         * gdb.base/info-proc.exp: Likewise.
18036         * gdb.base/interrupt.exp: Likewise.
18037         * gdb.base/jump.exp: Likewise.
18038         * gdb.base/langs.exp: Likewise.
18039         * gdb.base/lineinc.exp: Likewise.
18040         * gdb.base/list.exp: Likewise.
18041         * gdb.base/logical.exp: Likewise.
18042         * gdb.base/long_long.exp: Likewise.
18043         * gdb.base/macscp.exp: Likewise.
18044         * gdb.base/maint.exp: Likewise.
18045         * gdb.base/mips_pro.exp: Likewise.
18046         * gdb.base/miscexprs.exp: Likewise.
18047         * gdb.base/multi-forks.exp: Likewise.
18048         * gdb.base/opaque.exp: Likewise.
18049         * gdb.base/overlays.exp: Likewise.
18050         * gdb.base/pc-fp.exp: Likewise.
18051         * gdb.base/pointers.exp: Likewise.
18052         * gdb.base/printcmds.exp: Likewise.
18053         * gdb.base/psymtab.exp: Likewise.
18054         * gdb.base/ptype.exp: Likewise.
18055         * gdb.base/recurse.exp: Likewise.
18056         * gdb.base/relational.exp: Likewise.
18057         * gdb.base/relocate.exp: Likewise.
18058         * gdb.base/remote.exp: Likewise.
18059         * gdb.base/reread.exp: Likewise.
18060         * gdb.base/restore.exp: Likewise.
18061         * gdb.base/return.exp: Likewise.
18062         * gdb.base/return2.exp: Likewise.
18063         * gdb.base/scope.exp: Likewise.
18064         * gdb.base/sect-cmd.exp: Likewise.
18065         * gdb.base/sep.exp: Likewise.
18066         * gdb.base/sepdebug.exp: Likewise.
18067         * gdb.base/setshow.exp: Likewise.
18068         * gdb.base/setvar.exp: Likewise.
18069         * gdb.base/sigall.exp: Likewise.
18070         * gdb.base/sigbpt.exp: Likewise.
18071         * gdb.base/signals.exp: Likewise.
18072         * gdb.base/signull.exp: Likewise.
18073         * gdb.base/sizeof.exp: Likewise.
18074         * gdb.base/solib.exp: Likewise.
18075         * gdb.base/step-line.exp: Likewise.
18076         * gdb.base/step-test.exp: Likewise.
18077         * gdb.base/structs.exp: Likewise.
18078         * gdb.base/structs2.exp: Likewise.
18079         * gdb.base/term.exp: Likewise.
18080         * gdb.base/twice.exp: Likewise.
18081         * gdb.base/until.exp: Likewise.
18082         * gdb.base/varargs.exp: Likewise.
18083         * gdb.base/volatile.exp: Likewise.
18084         * gdb.base/watchpoint.exp: Likewise.
18085         * gdb.base/whatis-exp.exp: Likewise.
18086         * gdb.base/whatis.exp: Likewise.
18087         * gdb.cp/ambiguous.exp: Likewise.
18088         * gdb.cp/annota2.exp: Likewise.
18089         * gdb.cp/annota3.exp: Likewise.
18090         * gdb.cp/bool.exp: Likewise.
18091         * gdb.cp/breakpoint.exp: Likewise.
18092         * gdb.cp/casts.exp: Likewise.
18093         * gdb.cp/class2.exp: Likewise.
18094         * gdb.cp/classes.exp: Likewise.
18095         * gdb.cp/cplusfuncs.exp: Likewise.
18096         * gdb.cp/ctti.exp: Likewise.
18097         * gdb.cp/derivation.exp: Likewise.
18098         * gdb.cp/exception.exp: Likewise.
18099         * gdb.cp/gdb1355.exp: Likewise.
18100         * gdb.cp/hang.exp: Likewise.
18101         * gdb.cp/inherit.exp: Likewise.
18102         * gdb.cp/local.exp: Likewise.
18103         * gdb.cp/m-data.exp: Likewise.
18104         * gdb.cp/m-static.exp: Likewise.
18105         * gdb.cp/member-ptr.exp: Likewise.
18106         * gdb.cp/method.exp: Likewise.
18107         * gdb.cp/misc.exp: Likewise.
18108         * gdb.cp/namespace.exp: Likewise.
18109         * gdb.cp/overload.exp: Likewise.
18110         * gdb.cp/ovldbreak.exp: Likewise.
18111         * gdb.cp/pr-1023.exp: Likewise.
18112         * gdb.cp/pr-1210.exp: Likewise.
18113         * gdb.cp/pr-574.exp: Likewise.
18114         * gdb.cp/printmethod.exp: Likewise.
18115         * gdb.cp/psmang.exp: Likewise.
18116         * gdb.cp/ref-params.exp: Likewise.
18117         * gdb.cp/ref-types.exp: Likewise.
18118         * gdb.cp/rtti.exp: Likewise.
18119         * gdb.cp/templates.exp: Likewise.
18120         * gdb.cp/try_catch.exp: Likewise.
18121         * gdb.cp/userdef.exp: Likewise.
18122         * gdb.cp/virtfunc.exp: Likewise.
18123         * gdb.disasm/am33.exp: Likewise.
18124         * gdb.disasm/h8300s.exp: Likewise.
18125         * gdb.disasm/mn10300.exp: Likewise.
18126         * gdb.disasm/sh3.exp: Likewise.
18127         * gdb.disasm/t01_mov.exp: Likewise.
18128         * gdb.disasm/t02_mova.exp: Likewise.
18129         * gdb.disasm/t03_add.exp: Likewise.
18130         * gdb.disasm/t04_sub.exp: Likewise.
18131         * gdb.disasm/t05_cmp.exp: Likewise.
18132         * gdb.disasm/t06_ari2.exp: Likewise.
18133         * gdb.disasm/t07_ari3.exp: Likewise.
18134         * gdb.disasm/t08_or.exp: Likewise.
18135         * gdb.disasm/t09_xor.exp: Likewise.
18136         * gdb.disasm/t10_and.exp: Likewise.
18137         * gdb.disasm/t11_logs.exp: Likewise.
18138         * gdb.disasm/t12_bit.exp: Likewise.
18139         * gdb.disasm/t13_otr.exp: Likewise.
18140         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18141         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18142         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18143         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18144         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18145         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18146         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18147         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18148         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18149         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18150         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18151         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18152         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18153         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18154         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18155         * gdb.mi/gdb701.exp: Likewise.
18156         * gdb.mi/gdb792.exp: Likewise.
18157         * gdb.mi/mi-basics.exp: Likewise.
18158         * gdb.mi/mi-break.exp: Likewise.
18159         * gdb.mi/mi-cli.exp: Likewise.
18160         * gdb.mi/mi-console.exp: Likewise.
18161         * gdb.mi/mi-disassemble.exp: Likewise.
18162         * gdb.mi/mi-eval.exp: Likewise.
18163         * gdb.mi/mi-file.exp: Likewise.
18164         * gdb.mi/mi-read-memory.exp: Likewise.
18165         * gdb.mi/mi-regs.exp: Likewise.
18166         * gdb.mi/mi-return.exp: Likewise.
18167         * gdb.mi/mi-simplerun.exp: Likewise.
18168         * gdb.mi/mi-stack.exp: Likewise.
18169         * gdb.mi/mi-stepi.exp: Likewise.
18170         * gdb.mi/mi-syn-frame.exp: Likewise.
18171         * gdb.mi/mi-until.exp: Likewise.
18172         * gdb.mi/mi-var-block.exp: Likewise.
18173         * gdb.mi/mi-var-child.exp: Likewise.
18174         * gdb.mi/mi-var-cmd.exp: Likewise.
18175         * gdb.mi/mi-var-display.exp: Likewise.
18176         * gdb.mi/mi-watch.exp: Likewise.
18177         * gdb.mi/mi2-basics.exp: Likewise.
18178         * gdb.mi/mi2-break.exp: Likewise.
18179         * gdb.mi/mi2-cli.exp: Likewise.
18180         * gdb.mi/mi2-console.exp: Likewise.
18181         * gdb.mi/mi2-disassemble.exp: Likewise.
18182         * gdb.mi/mi2-eval.exp: Likewise.
18183         * gdb.mi/mi2-file.exp: Likewise.
18184         * gdb.mi/mi2-read-memory.exp: Likewise.
18185         * gdb.mi/mi2-regs.exp: Likewise.
18186         * gdb.mi/mi2-return.exp: Likewise.
18187         * gdb.mi/mi2-simplerun.exp: Likewise.
18188         * gdb.mi/mi2-stack.exp: Likewise.
18189         * gdb.mi/mi2-stepi.exp: Likewise.
18190         * gdb.mi/mi2-syn-frame.exp: Likewise.
18191         * gdb.mi/mi2-until.exp: Likewise.
18192         * gdb.mi/mi2-var-block.exp: Likewise.
18193         * gdb.mi/mi2-var-child.exp: Likewise.
18194         * gdb.mi/mi2-var-cmd.exp: Likewise.
18195         * gdb.mi/mi2-var-display.exp: Likewise.
18196         * gdb.mi/mi2-watch.exp: Likewise.
18197         * gdb.stabs/exclfwd.exp: Likewise.
18198         * gdb.stabs/weird.exp: Likewise.
18199         * gdb.threads/gcore-thread.exp: Likewise.
18200         * gdb.trace/actions.exp: Likewise.
18201         * gdb.trace/backtrace.exp: Likewise.
18202         * gdb.trace/circ.exp: Likewise.
18203         * gdb.trace/collection.exp: Likewise.
18204         * gdb.trace/deltrace.exp: Likewise.
18205         * gdb.trace/infotrace.exp: Likewise.
18206         * gdb.trace/limits.exp: Likewise.
18207         * gdb.trace/packetlen.exp: Likewise.
18208         * gdb.trace/passc-dyn.exp: Likewise.
18209         * gdb.trace/passcount.exp: Likewise.
18210         * gdb.trace/report.exp: Likewise.
18211         * gdb.trace/save-trace.exp: Likewise.
18212         * gdb.trace/tfind.exp: Likewise.
18213         * gdb.trace/tracecmd.exp: Likewise.
18214         * gdb.trace/while-dyn.exp: Likewise.
18215         * gdb.trace/while-stepping.exp: Likewise.
18216
18217 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
18218
18219         * gdb.base/step-bt.c: New file.
18220         * gdb.base/step-bt.exp: New testcase.
18221
18222 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
18223
18224         * config/monitor.exp (gdb_load): Remove support for obsolete
18225         download-write-size.
18226         * gdb.base/remote.exp: Likewise.  Update all callers of
18227         gdb_timed_load.
18228
18229 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
18230
18231         * cursal.exp: Pass binfile to gdb_load.
18232
18233 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
18234
18235         * gdb.base/cursal.exp: Add "" to gdb_load call.
18236
18237 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
18238
18239         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18240         NetBSD/ELF targets.
18241
18242 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
18243
18244         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18245         operator*.
18246
18247 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
18248
18249         * gdb.base/completion.exp: Update for change in "file" behavior.
18250         * gdb.stabs/weird.exp: Likewise.
18251         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18252         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
18253
18254 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
18255
18256         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18257         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18258
18259 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
18260
18261         * gdb.base/default.exp: Update source command error message.
18262         * gdb.base/help.exp: Update 'help source' message.
18263
18264 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
18265
18266         * gdb.cp/bs15503.exp: Update comment for no longer crashing
18267         test.
18268
18269 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
18270
18271         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18272
18273 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
18274
18275         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18276
18277 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
18278
18279         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18280
18281 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
18282
18283         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18284         *-*-openbsd* from targets for wich we expect ARM FPA floating
18285         point format.
18286
18287 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
18288
18289         * gdb.cp/annota3.exp: Expect frame-begin annotation.
18290
18291 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
18292
18293         * gdb.base/annota3.exp: Expect frame-begin annotation.
18294
18295 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
18296
18297         * gdb.base/help.exp: Adjust "help unset" test to accept
18298         any list of unset commands.
18299
18300 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
18301             Daniel Jacobowitz  <dan@codesourcery.com>
18302
18303         * gdb.cp/ref-params.exp: New test.
18304         * gdb.cp/ref-params.cc: New source file.
18305         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18306
18307 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
18308
18309         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18310         spaces/tabs in regular expressions since they might not be there.
18311
18312 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
18313
18314         * gdb.base/ifelse.exp: New file.
18315
18316 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
18317
18318         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18319         line.
18320         * gdb.base/huge.exp: Loop over compilation to find a size that
18321         is acceptable.
18322         * gdb.base/remote.exp: Correct expected strings.
18323         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18324
18325 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18326
18327         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18328
18329 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18330
18331         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
18332         native.
18333
18334 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18335
18336         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18337         enable stabs testing.
18338
18339 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18340
18341         * gdb.base/auxv.exp: Intercept undefined command messages before
18342         gdb_test_multiple does.
18343
18344 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
18345
18346         * Makefile.in (host_alias): Remove.
18347         (target_alias): Use @target_noncanonical@.
18348         (site.exp): Don't set host_alias.
18349         * aclocal.m4: Remove contents.  Include acx.m4.
18350         * configure: Regenerated.
18351         * configure.ac: Use ACX_NONCANONICAL_TARGET.
18352
18353 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
18354
18355         * lib/gdb.exp (gdb_load_cmd): New.
18356
18357         * gdb.base/fileio.c: Add system(NULL) test.
18358         * gdb.base/fileio.exp: Check it.
18359
18360         * gdb.base/break.c: Add 10a breakpoint at }
18361         * gdb.base/break.exp: Add test for breakpoint at }
18362         * gdb.cp/anon-union.cc: Add code at end of function.
18363         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18364         * gdb.mi/var-cmd.c: Add code at end of function.
18365         * gdb.mi/mi-var-display.exp: Adjust end of next.
18366         * gdb.mi/mi2-var-display.exp: Likewise.
18367         * gdb.base/fileio.c: Add stop function and insert calls at
18368         stopping places.
18369         * gdb.base/fileio.exp: Breakpoint stop function and remove
18370         explicit line number references.
18371
18372 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
18373
18374         * gdb.base/del.exp (test_delete_alias): New function.
18375         Now check that both "del" and "d" work as aliases for "delete".
18376
18377 2006-05-18  Fred Fish  <fnf@specifix.com>
18378
18379         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18380         required.  Check for spurious output after program exits normally.
18381
18382 2006-05-17  Fred Fish  <fnf@specifix.com>
18383
18384         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18385         gdb_load, so it works in the simulator.
18386
18387 2006-05-11  Fred Fish  <fnf@specifix.com>
18388
18389         * gdb.base/bang.exp: Ignore unexpected output between the
18390         "program exited normally" and the gdb prompt, as many other
18391         tests do.
18392
18393 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
18394
18395         * gdb.base/help.exp: Make "delete checkpoint" part option for
18396         "help d" and "help delete" tests.
18397
18398 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18399
18400         * gdb.mi/mi-basics.exp: Add missing serial number to
18401         expected output in some mi_gdb_test statements.
18402         * gdb.mi/mi2-basics.exp: Likewise.
18403
18404 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
18405
18406         * gdb.base/del.c: New file.
18407         * gdb.base/del.exp: New testcase.
18408
18409 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
18410
18411         * gdb.base/break.exp: Do not assume a breakpoint on
18412         main will actually be in $srcfile when optimizing.
18413         * gdb.base/savedregs.exp: Do not require that the dummy
18414         frame location match up to a symbol and source file location.
18415         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18416         will get printed without a mi_cmd_data_list_register_values prefix.
18417         (*-data-list-register-*): Correct regular expressions to expect the new
18418         pseudo d? floating point registers.
18419         * gdb.mi/mi2-regs.exp: Likewise.
18420
18421 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
18422
18423         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18424         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18425         is allocated by the compiler.
18426         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18427         anons, e, anone to force their allocation by the compiler.
18428
18429 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
18430
18431         * gdb.base/help.exp: Update expected text for help d and
18432         help delete.
18433
18434 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
18435
18436         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18437         NetBSD/ELF targets.
18438
18439 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
18440
18441         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18442         single-step breakpoint fails; make this a KFAIL on
18443         sparc*-*-openbsd*.
18444         * gdb.base/siginfo.exp: Likewise.
18445         * gdb.base/sigstep.exp (advance, advancei): Likewise.
18446
18447 2006-04-26  Michael Snyder  <msnyder@redhat.com>
18448
18449         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18450         which may have to consume output from other forks.
18451         Add tests to make sure that "delete fork" succeeded.
18452
18453 2006-04-20  Michael Snyder  <msnyder@redhat.com>
18454
18455         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
18456         Add support for the Renesas M32C and M16C.
18457
18458         * gdb.asm/asm-source.exp: Add m32c target.
18459         * gdb.asm/m32c.inc: Support for m32c target.
18460
18461 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
18462
18463         * gdb.base/commands.exp (recursive_source_test): New test.
18464
18465 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
18466
18467         * gdb.base/float.exp: Add pattern for sparc targets.
18468
18469 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
18470
18471         * gdb.base/commands.exp (stray_arg0_test): New test.
18472
18473 2006-03-30  Paul Brook  <paul@codesourcery.com>
18474
18475         * gdb.mi/mi-until.exp: kfail broken until command.
18476         * gdb.mi/mi2-until.exp: Ditto.
18477
18478 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
18479
18480         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18481
18482 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
18483
18484         * gdb.base/prelink.exp: Anchor tested-for regular expression
18485         on gdb prompt.
18486
18487 2006-03-07  Paul Brook  <paul@codesourcery.com>
18488
18489         * gdb.base/assign.exp: Correct fail message.
18490
18491 2006-03-07  Paul Brook  <paul@codesourcery.com>
18492
18493         * lib/compiler.c: Extract armcc version number.
18494         * lib/compiler.cc: Ditto.
18495
18496 2006-03-07  Paul Brook  <paul@codesourcery.com>
18497
18498         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18499         additional_flags=-w.
18500         * gdb.arch/altivec-regs.exp: Ditto.
18501         * gdb.arch/e500-abi.exp: Ditto.
18502         * gdb.arch/e500-regs.exp: Ditto.
18503         * gdb.base/all-bin.exp: Ditto.
18504         * gdb.base/annota1.exp: Ditto.
18505         * gdb.base/annota3.exp: Ditto.
18506         * gdb.base/args.exp: Ditto.
18507         * gdb.base/arithmet.exp: Ditto.
18508         * gdb.base/assign.exp: Ditto.
18509         * gdb.base/async.exp: Ditto.
18510         * gdb.base/bang.exp: Ditto.
18511         * gdb.base/break.exp: Ditto.
18512         * gdb.base/call-rt-st.exp: Ditto.
18513         * gdb.base/completion.exp: Ditto.
18514         * gdb.base/cond-expr.exp: Ditto.
18515         * gdb.base/condbreak.exp: Ditto.
18516         * gdb.base/consecutive.exp: Ditto.
18517         * gdb.base/define.exp: Ditto.
18518         * gdb.base/display.exp: Ditto.
18519         * gdb.base/ena-dis-br.exp: Ditto.
18520         * gdb.base/environ.exp: Ditto.
18521         * gdb.base/eval-skip.exp: Ditto.
18522         * gdb.base/info-proc.exp: Ditto.
18523         * gdb.base/jump.exp: Ditto.
18524         * gdb.base/logical.exp: Ditto.
18525         * gdb.base/long_long.exp: Ditto.
18526         * gdb.base/maint.exp: Ditto.
18527         * gdb.base/miscexprs.exp: Ditto.
18528         * gdb.base/pc-fp.exp: Ditto.
18529         * gdb.base/pointers.exp: Ditto.
18530         * gdb.base/relational.exp: Ditto.
18531         * gdb.base/reread.exp: Ditto.
18532         * gdb.base/sect-cmd.exp: Ditto.
18533         * gdb.base/sep.exp: Ditto.
18534         * gdb.base/sepdebug.exp: Ditto.
18535         * gdb.base/until.exp: Ditto.
18536         * gdb.base/whatis-exp.exp: Ditto.
18537         * gdb.cp/annota2.exp: Ditto.
18538         * gdb.cp/annota3.exp: Ditto.
18539         * gdb.trace/actions.exp: Ditto.
18540         * gdb.trace/backtrace.exp: Ditto.
18541         * gdb.trace/circ.exp: Ditto.
18542         * gdb.trace/collection.exp: Ditto.
18543         * gdb.trace/deltrace.exp: Ditto.
18544         * gdb.trace/infotrace.exp: Ditto.
18545         * gdb.trace/limits.exp: Ditto.
18546         * gdb.trace/packetlen.exp: Ditto.
18547         * gdb.trace/passc-dyn.exp: Ditto.
18548         * gdb.trace/passcount.exp: Ditto.
18549         * gdb.trace/report.exp: Ditto.
18550         * gdb.trace/save-trace.exp: Ditto.
18551         * gdb.trace/tfind.exp: Ditto.
18552         * gdb.trace/tracecmd.exp: Ditto.
18553         * gdb.trace/while-dyn.exp: Ditto.
18554         * gdb.trace/while-stepping.exp: Ditto.
18555         * lib/gdb.exp: Ditto.
18556         (gdb_compile): Handle nowarning option.
18557
18558 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
18559
18560         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18561         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
18562         Rename executable to prelinkt.  Don't re-prelink if we didn't
18563         get a core file.  Test prelink -u exit status to tell whether
18564         prelinking failed.  Use gdb_test_multiple.
18565
18566 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
18567
18568         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18569         (do_tests): Call it.
18570
18571 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
18572
18573         * gdb.base/prelink.exp: New test.
18574         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18575
18576 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
18577
18578         * gdb.fortran/derived-type.f90: New file.
18579         * gdb.fortran/derived-type.exp: New testcase.
18580
18581 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
18582
18583         * gdb.base/default.exp: Allow ';' as a directory separator.
18584
18585 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
18586
18587         * gdb.base/help.exp (help add-symbol-file): Update.
18588
18589 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
18590
18591         * gdb.base/help.exp (help load): Update expected results.
18592
18593 2006-02-19  Fred Fish  <fnf@specifix.com>
18594
18595         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18596         specifix hex value as part of results.
18597         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18598
18599 2006-02-16  Fred Fish  <fnf@specifix.com>
18600
18601         * gdb.base/whatis.c: Define variables using typedefs char_addr,
18602         ushort_addr, and slong_addr, so the typedefs are not optimized
18603         away.
18604         * gdb.base/whatis.exp: Add tests using type name for struct type,
18605         union type, enum type, and typedef.
18606
18607 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
18608
18609         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18610
18611 2006-02-13  Jim Blandy  <jimb@redhat.com>
18612
18613         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18614         case where it takes two "next" commands to skip past the init
18615         call.
18616
18617 2006-02-12  Fred Fish  <fnf@specifix.com>
18618
18619         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18620         to handle cases where it takes two "next" commands to skip
18621         past the init call.
18622
18623 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
18624
18625         * gdb.ada/array_return.exp: Mark the last test as expected to fail
18626         on hppa32 targets.
18627
18628 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
18629
18630         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18631         field.
18632
18633 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
18634
18635         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18636
18637 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
18638
18639         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18640         files.
18641
18642 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
18643
18644         * gdb.cp/maint.exp: Set complaints to a positive value.
18645
18646 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
18647
18648         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
18649         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
18650         function name.
18651
18652 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
18653
18654         * gdb.base/checkpoint.c: Update copyright notice.  Include
18655         <stdlib.h>.
18656
18657 2006-01-04  Jim Blandy  <jimb@redhat.com>
18658
18659         * gdb.asm/asm-source.exp: Independently provide default values for
18660         asm-flags and debug-flags.  Use 'string equal' to do the
18661         comparison, not the implicit expr's '==' operator.  Remove
18662         now-unneeded assignments to asm-flags.  In h8300 case, place
18663         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18664
18665 2006-01-04  Michael Snyder  <msnyder@redhat.com>
18666
18667         * gdb.base/checkpoint.c: New file.
18668         * gdb.base/checkpoint.exp: New file.
18669         * gdb.base/multi-fork.c: New file.
18670         * gdb.base/multi-fork.exp: New file.
18671         * gdb.base/pi.txt: New file (data for checkpoint.c test).
18672
18673 2006-01-04  Fred Fish  <fnf@specifix.com>
18674
18675         * gdb.base/ptype.c (foo): Add typedef.
18676         (intfoo): Add function.
18677         * gdb.base/ptype1.c: New file.
18678         * gdb.base/ptype.exp: Handle compilation and linking with two
18679         source files.  Test that proper type for "foo" is found based
18680         on source context rather than first match found in symtabs.
18681
18682 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
18683
18684         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18685         * gdb.asm/openbsd.inc: Indent commands.
18686
18687 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
18688
18689         * gdb.base/freebpcmd.exp: Increase timeout.
18690
18691         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18692
18693 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
18694
18695         * gdb.base/default.exp: Update check for "show version".
18696
18697 2005-12-09  Randolph Chung  <tausq@debian.org>
18698
18699         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18700         * gdb.asm/pa64.inc: New file.
18701
18702 2005-12-09  Randolph Chung  <tausq@debian.org>
18703
18704         * gdb.asm/common.inc: Indent commands.
18705         * gdb.asm/asmsrc1.s: Likewise.
18706         * gdb.asm/asmsrc2.s: Likewise.
18707
18708 2005-12-09  Randolph Chung  <tausq@debian.org>
18709
18710         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18711         (get_addr_of_sym): Remove duplicate print.
18712         (gen_core): xfail hppa*-*-hpux*, update expected output.
18713         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18714         * gdb.arch/pa64-nullify.s: New file.
18715
18716 2005-12-09  Randolph Chung  <tausq@debian.org>
18717
18718         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18719
18720 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
18721
18722         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18723         code generation for these functions.
18724         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18725         error message.
18726
18727 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
18728
18729         * gdb.base/help.exp (help b, help br, help bre, help brea)
18730         (help break): Update the expected message.
18731
18732 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
18733
18734         * gdb.asm/m68hc11.inc: Setup the data section.
18735         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18736         script for this test.
18737         (m6812-*-*): Likewise.
18738
18739 2005-11-09  Randolph Chung <tausq@debian.org>
18740
18741         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18742
18743 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
18744
18745         * gdb.base/break.exp: Fix a comment typo.
18746
18747 2005-11-03  Jim Blandy  <jimb@redhat.com>
18748
18749         Checked in by Elena Zannoni  <ezannoni@redhat.com>
18750
18751         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18752
18753 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
18754
18755         * gdb.arch/gdb1558.c: Include stdio.h.
18756
18757 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
18758
18759         * gdb.asm/asm-source.exp: Use -e instead of --entry.
18760
18761 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
18762
18763         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18764
18765 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
18766
18767         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18768         vscr" tests to better match output.
18769
18770 2005-10-12  Jim Blandy  <jimb@redhat.com>
18771
18772         * gdb.base/structs.exp (any): New function.
18773         (test_struct_returns): Don't make any assumptions at all about
18774         what value the function returns when GDB can't set the return
18775         value.
18776
18777 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
18778
18779         * gdb.ada/arrayidx/p.adb: New file.
18780         * gdb.ada/arrayidx.exp: New testcase
18781
18782 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
18783
18784         * gdb.ada/array_return/pck.ads: New file.
18785         * gdb.ada/array_return/pck.adb: New file.
18786         * gdb.ada/array_return/p.adb: New file.
18787         * gdb.ada/array_return.exp: New testcase.
18788
18789 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
18790
18791         * gdb.base/arrayidx.c: New file.
18792         * gdb.base/arrayidx.exp: New testcase.
18793
18794 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
18795
18796         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18797         frames-invalid and breakpoints-invalid are no longer generated
18798         with level 3 so don't expect them in the output.
18799
18800 2005-09-27  Bob Rossi  <bob@brasko.net>
18801
18802         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18803         from test.  Escape the | in mi_gdb_test call.
18804         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18805         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18806         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18807         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18808         expected regex's in mi_gdb_test calls.
18809         * lib/mi-support.exp: Remove arbitrary .* from tests.
18810         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18811         Fully anchor GDB/MI expected results in mi_gdb_test.
18812         * lib/gdb.exp (string_to_regexp): Escape the ] character.
18813         * gdb.base/sizeof.exp: Remove escape character. Correct test.
18814
18815 2005-09-26  Paul Brook  <paul@codesourcery.com>
18816
18817         * long_long.exp: Exclude eabi targets from arm FPA float format test.
18818
18819 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
18820
18821         * bfp-test.c: New file.
18822         * bfp-test.exp: New testcase.
18823
18824 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
18825
18826         * gdb.fortran/subarray.exp: New testcase to test the evaluation
18827         of subarray and substring variable.
18828         * gdb.fortran/subarray.f: New source file for the test of subarray
18829         and substring variable evaluation.
18830         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18831         of string constant.
18832
18833 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
18834
18835         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18836         copyright dates.
18837
18838 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
18839
18840         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18841         powerpc altivec' test with an almost identical 'info vector' test.
18842
18843 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
18844
18845         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18846         vscr" tests to match output.
18847
18848 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
18849
18850         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18851         output.
18852
18853 2005-09-11  Bob Rossi  <bob@brasko.net>
18854
18855         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18856         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18857         commands that return an MI output command and an asyncronous MI output
18858         command.
18859         * gdb.mi/mi-console.exp: Ditto.
18860
18861 2005-09-11  Bob Rossi  <bob@brasko.net>
18862
18863         * gdb.mi/mi-var-child.c: Include <string.h>.
18864
18865 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
18866
18867         * killed.exp: Correct gdb_expect syntax.
18868
18869 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
18870
18871         * lib/mi-support.exp (mi_gdb_load): Fix typo.
18872
18873 2005-08-02  Bob Rossi  <bob@brasko.net>
18874
18875         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18876         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18877         Change tests to inferior-tty-set/show.
18878         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18879         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18880         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18881         inferior.  Use mi_gdb_test to get GDB and Inferior output.
18882         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18883         descriptor.
18884         (mi_inferior_tty_name): Add inferior PTY file name.
18885         (mi_gdb_start): Add INFERIOR_PTY parameter.
18886         (mi_gdb_test): Add IPATTERN parameter.
18887
18888 2005-08-02   Bob Rossi  <bob@brasko.net>
18889
18890         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18891         parameter to mi_gdb_test.
18892         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18893
18894 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18895
18896         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18897         struct_declarations.
18898         * gdb.mi/mi-var-child.exp: Step over the initialization of
18899         struct_declarations.
18900
18901 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18902
18903         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18904         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18905         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18906         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18907         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18908         file.
18909
18910 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
18911
18912         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18913         (do_children_tests): Assign values to the extra elements.
18914
18915         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18916         them for tests for "-var-update --no-values" and
18917         "-var-update --all-values".
18918         Add test for "-var-list-children --simple-values".
18919
18920         * gdb.mi/basics.c (callee4): Add integer array D[3]...
18921
18922         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18923         "-stack-list-locals --simple-values"  Improve doc strings and
18924         comments.
18925
18926 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
18927
18928         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18929         *-*-openbsd*.
18930         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18931
18932         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18933         sigaltsatck'.
18934
18935 2005-07-14  Bob Rossi  <bob@brasko.net>
18936
18937         * gdb.base/default.exp (tty): Changed output of command.
18938         * gdb.base/help.exp (help tty): Ditto.
18939
18940 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
18941
18942         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18943
18944 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
18945
18946         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18947         -stack-select-frame without arguments.
18948         (test_stack_frame_listing): Add test for newly implemented command
18949         -stack-info-frame.
18950
18951 2005-07-06  Bob Rossi  <bob@brasko.net>
18952
18953         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18954         command.
18955         (Copyright): Update copyright.
18956
18957 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
18958
18959         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18960         tests to evaluate exponentiation expression.
18961
18962 2005-06-29  Andreas Schwab  <schwab@suse.de>
18963
18964         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18965         main to avoid warnings.
18966
18967         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18968
18969 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
18970
18971         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18972         -stack-select-frame without arguments.
18973         (test_stack_frame_listing): Add test for newly implemented command
18974         -stack-info-frame.
18975
18976 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
18977
18978         * gdb.fortran/array-element.f: New file.
18979         * gdb.fortran/array-element.exp: New testcase.
18980
18981 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
18982
18983         * gdb.base/bigcore.exp: Correct checks for systems which can
18984         not dump a large core file.
18985
18986 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
18987
18988         * gdb.base/relocate.c: Add a copyright notice.
18989         (dummy): Remove.
18990         * gdb.base/relocate.exp: Test printing the values of variables
18991         from a relocatable file.
18992
18993 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
18994
18995         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18996         excess MI output after an error.
18997
18998 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
18999
19000         * gdb.arch/alpha-step.c: New file.
19001         * gdb.arch/alpha-step.exp: New testcase.
19002
19003 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
19004             Dennis Brueni  <dennis@slickedit.com>
19005
19006         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19007         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19008         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19009         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19010         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19011         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19012         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19013
19014 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
19015             Wu Zhou  <woodzltc@cn.ibm.com>
19016
19017         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
19018         IBM's xlc compiler.
19019         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19020         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19021
19022 2005-05-13  Jim Blandy  <jimb@redhat.com>
19023
19024         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19025         calling gdb_suppress_entire_file.
19026         * gdb.base/charset.exp: Same.
19027         * gdb.base/call-rt-st.exp: Same.
19028
19029 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
19030
19031         * lib/gdb.exp (fullname_syntax): Added global regex.
19032         (fullname_syntax_POSIX): Ditto.
19033         (fullname_syntax_UNC): Ditto.
19034         (fullname_syntax_DOS_CASE): Ditto.
19035         (fullname_syntax_DOS): Ditto.
19036         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19037         fullname_syntax variable to scope and use it.
19038         (test_file_list_exec_source_files): Ditto.
19039         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19040
19041 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
19042
19043         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19044
19045 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
19046
19047         * lib/gdb.exp (skip_altivec_tests): New function, based on
19048         check_vmx_hw_available from the GCC testsuite.
19049         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19050         * lib/gdb.arch/altivec-regs.exp: Likewise.
19051
19052 2005-05-02  Jim Blandy  <jimb@redhat.com>
19053
19054         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19055         calling gdb_suppress_entire_file.
19056
19057 2005-04-30  Randolph Chung  <tausq@debian.org>
19058
19059         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19060         Slightly relax "sem_post" name checking.
19061
19062 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
19063
19064         * gdb.base/unload.exp: Use new shared library infrastructure.
19065
19066 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
19067
19068         * gdb.base/so-impl-ld.exp: Use new shared library
19069         infrastructure.
19070
19071 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
19072
19073         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19074         * gdb.asm/h8300.inc: New file.
19075
19076 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
19077
19078         * gdb.base/shlib-call.exp: Change to use new shared library
19079         infrastructure.
19080
19081 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
19082
19083         * gdb.base/pending.exp: Change to use new shared library
19084         infrastructure.
19085
19086 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
19087
19088         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19089         use test_compiler_info instead of gcc_compiled, and update copyright.
19090
19091 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
19092
19093         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19094         shared objects being adjusted and update copyright years.
19095
19096 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
19097
19098         * ChangeLog: Correct some 2003-01-13 dates.
19099         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19100         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19101         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19102         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19103         gdb.trace/tfind.exp: Update copyright years.
19104
19105 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
19106             Daniel Jacobowitz  <dan@codesourcery.com>
19107
19108         * lib/gdb.exp (gdb_compile): Handle shlib=.
19109         (gdb_compile_shlib): New function.
19110
19111 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
19112
19113         * lib/gdb.exp (test_compiler_info): Give argument a default value.
19114
19115 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
19116
19117         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19118         gdb.server.
19119         * configure.ac: Likewise.
19120         * configure: Regenerated.
19121         * gdb.gdbserver/Makefile.in: Moved to...
19122         * gdb.server/Makefile.in: ... here.
19123         * gdb.gdbserver/server.c: Moved to...
19124         * gdb.server/server.c: ... here.
19125         * gdb.gdbserver/server-run.exp: Moved to...
19126         * gdb.server/server-run.exp: ... here.
19127
19128 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
19129
19130         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19131         * configure.ac: Create gdb.gdbserver/Makefile.
19132         * configure: Regenerated.
19133         * lib/gdbserver-support.exp: New file, derived from
19134         config/gdbserver.exp.
19135         * config/gdbserver.exp: Use gdbserver-support.exp.
19136         * gdb.gdbserver/Makefile.in: New file.
19137         * gdb.gdbserver/server.c: New file.
19138         * gdb.gdbserver/server-run.exp: New file.
19139
19140 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
19141
19142         * lib/gdb.exp (test_compiler_info): Return compiler_info
19143         if no arguments are given.
19144
19145 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
19146
19147         * gdb.arch/altivec-abi.exp: Check for compiler and set
19148         use altivec' flag accordingly.
19149         * gdb.arch/altivec-regs.exp: Likewise.
19150
19151 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
19152
19153         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19154
19155 2005-03-27  Andreas Schwab  <schwab@suse.de>
19156
19157         * gdb.base/bigcore.c (main): Add missing mode argument in open
19158         call.
19159
19160 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
19161
19162         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19163         downloads.
19164         * config/gdbserver.exp (gdb_load): Likewise.
19165
19166 2005-03-14  Paul Brook  <paul@codesourcery.com>
19167
19168         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19169         targets.
19170
19171 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
19172
19173         * gdb.dwarf2/dup-psym.S: New file.
19174         * gdb.dwarf2/dup-psym.exp: New testcase.
19175
19176 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
19177
19178         * gdb.ada/exec_changed/first.adb: New file.
19179         * gdb.ada/exec_changed/second.adb: New file.
19180         * gdb.ada/exec_changed.exp: New testcase.
19181
19182 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
19183
19184         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19185         (A2): New class.
19186         (main): Test operator+.
19187         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
19188         breakpoint test.
19189
19190         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19191         * gdb.base/signull.exp: Disable if gdb,nosignals.
19192         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19193         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19194         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19195         * gdb.mi/mi2-console.exp: Likewise.
19196         * gdb.trace/collection.exp (run_trace_experiment): Consume the
19197         continue output at start.
19198         (gdb_collect_locals_test): Robustify regexp.
19199         * gdb.trace/passc-dyn.exp: Fix comment typo.
19200         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19201
19202 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
19203
19204         * gdb.asm/asm-source.exp: Add iq2000 case.
19205         * gdb.asm/iq2000.inc: New file.
19206
19207 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
19208
19209         * gdb.base/command.exp: Change hardcoded value to regular expression.
19210         * gdb.base/float.exp: Add powerpc to the list of targets checked.
19211
19212 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
19213
19214         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19215         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19216         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19217         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19218         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19219
19220 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
19221
19222         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19223         changes.
19224
19225 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
19226
19227         * lib/compiler.c: Add test for IBM's xlc compiler.
19228         * lib/compiler.cc: Likewise.
19229
19230 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
19231
19232         * gdb.ada/fixed_points.exp: Create compilation object directory
19233         before running the test.
19234         * gdb.ada/null_record.exp: Likewise.
19235         * gdb.ada/packed_array.exp: Likewise.
19236         * gdb.ada/start.exp: Likewise.
19237
19238 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
19239
19240         * gdb.ada/packed_array/pa.adb: New file.
19241         * gdb.ada/packed_array.exp: New testcase.
19242
19243 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
19244
19245         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19246         files.
19247
19248         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19249         on *-*-openbsd*.  Correctly match whitespace in regukar
19250         expressions.
19251
19252 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
19253
19254         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19255         PR exp/1821
19256         * gdb.base/gdb1821.c: New test file.
19257         * gdb.base/gdb1821.exp: New test file.
19258
19259 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
19260
19261         * gdb.base/start.c: New file.
19262         * gdb.base/start.exp: New testcase.
19263
19264 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
19265
19266         * gdb.ada/start/dummy.adb: New file.
19267         * gdb.ada/start.exp: New testcase.
19268
19269 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
19270
19271         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19272         for printing symbols and statistics.
19273         Add test for using relative pathnames in "maint print msymbols" test.
19274         Mark "maint info sections DATA" XFAIL on Cygwin.
19275         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19276         tests.
19277
19278 2005-02-09  Andreas Schwab  <schwab@suse.de>
19279
19280         Committed by Andrew Cagney  <cagney@gnu.org>
19281         * gdb.base/remotetimeout.exp: New file.
19282
19283 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
19284
19285         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19286
19287 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
19288
19289         * gdb.ada/gnat_ada.gpr: New file.
19290         * gdb.ada/gnat_ada.gin: Delete, no longer used.
19291         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19292         * configure.ac: No longer generate gnat_ada.gpr.
19293         * configure: Regenerate.
19294         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19295         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19296         * gdb.ada/null_record/bar.ads: Likewise.
19297         * gdb.ada/null_record/bar.adb: Likewise.
19298         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19299         * gdb.ada/null_record.exp (testdir): New variable.
19300         (testfile): executable is now in testdir subdirectory.
19301         (srcfile): Use full path to the main compilation unit.
19302         * gdb.ada/fixed_points.exp: Same changes as above.
19303
19304 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
19305
19306         * gdb.base/interp.exp: New test.
19307
19308 2005-01-24  Andrew Cagney  <cagney@gnu.org>
19309
19310         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19311
19312 2005-01-19  Andrew Cagney  <cagney@gnu.org>
19313
19314         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19315         configure.ac not configure.in.
19316
19317         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19318         of powerpc*-*-*.
19319         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19320         * gdb.base/list.exp (test_list_function)
19321         (test_list_filename_and_function): Ditto.
19322         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19323
19324 2005-01-16  Andrew Cagney  <cagney@gnu.org>
19325
19326         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19327
19328         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19329
19330 2005-01-14  Andrew Cagney  <cagney@gnu.org>
19331
19332         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19333         * gdb.mi/mi2-var-cmd.exp: Ditto.
19334
19335 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
19336
19337         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19338
19339 2005-01-07  Andrew Cagney  <cagney@gnu.org>
19340
19341         * configure.ac: Rename configure.in, require autoconf 2.59.
19342         * configure: Re-generate.
19343         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19344         * gdb.stabs/configure: Re-generate.
19345         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19346         * gdb.hp/configure: Re-generate.
19347         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19348         autoconf 2.59.
19349         * gdb.hp/gdb.objdbg/configure: Re-generate.
19350         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19351         autoconf 2.59.
19352         * gdb.hp/gdb.defects/configure: Re-generate.
19353         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19354         autoconf 2.59.
19355         * gdb.hp/gdb.compat/configure: Re-generate.
19356         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19357         autoconf 2.59.
19358         * gdb.hp/gdb.base-hp/configure: Re-generate.
19359         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19360         autoconf 2.59.
19361         * gdb.hp/gdb.aCC/configure: Re-generate.
19362
19363 2004-12-15  Jim Blandy  <jimb@redhat.com>
19364
19365         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19366         under NPTL when there is debugging info available for libpthread.
19367
19368 2004-12-13  Jerome Guitton  <guitton@gnat.com>
19369
19370         * gdb.ada/fixed_points.c: New file.
19371         * gdb.ada/fixed_points.exp: New file.
19372
19373 2004-12-03  Randolph Chung  <tausq@debian.org>
19374
19375         * gdb.arch/pa-nullify.exp: New file.
19376         * gdb.arch/pa-nullify.s: New file.
19377
19378 2004-11-30  Randolph Chung  <tausq@debian.org>
19379
19380         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19381         instead of "tbug".  Fix regexp to work properly with gdb_test.
19382
19383 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
19384
19385         * gdb.base/bitfields2.exp: New test.
19386         * gdb.base/bitfields2.c: New file.
19387
19388 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
19389
19390         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19391
19392 2004-11-16  Randolph Chung  <tausq@debian.org>
19393
19394         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19395
19396 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
19397
19398         * gdb.threads/threadapply.exp: Correct "macro details" test.
19399
19400 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
19401
19402         * gdb.threads/threadapply.exp: New test.
19403         * gdb.threads/threadapply.c: New file.
19404
19405 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
19406
19407         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19408         frames.
19409
19410 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
19411
19412         * gdb.base/cursal.exp: New file.
19413         * gdb.base/cursal.c: New file.
19414
19415 2004-11-03  Andrew Cagney  <cagney@gnu.org>
19416
19417         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19418
19419 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
19420
19421         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19422         NetBSD/ELF targets.
19423
19424 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
19425
19426         * gdb.threads/bp_in_thread.c: New file, copied from
19427         pthread_cond_wait.c.
19428         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19429         file, rather than reusing the .c file from another testcase.
19430
19431 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
19432
19433         * gdb.ada/null_record.exp: Check where we stopped after
19434         sending the start command, instead of where the associated
19435         temporary breakpoint was inserted.
19436
19437 2004-10-14  Andrew Cagney  <cagney@gnu.org>
19438
19439         * gdb.mi/gdb701.c (main): Return 0.
19440
19441 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
19442
19443         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19444
19445 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
19446
19447         * gdb.threads/schedlock.c: Add comment markers to use to find
19448         line numbers.
19449         * gdb.threads/schedlock.exp: Adjust regex to handle the new
19450         comments.
19451         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19452         breakpoint lines.
19453
19454 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
19455
19456         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19457
19458 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
19459
19460         * configure.in: Add gdb.dwarf2.
19461         * configure: Regenerated.
19462         * Makefile.in: Add gdb.dwarf2.
19463         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19464         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19465         gdb.dwarf2/file1.txt: New files.
19466
19467 2004-10-11  Orjan Friberg  <orjanf@axis.com>
19468
19469         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19470         of "run", since the latter doesn't work with remote targets.  Adjust
19471         the breakpoint numbering accordingly.
19472         * gdb.threads/pthread_cond_wait.exp: Ditto.
19473
19474 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
19475
19476         * gdb.base/overlays.exp: Update copyright years.
19477
19478 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
19479
19480         * gdb.base/overlays.exp: Disable if target is Linux.
19481
19482 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
19483
19484         * config/gdbserver.exp (gdb_load): Use right filename on remote.
19485
19486 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
19487
19488         * gdb.asm/asm-source.exp: Add m32r-linux target.
19489         * gdb.asm/m32r-linux.inc: New file.
19490
19491 2004-09-24  Andrew Cagney  <cagney@redhat.com>
19492             David Anderson <anderson@redhat.com>
19493
19494         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19495         command fails, assume things will work.
19496         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19497         (_GNU_SOURCE): Define.
19498         (print_unsigned, print_hex): Change parameter to "long long".
19499         (print_byte_count): New function, use to print byte counts.
19500         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19501         O_LARGEFILE.
19502         (main): Compute an upper bound on a corefile in max_core_size.
19503         Limit memory chunk size to max_core_size.  Limit total memory
19504         allocated to max_core_size.
19505
19506 2004-09-23  Andrew Cagney  <cagney@gnu.org>
19507
19508         * gdb.base/bigcore.exp: Replace the code that creates a corefile
19509         from a separate process with code that creates a corefile by
19510         making the inferior dump core.
19511
19512 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
19513
19514         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19515         block.
19516
19517 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
19518
19519         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19520         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
19521         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19522         Likewise.
19523
19524 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
19525
19526         * gdb.java/jprint.exp: New test case for java inferior call.
19527         * gdb.java/jprint.java: Ditto.
19528
19529 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
19530
19531         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19532
19533 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
19534
19535         * gdb.threads/killed.c: Include <stdlib.h>.
19536         * gdb.threads/pthreads.c: Likewise.
19537
19538 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
19539
19540         * gdb.threads/killed.c: Add copyright notice.
19541
19542 2004-09-10  Jason Molenda  (jmolenda@apple.com)
19543
19544         * gdb.base/define.exp: Two new tests to verify zero space chars
19545         after 'if' and 'while' commands in a user-defined command is correctly
19546         parsed.
19547
19548 2004-09-08  Andrew Cagney  <cagney@gnu.org>
19549
19550         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
19551         delivery test with duplicate at end of file.
19552
19553 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
19554
19555         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19556
19557 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
19558
19559         * config/hppro.exp: Removed.
19560
19561 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
19562
19563         * config/sparclet.exp: Removed.
19564
19565 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
19566
19567         * config/udi.exp: Removed.
19568
19569 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
19570
19571         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19572         of "exp_continue".
19573         (advancei): Likewise.
19574
19575 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
19576
19577         * gdb.base/unload.exp: Fix so messages aren't duplicated.
19578
19579 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
19580
19581         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19582         to check for nodebug in executable.
19583         * gdb.gdb/observer.exp (setup_test): Likewise.
19584         * gdb.gdb/selftest.exp (test_with_self): Likewise.
19585         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19586
19587 2004-09-01  Andrew Cagney  <cagney@gnu.org>
19588
19589         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19590         files.
19591
19592 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
19593
19594         * gdb.base/unload.exp: Fix expected warning message to match
19595         latest format.
19596
19597 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
19598
19599         * gdb.base/call-rt-st.exp: Fix typos.
19600
19601 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
19602
19603         * gdb.threads/thread_check.exp: New testcase.
19604         * gdb.threads/thread_check.c: New testcase.
19605
19606 2004-08-31  Andrew Cagney  <cagney@gnu.org>
19607
19608         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19609         (skip_to_handler_entry): New procedures.  Test stepping into a
19610         handler when the breakpoint is at the handler's entry point.
19611
19612 2004-08-30  Andrew Cagney  <cagney@gnu.org>
19613
19614         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19615         gdb/1757.
19616
19617 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
19618
19619         With code from Manoj Iyer <manjo@austin.ibm.com>:
19620         * lib/gdb.exp (gdb_file_cmd): Return more information in the
19621         return value.  Add an arm for "no debugging symbols found".
19622         Change a stray "error" to "perror".
19623         (gdb_run_cmd): Adapt to new return value.
19624         * gdb.base/remote.exp: Adapt to new return value.
19625         * gdb.gdb/complaints.exp: Likewise.
19626         * gdb.gdb/observer.exp: Likewise.
19627         * gdb.gdb/selftest.exp: Likewise.
19628         * gdb.gdb/xfullpath.exp: Likewise.
19629
19630 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
19631
19632         * gdb.threads/bp_in_thread.exp: New testcase.
19633
19634 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
19635
19636         Fix PR testsuite/1735.
19637         * gdb.threads/schedlock.c (thread_function): Add a cast
19638         to suppress a gcc warning.
19639         * gdb.threads/thread-specific.c (thread_function): Likewise.
19640
19641 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19642
19643         * gdb.base/unload.c: Include <stdlib.h>.
19644
19645 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19646
19647         From Paul Gilliam <pgilliam@us.ibm.com>:
19648         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19649         synchronized after the "return".
19650
19651 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19652
19653         * gdb.mi/basics.c: Include <stdio.h>.
19654         * gdb.mi/pthreads.c: Include <stdlib.h>.
19655         * gdb.mi/var-cmd.c: Include <stdlib.h>.
19656
19657 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
19658
19659         * gdb.threads/schedlock.c: Add copyright notice.
19660
19661 2004-08-25  Andrew Cagney  <cagney@gnu.org>
19662
19663         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19664         (skip_over_handler, breakpoint_over_hander): New test procedures.
19665         (advance, advancei): Add a proper prefix, do not use
19666         rerun_to_main.
19667         * gdb.base/sigstep.c (main): Change to use an infinite loop.
19668
19669 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
19670
19671         * gdb.mi/basics.c: Add copyright notice.
19672         * gdb.mi/var-cmd.c: Add copyright notice.
19673
19674 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
19675
19676         * lib/gdb.exp: Remove signed_keyword_not_used.
19677         * lib/compiler.c: Likewise.
19678         * lib/compiler.cc: Likewise.
19679
19680 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
19681
19682         * gdb.base/whatis.c: Remove conditional disabling of "signed".
19683         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19684
19685 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
19686
19687         * gdb.base/whatis.c: Add copyright notice.
19688
19689 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
19690
19691         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
19692         it to skip the breakpoints encoded in the inline assembly.
19693
19694 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
19695
19696         * Makefile.in: Add gdb.fortran.
19697
19698 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
19699
19700         * gdb.base/call-sc.exp (test_scalar_returns):
19701         Fix cut-and-paste glitch in "Make fun return now".
19702
19703 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
19704
19705         * configure.in: Add gdb.fortran.
19706         * configure: Regenerate.
19707         * gdb.fortran/Makefile.in: New file.
19708         * lib/gdb.exp (skip_fortran_tests): New procedure.
19709
19710 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
19711
19712         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
19713         reference to bug-gnu@prep.ai.mit.edu.
19714         * gdb.mi/mi-var-child.exp: Likewise.
19715         * gdb.mi/mi-var-cmd.exp: Likewise.
19716         * gdb.mi/mi-var-display.exp: Likewise.
19717         * gdb.mi/mi2-var-block.exp: Likewise.
19718         * gdb.mi/mi2-var-child.exp: Likewise.
19719         * gdb.mi/mi2-var-cmd.exp: Likewise.
19720         * gdb.mi/mi2-var-display.exp: Likewise.
19721
19722 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
19723
19724         * gdb.base/unload.c (main): Make local variable msg const.
19725
19726 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
19727
19728         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
19729         to bug-gnu@prep.ai.mit.edu.
19730         * gdb.mi/mi-disassemble.exp: Likewise.
19731         * gdb.mi/mi-eval.exp: Likewise.
19732         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
19733         default line number.
19734         * gdb.mi/mi-return.exp: Likewise.
19735         * gdb.mi/mi-simplerun.exp: Likewise.
19736         * gdb.mi/mi-stack.exp: Likewise.
19737         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
19738         number with explicit range test.
19739         * gdb.mi/mi-watch.exp: Likewise.
19740         * gdb.mi/mi2-break.exp: Likewise.
19741         * gdb.mi/mi2-cli.exp: Likewise.
19742         * gdb.mi/mi2-disassemble.exp: Likewise.
19743         * gdb.mi/mi2-eval.exp: Likewise.
19744         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
19745         default line number.
19746         * gdb.mi/mi2-return.exp: Likewise.
19747         * gdb.mi/mi2-simplerun.exp: Likewise.
19748         * gdb.mi/mi2-stack.exp: Likewise.
19749         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
19750         number with explicit range test.
19751         * gdb.mi/mi2-watch.exp: Likewise.
19752
19753 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
19754
19755         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19756         * gdb.cp/m-static.exp: Likewise.
19757         * gdb.cp/rtti.exp: Likewise.
19758
19759 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
19760
19761         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19762
19763 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
19764
19765         * ChangeLog: Prefix Local Variables with semi-colons and indent
19766         the reference to older ChangeLog files, to fix fontification in
19767         Emacs.
19768
19769 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19770
19771         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19772         * gdb.mi/mi2-break.exp: Likewise.
19773
19774 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19775
19776         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19777
19778 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19779
19780         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19781
19782 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
19783
19784         * gdb.cp/classes.exp: Remove unused declarations.  Just let
19785         test names default instead of providing special names.  Remove
19786         extraneous demangler test.
19787
19788 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
19789
19790         * gdb.base/unload.exp: New test for breakpoints in dynamically
19791         loaded libraries.
19792         * gdb.base/unload.c: Ditto.
19793         * gdb.base/unloadshr.c: Ditto.
19794
19795 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
19796
19797         * gdb.cp/classes.exp (test_ptype_class_objects): Call
19798         cp_test_ptype_class.
19799         (test_enums): Likewise.
19800
19801 2004-08-10  Andrew Cagney  <cagney@gnu.org>
19802
19803         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19804         files.
19805
19806 2004-08-10  Andrew Cagney  <cagney@gnu.org>
19807
19808         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19809         init_malloc call.
19810
19811 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
19812
19813         * ChangeLog: Add copyright notice.  The notice is copied
19814         from emacs 21.3 top level ChangeLog.
19815
19816 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19817
19818         * lib/cp-support.exp: New file.
19819         * lib/cp-support.exp (cp_test_type_class): New function.
19820         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19821         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19822         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19823         cp_test_ptype_class.
19824
19825 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19826
19827         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19828         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19829         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19830         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19831         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19832         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19833         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19834         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19835         gdb.mi/mi2-watch.exp: Update copyright years.
19836
19837 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
19838
19839         * gdb.base/sigaltstack.exp: Provide proper anchoring.
19840
19841 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19842
19843         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19844         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19845         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19846         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19847         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19848         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19849         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19850         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19851         gdb.mi/mi-watch.exp: Update copyright years.
19852
19853 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19854
19855         PR gdb/1738
19856         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19857         from a breakpoint with a pending signal.
19858
19859 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19860
19861         PR gdb/1736
19862         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19863         * gdb.base/sigaltstack.exp (finish_test): Consume output until
19864         the prompt.
19865         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19866
19867 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19868
19869         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19870
19871 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19872
19873         PR gdb/1736
19874         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
19875         for i?86-*-linux*.
19876
19877 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19878
19879         * gdb.arch/i386-prologue.exp: Compile without debug information.
19880
19881 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
19882
19883         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19884         rather than asking gdb to search.
19885
19886 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19887
19888         * gdb.base/gcore.c: Include <string.h>.
19889
19890 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19891
19892         * gdb.base/gcore.c: Add copyright notice.
19893
19894 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19895
19896         * gdb.base/freebpcmd.c: Include <stdio.h>.
19897         * gdb.base/long_long.c: Include <string.h>.
19898         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19899         * gdb.base/siginfo.c: Include <string.h>.
19900         * gdb.base/sigstep.c: Include <string.h>.
19901
19902 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19903
19904         * gdb.base/complex.c: Include <stdlib.h>.
19905
19906 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19907
19908         * gdb.base/complex.c: Add copyright notice.
19909
19910 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19911
19912         * gdb.base/charset.c: Include <stdlib.h>.
19913
19914 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19915
19916         * gdb.base/auxv.c: Include <stdlib.h>.
19917
19918 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19919
19920         * gdb.base/auxv.c: Add copyright notice.
19921
19922 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19923
19924         * gdb.base/coremaker.c: Add copyright notice.
19925         * gdb.base/coremaker2.c: Add copyright notice.
19926
19927 2004-08-04  Andrew Cagney  <cagney@gnu.org>
19928
19929         * gdb.base/store.exp: Update copyright.
19930         (check_set, up_set, check_struct, up_struct): Add a prefix to test
19931         names, do not import gdb_prompt.
19932
19933 2004-08-01  Andrew Cagney  <cagney@gnu.org>
19934
19935         Fix PR testsuite/1729.
19936         * gdb.base/dump.exp: Add test name to callers of capture_value, do
19937         not use capture_value with value 4.
19938         (capture_value): Add optional test name parameter.
19939         (test_reload_saved_value, test_restore_saved_value): Use $msg as
19940         the prefix, pass to capture_value.
19941
19942 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
19943
19944         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19945         * gdb.arch/i386-prologue.c (standard): New prototype and function.
19946         (main): Call new function.
19947
19948 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19949
19950         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19951
19952 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19953
19954         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19955
19956 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19957
19958         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19959         Accept more values of vtbl pointer.  Remove some messages
19960         about "obsolete gcc or gdb".
19961
19962 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
19963
19964         * gdb.cp/classes.exp: Accept more varieties of ptype output.
19965
19966 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
19967
19968         * gdb.base/asm-source.exp: Properly convert target board
19969         debug flags from gcc format to binutils format.
19970
19971 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
19972
19973         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19974         gdb1718".  PR backtrace/1718 partially fixed.
19975
19976 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
19977
19978         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19979
19980 2004-07-26  Nick Clifton  <nickc@redhat.com>
19981
19982         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
19983         good default value for a specific architecture is available then
19984         set it to that value.  Otherwise default to the -gstabs switch.
19985         Remove the -g... switches from the asm-flags variable.  Allow the
19986         target board info to override the value if it wants to.  Pass the
19987         switch on the assembler command line.
19988
19989 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
19990
19991         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19992         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19993         (main): Call new function.
19994
19995 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
19996
19997         Test for PR exp/1715.
19998         * gdb.base/radix.exp: Refactor common procedures.  Make all
19999         test names unique.  Change XFAIL to KFAIL.
20000
20001 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
20002
20003         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20004         * gdb.ada/gnat_ada.gin: ... to here.
20005         * configure.in: Use gnat_ada.gin.
20006         * configure: Regenerate.
20007
20008 2004-07-20  Andrew Cagney  <cagney@gnu.org>
20009
20010         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20011         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
20012         XFAILs.  Clean up test messages and comments.  Check backtraces.
20013         Delete re-sync code.
20014
20015 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
20016
20017         Fix PR cli/740.
20018         * gdb.base/annota1.exp: Honor gdb,nosignals.
20019         * gdb.base/annota3.exp: Likewise.
20020
20021 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
20022
20023         * lib/java.exp: Update copyright notice.
20024
20025 2004-07-19  Andrew Cagney  <cagney@gnu.org>
20026
20027         * gdb.base/selftest.exp: Copy file from here ...
20028         * gdb.gdb/selftest.exp: ... to here.
20029
20030 2004-07-16  Andrew Cagney  <cagney@redhat.com>
20031
20032         * lib/insight-support.exp: Delete file.
20033         * lib/java.exp (java_init): Fix copyright.
20034
20035 2004-07-16  Andrew Cagney  <cagney@gnu.org>
20036
20037         * gdb.base/restore.c: Append "prologue" to comments marking the a
20038         function's prologue.
20039         * gdb.base/restore.exp: Update copyright, re-indent.
20040         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
20041         callerN" prefix where needed.  Update patterns that match a
20042         function's prologue.
20043
20044 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
20045
20046         * gdb.base/restore.c: Add copyright notice.
20047
20048 2004-07-16  Andrew Cagney  <cagney@gnu.org>
20049
20050         * gdb.base/logical.exp: Update copyright.
20051         (evaluate): New procedure.  Use to re-implement tests using
20052         several tables.
20053
20054 2004-07-14  Martin Hunt  <hunt@redhat.com>
20055
20056         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20057         which fixes some problems where init.tcl was not found.
20058
20059 2004-07-13  Andrew Cagney  <cagney@gnu.org>
20060
20061         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20062         (check_sizeof, check_valueof): Do not include the output in the
20063         test name.  Use gdb_test.
20064         (get_valueof): Use gdb_test_multiple.
20065
20066         * gdb.base/step-test.exp: Update copyright.  Use
20067         gdb_test_multiple.  Ensure that test names do not include
20068         architecture dependent output.
20069
20070         * gdb.gdb/observer.exp: Update copyright.
20071         (setup_test): Use gdb_test_multiple.
20072         (attach_first_observer, attach_second_observer)
20073         (attach_third_observer, detach_first_observer)
20074         (detach_second_observer, detach_third_observer)
20075         (reset_counters, check_counters): Make $message a prefix.
20076         (test_normal_stop_notifications): Add "args" parameter - a list of
20077         init functions to be called.  Make $message a prefix,
20078         (test_observer_normal_stop): Change the message prefixes so that
20079         they are unique, pass the attach / detach procedures to
20080         test_normal_stop_notifications.
20081
20082         * gdb.base/signull.exp (test_segv): Prefix all tests with
20083         "${name}".  Clean up test messages.
20084
20085         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20086
20087         * gdb.base/ena-dis-br.exp: Update copyright.
20088         (break_at): New function.  Replace send_gdb with gdb_test,
20089         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
20090         ignore count, not stopped at bpt", with KFAIL.
20091
20092 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
20093
20094         * gdb.base/attach.exp: Remove cleanupfile handling.
20095
20096 2004-07-12  Andrew Cagney  <cagney@gnu.org>
20097
20098         * gdb.base/annota1.exp: Cleanup corefile test name.
20099         * gdb.base/annota3.exp: Ditto.
20100
20101 2004-07-12  Andrew Cagney  <cagney@gnu.org>
20102
20103         * gdb.base/signals.exp: Clean up copyright, re-indent.
20104
20105         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20106         gdb_test and gdb_test_multiple.
20107
20108 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
20109
20110         * gdb.java/jmain.exp: Fix expected line number for main to
20111         break at.  Set XFAIL for break at main test since gcj does not
20112         provide line number info for first statement in main.
20113
20114 2004-07-08  Andrew Cagney  <cagney@gnu.org>
20115
20116         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
20117
20118         * gdb.base/sigbpt.exp: Make the common part of each test name a
20119         prefix instead of suffix.
20120
20121 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
20122
20123         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20124         test from test_tbreak_creation_and_listing to
20125         test_file_list_exec_source_file
20126         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20127         Changed name of test from test_tbreak_creation_and_listing to
20128         test_file_list_exec_source_file
20129
20130 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
20131
20132         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20133         the jmisc() constructor instead of <init>.
20134         * gdb.java/jmisc1.exp: Ditto.
20135
20136 2004-07-07  Andrew Cagney  <cagney@gnu.org>
20137
20138         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20139         corrupting the PC.
20140
20141 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
20142
20143         * gdb.cp/templates.exp: Accept whitespace change in demangler
20144         output.
20145
20146 2004-07-06  Andrew Cagney  <cagney@gnu.org>
20147
20148         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20149
20150 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
20151
20152         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20153         * lib/compiler.cc: Likewise.
20154
20155 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
20156
20157         * lib/compiler.cc: Work around string preprocessing problem
20158         with old hp c++ compiler.
20159         * lib/compiler.c: Likewise.
20160
20161 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
20162
20163         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
20164         directives to conditionalize symbol prefixing.
20165         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20166         additional_flags handling.  Add underscore prefix for Cygwin.
20167         * gdb.arch/i386-unwind.c: Use preprocessor directives to
20168         conditionalize symbol prefixing.
20169         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20170         additional_flags handling.  Add underscore prefix for Cygwin.
20171
20172 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
20173
20174         * gdb.base/bigcore.exp: Skip test on Cygwin.
20175
20176 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
20177
20178         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20179         formats for "info register".  Use gdb_test_multiple.  Fix
20180         the "invalid register" test.
20181
20182 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
20183
20184         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
20185         PID for Cygwin.  Add Cygwin specific strings to check for in some
20186         tests.
20187         (do_attach_tests): Add a test for user interaction when attaching
20188         to a process with no matching symbol table already loaded.
20189
20190 2004-06-26  Andrew Cagney  <cagney@gnu.org>
20191
20192         Test PR java/1567 and PR java/1565.
20193         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20194         * gdb.java/jmisc2.exp: Delete file.
20195
20196 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
20197
20198         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20199
20200 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
20201
20202         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20203         attach process.
20204
20205 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
20206
20207         * gdb.cp/pr-1553.exp: Remove.
20208
20209 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
20210
20211         * gdb.cp/pr-1553.cc: Remove.
20212         * gdb.cp/pr-1553.exp: Disable this test.
20213
20214 2004-06-20  Jim Blandy  <jimb@redhat.com>
20215
20216         Fix PR testsuite/1680.
20217         * gdb.arch/i386-sse.exp: Properly quote curly braces in
20218         regular expressions.
20219
20220 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
20221
20222         Fix PR testsuite/1679.
20223         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20224         Issue an UNSUPPORTED result instead.
20225
20226 2004-06-18  Jim Blandy  <jimb@redhat.com>
20227
20228         * gdb.base/charset.exp: Only send a control-C if we see a new
20229         prompt and incomplete command.
20230
20231 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
20232
20233         * gdb.cp/pr-574.cc: Add copyright notice.
20234
20235 2004-06-17  Jim Blandy  <jimb@redhat.com>
20236
20237         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20238         cases where the regexp has no groups; this grabs random text from
20239         the previous test suite, whatever that was.
20240
20241 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
20242
20243         * gdb.cp/printmethod.cc: Add copyright notice.
20244
20245 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
20246
20247         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20248
20249 2004-06-16  Andrew Cagney  <cagney@gnu.org>
20250
20251         * gdb.base/signull.c: Update copyright.  Include <string.h>.
20252         (bowler): Replace data_pointer with data_read
20253         and data_write cases.  Add code_descriptor case.
20254         (zero, desc): New array and pointer.
20255         (data, code): Change to simple pointers.
20256         * gdb.base/signull.exp: Fix probe pattern matching a function
20257         descriptor SIGSEGV.  Replace data_pointer with data_read and
20258         data_write tests.
20259
20260 2004-06-16  Andrew Cagney  <cagney@gnu.org>
20261
20262         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20263
20264 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
20265
20266         * gdb.base/long_long.c: Add copyright notice.
20267
20268 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
20269
20270         * gdb.base/long_long.exp: Remove reference to
20271         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
20272         to gdb_breakpoint and gdb_continue_to_breakpoint.
20273
20274 2004-06-14  Jim Blandy  <jimb@redhat.com>
20275
20276         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20277         endian case.
20278
20279 2004-06-14  Andrew Cagney  <cagney@gnu.org>
20280
20281         * gdb.base/gcore.exp (capture_command_output): Delete the always
20282         passing tests containing inferior values.
20283         * gdb.base/ending-run.exp: Do not include the breakpoint address
20284         in the test message.  Update copyright.
20285         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20286         size in the test name, use gdb_test_multiple.  Update copyright.
20287
20288 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
20289
20290         * gdb.cp/ref-types.cc: Add copyright notice.
20291
20292 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
20293
20294         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20295         hp_aCC_compiler.
20296         * lib/compiler.cc: Likewise.
20297         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20298         'set' commands.  Log diagnostics for other lines.  Set
20299         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20300
20301 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
20302
20303         * gdb.cp/try_catch.cc: Add copyright notice.
20304
20305 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
20306
20307         * gdb.cp/userdef.cc: Add copyright notice.
20308
20309 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
20310
20311         * gdb.cp/virtfunc.cc: Add copyright notice.
20312
20313 2004-06-11  Randolph Chung  <tausq@debian.org>
20314
20315         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20316         problem.
20317
20318 2004-06-10  Andrew Cagney  <cagney@gnu.org>
20319
20320         * lib/compiler.cc, lib/compiler.c: Append either
20321         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20322         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20323         instead of gcc-3-3.
20324
20325 2004-06-09  Andrew Cagney  <cagney@gnu.org>
20326
20327         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20328         gdb/1455, bug is specific to "long long" and "double".
20329
20330         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20331         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20332         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
20333         fixed.
20334
20335 2004-06-09  Andrew Cagney  <cagney@gnu.org>
20336
20337         * gdb.base/structs.exp (test_struct_returns): Replace
20338         "return_value_unknown" and "finish_value_unknown" by
20339         "return_value_known" and "finish_value_known".  Instead of
20340         "return_value_unknown" iff "finish_value_unknown", check
20341         "return_value_known" implies "finish_value_known".
20342
20343 2004-06-08  Martin Hunt  <hunt@redhat.com>
20344
20345         * gdb.base/float.exp: Add pattern for mips targets.
20346
20347 2004-06-08  Randolph Chung  <tausq@debian.org>
20348
20349         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20350         message for unknown architectures more clear.
20351
20352 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
20353
20354         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20355         start the execution of the program.
20356
20357 2004-06-07  Jim Blandy  <jimb@redhat.com>
20358
20359         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20360         * gdb.arch/i386-cpuid.h: New helper file.
20361
20362 2004-06-07  Randolph Chung  <tausq@debian.org>
20363
20364         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20365         has started.
20366
20367 2004-06-04  Roland McGrath  <roland@redhat.com>
20368
20369         Fix PR gdb/1647.
20370         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20371         differently to be robust to output buffering differences.
20372
20373 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
20374
20375         * gdb.threads/pthreads.exp: Update copyright years.
20376         (check_control_c): Change asynchronous 'after' to synchronous.
20377
20378 2004-06-04  Roland McGrath  <roland@redhat.com>
20379
20380         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20381         next gdb prompt.
20382
20383 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
20384
20385         Fix PR gdb/1636.
20386         * gdb.threads/manythreads.exp: Change asynchronous 'after'
20387         calls to synchronous.
20388
20389 2004-05-26  Jim Blandy  <jimb@redhat.com>
20390
20391         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20392
20393 2004-05-24  Randolph Chung  <tausq@debian.org>
20394
20395         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20396         * gdb.asm/pa.inc: New file.
20397
20398 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
20399
20400         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20401
20402 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
20403             Daniel Jacobowitz  <drow@mvista.com>
20404
20405         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20406         GDB prompt.
20407
20408 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20409
20410         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20411         setjmp/longjmp.  Use sigaction instead of signal.
20412
20413 2004-05-19  J. Brobecker  <brobecker@gnat.com>
20414             Michael Snyder  <msnyder@redhat.com>
20415
20416         * gdb.threads/pthread_cond_wait.c: New file.
20417         * gdb.threads/pthread_cond_wait.exp: New testcase.
20418
20419 2004-05-13  Andrew Cagney  <cagney@redhat.com>
20420
20421         * gdb.base/signull.exp, gdb.base/signull.c: New files.
20422         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20423
20424 2004-05-11  Andrew Cagney  <cagney@redhat.com>
20425
20426         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
20427         fixed but revealed gdb/1639.
20428
20429 2004-05-10  Andrew Cagney  <cagney@redhat.com>
20430
20431         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20432         func1" and "next to 2nd alarm", kernel bug avoided.
20433
20434 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
20435
20436         PR external/1568
20437         * gdb.base/bigcore.exp: Check the size of the dumped core file.
20438         XFAIL if it is smaller than bytes_allocated.
20439         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20440         (main): Make chunks_allocated unsigned.  Correct comment.
20441
20442 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
20443
20444         * gdb.arch/powerpc-aix-prologue.c: New file.
20445         * gdb.arch/powerpc-aix-prologue.exp: New file.
20446
20447 2004-05-07  Jim Blandy  <jimb@redhat.com>
20448
20449         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20450         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20451
20452 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
20453
20454         * gdb.base/sep.exp: No longer setup_kfail when the program was
20455         built with dwarf2.
20456
20457 2004-05-05  Jim Ingham  <jingham@apple.com>
20458
20459         * gdb.base/pending.exp: Make sure pending breakpoints
20460         preserve the ignore count.
20461
20462 2004-04-27  Jerome Guitton  <guitton@gnat.com>
20463
20464         * i386-prologue.exp: Add testcase for jump instruction as first
20465         instruction of the real code.
20466         * i386-prologue.c (jump_at_beginning): New function.
20467
20468 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
20469
20470         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20471         x86_64-*-*.
20472
20473 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
20474
20475         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20476         i*86-*-*.
20477
20478 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
20479
20480         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20481         expression that checks the return type.
20482
20483 2004-04-23  Andrew Cagney  <cagney@redhat.com>
20484
20485         * gdb.base/call-sc.exp: New test of scalar call/return values.
20486         * gdb.base/call-sc.c: Ditto.
20487
20488 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20489
20490         * gdb.threads/manythreads.c: Reduce thread stack size.
20491
20492 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
20493
20494         * gdb.threads/manythreads.c: Add copyright notice.
20495
20496 2004-04-23  Andrew Cagney  <cagney@redhat.com>
20497
20498         * gdb.base/siginfo.exp: Better handle step out of signal.
20499         * gdb.base/sigstep.exp: Ditto.
20500
20501 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
20502             Daniel Jacobowitz  <drow@mvista.com>
20503
20504         * gdb.threads/manythreads.c: New testcase.
20505         * gdb.threads/manythreads.exp: Ditto.
20506
20507 2004-04-22  Jim Blandy  <jimb@redhat.com>
20508
20509         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20510         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20511
20512 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
20513
20514         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20515
20516 2004-04-21  Andrew Cagney  <cagney@redhat.com>
20517
20518         * gdb.base/sigstep.c: New file.
20519         * gdb.base/sigstep.exp: New file.
20520
20521 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
20522
20523         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20524         call to observer_notify_normal_stop.
20525
20526 2004-04-15  Andrew Cagney  <cagney@redhat.com>
20527
20528         * gdb.base/siginfo.c: New file.
20529         * gdb.base/siginfo.exp: New file.
20530
20531 2004-04-12  J. Brobecker  <brobecker@gnat.com>
20532
20533         * gdb.base/sep.exp: Fix typo in comment.
20534
20535 2004-04-12  J. Brobecker  <brobecker@gnat.com>
20536
20537         * gdb.base/sep.c: New file.
20538         * gdb.base/sep-proc.c: New file.
20539         * gdb.base/sep.exp: New testcase.
20540
20541 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
20542
20543         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20544         support.
20545
20546 2004-04-05  Andrew Cagney  <cagney@redhat.com>
20547
20548         * gdb.base/sigaltstack.c: New file.
20549         * gdb.base/sigaltstack.exp: New file.
20550
20551 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
20552
20553         * gdb.base/foll-fork.exp: Update the expected output for
20554         "help set follow-fork-mode", to match a change that was made
20555         to the help of this variable on 2004-01-13.
20556
20557 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
20558
20559         * lib/ada.exp: Add copyright notice.
20560         * bar.ads: Likewise.
20561         * bar.adb: Likewise.
20562         * null_record.adb: Likewise.
20563         * null_record.exp: Likewise.
20564         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20565
20566 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
20567
20568         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20569         * configure: Regenerate.
20570
20571 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
20572
20573         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20574         to build the application. Remove the message printed when in
20575         verbose mode, redundant with the UNSUPPORTED message above.
20576
20577 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20578
20579         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20580         * gdb.ada (null_record.exp): New testcase.
20581
20582 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20583
20584         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20585
20586 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20587
20588         * gdb.ada: New subdirectory.
20589         * gdb.ada/Makefile.in: New file.
20590         * gdb.ada/gnat_ada.gpr.in: New file.
20591
20592 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
20593
20594         * lib/ada.exp: New file.
20595
20596 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
20597
20598         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20599         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20600
20601 2004-03-22  Andrew Cagney  <cagney@redhat.com>
20602
20603         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20604         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20605         Problem identified by Ulrich Weigand.
20606
20607 2004-03-17  David Carlton  <carlton@kealia.com>
20608
20609         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20610         PR c++/826.
20611
20612 2004-03-16  Roland McGrath  <roland@redhat.com>
20613
20614         * gdb.base/auxv.exp: New file.
20615         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20616
20617 2004-03-12  David Carlton  <carlton@kealia.com>
20618
20619         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
20620         * gdb.cp/pr-1553.cc: Ditto.
20621         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20622         pass branch.
20623
20624 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
20625
20626         * gdb.cp/templates.exp: Accept more template types.
20627
20628 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
20629
20630         From Corinna Vinschen with modifications.
20631         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20632         local variable obj_with_enum.
20633         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20634         results with obj_with_enum.
20635
20636 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
20637
20638         * gdb.cp/classes.cc: New file, copied from misc.cc.
20639         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20640
20641 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
20642
20643         * gdb.cp/misc.cc: Add copyright notice.
20644
20645 2004-03-05  David Carlton  <carlton@kealia.com>
20646
20647         * gdb.cp/rtti.exp: Add 'print *obj3' test.
20648         * gdb.cp/rtti.h: Update copyright.
20649         (namespace n2::n3): New.
20650         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20651         (n2::n3::func3): New.
20652         (main): Call n2::n3::func3.
20653         * gdb.cp/rtti2.cc: Update copyright.
20654         (n2::create3): New.
20655
20656 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
20657
20658         * gdb.asm/openbsd.inc: Fix typo.
20659
20660 2004-03-03  Fred Fish  <fnf@redhat.com>
20661
20662         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20663         "val" instead of unused "size".  Update copyright year.
20664
20665 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
20666
20667         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
20668         to use unsigned char.
20669         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20670         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20671
20672 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
20673
20674         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20675         line of output.
20676
20677 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
20678
20679         * gdb.base/relocate.c (dummy): Initialize.
20680
20681 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
20682
20683         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
20684         a breakpoint at exit.
20685
20686 2004-02-27  Fred Fish  <fnf@redhat.com>
20687
20688         * gdb.base/chng-syms.exp: Add expect condition to match failing
20689         case that isn't a timeout.
20690
20691 2004-02-27  Andrew Cagney  <cagney@redhat.com>
20692
20693         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20694         support.
20695
20696 2004-02-26  Fred Fish  <fnf@redhat.com>
20697
20698         * gdb.arch/gdb1431.c: Remove.
20699         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20700         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20701         of "until" incorrectly.
20702
20703 2004-02-26  J. Brobecker  <brobecker@gnat.com>
20704
20705         * gdb.cp/class2.cc (empty): New class.
20706         (refer): New function.
20707         (main): Declare an object of type empty and use it.
20708         * gdb.cp/class2.exp: Print the value of an object of type empty.
20709
20710 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
20711
20712         * gdb.base/langs.exp: Update query string to match the
20713         new nquery format used for pending breakpoints.
20714
20715 2004-02-26  Andrew Cagney  <cagney@redhat.com>
20716
20717         Fix PR i18n/1570.
20718         * gdb.base/charset.c: Update copyright notice.
20719         (main, init_string): Remove the escape character '\e' tests.
20720         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20721         * gdb.base/charset.exp (valid_host_charset): Ditto.
20722         * gdb.base/setvar.exp: Ditto.
20723
20724 2004-02-24  Andrew Cagney  <cagney@redhat.com>
20725
20726         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20727         mmapped data in core file" PASS and FAIL messages consistent.
20728
20729         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20730         setting a breakpoint.  Work around PR java/1565.
20731
20732 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
20733
20734         * lib/gdb.exp (gdb_breakpoint): Update query string to match
20735         new nquery format.
20736         * gdb.base/pending.exp: Ditto.
20737
20738 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
20739
20740         * configure.in: Run stabs tests on *BSD.
20741         * configure: Regenerated.
20742
20743 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
20744
20745         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20746
20747 2004-02-20  Fred Fish  <fnf@redhat.com>
20748
20749         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20750         blank in test for "returns short", for consistency with other
20751         "returns xxx" tests.  Update copyright year.
20752
20753 2004-02-19  Fred Fish  <fnf@redhat.com>
20754
20755         New testcase for PR breakpoint/1558.
20756         * gdb.arch/gdb1558.exp: New file.
20757         * gdb.arch/gdb1558.c: New file.
20758
20759 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
20760
20761         * gdb.base/nodebug.exp: Fix typo.
20762
20763 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20764
20765         Committed by Jim Blandy  <jimb@redhat.com>.
20766
20767         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20768
20769         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20770
20771         * gdb.base/float.exp: Support s390*-*-* targets.
20772
20773 2004-02-17  Adam Fedor  <fedor@gnu.org>
20774
20775         * gdb.base/gdb1555.exp: New file.
20776         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20777
20778 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
20779
20780         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20781
20782 2004-02-16  Fred Fish  <fnf@redhat.com>
20783
20784         * gdb.arch/gdb1291.c: Remove
20785         * gdb.arch/gdb1291.s: New test input file.
20786         * gdb.arch/gdb1291.exp: Expand test to check case that should not
20787         fail.  Test for correct result, known incorrect result, other
20788         failures and timeouts.
20789
20790 2004-02-16  Andrew Cagney  <cagney@redhat.com>
20791
20792         * gdb.base/bigcore.exp: New file.
20793         * gdb.base/bigcore.c: New file.
20794
20795 2004-02-13  Andrew Cagney  <cagney@redhat.com>
20796
20797         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20798         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20799         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20800         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20801         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20802         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20803         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20804         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20805         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20806         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20807
20808 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
20809
20810         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20811         executed is an alloc instruction.
20812
20813 2004-02-11  David Carlton  <carlton@kealia.com>
20814
20815         * gdb.cp/breakpoint.exp: New.
20816         * gdb.cp/breakpoint.cc: New.
20817
20818 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
20819
20820         Partial fix for PR gdb/1543.
20821         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20822         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20823         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20824         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20825         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20826         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20827         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20828         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20829         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20830         to bug-gdb@prep.ai.mit.edu .
20831         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20832         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20833         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20834         Likewise.
20835
20836 2004-02-10  Andrew Cagney  <cagney@redhat.com>
20837
20838         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20839         using gdb_internal_error_resync.
20840
20841 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
20842
20843         * gdb.threads/thread-specific.exp: Stop early if no threads are
20844         found.
20845
20846 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
20847
20848         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20849
20850 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
20851
20852         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20853         breakpoints.
20854
20855 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
20856
20857         * config/sim.exp (gdb_load): Handle $arg == "".
20858         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20859         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20860
20861 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
20862
20863         * gdb.base/maint.exp: Update test to reflect
20864          obstack changes.
20865
20866 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
20867
20868         * gdb.base/pendshr.c (pendfunc): New function that calls
20869         pendfunc1.
20870         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20871
20872 2004-02-04  Fred Fish  <fnf@redhat.com>
20873
20874         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20875         function symbols and update copyright years.
20876         * gdb.arch/gdb1291.c: Ditto.
20877
20878 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20879
20880         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20881
20882 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20883
20884         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20885
20886 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20887
20888         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20889
20890 2004-02-02  Fred Fish  <fnf@redhat.com>
20891
20892         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20893         remote targets.  Update copyright years.
20894
20895 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
20896
20897         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20898         support.
20899         * gdb.base/langs.exp: Fix test which attempts to create
20900         breakpoint on non-existent function to handle new pending
20901         support.
20902         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20903         a breakpoint.
20904         * gdb.base/pending.exp: New test.
20905         * gdb.base/pending.c: New file.
20906         * gdb.base/pendshr.c: Ditto.
20907
20908 2004-02-02  David Carlton  <carlton@kealia.com>
20909
20910         * gdb.cp/overload.exp: Add overloadNamespace tests.
20911         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20912         (overloadNamespace, XXX): New.
20913         (main): Call XXX::marker2.
20914
20915 2004-02-01  Fred Fish  <fnf@redhat.com>
20916
20917         * gdb.base/dump.exp: Use runto_main instead of "runto main".
20918         * gdb.base/finish.exp: Ditto.
20919         * gdb.base/gcore.exp: Ditto.
20920         * gdb.base/huge.exp: Ditto.
20921         * gdb.base/info-proc.exp: Ditto.
20922         * gdb.base/return2.exp: Ditto.
20923         * gdb.threads/gcore-thread.exp: Ditto.
20924
20925 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20926
20927         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20928
20929 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
20930
20931         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20932         that opening the file succeeds on OpenBSD.
20933
20934 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20935
20936         * gdb.threads/thread-specific.c: New file.
20937         * gdb.threads/threads-specific.exp: New test script.
20938         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20939         to expect_out.
20940
20941 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
20942
20943         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
20944         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20945         only on the "print_small_structs from print_long_arg_list" test.
20946
20947 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20948
20949         * gdb.base/completion.exp: Kill a stray backslash.
20950
20951         From Jim Ingham <jingham@apple.com>:
20952         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20953         agrees with the result from sending a tab.
20954
20955 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
20956
20957         * gdb.base/chng-syms.exp: Remove stray newline.
20958
20959 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
20960
20961         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20962         *-*-openbsd*.
20963         * gdb.asm/openbsd.inc: New file.
20964
20965 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
20966
20967         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
20968         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20969         *-*solaris2*.  Remove commented out default settings for
20970         asm-flags.  Replace gdb_compile with target_link.
20971
20972 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
20973
20974         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
20975         for all tests.  Remove old hp-ux and cygnus xfail cases.
20976
20977 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
20978
20979         * gdb.base/chng-syms.exp: New file.
20980         * gdb.base/chng-syms.c: New file.
20981
20982 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
20983
20984         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
20985         Provide arms for current output in all my configurations.
20986
20987 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
20988
20989         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20990         * lib/compiler.cc: Likewise.
20991         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20992         get the right preprocessor.  Eval the output directly.  Remove
20993         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
20994         hp_f77_compiler and hp_f90_compiler completely.
20995         (gdb_preprocess): Delete.
20996         (get_compiler): Delete.
20997
20998 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
20999
21000         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21001         <string.h>.
21002
21003 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
21004
21005         * gdb.mi/mi-stack.exp: Update copyright.
21006
21007 2004-01-23  David Carlton  <carlton@kealia.com>
21008
21009         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
21010         test for cp_lookup_transparent_type.
21011         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
21012         call them.
21013
21014 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
21015
21016         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
21017         after -var-update.
21018
21019 2004-01-23  David Carlton  <carlton@kealia.com>
21020
21021         * gdb.cp/namespace.cc (C::ensureRefs): New.
21022         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21023
21024 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
21025
21026         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21027         case "-stack-list-locals 2".
21028         * gdb.mi/mi-var-child.exp: Test for case
21029         "-var-list-children --all-values NAME".
21030
21031 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
21032
21033         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21034
21035 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
21036
21037         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21038         used with gdb_test_multiple.
21039
21040         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21041         read at address 0.  This fixes PR testsuite/1504.
21042
21043 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
21044
21045         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21046         Remove downloading, guessing the host executable, the calls to
21047         gdb_file_cmd and gdb_target_cmd, and "load" support.
21048         (infer_host_exec): New function broken out from gdb_load.
21049         (gdb_load): New wrapper for gdbserver_gdb_load.
21050         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21051         gdb_target_cmd.  Use -target-select.
21052         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21053         Download binaries to the host.  Clear last_mi_remote_file when
21054         we load a new binary.
21055         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
21056         call gdbserver_gdb_load and mi_gdb_target_cmd.
21057
21058 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
21059
21060         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21061         type patterns.
21062
21063 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
21064
21065         * gdb.cp/templates.exp: Fix typo in test name of
21066         "print Foo<volatile char*>::foo".
21067
21068 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
21069
21070         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21071
21072 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
21073
21074         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21075         (clean mostlyclean): Remove empty rm.
21076
21077 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
21078
21079         * gdb.base/setvar.exp: Add copyright years.
21080
21081 2004-01-14  David Carlton  <carlton@bactrian.org>
21082
21083         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
21084         PR c++/1511 and update coment.
21085         * gdb.cp/templates.exp: Update patterns to match current output.
21086         If changes involve something other than whitespace, KFAIL
21087         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21088
21089 2004-01-14  David Carlton  <carlton@kealia.com>
21090
21091         * gdb.cp/namespace.exp: Add tests involving classes defined within
21092         namespaces.
21093         * gdb.cp/namespace.cc (C::CClass): New.
21094         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21095
21096 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
21097
21098         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21099         what debug info we have. Print a better message if something goes
21100         wrong while producing the separate debug info file.
21101
21102 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
21103
21104         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21105
21106 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
21107
21108         * gdb.base/callfuncs.c: Add copyright notice.
21109
21110 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
21111
21112         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21113         inheritance.  PR gdb/1498, PR gcc/13539.
21114
21115 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
21116
21117          * gdb.threads/gcore-thread.exp: Prefix name of binary with
21118          test specific name.
21119          * gdb.mi/gdb669.exp: Ditto.
21120          * gdb.mi/mi-pthreads.exp: Ditto.
21121          * gdb.mi/mi1-pthreads.exp: Ditto.
21122          * gdb.mi/mi2-pthreads.exp: Ditto.
21123
21124 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
21125
21126         * gdb.cp/member-ptr.cc: Add copyright notice.
21127
21128 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
21129
21130         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
21131         some patterns for recent versions of gcc and hpacc.  Delete
21132         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
21133         Delete tests that access a NULL pointer-to-member-data.  This
21134         script is still disabled for gcc.
21135
21136 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
21137
21138         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21139         escaped correctly.
21140
21141 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
21142
21143         * gdb.base/sepdebug.exp: New file.
21144         * gdb.base/sepdebug.c: New file.
21145         * lib/gdb.exp (separate_debug_filename): New procedure.
21146         (gdb_gnu_strip_debug): New procedure.
21147
21148 2004-01-12  Andrew Cagney  <cagney@redhat.com>
21149
21150         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
21151         * gdb.mi/ChangeLog-1999-2003: New file.
21152
21153 2004-01-12  Andrew Cagney  <cagney@redhat.com>
21154
21155         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
21156         "Renaming a directory to a non-empty directory returns ENOTEMPTY
21157         or EEXIST", treat EBUSY as an XFAIL.
21158
21159 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
21160
21161         * gdb.base/scope.exp: Remove obsolete setup_xfail for
21162         hp_cc_compiler.
21163
21164 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
21165
21166         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21167         decorations.
21168
21169 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
21170
21171         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21172         and "(aCC)" decorations.  Remove obsolete doco about old
21173         test results.
21174
21175 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
21176
21177         * gdb.cp/exception.exp: Fix typo in doco.
21178
21179 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
21180
21181         * gdb.base/gdb1476.exp: Fix typo.
21182
21183 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
21184
21185         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21186         file.
21187
21188 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
21189
21190         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21191         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21192         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
21193         for recent version of gdb.  Delete second half, which was a copy
21194         of the first half with different build flags.  This test is
21195         still disabled because it is still not ready for production.
21196
21197 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
21198
21199         * gdb.cp/exception.cc: Add copyright notice.
21200         * gdb.cp/exception.exp: Add a notice that this file is broken
21201         because of line number changes caused by addition of copyright
21202         notice.
21203
21204 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
21205
21206         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21207         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21208
21209 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
21210
21211         * gdb.cp/classes.exp: Accept gnu abi 2.
21212         * gdb.cp/derivation.exp: Likewise.
21213         * gdb.cp/overload.exp: Likewise.
21214         * gdb.cp/virtfunc.exp: Likewise.
21215
21216 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
21217
21218         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21219         semicolon after end of function.
21220
21221 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21222
21223         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21224         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
21225         boilerplate code for compiling and running the program under
21226         test.  Add some string method tests.
21227
21228 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21229
21230         * gdb.cp/bs15503.cc: Add copyright notice.
21231         * gdb.cp/bs15503.exp: Adjust line number.
21232
21233 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21234
21235         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21236         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21237
21238 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21239
21240         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21241         hp_cc_compiler.
21242
21243 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21244
21245         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21246         * gdb.cp/ctti.exp: Use the marker instead of "next".
21247         With gcc, run further before bailing.
21248
21249 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21250
21251         * gdb.cp/cttiadd.cc: Add copyright notice.
21252         * gdb.cp/cttiadd1.cc: Likewise.
21253         * gdb.cp/cttiadd2.cc: Likewise.
21254         * gdb.cp/cttiadd3.cc: Likewise.
21255
21256 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21257
21258         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
21259         Use gdb_test, gdb_test_multiple.  Use floating-point values that
21260         have exact representations in IEEE-ish formats.
21261
21262 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21263
21264         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21265         compilers.  Delete duplicate call to get_compiler_info.
21266         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21267         * gdb.base/volatile.exp: Likewise.
21268
21269 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
21270
21271         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21272         memory at address 0.
21273
21274 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
21275
21276         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21277         to test for hp-ux assembler.  Fix copyright years.
21278
21279 2004-01-07  Andrew Cagney  <cagney@redhat.com>
21280
21281         * gdb.base/fileio.c (strerrno): Add "EBUSY".
21282
21283 2004-01-07  Andrew Cagney  <cagney@redhat.com>
21284
21285         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21286         when creating the read-only file.  From analysis by Roland McGrath
21287         and Elena Zannoni.
21288
21289 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21290
21291         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21292
21293 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21294
21295         * gdb.base/cvexpr.c: Be type-safe with function pointers and
21296         data pointers.
21297
21298 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21299
21300         * gdb.cp/m-static.exp: Compile one source file at a time.
21301         Delete unused call to get_compiler_info.
21302
21303 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
21304
21305         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21306         * gdb.base/call-rt-st.exp: Likewise.
21307         * gdb.base/nodebug.exp: Likewise.
21308         * gdb.base/volatile.exp: Likewise.
21309         * gdb.cp/ref-types.exp: Likewise.
21310         * gdb.cp/templates.exp: Likewise.
21311
21312 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
21313
21314         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21315
21316 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
21317
21318         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21319         hppa*-hp-hpux*.
21320
21321 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
21322
21323         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21324         x86_64-*-*.
21325
21326         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21327         sparc64-*-* and sparc*-solaris2*.
21328
21329 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
21330
21331         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21332         return ${tests}" test.  The ${tests} already mentions the
21333         filename.
21334
21335 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
21336
21337         * gdb.cp/local.exp: Accept gcc abi 2.
21338
21339 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
21340
21341         * gdb.cp/templates.exp: Accept gcc abi 2.
21342
21343 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
21344
21345         * lib/compiler.cc: Remove supports_template_debugging.
21346         * gdb.cp/templates.exp: Do not test supports_template_debugging.
21347
21348 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21349
21350         * gdb.cp/namespace.exp: Accept gcc abi 2.
21351
21352 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21353
21354         * gdb.cp/method.exp: Accept gcc abi 2.
21355
21356 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21357
21358         * gdb.cp/classes.exp: Generate identical results as old version.
21359         * gdb.cp/derivation.exp: Likewise.
21360         * gdb.cp/overload.exp: Likewise.
21361         * gdb.cp/virtfunc.exp: Likewise.
21362
21363 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21364
21365         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21366         mysterious bug with sourceware version of expect.
21367
21368 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21369
21370         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
21371         current versions of gcc, including gcc abi 2.  Remove gratuitous
21372         restart of test program.  Use gdb_test_multiple and gdb_test for
21373         all tests.  Add patterns to xfail missing "const" in "const char *"
21374         and kfail PR gdb/1155.
21375
21376 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
21377
21378         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
21379         current versions of gcc, including gcc abi 2.  Remove gratuitous
21380         restart of test program.  Use gdb_test_multiple and gdb_test for
21381         all tests.  Add patterns to kfail PR gdb/1498.
21382
21383 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
21384
21385         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
21386         current versions of gcc, including gcc abi 2.  Use "breakpoint"
21387         and "continue" instead of restarting the target program.  Use
21388         gdb_test_multiple and gdb_test for all tests.
21389
21390 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
21391
21392         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
21393         for *-*-solaris2*.
21394
21395 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
21396
21397         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
21398         current versions of gcc, including gcc abi 2.  Use "breakpoint"
21399         and "continue" instead of restarting the target program several
21400         times.  Use gdb_test_multiple and gdb_test for all tests.
21401
21402 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
21403
21404         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21405         source files.
21406
21407 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
21408
21409         * gdb.base/environ.exp: Handle compiling test case from multiple
21410         source files.
21411
21412 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
21413
21414         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21415
21416 2003-12-17  Jim Blandy  <jimb@redhat.com>
21417
21418         * gdb.base/freebpcmd.c: Add copyright notice.
21419
21420         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21421
21422 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
21423
21424         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21425
21426 2003-12-13  Jim Blandy  <jimb@redhat.com>
21427
21428         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21429
21430 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
21431
21432         * gdb.asm/frv.inc: New file.
21433         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21434
21435 2003-12-09  Fred Fish  <fnf@redhat.com>
21436
21437         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21438         functions to break1.c and leave prototypes behind.  Add more
21439         "set breakpoint NN here" comments.
21440         * gdb.base/break1.c: New file.
21441
21442         * gdb.base/break.exp: Handle compiling test case from multiple
21443         source files and change source file references as needed.
21444         * gdb.base/completion.exp: Ditto.
21445         * gdb.base/condbreak.exp: Ditto.
21446         * gdb.base/define.exp: Ditto.
21447         * gdb.base/ena-dis-br.exp: Ditto.
21448         * gdb.base/info-proc.exp: Ditto.
21449         * gdb.base/maint.exp: Ditto.
21450         * gdb.base/until.exp: Ditto.
21451
21452         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21453         hardcoded line numbers.
21454         * gdb.base/define.exp: Ditto.
21455         * gdb.base/ena-dis-br.exp: Ditto.
21456         * gdb.base/maint.exp: Ditto.
21457         * gdb.base/until.exp: Ditto.
21458
21459         * gdb.base/completion.exp: Use "break1" for completion tests since
21460         "break" is no longer a unique prefix.
21461
21462 2003-12-06  Andrew Cagney  <cagney@redhat.com>
21463
21464         * gdb.base/structs.exp (test_struct_returns): When applicable, set
21465         "return_value_unimplemented".  When an unimplemented struct return
21466         architecture, report incorrect values as a KFAIL
21467
21468 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
21469
21470         * gdb.cp/rtti.exp: Accept new wording of warning from
21471         cp_lookup_rtti_type.
21472
21473 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
21474
21475         Partial fix for PR testsuite/1456.
21476         * gdb.base/scope.exp (test_at_main): Replace references to
21477         gcc_compiled with calls to test_compiler_info.
21478         (test_at_foo): Likewise.
21479         (test_at_bar): Likewise.
21480
21481 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
21482
21483         Partial fix for PR testsuite/1456.
21484         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21485         to test_compiler_info.
21486
21487 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
21488
21489         * gdb.base/so-impl-ld.exp: Update copyright notice.
21490
21491 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
21492
21493         Partial fix for PR testsuite/1456.
21494         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21495         to test_compiler_info.
21496
21497 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
21498
21499         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21500         from current versions of gdb.  Clean up regular expressions.
21501         Delete redundant timeout case.
21502
21503 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
21504
21505         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21506         from current versions of gdb.  Clean up regular expressions.
21507         Delete redundant timeout case.
21508
21509 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
21510
21511         Partial fix for PR testsuite/1456.
21512         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21513         gcc_compiled with call to test_compiler_info.
21514
21515 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
21516
21517         Partial fix for PR testsuite/1456.
21518         * gdb.base/list.exp (test_list_function): Delete unused declaration
21519         of gcc_compiled.
21520
21521 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
21522
21523         Partial fix for PR testsuite/1456.
21524         * gdb.base/complex.exp: Replace reference to gcc_compiled with
21525         call to test_compiler_info.
21526
21527 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
21528
21529         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
21530         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
21531         it to create the appropriate note.inc.
21532         * gdb.asm/asmsrc1.s: Include "note.inc".
21533         * gdb.asm/netbsd.inc: New file.
21534         * gdb.asm/empty.inc: New file.
21535
21536 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
21537
21538         Partial fix for PR testsuite/1456.
21539         * gdb.base/constvars.exp: Replace references to gcc_compiled with
21540         calls to test_compiler_info.
21541
21542 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
21543
21544         Partial fix for PR testsuite/1456.
21545         * gdb.base/volatile.exp: Replace references to gcc_compiled with
21546         calls to test_compiler_info.
21547
21548 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
21549
21550         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21551         pattern for the KFAILs.
21552
21553 2003-11-25  Adam Fedor  <fedor@gnu.org>
21554
21555         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21556         * gdb.objc/objcdecode.m: New file.
21557
21558 2003-11-25  Adam Fedor  <fedor@gnu.org>
21559
21560         * gdb.objc/nondebug.exp: Test for PR objc/1236.
21561         * gdb.objc/nondebug.m: New file.
21562
21563 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
21564
21565         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21566         NetBSD as it does on FreeBSD.  Modelled on a similar change by
21567         Mark Kettenis on 2003-05-30.
21568         (link-flags): Set to "--entry _start" regardless of target.
21569         Special linker flags are to be appended to $link-flags.
21570         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21571
21572 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
21573
21574         * gdb.cp/method.exp: Accept output of new demangler.
21575
21576 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
21577
21578         * gdb/class2.exp: New file.
21579         * gdb/class2.cc: New file.
21580
21581 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
21582
21583         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21584         of new demangler.
21585
21586 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
21587
21588         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21589         of gdb_test "run".
21590
21591 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
21592
21593         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
21594         "continue" into "run".
21595
21596 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
21597
21598         Partial fix for PR testsuite/1456.
21599         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21600         call to test_compiler_info.
21601         * gdb.cp/ctti.exp: Likewise.
21602         * gdb.cp/derivation.exp: Likewise.
21603         * gdb.cp/member-ptr.exp: Likewise.
21604         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21605         reference to gcc_compiled.
21606
21607 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
21608
21609         Fix PR testsuite/1463.
21610         * gdb.base/structs.exp (start_structs_test): Call
21611         get_debug_format before using the debug format.
21612
21613 2003-11-22  Andrew Cagney  <cagney@redhat.com>
21614
21615         * lib/gdb.exp (gdb_test_multiple): Add simple example.
21616         * gdb.base/structs.exp: Use gdb_test_multiple.
21617
21618 2003-11-20  Andrew Cagney  <cagney@redhat.com>
21619
21620         * gdb.base/structs.exp: Handle and recover from internal errors.
21621         Replace "foo${n}" with "foo<n>" in test messages.
21622
21623         * gdb.base/structs.exp: Update copyright.  Rewrite.
21624         * gdb.base/structs.c: Update copyright.  Rewrite.
21625
21626         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21627         resync count exceeded.
21628
21629         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21630         from the internal error.
21631         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21632         Original from Jim Blandy.
21633         (gdb_test_multiple): Use gdb_internal_error_resync.
21634
21635 2003-11-19  Andrew Cagney  <cagney@redhat.com>
21636
21637         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21638         KFAIL.
21639
21640 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
21641
21642         New testcase for PR backtrace/1435.
21643         * gdb.arch/i386-unwind.exp: New file.
21644         * gdb.arch/i386-unwind.c: New file.
21645
21646 2003-11-17  Andrew Cagney  <cagney@redhat.com>
21647
21648         * lib/gdb.exp (compiler_info): New global.
21649         (test_compiler_info): New function.
21650         (get_compiler_info): Set compiler_info.
21651         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
21652         "compiler_info" to gcc-<major>-<minor>.
21653
21654 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
21655
21656         * gdb.trace/configure: Remove.
21657
21658 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
21659
21660         * gdb.base/break.c: Add comments to aid finding line numbers for
21661         breakpoints.
21662         * gdb.base/break.exp: Remove all references to explicit line
21663         numbers.
21664
21665 2003-11-11  Nick Clifton  <nickc@redhat.com>
21666
21667         * gdb.base/shreloc.exp: Do not run for targets which do not
21668         support shared objects.
21669
21670 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
21671
21672         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21673         Don't run tests if nofileio flag is given.
21674
21675 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
21676
21677         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21678         as well as 'Watchpoint'.
21679
21680 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
21681
21682         Reported by Jim Ingham <jingham@apple.com>:
21683         * gdb.base/annota1.exp: Match at least one occurrence of the
21684         signal handler annotation.
21685
21686 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
21687
21688         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21689         as well as 'Watchpoint'.
21690
21691 2003-11-05  Michael Chastain  <mec@shout.net>
21692
21693         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21694
21695 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
21696
21697         * gdb.arch/gdb1291.c: New test file.
21698         * gdb.arch/gdb1291.exp: New test script.
21699         * gdb.arch/gdb1431.c: New test file.
21700         * gdb.arch/gdb1431.exp: New test script.
21701
21702 2003-10-22  Michael Chastain  <mec@shout.net>
21703
21704         * gdb.mi/pthreads.c: Add copyright notice.
21705
21706 2003-10-22  Michael Chastain  <mec@shout.net>
21707
21708         * gdb.threads/pthreads.c: Add copyright notice.
21709
21710 2003-10-20  Michael Chastain  <mec@shout.net>
21711
21712         * gdb.base/gdb1056.exp: New test script.
21713
21714 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
21715
21716         * gdb.threads/killed.exp: Use gdb_run_cmd.
21717
21718 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
21719
21720         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21721         create a core file.
21722         * gdb.threads/gcore-thread.exp: Likewise.
21723
21724 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
21725
21726         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21727         type, based on char type.
21728         (struct bit_flags_short_t): New bitfield type, based on short type.
21729         (init_bit_flags_char): New fuction.
21730         (init_bit_flags_short): Ditto.
21731         (print_bit_flags_char): Ditto.
21732         (print_bit_flags_short): Ditto.
21733         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21734
21735 2003-10-11  Michael Chastain  <mec@shout.net>
21736
21737         * gdb.base/call-rt-st.exp: Update copyright year.
21738
21739 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
21740
21741         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21742         * gdb.disasm/sh3.s: Ditto.
21743
21744 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
21745
21746         * gdb.threads/switch-threads.exp: New test.
21747         * gdb.threads/switch-threads.c: New source file.
21748
21749 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
21750
21751         * gdb.base/ending-run.exp: Add sh specific case.
21752
21753 2003-10-06  Andrew Cagney  <cagney@redhat.com>
21754
21755         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21756         * gdb.disasm/mn10200.exp: Delete obsolete file.
21757
21758 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
21759
21760         * ChangeLog: Correct an entry command.exp -> commands.exp.
21761         * gdb.base/commands.exp (bp_deleted_in_command_test)
21762         (temporary_breakpoint_commands): Check noargs.
21763
21764 2003-09-25  David Carlton  <carlton@kealia.com>
21765
21766         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
21767         of some print tests, where appropriate.  Add tests for C::D::cd,
21768         E::ce, F::cXfX, G::XgX.
21769         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21770
21771 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
21772
21773         * lib/java.exp (java_init): Import target_alias before using it.
21774
21775 2003-09-25  David Carlton  <carlton@kealia.com>
21776
21777         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21778
21779 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
21780
21781         * gdb.base/selftest.exp: Accomodate more instruction reordering
21782         weirdness.
21783
21784 2003-09-17  Michael Chastain  <mec@shout.net>
21785
21786         * gdb.cp/gdb1355.exp: New file.
21787         * gdb.cp/gdb1355.c: New file.
21788
21789 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
21790
21791         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21792         * gdb.asm/sh.inc: New file.
21793
21794 2003-09-11  David Carlton  <carlton@kealia.com>
21795
21796         * gdb.cp/namespace.exp: Add tests for namespace types.
21797         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21798         (test_namespace): New.
21799
21800 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
21801
21802         * gdb.base/relocate.exp: Handle new gdb output at startup.
21803         * gdb.stabs/weird.exp: Ditto.
21804
21805 2003-09-08  Michael Chastain  <mec@shout.net>
21806
21807         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21808
21809 2003-09-07  Michael Chastain  <mec@shout.net>
21810
21811         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21812         'parse error'.
21813
21814 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
21815
21816         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21817
21818 2003-08-30  Michael Chastain  <mec@shout.net>
21819
21820         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21821         * gdb.gdb/observer.exp: Ditto.
21822         * gdb.gdb/xfullpath.exp: Ditto.
21823
21824 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
21825
21826         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21827         *-*-*bsd*.
21828
21829 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
21830
21831         * gdb.base/dump.exp: Skip for ia64.
21832
21833 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
21834
21835         * gdb.asm/asm-source.exp: Add ia64 support.
21836         * gdb.asm/ia64.inc: New file.
21837
21838 2003-08-22  Michael Chastain  <mec@shout.net>
21839
21840         * gdb.cp: New directory.
21841         * gdb.cp/*: Copy from gdb.c++/*.
21842         * gdb.c++/*: Remove.
21843         * Makefile.in: Change gdb.c++ to gdb.cp.
21844         * configure.in:  Ditto.
21845         * configure: Regnerate.
21846
21847 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
21848
21849         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21850         * gdb.arch/i386-prologue.c (gdb1338): Add function.
21851
21852 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
21853
21854         * mi-var-display.exp (-var-list-children weird): Accept function
21855         pointers with argument types.
21856         * mi1-var-display.exp (-var-list-children weird): Likewise.
21857         * mi2-var-display.exp (-var-list-children weird): Likewise.
21858
21859 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
21860
21861         * gdb.base/annota3.exp: Add missing newline.
21862
21863 2003-08-06  Michael Chastain  <mec@shout.net>
21864
21865         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21866
21867 2003-08-12  Michael Snyder  <msnyder@redhat.com>
21868
21869         * gdb.base/float.exp: Add test for SH.
21870
21871 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
21872
21873         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21874
21875 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21876
21877        * gdb.base/completion.exp: Remove reduntant completion test
21878        on filename.
21879
21880 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21881
21882         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21883         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21884         gdb.trace/save-trace.exp: Make sure that full pathnames are
21885         escaped correctly.
21886
21887 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21888
21889         * configure.in: Don't generate config.h from config.hin.
21890         * configure: Regenerate.
21891         * config.hin: Remove file.
21892         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21893         * gdb.threads/pthreads.c: Ditto.
21894
21895 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
21896
21897         From Kei Sakamoto <sakamoto.kei@renesas.com>:
21898         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21899         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21900         Replace ld24 with seth/add3.
21901
21902 2003-08-02  Andrew Cagney  <cagney@redhat.com>
21903
21904         * gdb.base/annota3.exp: New file.
21905         * gdb.base/annota3.c: New file.
21906         * gdb.c++/annota3.exp: New file.
21907         * gdb.c++/annota3.cc: New file.
21908
21909 2003-07-29  Michael Chastain  <mec@shout.net>
21910
21911         * gdb.threads/tls.c (spin): Check errno only if sem_wait
21912         actually failed.
21913         (do_pass): Likewise.
21914         * gdb.threads/tls.exp: Always initialize no_of_threads.
21915
21916 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
21917
21918         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21919         pattern.
21920         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21921         * gdb.threads/tls.exp: Recognize one case of the host library not
21922         supporting TLS.
21923
21924 2003-07-27  Andrew Cagney  <cagney@redhat.com>
21925
21926         * gdb.base/fileio.exp: Use SH when running commands using
21927         remote_exec.
21928
21929 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
21930
21931         From Kei Sakamoto <sakamoto.kei@renesas.com>:
21932         * gdb.base/relocate.c (dummy): New padding array.
21933
21934 2003-07-22  Michael Snyder  <msnyder@redhat.com>
21935
21936         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21937
21938         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21939         patterns to be more general, accepting old and new output.
21940         Some output chars (such as '+') also must be quoted.
21941         Some addresses are displayed numerically instead of
21942         symbolically.
21943
21944 2003-07-23  Michael Snyder  <msnyder@redhat.com>
21945
21946         * gdb.base/return2.exp: Don't test long-long return.
21947
21948         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21949         * gdb.disasm/t01_mov.exp: Ditto.
21950         * gdb.disasm/t02_mova.s: Ditto.
21951         * gdb.disasm/t02_mova.exp: Ditto.
21952         * gdb.disasm/t03_add.s: Ditto.
21953         * gdb.disasm/t03_add.exp: Ditto.
21954         * gdb.disasm/t04_sub.s: Ditto.
21955         * gdb.disasm/t04_sub.exp: Ditto.
21956         * gdb.disasm/t05_cmp.s: Ditto.
21957         * gdb.disasm/t05_cmp.exp: Ditto.
21958         * gdb.disasm/t06_ari2.s: Ditto.
21959         * gdb.disasm/t06_ari2.exp: Ditto.
21960         * gdb.disasm/t07_ari3.s: Ditto.
21961         * gdb.disasm/t07_ari3.exp: Ditto.
21962         * gdb.disasm/t08_or.s: Ditto.
21963         * gdb.disasm/t08_or.exp: Ditto.
21964         * gdb.disasm/t09_xor.s: Ditto.
21965         * gdb.disasm/t09_xor.exp: Ditto.
21966         * gdb.disasm/t10_and.s: Ditto.
21967         * gdb.disasm/t10_and.exp: Ditto.
21968         * gdb.disasm/t11_logs.s: Ditto.
21969         * gdb.disasm/t11_logs.exp: Ditto.
21970         * gdb.disasm/t12_bit.s: Ditto.
21971         * gdb.disasm/t12_bit.exp: Ditto.
21972         * gdb.disasm/t13_otr.s: Ditto.
21973         * gdb.disasm/t13_otr.exp: Ditto.
21974
21975 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
21976
21977         * gdb.threads/tls.exp :Add kfail for 'info address' case.
21978
21979 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
21980
21981         * gdb.threads/tls.c : New file.
21982         * gdb.threads/tls.exp : New file.
21983         * gdb.threads/tls-main.c : New file.
21984         * gdb.threads/tls-shared.c : New file.
21985         * gdb.threads/tls-shared.exp : New file.
21986
21987 2003-07-22  Andreas Schwab  <schwab@suse.de>
21988
21989         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21990
21991 2003-07-20  Andreas Schwab  <schwab@suse.de>
21992
21993         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21994         due to insn reordering.
21995
21996 2003-07-15  Andrew Cagney  <cagney@redhat.com>
21997
21998         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21999
22000 2003-07-15  Michael Chastain  <mec@shout.net>
22001
22002         * gdb.base/gdb1250.exp: New file.
22003         * gdb.base/gdb1250.c: New file.
22004
22005 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
22006
22007         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22008         expansion of size_t to 'unsigned long', not only to 'unsigned'.
22009
22010 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
22011
22012         * gdb.threads/tls.c: New file.
22013         * gdb.threads/tls.exp: New file.
22014         * gdb.threads/tls-main.c: New file.
22015         * gdb.threads/tls-shared.c: New file.
22016         * gdb.threads/tls-shared.exp: New file.
22017
22018 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
22019
22020         * gdb.base/annota1.exp: Make sure that we properly escape the
22021         full path of the source file. Xfail more permissive patterns,
22022         due to a compiler debug info problem.
22023
22024 2003-07-07  Andreas Schwab  <schwab@suse.de>
22025
22026         * gdb.asm/m68k.inc: New file.
22027         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22028
22029         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22030         arguments"): Also match negative number.
22031
22032         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22033
22034 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
22035
22036         * gdb.base/store.c (charest): New typedef.
22037         (add_char): Rename to add_charest, update.
22038         (wack_char): Rename to wack_charest, update types.  Return l + r
22039         to keep r live across the call.
22040         (wack_short, wack_int, wack_long, wack_longest, wack_float)
22041         (wack_double, wack_doublest): Return l + r to keep r live across
22042         the call.
22043         * gdb.base/store.exp: Accomodate store.c changes.
22044
22045 2003-06-30  David Carlton  <carlton@kealia.com>
22046
22047         * gdb.c++/maint.exp (test_invalid_name): New.
22048         (test_first_component): Add tests for invalid names.
22049
22050 2003-06-29  Michael Chastain  <mec@shout.net>
22051
22052         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22053         output of '<VTT for class>' for virtual base classes.
22054
22055 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
22056
22057         * gdb.base/completion.exp: Tab-complete "complet" instead of
22058         "compl".
22059         * gdb.base/complex.exp, gdb.base/complex.c: New files.
22060
22061 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
22062
22063         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22064         * gdb.base/volatile.exp: Likewise.
22065
22066 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
22067
22068         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22069         gdb/1265.
22070
22071 2003-06-28  Michael Chastain  <mec@shout.net>
22072             Daniel Jacobowitz  <drow@mvista.com>
22073
22074         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22075         initial line count of 'captured_main' from 26 to 32.
22076         (test_with_self): Allow xmalloc call to be interleaved with the
22077         preceding two lines.
22078
22079 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
22080
22081         * gdb.base/bang.exp: New testcase.
22082
22083 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
22084
22085         * gdb.base/langs.exp: Add some tests for the "minimal" language
22086         support.
22087
22088 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
22089
22090         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22091         the testcase.
22092
22093 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
22094
22095         * gdb.base/relocate.exp: Test add-symbol-file with a variable
22096         offset.
22097
22098 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
22099
22100         * gdb.c++/pr-1210.cc: New file.
22101         * gdb.c++/pr-1210.exp: New file.
22102
22103 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
22104
22105         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22106         000-exec-continue.
22107
22108 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
22109
22110         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22111         on *-*-*bsd* instead of *-*-freebsd*.
22112
22113 2003-06-14  Andrew Cagney  <cagney@redhat.com>
22114
22115         * gdb.base/store.exp: Test longest and doublest.  Test all
22116         parameters.  Weaken return statement match.
22117         * gdb.base/store.c: Add longest and doublest - aka long long and
22118         long double functions.  Put all parameters into local register
22119         variables.  Use negative values.
22120
22121 2003-06-14  Andrew Cagney  <cagney@redhat.com>
22122
22123         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
22124         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
22125         exit status.
22126         * gdb.base/fileio.exp: Disable target when nointerrupts and
22127         noinferiorio, instead of limiting it to remote.  Use remote_exec
22128         instead of system.
22129
22130 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
22131
22132         * gdb.base/float.exp: Add ia64 support.
22133
22134 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
22135
22136         * gdb.base/fileio.exp: Run only on remote targets.
22137
22138 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
22139
22140         * gdb.base/fileio.c: New file, testing File-I/O.
22141         * gdb.base/fileio.exp: Ditto.
22142
22143 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
22144
22145         * gdb.base/shreloc.exp: New file, check symbol values obtained from
22146         shared objects after relocation at load time (gdb PR/1132).
22147         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22148         as above, part of the shared object relocation test.
22149
22150 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
22151
22152         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22153         fully filled history list.
22154         * gdb.base/gdb_history: New file.
22155
22156         * gdb.base/signals.exp: XFAIL "continue to func1" on
22157         i*86-*-freebsd*.
22158
22159         * gdb.base/attach.exp: When trying to attach to a nonexistent
22160         process, make it possible to specify the PID based on the target,
22161         and do so for *-*-freebsd*.
22162
22163 2003-06-02  Richard Henderson  <rth@redhat.com>
22164
22165         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22166
22167 2003-06-02  Richard Henderson  <rth@redhat.com>
22168
22169         * gdb.base/selftest.exp: Next over lim_at_start initialization.
22170
22171 2003-06-02  Richard Henderson  <rth@redhat.com>
22172
22173         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22174
22175 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
22176
22177         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22178         of globalvar.
22179
22180 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
22181
22182         * gdb.asm/asm-source.exp: Check for memory read errors in
22183         disassembler test on *BSD too.
22184
22185 2003-06-01  Richard Henderson  <rth@redhat.com>
22186
22187         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22188         for .frame.
22189         (gdbasm_call): Lose ldgp.
22190         (gdbasm_startup): Add frame information.
22191         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22192
22193 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
22194
22195         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22196         i?86-*-*.
22197
22198 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
22199
22200         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22201         FreeBSD.
22202
22203 2003-05-29  Richard Henderson  <rth@redhat.com>
22204
22205         * gdb.asm/alpha.inc: New file.
22206         * gdb.asm/asm-source.exp: Use it.
22207
22208 2003-05-29  Jim Blandy  <jimb@redhat.com>
22209
22210         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22211         'core.PID'.
22212
22213 2003-05-22  Jim Blandy  <jimb@redhat.com>
22214
22215         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22216         backtrace.
22217
22218 2003-05-20  David Carlton  <carlton@math.stanford.edu>
22219
22220         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22221         this time.
22222
22223 2003-05-19  David Carlton  <carlton@bactrian.org>
22224
22225         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22226         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22227
22228 2003-05-19  David Carlton  <carlton@bactrian.org>
22229
22230         * gdb.c++/namespace.exp: Add namespace scope and anonymous
22231         namespace tests.
22232         Bump copyright date.
22233         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22234         (main): Call C::D::marker2.
22235         * gdb.c++/namespace1.cc: New file.
22236
22237 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
22238
22239         Roland McGrath  <roland@redhat.com>
22240         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22241         there is no manager thread.
22242
22243 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
22244
22245         * gdb.threads/schedlock.exp: Remove assumption that all threads
22246         will run in a particular small time slice.  Also ensure we break
22247         in one of the child threads rather than the main thread.
22248
22249 2003-05-07  Jim Blandy  <jimb@redhat.com>
22250
22251         Add support for assembly source testing on the s390x.
22252         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22253         architecture.
22254         * gdb.asm/s390x.inc: New file.
22255
22256         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22257         succession of 'if' statements.
22258
22259 2003-05-05  Andrew Cagney  <cagney@redhat.com>
22260
22261         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22262
22263 2003-05-05  Andrew Cagney  <cagney@redhat.com>
22264
22265         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22266         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22267
22268 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
22269
22270         * gdb.base/charset.exp: Update based on new behavior of set/show
22271         charset commands.
22272
22273 2003-05-01  Andrew Cagney  <cagney@redhat.com>
22274
22275         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22276         variable do not give memory errors.
22277
22278 2003-04-30  Adam Fedor  <fedor@gnu.org>
22279
22280         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22281         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22282         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22283         gdb.objc/basicclass.m: : New files
22284
22285         * lib/gdb.exp (gdb_compile_objc): New procedure.
22286
22287 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
22288
22289         * gdb.base/signals.exp: Make backtrace tests more specific.
22290
22291 2003-04-23  David Carlton  <carlton@bactrian.org>
22292
22293         * gdb.c++/maint.exp (test_first_component): Add tests for
22294         'operator' in more locations.
22295
22296 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
22297
22298         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22299
22300 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
22301
22302         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22303         func marke' instead. Update test name.
22304
22305 2003-04-15  David Carlton  <carlton@math.stanford.edu>
22306
22307         * gdb.c++/maint.exp: New file.
22308
22309 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
22310
22311         * gdb.threads/schedlock.c: Change type of thread function argument
22312         to long, to avoid warnings on 64-bit platforms.
22313
22314 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
22315
22316         * gdb.base/attach.exp: Add new message from ptrace in case of
22317         attaching to nonexistent process.
22318
22319 2003-04-11  Jim Blandy  <jimb@redhat.com>
22320
22321         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22322         gdb.c++/userdef.cc: Place comments on the lines to which the
22323         marker function might return.
22324         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22325         gdb.c++/userdef.exp: Look for those comments to check that we've
22326         returned to the right place, instead of checking line numbers.
22327
22328 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
22329
22330         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22331         match on sourcefile name, instead of directory name.
22332
22333 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
22334
22335         * gdb.base/completion.exp: Use string_to_regexp to match the
22336         working directory name.
22337
22338 2003-04-09  Jim Blandy  <jimb@redhat.com>
22339
22340         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22341         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22342         after an inferior function call, report the failure, but allow the
22343         test to continue.
22344
22345 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
22346
22347         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22348         with -DPROTOTYPES.
22349
22350 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
22351
22352         * gdb.base/break.exp: Revert last patch.
22353
22354 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
22355
22356         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22357         with -DPROTOTYPES.
22358
22359 2003-04-02  Andrew Cagney  <cagney@redhat.com>
22360
22361         * gdb.base/callfuncs.exp: Make "print add" messages unique.
22362         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22363         matching directories by the name breakpoint.
22364         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22365         Make "continue to marker1" consistent.
22366         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22367         message consistent.
22368         * lib/gdb.exp: Put "the program is no longer running", and "the
22369         program exited" in parenthesis.
22370         * lib/mi-support.exp: Ditto.
22371
22372 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
22373
22374         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22375
22376 2003-03-29  Andrew Cagney  <cagney@redhat.com>
22377
22378         * gdb.base/sizeof.c (main): Print the value of '\377'.
22379         * gdb.base/sizeof.exp: Check the sign of '\377'.
22380
22381 2003-03-27  Michael Chastain  <mec@shout.net>
22382
22383         * gdb.base/gdb1090.exp: New file.
22384         * gdb.base/gdb1090.cc: New file.
22385
22386 2003-03-27  J. Brobecker  <brobecker@gnat.com>
22387
22388         * gdb.gdb/observer.exp: New regression test.
22389
22390 2003-03-27  Michael Chastain  <mec@shout.net>
22391
22392         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22393         * gdb.base/ptype.exp: Likewise.
22394
22395 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
22396
22397         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22398
22399 2003-03-26  Michael Chastain  <mec@shout.net>
22400
22401         * gdb.base/ptype.exp: Actually use some typedef'd types.
22402
22403 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
22404
22405         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22406         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22407
22408 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22409
22410         * gdb.base/default.exp: Fix regular expression.
22411
22412 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22413
22414         * gdb.base/args.exp: Fix regular expression.
22415
22416 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22417
22418         * gdb.base/help.exp: Allow Win32 child process.
22419
22420 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22421
22422         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22423         when stepping out of main().
22424
22425 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22426
22427         * gdb.base/default.exp: Check for win32 specific message when calling
22428         "run" without executable.
22429
22430 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22431
22432         * gdb.base/args.exp: Expect .exe in output.
22433
22434 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
22435
22436         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22437         Cygwin native.
22438
22439 2003-03-17  Andrew Cagney  <cagney@redhat.com>
22440
22441         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
22442         vector registes.
22443         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22444         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22445
22446 2003-03-17  David Carlton  <carlton@math.stanford.edu>
22447
22448         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22449         test, for PR breakpoints/38.
22450         Call test_watchpoint_and_breakpoint.
22451         * gdb.base/watchpoint.c (func3): New function.
22452         (main): Call func3.
22453
22454 2003-03-04  David Carlton  <carlton@math.stanford.edu>
22455
22456         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22457         Garply<Garply<char> >:: garply".
22458         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22459         with respect to PR c++/1111; note also PR c++/1113.
22460         (test_template_breakpoints): KFAIL "constructor breakpoint" with
22461         respect to PR c++/1062.
22462         KFAIL "destructor breakpoint" with respect to PR c++/1112.
22463
22464 2003-03-03  David Carlton  <carlton@math.stanford.edu>
22465
22466         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22467         with respect to PR c++/57.
22468         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22469         c++/826.
22470         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22471         respect to PR c++/57.
22472
22473 2003-03-03  David Carlton  <carlton@math.stanford.edu>
22474
22475         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22476         respect to PR c++/33 into FAILs.
22477
22478 2003-03-03  Michael Chastain  <mec@shout.net>
22479
22480         * configure.in: Update copyright years.
22481
22482 2003-03-03  Michael Chastain  <mec@shout.net>
22483
22484         * Makefile.in: Update copyright years.
22485
22486 2003-02-28  David Carlton  <carlton@math.stanford.edu>
22487
22488         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22489         print class instead of struct and/or superfluous protection
22490         specifiers, as long as the resulting output is equivalent to the
22491         source code.
22492         Delete FIXME from end of messages on tests that don't need
22493         fixing.
22494
22495 2003-02-28  David Carlton  <carlton@math.stanford.edu>
22496
22497         * gdb.c++/templates.exp (do_tests): Allow const in the two
22498         Foo<volatile char *>::foo tests.
22499
22500 2003-02-27  Michael Snyder  <msnyder@redhat.com>
22501
22502         * gdb.base/restore.c (main): Return zero, so exit code
22503         will be consistant.
22504
22505 2003-02-26  David Carlton  <carlton@math.stanford.edu>
22506
22507         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22508         char *>::foo" test with respect to PR c++/33.  Create a new test
22509         which is identical to that one except that it doesn't put the
22510         space between the "char" and the "*"; KFAIL it, too.
22511
22512 2003-02-26  David Carlton  <carlton@math.stanford.edu>
22513
22514         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22515         template types into either PASSes or KFAILs (corresponding to PR
22516         c++/57).  Tweak indentation.  Update copyright.
22517
22518 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
22519
22520         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22521
22522 2003-02-13  Michael Chastain  <mec@shout.net>
22523
22524         * gdb.base/exprs.exp: Remove i960 remnants.
22525         * gdb.base/funcargs.exp: Likewise.
22526         * gdb.base/list.exp: Likewise.
22527         * gdb.base/ptype.exp: Likewise.
22528
22529 2003-02-14  David Carlton  <carlton@math.stanford.edu>
22530
22531         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22532         pEe->D::vg()" from XFAIL to KFAIL.
22533
22534 2003-02-13  Jason Molenda  (jmolenda@apple.com)
22535
22536         * gdb.base/maint.exp: Update maint print statistics regexp to include
22537         new entries.
22538
22539 2003-02-13  Michael Chastain  <mec@shout.net>
22540
22541         * gdb.c++/inherit.exp: Remove call to get_debug_format.
22542
22543 2003-02-12  Michael Chastain  <mec@shout.net>
22544
22545         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22546         * gdb.c++/inherit.exp: Likewise.
22547         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22548         * gdb.c++/templates.exp: Likewise.
22549         * gdb.c++/virtfunc.exp: Likewise.
22550
22551 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
22552
22553         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22554         why the code is written that way.
22555
22556 2003-02-05  Michael Chastain  <mec@shout.net>
22557
22558         * gdb.base/dump.exp: Add missing copyright line.
22559
22560 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
22561
22562         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22563         at the beginning so the breakpoint doesn't get set on the loop.
22564
22565 2003-02-05  Michael Chastain  <mec@shout.net>
22566
22567         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22568         output for configurations with gcc 2.95.3.
22569
22570 2003-02-05  Keith Seitz  <keiths@redhat.com>
22571             Andrew Cagney  <ac131313@redhat.com>
22572
22573         * gdb.mi/mi-cli.exp: New file.
22574
22575 2003-02-04  Michael Chastain  <mec@shout.net>
22576
22577         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22578         Call perror and then continue.
22579
22580 2003-02-03  Michael Chastain  <mec@shout.net>
22581
22582         * gdb.c++/pr-1023.cc: New file.
22583         * gdb.c++/pr-1023.exp: New file.
22584
22585 2003-02-05  Jim Blandy  <jimb@redhat.com>
22586
22587         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22588         it's local to foobar.  Check for it there, and check that it's not
22589         present in main.
22590         * gdb.c++/local.cc (marker2): New function.
22591         (foobar): Call marker1.
22592         (main): Call marker2 instead of marker1.
22593
22594 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
22595
22596         * gdb.disasm/mn10200.exp: Obsolete file.
22597         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22598         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22599         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22600
22601 2003-02-04  David Carlton  <carlton@math.stanford.edu>
22602
22603         * gdb.c++/overload.exp: Test intToChar(1).
22604         * gdb.c++/overload.cc (intToChar): New.
22605         (main): Call intToChar.
22606
22607 2003-02-03  David Carlton  <carlton@math.stanford.edu>
22608
22609         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22610         'might_kfail' arg.
22611         KFAIL some of the continue_to_bp_overloaded calls, according to
22612         PR c++/1025.
22613
22614 2003-02-01  Michael Chastain  <mec@shout.net>
22615
22616         * gdb.base/advance.c (marker1): New marker function.
22617         * gdb.base/advance.exp: When the 'advance' command lands on the
22618         return breakpoint, it can legitimately stop on either the
22619         current line or the next line.  Accommodate both outcomes.
22620         * gdb.base/until.exp: Likewise.
22621
22622 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
22623
22624         2002-11-10 Jason Molenda (jason-cl@molenda.com):
22625         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22626         now a list, not a tuple.
22627         * gdb.mi/mi-var-display.exp: Ditto.
22628         * gdb.mi/gdb792.exp: Ditto.
22629
22630 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
22631
22632         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22633         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22634         stack backtraces.
22635         * gdb.mi/mi-syn-frame.c: Part of same.
22636
22637 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
22638
22639         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22640         gdb.mi/mi1-pthreads.exp: Return instead of calling
22641         gdb_suppress_entire_file.
22642
22643 2003-02-01  Mark Salter  <msalter@redhat.com>
22644
22645         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22646
22647 2003-01-31  Mark Salter  <msalter@redhat.com>
22648
22649         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22650         Support empty arg.
22651
22652 2003-01-30  Michael Chastain  <mec@shout.net>
22653
22654         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22655         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
22656         has been fixed in gdb/readline on 2003-01-09.
22657
22658 2003-01-29  Michael Snyder  <msnyder@redhat.com>
22659
22660         * gdb.base/maint.exp: Allow for leading underscore in symbol.
22661         * gdb.base/display.exp: Allow for leading underscore in symbol.
22662         * gdb.base/args.exp: Skip if target does not support args passing.
22663
22664 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
22665
22666         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22667         gdb_test.  Accept a list of expect arguments as the third
22668         parameter.
22669         (gdb_test): Use it.
22670
22671 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
22672
22673         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22674         allow for different test tree configurations.  Update some
22675         tescases accordingly.
22676         * gdb.arch/altivec-regs.exp: Ditto.
22677         * gdb.asm/asm-source.exp: Ditto.
22678         * gdb.base/advance.exp: Ditto.
22679         * gdb.base/display.exp: Ditto.
22680         * gdb.base/long_long.exp: Ditto.
22681         * gdb.base/mips_pro.exp: Ditto.
22682         * gdb.base/overlays.exp: Ditto.
22683         * gdb.base/relocate.exp: Ditto.
22684         * gdb.base/setshow.exp: Ditto.
22685         * gdb.base/step-line.exp: Ditto.
22686         * gdb.base/step-test.exp: Ditto.
22687         * gdb.base/until.exp: Ditto.
22688         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22689
22690 2003-01-17  David Carlton  <carlton@math.stanford.edu>
22691
22692         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22693         corresponding to PR c++/945.
22694         Update copyright.
22695
22696 2003-01-17  David Carlton  <carlton@math.stanford.edu>
22697
22698         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22699         corresponding to PR c++/68.
22700
22701 2003-01-17  David Carlton  <carlton@math.stanford.edu>
22702
22703         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22704         (test_paddr_hairy_functions): Call print_addr_2_kfail for
22705         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
22706
22707 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
22708
22709         * gdb.base/break.exp: Fix change of default location, because of
22710         removal of until tests.
22711         * gdb.base/help.exp: Update test for new 'until' help message.
22712         Add test for help on 'advance'.
22713         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22714
22715 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
22716
22717         * gdb.base/default.exp: Adapt "info float" test for recent changes
22718         to that command.  Add test for "info vector".
22719         * gdb.base/float.exp: New file.  Add test for "info float" that
22720         resembles the old test in gdb.base/default.exp.
22721
22722 2003-01-15  David Carlton  <carlton@math.stanford.edu>
22723
22724         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22725
22726 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
22727
22728         * gdb.base/break.exp: Move the tests of until command from here...
22729         * gdb.base/until.exp: ... to here. New file. Add other tests.
22730         * gdb.base/advance.c: New file.
22731         * gdb.base/advance.exp: New file.
22732
22733 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
22734
22735         * gdb.base/args.c: New file.
22736         * gdb.base/args.exp: New file.
22737
22738 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
22739
22740         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22741
22742 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
22743
22744         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22745
22746 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
22747
22748         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
22749         dates.
22750
22751 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22752
22753         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22754
22755 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22756
22757         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22758         (ptype &*"foo").
22759         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22760
22761 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22762
22763         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22764         * gdb.mi/mi1-console.exp: Likewise.
22765
22766 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22767
22768         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22769         * gdb.mi/mi1-console.exp: Likewise.
22770
22771 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
22772
22773         * gdb.c++/overload.exp: Remove some fixed XFAILs.
22774
22775 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
22776
22777         * gdb.base/detach.exp: New test.
22778
22779 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
22780
22781         * Makefile.in (ALL_SUBDIRS): New variable.
22782         (subdirs, clean, distclean): Use it.
22783         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
22784         regenerating Makefile, since it is generated from the top level.
22785         * gdb.asm/Makefile.in: Likewise.
22786         * gdb.base/Makefile.in: Likewise.
22787         * gdb.c++/Makefile.in: Likewise.
22788         * gdb.disasm/Makefile.in: Likewise.
22789         * gdb.java/Makefile.in: Likewise.
22790         * gdb.mi/Makefile.in: Likewise.
22791         * gdb.threads/Makefile.in: Likewise.
22792         * gdb.trace/Makefile.in: Likewise.
22793
22794 2003-01-09  David Carlton  <carlton@math.stanford.edu>
22795
22796         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22797         Add copyright year 2003.
22798
22799 2003-01-06  Michael Chastain  <mec@shout.net>
22800
22801         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22802         When selecting a thread, 'line' and 'file' are optional.
22803         * gdb.mi/mi1-pthreads.exp: Likewise.
22804
22805 2003-01-06  Andreas Schwab  <schwab@suse.de>
22806
22807         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22808         failures.
22809
22810 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22811
22812         Fix PR gdb/844
22813         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22814         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22815
22816         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
22817         instead of calling gdb_suppress_entire_file.
22818         * gdb.threads/print-threads.exp: Likewise.
22819         * gdb.threads/schedlock.exp: Likewise.
22820
22821         * gdb.threads/killed.exp: Return instead of calling
22822         gdb_suppress_entire_file.
22823         * gdb.threads/linux-dp.exp: Likewise.
22824         * gdb.threads/pthreads.exp: Likewise.
22825
22826 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22827
22828         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22829         stabs.
22830         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22831         * gdb.base/whatis.exp: Always allow (void) after function names.
22832
22833 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22834
22835         * gdb.c++/casts.exp: Correct regexp.
22836
22837 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
22838
22839         * configure.in: Call AC_CONFIG_HEADER.  Don't call
22840         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22841         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
22842         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
22843         aforementioned directories in the AC_OUPUT call.
22844         * config.hin: New file.
22845         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22846         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22847         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22848         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22849         pass -I$objdir instead of -I$objdir/$subdir in compilation.
22850         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22851         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22852         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22853         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22854         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22855         gdb.threads/configure.in, gdb.threads/configure,
22856         gdb.threads/config.in, gdb.trace/configure.in,
22857         gdb.trace/configure: Removed.
22858
22859 2003-01-03  Michael Chastain  <mec@shout.net>
22860
22861         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22862         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22863
22864 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
22865
22866         * gdb.base/store.exp: Fix regular expressions.
22867
22868 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
22869
22870         * configure.in: Rewrite.
22871         * configure: Regenerated.
22872
22873 2003-01-03  David Carlton  <carlton@math.stanford.edu>
22874
22875         * gdb.base/psymtab.exp: New file.
22876         * gdb.base/psymtab1.c: Ditto.
22877         * gdb.base/psymtab2.c: Ditto.
22878
22879 2002-12-23  Adam Fedor  <fedor@gnu.org>
22880
22881         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22882
22883 2002-12-23  David Carlton  <carlton@math.stanford.edu>
22884
22885         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22886         and current_directory initialization.
22887
22888 2002-12-22  Jim Blandy  <jimb@redhat.com>
22889
22890         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22891         rather than as part of the output file name.
22892
22893         * gdb.base/attach.exp: There's no need to copy the test program to
22894         /tmp; that was only ever necessary on HP/UX, and this test is
22895         entirely disabled there anyway.
22896
22897 2002-12-21  Jim Blandy  <jimb@redhat.com>
22898
22899         * gdb.c++/psmang.exp: Doc fix.
22900
22901         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22902         test.
22903
22904 2002-12-20  David Carlton  <carlton@math.stanford.edu>
22905
22906         * gdb.c++/annota2.exp: KFAIL annotate-quit.
22907
22908 2002-12-18  Michael Chastain  <mec@shout.net>
22909
22910         * gdb.c++/annota2.exp: Add copyright year 2002.
22911
22912 2002-12-17  David Carlton  <carlton@math.stanford.edu>
22913
22914         * gdb.c++/try_catch.cc: Add marker comments.
22915         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22916         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22917         * gdb.c++/m-static.cc: Ditto.
22918         * gdb.c++/m-static1.cc: Ditto.
22919         * gdb.c++/try_catch.cc: Ditto.
22920
22921 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
22922
22923         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22924         to see whether we are using the new -environment-directory
22925         command which resets via -r or the old version of the command
22926         which may prompt the user.  Part of fix for gdb/741.
22927
22928 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
22929
22930         * gdb.fortran/types.exp: Update obsolete comment.
22931         * gdb.fortran/exprs.exp: Ditto.
22932         * lib/gdb.exp: Delete obsolete code.
22933         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22934         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22935         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22936         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22937         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22938         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22939         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22940         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22941         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22942         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22943         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22944         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22945         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22946         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22947         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22948         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22949         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22950         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22951         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22952         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22953         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22954         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22955         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22956         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22957         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22958         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22959         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22960         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22961         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22962         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22963         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22964         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22965         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22966         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22967         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22968         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22969         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22970
22971 2002-12-11  David Carlton  <carlton@math.stanford.edu>
22972
22973         * gdb.c++/m-data.exp: Add test for members that shadow global
22974         variables: see PR gdb/804.
22975         * gdb.c++/m-data.cc: Ditto.
22976
22977 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
22978
22979         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22980
22981 2002-12-06  David Carlton  <carlton@math.stanford.edu>
22982
22983         * gdb.base/store.c: Don't declare functions static.
22984
22985 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
22986
22987         * gdb.base/store.exp, gdb.base/store.c: New files.
22988
22989 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22990
22991         * gdb.base/selftest.exp: Update for current gdb.
22992
22993 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22994
22995         * gdb.base/maint.exp: Only dump symbols from one source file
22996         or objfile.
22997
22998 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22999
23000         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23001         function call.
23002
23003 2002-11-25  Jim Blandy  <jimb@redhat.com>
23004
23005         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23006         function appearing in error message.
23007
23008 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
23009
23010         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23011
23012 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
23013
23014         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23015         for mi1 and current mi is in correct format.  New mi startup message
23016         should be in mi console format.  This is part of fix for PR gdb/604.
23017
23018 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
23019
23020         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23021         which explicitly prints the zero offset as "+0".
23022
23023 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
23024
23025         * gdb.threads/schedlock.c (args): Make unsigned.
23026
23027 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
23028
23029         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
23030         numbers.  Allow "foo2|selected stack frame".
23031         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23032         * gdb.asm/asmsrc2.s: Likewise.
23033         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
23034         comments.
23035         * gdb.asm/mips.inc: New file.
23036
23037 2002-10-18  Adam Fedor  <fedor@gnu.org>
23038
23039         * gdb.base/default.exp: Update expected output to include 'ObjC'.
23040         * gdb.base/help.exp: Likewise.
23041
23042 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
23043
23044         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23045         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23046
23047 2002-10-02  Jim Blandy  <jimb@redhat.com>
23048
23049         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23050
23051 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
23052
23053         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23054         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23055         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23056         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23057         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23058         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23059         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23060
23061 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
23062
23063         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23064         * mi0-disassemble.exp, mi0-eval.exp: Delete.
23065         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23066         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23067         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23068         * mi0-var-block.exp, mi0-var-child.exp: Delete.
23069         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23070
23071 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
23072
23073         * gdb.base/annota1.exp (info break): Make directory components of
23074         path optional since not all compilers emit this debug information.
23075
23076         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23077         step ends up stepping out of the function instead of stopping on
23078         the epilogue.
23079
23080 2002-09-26  Keith Seitz  <keiths@redhat.com>
23081
23082         * lib/insight-support.exp (gdbtk_start): Figure out where
23083         the insight executable is based on where gdb is. Use this
23084         executable to start insight instead of gdb.
23085
23086 2002-09-25  Andrew Cagney  <cagney@redhat.com>
23087
23088         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23089
23090 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
23091
23092         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23093         test_isolated_complaints.
23094         (test_empty_complaint): New function.
23095         (test_empty_complaints): New function.  Check no output when no
23096         complaints.
23097
23098 2002-09-19  Jim Blandy  <jimb@redhat.com>
23099
23100         * gdb.base/charset.exp, gdb.base/charset.c: New files.
23101
23102 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
23103
23104         * gdb.gdb/complaints.exp: New file.
23105
23106 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
23107
23108         * gdb.base/maint.exp: Check `help maint internal-warning'.
23109
23110 2002-09-18  David Carlton  <carlton@math.stanford.edu>
23111
23112         * gdb.c++/m-static.exp: Remove breakpoints depending on line
23113         numbers, and replace them by a single breakpoint after the
23114         constructors are all finished.
23115         Add test 4.
23116         * gdb.c++/m-static.cc: Add test 4.
23117         * gdb.c++/m-static.h: New file.
23118         * gdb.c++/m-static1.cc: New file.
23119
23120         * gdb.c++/printmethod.exp: New file.
23121         * gdb.c++/printmethod.cc: New file.
23122
23123         * gdb.c++/pr-574.exp: New file.
23124         * gdb.c++/pr-574.cc: New file.
23125
23126 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
23127
23128         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23129         embedded targets which never actually exit.
23130
23131 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
23132
23133         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23134         "don't step after run" as unresolved or unsupported, instead of xfail.
23135
23136 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
23137
23138         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23139         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23140         Add newline to expected string in "step out of main (status wrapper)"
23141         case.
23142
23143 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
23144
23145         * lib/gdb.exp (rerun_to_main): Allow restarting application.
23146         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23147
23148 2002-09-17  Tom Tromey  <tromey@redhat.com>
23149
23150         * gdb.base/printcmds.exp (test_print_string_constants): Expect
23151         \000, not \0, in double-quoted string.
23152
23153 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
23154
23155         * gdb.base/commands.exp: Don't expect a "Program exited normally"
23156         string after running the commands execution on breakpoint tests.
23157
23158 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
23159
23160         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23161
23162 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
23163
23164         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23165
23166 2002-09-10  Keith Seitz  <keiths@redhat.com>
23167
23168         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23169         runto proc.
23170         (mi_run_to_main): Use mi_runto.
23171         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23172
23173 2002-09-10  Keith Seitz  <keiths@redhat.com>
23174
23175         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23176         regexp for stopping at main. Could have multiple event notifications.
23177         Don't assume that main was declared with no parameters.
23178         (mi_next): Use mi_step_to.
23179         (mi_step): Use mi_next_to.
23180
23181 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
23182
23183         * gdb.base/default.exp: Fix expected string in `info float' test.
23184
23185 2002-09-09  Ben Elliston  <bje@redhat.com>
23186
23187         * config/mips.exp: Update comments.
23188         * config/mips-idt.exp: Likewise.
23189         * config/nind.exp: Likewise.
23190         * config/slite.exp: Likewise.
23191         * config/sparclet.exp: Likewise.
23192         * config/udi.exp: Likewise.
23193         * config/vx.exp: Likewise.
23194         * config/vxworks29k.exp: Likewise.
23195
23196 2002-09-05  Jim Blandy  <jimb@redhat.com>
23197
23198         * gdb.threads/killed.exp: Fix test failure message.
23199
23200 2002-09-04  Keith Seitz  <keiths@redhat.com>
23201
23202         * lib/mi-support.exp: Update copyright.
23203         (mi_gdb_test): Increase the priority of the expected pattern
23204         so that it matches gdb_test.
23205
23206 2002-09-03  Keith Seitz  <keiths@redhat.com>
23207
23208         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23209         Use integer comparison instead of string comparison for testing
23210         whether binary was built.
23211
23212 2002-09-03  Jim Blandy  <jimb@redhat.com>
23213
23214         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23215
23216 2002-08-29  Jim Blandy  <jimb@redhat.com>
23217
23218         * gdb.threads/pthreads.exp: Move the portable thread compilation
23219         code into a function in lib/gdb.exp, and call that from here.
23220         * lib/gdb.exp (gdb_compile_pthreads): New function.
23221
23222 2002-08-29  Keith Seitz  <keiths@redhat.com>
23223
23224         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23225         expect_out so that callers can get at it.
23226
23227 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
23228
23229         * gdb.threads/print-threads.c: New file.
23230         * gdb.threads/print-threads.exp: New file.
23231         * gdb.threads/schedlock.c: New file.
23232         * gdb.threads/schedlock.exp: New file.
23233
23234 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
23235
23236         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23237         not altivec.c.
23238
23239 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
23240
23241         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23242         targets.  The problem should be fixed now.
23243
23244 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
23245
23246         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23247         2002-07-24 change that removes final dots from error messages.
23248
23249 2002-08-13  Tom Tromey  <tromey@redhat.com>
23250
23251         * gdb.base/readline.exp: New file.
23252
23253 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
23254
23255         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23256         supress message.
23257
23258 2002-08-01  Andrew Cagney  <cagney@redhat.com>
23259
23260         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23261         CHILL_FOR_TARGET and CHILL_LIB.
23262         * configure.in (configdirs): Remove gdb.chill.
23263         * configure: Regenerate.
23264         * lib/gdb.exp: Obsolete references to chill.
23265         * gdb.fortran/types.exp: Ditto.
23266         * gdb.fortran/exprs.exp: Ditto.
23267
23268 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
23269
23270         * gdb.base/shlib-call.exp (additional_flags): Conditionally
23271         set Irix-specific compile and link flags.
23272
23273 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
23274
23275         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23276         source files.  The ``-o'' option doesn't work with the ``-E'' option
23277         when using the Irix compiler.
23278
23279 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
23280
23281         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23282         Improve support for reusing an exec file.  Copy exec file
23283         to target, and run gdbserver on the target instead of on the host.
23284
23285 2002-07-18  Jim Blandy  <jimb@redhat.com>
23286
23287         * gdb.base/ending-run.exp: Don't expect to see the program end in
23288         some orderly fashion when we're running on a real stand-alone
23289         board.
23290
23291         * gdb.base/interrupt.exp: Correct logic for skipping tests on
23292         targets that don't support interrupts.
23293
23294 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
23295
23296         * gdb.base/attach.exp: Add patterns to match output from /proc-based
23297         systems.
23298         Move comments in expect statements to inside the actions, so that they
23299         don't get matched against.
23300
23301 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
23302
23303         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23304         function when asleep" test.
23305
23306 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
23307
23308         * gdb.base/page.exp: Rewrite to handle problems with very long
23309         `info set' output.  Update copyright.
23310
23311 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
23312
23313         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23314         gdb.threads-hp.
23315         * gdb.hp/configure: Regenerate.
23316         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23317         * gdb.hp/gdb.threads-hp/configure: Delete file.
23318         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23319
23320 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
23321
23322         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23323         setlocale, bindtextdomain and textdomain.
23324
23325 2002-06-11  Jim Blandy  <jimb@redhat.com>
23326
23327         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23328         preprocessor macro information is present.
23329
23330         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23331         tests.
23332
23333 2002-06-06  Michael Snyder  <msnyder@redhat.com>
23334
23335         * gdb.base/overlays.exp: Record addresses of overlay
23336         functions in TCL variables rather than in GDB variables,
23337         to avoid having GDB convert them to pointers (with loss
23338         of information).
23339
23340         * gdb.base/d10v.ld: Merge in several years worth of
23341         default linker script changes.
23342         * gdb.base/long_long.exp: Add check for sizeof (long double).
23343
23344 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
23345
23346         * gdb.asm/asm-source.exp: Add x86-64 target.
23347         * gdb.asm/x86_64.inc: New.
23348
23349 2002-05-30  Michael Chastain  <mec@shout.net>
23350
23351         From Benjamin Kosnik <bkoz@redhat.com>:
23352         * gdb.c++/m-static.cc: New file.
23353         * gdb.c++/m-static.exp: New file.
23354
23355 2002-05-28  Michael Snyder  <msnyder@redhat.com>
23356
23357         * gdb.base/call-ar-st.exp: Allow for reduced floating point
23358         precision.
23359
23360 2002-05-27  Michael Chastain  <mec@shout.net>
23361
23362         From Benjamin Kosnik <bkoz@redhat.com>:
23363         * gdb.c++/m-data.cc: New file.
23364         * gdb.c++/m-data.exp: New file.
23365
23366 2002-05-27  Michael Chastain  <mec@shout.net>
23367
23368         From Benjamin Kosnik <bkoz@redhat.com>:
23369         * gdb.c++/try_catch.cc: New file.
23370         * gdb.c++/try_catch.exp: New file.
23371
23372 2002-05-27  Michael Chastain  <mec@shout.net>
23373
23374         * gdb.c++/local.exp: Accept more nested types in output.
23375
23376 2002-05-26  Michael Chastain  <mec@shout.net>
23377
23378         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23379
23380 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
23381
23382         * lib/gdb.exp (gdb_wrapper_init): Just because
23383         gdb_wrapper_file exists, this does not mean that the file
23384         should not be rebuilt.  That is what gdb_wrapper_initialized
23385         is for.
23386         (default_gdb_init): Reset gdb_wrapper_initialized.
23387
23388 2002-05-23  Michael Snyder  <msnyder@redhat.com>
23389
23390         * gdb.base/all-bin.exp: Revise previous patch by just reducing
23391         the precision of the floating point test results.
23392         * gdb.base/call-rt-st.exp: Ditto.
23393
23394         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23395         * gdb.base/call-rt-st.exp: Ditto.
23396
23397 2002-05-19  Michael Chastain  <mec@shout.net>
23398
23399         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23400
23401 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
23402
23403         * configure.in (configdirs): Add gdb.arch.
23404         * configure: Regenerate.
23405
23406 2002-05-17  Jim Blandy  <jimb@redhat.com>
23407
23408         * gdb.base/completion.exp: Recognize the more detailed error
23409         messages produced by the macro expander's lexical analyzer.
23410
23411 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
23412
23413         * gdb.arch/altivec-abi.c: New file.
23414         * gdb.arch/altivec-abi.exp: New file.
23415         * gdb.arch/altivec-regs.c: New file.
23416         * gdb.arch/altivec-regs.exp: New file.
23417
23418 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
23419
23420         * gdb.base/maint.exp (maint print type): Update for new type
23421         structure.
23422
23423 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
23424
23425         * gdb.arch: New directory.
23426         * gdb.arch/configure.in: New file.
23427         * gdb.arch/configure: New file.
23428         * gdb.arch/Makefile.in: New file.
23429
23430 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
23431
23432         * gdb.asm/asm-source.exp: Add v850 as supported target.
23433         * gdb.asm/v850.inc: New file.
23434
23435 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
23436
23437         * gdb.c++/annota2.exp (annotate-quit): Add comment.
23438
23439 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
23440
23441         * gdb.base/break.exp: Check 'break "marker2"'.
23442
23443 2002-05-10  Michael Snyder  <msnyder@redhat.com>
23444
23445         * gdb.base/long_long.exp: Fix typo.
23446
23447 2002-05-10  Jim Blandy  <jimb@redhat.com>
23448
23449         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
23450         a bug.
23451
23452         * gdb.base/printcmds.exp (test_integer_literals_rejected):
23453         Recognize more detailed error message produced by the macro
23454         expander's lexical analyzer.
23455         * lib/gdb.exp (test_print_reject): Same.
23456
23457 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
23458
23459         * gdb.c++/method.exp: Fix typo.
23460
23461 2002-05-08  Michael Snyder  <msnyder@redhat.com>
23462
23463         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23464         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23465         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23466         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23467         Add iftarget clause for strongarm.
23468
23469 2002-05-06  Michael Snyder  <msnyder@redhat.com>
23470
23471         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23472         (gdb_continue_to_end): Accept output from status wrapper.
23473         * gdb.base/ending-run.exp: Add case for output from status wrapper.
23474         Clean up fail messages to match pass messages.
23475
23476         Enable the "needs_status_wrapper" testsuite feature.
23477         * lib/gdb.exp (gdb_wrapper_init): New procedure.
23478         (gdb_compile): Conditionally call gdb_wrapper_init.
23479         * gdb.base/a2-run.exp: Recognize output from status wrapper.
23480         * gdb.c++/method.exp: Recognize output from status wrapper.
23481
23482 2002-05-06  Ben Elliston  <bje@redhat.com>
23483 From Graydon Hoare  <graydon@redhat.com>
23484
23485         * config/sid.exp: Include support for "rawsid" protocol.
23486
23487 2002-05-03  Jim Blandy  <jimb@redhat.com>
23488
23489         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23490         * gdb.c++/hang3.C: New file.
23491
23492 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
23493
23494         * gdb.base/default.exp: Remove obsolete code.
23495         * gdb.c++/misc.exp: Ditto.  Update copyright.
23496         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
23497         * gdb.base/whatis.exp: Ditto.  Update copyright.
23498         * gdb.base/scope.exp: Ditto.  Update copyright.
23499         * gdb.base/ptype.exp: Ditto.  Update copyright.
23500         * gdb.base/printcmds.exp: Ditto.  Update copyright.
23501         * gdb.base/opaque.exp: Ditto.  Update copyright.
23502         * gdb.base/list.exp: Ditto.
23503         * gdb.base/funcargs.exp: Ditto.  Update copyright.
23504         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23505         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23506         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23507         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23508         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23509         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23510
23511 2002-05-02  Michael Snyder  <msnyder@redhat.com>
23512
23513         * gdb.base/watchpoint.exp: Add xscale target.
23514         * gdb.base/long_long.exp: Add xscale target.
23515         * gdb.base/default.exp: Add xscale target.
23516
23517 2002-05-01  Jim Blandy  <jimb@redhat.com>
23518
23519         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23520         gdb.c++/hang.exp: New test.
23521
23522 2002-05-01  Fred Fish  <fnf@redhat.com>
23523
23524         * gdb.base/completion.exp: Handle completions of "./Make" for
23525         more than one completion possibility, as is the case when we
23526         build and test in the source tree.
23527
23528 2002-04-29  Anthony Green  <green@redhat.com>
23529
23530         * gdb.java/jmisc1.exp: New file.
23531         * gdb.java/jmisc2.exp: New file.
23532
23533 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
23534
23535         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23536
23537 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
23538
23539         * gdb.base/help.exp: Change 'help status' to allow for target
23540         dependent output differences.
23541
23542 2002-04-22  Michael Chastain  <mec@shout.net>
23543
23544         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23545
23546 2002-04-22  Michael Chastain  <mec@shout.net>
23547
23548         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23549
23550 2002-04-17  David S. Miller  <davem@redhat.com>
23551
23552         * gdb.asm/sparc64.inc: New file.
23553         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23554
23555 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
23556
23557         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23558         instruction file directly into the build tree.  Clean up at end of
23559         test.
23560
23561 2002-04-18  David S. Miller  <davem@redhat.com>
23562
23563         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23564         handle 64-bit platforms correctly.
23565         * gdb.base/maint.exp: Likewise.
23566
23567 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
23568
23569         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23570         ``-fpic'' when compiling files comprising a shared library, but
23571         it does need additional linker flags in order to find shared
23572         libraries at run time.
23573
23574 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
23575
23576         * gdb.base/cvexpr.c (use): New function.
23577         (main): Invoke use() on all global variables to prevent
23578         some linkers from deleting these otherwise unused symbols.
23579
23580 2002-04-17  Michael Chastain  <mec@shout.net>
23581 From David S. Miller  <davem@redhat.com>
23582
23583         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23584         handle 64-bit platforms correctly.
23585
23586 2002-04-12  Michael Snyder  <msnyder@redhat.com>
23587 From Jim Blandy  <jimb@redhat.com>
23588         * gdb.base/foo.c (foox): Remove section attribute; the linker
23589         script can handle this instead.
23590         * gdb.base/bar.c (barx): Same.
23591         * gdb.base/baz.c (bazx): Same.
23592         * gdb.base/grbx.c (grbxx): Same.
23593
23594         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23595         manager doesn't automatically unmap overlays unnecessarily.
23596
23597 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
23598
23599         * gdb.base/ending-run.exp: Fix pattern for Mips targets
23600         stepping out of main.
23601
23602 2002-04-09  Michael Chastain  <mec@shout.net>
23603
23604         * gdb.c++/local.cc (main): Move call to marker1() inside nested
23605         scope so that the nested scope tests will make sense.
23606         * gdb.c++/local.exp: Write patterns that actually work with gcc
23607         (the HP patterns "were never known to work with gcc").
23608         Keep the old aCC patterns too.
23609
23610 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
23611
23612         * gdb.base/attach.exp: Correct target board test.
23613
23614 2002-04-08  Michael Chastain  <mec@shout.net>
23615
23616         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23617         in a const method.  Add some xfail and fail cases for configurations
23618         that do not emit the "const ...".
23619
23620 2002-04-07  Michael Chastain  <mec@shout.net>
23621
23622         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23623         Accept "A * const" and "const A * const" as type of "this".
23624         Fix spelling of getFunky throughout.  Make messages uniform.
23625
23626 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
23627
23628         Work around for PR gdb/285:
23629         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23630
23631 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
23632
23633         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23634         instructions file at run time instead of configure time.
23635         Sometimes we run the test in a directory that is not the one we
23636         configured in.
23637         * gdb.asm/configure.in: Delete creation of symlink.
23638         * gdb.asm/configure: Regenerate.
23639
23640 2002-04-05  J. Brobecker  <brobecker@gnat.com>
23641
23642         * gdb.gdb/xfullpath.exp: New test, to exercise the new
23643         xfullpath () function.
23644
23645 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
23646
23647         * gdb.asm/Makefile.in: Correct dependencies.
23648
23649         * gdb.asm/powerpc.inc: New file.
23650         * gdb.asm/asm-source.exp: Add PowerPC.
23651         * gdb.asm/configure.in: Likewise.
23652         * gdb.asm/configure: Regenerated.
23653
23654 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
23655
23656         * gdb.base/relocate.exp: New file.
23657         * gdb.base/relocate.c: New file.
23658
23659 2002-04-04  Fred Fish  <fnf@redhat.com>
23660
23661         * gdb.base/step-test.exp: Update comment regarding stopping in
23662         memcpy/bcopy calls inserted as part of the compiler runtime.
23663
23664 2002-04-04  Michael Snyder  <msnyder@redhat.com>
23665
23666         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23667
23668 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
23669
23670         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23671         (gdb_expect): Remove $notransfer hack.
23672
23673 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
23674
23675         * gdb.c++/classes.exp ("calling method for small class"): Match
23676         updated register output.
23677
23678 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
23679
23680         Fix PR gdb/452
23681         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23682         when finished.  Make gdb_file_cmd send "exec-file" when
23683         appropriate.
23684
23685 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
23686
23687         * gdb.base/attach.exp: Remove extra setup_xfail.
23688
23689 2002-03-26  Michael Snyder  <msnyder@redhat.com>
23690
23691         * gdb.base/default.exp: Add tests for dump, append, and restore.
23692         * gdb.base/help.exp: Add tests for dump, append, and restore.
23693         * gdb.base/dump.exp: New file, test dump, append and restore.
23694         * gdb.base/dump.c: New file.
23695
23696 2002-03-27  Michael Snyder  <msnyder@redhat.com>
23697
23698         * gdb.base/help.exp: Modify expect strings to reflect
23699         clean-ups in help messages.
23700
23701 2002-03-26  Fred Fish  <fnf@redhat.com>
23702
23703         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23704         have debugging info for those functions and the compiler uses them
23705         internally to copy structs around.
23706
23707 2002-03-26  Fred Fish  <fnf@redhat.com>
23708
23709         * gdb.base/list.exp: Revert the change made yesterday and add note
23710         about why we don't list the default lines for remote targets.
23711
23712 2002-03-25  Michael Snyder  <msnyder@redhat.com>
23713
23714         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23715
23716 2002-03-25  Fred Fish  <fnf@redhat.com>
23717
23718         * gdb.base/list.exp: This test works on remote targets so remove
23719         the short circuit for remote targets.  Update copyright.
23720
23721 2002-03-25  Fred Fish  <fnf@redhat.com>
23722
23723         * gdb.base/attach.exp: Fix logic error that was suppressing this
23724         test for all non hppa*-*-hpux* targets, instead of the hp target.
23725         Move comments closer to the suppression point.  Also now need to
23726         check that we are running natively.
23727
23728 2002-03-22  Michael Snyder  <msnyder@redhat.com>
23729
23730         * gdb.base/default.exp: Add test for gcore.  Update copyright.
23731         * gdb.base/help.exp: Add test for gcore.  Update copyright.
23732
23733 2002-03-06  Fred Fish  <fnf@redhat.com>
23734
23735         * gdb.base/funcargs.c:  Remove extraneous ';' character.
23736         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23737
23738 2002-03-04  Michael Chastain  <mec@shout.net>
23739
23740         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23741         accommodate gcc v3 function signature.
23742         * gdb.mi/mi0-var-cmd-exp: Ditto.
23743
23744 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
23745
23746         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23747         ``GNU/Linux'' or ``Linux kernel''
23748         * testsuite/gdb.threads/pthreads.c: Ditto.
23749
23750 2002-02-24  Michael Chastain  <mec@shout.net>
23751
23752         * gdb.threads/pthreads.c (thread1): Add a return statement.
23753         (thread2): Likewise.
23754         (foo): Likewise.
23755
23756 2002-02-23  Michael Chastain  <mec@shout.net>
23757
23758         * gdb.threads/linux-dp.c (philosopher): Add a return statement
23759         to placate gcc.
23760
23761 2002-02-23  Michael Chastain  <mec@shout.net>
23762
23763         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23764         test "ptype bint".  The test passes on all my stabs configurations.
23765
23766 2002-02-21  Jim Blandy  <jimb@redhat.com>
23767
23768         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23769         filename at a time, and watch for the ones we want to see.
23770
23771         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23772         types of pointers to prototyped functions.
23773
23774 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
23775
23776         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
23777         signed, unsigned and straight char.
23778         (padding_char, padding_short, padding_int, padding_long,
23779         padding_long_long, padding_float, padding_double,
23780         padding_long_double): New global variables.
23781         (fill, fill_structs): New functions.
23782
23783         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
23784         for correctly sized writes.  Update copyright.
23785         (get_valueof): New procedure.
23786         (get_sizeof): Call get_valueof.
23787         (check_valueof): New procedure.
23788         (check_padding): New procedure.
23789
23790 2002-02-20  Michael Chastain  <mec@shout.net>
23791
23792         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23793         to setup_xfail.  Document some of the remaining calls.
23794
23795 2002-02-18  Michael Chastain  <mec@shout.net>
23796
23797         * gdb.c++/userdef.exp: Update copyright year.
23798
23799 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
23800
23801         * gdb.c++/userdef.exp: Test overloaded operators properly.
23802         Remove xfails.
23803
23804 2002-02-14  Michael Snyder  <msnyder@redhat.com>
23805
23806         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23807
23808 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
23809
23810         * gdb.base/a2-run.exp: Check for a remote target properly.
23811         * gdb.base/annota1.exp: Likewise.
23812         * gdb.base/list.exp: Likewise.
23813         * gdb.base/reread.exp: Likewise.
23814         * gdb.base/scope.exp: Likewise.
23815         * gdb.base/shlib-call.exp: Likewise.
23816         * gdb.base/term.exp: Likewise.
23817         * gdb.c++/annota2.exp: Likewise.
23818
23819 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
23820
23821         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23822
23823 2002-02-10  Michael Chastain  <mec@shout.net>
23824
23825         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23826         (call_after_alloca): Ditto.
23827
23828 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
23829
23830         * gdb.base/ending-run.exp: Guard "cont" test with
23831         gdb_skip_stdio_test.
23832
23833 2002-02-06  Jim Blandy  <jimb@redhat.com>
23834
23835         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23836         from here...
23837         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23838         To here.  Disable this test on non-HP platforms.  Add big comment.
23839
23840 2002-02-04  Michael Snyder  <msnyder@redhat.com>
23841
23842         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
23843           other than d10v and m32r.
23844
23845 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
23846
23847         * gdb.base/default.exp: Rewrite test patterns to reduce time
23848         taken to match them.
23849
23850 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23851
23852         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23853         Allow a start function above main.
23854         * gdb.threads/linux-dp.exp: Fix copyright date.
23855
23856 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23857
23858         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23859         (check_philosopher_stack): Check for manager thread before checking
23860         for a just-starting thread.
23861
23862 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23863
23864         From Neil Booth <neil@daikokuya.demon.co.uk>:
23865         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23866         warnings.
23867
23868 2002-01-21  Fred Fish  <fnf@redhat.com>
23869
23870         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23871         not caller.
23872
23873 2002-01-21  Jim Blandy  <jimb@redhat.com>
23874
23875         * gdb.base/reread.exp: Check that GDB properly re-reads the
23876         executable file when it changes while no inferior is running.
23877
23878 2002-01-21  Fred Fish  <fnf@redhat.com>
23879
23880         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23881         optionally accept the "shlib events" variation.
23882
23883 2002-01-21  Jim Blandy  <jimb@redhat.com>
23884
23885         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23886         call `fflush' after every `printf', so that the output is produced
23887         at predictable points, regardless of whatever buffering does (or
23888         doesn't) take place.
23889         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23890         at different points.
23891
23892 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
23893
23894         * gdb.c++/inherit.exp: Update copyright years.
23895         * gdb.c++/method.exp: Likewise.
23896
23897 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
23898
23899         * gdb.c++/classes.exp: Update for improved v3 support and skipping
23900         artificial methods/arguments.
23901         * gdb.c++/derivation.exp: Likewise.
23902         * gdb.c++/inherit.exp: Likewise.
23903         * gdb.c++/method.exp: Likewise.
23904         * gdb.c++/virtfunc.exp: Likewise.
23905
23906 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
23907
23908         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23909         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23910         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23911         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23912         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23913         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23914
23915 2002-01-17  Jim Blandy  <jimb@redhat.com>
23916
23917         * gdb.asm/asm-source.exp (info symbol): Take another shot at
23918         anchoring the pattern matching the entry point symbol's name.
23919
23920 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
23921
23922         * gdb.base/maint.exp: Update ``maint internal-error'' to match
23923         continue/quit query.  Update copyright.
23924
23925 2002-01-14  Michael Snyder  <msnyder@redhat.com>
23926
23927         * gdb.base/gcore.exp: Remove extra debugging output.
23928
23929 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
23930
23931         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23932         for slightly dubious v2 mangled string.
23933
23934 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
23935
23936         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23937
23938 2002-01-10  Jason Merrill  <jason@redhat.com>
23939
23940         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23941
23942         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23943         constructors.
23944         * gdb.c++/derivation.exp: Likewise.
23945         * gdb.c++/templates.exp: Likewise.
23946         * gdb.c++/virtfunc.exp: Likewise.
23947
23948 2002-01-10  Michael Snyder  <msnyder@redhat.com>
23949
23950         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23951
23952 2002-01-08  Michael Snyder  <msnyder@redhat.com>
23953
23954         * gdb.base/gcore.exp: New test for generate-core-file command.
23955         * gdb.base/gcore.c: Testcase for above.
23956         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23957
23958 2002-01-08  Jason Merrill  <jason@redhat.com>
23959
23960         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23961
23962 2002-01-07  Fred Fish  <fnf@redhat.com>
23963
23964         * gdb.c++/overload.exp: Remove unconditional xfails for:
23965         print foo_instance1.overloadargs(1)
23966         print foo_instance1.overloadargs(1, 2)
23967         print foo_instance1.overloadargs(1, 2, 3)
23968         print foo_instance1.overloadargs(1, 2, 3, 4)
23969         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23970         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23971         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23972         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23973         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23974         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23975         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23976         print foo_instance1.overload1arg()
23977         print foo_instance1.overload1arg((char)arg2)
23978         print foo_instance1.overload1arg((signed char)arg3)
23979         print foo_instance1.overload1arg((unsigned char)arg4)
23980         print foo_instance1.overload1arg((int)arg7)
23981         print foo_instance1.overload1arg((unsigned int)arg8)
23982         print foo_instance1.overload1arg((float)arg11)
23983         print foo_instance1.overload1arg((double)arg12)
23984
23985 2002-01-07  Michael Snyder  <msnyder@redhat.com>
23986
23987         * gdb.base/huge.exp: New test.  Print a very large target data object.
23988         (skip_huge_test): New test variable.  Define if you want to skip this
23989         test.  The test reads an 8 megabyte data object from the target, so it
23990         might be very time consuming on remote targets with a slow connection.
23991         * gdb.base/huge.c: New file.  Test case for above.
23992
23993 2002-01-07  Fred Fish  <fnf@redhat.com>
23994
23995         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23996         g_instance.bfoo, and g_instance.cfoo.
23997
23998 2002-01-07  Jeffrey A Law  <law@redhat.com>
23999
24000         * gdb.base/break.c (multi_line_if_conditional): New function.
24001         (multi_ilne_while_conditional): Likewise.
24002         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24003         IF or WHILE condition puts the breakpoint at the start of
24004         the condition.
24005
24006         * gdb.base/selftest.exp (backtrace through signal handler): Remove
24007         hppa*-*-hpux* expected failure.
24008         * gdb.base/structs.exp (do_function_calls): Similarly.
24009
24010         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24011         watchpoints.
24012
24013 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
24014
24015         Fix PR gdb/66.
24016         * gdb.base/structs.exp: Replace skip for a29k with skip for
24017         gdb,cannot_call_functions.
24018         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24019         * gdb.base/callfuncs.exp: Ditto.
24020         * gdb.base/call-rt-st.exp: Ditto.
24021         * gdb.base/call-strs.exp: Ditto.
24022         * gdb.base/callfwmall.exp: Ditto.
24023         * gdb.base/scope.exp: Obsolete xfail a29k.
24024         * gdb.c++/misc.exp: Ditto.
24025         * gdb.c++/cplusfuncs.exp: Ditto.
24026         * gdb.base/ptype.exp: Ditto.
24027         * gdb.base/printcmds.exp: Ditto.
24028         * gdb.base/opaque.exp: Ditto.
24029         * gdb.base/list.exp: Ditto.
24030         * gdb.base/funcargs.exp: Ditto.
24031         * gdb.base/default.exp: Ditto.
24032
24033 2002-01-04  Michael Snyder  <msnyder@redhat.com>
24034
24035         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24036         * gdb.base/maint.exp: Add tests for maint info sections options.
24037
24038 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
24039
24040         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24041
24042 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
24043
24044         * gdb.asm/arm.inc: New file.
24045         * gdb.asm/asm-source.exp: Add arm targets.
24046         * gdb.asm/configure.in: Ditto.
24047         * gdb.asm/configure: Recreated from configure.in.
24048
24049 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
24050
24051         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24052         with HP's compiler.
24053         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24054         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24055         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24056         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24057
24058         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24059         either HP's compilers or GCC.
24060
24061         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24062         a SIGBUS or SIGSEGV.
24063
24064         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24065
24066         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24067         can be compiled with either HP's compiler or GCC.
24068
24069         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24070         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24071         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24072
24073         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24074         to match current gdb output.  Update due to using auto-solib-limit
24075         for limiting instead of overloading auto-solib-add.
24076         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24077         test program.
24078
24079         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24080         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24081         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24082         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24083         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24084         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24085         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24086         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24087         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24088         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24089         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24090         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24091         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24092
24093         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24094         a SIGTRAP to the inferior.
24095
24096 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
24097
24098         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24099         Substitute call to target_link by call to gdb_compile.
24100
24101 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
24102
24103         * gdb.base/break.exp: Fix HP specific search string when testing
24104         backtracing in a called function.
24105
24106         * gdb.base/constvars.exp: Only set lang to C++ if we're
24107         compiling the test with HP's compilers.
24108         * gdb.base/volatile.exp: Similarly.
24109
24110 2001-12-19  Jim Blandy  <jimb@redhat.com>
24111
24112         * gdb.base/printcmds.exp: Expect the null character to be printed
24113         as '\0', and the '\013' to be printed as '\v'.
24114         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24115         * gdb.base/setvar.exp: Same.
24116
24117 2001-12-17  Jim Blandy  <jimb@redhat.com>
24118
24119         * gdb.base/completion.exp: Rather than completing very long
24120         filenames, which can make the readline library produce output we
24121         don't recognize, cd to the directory first, and then complete
24122         using nice, short relative paths.
24123
24124         * gdb.base/completion.exp: On some systems, there is, in fact, a
24125         variable named `b' in scope, since GDB treats all static
24126         variables as being in scope.  So use `no_var_named_this'
24127         instead of `b'.
24128
24129         * gdb.base/corefile.exp: Recognize the message saying that GDB
24130         can't find the core file's registers as a failure.
24131
24132 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
24133
24134         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24135         test expect string more specific.
24136
24137 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
24138
24139         * gdb.asm/asm-source.exp: Add support for xstormy16.
24140         * gdb.asm/configure.in: Ditto.
24141         * gdb.asm/configure: Rebuild.
24142         * gdb.asm/xstormy16.inc: New file.
24143
24144 2001-12-10  Fred Fish  <fnf@redhat.com>
24145
24146         * gdb.base/maint.exp: Update to match changes in type dumping code.
24147
24148 2001-12-10  Jim Blandy  <jimb@redhat.com>
24149
24150         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24151         matching the entry point symbol's name at the beginning of the
24152         line.
24153
24154 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
24155
24156         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24157         gdb.c++/inherit.exp, gdb.c++/method.exp,
24158         gdb.c++/namespace.exp, gdb.c++/templates.exp,
24159         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24160         and class layout support.
24161
24162 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
24163
24164         * gdb.c++/classes.exp: Add test for static member function.
24165         * gdb.c++/misc.cc: Add class with static member function.
24166
24167 2001-12-07  Jim Blandy  <jimb@redhat.com>
24168
24169         If GDB says it can't find the struct the function returned, report
24170         those tests as `unsupported'.
24171         * gdb.base/call-rt-st.exp (print_struct_call): New function.
24172         Rewrite subsequent tests to use it.
24173
24174         If GDB says it can't find the struct the function returned, report
24175         those tests as `unsupported'.
24176         * gdb.base/structs.exp (call_struct_func): New function.
24177         (do_function_calls): Use call_struct_func to call the functions
24178         returning structs.
24179
24180         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24181         whether functions are prototyped or not, so we can't possibly pass
24182         arguments to t_float_values2 properly.
24183
24184         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24185         value of `timeout' for targets other than the mips*tx39-*.
24186
24187 2001-12-06  Michael Snyder  <msnyder@redhat.com>
24188
24189         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24190         and detect whether the start symbol has a leading underscore.
24191
24192 2001-12-04  Jim Blandy  <jimb@redhat.com>
24193
24194         * gdb.base/completion.exp: Clarify indentation.
24195
24196 2001-12-03  Jim Blandy  <jimb@redhat.com>
24197
24198         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24199         variables on the S/390, not `.word'.
24200
24201 2001-11-30  Jim Blandy  <jimb@redhat.com>
24202
24203         Add assembly-source tests for s390-ibm-linux.
24204         * gdb.asm/s390.inc: New file.
24205         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24206         the S/390 architecture.
24207         * gdb.asm/configure: Regenerated.
24208
24209 2001-11-30  Michael Snyder  <msnyder@redhat.com>
24210
24211         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24212         next, info source, info sources, info line, global and static
24213         variables, and static functions.
24214         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24215         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24216         * gdb.asm/asmsrc1.s: Add a static function and some variables.
24217         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24218         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24219         (gdbasm_leave): Restore frame pointer.
24220         (gdbasm_startup): Copy stack set-up from crt0.S.
24221
24222 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
24223
24224         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
24225         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24226         to a local (non-static) variable. Copy tstruct.a to a static buffer
24227         and return a pointer to that buffer.
24228         * gdb.base/callfwmall.c (t_structs_a): Ditto.
24229
24230 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
24231
24232         * gdb.asm/configure.in: Fix recognition of ix86 target.
24233         * gdb.asm/configure: Regenerate.
24234
24235 2001-11-21  Michael Snyder  <msnyder@redhat.com>
24236
24237         * gdb.asm/sparc.inc: New file.
24238         * gdb.asm/asm-source.exp: Recognize sparc target.
24239         * gdb.asm/configure.in: Recognize sparc target.
24240         * gdb.asm/configure: Regenerate.
24241
24242 2001-11-21  Michael Snyder  <msnyder@redhat.com>
24243
24244         * gdb.asm/m32r.inc: New file.
24245         * gdb.asm/asm-source.exp: Recognize m32r target.
24246         * gdb.asm/configure.in: Recognize m32r target.
24247         * gdb.asm/configure: Regenerate.
24248
24249 2001-11-20  Michael Snyder  <msnyder@redhat.com>
24250
24251         * gdb.asm/i386.inc: New file.
24252         * gdb.asm/asm-source.exp: Recognize ix86 target.
24253         * gdb.asm/configure.in: Recognize ix86 target.
24254         * gdb.asm/configure: Regenerate.
24255
24256         * gdb.c++/namespace.exp: Fix quotes in output messages.
24257
24258 2001-11-14  Michael Snyder  <msnyder@redhat.com>
24259
24260         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
24261         qualifier in a type cast expression, to designate an address
24262         in the instruction space (Harvard architecture).
24263
24264 2001-11-13  Michael Snyder  <msnyder@redhat.com>
24265
24266         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24267         Tests for expressions using 'const' and 'volatile'.
24268
24269 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
24270
24271         * gdb.asm/asm-sources.exp: Allow defining linker flags.
24272
24273 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
24274
24275         * lib/mi-support.exp (mi_run_to_helper): Move comments
24276         outside of gdb_expect.
24277
24278 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
24279
24280         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24281         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24282         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24283         mi0_run_to): New functions.
24284         * gdb.mi/mi-simplerun.exp: Use them.
24285         * gdb.mi/mi0-simplerun.exp: Likewise.
24286         * gdb.mi/mi-var-cmd.exp: Likewise.
24287         * gdb.mi/mi0-var-cmd.exp: Likewise.
24288
24289 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
24290
24291         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24292         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24293
24294 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
24295
24296         * gdb.base/restore.exp: Include $expected value in restored test
24297         message.
24298
24299 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
24300
24301         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24302         implemented.
24303
24304 2001-11-08  Michael Snyder  <msnyder@redhat.com>
24305
24306         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24307         Add pass/fail message for stop at breakpoint in call dummy function.
24308
24309 2001-11-07  Michael Snyder  <msnyder@redhat.com>
24310
24311         * gdb.c++/templates.exp (test_template_breakpoints):
24312         If we get an overload menu, but it does not match what
24313         we expect, we still need to issue the "cancel" command.
24314         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24315         making the whitespace optional.  Argument for "new" may be
24316         "unsigned" as well as "unsigned int/long".
24317         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24318         making the whitespace optional.  Also replace "(void) with
24319         "((void|)), making the keyword "void" optional.
24320         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24321         making the whitespace optional.  Also replace "(void) with
24322         "((void|)), making the keyword "void" optional.
24323         * gdb.base/callfuncs.c (t_float_values): This function must
24324         _not_ be prototyped, and the following function (t_float_values2)
24325         must be prototyped (if the compiler supports it), so that GDB
24326         can be tested against both cases.  Usually one case involves
24327         promotion of float to double, while the other does not.
24328         * gdb.base/callfwmall.c: Ditto.
24329         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24330         includes a stack frame for "start".
24331
24332 2001-11-05  Jim Blandy  <jimb@redhat.com>
24333
24334         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
24335         pointers are 32 bits long, and that offsets of relocs are always
24336         stored in the data (REL-style), and not in the reloc entry itself
24337         (RELA-style).
24338         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24339         stabs.
24340
24341 2001-11-01  Michael Snyder  <msnyder@redhat.com>
24342
24343         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24344         and regular expression operators by using quoting.
24345
24346 2001-10-31  Michael Snyder  <msnyder@redhat.com>
24347
24348         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24349         depending on what the symbol table contains.
24350         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24351         the output of the ptype command.  Similarly, accept both "const &"
24352         and "const&".
24353
24354 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
24355
24356         * gdb.base/miscexprs.c (main): Add usage of preprocessor
24357         symbol `STORAGE' to allow to choose the storage class of
24358         the local datastructures.
24359         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24360         compiler directive.
24361
24362 2001-10-30  Michael Snyder  <msnyder@redhat.com>
24363
24364         * gdb.base/jump.exp: Allow it to run for all targets.
24365
24366 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
24367
24368         * gdb.base/call-ar-st.c (print_double_array): Match for loop
24369         with new double_array size.
24370         (main): Change storage class of all local variables to static.
24371         Reduce size of double_array to 9.
24372         * gdb.base/call-ar-st.exp:  Increase timeout value.
24373         Change expected output for double array to match new size in
24374         call-ar-st.c.
24375
24376 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
24377
24378         * gdb.base/ending-run.exp: Create identical output when passing
24379         `step to end of run' case.  Add regular expression branch satisfying
24380         Stormy16 target.
24381
24382 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
24383
24384         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24385         that we catch the expected failure under Linux/x86.
24386
24387 2001-10-29  Orjan Friberg  <orjanf@axis.com>
24388
24389         * gdb.base/setvar.exp: Escape curly braces.
24390         * gdb.stabs/weird.exp: Ditto.
24391
24392 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
24393
24394         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24395         * gdm.mi/mi0-hack-cli.exp: Likewise.
24396
24397 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
24398
24399         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24400         messages.
24401
24402 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
24403
24404         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24405         checking MI enabled.
24406
24407 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
24408
24409         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24410
24411 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
24412
24413         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24414         if gdb child process crashes, just signal an error.
24415
24416 2001-10-02  Jim Blandy  <jimb@redhat.com>
24417
24418         * lib/gdb.exp (test_xfail_format): Simplify.
24419
24420         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24421         front of the variable name `format'.  Simplify `if'.
24422
24423 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
24424
24425         * gdb.threads/pthreads.exp: Wait for output and delay
24426         before sending ^C.
24427
24428 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
24429
24430         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
24431         some incorrect output instead of timing out.
24432         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
24433
24434 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
24435
24436         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24437         check to allow additional `int'.
24438
24439 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
24440
24441         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24442         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24443
24444 2001-09-27  Michael Snyder  <msnyder@redhat.com>
24445
24446         * lib/gdb.exp (test_debug_format): New proc.
24447         (setup_xfail_format): Use new proc test_debug_format.
24448         * gdb.base/constvars.exp (local_compiler_xfail_check): New
24449         proc; use new service proc test_debug_format.
24450         Replace all other "gcc_compiled" tests with this test.
24451         * gdb.base/volatile.exp (local_compiler_xfail_check): New
24452         proc; use new service proc test_debug_format.
24453         Replace all other "gcc_compiled" tests with this test.
24454
24455 2001-09-27  Michael Snyder  <msnyder@redhat.com>
24456
24457         * gdb.base/cvexpr.exp: New file.
24458         * gdb.base/cvexpr.c: New file
24459         Test for expressions using const and volatile keywords.
24460
24461 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
24462
24463         * gdb.base/constvars.exp: Check for different orders of keywords
24464         and additional "int" strings in output.
24465
24466 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
24467
24468         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24469         responses from "help maint".
24470
24471 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
24472
24473         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24474         to localhost:NNN instead of :NNN, in case Xvfb is listening
24475         only on TCP.
24476
24477 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
24478
24479         * gdb.base/recurse.exp: When checking leaving the watchpoint
24480         scope, recognize when gdb is in function's epilogue and pass.
24481
24482 2001-09-18  Keith Seitz  <keiths@redhat.com>
24483
24484         * lib/insight-support.exp (_gdbtk_export_target_info): Add
24485         support for running tests against sid targets.
24486         (gdbtk_done): Ditto.
24487
24488 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
24489
24490         * gdb.base/ending-run.c (main): Set stdout buffersize
24491         to the same reasonable value for any target.
24492         * gdb.base/ending-run.exp: Add a regular expression
24493         to make testsuite happy on Sanyo Stormy16 target.
24494
24495 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
24496
24497         * gdb.base/display.c (do_loops): Add float variable `f'.
24498         Increment f in loop.
24499         * gdb.base/display.exp: Increment timeout by 60 seconds.
24500         Change float display test to use variable `f'.
24501
24502 2001-09-17  Jim Blandy  <jimb@redhat.com>
24503
24504         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24505         overflowing the limited breakpoint tables on some ROM monitors
24506         (like the ROM68K).
24507
24508 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
24509
24510         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24511         the "-ac" (disable access control) flag.
24512
24513 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
24514
24515         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24516         ints.
24517
24518 2001-08-30  Keith Seitz  <keiths@redhat.com>
24519
24520         * lib/gdb.exp: Move all insight-related functionality into
24521         separate file.
24522         * lib/insight-support.exp: New file.
24523
24524 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
24525
24526         * config/sid.exp (sid_start): Never set sid verbosity; disable
24527         expect_background {} that consumed its stdout; tolerate </dev/null.
24528         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
24529
24530 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
24531
24532         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24533         CLI jump command to start it.
24534         (mi_run_to_main): Fail immediatly when unexpected output.
24535
24536 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
24537
24538         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24539         beginning of function.  Fix PR gdb/191.
24540
24541 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
24542
24543         * config/sid.exp (sid_start): Don't warn if we cannot figure out
24544         what to force sid endianness to.
24545
24546 2001-08-15  Keith Seitz  <keiths@redhat.com>
24547
24548         * lib/gdb.exp (gdbtk_start): Don't set environment
24549         variables for TCL_LIBRARY and friends. Insight will
24550         now figure these out for itself.
24551
24552 2001-08-02  Michael Snyder  <msnyder@redhat.com>
24553
24554         * gdb.base/completion.exp: Remove the symbol "a64l" from
24555         the expect string; this is target-specific, and not related
24556         to what is being tested.
24557
24558 2001-08-02  Dave Brolley  <brolley@redhat.com>
24559
24560         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24561
24562 2001-07-25  Michael Snyder  <msnyder@redhat.com>
24563
24564         * gdb.base/consecutive.exp: New file.  Test stepping over
24565         breakpoints on consecutive instructions.
24566         * gdb.base/consecutive.c: New file.
24567
24568         * gdb.base/call-rt-st.exp: Use double-backslash to quote
24569         curly braces in regular expressions.
24570
24571 2001-07-25  Michael Snyder  <msnyder@redhat.com>
24572
24573         * gdb.base/ending-run.exp: Accept "Program exited normally" as
24574         legitimate output from stepping out of main.
24575
24576 2001-07-22  Keith Seitz  <keiths@redhat.com>
24577
24578         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24579         the empty string, do not run the tests.
24580
24581 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24582
24583         * gdb.base/long_long.exp: Detect size of pointer.  Take into
24584         account 2-byte pointers when testing for p/a results.
24585
24586 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24587
24588         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24589         and defined to 1K for m68hc11.
24590         (random_data): Reduce table to 1K for embedded platforms (68hc11).
24591         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24592         (sizeof_random_data): New variable to tell the size of the data table;
24593         don't test past this size; always run to main.
24594
24595 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24596
24597         * gdb.base/return2.exp: return of long long and double fails for
24598         68HC11; don't execute these tests on that platform.
24599         * gdb.base/return.exp: Return of a double fails for 68hc11.
24600
24601 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
24602
24603         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24604         tests that print a float.
24605         * call-rt-st.exp: Likewise.
24606
24607 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
24608
24609         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24610         running this test on Linux.
24611
24612 2001-06-24  Michael Chastain  <chastain@redhat.com>
24613
24614         * gdb.base/arithmet.exp: Remove some tests to make all test names
24615         unique.
24616
24617 2001-07-03  Michael Snyder  <msnyder@redhat.com>
24618
24619         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24620         the output of the ptype command.
24621
24622 2001-07-02  Michael Snyder  <msnyder@redhat.com>
24623
24624         * gdb.base/completion.exp: Don't assume that break.c is the only
24625         source file that may contain functions named "marker".
24626         * gdb.base/corefile.exp: Quote the curly braces in regexp.
24627
24628 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
24629
24630         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24631         of files to delete.
24632
24633         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24634         * gdb.disasm/h8300s.exp: New file.
24635         gdb.disasm/h8300s.s: Likewise.
24636
24637 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
24638
24639         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24640         empty breakpoint tables.
24641
24642 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
24643
24644         * lib/mi-support.exp: Update args=... part of stop-reason
24645         patterns. Accept either a list or a tuple.
24646
24647 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
24648
24649         * lib/mi-support.exp: Remove local emacs variable defining
24650         change-log-default-name.
24651
24652 2001-06-22  Michael Chastain  <chastain@redhat.com>
24653
24654         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24655         This is operationally compatible with the previous version.
24656
24657 2001-06-13  Jim Blandy  <jimb@redhat.com>
24658
24659         * lib/gdb.exp (gdb_test): Doc fix.
24660
24661 2001-06-10  Michael Chastain  <chastain@redhat.com>
24662
24663         * gdb.base/exprs.exp: Remove a duplicate test.
24664
24665 2001-06-06  Jim Blandy  <jimb@redhat.com>
24666
24667         * gdb.base/return2.exp (main): Use values to test float and double
24668         returns that are not NaN's, to avoid being confused by IEEE
24669         comparison rules.
24670
24671 2001-06-04  Michael Snyder  <msnyder@redhat.com>
24672
24673         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24674         non-zero if control_c fails.  Terminate the test on failure,
24675         rather than wait for 12 more tests to time out.
24676
24677 2001-06-06  Jim Blandy  <jimb@redhat.com>
24678
24679         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24680         Don't forget to match the GDB prompt.
24681
24682         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24683
24684 2001-06-04  Jim Blandy  <jimb@redhat.com>
24685
24686         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24687         command.
24688
24689 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
24690
24691         * gdb.base/annota1.exp (info break): Match four or more spaces
24692         after "Address".
24693
24694 2001-05-31  Michael Chastain  <chastain@redhat.com>
24695
24696         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24697         (dm_type_int_star): Likewise.
24698         (dm_type_long_star): Likewise.
24699         (dm_type_void_star): Likewise.
24700
24701 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
24702
24703         * gdb.base/completion.exp (INPUTRC): Set this environment variable
24704         to a known value in order to get consistent results regardless
24705         of the setting of INPUTRC or the presence or contents of .inputrc.
24706
24707 2001-05-24  Michael Snyder  <msnyder@redhat.com>
24708
24709         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24710         Don't require that the main thread and the manager thread are the
24711         first in the list.
24712
24713         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24714         debugging.  If test fails, issue an "unsupported" not a "fail".
24715
24716 2001-05-24  Jim Blandy  <jimb@redhat.com>
24717
24718         Don't assume that short is shorter than int.
24719         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24720         assume that shorts are smaller than ints.  On a 16-bit machine,
24721         this isn't true.
24722         ("print unsigned char == (~0)"): Add test that verifies that ~0,
24723         an int, is not equal to ~0 stored in an unsigned char.  This tests
24724         the same thing that the previous test meant to, but works on
24725         16-bit machines, too.
24726         ("print unsigned char != (~0)"): Same test, complemented.
24727
24728 2001-05-24  Michael Snyder  <msnyder@redhat.com>
24729
24730         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24731         test for (full_coverage == 0).  This makes the test run faster,
24732         and prevents dejagnu getting out of step.
24733
24734 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
24735
24736         * gdb.base/finish.exp (finish_void): Revise pattern for
24737         stopping on the call statement to not permit stopping at
24738         the start of the instructions comprising the call sequence.
24739
24740 2001-05-19  Michael Chastain  <chastain@redhat.com>
24741
24742         * gdb.base/callfuncs.exp: Make all test names unique.
24743         * gdb.base/commands.exp: Make all test names unique.
24744         * gdb.base/condbreak.exp: Make all test names unique.
24745         * gdb.base/dbx.exp: Make all test names unique.
24746         * gdb.base/default.exp: Make all test names unique.
24747         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
24748         and TIMEOUT messages to their corresponding PASS message.
24749         * gdb.base/ending-run.exp: Make all test names unique.
24750         * gdb.base/long_long.exp: Remove duplicate test.
24751
24752 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
24753
24754         * gdb.base/finish.exp (finish_void): Allow "finish" command to
24755         stop on the call statement as well as the statement after the
24756         call.
24757
24758 2001-05-21  Michael Snyder  <msnyder@redhat.com>
24759
24760         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24761
24762 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
24763
24764         * gdb.base/completion.exp: Revamp test. Make it execute on all
24765         platforms.
24766
24767 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
24768
24769         * config/gdbserver.exp (gdb_load): Handle the case
24770         in which the arguments to gdbserver are given in the
24771         baseboard configuration file.
24772         Also handle the case in which the server needs to do a
24773         load.
24774
24775 2001-05-07  Keith Seitz <keiths@cygnus.com>
24776
24777         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24778         set up the display for testing.
24779         (gdbtk_start): Convert all paths to paths that tcl will like.
24780         Export target information to environment.
24781         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24782         necessary.
24783         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24784         (to_tcl_path): New proc to convert a given pathname into
24785         a path acceptible as an argument to a tcl command.
24786         (_gdbtk_export_target_info): New proc to export target info
24787         into the environment for gdbtk testing.
24788         (gdbtk_done): New proc to signal end-of-test.
24789
24790 2001-05-06  Jim Blandy  <jimb@redhat.com>
24791
24792         * restore.c: Make the code of caller0 correspond to its comment.
24793
24794 2001-05-03  Michael Snyder  <msnyder@redhat.com>
24795
24796         * config/sid.exp (gdb_target_sid): Check for error messages.
24797         On error or timeout, don't make expect exit (which will terminate
24798         all subsequent tests); instead just make gdb exit.
24799         (gdb_load): Check for error messages.  On error or timeout,
24800         return a negative value.
24801
24802 2001-04-24  Jim Blandy  <jimb@redhat.com>
24803
24804         * gdb.c++/templates.exp: If we see the prompt for the overload
24805         list, but we haven't recognized any of the longer patterns,
24806         arrange for this test to fail, not hang.
24807
24808         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24809         variations.
24810
24811 2001-04-22  Michael Chastain  <chastain@redhat.com>
24812
24813         * gdb.c++/local.exp: Use the 'runto' library function.
24814         * gdb.c++/namespace.exp: Likewise.
24815         * gdb.c++/overload.exp: Likewise.
24816
24817 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
24818
24819         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24820         * gdb.base/step-line.exp: New file.  Test step/next in presence of
24821         #line directives.
24822         * gdb.base/step-line.c: New file.  Test program for the above.
24823         * gdb.base/step-line.inp: New file.  We pretend that this file has
24824         been transformed by some other tool into step-line.c.
24825
24826 2001-03-21  Jim Blandy  <jimb@redhat.com>
24827
24828         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24829         unmangled operator names.
24830
24831 2001-03-20  Jim Blandy  <jimb@redhat.com>
24832
24833         * gdb.threads/linux-dp.exp: Recognize an additional message
24834         generated by GDB when it doesn't understand how to debug threads
24835         on the target system.
24836
24837 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
24838
24839         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24840
24841 2001-03-12  Michael Chastain  <chastain@redhat.com>
24842
24843         * gdb.c++/derivation.exp: Use the 'runto' library function.
24844
24845 2001-03-12  Michael Chastain  <chastain@redhat.com>
24846
24847         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24848
24849 2001-02-24  Michael Chastain  <chastain@redhat.com>
24850
24851         * gdb.c++/ref-types.exp: Change handwritten code to library
24852         function 'runto'.
24853
24854 2001-03-16  Orjan Friberg  <orjanf@axis.com>
24855
24856         * gdb.base/signals.exp: Set count to 0 explicitly.
24857
24858 2001-03-15  Mark Salter  <msalter@redhat.com>
24859
24860         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24861         (gdb_target_monitor): Add check of gdb_target_cmd return value.
24862         (gdb_load): Add support for additional target_info: gdb_download_size
24863         and gdb_load_timeout.
24864
24865 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
24866
24867         * gdb.base/annota1.exp: Move test of isnative to earlier in the
24868         file -- to prevent failing when the compile fails but we have no
24869         intention of running the tests anyway.
24870
24871         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24872         tests if set.
24873
24874         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24875         integers.
24876
24877         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24878         * gdb.c++/namespace.exp: Ditto.
24879
24880 2001-03-07  Orjan Friberg  <orjanf@axis.com>
24881
24882         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24883         * gdb.base/pointers.exp: Relax pattern match of decimals.
24884
24885 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
24886
24887         * Makefile.in, config/abug.exp, config/cfdbug.exp,
24888         config/cpu32bug.exp, config/dve.exp, config/est.exp,
24889         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24890         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24891         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24892         config/sh.exp, config/sid.exp, config/slite.exp,
24893         config/sparclet.exp, config/udi.exp, config/unknown.exp,
24894         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24895         config/vxworks.exp, config/vxworks29k.exp,
24896         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24897         gdb.base/all-bin.exp, gdb.base/annota1.exp,
24898         gdb.base/arithmet.exp, gdb.base/assign.exp,
24899         gdb.base/async.exp, gdb.base/attach.exp,
24900         gdb.base/bitfields.exp, gdb.base/bitops.exp,
24901         gdb.base/break.exp, gdb.base/call-ar-st.exp,
24902         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24903         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24904         gdb.base/commands.exp, gdb.base/completion.exp,
24905         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24906         gdb.base/constvars.exp, gdb.base/corefile.exp,
24907         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24908         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24909         gdb.base/ending-run.exp, gdb.base/environ.exp,
24910         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24911         gdb.base/finish.exp, gdb.base/foll-exec.exp,
24912         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24913         gdb.base/funcargs.exp, gdb.base/help.exp,
24914         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24915         gdb.base/logical.exp, gdb.base/long_long.exp,
24916         gdb.base/maint.exp, gdb.base/mips_pro.exp,
24917         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24918         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24919         gdb.base/pointers.exp, gdb.base/printcmds.exp,
24920         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24921         gdb.base/regs.exp, gdb.base/relational.exp,
24922         gdb.base/remote.exp, gdb.base/reread.exp,
24923         gdb.base/restore.exp, gdb.base/return2.exp,
24924         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24925         gdb.base/selftest.exp, gdb.base/setshow.exp,
24926         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24927         gdb.base/sigall.exp, gdb.base/signals.exp,
24928         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24929         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24930         gdb.base/step-test.exp, gdb.base/structs.c,
24931         gdb.base/structs.exp, gdb.base/structs2.exp,
24932         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24933         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24934         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24935         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24936         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24937         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24938         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24939         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24940         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24941         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24942         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24943         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24944         gdb.fortran/types.exp, gdb.java/jmisc.exp,
24945         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24946         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24947         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24948         gdb.trace/circ.exp, gdb.trace/collection.exp,
24949         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24950         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24951         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24952         gdb.trace/report.exp, gdb.trace/save-trace.exp,
24953         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24954         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24955         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24956         notices.
24957
24958 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
24959
24960         * gdb.base/varargs.c (find_max_double): Fix printf format string:
24961         first arg is int not float.
24962
24963 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
24964
24965         * gdb.base/reread.exp: Unsupported for non-native targets;
24966         doesn't work for remote debugging.
24967
24968 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
24969
24970         From  Drew Moseley  <dmoseley@redhat.com>
24971         * gdb.base/ending-run.exp: Properly handle the BSP state when
24972         stepping past the end of main.
24973
24974 2001-02-19  John Moore  <jmoore@redhat.com>
24975
24976         * gdb.base/commands.exp (infrun_breakpoint_command_test):
24977         Converted HPUX fix for non-expected items following multiple
24978         step commands into general solution for all platforms.
24979
24980 2001-02-18  Michael Chastain  <chastain@redhat.com>
24981
24982         * gdb.c++/classes.exp (do_tests): Change runto statements
24983         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
24984         statements demangler agnostic.
24985         * gdb.c++/virtfunc.exp (do_tests): Likewise.
24986         (gdb_virtfunc_restart): Likewise.
24987
24988 2001-02-14  Michael Chastain  <chastain@redhat.com>
24989
24990         * gdb.c++/inherit.exp (do_tests): Change runto statements
24991         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
24992         statements demangler agnostic.
24993
24994 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
24995
24996         * gdb.threads/pthreads.exp: Unify pass/fail messages for
24997         ``continue to bkpt at common_routine in thread 2'' and ``stopped
24998         before calling common_routine 15 times'' tests.
24999
25000 2001-02-11  Michael Chastain  <chastain@redhat.com>
25001
25002         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25003         Helps the test script figure out which demangler is in use.
25004         (dm_type_foo_ref): Ditto.
25005         (dm_type_int_star): Ditto.
25006         (dm_type_long_star): Ditto.
25007         (dm_type_unsigned_int): Ditto.
25008         (dm_type_void): Ditto.
25009         (dm_type_void_star): Ditto.
25010         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25011         Probe the gdb demangler and set variables to accommodate
25012         formatting differences.
25013         (info_func_regexp): New function.  Same as info_func, but
25014         matches against a regexp.
25015         (info_func): Match against a literal string.
25016         (print_addr_2): New function.  Match against a literal string,
25017         which can be different from the input to gdb.
25018         (print_addr): Simply call print_addr_2 with the same argument twice.
25019         (test_lookup_operator_functions): Use demangler formatting variables.
25020         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
25021         the tests in the same order as the C++ class declaration.
25022         (test_paddr_operator_functions): Ditto.
25023         (test_paddr_overloaded_functions): Ditto.
25024         (test_paddr_hairy_functions): Use demangler formatting variables.
25025         Add reference to gdb/19 for related tests.
25026         (do_tests): Call probe_demangler.
25027
25028 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
25029
25030         * gdb.c++/templates.cc (printf): Remove unused function definition.
25031
25032 2001-01-26  Felix Lee  <flee@redhat.com>
25033
25034         * sid.exp (sid_exit): Pass host, not target, to remote_close.
25035
25036 2001-01-25  matthew green  <mrg@redhat.com>
25037
25038         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25039         up sid.
25040         (sid_exit): Call `remote_pop_conn' after GDB is gone.
25041
25042 2001-01-25  matthew green  <mrg@redhat.com>
25043
25044         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25045         Deprecate $sid_spawn_id.
25046         (sid_exit): Remove code necessary only for `spawn.'
25047
25048 2001-01-25  matthew green  <mrg@redhat.com>
25049
25050         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25051
25052 2001-01-28  Michael Chastain  <chastain@redhat.com>
25053
25054         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25055         to call when tests fail.  It takes gdb out of the overloaded
25056         function choice menu back to the main prompt, so that the test
25057         program stays synchronized.
25058         (set_bp_overloaded): New proc to collect all the common
25059         code for setting a breakpoint on an overloaded name.  Calls
25060         take_gdb_out_of_choice_menu when needed.
25061         (menu_overload1arg): New variable to collect the repeated
25062         instances of the expected menu for an overloaded name.  Change
25063         the regular expression to handle changes in g++ type encoding:
25064         "void" can be either "void" or "", and "unsigned int" can be
25065         either "unsigned int" or "unsigned".
25066         (continue_to_bp_overloaded): Change regular expressions to handle
25067         changes in g++ type encoding.
25068         (no proc): Call take_gdb_out_of_choice_menu when needed.
25069         Remove redundant calls to "info break".  Accept either "canceled"
25070         or "cancelled".  Change regular expressions in "info break"
25071         calls to handle changes in g++ type encoding.  Give all tests
25072         unique strings.
25073
25074 2001-01-17  Ben Elliston  <bje@redhat.com>
25075
25076         * config/sid.exp: New file.
25077
25078 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
25079
25080         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25081
25082 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
25083
25084         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25085         Add a RE to accept a non-ascii char if one is ever presented.
25086
25087 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
25088
25089         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25090
25091 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
25092
25093         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25094         in regexp.  One '\' does not suffice on Linux.
25095
25096 2000-12-09  Michael Chastain  <chastain@redhat.com>
25097
25098         * gdb.base/break.exp (test_clear_command): Use a marker function
25099         rather than 'main' for the test function.  Also move this
25100         test to an execution point where the marker function names are
25101         guaranteed to be bound to functions.  (Executing tests after a
25102         'finish' from main runs into name conflicts with local names
25103         in __libc_start_main).
25104
25105 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
25106
25107         * gdb.base/finish.exp: New test for gdb's "finish" command.
25108         * gdb.base/return2.exp: New test for gdb's "return" command.
25109         * gdb.base/return2.c: New source file for above.
25110
25111 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
25112
25113         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25114         * gdb.base/miscexprs.exp: Ditto.
25115         * gdb.base/pointers.exp:  Ditto.
25116         * gdb.c++/derivation.exp: Ditto.
25117         * gdb.c++/local.exp:      Ditto.
25118         * gdb.c++/namespace.exp:  Ditto.
25119         * gdb.c++/overload.exp:   Ditto.
25120         * gdb.c++/ref-types.exp:  Ditto.
25121
25122 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
25123
25124         * gdb.base/constvars.exp: Test result of "up" command.
25125         * gdb.base/miscexprs.exp: Ditto.
25126         * gdb.base/pointers.exp:  Ditto.
25127         * gdb.base/scope.exp:     Ditto.
25128         * gdb.c++/derivation.exp: Ditto.
25129         * gdb.c++/local.exp:      Ditto.
25130         * gdb.c++/namespace.exp:  Ditto.
25131         * gdb.c++/overload.exp:   Ditto.
25132         * gdb.c++/ref-types.exp:  Ditto.
25133
25134 2000-11-22  Michael Chastain  <chastain@redhat.com>
25135
25136         * mips_pro.exp: Accept either "middle -> top -> main" or
25137         "middle -> main" in the backtrace, because gcc can optimize
25138         tail calls to jumps.  Remove setup_xfail for the hppa case.
25139         Add a comment with the original warning messages from PR 3016,
25140         which was filed in 1993, to preserve them for posterity.
25141
25142 2000-11-17  Nick Duffek  <nsd@redhat.com>
25143
25144         * lib/gdb.exp (gdb_test): Override timeout with board info.
25145
25146 2000-11-17  Nick Duffek  <nsd@redhat.com>
25147
25148         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
25149         the second kill and detach messages.
25150
25151 2000-11-17  Nick Duffek  <nsd@redhat.com>
25152
25153         * configure.in: Add AC_EXEEXT.
25154         * configure: Regenerate.
25155         * Makefile.in (just-check): Export EXEEXT.
25156         * lib/gdb.exp ($EXEEXT): Import from environment.
25157         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
25158         expect "maint dump-me" on Cygwin.
25159         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25160         $EXEEXT.
25161
25162 2000-11-17  Nick Duffek  <nsd@redhat.com>
25163
25164         * gdb.base/break.exp: Test backtrace and finish from called
25165         function on all platforms, not just HP-UX.
25166
25167 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
25168
25169         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25170         code from gdb_target_monitor, so it can be used independantly
25171         for gdbserver.  Also comment out an unnecessary PUTS.
25172
25173 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
25174
25175         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25176         * gdb.base/corefile.exp: Expect the message "Program is being
25177         debugged already" when we send the "corefile" command, since
25178         the preceeding gdb_load may have connected gdb to a remote target.
25179         * gdb.base/display.exp: Disable hardware watchpoints if new
25180         board info variable "no_hardware_watchpoints" is true.
25181         Replace single-letter commands with more readable ones.
25182         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25183         if new board info variable "no_hardware_watchpoints" is true.
25184         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25185         to see if stdio (printf) testing is possible.
25186         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25187         board info variable "no_hardware_watchpoints" is true.  Use new
25188         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25189
25190 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
25191
25192         From Orjan Friberg  <orjanf@axis.com>:
25193         * gdb.base/printcmds.exp: Escape curly braces followed by a number
25194         in array print pattern match.
25195
25196 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
25197
25198         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25199         spelling "cancelled" to U.S. spelling "canceled" to match changes
25200         made to gdb.
25201         * gdb.c++/ovldbreak.exp: Ditto.
25202
25203 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
25204
25205         * gdb.base/callfuncs.c (main):  Moved to end of file, call
25206         t_double_values to initialize the FPU before inferior calls are made.
25207         * gdb.base/callfuncs.exp:  Test for register preservation after calling
25208         inferior functions.  Add tests for continuining, finishing and
25209         returning from a stop in a call dummy.
25210
25211 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
25212
25213         * gdb.base/commands.exp: Break up long lines, and re-indent.
25214
25215 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
25216
25217         * config/gdbserver.exp:  Rewritten from the ground up, to make it
25218         compatible with the current dejagnu tree, and to make it work with
25219         the new "gdbserver" in libremote.
25220
25221 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
25222
25223         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25224         * gdb.base/varargs.exp: Skip entire test if no printf support.
25225         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25226         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25227
25228 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
25229
25230         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
25231         no floating point support.
25232         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
25233         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25234         * gdb.base/call-rt-st.exp: Ditto.
25235         * gdb.base/call-strs.exp: Ditto.
25236
25237 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
25238
25239         * gdb.base/sizeof.c: include <stdio.h>.
25240
25241         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25242         'finish', otherwise uncaptured gdb_prompt would potentially
25243         throw remaining test points out of sync.
25244
25245 2000-07-26  Scott Bambrough <scottb@netwinder.org>
25246
25247         * gdb.base/recurse.exp: Run tests for all targets.
25248         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25249         gnu-oldld case on ARM.
25250         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25251         for ARM targets.
25252
25253 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
25254
25255         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25256         * gdb.java/configure: Rebuild.
25257
25258 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
25259
25260         * gdb.java/jv-exp.exp: New file.
25261
25262 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
25263
25264         * configure: Rebuilt.
25265         * configure.in (configdirs): Add gdb.java.
25266         * gdb.java/jmisc.java: New file.
25267         * gdb.java/jmisc.exp: New file.
25268         * gdb.java/Makefile.in: New file.
25269         * gdb.java/configure: Rebuilt.
25270         * gdb.java/configure.in: New file.
25271         * lib/java.exp: New file.
25272
25273 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25274
25275         * gdb.base/exprs.exp: Test casts to a pointer including over and
25276         underflow.
25277
25278 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25279
25280         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
25281         and the compilers sizes.
25282
25283 2000-07-09  Nick Duffek  <nsd@redhat.com>
25284
25285         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25286         (use_methods): New function.
25287         (main): Call use_methods().
25288         * gdb.c++/classes.exp (test_method_param_class): New procedure.
25289         (do_tests): Call test_method_param_class.
25290
25291 2000-07-09  Nick Duffek  <nsd@redhat.com>
25292
25293         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25294         spelling.
25295         (test_enums): New procedure.  Move enum tests from end of script
25296         to here.  Set breakpoint on function name instead of line number.
25297         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25298         (enums2): New marker function.
25299         (enums1): New function.
25300         (main): Call enums1().  Move enum tests to enums1().
25301
25302 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25303
25304         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25305         compile/link program.  Update line numbers.
25306         * gdb.asm/d10v.inc: Define ``startup''.
25307         * gdb.asm/asmsrc1.s: Add definition of _start.
25308
25309 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25310
25311         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25312
25313 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25314
25315         * gdb.base/maint.exp: Add 'maint print architecture' item to output
25316         of 'help maint print' command.
25317
25318 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25319
25320         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25321         they use gdb_expect_list.
25322
25323 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25324
25325         * gdb.base/commands.exp: Use ``set remote
25326         memory-read-packet-size'' instead of ``set endian big'' to test
25327         long commands.
25328
25329 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
25330
25331         * gdb.c++/templates.exp (do_tests): Make all of these work under
25332         g++, and stop skipping them.
25333
25334         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25335         work under g++.
25336
25337         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25338         initialization.
25339
25340 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
25341
25342         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25343         the regular expression: accept an (almost) arbitrary sequence of
25344         "frames-invalid" and "breakpoints-invalid" messages both before
25345         and after the "starting" message.
25346
25347 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
25348
25349         * gdb.c++/local.exp: This test has never been known to work with g++.
25350
25351 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
25352
25353         * gdb.base/annota1.exp (annotate-signal-handler-caller):
25354         Relax the regular expression a little, make it pass on Solaris 8.
25355
25356 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
25357
25358         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25359         a call, do not require that gdb stop on the line after the call.
25360         Instead, it is permissible for gdb to stop on the line of the
25361         call itself.
25362
25363 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
25364
25365         * gdb.base/break.exp (bp on small function, optimized file):
25366         Add a second pass pattern.  The behavior differs here between stabs
25367         and dwarf for one-line functions.  Stabs preserves two line symbols
25368         (one before the prologue and one after) with the same line number,
25369         but dwarf regards these as duplicates and discards one of them.
25370         Therefore the address after the prologue (where the breakpoint is)
25371         has no exactly matching line symbol, and GDB reports the breakpoint
25372         as if it were in the middle of a line rather than at the beginning.
25373
25374 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
25375
25376         * gdb.base/interrupt.exp: Make "pass" message say "send"
25377         rather than "send_gdb" (for consistancy).
25378
25379 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25380
25381         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
25382         * gdb.c++/templates.cc: Properly check for GCC version number.
25383         * lib/compiler.cc: Likewise
25384
25385 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
25386
25387         * gdb.base/break.exp: When compiled with -O2 optimization,
25388         gdb may not stop at the first line of main, due to code motion.
25389
25390 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
25391
25392         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25393         This test depends on parsing the printf output from the target.
25394         Since the sparclet stub doesn't do stdio, this will never work.
25395         * gdb.base/call-rt-st.exp: ditto.
25396         * gdb.base/call-strs: ditto.
25397
25398 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
25399
25400         * gdb.base/miscexprs.exp: make sizeof long array test portable.
25401
25402         * gdb.base/ending-run.exp: After connecting to a remote target,
25403         but before running, the target will appear to be in a random
25404         location.  Specify both a file and a line for breakpoints.
25405         Also, the function that calls main may be called 'init'
25406         rather than 'start'.
25407
25408 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25409
25410         * gdb.base/help.exp: Update output for add-symbol-file command.
25411
25412 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
25413
25414         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25415         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25416
25417 2000-04-07  J.T. Conklin  <jtc@redback.com>
25418
25419         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25420
25421         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25422
25423 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
25424
25425         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25426         values that can be represented exactly.
25427         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25428         above change, and to not check against the directory part of the source
25429         file name.
25430         (step into print_long_arg_list): Likewise.
25431         (print print_small_structs from print_long_arg_list): Likewise.
25432         (print print_long_arg_list): Likewise.
25433
25434 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25435
25436         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25437
25438 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25439
25440         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25441
25442 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
25443
25444         * gdb.base/commands.exp (deprecated_command_test): Add test for
25445         deprecate with no arguments.
25446
25447 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
25448
25449         * gdb.base/break.exp: Add new test for setting breakpoints on
25450         optimized code so we can test breakpoints work even when function
25451         prologues may be optimized away
25452
25453 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25454
25455         From David Whedon <dwhedon@gordian.com>
25456         * gdb.base/commands.exp : Added command deprecator tests.
25457
25458 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
25459
25460        * gdb.base/help.exp: Added test for new apropos command.
25461
25462 2000-03-21  Kevin Buettner <kevinb@redhat.com>
25463
25464         * gdb.base/pointers.c (usevar): New function.
25465         (main): Make sure that global variables v_int_pointer2, rptr,
25466         and y are all referenced someplace in the program by calling
25467         usevar() on them.  [Some linkers delete symbols which are
25468         never referenced.  The space remains, but there's no way to
25469         get a (symbolic) handle on the variable from the debugger.]
25470
25471 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25472
25473         * gdb.base/printcmds.c: Add typedeffed arrays.
25474
25475         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25476         procedure to test arrays that are typedef'd.
25477
25478 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
25479
25480         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25481         the library directories.
25482
25483 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
25484
25485         * configure.in (configdirs): Add sub directory gdb.mi.
25486         * configure: Re-generate.
25487
25488         * gdb.mi: New directory.
25489
25490 2000-02-25  Scott Bambrough <scottb@netwinder.org>
25491
25492         * gdb.base/long_long.exp: Correct test suite failure when printing
25493         a long long value as a double on ARM platforms.
25494
25495 2000-02-16  Jim Blandy  <jimb@redhat.com>
25496
25497         * gdb.base/break.exp ("breakpoint line number"): Make sure the
25498         default source file is set properly before running this test.
25499
25500 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25501
25502         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25503         gdbtk/library directory, not in gdbtcl2.
25504
25505 2000-02-04  Jim Blandy  <jimb@redhat.com>
25506
25507         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25508         backslash from regexp pattern.
25509
25510         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25511         procedure.  Use it to run all the "continue to bp overloaded"
25512         tests.  Note that this changes the names of the tests slightly.
25513         If the breakpoint hit message includes a hex PC value, because
25514         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25515         from the real source code, still consider that a pass.
25516
25517         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25518         XFAIL here if the breakpoint message contains a hex address.  Note
25519         similar change on 1999-11-02.
25520
25521         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25522
25523         * gdb.base/ptype.exp: Establish a default source file before
25524         calling get_debug_format.
25525
25526 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25527
25528         * gdb.base/watchpoint.exp: Remove duplication of test messages.
25529
25530 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25531
25532         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25533         of successive stepi commands -- while in the prologue we should see
25534         the function entry bracket.
25535
25536 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25537
25538         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25539         reach __change_mode() when stepping through the end of main().
25540
25541 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25542
25543         * gdb.base/default.exp: Fix expected pattern.
25544         * gdb.base/help.exp: Same.
25545
25546 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25547
25548         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25549         Don't use xfail's because that affects only the following test.
25550
25551         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25552         solaris or linux.
25553
25554         * gdb.base/selftest.exp: Update to reflect changes to main.c.
25555
25556 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
25557
25558         * gdb.base/display.exp: Some yacc parsers like to say
25559         "A syntax error" rather than "A parse error".  Accept both.
25560
25561 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25562
25563         * gdb.base/default.exp: Remove OS dependent string from "target
25564         remote" test.
25565         * gdb.base/help.exp: Same for "help target remote" test.
25566
25567 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25568
25569         From Jim Kingdon <kingdon@redhat.com>:
25570
25571         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25572         prompt (cleanup rather than necessity, but still might keep output
25573         from spilling to next test).
25574
25575 2000-01-02  Fred Fish  <fnf@cygnus.com>
25576
25577         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25578         AIX, which defines them in <sys/types.h>.
25579
25580 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
25581
25582         * gdb.base/default.exp: Match arm* etc instead of arm in "info
25583         float" test.
25584
25585 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
25586
25587         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25588
25589         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25590         outermost frame disallowed".
25591
25592 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25593
25594         * gdb.base/setvar.exp: New tests for setting the value of a struct
25595         with a constant list.
25596
25597 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25598
25599         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25600         require the user to type a cast before setting the value of a struct.
25601
25602 1999-12-06  Jim Blandy  <jimb@cygnus.com>
25603
25604         * gdb.base/default.exp: Expect the new 'info float' command on
25605         all i386 platforms.
25606
25607         * gdb.threads/linux-dp.exp: Expand our ability to recognize
25608         LinuxThreads libraries that don't support debugging.
25609
25610 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25611
25612         * gdb.base/remote.c: Fill the buffer with truely random data.
25613         Change the buffer type to ``unsigned char'' to simplify size
25614         arithmetic.
25615
25616         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
25617         stub only handles 400-1 byte packets.  Verify that the download
25618         worked.
25619
25620 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25621
25622         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25623         tests, using UNRESOLVED for the untested cases.  Also, does not wait
25624         for a timeout if the prompt was received before a recognizable pattern.
25625
25626 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25627
25628         * lib/gdb.exp (gdb_expect_list): Fix spelling.
25629
25630 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25631
25632         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25633         watchpoints.
25634
25635 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
25636
25637         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25638
25639         * gdb.c++/local.exp: Be more flexible in recognizing local class
25640         name mangling.  Don't allow horribly truncated method names.
25641         * gdb.c++/derivation.exp: Expect protected inheritance.
25642         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25643         * gdb.c++/virtfunc.exp: Likewise.
25644         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
25645         when printing a nested enum.
25646
25647 1999-11-22  Jim Blandy  <jimb@cygnus.com>
25648
25649         * gdb.base/step-test.exp: Properly await GDB's response to setting
25650         a breakpoint on the call to large_struct_by_value.
25651
25652         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25653         just because we have debug info for the `start' function.
25654
25655 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
25656
25657         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25658         "Unknown signal" messages, which indicate (on LinuxThreads) that
25659         GDB doesn't know how to debug threads on this system.  This is
25660         better than hanging while philosopher 0 dumps chatter into gdb.log.
25661
25662 1999-11-18  Tom Tromey  <tromey@cygnus.com>
25663
25664         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25665
25666 1999-11-18  Fred Fish  <fnf@cygnus.com>
25667
25668         * gdb.base/coremaker2.c: Add sample program for generating
25669         cores that is more self contained than coremaker.c.  Eventually
25670         I'll add more code to this and tie it into the testsuite.
25671
25672 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
25673
25674         * gdb.base/dollar.exp: Remove, now in gdb.hp.
25675
25676 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
25677
25678         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25679         from $srcdir/lib/.
25680         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25681         and gdb.c++/.
25682
25683         * gdb.c++/derivation.exp: remove redundant get compiler info code.
25684
25685         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25686         'continue with watch' test point.
25687
25688 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
25689
25690         Merged from p2linux-990323-branch:
25691
25692         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25693
25694 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
25695
25696         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25697         {limit,fixed}''.  Test ``set download-write-size''.
25698
25699 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25700
25701         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25702         gdb_expect_list.
25703
25704 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25705
25706         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25707
25708 1999-11-03  Mark Salter  <msalter@cygnus.com>
25709
25710         * gdb.base/break.exp: Fix "stub continue" pattern.
25711
25712 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
25713
25714         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25715
25716 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
25717
25718         * gdb.base/display.exp ("finish"): Add timeout clause.
25719
25720         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25721         plain prompt clause, so this doesn't have to time out in order to
25722         fail.
25723
25724         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25725         breakpoint hit messages include an address.
25726
25727         * gdb.base/display.exp: Don't forget to escape parens in regular
25728         expressions.  Unix regexp notatation sucks.
25729
25730 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25731
25732         * gdb.base/annota1.exp: Test for annotate-signalled: change output
25733         order for 'signalled' message.
25734
25735 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
25736
25737         From Jimmy Guo  <guo@cup.hp.com>:
25738         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25739         * gdb.base/annota1.c: Add code for tests to work with.
25740
25741 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
25742
25743         * gdb.base/remote.exp: New test for remote downloading settings.
25744         * gdb.base/remote.c: New file with large .data.
25745
25746 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
25747
25748         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25749         for LinuxThreads support, merged from the Code Fusion branch.
25750
25751 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
25752
25753         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25754         containing exp_continue into a while within an expect.  Don't
25755         attempt a start more than three times.  Check return value from
25756         gdb_load.
25757
25758 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25759
25760         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25761         a pass case.
25762
25763 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
25764
25765         * gdb.base/break.c (main): Added a statement that we can step
25766         off of.
25767         * gdb.base/break.exp: Added tests for setting a breakpoint
25768         at an offset and stepping onto a breakpoint.
25769
25770 1999-10-01  Fred Fish  <fnf@cygnus.com>
25771
25772         * gdb.base/help.exp (help add-symbol-file): Update to match current
25773         gdb output.
25774
25775 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
25776
25777         * gdb.base/break.exp: Code locations are in hex, don't forget!
25778         (For HP-UX.)
25779
25780 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
25781
25782         * condbreak.exp: Use break.c as test program.
25783         * condbreak.c: Remove, redundant with break.c.
25784
25785 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
25786
25787         * config/monitor.exp (gdb_target_monitor): Disable X- and
25788         Z-packets if the target needs it.
25789
25790 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
25791
25792         * gdb.c++/overload.exp: Added tests for listing overloaded
25793         functions with function pointers in the arg, explicitly calling
25794         out the version you want.
25795
25796 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
25797
25798         * long_long.exp: Add variations of test cases that work for
25799         targets with 16-bit ints and 32-bit doubles.
25800
25801 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
25802
25803         * break.c (main): Compare a possibly-uninitialized argc with an
25804         unlikely value that fits in 16 bits.
25805
25806 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
25807
25808         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25809         0xfeeb, don't want negative numbers if ints are 16 bits.
25810
25811         * lib/gdb.exp (skip_cplus_tests): New proc.
25812         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25813         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25814         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25815         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25816         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25817         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25818         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25819         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25820
25821         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25822
25823 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
25824
25825         * gdb.base/corefile.exp (up): Allow a parameter to appear
25826         in the frame that we're going up to.
25827
25828         From Jim Blandy <jimb@cygnus.com>:
25829
25830         * gdb.base/default.exp (info float): Expect some output now.
25831
25832         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25833         returning floating-point values to fail on the x86.
25834         * gdb.base/callfwmall.exp (do_function_calls): Same.
25835
25836         * gdb.base/list.exp (test_listsize): Correct expectations for
25837         listing line 1 with listsize 2.  Also, listing a single line
25838         works now, as does listing three lines.  [Kevin's note: There
25839         were a number of other cases fixed too where the expectations
25840         differed...]
25841
25842 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
25843
25844         * gdb.base/selftest.exp: Add case for when version prints as
25845         constant string instead of char pointer.
25846
25847 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
25848
25849         * gdb.base/ending-run.exp: Add Solaris case for what happens when
25850         stepping out of main.
25851
25852         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25853         G++ used.
25854
25855         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25856         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25857
25858         * gdb.c++/ovldbreak.exp: Update match string in test that
25859         includes a warning of multiple breakpoints.
25860
25861 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
25862
25863         * gdb.base/display.exp: Improve precision of step-after-finish
25864         added yesterday.
25865
25866         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25867         test.
25868
25869         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25870         configs when using G++, not just hppa*.
25871
25872 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25873
25874         * gdb.base/async.c: New file.
25875         * gdb.base/async.exp: New file.
25876
25877 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
25878
25879         * gdb.base/break.exp: Tweak PA specific tests to properly handle
25880         PA64.
25881
25882 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
25883
25884         * gdb.base/display.exp: "finish" can leave us mid-line on many
25885         targets, deal with it.  Add a small constant to main, instead of
25886         1000 since main+1000 may not be a valid address in the target.
25887
25888         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25889         on hpux11.
25890
25891         * gdb.base/attach.exp: Handle another hpux11 error message variant
25892         when attaching to a process that does not exist.
25893
25894 1999-08-19  J.T. Conklin  <jtc@redback.com>
25895
25896         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25897         characters in 'continue to 1241' test.
25898
25899 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
25900
25901         * gdb.base/call-ar-st.exp: Add a shorter match case for the
25902         stop in print_long_arg_list, define and use a whitespace
25903         variable in print_small_structs test, add an XFAIL for Solaris.
25904         * gdb.base/dbx.exp: XFAIL func commands until somebody is
25905         interested enough to fix.
25906
25907 1999-08-13  Keith Seitz  <keiths@cygnus.com>
25908
25909         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25910         (dbx_gdb_load): Remove. Use gdb_load instead, since that
25911         proc knows about targets other than the natives.
25912         (test_assign): Use "gdb_run_cmd" to "run" the target.
25913         Check that we've actually hit the breakpoint at main.
25914         When we attempt to assign a value to a local variable, check
25915         that the variable is in the current scope, i.e., don't use
25916         a test with an empty result.
25917
25918 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25919
25920         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25921         command.
25922
25923 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
25924
25925         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25926         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25927         gdb.compat, gdb.threads-hp.
25928         gdb.hp/configure, gdb.hp/configure.in: New files.
25929         gdb.hp/Makefile.in: Recurse into new subdirs.
25930         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25931         gdb.hp/gdb.objdbg: New directory, tests for debugging info
25932         in object files.
25933         gdb.hp/tools: New directory, aux tools for HP-specific tests.
25934
25935 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
25936
25937         * gdb.base/display.exp: Help expect by putting a newline in the
25938         funky printf, remove a bogus p/a test.
25939
25940 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25941
25942         * gdb.base/display.exp: Make sure that when we say 'run', we are
25943         connected to the target. This is necessary when running not
25944         natively.
25945
25946 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
25947
25948         * gdb.base/step-test.exp: Removed some extraneous messages.
25949
25950         * gdb.base/long_long.exp: Don't run memory examination tests
25951         on little-endian targets (they will need a different set of
25952         results to match).
25953
25954 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
25955
25956         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25957         until somebody decides to fix GDB.
25958
25959         * gdb.base/long_long.c: Stop compiler complaint by specifying long
25960         constant as "ULL".
25961         * gdb.base/long_long.exp: Loosen x/c test, add partial result
25962         matches for a couple x/2 commands.
25963
25964 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
25965
25966         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25967         by merging in ref-types2 tests.
25968         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25969
25970         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25971         * gdb.c++/Makefile.in: Add standard actions.
25972         (EXECUTABLES): Rename from PROGS, update list.
25973         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25974         from gdb.hp.
25975         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25976         foo and bar locals.
25977         * gdb.c++/anon-union.exp: Fix tests to match.
25978         * gdb.c++/classes.exp: Run if HP compiler used, add extra
25979         expect matches to handle output variations.
25980         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25981         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25982         output, add HP alternatives for new and delete prints.
25983         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25984         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25985         * gdb.c++/demangle.exp: Use $style when reporting failure.
25986         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25987         * gdb.c++/inherit.exp: Run if HP compiler used, add some
25988         match alternatives.
25989         * gdb.c++/local.exp: Add match alternatives or xfails for HP
25990         compilers.
25991         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25992         * gdb.c++/method.exp: Add match alternatives.
25993         * gdb.c++/misc.cc: Add bool types.
25994         * gdb.c++/misc.exp: Add tests for bool types.
25995         * gdb.c++/overload.exp: Add xfails.
25996         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25997         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25998         add some more template parameter tests (only for HP currently).
25999         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26000         * gdb.c++/virtfunc.cc: Add return type and value for main.
26001         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26002         match alternatives.
26003
26004 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26005
26006         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26007
26008 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
26009
26010         * gdb.base/signals.exp: Don't expect getting a backtrace from
26011         within a signal handler to fail on Linux.
26012
26013 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
26014
26015         From Jimmy Guo <guo@cup.hp.com> and others at HP:
26016         * lib/gdb.exp: Remove some gratuitious semicolons.
26017         (delete_breakpoints): Increase timeout.
26018         (gdb_expect): Add -notransfer option.
26019         (gdb_test): Use -notransfer option.
26020         (get_compiler_info): Add f77 case.
26021         (get_compiler): New proc, split out from gdb_preprocess, add f77
26022         case.
26023         (gdb_preprocess): Call get_compiler.
26024
26025         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26026         * gdb.base/attach.exp, gdb.base/display.exp,
26027         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26028         gdb.base/long_long.exp, gdb.base/printcmds.exp,
26029         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26030         third arg to gdb_test.
26031         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26032         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26033         HP-UX xfails, add others.
26034         * gdb.base/completion.exp: Reflect name change of self-test.
26035         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26036         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26037         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26038         HP failure number.
26039         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26040         useless HP-UX 10.30 references.
26041         * gdb.base/maint.exp: Loosen matches.
26042         * gdb.base/pointers.c (main): Declare more_code.
26043         * gdb.base/pointers.exp: Match on output of a `next'.
26044         * gdb.base/structs.c: Add prototypes.
26045         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26046         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26047
26048 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26049
26050         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26051         command.
26052
26053 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26054
26055         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26056         Fix run to main failures. Watchpoint can be hardware watchpoint.
26057
26058         * gdb.base/annota1.exp: Clean up some more, in case printf has
26059         debug info.  Deal with lack of signal hanlder info in stack.
26060
26061         From Jim Kingdon  <kingdon@redhat.com>:
26062         * gdb.base/annota1.exp: If printf has debug info, deal with it.
26063
26064 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
26065
26066         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26067         gdb.base/foll-vfork.exp: Don't run for crosses.
26068
26069 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
26070
26071         * gdb.base/configure.in: Check for gdbvars.exp instead of
26072         a1-selftest.exp.
26073         * gdb.base/configure: Re-generate.
26074
26075 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
26076
26077         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26078         in trying to run first and name is too long.
26079
26080         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26081         pointers2.c and pointers2.exp, respectively.
26082         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26083         doschk happier.
26084
26085 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
26086
26087         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26088         callfuncs2.c and callfuncs2.exp.
26089
26090         * gdb.base/list.exp: Remove mistaken xfails.
26091         * gdb.base/list0.h: Add optional prototypes.
26092
26093 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
26094
26095         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26096         calling malloc.
26097         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26098         * ptype.exp: Move test for get_debug_format to before its first
26099         use.
26100
26101 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26102
26103         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26104         * gdb.base/annota2.cc, annota2.exp: Move from here.
26105         * gdb.c++/annota2.cc, annota2.exp: To here.
26106         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26107
26108 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
26109
26110         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26111         a consistent format.
26112
26113 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
26114
26115         From Jimmy Guo <guo@cup.hp.com> and others at HP:
26116         * lib/gdb.exp (get_compiler_info): Add detection for assorted
26117         HP compilers, also set the globals $true and $false.
26118
26119         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26120         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26121         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26122         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26123         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26124         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26125         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26126         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26127         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26128         whatis.c} Add C++ compatible function definitions and return
26129         types, add includes for library functions.
26130         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26131         * gdb.base/step-test.c (myglob): Rename from glob.
26132         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26133         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26134         files, move here from gdb.hp.
26135         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26136         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26137         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26138         Adjust line numbers in regexps.
26139
26140         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26141         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26142         instead of 0/1.
26143
26144         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26145         foll-vfork.exp: New files, move here from gdb.hp.
26146         * gdb.base/page.exp: New file, test of pagination command.
26147
26148         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26149         recursion test.
26150         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26151
26152         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26153         gdb.base/solib.exp: Fix compiler invocation process.
26154
26155         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26156         HP-UX 11, turn off overload resolution explicitly.
26157         * gdb.base/commands.exp: Set argument list explicitly, add
26158         watchpoint test.
26159         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26160         them work.
26161         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26162         expressions properly.
26163         * gdb.base/corefile.exp: Loosen the match slightly.
26164         * gdb.base/default.exp: Allow "Error accessing memory" message
26165         also.
26166         * gdb.base/display.exp: Skip over x/0 j if PA64.
26167         * gdb.base/funcargs.exp: Add xfails for HP-UX.
26168         * gdb.base/interrupt.exp: Ditto.
26169         * gdb.base/langs.exp: Add symbolic matches governed by compiler
26170         in use.
26171         * gdb.base/list.exp: Add xfails for HP-UX.
26172         * gdb.base/long_long.exp: Refine some of the numeric matches.
26173         * gdb.base/mips_pro.exp: Xfail on HP-UX.
26174         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26175         * gdb.base/nodebug.exp: Succeed on more varieties of output.
26176         * gdb.base/opaque.exp: Remove some HP-UX xfails.
26177         * gdb.base/ptype.exp: Succeed on more varieties of output.
26178         * gdb.base/scope.exp: Add xfails for HP-UX.
26179         * gdb.base/sect-cmd.exp: Add more cases.
26180         * gdb.base/setvar.exp: Add xfails for HP-UX.
26181         * gdb.base/shlib-call.exp: Loosen some matches slightly.
26182         * gdb.base/signals.exp: Match on void symbolically.
26183         * gdb.base/step-test.exp: Add case for PA64.
26184         * gdb.base/term.exp: Add exit and restart.
26185         * gdb.base/twice.exp: Clean up after self.
26186         * gdb.base/varargs.exp: Disable overload resolution explicitly.
26187         * gdb.base/whatis.exp: Allow more ways to pass tests.
26188
26189         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26190         no longer useful.
26191
26192 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
26193
26194         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
26195         list of patterns.
26196         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26197         print_double_array(double_array)", "continuing to breakpoint
26198         1018", "print print_double_array(array_d)" and "continuing to
26199         1034" tests.
26200
26201 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
26202
26203         * Makefile.in: Add empty html and install-html targets.
26204
26205 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
26206
26207         * config/mt-*: Remove, these haven't been used since 1996.
26208
26209 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
26210
26211         * gdb.base/call-strs.c, gdb.base/ending-run.c,
26212         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26213         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26214
26215 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
26216
26217         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26218         simpler match case for the ptype of the big class.
26219
26220 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
26221
26222         * gdb.exp: Fix test for gdb_prompt existence.
26223
26224 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
26225
26226         * gdb.exp (gdb_test): Add fail after calls to perror.
26227
26228 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
26229
26230         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26231
26232 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
26233
26234         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26235
26236 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
26237
26238         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
26239         malloc() is linked in.
26240
26241 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
26242
26243         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26244         step at end.
26245
26246         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26247
26248 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
26249
26250         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
26251
26252 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
26253
26254         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26255         * gdb.base/mips_pro.exp: Likewise.
26256
26257 1999-06-02  Keith Seitz  <keiths@cygnus.com>
26258
26259         * gdb.c++/templates.cc: Change all "new" operators to throw
26260         an exception.
26261         * gdb.c++/cplusfuncs.cc: Likewise.
26262
26263         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26264
26265 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
26266
26267         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26268         * gdb.base/ending-run.exp: When stepping out of main, accept a
26269         step into an arbitrary assembler file.
26270
26271 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26272
26273         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26274         "breakpoint-invalid" to be printed.
26275         * gdb.base/annota2.exp: Revise line number for main
26276         breakpoint. Allow any number of "frames-invalid" and
26277         "breakpoint-invalid" to be printed.
26278         * gdb.base/annota2.cc: Initialize a.x to 0.
26279
26280 1999-05-17  Keith Seitz  <keiths@cygnus.com>
26281
26282         * gdb.base/call-ar-st.exp: Skip
26283         "print print_double_array (double_array)" when "skip_float_tests" set.
26284         Ditto for "print print_double_array(array_d)",
26285         "print print_small_structs", "print print_ten_doubles", and
26286         "step into print_long_arg_list".
26287         Don't assume we can step into "print_long_arg_list": we could step
26288         into memcpy.
26289         * gdb.base/call-rt-st.exp: Don't run float-related tests when
26290         "skip_float_tests" is set: "print print_one_double(*d1)"
26291         and "print print_two_floats(*f3)".
26292         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26293         "skip_float_tests" is set.
26294         * gdb.base/varargs.exp: Skip
26295         "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26296         "skip_float_tests" set.
26297
26298 1999-05-06  Keith Seitz  <keiths@cygnus.com>
26299
26300         * gdb.base/annota2.cc: Include stdio.h.
26301
26302 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
26303
26304         * gdb.base/crossload.exp: Remove, this has been disabled ever
26305         since BFD stopped including all targets, and cross-GDB gets
26306         plenty of testing anyway.
26307         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26308         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26309         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26310         * gdb.base/README: Remove, was doc for this.
26311         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26312         needed.
26313
26314 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26315
26316         * gdb.base/call-ar-st.exp: Fix one regular expression in test
26317         output.
26318
26319         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26320         * gdb.base/annota2.exp: New file. More annotation tests.
26321         * gdb.base/annota1.c: New file. Source file for annota1.exp.
26322         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26323
26324 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
26325
26326         * config/cfdbug.exp: New file.
26327
26328 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
26329
26330         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26331         Marcus Daniel's and Dale Hawkins's demangler crashes.
26332
26333         * gdb.c++/demangle.exp (test_gnu_style_demangling,
26334         test_lucid_style_demangling, test_arm_style_demangling,
26335         test_hp_style_demangling): Try Tom Tromey's core-dumping
26336         identifier under each demangling style.
26337
26338 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
26339
26340         * gdb.c++/demangle.exp: Include the current demangling style
26341         in all test names.
26342         (current_demangling_style): New global variable.
26343         (set_demangling_style, test_demangling_core, test_demangling,
26344         test_demangling_exact): New functions.
26345         (test_gnu_style_demangling, test_lucid_style_demangling,
26346         test_arm_style_demangling, test_hp_style_demangling): Use those,
26347         instead of calling gdb_test and gdb_test_exact directly.
26348         (catch_demangling_errors): New function, which reports errors
26349         signalled by the demangling test functions in an orderly way.
26350         (do_tests): Use catch_demangling_errors.
26351
26352 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
26353
26354         * gdb.base/signals.exp (test_handle_all_print): Use () for
26355         grouping in expressions, not {}.
26356
26357         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
26358         initialized yet.
26359
26360 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
26361
26362         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26363         are listed.
26364
26365 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
26366
26367         * gdb.stabs/weird.exp: Test for CC being defined before
26368         looking at its value.
26369
26370 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
26371
26372         * gdb.base/call-ar-st.exp: Remove stray '#'.
26373         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26374         "short int" and "long int".
26375         * gdb.c++/overload.cc: Cast the string added in the previous
26376         change, to mollify finicky HP compiler.
26377         * gdb.hp/reg-test.exp (testfile): Fix file name.
26378         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26379
26380         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26381         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26382         alternate form of enum ptype.
26383
26384 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
26385
26386         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26387         * gdb.hp/*.exp: Change all to run compiler probe only after
26388         passing skip_hp_tests, so as not to waste time on guaranteed
26389         failure.
26390
26391         * gdb.c++/overload.cc: Pass string instead of char addr, always
26392         init ccpfoo.
26393         * gdb.c++/templates.cc: Fix syntax error.
26394
26395 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26396
26397         * gdb.base/commands.exp: Add test for correct position of '>'
26398         when issuing the 'commands' command after a 'while' or 'if'
26399         command.
26400
26401 1999-03-18  James Ingham  <jingham@cygnus.com>
26402
26403         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26404
26405         * gdb.c++/method.exp: It was testing an uninitialized int on the
26406         stack and assuming it was positive.
26407
26408         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26409
26410         * gdb.base/step-test.exp: Catch a case where finish is broken and
26411         keep it from killing the rest of the tests.
26412         Use gdb_continue_to_end.
26413
26414         * gdb.base/sigall.exp: use gdb_continue_to_end.
26415
26416         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26417
26418         * gdb.base/display.exp: use runto_main, not run.
26419
26420         * gdb.base/default.exp: Check for the current error message in the
26421         r abbreviation test.
26422         Add strongarm to the targets that know info float.
26423
26424         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26425         run which doesn't work with monitors.
26426
26427         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26428         1034 test.
26429
26430         * gdb.base/break.exp: use the gdb_continue_to_end proc.
26431
26432         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26433         end of a program.  Traps the case (in Cygmon) when the program
26434         never really exits.  Same as Mark's continue_to_exit, but I had
26435         put it in a lot more places, so I used my name.  Sorry Mark...
26436
26437         * config/monitor.exp (gdb_target_monitor): added another
26438         target_info parameter: remotebinarydownload.  This will set the
26439         remotebinarydownload flag if this is causing some boards trouble.
26440
26441 1999-03-18  Mark Salter  <msalter@cygnus.com>
26442
26443         * lib/gdb.exp (continue_to_exit): New function.
26444
26445         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26446         * gdb.base/ending-run.exp: Ditto.
26447         * gdb.base/step-test.exp: Ditto.
26448
26449 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
26450
26451         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26452         (suggested by Art Haas <ahaas@neosoft.com>).
26453
26454 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
26455
26456         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26457
26458 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
26459
26460         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26461         descriptions of types (short unsigned int vs unsigned short, etc).
26462
26463 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
26464
26465         * gdb.base/call-strs.exp: Don't assume that `step' will step over
26466         a call to strlen; sometimes we do have sources.
26467
26468 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
26469
26470         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26471         character, so GDB won't print garbage after its end.
26472
26473         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26474         breakpoint there instead.  Sometimes GCC emits memcpy to handle
26475         the large structures being passed by value, so we step into that
26476         instead of sum_array_print, which obscures what we're really testing.
26477         * gdb.base/step-test.exp: However, we do want a test that notices
26478         the bizarre steps into memcpy, so do that here.  Add check for
26479         stepping into function calls that pass large structures by value.
26480         ("Is that a noun clause, or are you just happy to see me?")
26481         Remove all references to specific line numbers.
26482         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26483         New type and function.
26484         (main): Call large_struct_by_value, passing it a large struct by value.
26485         * lib/gdb.exp (gdb_get_line_number): New function.
26486
26487         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26488         more portable.
26489
26490 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
26491
26492         * lib/gdb.exp: Doc fixes.
26493
26494 1999-03-05  Nick Clifton  <nickc@cygnus.com>
26495
26496         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26497
26498 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
26499
26500         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26501         commands.  They're not germane to this test, and they don't work
26502         that way on remote targets.
26503
26504 1999-03-01  James Ingham  <jingham@cygnus.com>
26505
26506         * Changelog entries merged over from gdb development branch.
26507
26508        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
26509
26510                * lib/gdb.exp (gdbtk_analyze_results): Generic function
26511                for outputting results of test run.
26512
26513         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
26514
26515                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26516
26517 1999-02-25  Felix Lee  <flee@cygnus.com>
26518
26519         * lib/gdb.exp (debug_format): initialize
26520
26521 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
26522
26523         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26524         * gdb.base/call-rt-st.c: Ditto.
26525
26526 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
26527
26528         * gdb.threads/pthreads.exp (horiz): New variable.
26529         (test_startup): Fix regexps that capture thread numbers.
26530
26531 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
26532
26533         * gdb.base/smoke.exp: Disambiguate two test case names (both
26534         called ``print'').
26535
26536 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
26537
26538         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26539         compilation.
26540
26541 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
26542
26543         * gdb.base/miscexprs.exp: Change patterns to match GDB's
26544         actual output formatting.
26545         * gdb.base/smoke.exp: GDB removes leading 0's.
26546         * gdb.base/volatile.exp: Don't check type of remuneration;
26547         that variable is no longer defined in constvars.c.
26548         * gdb.base/step-test.c (main): Exit with explicit exit code.
26549         * gdb.base/step-test.exp: Remove two nexti checks--they are
26550         not portable.
26551
26552 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
26553
26554         * gdb.base/help.exp ("help delete display"): Fix test to match
26555         gdb's output.
26556
26557         * gdb.base/long_long.c (known_types): Initialize values to zero.
26558         * gdb.base/long_long.exp: Step one more line
26559         so 'dec' is initialized in "get to known place".  GDB removes
26560         leading zeros.  Explicitly ask for hex formatting.  Use
26561         unique test case names.
26562
26563 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26564
26565         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26566
26567         * gdb.c++/method.exp: Add missing close brace.
26568
26569 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
26570
26571         * gdb.base/maint.exp: Use 'set height 0' to disable page
26572         prompting, not 'set height 400'.
26573
26574         Fix a bunch of timeouts.
26575         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26576         four separate tests, so expect doesn't take forever to match a ton
26577         of text against a regexp with lots of .* forms.
26578         ("maint print psymbols", "maint print symbols"): Make some of
26579         these greps more selective, so that expect doesn't try to wade
26580         through huge piles of output and time out.
26581
26582         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26583
26584         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26585         tests: one which doesn't expect shlib events to be reported, and
26586         another which does, but is XFAIL for all platforms other than
26587         HP/UX.
26588
26589         * gdb.base/break.exp: Teach the test suite that the `catch
26590         fork', `catch vfork', and `catch exec' commands produce error
26591         messages on platforms that don't provide these features.
26592
26593 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
26594
26595         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26596         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26597         (shortening names from solib_threshold.exp etc), won't run on
26598         anything but HP-UX for the foreseeable future.
26599         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26600         reflect move.
26601
26602 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
26603
26604         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26605         gdb.trace/Makefile.in (clean): Remove all test executables.
26606
26607 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
26608
26609         * gdb.base/shlib-call.exp: add test cases to verify that gdb
26610         successfully re-sets breakpoints in shared libraries.
26611         * gdb.base/shmain.c (main): return 0, don't fall off the end.
26612
26613 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
26614
26615         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26616         and compiled w/o GCC.
26617
26618         * gdb.hp/watch-cmd.exp: ditto.
26619
26620         * gdb.hp/watch-hp.exp: ditto.
26621
26622         * gdb.hp/xdb1.exp: ditto.
26623
26624         * gdb.hp/xdb2.exp: ditto.
26625
26626         * gdb.hp/dbx.exp: ditto.
26627
26628 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
26629
26630         * constvars.c: Remove C++-isms.
26631         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26632         with GCC.
26633
26634 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
26635
26636         The following changes are part of the HP merge.
26637
26638         * gdb.base/break.exp: new tests to verify that catchpoints for
26639         fork, vfork, and exec don't trigger inappropriately.
26640
26641         * gdb.base/opaque.exp: compile one file at a time, then link.
26642
26643         * gdb.base/signals.exp: be more restrictive about which hppa
26644         systems receive a setup_xfail.  new tests.
26645
26646         * gdb.base/solib_threshold.build: new file.
26647         * gdb.base/solib_threshold.exp: new file.
26648         * gdb.base/solib_threshold.link_opts: new file.
26649         * gdb.base/solib_threshold.mk: new file.
26650         * gdb.base/gen_solib_threshold.c: new file.
26651
26652         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26653         tests.  New tests for enums inside classes.
26654
26655         * gdb.c++/compiler.cc: indicate support of template debugging.
26656
26657         * gdb.c++/demangle.exp: run hp style demangling tests.
26658
26659         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26660         tests.
26661
26662         * gdb.c++/misc.cc: changes to support new tests.
26663
26664         * gdb.c++/templates.cc: changes to support HP's compiler; changes
26665         to support new tests.
26666
26667         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26668         gcc, then skip these tests.
26669
26670 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
26671
26672         The following files are part of the HP merge; some had longer
26673         names at HP, but have been renamed to be no more than 14
26674         characters in length.
26675
26676         * gdb.hp/ambiguous.cc: new file.
26677         * gdb.hp/ambiguous.exp: new file.
26678         * gdb.hp/attach.exp: new file.
26679         * gdb.hp/attach2.exp: new file.
26680         * gdb.hp/classes-hp.exp: new file.
26681         * gdb.hp/ctti.exp: new file.
26682         * gdb.hp/ctti-add.cc: new file.
26683         * gdb.hp/ctti-add1.cc: new file.
26684         * gdb.hp/ctti-add2.cc: new file.
26685         * gdb.hp/ctti-add3.cc: new file.
26686         * gdb.hp/dbx.exp: new file.
26687         * gdb.hp/exception.cc: new file.
26688         * gdb.hp/exception.exp: new file.
26689         * gdb.hp/foll-exec.c: new file.
26690         * gdb.hp/foll-exec.exp: new file.
26691         * gdb.hp/foll-fork.c: new file.
26692         * gdb.hp/foll-fork.exp: new file.
26693         * gdb.hp/foll-vfork.c: new file.
26694         * gdb.hp/foll-vfork.exp: new file.
26695         * gdb.hp/inherit-hp.exp: new file.
26696         * gdb.hp/more-steps.exp: new file.
26697         * gdb.hp/namespace.cc: new file.
26698         * gdb.hp/namespace.exp: new file.
26699         * gdb.hp/optimize.exp: new file.
26700         * gdb.hp/pxdb.c: new file.
26701         * gdb.hp/pxdb.exp: new file.
26702         * gdb.hp/quicksort.exp: new file.
26703         * gdb.hp/reg-test.exp: new file.
26704         * gdb.hp/reg-test.s: new file.
26705         * gdb.hp/sized-enum.c: new file.
26706         * gdb.hp/sized-enum.exp: new file.
26707         * gdb.hp/start-stop.exp: new file.
26708         * gdb.hp/templ-hp.cc: new file.
26709         * gdb.hp/templ-hp.exp: new file.
26710         * gdb.hp/thr-lib.c: new file.
26711         * gdb.hp/thr-lib.exp: new file.
26712         * gdb.hp/thr-lib.h: new file.
26713         * gdb.hp/thr-liblib.c: new file.
26714         * gdb.hp/virtfun-hp.c: new file.
26715         * gdb.hp/virtfun-hp.exp: new file.
26716         * gdb.hp/watch-cmd.exp: new file.
26717         * gdb.hp/watch-hp.exp: new file.
26718         * gdb.hp/xdb1.exp: new file.
26719         * gdb.hp/xdb2.exp: new file.
26720         * gdb.hp/xdb3.exp: new file.
26721
26722 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
26723
26724         The following files are part of the HP merge; some had longer
26725         names at HP, but have been renamed to be no more than 14
26726         characters in length.
26727
26728         * gdb.base/ss.h: new file.
26729         * gdb.base/call-ar-st.c: new file.
26730         * gdb.base/call-ar-st.exp: new file.
26731         * gdb.base/call-rt-st.c: new file.
26732         * gdb.base/call-rt-st-exp: new file.
26733         * gdb.base/call-strs.exp: new file.
26734         * gdb.base/ena-dis-br.exp: new file.
26735         * gdb.base/environ.exp: new file.
26736         * gdb.base/long_long.exp: new file.
26737         * gdb.base/sect-cmd.exp: new file.
26738         * gdb.base/shlib-cl2.exp: new file.
26739         * gdb.base/smoke.exp: new file.
26740         * gdb.base/so-impl-ld.c: new file.
26741         * gdb.base/so-impl-ld.exp: new file.
26742         * gdb.base/so-indr-cl.c: new file.
26743         * gdb.base/so-indr-cl.exp: new file.
26744         * gdb.base/varargs.exp: new file.
26745         * gdb.base/volatile.exp: new file.
26746         * gdb.base/whatis-exp.exp: new file.
26747         * gdb.base/display.exp: new file.
26748         * gdb.c++/derivation.exp: new file.
26749         * gdb.c++/local.exp: new file.
26750         * gdb.c++/member-ptr.exp: new file.
26751         * gdb.c++/overload.exp: new file.
26752         * gdb.c++/ovldbreak.exp: new file.
26753         * gdb.c++/ref-types.exp: new file.
26754         * gdb.c++/ref-types2.exp: new file.
26755         * gdb.c++/userdef.exp: new file.
26756
26757 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
26758
26759         * gdb.base/default.exp: Reflect wording change in remote.c.
26760
26761 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
26762
26763         * gdb.base/help.exp: Update to reflect current text.
26764
26765 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
26766
26767         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26768         they're stack variables and contain garbage.
26769         * gdb.c++/anon-union.exp: new file.
26770
26771         The following changes were made by David Taylor
26772         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26773         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26774         in changes by HP.
26775
26776         * gdb.base/bitops.exp: new file.
26777         * gdb.base/default.exp: change expected messages for catch and
26778         info catch tests to reflect HP merge changes.
26779         * gdb.base/enable-disable-break.exp
26780         * gdb.base/ending-run.c: new file.
26781         * gdb.base/long_long.c: new file.
26782         * gdb.base/maint.exp: new file.
26783         * gdb.base/pointers2.exp: new file.
26784         * gdb.base/shlib-call2.exp: new file.
26785         * gdb.base/solib.exp: new file.
26786         * gdb.base/step-test.c: new file.
26787         * gdb.c++/anon-union.cc: new file.
26788         * gdb.c++/local.cc: new file.
26789         * gdb.c++/member-pointer.cc: new file.
26790         * gdb.c++/method.cc: new file.
26791         * gdb.c++/ref-types.cc: new file.
26792         * gdb.c++/ref-types2.cc: new file.
26793         * gdb.c++/userdef.cc: new file.
26794
26795         * gdb.base/scope.exp: compile one file at a time, then link.
26796         * gdb.base/langs.exp: ditto.
26797         * gdb.base/list.exp: ditto.
26798
26799 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
26800
26801         The following changes were made by David Taylor
26802         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26803         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26804         in changes by HP.
26805
26806         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26807         skip tests.  When compiling pass c++ flag to gdb_compile.
26808         * gdb.c++/
26809
26810         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26811         test for on hppa*-*-hpux*; use args to see if c++ was specified.
26812         (skip_hp_tests): new function.
26813         (gdb_preprocess): new function.
26814
26815         * configure.in (hpdir): decide whether to configure gdb.hp.
26816         * configure: regenerated.
26817
26818         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26819         to delete on clean.
26820         (EXECUTABLES): update to reflect new additions.
26821         * gdb.base/commands.exp: update message expected.
26822         * gdb.base/default.exp: add copyright notice.
26823         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26824         * gdb.base/help.exp: update messages to reflect current text.
26825         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26826         targets for recurse tests.
26827         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26828         skip this file.
26829
26830         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26831         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26832         compilation.
26833         * gdb.c++/misc.exp: ditto.
26834         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26835         run the tests.  tell gdb_compile that it's a c++ compilation.
26836
26837         * gdb.threads/pthreads.exp: fix typo in message.
26838
26839         * gdb.base/all-bin.exp: new file.
26840         * gdb.base/arithmet.exp: new file.
26841         * gdb.base/assign.exp: new file.
26842         * gdb.base/completion.exp: new file.
26843         * gdb.base/cond-expr.exp: new file.
26844         * gdb.base/condbreak.exp: new file.
26845         * gdb.base/define.exp: new file.
26846         * gdb.base/dollar.exp: new file.
26847         * gdb.base/environment.exp: new file.
26848         * gdb.base/eval-skip.exp: new file.
26849         * gdb.base/jump.exp: new file.
26850         * gdb.base/logical.exp: new file.
26851         * gdb.base/pointers.exp: new file.
26852         * gdb.base/relational.exp: new file.
26853         * gdb.base/section_command.exp: new file.
26854         * gdb.base/whatis-expr.exp: new file.
26855
26856         * gdb.base/all-types.c: new file.
26857         * gdb.base/call-array-struct.c: new file.
26858         * gdb.base/call-return-struct.c: new file.
26859         * gdb.base/call-strings.c: new file.
26860         * gdb.base/callfuncs2.c: new file.
26861         * gdb.base/condbreak.c: new file.
26862         * gdb.base/constvars.c: new file.
26863         * gdb.base/display.c: new file.
26864         * gdb.base/int-type.c: new file.
26865         * gdb.base/jump.c: new file.
26866         * gdb.base/miscexprs.c: new file.
26867         * gdb.base/pointers.c: new file.
26868         * gdb.base/pointers2.c: new file.
26869         * gdb.base/shmain.c: new file.
26870         * gdb.base/shr1.c: new file.
26871         * gdb.base/shr2.c: new file.
26872         * gdb.base/solib.c: new file.
26873         * gdb.base/solib1.c: new file.
26874         * gdb.base/solib2.c: new file.
26875         * gdb.base/varargs.c: new file.
26876         * gdb.c++/derivation.cc: new file.
26877         * gdb.c++/overload.cc: new file.
26878         * gdb.c++/ovldbreak.cc: new file.
26879         * gdb.hp/attach.c: new file.
26880         * gdb.hp/attach2.c: new file.
26881         * gdb.hp/average.c: new file.
26882         * gdb.hp/compiler.c: new file.
26883         * gdb.hp/compiler.cc: new file.
26884         * gdb.hp/execd-program.c: new file.
26885         * gdb.hp/follow-exec.c: new file.
26886         * gdb.hp/follow-fork.c: new file.
26887         * gdb.hp/follow-vfork-and-exec.c: new file.
26888         * gdb.hp/misc-hp.cc: new file.
26889         * gdb.hp/more-steps.c: new file.
26890         * gdb.hp/optimize.c: new file.
26891         * gdb.hp/quicksort.c: new file.
26892         * gdb.hp/run-hp.c: new file.
26893         * gdb.hp/start-stop.c: new file.
26894         * gdb.hp/sum.c: new file.
26895         * gdb.hp/templates-hp.cc: new file.
26896         * gdb.hp/thread-local-in-lib.c: new file.
26897         * gdb.hp/thread-local-in-lib.h: new file.
26898         * gdb.hp/thread-local-in-lib.lib.c: new file.
26899         * gdb.hp/vforked-program.c: new file.
26900         * gdb.hp/virtfunc-hp.cc: new file.
26901         * gdb.hp/watchpoint-hp.c: new file.
26902         * gdb.hp/xdb.c: new file.
26903         * gdb.hp/xdb0.c: new file.
26904         * gdb.hp/xdb0.h: new file.
26905         * gdb.hp/xdb1.c: new file.
26906
26907 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
26908
26909         The following change was made by Edith Epstein
26910         <eepstein@cygnus.com> as part of a project to merge in changes
26911         originally made by HP; HP did not create ChangeLog entries.
26912
26913         * gdb.c++/demangle.exp: changed the expected output for some
26914         ARM-style mangling -- removed second reference to datatype.
26915         For example, maint demangle __dt__11T1__pt__2_cFv
26916                      T1<char>::~T1<char>(void)
26917         becomes,
26918                      maint demangle __dt__11T1__pt__2_cFv
26919                      T1<char>::~T1(void)
26920
26921         (test_hp_style_demangling): new hp specific demangling test cases.
26922
26923 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
26924
26925         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26926         * gdb.trace/backtrace.exp: Likewise.
26927         * gdb.trace/circ.exp: Likewise.
26928         * gdb.trace/collection.exp: Likewise.
26929         * gdb.trace/deltrace.exp: Likewise.
26930         * gdb.trace/infotrace.exp: Likewise.
26931         * gdb.trace/limits.exp: Likewise.
26932         * gdb.trace/packetlen.exp: Likewise.
26933         * gdb.trace/passc-dyn.exp: Likewise.
26934         * gdb.trace/passcount.exp: Likewise.
26935         * gdb.trace/report.exp: Likewise.
26936         * gdb.trace/save-trace.exp: Likewise.
26937         * gdb.trace/tfind.exp: Likewise.
26938         * gdb.trace/tracecmd.exp: Likewise.
26939         * gdb.trace/while-dyn.exp: Likewise.
26940         * gdb.trace/while-stepping.exp: Likewise.
26941
26942 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
26943
26944         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26945
26946 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
26947
26948         From Brendan Kehoe:
26949         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26950         int return types.
26951
26952 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
26953
26954         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26955         remote dos host testing right.
26956
26957 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
26958
26959         * gdb.base/corefile.exp: remove some xfails.
26960
26961 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26962
26963         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26964         have different timestamps.
26965
26966 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26967
26968         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26969         gdb.base/default.exp: Replace "exec" with "executable".
26970
26971 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26972
26973         * gdb.base/default.exp: Change else if to elseif from previous
26974         delta.
26975
26976 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
26977
26978         * gdb.base/default.exp: Add brace missing from previous delta.
26979
26980 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
26981
26982         * gdb.base/default.exp: Support test for info float for all
26983         varieties of arm toolchain.
26984
26985 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
26986
26987         * gdb.trace/*.exp: remove "remote_download" command.
26988
26989 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
26990
26991         * gdb.trace/*.exp: remove -gdwarf from compile.
26992
26993 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
26994
26995         * gdb.trace/configure.in(AC_INIT): typo
26996         * gdb.trace/configure: regenerated
26997
26998 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
26999
27000         * config/m68k-emc.exp: New file.
27001         * lib/<emc-support.exp trace-support.exp}: New files.
27002         * configure.in: add new test directory gdb.trace.
27003         * gdb.trace/{configure configure.in Makefile.in}: New files.
27004         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27005         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27006         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27007         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27008         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27009         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27010         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27011
27012 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
27013
27014         * gdb.c++/classes.exp: Change all regular expressions to match
27015         arbitrary combinations of newline/carriage-return, so that they
27016         will work equally well on Unix and Windows.
27017         * gdb.c++/inherit.exp: ditto.
27018         * gdb.c++/virtfunc.exp: ditto.
27019
27020 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
27021
27022         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27023
27024 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
27025
27026         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27027         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
27028         to use a0-a3/d0-d3 as needed.
27029
27030 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
27031
27032         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27033         * gdb.disasm/am33.exp: Corresponding changes.
27034
27035 1998-07-11  Felix Lee  <flee@cygnus.com>
27036
27037         * gdb.base/callfuncs.exp: add cmp10 test.
27038         * gdb.base/callfuncs.c (cmp10): new function.
27039
27040 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
27041
27042         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27043         into two parts to get around a synchronization problem in expect.
27044
27045 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
27046
27047         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27048
27049         * configure.in: Add options for gdbtk testsuite.
27050
27051         * configure: Regenerate.
27052
27053         * gdb.gdbtk: New directory to hold gdbtk tests.
27054
27055 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
27056
27057         * gdb.fortran/types.exp:  Escape brackets in expect patterns
27058         for test_float_literal_types_accepted tests.
27059         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
27060         before run test.
27061
27062 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
27063
27064         * am33.exp: Just compile, do not link the testcase.
27065         * am33.s: Add ".am33" pseudoop to force am33 mode.
27066
27067 1998-06-25  Felix Lee  <flee@cygnus.com>
27068
27069         * gdb.base/setshow.exp: make sure $pc is sane.
27070
27071         * gdb.stabs/weird.exp: split expect patterns properly.
27072
27073 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
27074
27075         * gdb.disasm/am33.s: New disassembler testfile for the am33.
27076         * gdb.disasm/am33.exp: Run it.
27077
27078 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
27079
27080         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27081         match processing (and eliminate spurious timeouts when running).
27082
27083 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
27084
27085         * gdb.base/signals.exp (test_handle_all_print): put back Mach
27086         exception test, but conditionalize it on target [mach | gnu].
27087
27088 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
27089
27090         * gdb.base/overlays.exp: fixup compile line for linker script.
27091
27092 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
27093
27094         * gdb.fortran/types.exp: don't guess at float size.
27095
27096 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
27097
27098         * gdb.base/exprs.exp: delete test that depends on int size.
27099
27100 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
27101
27102         * config/sim.exp: Removed checks for target triplets.
27103         (gdb_target_sim): Use gdb,target_sim_options.
27104
27105 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
27106
27107         * gdb.base/reread.exp: New file.
27108         * gdb.base/reread1.c: New file.
27109         * gdb.base/reread2.c: New file.
27110
27111 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
27112
27113         * config/sim.exp: Use 'target sim -sparclite' when running
27114         SPARClite programs.
27115
27116 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
27117
27118         * gdb.base/structs2.exp: New file.
27119         * gdb.base/structs2.c: New file.
27120
27121 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
27122
27123         * gdb.asm/common.inc: New file.
27124         * gdb.asm/d10v.inc: New file.
27125         * asm-source.exp: Pass -I's to gas to find .inc files.
27126         Update line numbers in expected output.
27127         * asmsrc1.s: Rewrite.
27128         * asmsrc2.s: Rewrite.
27129         * configure.in: Create arch.inc symlink.
27130         * configure: Regenerate.
27131         * Makefile.in (distclean): Delete arch.inc.
27132
27133 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
27134
27135         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
27136         (t_enum_value2): ditto
27137         (t_enum_value3): ditto
27138         (main): ditto
27139 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
27140
27141         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
27142         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27143         change.
27144         Use gdb_test instead of send_gdb/gdb_expect sequences.
27145
27146 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
27147
27148         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27149         not void.
27150
27151 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
27152
27153         * gdb.base/branches.c: Code with lots of loops and
27154         subroutines. Used to test gdbs ability to single step through PC
27155         changes, especially to test mips-tdep.c:mips_next_pc
27156
27157 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27158
27159         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27160         more rigorous EGCS C++ error checking.
27161
27162 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27163
27164         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
27165         tests.
27166         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
27167         function when asleep.
27168         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
27169         for i*86 Linux and SVR4 signal handling problems.
27170         Remove linux xfail for `next to handler in signals_tests_1', fixed
27171         by recent infrun.c change.
27172         Limit backtrace to 10 frames to avoid timeout problems with infinite
27173         stack backtraces.
27174         Adjust expect pattern in `handle all print' test to match Apr 28 1997
27175         target.[ch] change.
27176
27177 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
27178
27179         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27180         for a newline from gdb before continuing.
27181         (default_gdb_exit): Just look for y or n.
27182         (gdb_test): Detect abnormal exit from GDB running on DOS; if
27183         it does, fail the rests of the tests in the file.
27184
27185 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
27186
27187         * config/cygmon.exp: New file.
27188
27189 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
27190
27191         * gdb.base/list.exp: Fix problem with "list default lines around
27192         main" test on remote targets.
27193
27194         * gdb.base/scope.exp: Fix problem with filelocal_bss before
27195         run test on remote targets.
27196
27197 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
27198
27199         * gdb.asm: New directory.
27200         * configure.in: Configure it.
27201         * configure: Regenerate.
27202         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27203         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27204
27205 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
27206
27207         * config/mn10300-eval.exp: New file to support MN10300 eval board.
27208
27209 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
27210
27211         * gdb.base/overlays (several files): Merge the two overlay
27212         managers into one.  Change variables (foox, barx, bazx, grbxx)
27213         back into ints but force them to load in their proper sections.
27214
27215 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
27216
27217         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27218         on-chip insn memory and IMAP1 to upper 128k.
27219         (D10VCopy): Handle memory regions crossing 16k boundaries.
27220         (D10VCopy): Transfer data in 32 bit chunks.
27221
27222 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
27223
27224         * gdb.base/overlays.c (main): Exit normally when result is
27225         correct.
27226
27227         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27228         map.  Include space for printf in .text segment.
27229
27230         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27231         updated d10v memory VMA/LMA map.
27232         (D10VCopy): Call D10VTranslate.
27233
27234 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
27235
27236         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27237
27238         * gdb.base/bar.c (barx, bar): Change variable to small array so
27239         that it won't be put into the .sdata - small data -
27240         section. Update reference.
27241         * gdb.base/baz.c (bazx, baz): Ditto.
27242         * gdb.base/foo.c (foox, foo): Ditto.
27243         * gdb.base/grbx.c (grbxx, grbx): Ditto.
27244
27245         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27246         to be arrays.
27247
27248 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
27249
27250         * gdb.base/overlays.exp: fix up and get working again.
27251         Add tests for backtraces from an overlay function.
27252
27253 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
27254
27255         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27256         "calling function with watchpoint enabled".
27257
27258 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
27259
27260         * gdb.base/break.exp (test_next_with_recursion): Remove
27261         gdb_suppress_tests for d10v-*-*.
27262         * lib/gdb.exp (gdb_suppress_tests): Disable this function
27263         pending review of whether it is useful or not.
27264
27265 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
27266
27267         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27268
27269 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
27270
27271         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27272         * config/dve.exp: New file to support Densan boards.
27273
27274 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
27275
27276         * gdb.base/interrupt.exp: Document problem of simulators, signals,
27277         reads and BSD.
27278
27279 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
27280
27281         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27282         response.
27283
27284         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27285
27286 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
27287
27288         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27289         test.
27290
27291         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27292         target_sizeof_long and target_bigendian_p.
27293         (structs_by_value, structs_by_reference): Check values according
27294         to targets word size and endianess.
27295
27296 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
27297
27298         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27299         output.
27300
27301 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
27302
27303         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27304         Update test of set args help to match source change.
27305
27306 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
27307
27308         * gdb.base/default.exp: Expect help system output to be in
27309         alphabetical order.
27310         * gdb.base/help.exp: Ditto.
27311
27312 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
27313
27314         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27315         "i*86-pc-linux-gnu*".
27316         * gdb.base/interrupt.exp: Ditto.
27317         * gdb.base/corefile.exp: Ditto.
27318
27319         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27320         define vxworks when building the testcase.
27321
27322         * gdb.base/ptype.exp: Fix testnames to be unique.
27323         * gdb.base/radix.exp: Ditto.
27324         * gdb.base/term.exp: Ditto.
27325         * gdb.base/whatis.exp: Ditto.
27326         * gdb.c++/classes.exp: Ditto.
27327
27328 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
27329
27330         * gdb.base/callfuncs.exp: Fix indentation.
27331
27332         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27333         suppress_flag has been set.
27334         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27335         target feature.
27336
27337 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
27338
27339         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27340         the testcase.
27341
27342         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27343         set_debug_traps() and breakpoint().
27344         * gdb.c++/misc.cc (main): Ditto.
27345         * gdb.c++/templates.cc (main): Ditto.
27346         * gdb.c++/virtfunc.cc (main): Ditto.
27347
27348 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
27349
27350         * lib/gdb.exp(gdb_step_for_stub): New function.
27351         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27352         exists, reload the executable and do a "continue" instead of
27353         doing a jump.
27354         (runto_main): Use gdb_step_for_stub.
27355
27356         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27357         tests to have unique names.
27358         * gdb.base/callfuncs.exp: Ditto.
27359         * gdb.base/commands.exp: Ditto.
27360         * gdb.base/default.exp: Ditto.
27361         * gdb.base/help.exp: Ditto.
27362         * gdb.base/list.exp: Ditto.
27363         * gdb.base/opaque.exp: Ditto.
27364         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27365         similar tests.
27366
27367         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27368         * gdb.c++/cplusfuncs.cc: Ditto.
27369         * gdb.c++/virtfunc.cc: Ditto.
27370
27371         * config/monitor.exp: Keep track of the last file we saw, rather
27372         than trying to get the info from gdb.
27373
27374         * gdb.fortran/types.exp: Move comment to previous line.
27375
27376 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
27377
27378         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27379         target mode.
27380
27381 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
27382
27383         From Bob Manson:
27384         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27385         string from GDB when it connects.
27386
27387         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27388
27389 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27390
27391         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27392         if we can't get a debug format from GDB (we may be testing an
27393         older GDB). Use a 10 second timeout when checking for the format.
27394
27395         * gdb.stabs/weird.exp: Fix quoting.
27396
27397         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27398
27399 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
27400
27401         * config/arm-ice.exp: New file.
27402
27403 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
27404
27405         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27406         until it has been modified to work with the new testsuite.
27407
27408         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27409         testcase won't compile, cause all of the testcases in the file to
27410         fail instead.
27411
27412         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27413         (gdb_clear_suppressed): New procedure.
27414         (gdb_stop_suppressing_tests): Only clear suppress_flag if
27415         it contains a positive value.
27416
27417 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
27418
27419         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27420
27421         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27422
27423 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
27424
27425         * lib/gdb.exp (setup_xfail_format): New function.
27426         (get_debug_format): New function to get debug format.
27427         (debug_format): New global variable to hold last value set
27428         by get_debug_format.
27429         * gdb.base/list.exp: Call get_debug_format and expect some
27430         tests to fail for DWARF 1 and COFF formats.
27431         * gdb.c++/ptype.exp: Ditto.
27432         * gdb.c++/classes.exp: Ditto.
27433         * gdb.c++/cplusfuncs.exp: Ditto.
27434         * gdb.c++/inherit.exp: Ditto.
27435         * gdb.c++/templates.exp: Ditto.
27436         * gdb.c++/virtfunc.exp: Ditto.
27437
27438 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
27439
27440         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27441         host doesn't have a currently-open connection.
27442
27443         * config/sparclet.exp: Cleanups and fixes to make it generic for
27444         any gdb stub target. Handle cases where gdb doesn't respond when
27445         interrupted in a sane fashion.
27446
27447         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27448         same thing in a totally different way.
27449
27450         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27451         setting "timeout".
27452         (gdb_start): We set the global gdb_prompt variable in
27453         default_gdb_init now.
27454
27455 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
27456
27457         * gdb.base/printcmds.exp: Fix "check for floating addition"
27458         regexp to accept results within approx +/- .01 of exact value.
27459         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27460
27461 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
27462
27463         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27464         properly.
27465         (gdb_expect): Add optional timeout parameter, and add timeout
27466         value to various calls.
27467         (gdb_suppress_tests): Only give one warning message per group.
27468
27469 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
27470
27471         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27472         global variables. Handle getting a value for $timeout more
27473         gracefully.
27474
27475 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
27476
27477         * lib/gdb.exp: Close connection to remote host if gdb doesn't
27478         initialize.
27479         (default_gdb_init): New procedure; allow gdb_init to be overridden
27480         by a target configuration file.
27481         (gdb_expect): Pass the timeout to remote_expect.
27482
27483         * config/monitor.exp(gdb_load): Fix typo in regexp.
27484
27485 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27486
27487         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27488
27489 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
27490
27491         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27492         here. Call gdb_target_exec before rebooting the target, to make
27493         sure the connection to the target is closed.
27494         (gdb_load): Pass the name of the executable to gdb_target_monitor.
27495         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27496         Also detect "Timeout reading from remote" error.
27497
27498         * config/gdbserver.exp: Pass the executable being loaded to
27499         gdb_target_monitor. Don't call gdb_file_cmd here; let
27500         gdb_target_monitor do it.
27501
27502         * gdb.disasm/hppa.exp: Don't use exec_output.
27503
27504 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
27505
27506         * gdb.base/list.exp: If we're debugging a non-native target,
27507         try to set the pc register to point to the start of the
27508         program before doing the first list command.
27509
27510         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27511         test_calls after restarting.
27512
27513         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27514         reloading.
27515
27516         * gdb.base/watchpoint.exp: Fix typo.
27517
27518         * gdb.base/setshow.exp: Check for use_gdb_stub.
27519
27520         * gdb.base/break.exp: Fix continue until exit test for the gdb
27521         stub case.
27522         * gdb.base/langs.exp: Ditto.
27523
27524         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27525         gdb_load_offset. If we weren't given a file to load, figure out
27526         what the current file is and use it.
27527
27528         * config/i386-bozo.exp: New file.
27529
27530 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
27531
27532         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27533         feature.
27534
27535         * config/proelf.exp: New entry.
27536
27537 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
27538
27539         * lib/gdb.exp: Remove spurious .* patterns at the beginning
27540         of regexps.
27541
27542         * gdb.base/watchpoint.exp: Don't run the test_stepping
27543         tests if gdb can't call functions on the target.
27544
27545         * gdb.base/setshow.exp: Don't run the set prompt tests if
27546         the board has gdb_prompt set.
27547
27548 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
27549
27550         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27551         * gdb.base/commands.exp: Likewise.
27552         * gdb.base/setshow.exp: Likewise.
27553
27554 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
27555
27556         * config/monitor.exp(gdb_start): Look for gdb_prompt target
27557         feature.
27558
27559         * config/i960.exp: New file.
27560
27561 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
27562
27563         * gdb.base/funcargs.exp: Check for gdb,short_int target
27564         feature instead of looking for explicit target triplets.
27565
27566 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
27567
27568         * gdb.base/printcmds.exp: add a couple more tests a la
27569         "p 123DEADBEEF", to check parse_number.
27570         * top.c: change "to enable to enable" to "to enable" in a couple
27571         of help strings.
27572
27573 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
27574
27575         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27576         on the mn10300.
27577
27578 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
27579
27580         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27581         where the test executable is run with explicit args.
27582         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27583
27584 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
27585
27586         * gdb.base/run.c: Use FAKEARGV to build test executable that
27587         does not require a command line arg, since most simulators
27588         don't currently support passing such an arg into the simulated
27589         program.
27590         * gdb.base/commands.exp: Change tests to insert the proper
27591         value as the arg to the first recursive factorial call.  Change
27592         compilation line to define FAKEARGV at compile time.
27593
27594 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
27595
27596         * gdb.base/recurse.exp: Enable these tests for the mn10300.
27597         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27598         function with watchpoint enabled" test.
27599
27600 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
27601
27602         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27603         Don't call gdb_test when the command doesn't return to a gdb prompt.
27604
27605         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27606         "Tests restarted" messages.
27607
27608 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
27609
27610         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27611
27612 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
27613
27614         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27615         for INFO SYMBOL; add help tests for OVERLAY commands.
27616         * gdb.base/default.exp: add tests for INFO SYMBOL command;
27617         add tests for OVERLAY commands
27618         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27619         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27620         * gdb.base/sigall.c: add usestubs code frag
27621         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27622
27623 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
27624
27625         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27626         failures.
27627         (gdb_stop_suppressing_tests): Note that tests have restarted.
27628
27629 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
27630
27631         * config/h8300.exp: New file.
27632
27633 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27634
27635         * gdb.base/setshow.exp: Check for the existence of a
27636         feature, not its value.
27637
27638 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
27639
27640         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27641
27642         * gdb.base/scope.exp: It's now init0(), not init().
27643
27644         * gdb.base/scope0.c: For now, change init() to be init0().
27645
27646         * config/monitor.exp: Use gdb_serial in preference to serial
27647         or netport.
27648
27649         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27650         and it's not already set.
27651
27652 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
27653
27654         * gdb.base/setshow.exp: Only test the run command if the target
27655         isn't using a stub and if it supports argument passing.
27656
27657 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27658
27659         * config/udi.exp(gdb_start): Make sure UDICONF is set
27660         properly before starting gdb.
27661
27662 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
27663
27664         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27665         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27666         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27667
27668 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
27669
27670         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27671         specialized code to reboot the board, use remote_reboot instead.
27672
27673         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27674
27675         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27676
27677         * config/monitor.exp: Make sure we disconnect from the target.
27678         Also, try a reboot/reload cycle instead of failing if the
27679         load fails.
27680
27681 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
27682
27683         * gdb.base/default.exp: Don't set match_max.
27684         * gdb.base/help.exp: Ditto.
27685         * gdb.base/list.exp: Ditto.
27686         * gdb.base/signals.exp: Ditto.
27687
27688         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27689         set, use remote_ld to download the testcase instead of
27690         the GDB loader.
27691
27692 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
27693
27694         * config/vr5000.exp: New file.
27695
27696         * config/monitor.exp(gdb_target_monitor): Add pattern for
27697         "Ending remote" to detect errors in connecting.
27698
27699         * gdb.base/setshow.exp: Add .* within auto language test.
27700
27701         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27702         target feature.
27703
27704         * config/monitor.exp(gdb_load): Check for a failure when loading,
27705         and reboot the board if necessary.
27706
27707         * gdb.base/setvar.exp(test_set): Handle multiple prints within
27708         a set of tests. Remove print.* from the patterns being checked.
27709
27710 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
27711
27712         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27713         refer to gdb_spawn_id.
27714
27715         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27716         longer used.
27717         * config/sparclet.exp: Ditto.
27718         * config/sparclet-old.exp: Ditto.
27719         * config/slite.exp: Ditto.
27720         * config/sim.exp: Ditto.
27721         * gdb.base/funcargs.exp: Ditto.
27722
27723         * lib/gdb.exp:Remove references to gdb_spawn_id.
27724         (gdb_expect): Move to remote.exp.
27725
27726 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
27727
27728         * config/monitor.exp: Detect the "Couldn't establish connection"
27729         message from GDB.
27730
27731 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
27732
27733         * gdb.base/bitfields.exp: Use runto instead of explicit
27734         gdb_run_cmd/gdb_expect sequences.
27735
27736         * gdb.base/break.exp(text_next_with_recursion): Add match for
27737         gdb_expect call.
27738
27739         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27740         We also need to handle the "A program is being debugged already"
27741         prompt from gdb. Use gdb_test to set the baud rate.
27742
27743         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27744         to 20000. Really. I mean it.
27745
27746 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
27747
27748         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27749         fails. If suppress_flag is set, skip perror message about not
27750         being able to send to GDB.
27751         (send_gdb): If suppress_flag is set, don't try to send commands to
27752         GDB.
27753         (gdb_expect): If suppress_flag is set, always fail immediately.
27754         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27755         (gdb_init): Call gdb_stop_suppressing_tests.
27756         (default_gdb_exit): Ditto.
27757         (default_gdb_start): Ditto.
27758
27759         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27760         gdb_stop_suppressing_tests as appropriate.
27761         * gdb.base/break.exp: Ditto.
27762         * gdb.base/callfuncs.exp: Ditto.
27763         * gdb.base/commands.exp: Ditto.
27764         * gdb.base/exprs.exp: Ditto.
27765         * gdb.base/funcargs.exp: Ditto.
27766         * gdb.base/list.exp: Ditto.
27767         * gdb.base/recurse.exp: Ditto.
27768         * gdb.base/scope.exp:  Ditto.
27769         * gdb.base/structs.exp: Ditto.
27770         * gdb.c++/inherit.exp: Ditto.
27771
27772 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
27773
27774         * config/vr4300.exp: New file.
27775
27776         * gdb.*/*.exp: Call gdb_expect instead of expect.
27777
27778         * lib/gdb.exp(gdb_expect): New function.
27779
27780 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
27781
27782         * lib/gdb.exp(gdb_init): New function.
27783
27784         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27785         for each individual variable set.
27786
27787         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27788         name.
27789
27790         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27791
27792         * gdb.base/scope.exp: Use gdb_test.
27793
27794         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27795         aborting; the testsuite driver will do that for us (see
27796         gdb_finish). Also, use gdb_test in a few more places.
27797
27798 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
27799
27800         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27801
27802 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
27803
27804         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27805         and "add_tests" are not at the same address.
27806
27807 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
27808
27809         * gdb.base/ptype.exp: Use gdb_test.
27810
27811 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
27812
27813         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27814         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27815         left in.  No longer expect them to fail.
27816
27817         * gdb.stabs/*.mt; Deleted, no longer used.
27818         * gdb.stabs/configure.in: Remove references to target makefile
27819         frags.
27820         * gdb.stabs/configure: Rebuilt.
27821
27822         * gdb.disasm/*.mt: Deleted, no longer used.
27823         * gdb.disasm/configure.in: Remove references to target makefile
27824         frags.  Use "sh3.s" as the unique filename for this directory.
27825         * gdb.disasm/configure: Rebuilt.
27826
27827         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27828         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27829         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27830
27831 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
27832
27833         * config/udi.exp: Use mondfe,name instead of remote_host.
27834
27835 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
27836
27837         * gdb.base/watchpoint.exp: Don't expect a failure when calling
27838         a function with a watchpoint enabled on the mn10200.
27839
27840         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27841         before trying to create it!
27842
27843 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
27844
27845         * config/vx.exp: Use hostname instead of netport.
27846
27847         * config/vxworks.exp: New file.
27848
27849         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27850
27851         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27852         gdb before assuming everything worked. Send a ^C if a timeout
27853         occurs.
27854
27855         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27856         $gdb_spawn_id directly.
27857         (gdb_run_cmd): Try _start as well as start. Use the target feature
27858         gdb,start_symbol as the symbol to start from when jumping.
27859
27860 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
27861
27862         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27863         redundant) test.
27864
27865         * gdb.base/recurse.exp: Relax final value test for 'b' so that
27866         it doesn't lose for 16bit integer systems.
27867
27868 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
27869
27870         * gdb.fortran/types.exp: If the target doesn't support "double"
27871         data types, then expect "real" types to only be 4 bytes.
27872
27873         * gdb.c++/virtfunc.exp: Expect failure for virtual function
27874         call tests if the target doesn't support inferior function calls.
27875
27876         * gdb.base/printcmds.exp: Allow minor deviation in FP values
27877         in printf tests.
27878
27879 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
27880
27881         * gdb.base/help.exp: Disable "help set", "help show", and
27882         "help support".  Simplify regexp for "help stack".
27883
27884         * gdb.base/default.exp: Set match_max to 5000 and the timeout
27885         to 60 seconds.  Temporarily set match_max to 15000 around the
27886         "info copying" test.
27887
27888         * gdb.base/nodebug.exp: Don't try to do an inferior function
27889         call if the target doesn't support them.
27890         * gdb.base/printcmds.exp: Likewise.
27891         * gdb.base/setvar.exp: Likewise.
27892         * gdb.base/structs.exp: Likewise.
27893         * gdb.c++/templates.exp: Likewise.
27894         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
27895
27896         * gdb.base/recurse.exp: Enable for the mn10200.
27897
27898         * configure.in: Do configure gdb.stabs directory for *-*-elf
27899         targets.
27900         * configure: Rebuilt.
27901
27902         * gdb.base/break.exp: Check for gdb,noresults before testing
27903         exit status and/or results from the target.
27904         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27905         * lib/gdb.exp: Remove old (now bogus) initialization of
27906         noinferior, noargs, noresults and nosignals.
27907
27908 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
27909
27910         * config/sh.exp: New file.
27911
27912         * config/slite.exp: Try to connect multiple times to the board
27913         before rebooting. Only send a "monitor run" if need_monitor_run
27914         is set.
27915
27916         * gdb.base/break.exp: Don't do the "stub continue" test if
27917         the target has gdb_stub set.
27918
27919         * gdb.base/callfuncs.exp: Increase the timeout.
27920
27921         * gdb.base/interrupt.exp: Don't even try to compile the testcase
27922         if the target has gdb,noinferiorio set.
27923
27924         * gdb.base/list.exp: Increase match_max to 10000 characters.
27925
27926         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27927
27928         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27929         target.
27930
27931         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27932
27933 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
27934
27935         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27936         trying to delete the copy of gdb. Catch the file delete so we
27937         don't die if the delete fails; also, the file should be copied to
27938         the host, not to the build.
27939
27940 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
27941
27942         * lib/gdb.exp(gdb_test): Surround the result pattern with
27943         parenthesis in case it contains multiple regexps separated
27944         with |.
27945
27946         * gdb.base/watchpoint.exp: Use gdb_test.
27947         * gdb.base/default.exp: Ditto.
27948
27949 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
27950
27951         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27952
27953         * gdb.base/scope.exp: Use gdb_test.
27954         * gdb.c++/classes.exp: Ditto.
27955         * gdb.c++/inherit.exp: Ditto.
27956
27957 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27958
27959         * gdb.base/crossload.exp: Don't use execute_anywhere, use
27960         remote_exec instead.
27961         * gdb.base/corefile.exp: Don't be ridiculous.
27962         * gdb.base/*.c: Add missing stub invocations.
27963
27964 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27965
27966         * config/slite.exp: Miscellaneous fixes.
27967
27968         * lib/gdb.exp: Fix runto.
27969
27970         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27971         the target.
27972
27973         * gdb.base/watchpoint.exp: Fix regexp.
27974
27975         * lib/gdb.exp(default_gdb_exit): Add a catch to the
27976         close and wait commands, as the descriptor may now be
27977         invalid. Always call "remote_close host".
27978
27979 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
27980
27981            Major rewrite for testsuite revision.
27982
27983         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27984         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27985         instead of relying on spawn_id to always contain a valid
27986         spawn id.
27987         (get_compiler_info): New procedure to build the ${binfile}.ci
27988         file, instead of replicating this in N different places.
27989         (gdb_compile): New procedure.
27990
27991         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27992         appropriate arguments) instead of compile. Use gdb_test in a lot
27993         more places.  Use send_gdb instead of send. Always run gdb_start
27994         at the start of a testcase, as this is no longer done magically.
27995
27996         config/*-gdb.exp: Rename without the -gdb suffix.
27997
27998         config/mips.exp: Use remote_close instead of exit_remote_shell.
27999         config/monitor.exp: Use target_info instead of looking at
28000         baud, timeout, etc.
28001         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28002
28003 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28004
28005         * gdb.c++/templates.exp (test_ptype_of_templates),
28006         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28007         Update expect patterns for destructors and assignment operators
28008         to match corresponding c-typeprint.c changes.
28009         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
28010         to destructor breakpoint test, GDB should be able to set the
28011         destructor breakpoint without specifying arguments.
28012
28013 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
28014
28015         * gdb.threads/pthreads.exp: Change result for failure to compile due
28016         to lack of pthreads runtime support from an error to simply an
28017         unsupported test, per dejagnu standards.
28018
28019 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28020
28021         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
28022         where GDB exits to reduce pattern match time.
28023         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
28024
28025         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
28026
28027 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
28028
28029         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28030         * gdb.base/default.exp:   ditto.
28031         * gdb.base/nodebug.exp:   ditto.
28032         * gdb.base/printcmds.exp: ditto.
28033         * gdb.base/ptype.exp:     ditto.
28034         * gdb.base/setvar.exp:    ditto.
28035         * gdb.base/structs.exp:   ditto.
28036         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
28037
28038 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
28039
28040         * configure, */configure: Rebuild with autoconf 2.12.
28041
28042 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
28043
28044         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28045         use new i*86-pc-linux*-gnu quads.
28046         * gdb.base/corefile.exp: Ditto.
28047         * gdb.base/signals.exp: Ditto.
28048         * gdb.base/sigall.exp: Ditto.
28049         * gdb.base/interrupt.exp: Ditto.
28050
28051         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28052         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
28053         RedHat 4.0.
28054
28055         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28056         linux.  This allows the test case to at least compile on latest
28057         linux, but still not run due to missing the threads runtime library.
28058
28059 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28060
28061         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
28062         directory to search gdb directory. Accept and step over conditional
28063         stack alignment code. Consume $prompt in failure cases.
28064         Reset timeout to $oldtimeout instead of some arbitrary value.
28065         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
28066         timeout problems with infinite stack backtraces.
28067         * gdb.base/ptype.exp (ptype struct link, union tu_link):
28068         Accept function parameters for linkfunc member.
28069
28070 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
28071
28072         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28073         (CXXFLAGS): Remove, unreferenced.
28074         (B_OPTIONS): Add for -B options and add code to initialize with
28075         previous -B options and also add -B option to pick up cross compiled
28076         runtime.
28077         (TARGET_INCLUDES): Add for -I options and add code to initialize when
28078         doing cross compiles.
28079         (target_alias): Declare global.
28080         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
28081         to verify that gcc exists in build tree, and if so set CC to that
28082         gcc and to use B_OPTIONS and TARGET_INCLUDES.
28083
28084 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
28085
28086         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28087         ptype test for anonymous union.  Fixup testcase to match
28088         current gcc debug output.
28089
28090 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
28091
28092         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28093         force argument to an unsigned long type.
28094
28095 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
28096
28097         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28098         tests and anonymous union print/ptype tests.
28099         * gdb.base/list.exp (test_forward-search): Increase timeout by
28100         5 minutes for the "search extremely long line" case.
28101         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28102         completely optional and that the pass/fail messages use the command as
28103         the message if that third arg is a null string.
28104         (gdb_test_exact):  Arrange that a null string pattern means match a
28105         null string output rather than any output, which might include random
28106         errors.
28107         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28108         backtrace test.
28109         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28110         always failing and failure is now exposed by gdb.exp changes.
28111
28112 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
28113
28114         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28115         weren't being noted.
28116
28117 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28118
28119         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
28120         * gdb.stabs/weird.exp:  Remove v_comb xfails.
28121
28122 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
28123
28124         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28125                     list.exp scope.exp watchpoint.exp]
28126           Make all timeout error msgs explicitly say "(timeout)".
28127
28128 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
28129
28130         * config/monitor.exp: Increase download timeout to 1000 seconds.
28131
28132 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
28133
28134         * config/m32r.exp: Increase timeout to 120 seconds.
28135
28136 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
28137
28138         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28139         and accept older ordering as obsolescent gcc or gdb.
28140         * gdb.c++/templates.exp: Ditto.
28141         * gdb.c++/virtfunc.exp: Ditto.
28142
28143 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
28144
28145         * gdb.base/coremaker.c: Add code to mmap some data so we
28146         can check that it ends up in the core file.
28147         * gdb.base/corefile.exp: Add test to read mmapped data
28148         from core file.
28149
28150 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
28151
28152         * config/m32r.exp: New file.
28153
28154 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
28155
28156         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
28157         that cflags can contains -gstabs, and work correctly for other tests.
28158
28159 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
28160
28161         * gdb.base/setshow.exp: New file, tests show and set.
28162         * gdb.base/setshow.c:   New file, tests show and set.
28163         * gdb.base/help.exp: Add test for help set|show annotate.
28164         * gdb.base/default.exp: Add test for set|show annotate.
28165
28166 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
28167
28168         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
28169         errors unique.
28170         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
28171         explicitly.
28172
28173 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
28174
28175         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
28176         and width commands.  This is done elsewhere.
28177         * (gdb_start):  Don't call gdb_start_sim here.  That's already
28178         done in gdb_load.  This fixes lots of failures in default.exp.
28179
28180 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
28181
28182         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28183         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28184         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28185         in the same we we treat other failures (since it may be an expected
28186         condition), rather than as an error.
28187         * gdb.base/signals.exp (test_handle_all_print): Revert back to
28188         old test format.
28189
28190 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
28191
28192         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28193         (distclean maintainer-clean realclean): No need to remove files
28194         twice.  Nuke the duplicates.
28195         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28196         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28197         Remove config.h along with other config files.
28198
28199 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
28200
28201         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28202         "p func1 ()" and note that rests of tests are skipped.
28203         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28204         setup_xfails for "print func2::coremaker_local".
28205         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28206         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28207         affected by the previous run test.
28208         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28209         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28210         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28211         "pass int powerset tuple" and "pass modeless int powerset tuple".
28212         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28213         "real write 4" and "real write 8".
28214         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28215         setup_xfails for "print vs1 after tuple assign 2",
28216         "print \$i after tuple assign 2", and
28217         "print vs2 after tuple assign 2".
28218         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28219         meaningful error message and return -1 so the caller can
28220         suppress further tests and avoid a cascade of errors.
28221
28222 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
28223
28224         * gdb.base/a1-selftest.exp: Tweak tests to account for new
28225         format for printing version.
28226         * gdb.base/default.exp: Ditto.
28227         * gdb.base/interrupt.exp: Fix problem with cascade of
28228         errors if child process dies while calling a function.
28229
28230 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
28231
28232         * Makefile.in (VPATH): Add
28233         * Makefile.in (Makefile, config.status): Fix rules so things get
28234         remade when necessary.
28235
28236 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
28237
28238         * Makefile.in (just-check): Add path to sibling expect dir
28239         to environment variable specified by RPATH_ENVVAR.
28240
28241 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
28242
28243         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28244         (just-check): Add shared library paths for libstdc++, tk,
28245         tcl, bfd, and opcodes to the environment variable specified
28246         in RPATH_ENVVAR.
28247         * configure.in: Add support to recognize --enable-shared flag
28248         and generate correct value for RPATH_ENVVAR.
28249         * configure: Regenerated with autoconf.
28250
28251 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
28252
28253         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28254         include all osf versions.
28255         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28256         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
28257         when target is linux.  When failing to build pthreads test
28258         executable, give more meaningful message.
28259         * gdb.threads/pthreads.c: Hpux also uses old definition of second
28260         arg for pthread_create.
28261
28262 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
28263
28264         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28265         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28266         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28267         and -lpthreads (everybody else).
28268         (test_startup): Fail gracefully if threads are not supported.
28269         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28270         "p/c array_index("abcdef",2)" when not gcc compiled.
28271         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28272         "print func2::coremaker_local" when not gcc compiled.
28273         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28274         "ptype on opaque struct tagname (statically)",
28275         "ptype on opaque struct tagname (dynamically) 1", and
28276         "ptype on opaque struct tagname (dynamically) 2"
28277         for not compiled with gcc.
28278         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28279         backtrace when compiled with gcc.
28280         * lib/gdb.exp (runto_main): Return result of "runto main" rather
28281         than always return success.
28282
28283 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
28284
28285         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28286
28287 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
28288
28289         * gdb.base/structs.exp: Undo last change.
28290
28291 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
28292
28293         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28294         encapsulate all the steps/nexts done during self test, starting
28295         at main, and makes them less sensitive to optimization issues.
28296         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28297         signal handler" test.
28298         * gdb.threads/pthreads.exp: Only run this for native configs.
28299         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28300         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28301         tests.
28302         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28303         for "runto test_calls(void)" test.
28304
28305 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
28306
28307         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28308         and don't expect address info in breakpoint confirmations.
28309
28310 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
28311
28312         * gdb.base/list.exp (test_forward_search): Increase timeout
28313         temporarily by 60 seconds for searching extremely long line,
28314         and then reset to old value when done.  Increase expect input
28315         buffer to 10000.
28316
28317 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
28318
28319         * gdb.base/list.exp (test_forward_search): Fix to handle very
28320         long source line without overflowing expect's input buffer.
28321
28322 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
28323
28324         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28325         "buffer_full".
28326
28327         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28328         "buffer_full".
28329
28330         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28331         "buffer_full".
28332
28333         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28334         "buffer_full".
28335
28336 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
28337
28338         * configure.in (configdirs): Add gdb.threads.
28339         * configure: Regenerated with autoconf.
28340         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28341         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28342         * gdb.threads/configure: New, generated with autoconf.
28343
28344 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
28345
28346         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28347
28348 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
28349
28350         * gdb.base/signals.exp (test_handle_all_print): Test separately for
28351         each signal's status in the output of "handle all print".
28352         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28353         the \r\n sequence that immediately precedes the gdb prompt.
28354         * gdb.base/a1-selftest.exp: Save original timeout and restore
28355         after test.
28356
28357 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
28358
28359         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28360         symbol.
28361
28362 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
28363
28364         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28365
28366 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
28367
28368         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28369         timeout by 60 seconds.
28370
28371 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
28372
28373         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28374         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28375         error return.
28376
28377 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
28378
28379         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28380         gdb initialization, also report how long dejagnu waited.  Restore
28381         old timeout before doing error return.  Temporarily increase timeout
28382         by 3 minutes to allow for slow startups over heavy NFS use.
28383
28384 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
28385
28386         * lib/gdb.exp: Report timeout value for verbosity level 2.
28387         * config/gdbserver.exp: Ditto.
28388         * config/hppro.exp: Ditto.
28389         * config/mips-gdb.exp: Ditto.
28390         * config/monitor.exp: Ditto.
28391         * config/netware.exp: Ditto.
28392         * config/sim-gdb.exp: Ditto.
28393         * config/slite-gdb.exp: Ditto.
28394         * config/udi-gdb.exp: Ditto.
28395         * config/unix-gdb.exp: Ditto.
28396         * config/vx-gdb.exp: Ditto.
28397         * gdb.base/a1-selftest.exp: Ditto.
28398         * gdb.base/a2-run.exp: Ditto.
28399         * gdb.base/break.exp: Ditto.
28400         * gdb.base/corefile.exp: Ditto.
28401         * gdb.base/list.exp: Ditto.
28402         * gdb.base/recurse.exp: Ditto.
28403         * gdb.base/scope.exp: Ditto.
28404         * gdb.base/signals.exp: Ditto.
28405
28406 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
28407
28408         * gdb.threads/Makefile.in (docdir): Removed.
28409
28410 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
28411
28412         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28413         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28414         @srcdir@.
28415         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28416         autoconf 2.5 or higher.
28417         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28418
28419 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
28420
28421         * configure: Regenerated.
28422         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28423         avoid name clashes with SunOS headers.
28424
28425 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
28426
28427         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28428
28429 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
28430
28431         * gdb.base/callfuncs.exp: Finish last change -- make sure the
28432         prototype information ends up in the compiler info file.
28433
28434 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
28435
28436         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28437         attempting to regenerate it.  Eliminate use of a temporary file
28438         and just generate the info file directly.  Source it immediately,
28439         for consistency of use.
28440         * gdb.base/corefile.exp: Ditto
28441         * gdb.base/exprs.exp: Ditto.
28442         * gdb.base/funcargs.exp: Ditto.
28443         * gdb.base/langs.exp: Ditto.
28444         * gdb.base/list.exp: Ditto.
28445         * gdb.base/mips_pro.exp: Ditto.
28446         * gdb.base/nodebug.exp: Ditto.
28447         * gdb.base/opaque.exp: Ditto.
28448         * gdb.base/ptype.exp: Ditto.
28449         * gdb.base/scope.exp: Ditto.
28450         * gdb.base/setvar.exp: Ditto.
28451         * gdb.base/signals.exp: Ditto.
28452         * gdb.base/whatis.exp: Ditto.
28453         * gdb.c++/templates.exp: Ditto.
28454         * gdb.c++/virtfunc.exp: Ditto.
28455         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28456         whether or not to add -lstdc++ to the compile command line args.
28457
28458 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28459
28460         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
28461         it got fixed by the recent lookup_minimal_symbol_by_pc change.
28462         Increase timeout, a lot of single stepping might be needed if the
28463         target has no hardware watchpoints.
28464
28465 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
28466
28467         * gdb.base/break.exp: Ignore compiler warnings when compiling
28468         break.c.
28469         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28470         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
28471         from remote-sim.
28472         * gdb.base/exprs.exp: Add h8300 xfails.
28473         * gdb.base/funcargs.exp: Likewise.
28474         * gdb.base/nodebug.exp: Likewise.
28475         * gdb.base/printcmds.exp: Likewise.
28476         * gdb.base/ptype.exp: Likewise.
28477         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
28478         h8300 xfails.
28479         * gdb.base/return.exp: Handle float/double precision problems
28480         on the h8300.
28481         * gdb.base/funcargs.c: Explicitly make last constant argument to
28482         call_after_alloca_subr an unsigned long type.
28483         * gdb.base/return.c: Include stdio.h.
28484
28485 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
28486
28487         * config/abug.exp: New file for the older Motorola Bug monitor
28488         that runs on the mvme13x series VME boards.
28489         * config/monitor.exp: Use the new config array for target settings
28490         if they exist.
28491
28492 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
28493
28494         * sim-gdb.exp: Make the SH simulator allocate less space when
28495         it is targeted.
28496
28497 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
28498
28499         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28500         test.
28501
28502 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
28503
28504         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28505         "rs6000-*-*" for "list function in include file" when gcc compiled.
28506         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28507         for "p ctable1[120]".
28508         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28509         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28510         Remove setup_xfail for "rs6000-*-*" for
28511         "print 'scope0.c'::filelocal before run".
28512         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28513         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28514         since some compilers don't allow both options to be given
28515         on the same command line.  Create object file and move it.
28516
28517 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
28518
28519         * gdb.base/corefile.exp: Always regenerate the core file, since
28520         we always regenerate the coremaker program.  Detect special case
28521         where registers cannot be read from core file.
28522
28523 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
28524
28525         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28526         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28527         * gdb.c++/templates.exp: Only match on basename of file since
28528         some formats like xcoff don't encode directory information.
28529         * gdb.stabs/weird.exp: Use the right sed script for powerpc
28530         and rs6000 AIX xcoff targets.
28531         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28532         * configure: Regenerate.
28533         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28534         here, rather than in distclean.
28535
28536 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
28537
28538         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28539         defined, and use it to compile the test case with -O2.  The
28540         native compilation still uses no optimization.
28541         * gdb.base/mips_pro.c: Remove inline assembly code since
28542         it is compiled PIC by default, which results in assembler
28543         warnings that make the testsuite think the compilation
28544         was unsuccessful.
28545
28546 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
28547
28548         * gdb.c++/misc.exp: Add note to message for
28549         "print s.a for foo struct" that this is a known gcc 2.7.2
28550         and earlier bug.
28551
28552 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
28553
28554         * gdb.base/break.exp: Fix pattern for matching "Delete all
28555         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
28556         setup_xfail for deleting all breakpoints test.  Fix various
28557         timeout messages to include "(timeout)".
28558         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28559         for "p t_float_values2(3.14159,float_val2)".
28560         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28561         for "continue to call2g" when gcc compiled.
28562         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28563         "up to foo in langs.exp", "show language at foo in langs.exp",
28564         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28565         and "show language at fsub in langs.exp".
28566         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28567         "list line 1 in include file", "list message for lines past EOF",
28568         "list function in include file", "list list0.h:foo", and
28569         "list filename:function; nonexistant function".
28570         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28571         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28572         and "ptype t_char_array" to be for native cc only.
28573
28574 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
28575
28576         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28577         setup_xfail for "print coremaker_bss", "print coremaker_ro",
28578         "print func2::coremaker_local", and "backtrace in corefile.exp".
28579
28580 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
28581
28582         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28583         "bt in signals.exp".  This problem only appears when running
28584         the testsuite, and then only intermittently.
28585
28586 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
28587
28588         * gdb.base/return.exp (return_tests): Differentiate between
28589         two tests of continuing.
28590
28591 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
28592
28593         * */Makefile.in (maintainer-clean): Remove config.log.
28594         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28595         * gdb.c++/Makefile.in (PROGS): Add inherit.
28596         (clean): Remove *.ci.
28597
28598 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
28599
28600         * gdb.c++/misc.cc: Add test code from Mike Stump.
28601         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28602
28603 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
28604
28605         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28606         to "alpha-*-osf2*" and add comment.
28607         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28608         setup_xfail for "step over execarg initialization" and
28609         "step over corearg initialization".
28610         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28611         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28612         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28613         gcc compiled for "print coremaker_bss", "print coremaker_ro",
28614         "print func2::coremaker_local", and "backtrace in corefile.exp".
28615         * gdb.base/signals.exp: Build and source signals.ci.
28616         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28617         to be for gcc only.
28618         * lib/gdb.exp: Move verbose statements outside conditionals.
28619
28620 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28621
28622         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
28623         Feb 3 procfs.c change.
28624
28625 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
28626
28627         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28628
28629 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
28630
28631         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28632         from dejagnu's apparent default of 10 seconds, which gives random
28633         results when running the tests over NFS on moderately loaded systems.
28634         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28635
28636 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
28637
28638         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
28639         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28640         result reports.
28641
28642 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
28643
28644         * configure.in (CY_AC_PATH_TCLH): Remove.
28645         * configure: Regenerate.
28646
28647 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
28648
28649         * gdb.c++/Makefile.in (clean): Add missing '{'.
28650
28651 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
28652
28653         * lib/gdb.exp: Provide a default value for noinferior.
28654
28655         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28656         Load libgloss.exp.
28657
28658 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
28659
28660         * gdb.disasm/hppa.exp: Compile directly into an executable, use
28661         the executable, not the .o to run the tests from.
28662
28663 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
28664
28665         * gdb.base/break.exp: Don't test for program exit or exit status
28666         if $noresults if nonzero.
28667         * gdb.base/langs.exp: Likewise.
28668         * gdb.base/watchpoint.exp: Likewise.
28669
28670         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28671         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28672         trying to compile the testcase.
28673
28674 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
28675
28676         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28677         * gdb.base/signals.exp (continue to handler): Likewise.
28678
28679 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
28680
28681         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
28682
28683         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
28684
28685 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
28686
28687         * gdb.base/corefile.exp: Recognize "not found" as failure
28688         when trying to determine if a core file was generated.
28689         If no core file was generate the first time, try again without
28690         the ulimit -c to work around braindamaged shells.
28691
28692 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
28693
28694         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28695         [] tests with "test" and enclose string in quotes.
28696         * gdb.stabs/configure: Rebuild
28697
28698 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
28699
28700         Changes in sync with expect:
28701         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28702         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28703         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28704         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
28705         argument to AC_REQUIRE.
28706         * configure: Regenerated.
28707
28708 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
28709
28710         * gdb.base/corefile.exp: When generating a core, discard any
28711         error messages about ulimit not found and the "core dumped"
28712         message from the shell that runs the coredumper.
28713
28714 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
28715
28716         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28717
28718         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28719         which sed script to run.  Expect failure for v_comb test
28720         on PA targets too.
28721
28722 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
28723
28724         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28725         "print func2::coremaker_local" and for "backtrace in corefile.exp"
28726
28727 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
28728
28729         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28730         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28731         "sparc-sun-solaris*" xfails for "p v_comb".
28732         * lib/gdb.exp (default_gdb_start): Fix typo.
28733         * gdb.base/corefile.exp: Allow "Core was generated by ..."
28734         messages to not include the full program name that caused
28735         the core dump since some systems (such as solaris) apparently
28736         truncate this path to about 80 characters.
28737         When generating a core file first try increasing the core file
28738         size limit to unlimited since some systems may default it to
28739         zero, and it is harmless to try it.  Move the test for failing
28740         to generate a core file to where it will actually get executed.
28741         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28742         new gdb result from g++ debug info improvements and make old
28743         pattern obsolescent.  Also account for size_t differences
28744         (may be int or long).
28745         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28746         initialization before function call is placed in the delay slot
28747         and thus appears to be skipped over by commands such as "next".
28748
28749 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
28750
28751         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28752
28753 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
28754
28755         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28756         input source file; fix code to compile test to deal with this
28757         convention.
28758         * gdb.c++/*.exp: Likewise.
28759
28760 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
28761
28762         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28763         "bt in signals.exp".
28764
28765 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
28766
28767         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28768         "step over execarg initialization" and
28769         "step over corearg initialization".
28770
28771 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
28772
28773         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28774         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
28775
28776 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
28777
28778         From Rob Savoye  (rob@poseidon.cygnus.com)
28779         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28780         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28781         configure.in}, gdb.disasm/{Makefile.in, configure.in},
28782         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28783         configure.in}: Major reworking for autoconfig.
28784         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28785         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28786         New files.
28787         * config/unix-gdb.exp:  Make GDB global.
28788         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28789         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28790         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28791         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28792         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28793         term.exp, twice.exp, watchpoint.exp, whatis.exp},
28794         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28795         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28796         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28797         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28798         pr-8136.exp, result.exp, string.exp, tuples.exp},
28799         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28800         to returns as necessary, arrange for test to compile own testcase
28801         executable.
28802         * lib/gdb.exp: Changes for testsuite to compile own test cases.
28803
28804 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
28805
28806         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28807         clear_xfail at end of test which might not call either pass or fail.
28808         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28809         "backtrace through signal handler".
28810
28811 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28812
28813         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
28814         continuing from a job control stop signal.
28815         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
28816
28817 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
28818
28819         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28820         * gdb.base/corefile.exp: Likewise.
28821         * gdb.base/funcargs.exp: Likewise.
28822
28823 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
28824
28825         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
28826         * config/monitor.exp:  Add support for setting baud rate.
28827
28828 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
28829
28830         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28831         i*86-*-linux* xfails for "backtrace through signal handler".
28832         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28833         "print func2::coremaker_local".
28834         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28835         alpha-dec-osf2* xfail for
28836         "delete all breakpoints when none".
28837
28838 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
28839
28840         * gdb.base/break.exp: Change test that deletes all breakpoints
28841         when no user breakpoints are installed.  A post 4.15 change
28842         causes gdb to no longer prompt in this case.
28843
28844 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
28845
28846         * gdb.base/return.exp (return_tests):  Change xfail for test
28847         "correct value returned double test" to stop xfailing at
28848         Solaris 2.5.  Apparently the bug has been fixed.
28849
28850 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
28851
28852         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28853         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28854
28855 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
28856
28857         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28858         * gdb.disasm/hppa.s: Corresponding changes.
28859
28860 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
28861
28862         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28863         makefile fragment.
28864         * config/mt-hpux: Deleted.
28865
28866 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
28867
28868         * Many files: When warning about suppressed tests due to a
28869         nonexistant test binary, avoid incrementing the warning count.
28870
28871 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
28872
28873         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
28874
28875 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28876
28877         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
28878         "sparc-*-solaris2*".
28879
28880 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28881
28882         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
28883         Add global and local variables and initialize them.
28884         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
28885         by printing variables. Remove rs6000 and powerpc xfails, BFD now
28886         extracts the file name and terminating signal from the core file.
28887         * TODO:  Remove note about tests for correct mapping of corefile.
28888         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
28889         from optimizing it away.
28890         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
28891         handles common blocks.
28892
28893 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
28894
28895         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28896         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28897
28898 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
28899
28900         * Makefile.in (maintainer-clean): New target, synonym for
28901         realclean.
28902         * gdb.base/Makefile.in (maintainer-clean): Likewise.
28903         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28904         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28905         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28906         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28907         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28908
28909 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
28910
28911         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
28912         xfails when not gcc compiled for "print foo::funclocal".
28913         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28914         "print foo::funclocal at foo",
28915         "print 'scope1.c'::foo::funclocal at foo",
28916         "print foo::funclocal_bss at foo",
28917         "print 'scope1.c'::foo::funclocal_bss at foo",
28918         "print foo::funclocal_ro at foo",
28919         "print 'scope1.c'::foo::funclocal_ro at foo",
28920         "print bar::funclocal at foo" and
28921         "print 'scope1.c'::bar::funclocal at foo".
28922         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
28923         gcc compiled for "print foo::funclocal at bar".
28924         Expand all messages to ensure that they identify that
28925         the test is at bar().
28926         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28927         gcc compiled for:
28928         "ptype on opaque struct pointer (statically)",
28929         "ptype on opaque struct tagname (statically)",
28930         "ptype on opaque struct pointer (dynamically) 1",
28931         "ptype on opaque struct tagname (dynamically) 1",
28932         "ptype on opaque struct pointer (dynamically) 2" and
28933         "ptype on opaque struct tagname (dynamically) 2
28934         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28935         gcc compiled for:
28936         "p datalocal"
28937         "whatis datalocal",
28938         "ptype datalocal",
28939         "p bsslocal",
28940         "whatis bsslocal", and
28941         "ptype bsslocal".
28942         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28943         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28944         when not gcc compiled.
28945         * gdb.base/funcargs.exp (float_and_integral_args):  Add
28946         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28947         compiled.
28948         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
28949         "backtrace from call6a" when not gcc compiled.
28950         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28951         "backtrace from call7a" when not gcc compiled.
28952         * gdb.base/callfuncs.exp (do_function_calls):
28953         Add "hppa*-*-hpux*" xfail when not gcc compiled for
28954         "p t_char_array_values(char_array_val2,char_array_val1)",
28955         "p t_char_array_values(char_array_val1,char_array_val2)",
28956         "p t_char_array_values("carray 1","carray 2")",
28957         "p t_char_array_values("carray 1",char_array_val2)",
28958         "p t_char_array_values(char_array_val1,"carray 2")",
28959         "p sum_args(1,{2})",
28960         "p sum_args(2,{2,3})",
28961         "p sum_args(3,{2,3,4})",
28962         "p sum_args(4,{2,3,4,5})"
28963         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28964         "backtrace in corefile.exp" when not gcc compiled.
28965
28966 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28967
28968         * gdb.base/signals.exp:  Rewrite `handle all print' test as
28969         a procedure. Accept blanks or TABs as whitespace, increase
28970         timeout and expect input buffer size for the large output
28971         from the command. Remove "i*86-*-bsdi2.0" xfail.
28972
28973 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28974
28975         * gdb.base/setvar.exp:  Add new testcases for truncation when
28976         assigning invalid values to bitfields.
28977
28978 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
28979
28980         * gdb.base/callfuncs.exp (do_function_calls):  Remove
28981         mips-sgi-irix* xfail for
28982         "call inferior func with struct - returns char *"
28983         and fix test so that an optional (unsigned char *) cast is
28984         accepted in the result.
28985
28986 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
28987
28988         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
28989         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28990         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28991         * gdb.base/signals.exp: Remove duplicate "handle all print" test
28992         that accidentally got checked in.
28993
28994 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
28995
28996         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
28997         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28998         compiled test.
28999         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29000         Add mips-sgi-irix5* xfail for not gcc compiled.
29001         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
29002         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29003         compiled for "p top", "whatis top", "p middle", and "whatis
29004         middle".
29005         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29006         "whatis signed char" for not gcc compiled.
29007         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29008         "set variable signed char=-1 (-1)" and
29009         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29010         * gdb.base/funcargs.exp (float_and_integral_args):
29011         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29012         Add mips-sgi-irix* xfail when not gcc compiled for
29013         "continue to call2b".
29014         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29015         "continue to call2g".
29016         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29017         compiled for "backtrace from call6a"
29018         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29019         compiled for "backtrace from call7k".  Add mips-sgi-irix5* xfail
29020         when not gcc compiled for "backtrace from call7a".
29021         (localvars_after_alloca):  Fix gdb_test cmds for
29022         "print * after runto ...".
29023         Remove rs6000-*-* xfails for
29024         "print i after runto localvars_after_alloca" and
29025         "print l after runto localvars_after_alloca"
29026         for all compilers.
29027         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29028         when not compiled with gcc, for:
29029         "print signed char == (minus)",
29030         "print signed char != (minus)",
29031         "print signed char < (minus)",
29032         "print signed char > (minus)".
29033         * gdb.base/callfuncs.exp (do_function_calls):
29034         Add mips-sgi-irix* xfail, when compiled with native compiler, for
29035         "call inferior func with struct - returns char *".
29036         * gdb.base/return.exp (return_tests): Change xfail for
29037         "correct value returned double test" to include Solaris 2.4.
29038         * gdb.base/funcargs.exp (float_and_integral_args):
29039         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29040
29041 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29042
29043         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
29044         enumeration bitfields if compiling with GNU C.
29045         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
29046         to empty' prompt.
29047
29048 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
29049
29050         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29051         test for PRO targets.
29052
29053         * gdb.base/funcargs.exp: Avoid ever setting more than 8
29054         breakpoints in the inferior at any given time by making
29055         two groups of breakpoints for call2*, call6* and call7*
29056         tests.
29057
29058 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29059
29060         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
29061         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
29062         from optimizing it away.
29063         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
29064         "call inferior func with struct".
29065
29066 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
29067
29068         * configure.in: Only configure gdb.chill for particular targets.
29069
29070 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
29071
29072         * gdb.base/Makefile.in:  Add action to .c.o transformation
29073         rule that generates a .ci file for each .o file and remove
29074         explicit .c.o rules except for callfuncs.o.
29075         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
29076         generates a .ci file for each .o file and remove explicit
29077         .cc.o rules.
29078         (clean): Remove *.tmp *.ci files.
29079         (EXECUTABLES): Remove templ-info.exp.
29080         * gdb.base/compiler.c: New file.
29081         * gdb.c++/compiler.cc: New file
29082         * gdb.base/scope.exp: Source gdb.base/scope.ci.
29083         Change rs6000-*-* xfail for
29084         "print 'scope0.c'::filelocal_ro" and
29085         "print 'scope1.c'::filelocal" and
29086         "print 'scope1.c'::filelocal_bss" and
29087         "print 'scope1.c'::filelocal_ro" and
29088         "print 'scope1.c'::foo::funclocal" and
29089         "print 'scope1.c'::foo::funclocal_ro" and
29090         "print 'scope1.c'::bar::funclocal" and
29091         "print 'scope0.c'::filelocal_ro" and
29092         "print 'scope1.c'::filelocal at foo" and
29093         "print 'scope1.c'::filelocal_bss at foo" and
29094         "print 'scope1.c'::filelocal_ro at foo" and
29095         "print 'scope1.c'::foo::funclocal at foo" and
29096         "print 'scope1.c'::foo::funclocal_bss at foo" and
29097         "print 'scope1.c'::foo::funclocal_ro at foo" and
29098         "print 'scope1.c'::bar::funclocal at foo" and
29099         "print 'scope0.c'::filelocal_ro" and
29100         "print 'scope1.c'::filelocal" and
29101         "print 'scope1.c'::filelocal_bss" and
29102         "print 'scope1.c'::filelocal_ro" and
29103         "print 'scope1.c'::foo::funclocal" and
29104         "print 'scope1.c'::foo::funclocal_bss" and
29105         "print 'scope1.c'::foo::funclocal_ro" and
29106         "print 'scope1.c'::bar::funclocal" and
29107         "print 'scope1.c'::bar::funclocal_bss"
29108         to only be xfail'd when not compiled with gcc.
29109         Add rs6000-*-* xfail for
29110         "print 'scope0.c'::filelocal_bss before run"
29111         when compiled with gcc.
29112         (test_at_main): Add rs6000-*-* xfail for
29113         "print filelocal_ro in test_at_main"
29114         when compiled with gcc.
29115         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29116         Add rs6000-*-aix* xfail for
29117         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29118         "ptype t_char_array",  not compiled with gcc.
29119         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
29120         xfail for "list foo (in include file)" when gcc compiled.
29121         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29122         (integral_args): Add rs6000-*-* xfail for
29123         "run to call0a" if not compiled with gcc.
29124         (unsigned_integral_args): Add rs6000-*-* xfail for
29125         "run to call1a" if not compiled with gcc.
29126         (float_and_integral_args):  Add rs6000-*-* xfail for
29127         "run to call2a" if not compiled with gcc and for
29128         "continue to call2b" for any compiler.
29129         Add rs6000-*-* xfail to
29130         "print f1 after run to call2a" for gcc compiled.
29131         (discard_and_shuffle): Add rs6000-*-* xfail for
29132         "run to call6a".
29133         (shuffle_round_robin): Add rs6000-*-* xfail for
29134         "backtrace from call7a" if not compiled with gcc.
29135         Add rs6000-*-* xfail for
29136         "backtrace from call7b" if compiled with gcc.
29137         (call_after_alloca): Add rs6000-*-* xfail for
29138         "print c in call_after_alloca" and
29139         "print s in call_after_alloca" and
29140         "backtrace from call_after_alloca_subr"
29141         if not compiled with gcc.
29142         (localvars_in_indirect_call): Add rs6000-*-* xfail for
29143         "print c in localvars_in_indirect_call" and
29144         "print c in localvars_in_indirect_call" and
29145         "backtrace in indirectly called function" and
29146         "stepping into indirectly called function"
29147         if not compiled with gcc.
29148         (localvars_after_alloca): Add rs6000-*-* xfail for
29149         "print c after runto localvars_after_alloca" and
29150         "print s after runto localvars_after_alloca" and
29151         "print i after runto localvars_after_alloca" and
29152         "print l after runto localvars_after_alloca"
29153         for all compilers.
29154         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29155         than whatis-info.exp.
29156         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29157         than opaque-info.exp.
29158         Setup rs6000-*-* xfail for
29159         "ptype on opaque struct pointer (statically)" and
29160         "ptype on opaque struct pointer (dynamically)" when
29161         not compiled with gcc.
29162         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29163         rather than callf-info.exp.
29164         (do_function_calls):  Add clear_xfail for rs6000-*-* for
29165         "p t_float_values2(3.14159,float_val2)".  Seems to work
29166         fine there, both with xlc and gcc.  Need to find out what
29167         it is doing right and fix other platforms.
29168         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29169         "call inferior func with struct - returns int",
29170         "call inferior func with struct - returns long",
29171         "call inferior func with struct - returns float",
29172         "call inferior func with struct - returns double",
29173         "call inferior func with struct - returns char *",
29174         but only if not gcc compiled (presumes xlc compiled).
29175         Change rs6000-*-* xfails for
29176         "call inferior func with struct - returns char" and
29177         " call inferior func with struct -  returns short" to only
29178         xfail if not using gcc.
29179         (clean mostlyclean):  Remove *.ci and *.tmp files.
29180         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29181         than templ-info.exp.
29182         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
29183         Add rs6000-*-* xfail for "up to foo in langs.exp"
29184         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29185         when not gcc compiled.
29186
29187 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29188
29189         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29190         * gdb.base/corefile.exp: Likewise.
29191         * gdb.base/list.exp: Likewise.
29192         * gdb.base/scope.exp: Likewise.
29193         * gdb.base/siganls.exp: Likewise.
29194
29195         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
29196         compiler output.
29197         * gdb.base/whatis.exp: Likewise.
29198
29199 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
29200
29201         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29202         failure (opcode table has been fixed to match reality).
29203
29204 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
29205
29206         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29207         "call inferior func with struct - returns char",
29208         "call inferior func with struct - returns short"
29209
29210         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29211         "print 'scope0.c'::filelocal at main",
29212         "print 'scope0.c'::filelocal_bss in test_at_main",
29213         "print 'scope0.c'::filelocal at foo",
29214         "print 'scope0.c'::filelocal_bss in test_at_foo",
29215         "print 'scope0.c'::filelocal at bar",
29216         "print 'scope0.c'::filelocal_bss in test_at_bar"
29217
29218         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29219         in source file 1".  This bug seems to have been fixed with both
29220         gcc and native cc (was native assembler bug?).
29221
29222 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
29223
29224         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29225         "backtrace through signal handler" to "i*86-*-sysv4*".
29226         * gdb.base/signals.exp: Add xfail for "'next' behaved as
29227         continue" case.  Add "known SVR4 bug" to fail message.
29228         Add "i*86-*-bsdi2.0" xfail for "handle all print".
29229         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29230         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29231         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29232         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29233         "up to foo in langs.exp", "show language at foo in
29234         langs.exp", "up to cppsub_ in langs.exp", "show
29235         language at cppsub_ in langs.exp", "up to fsub in
29236         langs.exp", and "show language at fsub in langs.exp".
29237         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29238         "bactrace in corefile.exp".
29239         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29240         "call inferior function with struct - returns float" and
29241         "call inferior function with struct - returns double".
29242
29243 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
29244
29245         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29246         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29247         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29248         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29249
29250 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
29251
29252         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29253         (or overriden) "CHILL" macro rather then bare "gcc".
29254         Also look for ../../gcc/xgcc since that is what we will
29255         actually need, not "Makefile".  Remove following assignment
29256         of CHILL to CHILL_FOR_TARGET because that results in
29257         recursive definition.
29258
29259 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
29260
29261         * gdb.base/corefile.exp:  Change xfail for backtrace in
29262         corefile.exp from linuxaout to all linux.
29263         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
29264         cases where we miss the breakpoint at the signal handler
29265         for some reason.  Setup xfail for linuxoldld/linuxaout and
29266         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
29267         hitting SIGURG breakpoint.
29268         * gdb.base/signals.exp:  Setup xfail for "next" acting like
29269         continue to add linuxoldld.  Setup xfail for all linux for
29270         "next to handler in signals_tests_1", "backtrace in
29271         signals_tests_1", "continue to func1", "pass SIGUSR1",
29272         and continue to handler".
29273
29274 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
29275
29276         * Update all FSF addresses except those in COPYING* files.
29277
29278 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
29279
29280         * gdb.base/a2-run.exp: Change messages to be more explicit about
29281         the status of args, and quote binfile in results.
29282
29283 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
29284
29285         * gdb.base/callfuncs.exp: Add tests for passing structs to
29286         inferior functions and return various types.
29287         * gdb.base/callfuncs.c: Add functions to receive a struct
29288         and return a member of the struct, in various types.
29289
29290 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29291
29292         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
29293
29294 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
29295
29296         * config/vxworks29k.exp: New file, sources vxworks.exp.
29297
29298 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29299
29300         * config/gdbremote.exp: New file.  Testing framework using
29301         gdbserver.
29302
29303 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
29304
29305         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29306         "call function when asleep" and "send end of file".
29307         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29308         for "backtrace in corefile.exp".
29309         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29310         for "backtrace through signal handler".
29311         * gdb.base/corefile.exp: Make sure we actually generate a core file
29312         before trying the core tests.  Some systems allow the user to suppress
29313         generation of core files and default to that (linux for example).
29314         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29315         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
29316
29317 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29318
29319         * gdb.threads: New directory with some crude multi-threaded
29320         gdb tests (step.exp and step2.exp).
29321         * config/mt-lynx (STEP_EXECUTABLE): Define.
29322         (THREADFLAGS): Define.
29323
29324 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
29325
29326         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29327
29328         * gdb.base/signals.exp: Disable whole file for lynx until
29329         further notice.
29330
29331         * gdb.base/signals.exp: xfail test where "next" acts like
29332         "continue" for lynx.
29333
29334         * gdb.base/interrupt.exp: xfail test for calling function while
29335         inferior is asleep for lynx.
29336
29337         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29338         than one cr-lf  after each command.
29339
29340 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29341
29342         * configure.in:  Reinstate setting of stabsdirs variable, fix
29343         typo in setting up configdirs for native builds.
29344
29345         * gdb.base/return.exp:  Fix typo in return double test.
29346         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
29347         compiler from optimizing them away.
29348
29349 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
29350
29351         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29352         sequences to be echo'd by gdb when using gdb_test.
29353         * gdb.chill/chexp.exp: Likewise.
29354         * gdb.fortran/exprs.exp: Likewise
29355
29356 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
29357
29358         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29359         after the inferior gdb has started.
29360
29361         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29362         after each command.
29363         * gdb.base/funcargs.exp: Likewise.
29364         * gdb.base/gdbvars.exp: Likewise.
29365         * gdb.base/interrupt.exp: Likewise.
29366         * gdb.base/list.exp: Likewise.
29367         * gdb.base/watchpoint.exp: Likewise.
29368         * gdb.c++/demangle.exp: Likewise.
29369         * gdb.c++/inherit.exp: Likewise.
29370         * gdb.chill/chexp.exp: Likewise.
29371         * gdb.fortran/exprs.exp: Likewise.
29372
29373         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29374         test if we can't handle IO to/from the inferior.
29375
29376         * gdb.c++/misc.exp: Always check for a program already being
29377         started after sending a "run" command to gdb.
29378
29379         * gdb.base/twice.exp: Start with a fresh gdb.
29380
29381         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29382         only depend on gdb's expression code, not the chill runtime.
29383
29384         * gdb.base/return.c: Put return values into variables so we
29385         can have gdb print them rather than depending on the program
29386         to print them.
29387         * gdb.base/return.exp: Corresponding changes.
29388
29389         * lib/gdb.exp: Provide default value for noinferiorio.
29390         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29391         the inferior.
29392
29393         * gdb.base/break.exp: Always check for a program already being
29394         started after sending a "run" command to gdb.
29395         (text_next_with_recursion): Don't check the output from the
29396         program's printf statement.  Instead just make sure the program
29397         exited.
29398
29399         * gdb.base/commands.exp: Protect tests which need arguments with
29400         $noargs conditionals.
29401
29402 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29403
29404         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
29405         of structure member arrays to match gdb/valops.c:value_addr change.
29406
29407 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
29408
29409         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29410         cases.
29411
29412 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
29413
29414         * configure.in (configdirs):  Remove gdb.chill from default list
29415         of subdirs and then add it back in only if doing a native build.
29416         The current chill compiler does not yet work in any cross build.
29417         * Revert all signal changes from Jul 6.
29418         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
29419         for sh-hms targets, allowing these tests to link, with no other
29420         changes.  Testing is suppressed by setting "nosignals" in site.exp.
29421
29422 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
29423
29424         * configure.in (signaldirs): Define and add to configdirs for all
29425         targets except some specific ones that are known to not support signals.
29426         Also clean up formatting.
29427         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
29428         (signals, sigall):  Remove rules to build.
29429         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29430         Moved to new gdb.signals directory.
29431         * gdb.signals: New test directory.
29432         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29433         signals.c signals.exp}:  New or moved files.
29434
29435 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
29436
29437         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29438
29439 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
29440
29441         * gdb.base/return.exp:  Xfail `return double' test failure
29442         on at least Solaris 2.3 and handle future/past versions on
29443         a case by case basis as appropriate.  Also update message
29444         to include i*86 failures.
29445
29446 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29447
29448         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29449
29450         * lib/gdb.exp: Fix comment which erroneously identified
29451         gdb_file_cmd as gdb_load (the 19 May change was in fact to
29452         gdb_file_cmd not gdb_load).
29453         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29454
29455         * gdb.base/setvar.exp: Make test names consistent between pass and
29456         fail cases.  Use gdb_test more.
29457
29458 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29459
29460         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29461
29462 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29463
29464         * gdb.base/help.exp:  Fix expected help string for `show commands'.
29465
29466 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
29467
29468         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29469
29470         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29471         of a text section.
29472
29473 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
29474
29475         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
29476         that loop eventually terminates.  Fix Connection refused logic so
29477         that testsuite will expire nicely.
29478
29479 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
29480
29481         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29482         config/rom68k.exp:  New tcl glue for the appropriate monitors.
29483         These all just end up calling monitor.exp.
29484         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
29485         refused' by retrying.  Cleanup some timeout issues.
29486         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
29487         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
29488         callers don't have to set/restore global timeout variable.
29489
29490         * The following set of changes centralizes management of the global
29491         timeout variable.  This way, it can be set in one target dependent
29492         place instead of dozens of places scattered throughout the test suite.
29493         If you need to lengthen a timeout, then you should either set timeout
29494         in one of the config/{target}.exp files, or multiply it by a factor.
29495         Setting it to an absolute value is always going to lose for some
29496         targets.
29497         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
29498         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
29499         * gdb.base/funcargs.exp:  Don't set timeout.
29500         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
29501         * gdb.base/printcmds.exp (test_print_string_constants
29502         test_print_array_constants):  Don't set timeout.
29503         * gdb.base/ptype.exp:  Don't set timeout.
29504         * gdb.base/recurse.exp:  Don't set timeout.
29505         * gdb.base/return.exp:  Don't set timeout.
29506         * gdb.base/watchpoint.exp:  Don't set timeout.
29507         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
29508         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
29509
29510 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
29511
29512         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29513
29514 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29515
29516         * lib/gdb.exp: Disable chill tests for irix5.
29517
29518 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29519
29520         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
29521         each test pass or fail.
29522
29523 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29524
29525         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29526         xlc not gcc.
29527
29528 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
29529
29530         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
29531
29532 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
29533
29534         * config/est.exp:  Fix copyright and comments.  Remove dead code.
29535         Use targetname, serialport and baud variables instead of fixed
29536         constants.
29537         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
29538         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
29539
29540 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29541
29542         * gdb.base/watchpoint.exp: Don't run
29543         test_watchpoint_triggered_in_syscall for sunos.
29544
29545 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29546
29547         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29548         they don't seem to exist.  Do include stdio.h.
29549
29550 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29551
29552         * gdb.base/a1-selftest.exp: Add alpha xfail.
29553
29554 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29555
29556         * gdb.base/watchpoint.c (main): Prompt before calling read().
29557         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29558         Revise accordingly.  Remove cruft about sending "123" several
29559         times, until it gets noticed.  Clean up the "print buf[0]" stuff
29560         so that it passes or fails, and waits for prompts in the usual way.
29561
29562 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29563
29564         * gdb.base/recurse.exp: Fix comment.
29565
29566         * TODO: Remove item about printing variables in nodebug.exp.  Add
29567         item about enabling tests which are only run on some targets.
29568
29569         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29570         fail, make test names unique, use new gdb_test convention
29571         regarding pattern, use gdb_test more, etc.).
29572
29573         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29574         fail, make test names unique, etc.).
29575
29576 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29577
29578         * gdb.base/nodebug.c:  Change return type of top and middle to
29579         short.
29580         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
29581         are fixed by the recent mdebugread.c changes. Allow `short ()'
29582         as type for top and middle.
29583
29584 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29585
29586         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
29587         nearly as I can tell, the whole thing was an accident in Stu's
29588         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29589         to replace a send/expect pair with gdb_test, but ended up only
29590         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
29591         of 30 Mar 1995 took care of it, but left this vestigial comment
29592         which I am now nuking.
29593
29594 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29595
29596         * gdb.base/break.exp: Look for different line number for
29597         breakpoint at main depending on usestubs.
29598
29599 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29600
29601         * gdb.base/list.exp:  Adjust some alternate expect patterns to
29602         match recent list0.c change. Add alternate expect pattern for
29603         output from `list default lines around main' for optimizing
29604         compilers.
29605
29606 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29607
29608         * lib/gdb.exp: If nosignals is not set, set it to 0.
29609
29610 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
29611
29612         * config/slite-gdb.exp: Responds to load symbol table prompt.
29613         * gdb.base/break.exp: Adjust line number, fix rerun.
29614         * gdb.base/langs0.c: Add #ifdef usestubs.
29615
29616 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
29617
29618         * gdb.base/list.exp: Adjust line contents after adding new lines in
29619         list0.c. Also fix a syntax error.
29620
29621         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29622         * gdb.base/break.exp: ditto.
29623         * gdb.base/list.exp: ditto.
29624         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29625         * gdb.base/run.c: ditto.
29626         * gdb.base/list0.c: ditto.
29627         * gdb.base/funcargs.c: ditto.
29628
29629 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
29630
29631         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
29632         $targetname, $serialport and $baud instead of hardwired variables.
29633         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
29634         target doesn't support signals.
29635
29636 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
29637
29638         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29639
29640 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29641
29642         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
29643         Don't rely on the value of an auto variable before it has been
29644         initialized.  Use gdb_test more.
29645
29646 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29647
29648         * lib/gdb.exp (default_gdb_version): A version number must start
29649         with a digit, but other than that contains all characters up to
29650         the first whitespace character.
29651
29652 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29653
29654         * gdb.base/commands.exp (breakpoint_command_test): New tests.
29655
29656 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29657
29658         * gdb.c++/*.exp: Warn if executable does not exist.  The original
29659         reason for skipping the warning was that configure.in sometimes
29660         intentionally skipped building the executables but the tcl code
29661         had no way of knowing.  That (a) was always bogus with respect to
29662         error handling, (b) is no longer true (right now there is no way
29663         to skip C++ tests).
29664
29665         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29666
29667 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29668
29669         * gdb.base/list.exp:  Add expect patterns for output from
29670         SunPRO compiled executables.
29671         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
29672         types.
29673
29674 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29675
29676         * gdb.base/break.exp (test_next_with_recursion): Accept any line
29677         number (we are already testing that the correct source line text
29678         gets printed).
29679
29680         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
29681         that is what is intended, but something needed to be done to get
29682         sunos4 native working again.
29683
29684         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29685
29686         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29687         apparently went with a (very) old xfail.
29688
29689 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
29690
29691         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29692         runto_main is a proc in gdb.exp that will do 'step' for target use
29693         stubs.
29694         * gdb.base/exprs.exp: ditto.
29695         * gdb.base/interrupt.exp: ditto.
29696         * gdb.base/opaque.exp: ditto.
29697         * gdb.base/printcmds.exp: ditto.
29698         * gdb.base/ptype.exp: ditto.
29699         * gdb.base/scope.exp: ditto.
29700         * gdb.base/setvar.exp: ditto.
29701         * gdb.base/signals.exp: ditto.
29702         * gdb.base/twice.exp: ditto.
29703         * gdb.c++/classes.exp: ditto.
29704         * gdb.c++/inherit.exp: ditto.
29705         * gdb.c++/templates.exp: ditto.
29706         * gdb.base/break.exp: no run and hit main for stubs. Change line
29707         numbers for breakpoints and info breakpoint.
29708         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29709         breakpoint().
29710         * gdb.base/callfuncs.c: ditto.
29711         * gdb.base/exprs: ditto.
29712         * gdb.base/interrupt.c: ditto.
29713         * gdb.base/opaque0.c: ditto.
29714         * gdb.base/printcmds.c: ditto.
29715         * gdb.base/ptype.c: ditto.
29716         * gdb.base/scope0.c: ditto.
29717         * gdb.base/setvar.c: ditto.
29718         * gdb.base/signals.c: ditto.
29719         * gdb.base/twice.c: ditto.
29720         * gdb.c++/misc.cc: ditto.
29721         * gdb.c++/templates.cc: ditto.
29722
29723 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29724
29725         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29726
29727         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29728         somewhere between `read' and `main.c'.  I'm pretty sure the
29729         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29730         and it isn't particularly useful.
29731
29732         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
29733
29734 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29735
29736         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29737
29738 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
29739
29740         * config/mt-slite: add LIBS and -nostdlib.
29741         * config/slite-gdb.exp: add this new file to support sparclite target.
29742
29743 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
29744
29745         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29746
29747         * gdb.base/a2-run.exp: Change argument to istarget from
29748         "*-*-vxworks" to "*-*-vxworks*".
29749         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29750
29751 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
29752
29753         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29754         will not runto main but do a 'step' to step out of breakpoint().
29755         * config/mt-slite: add -Dusestubs.
29756
29757 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29758
29759         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29760         instead of just @.
29761
29762         * gdb.base/signals.exp: Add test for "handle all print".
29763         * TODO: Remove "handle all print".  Also remove item about
29764         checking copyright date (I don't like the idea of a spurious FAIL
29765         based on when we run the tests).
29766
29767         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
29768         for SunOS4 (reason for failure not investigated).  Remove
29769         redundant test for $binfile.
29770
29771         * gdb.base/nodebug.c (array_index): Call malloc.
29772
29773         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29774
29775 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
29776
29777         * gdb.base/recurse.exp: Update gdb_test invocation to use new
29778         conventions and slightly simplify the matching regexp.
29779
29780 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29781
29782         * gdb.base/break.exp: Update gdb_test invocation to use new
29783         convention.
29784
29785         * lib/gdb.exp: If noargs is not set, set it to 0.
29786
29787         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
29788         tests unique.
29789
29790         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29791
29792 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29793
29794         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29795         one argument of type "<non-float parameter>".
29796
29797 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
29798
29799         * config/rom68k.exp:  New file to support Motorola IDP board.
29800         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
29801         * gdb.base/break.c:  Change things around so that this program
29802         doesn't depend upon args.  This is necessary to make remote
29803         targets work (in general, they can't take args).
29804         * gdb.base/break.exp:  Don't try to send args to program.  Don't
29805         expect output.  Also, replace lots of code with gdb_test.
29806
29807 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29808
29809         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29810         printing of '\'' (which is what the comment says we are testing,
29811         even though we were not), not '''.
29812         (test_integer_literals_rejected): Test that printing ''' is an error.
29813
29814         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29815         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29816         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29817         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29818         Use gdb_test not test_print_accept.
29819         * lib/gdb.exp: Remove test_print_accept.
29820
29821         * gdb.base/signals.exp (signal_tests_1): Make pass message
29822         consistent with fail message.
29823
29824         * gdb.base/whatis.exp: Remove xfails for printing char vs.
29825         unsigned char; the bug (PR 1821) is fixed.
29826
29827         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29828
29829         * gdb.base/scope.exp (test_at_localscopes): Call pass for
29830         successful tests--makes xfailing them work right.
29831
29832 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29833
29834         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29835         only \r\n, not .*.  The test can pass .* as the last thing in
29836         $pattern if that is what it wants.  In addition to providing this
29837         flexibility, this change should speed up pattern matching in cases
29838         where the pattern already ended with .* (there were a number of
29839         them).  This change also helps catch bad patterns--in the old
29840         scheme the typo "char \*" instead of "char \\*" would pass.  Now
29841         it is caught.
29842         * Many .exp files: Update callers.
29843
29844         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
29845         clearer and does not spuriously match multiple ('s.  Likewise for
29846         ) and *.
29847
29848         * gdb.base/nodebug.exp: Test ability to call a function and pass
29849         it a string (even with no debugging info).
29850
29851         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29852         "p '\'", which is the same as "p ''" once tcl gets done with
29853         quoting, to "p '\\'", which I suspect is what is intended (one
29854         backslash gets sent to GDB).
29855
29856         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29857
29858 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29859
29860         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
29861         1817) was fixed literally years ago.
29862
29863 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29864
29865         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
29866         test, it causes stepping out of call_after_alloca_subr with
29867         optimizing compilers.
29868         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
29869         fails.
29870
29871         * gdb.c++/templates.exp:  Source templ-info.exp only if
29872         the templates executable exists.
29873
29874         * gdb.c++/misc.cc (class Contains_static_instance,
29875         class Contains_nested_static_instance),
29876         gdb.c++/classes.exp (test_static_members):  Test printing of
29877         a class that contains a static instance of the class.
29878
29879 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29880
29881         * gdb.base/langs2.c (cppsub_): Don't prototype.
29882         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29883         only, I believe).
29884
29885 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29886
29887         * lib/gdb.exp (skip_chill_tests): New procedure.
29888
29889         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29890
29891 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
29892
29893         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29894         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
29895
29896 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29897
29898         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29899
29900         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29901         disassemble 8, not 16, instructions for part 4.
29902
29903         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
29904         support the latter anymore.
29905
29906         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29907         -DNO_PROTOTYPES.
29908         * gdb.base/callfuncs.c: Control use of prototypes based on
29909         NO_PROTOTYPES, not __STDC__.
29910         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29911         t_float_values2 tests if prototypes in use.
29912
29913         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29914         t_double_values):  When checking differences against DELTA, check
29915         that difference is within the range (-DELTA,DELTA), not just
29916         (-infinity,DELTA).
29917
29918 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
29919
29920         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29921         'file' command firts, then 'target', then 'load', this is due to gdb
29922         target set up.
29923         * config/mips-gdb.exp: Fix a couple regular exp bugs.
29924
29925 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
29926
29927         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29928         FP load/store variants.
29929         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29930
29931 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
29932
29933         * gdb.base/term.exp: Do not give a warning if not native, it is
29934         not an abnormal condition.
29935
29936 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
29937
29938         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29939         t_char_array".
29940
29941 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
29942
29943         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29944         are getting the version number.
29945
29946         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29947         if not native, it is not an abnormal condition.
29948
29949 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29950
29951         * lib/gdb.exp: Just use "file exists", rather than undocumented
29952         dejagnu procedure "findfile".
29953
29954 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
29955
29956         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29957           (LDFLAGS): Set to -Xlinker -Ur.
29958
29959         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29960           Removed, these values are set by lib/gdb.exp.
29961
29962         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29963
29964 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
29965
29966         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29967           of replicating gdb startup code.
29968
29969         * config/mt-vxworks (LDFLAGS): Set to -r.
29970           (CFLAGS_FOR_TARGET): Removed.
29971
29972         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29973           (gdb) and gdb for vxworks uses (vxgdb).
29974
29975         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29976           executable is not in the tree and host != target, use sed and
29977           program_transform_name to determine the gdb name used by the
29978           target.
29979
29980         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29981           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29982
29983 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29984
29985         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29986         floats, chars, and shorts where there are ANSI-style function
29987         definitions.
29988
29989         * gdb.base/langs.exp, gdb.base/langs*: New test.
29990         * gdb.base/Makefile.in: Build it.
29991         * TODO: Remove item about checking that C names don't get C++
29992         demangling applied; this test tests it.
29993
29994 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29995
29996         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29997         went with the const70 xfail.  The xfail went away a year ago.
29998
29999         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30000
30001         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
30002         for hp300.
30003
30004         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30005
30006         * gdb.base/a1-selftest.exp: Don't run on hp300.
30007
30008 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30009
30010         * Makefile.in (site.exp): Set host_alias and target_alias as well
30011         as host_triplet and target_triplet.
30012
30013 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30014
30015         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30016
30017         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30018         places as other ecoff systems).
30019
30020         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30021         ultrix.
30022
30023 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30024
30025         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30026         remove them.
30027         * gdb.base/nodebug.exp: Accept "function" in addition to "text
30028         variable and "variable" in addition to "data variable".
30029         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30030
30031         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30032         2.
30033         * gdb.base/list1.c (long_line): Add additional statement at start
30034         of function.
30035         * gdb.base/list.exp (test_forward_search): Update line number to
30036         reflect new statement.
30037
30038 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30039
30040         * gdb.base/signals.exp:  Reinitialize searched source directories
30041         after gdb_start call.
30042
30043 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
30044
30045         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30046         * gdb.stabs/Makefile.in: Likewise.
30047
30048         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30049         change.  Instead split the tests into smaller pieces.
30050         * gdb.disasm/hppa.s: Corresponding changes.
30051
30052 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30053
30054         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30055         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
30056
30057         * gdb.base/funcargs.exp: Modify many tests so that every test
30058         either passes or fails.  Make some test names unique.
30059
30060 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30061
30062         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30063         Call stty to set interrupt character.
30064
30065         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30066         for HP assembler versus GNU assembler based on actual behavior of
30067         $(CC), rather than assuming that $(AS) is always the GNU assembler.
30068
30069         * TODO: Suggest a few more stepping tests.
30070
30071 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
30072
30073         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30074         restart GDB for h8300 after a continue.
30075         (return): Add pattern to match a29k-udi behavior.
30076         * gdb.base/nodebug.exp: Remove obsolete comment.
30077         * gdb.base/regs.exp: New file, testing of register displays.
30078         * gdb.base/return.exp: Fix typo in reference to $objdir.
30079         * gdb.base/whatis.exp: Always start with a fresh GDB.
30080
30081 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30082
30083         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30084         higher, these tests generate a lot of output.
30085
30086 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30087
30088         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
30089         code following the catch silently ignored some errors; without the
30090         catch they should be thrown like any other tcl error.  Also, the
30091         catch used "" instead of {} which meant all the callers who wanted
30092         to include one of the characters "[]$ had to quote it an extra time.
30093         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30094         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30095         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30096         Remove extra quoting.
30097
30098 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
30099
30100         * gdb.base/commands.exp: Make test names unique; every test either
30101         passes or fails.  Update some comments.
30102
30103         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30104
30105 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30106
30107         The following fixes a FAIL caused by the fact that the alpha stabs
30108         configuration didn't use the ".if alpha" code in weird.def.
30109         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30110         bit pointer, so the 32 bit version works even on the alpha.
30111         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30112         Remove the stuff which allowed us to have separate versions for
30113         alpha and everything else.
30114
30115         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30116         regexp which "info func operator\[\](" is supposed to match.  Fix
30117         string to send to GDB.  Note that GDB still doesn't work right.  Add a
30118         new test for "info func .perator\[\](" which GDB does handle correctly.
30119
30120         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30121
30122 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30123
30124         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30125         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30126         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30127         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30128         it makes the tests harder to understand and confuses test-o-matic.
30129         The preferred style is that each test provides a PASS or a FAIL,
30130         and has a unique message (e.g. "continue #54" not just "continue")
30131         which is the same for the pass and the fail.
30132         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30133         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30134         to lib/gdb.exp.
30135         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
30136         prt_accept which was basically the same thing.  Likewise for
30137         test_print_reject and prt_reject.
30138         * lib/gdb.exp (test_print_reject): Add some more error message
30139         patterns to match from the former printcmds.exp (prt_reject).
30140         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30141         One defect of the passcount stuff is that some of it failed to
30142         report XPASS where appropriate.
30143         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30144         stuff before and after arg in expected pattern.
30145         (test_paddr_operator_functions): Re-do test without print_addr_of;
30146         this is the only test which seems to want extra stuff there.
30147
30148 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30149
30150         * gdb.base/nodebug.exp: Update new tests to reflect improved
30151         wording of gdb output.
30152
30153         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30154         and "ptype" work on variables in files compiled without -g.
30155         Replaces commented out "maint print msymbol" tests.
30156
30157 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30158
30159         * gdb.base/setvar.c (dummy): Call malloc.
30160
30161         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30162         losing with the irix4 sed.
30163
30164         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30165         ALRM" on irix4.
30166
30167 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30168
30169         * TODO: Remove items about corefile.exp testing new exec-file and
30170         backtrace; both are now done.  Add items about printing enums.
30171
30172 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30173
30174         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30175         "get signal $thissig" test fails.
30176
30177         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30178
30179 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30180
30181         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30182         compiler warning with dec alpha compiler.
30183
30184         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30185         extra \n from gdb_test call (this explains why the prompt test
30186         that I removed yesterday was there).
30187         (user_defined_command_test): Remove extra \n and prompt test.
30188
30189         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30190         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30191         doesn't exist.
30192         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30193         Also remove alpha workaround, which turns out to be because
30194         SIGABRT == SIGLOST.
30195
30196         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30197
30198         * gdb.base/help.exp: Don't test "help show".
30199
30200 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30201
30202         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30203         "set print address" is on.
30204         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30205         pass prompt to gdb_test; gdb_test already looks for the prompt.
30206
30207         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30208
30209         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
30210         was a vestige of the manual TESTSTRATEGY, and the purpose of it
30211         was to make sure that gdb can read a core file.  But (a) the "read
30212         the corefile" part didn't make it to a1-selftest.exp, we just
30213         delete the corefile after creating it, and (b) we test reading
30214         corefiles in corefile.exp anyway.  Also, this test left around a
30215         xgdb process on Solaris.
30216
30217         * gdb.base/corefile.exp: Also test backtrace.
30218
30219 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
30220
30221         * gdb.base/commands.exp: Test a simple user defined command with
30222         arguments and if/while statements; verify the full user command is
30223         printed by "show user".
30224
30225         * gdb.base/commands.exp: Test if/while commands as part of a
30226         breakpoint command list; verify they appear in breakpoint
30227         information.
30228
30229 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30230
30231         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30232         than by dividing by zero.
30233
30234 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
30235
30236         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30237         performing an inferior call with watchpoints enabled.
30238         * gdb.base/watchpoint.c (main): Delete second unnecessary read
30239         call.
30240
30241 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30242
30243         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30244         of "file" command.
30245
30246         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30247         Add additional pattern for when "int operator int(void);" appears
30248         in a different order.
30249
30250 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
30251
30252         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30253
30254         * gdb.base/help.exp: Replace most of docstrings for "info signals"
30255         and "signal" with ".*".
30256
30257 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
30258
30259         * TODO: Add note about "handle all nostop".
30260
30261         * gdb.base/{sigall.c, sigall.exp}: New test.
30262         * gdb.base/Makefile.in: Add it.
30263
30264 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
30265
30266         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30267         when invoking GDB, suppresses any windowing interface.
30268
30269 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
30270
30271         * config/sim-gdb: New file, simulator testing support.
30272
30273 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
30274
30275         * gdb.base/interrupt.exp: Test calling func1 twice.
30276
30277 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
30278
30279         * gdb.base/list.exp (test_forward_search): Set timeout higher
30280         when we'll be getting lots of output from gdb.
30281
30282         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30283         "init_malloc" to after the expect statement.  Run it if that
30284         regexp is taken, but also for two others which happen if source
30285         cannot be found.
30286
30287 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30288
30289         * gdb.base/printcmds.exp: New test, for printing register before
30290         program is running.
30291
30292 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30293
30294         * gdb.base/list.exp:  Correct some alternate expect patterns
30295         to reflect changes in list1.c.
30296
30297 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30298
30299         * TODO: Add item regarding large frames.
30300
30301         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30302
30303         * TODO: Remove item about enabling return.exp; it
30304         is enabled.  Suggest a few more "return" tests.
30305
30306 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30307
30308         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
30309         anonymous unions.
30310
30311 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30312
30313         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30314         and pr-5646.o, so "make" is the same as "make all", not "make
30315         pr-4975.o".
30316
30317 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
30318
30319         * gdb.base/list.exp: Adjust expectations to reflect changes in
30320         list1.c.
30321         (test_forward_search): New test proc.
30322         * gdb.base/list1.c (long_line): New function, has long source line.
30323
30324 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
30325
30326         * gdb.base/a1-selftest.exp: Change initial stepping to know about
30327         additional line of code that was added.
30328
30329 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
30330
30331         * gdb.disasm/hppa.s: Break the large branching tests into smaller
30332         tests so as not to overflow expect's input buffers.
30333         * gdb.disasm/hppa.exp: Corresponding changes.
30334
30335 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30336
30337         Beginnings of template debugging tests.
30338         * gdb.c++/templ-info.cc:  New file to test for template
30339         debugging capability of the compiler.
30340         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
30341         templ-info.cc.
30342         * gdb.c++/templates.cc:  Add explicit template instantiations
30343         to enable compiling with -fno-implicit-templates. Add destructor
30344         and 'value' method to T5 class for template tests.
30345         * gdb.c++/templates.exp:  Add testcases for printing of template
30346         types, setting breakpoints on template methods and calling a
30347         template method.
30348
30349 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
30350
30351         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30352         branch target since some assemblers (gas-2.5)  may emit a
30353         relocation for the branch instead of resolving it in the
30354         assembler.
30355
30356 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30357
30358         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
30359         through signal handler.
30360
30361 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30362
30363         * configure.in (*-*-netware): Use config/mt-netware.
30364
30365         * config/mt-netware: New file.
30366         * config/mt-i386-netware: Removed, separate configs for different
30367           netware architectures are no longer needed now that we have
30368           --with-headers.
30369
30370 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30371
30372         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
30373         by the recent changes to use ANSI C arithmetic conversions.
30374
30375 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30376
30377         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30378         bug involving using inferior_pid to figure out whether to select a
30379         frame.
30380
30381 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
30382
30383         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30384         match the current disassembler output.
30385
30386 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
30387
30388         * gdb.fortran/exprs.exp: Expect VOID instead of void.
30389         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30390         types, expect "int" as type of integer values (for now).
30391
30392 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
30393
30394         * gdb.base/commands.exp: New tests for if/while commands.
30395
30396 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30397
30398         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
30399         by .*, since hex values have different syntax in Chill mode.
30400
30401 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30402
30403         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
30404         linefeed from expect pattern for repeated types with indices > 9.
30405
30406 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
30407
30408         First part of Fortran test suite.
30409         * gdb.fortran: New directory.
30410         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30411
30412 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30413
30414         * gdb.base/default.exp:  Update expect pattern for load command
30415         without arguments.
30416
30417 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
30418
30419         * configure.in: Change i386 to i[345]86.
30420         * gdb.base/configure.in: Likewise.
30421         * gdb.c++/configure.in: Likewise.
30422         * gdb.chill/configure.in: Likewise.
30423
30424 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
30425
30426         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30427         patterns, since that is not a valid context for comments.
30428
30429 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
30430
30431         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30432         repeated types and repeated types with indices > 9.
30433
30434 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
30435
30436         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30437         2417; old bug has been fixed.
30438
30439 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
30440
30441         * gdb.base/interrupt.exp: When trying to wake up the inferior,
30442         send the newline ourselves instead of assuming gdb_test will do
30443         so when passed an empty input string.
30444
30445         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30446         stabs testcode.
30447
30448 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30449
30450         * lib/gdb.exp (gdb_test): Don't send anything if the first
30451           argument is an empty string.  This makes cases where we want to
30452           match output that is already in expect's buffers (for example,
30453           matching a breakpoint after gdb_run_cmd has been called) work
30454           reliably.
30455
30456 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30457
30458         * config/netware.exp: New file.
30459
30460 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30461
30462         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30463           the -B and -L prefixes so we can find the debugging stub.
30464
30465         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30466           there and we are using the gcc from the tree.
30467
30468         * gdb.base/types.c: Removed.
30469
30470         * gdb.base/configure.in: Look for makefile fragments in ../config.
30471           Recognize i386-*-netware.
30472         * gdb.c++/configure.in: Likewise.
30473
30474 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30475
30476         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
30477         the correct TCL syntax.
30478
30479 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30480
30481         * gdb.base/opaque.exp: use runto instead of messing around with
30482           breakpoints.  Simplify by using gdb_test.
30483
30484         * gdb.base/bitfields.exp: restart between tests on netware targets
30485           because breakpoints aren't relocated after target death.  Run
30486           processes to completion.
30487
30488         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30489
30490 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
30491
30492         * Makefile.in:  Remove extra tabs that confuse some versions
30493         of "make".  Use the newly built gdb to test with by default,
30494         rather than the first one in the tester's search path.
30495
30496 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
30497
30498         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30499
30500         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30501         condition help.
30502
30503 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30504
30505         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30506
30507         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30508           running.
30509         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30510         * gdb.base/funcargs.exp: Likewise.
30511
30512         * gdb.base/bitfields.exp: Simplify by using gdb_test.
30513         * gdb.base/funcargs.exp: Likewise.
30514
30515         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30516           message is "".
30517
30518 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30519
30520         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30521           return,signals,twice}.exp: Handle non-existant binaries
30522           consistantly.
30523
30524         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30525         * gdb.base/Makefile.in: Don't try to generate a core dump, we
30526           might testing a cross development system.
30527
30528 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30529
30530         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30531           runtest script is relative to ${srcdir}, not ${rootdir}.
30532
30533 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
30534
30535         * gdb.base/signals.exp: Allow for optionality of breakpoint
30536         address.
30537
30538 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30539
30540         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30541
30542 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
30543
30544         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30545           for size_t definition.
30546         * gdb.c++/templates.cc: Likewise
30547
30548         * config/mt-i386-netware: New file.
30549
30550         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30551           defined.
30552
30553         * gdb.base/Makefile.in: Added support for systems that name core
30554           files by appending "core" to the program name.
30555         * gdb.base/a1-selftest.exp: Likewise.
30556
30557 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30558
30559         * gdb.base/return.exp:  Add comment and message for `return double'
30560         test failure on Sparc Solaris.
30561
30562 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
30563
30564         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30565
30566 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30567
30568         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
30569         from optimizing them away.
30570         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
30571         patterns to include default constructors and assignment operators,
30572         to match gcc versions beyond 2.5.8. Accept any cplus demangling
30573         character in the output of the virtual base pointer.
30574
30575 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30576
30577         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
30578         expression match in print_addr_of to avoid unintented matches.
30579         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
30580         versions up to 2.5.8.
30581
30582 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30583
30584         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
30585         included file to run under newer versions of expect.
30586         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
30587         consecutive >'s in templates to accomodate recent cplus-dem.c change.
30588         Remove xfail for the virtual table of BDDHookV.
30589
30590 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
30591
30592         * lib/gdb.exp (string_to_regexp): Set a default result.
30593         (default_gdb_start): Fix misleading message.
30594
30595 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
30596
30597         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30598         Remove all CC, etc definitions.
30599         * config/mt-hpux: New file.
30600         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30601         (CFLAGS, LDFLAGS): Define.
30602         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30603
30604         * Makefile.in (site.exp): Don't insert host_os, etc.
30605         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30606         (distclean): Check existence of subdir.
30607         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30608         * gdb.base/Makefile.in: General cleanup and simplification.
30609         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30610         to build executables.   Use default rule to build .o files.
30611         (EXPECT, RUNTEST, CC): Fix relative pathname.
30612         (site.exp): Don't insert host_os, etc.
30613         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30614         and/or SIGUSR1 defined.
30615         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30616         * gdb.c++/Makefile.in: General cleanup and simplification.
30617         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30618         (CFLAGS): Remove.
30619         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30620
30621 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
30622
30623         * gdb.base/recurse.exp: Misc changes to get tests running again
30624         after Kung's changes to the watchpoint code.
30625         * gdb.base/watchpoint.exp: Likewise.
30626
30627 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30628
30629         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
30630
30631 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
30632
30633         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30634         * lib/gdb.exp (default_gdb_start): Define.
30635         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30636         gdb.base/funcargs.exp, gdb.base/opaque.exp,
30637         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30638         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30639         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30640         Don't call gdb_target_udi in between tests.
30641
30642 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30643
30644         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30645         (which was basically just a local version of the same thing).  In
30646         addition to avoiding duplication, gdb_test_exact is faster.
30647         * lib/gdb.exp (gdb_test_exact): Fix typo.
30648
30649         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30650         don't give an error.
30651
30652         * gdb.base/term.exp: Call delete_breakpoints before starting.
30653
30654         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30655         (t10): Add comment.
30656
30657 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
30658
30659         Reorganization of the GDB Test Suite.
30660
30661         * gdb.base: New directory, contains all the basic tests.
30662         * gdb.c++: New directory, tests specific to C++.
30663         * gdb.chill: New directory, tests specific to Chill.
30664         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30665         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30666         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30667         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30668         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30669         t30-31 to chill).
30670         * */gdbme.*: Rename to match appropriate expect scripts.
30671         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30672         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30673         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30674         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30675         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30676         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30677         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30678         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30679         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30680         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30681         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30682         gdb.c++/virtfunc.cc: New names of C++ files.
30683         * gdb.chill/chillvars.ch: New name of Chill file.
30684         * gdb.base/configure.in, gdb.c++/configure.in,
30685         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30686         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30687         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30688         * configure.in (configdirs): Update to reflect directory changes.
30689         (target_abbrev): No longer define for any configuration.
30690         * Makefile.in: Cosmetic improvements to header comments.
30691
30692 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30693
30694         Various changes to gdb.t31:
30695
30696         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
30697         * gdbme.ch:  Make all key-words and predefineds be upper-case.
30698         * chillvars.exp:  Expect key-words and predefinds in upper-case.
30699
30700         * chillvars.exp:  Use gdb_test_exact many places.
30701         Change expected output for arrays (which now includes index labels).
30702
30703         * pr-5020.exp, gdme.ch (module PR_5020):
30704         New test, for PR-5020.
30705
30706 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30707
30708         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
30709         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
30710
30711 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
30712
30713         * Makefile.in:  Fix bit-rot in definitions of CHILL,
30714         CHILL_FOR_TARGET and Chill_LIB.
30715         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
30716         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
30717         CHILL, and CHILL_LIB.
30718
30719 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
30720
30721         * Revert the previous changes.  Please see Rob's directory
30722           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30723
30724 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
30725
30726         * Makefile.in, configure.in, config/mips-gdb.exp,
30727           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30728           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30729           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30730           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30731           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30732           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30733           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30734           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30735           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30736           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30737           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30738           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30739           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30740           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30741           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
30742           changes from 94Q1.
30743
30744 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
30745
30746         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30747           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30748           Rob's new testing fragments.
30749
30750 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
30751
30752         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30753           lib/gdb.exp: Replace error proc calls with perror.
30754
30755 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
30756
30757         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30758         version also, match on casted version strings, and match on
30759         gdb startup case where the line numbers might be messed up.
30760
30761 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
30762
30763         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30764           (CFLAGS): Delete it from here.
30765
30766 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
30767
30768         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30769
30770 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
30771
30772         * Makefile.in (RUNTEST): Default to just "runtest".
30773
30774 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30775
30776         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30777         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30778         the code has been restructured.
30779
30780 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30781
30782         * gdb.t00/default.exp (set write): Allow any number of \r and/or
30783         \n, not just one of each.
30784
30785         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30786         /bin/cc gives a warning if you do.
30787
30788 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
30789
30790         * gdb.t24/demangle.exp: change expect pattern of
30791         __t10ListS_link1ZUiRCUiPT0
30792
30793 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30794
30795         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30796         on local variables in recursive functions.
30797
30798         * gdb.t07/Makefile.in: Build the new test.
30799
30800 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30801
30802         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30803         directly.  Instead compare the return values from actual calls.
30804
30805 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
30806
30807         * Makefile.in (check): Set TCL_LIBRARY for runtest.
30808
30809 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30810
30811         * From Peter Schauer with minor modifications.
30812         * gdb.t15/return.exp (return_tests): Handle targets where "return"
30813         stops in mid-line in the caller.  Add xfail for returning a float
30814         value on X86 targets.
30815
30816 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30817
30818         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30819         to avoid expect lossage.
30820         (fmem_LRbug_tests): Likewise.
30821         * gdb.disasm/hppa.s: Corresponding changes.
30822
30823         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30824         conditions to work with latest dejagnu/expect.
30825
30826         * gdb.t15/funcargs.exp (finish from indirect call): No longer
30827         expected to fail on the PA.
30828         (backtrace in call with trampolines): Explicitly require main
30829         to be frame #1 (no trampolines should show up in backtrace).
30830
30831         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30832         "continue -expect".
30833         * gdb.t06/break.exp: Likewise.
30834         * gdb.t07/watchpoint.exp: Likewise.
30835         * gdb.t13/bitfields.exp: Likewise.
30836         * gdb.t15/{funcargs,return}.exp: Likewise.
30837         * gdb.stabs/weird.exp: Likewise.
30838         * config/{mips,udi}-gdb.exp: Likewise.
30839
30840         * hppa.sed: Enclose comments within a sed command to avoid
30841         losing with the old OSF1 sed.
30842
30843 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30844
30845         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
30846         sequent dynix.
30847         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
30848         * gdb.t15/funcargs.exp:  Conditionally step again to really
30849         finish from marker_call_with_trampolines. Handle the case where
30850         the first step from within call_with_trampolines already steps
30851         us back to main.
30852         * gdb.t15/gdbme.c:  Add comment to closing brace of
30853         call_with_trampolines for funcargs.exp.
30854
30855 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30856
30857         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30858         Fix typo(s).
30859
30860 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30861
30862         * gdb.t07/gdbme.c: More code for watchpoint testing.
30863
30864         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30865         "Hardware watchpoint" throughout file.
30866         (test_watchpoint_triggered_in_syscall): New test.
30867         (test_complex_watchpoint): New test.
30868
30869 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30870
30871         * gdbme.c (call_with_trampolines): New function to try and step
30872         into.  Tests trampoline problems on the PA.
30873
30874         * funcargs.exp (localvars_in_indirect_call): No longer expect
30875         stepping into indirect call to fail on PAs.
30876         (test_stepping_over_trampolines): New test.
30877
30878 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30879
30880         * TODO: Add suggestions for static member function tests, and
30881         completion tests.
30882
30883 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30884
30885         * TODO: Add suggestions for "p/a" tests.
30886
30887         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30888         (default_gdb_exit): Replace all the hair with sending "quit" to
30889         the process with a simple close.
30890
30891 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30892
30893         * TODO: Add suggestions for shared library tests.
30894
30895 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30896
30897         * TODO: Add suggestions for x/s tests.
30898
30899 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30900
30901         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30902         "enable once", and "enable breakpoints once" with ".*".
30903
30904 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30905
30906         * TODO: Add suggestions about structure passing tests.
30907
30908 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30909
30910         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
30911         the primary1 test, use work around if __GNUC__ < 2.
30912         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
30913         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
30914         Test for bad output rather than waiting for timeout.  Issue
30915         second continue only if first continue failed.
30916
30917 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30918
30919         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30920         operator[] test with gdb_test because the old code didn't seem to
30921         be getting the quoting right with the new dejagnu.
30922
30923 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
30924
30925         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30926         one from the path.
30927         * Makefile.in: Use a fresh expect if there is one, use runtest
30928         from the src tree if there is one.
30929
30930 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30931
30932         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30933         next over recursive call.  Revise the tests from that point on
30934         (which had been skipped) to match GDB's actual (correct) output.
30935
30936         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30937         with next over a breakpoint whose condition is false.
30938
30939         * gdb.t00/help.exp: Comment out "help set print" tests just like
30940         (and for same reason as) "help set" test.
30941
30942 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30943
30944         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30945         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30946
30947 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30948
30949         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30950         necessary gdb_target_udi.
30951
30952         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30953
30954         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30955         1838 and 2417; they are fixed.
30956
30957         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30958         gdb.t03/ptype.exp (ptype structure, ptype union):
30959         Remove xfails; the test is looser than when the xfails were added.
30960
30961         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30962         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30963
30964         * gdb.t01/run.exp: Only run shell test if isnative.
30965
30966         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30967         since "run" automatically loads if necessary.  Call gdb_target_udi
30968         after the "file" since "file" kills any execution target.
30969
30970         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30971         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
30972         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30973         argument for UDI.
30974
30975 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30976
30977         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30978
30979         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30980
30981 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30982
30983         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30984         properly quoting regexps.  This makes the second argument to
30985         demangle a fixed string, which matches the callers, instead of a
30986         shell-style pattern which is what the previous implementation
30987         used.  Update some of the callers.
30988
30989 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30990
30991         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30992         (comib_nullified_tests): Fix typo.
30993         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30994         strings.  No longer expected to fail.
30995
30996         * gdb.disasm/hppa.s (addib_tests): Fix typo.
30997         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30998         strings.  No longer expected to fail.
30999
31000         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31001         string.  No longer expected to fail.
31002
31003 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
31004
31005         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31006         No longer expected to fail.
31007
31008         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31009         string.  No longer expected to fail.
31010
31011 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31012
31013         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31014         only in the names (I probably got most of them).  I was even
31015         generous with some which differed in underscores in names, and
31016         probably missed a few, and I *still* was able to remove almost a
31017         third of the file with almost no impact on testsuite coverage.
31018
31019 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31020
31021         * gdb.t00/default.exp: Match udi_attach error message as well as
31022         the one from child_attach.
31023
31024         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31025
31026         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31027
31028         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31029         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31030
31031         * Move test with enums and partial symbols back to
31032         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31033         Reverts the change of 26 May 93.  Per today's change to
31034         stabs.texinfo, the behavior that weird.exp was expecting was
31035         unreasonable; what is important is that the compiler+gdb get
31036         things right, which happens with a recent gcc.  Also fix the test
31037         to deal with native compilers which put out the stab gdb can't
31038         deal with.
31039
31040 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31041
31042         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31043         in the names.  The main thing these accomplish is to slow things down.
31044         Many more such duplicates surely remain.
31045
31046         * gdb.t00/help.exp: Comment out "help support" test just like
31047         (and for same reason as) "help set" test.
31048
31049 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
31050
31051         * gdb.t06/break.exp:  Remove setup_xfails for
31052         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31053         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
31054         about known bug in gcc to include up through 2.5.8.
31055         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
31056         well as "_vb$".
31057         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31058         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31059         with latest gcc and gdb.
31060         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
31061         well as "_vb$".
31062
31063 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
31064
31065         * configure.in (hppa*-*-*): Also configure and build stabs-only
31066         tests.
31067
31068 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
31069
31070         * gdb.t10/hppa.mt: A makefile fragment for the PA.
31071         * gdb.t10/configure.in (hppa*-*-*): Use it.
31072
31073 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31074
31075         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
31076
31077 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31078
31079         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
31080         versions prior to 1.13.5.
31081
31082 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31083
31084         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31085         the prompt is at the start of a line.
31086
31087 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
31088
31089         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31090         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
31091         in the copr tests now.
31092         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
31093         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
31094         expected to fail.
31095
31096 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
31097
31098         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31099         gdb.t31/chillvars.exp, lib/gdb.exp:
31100         Tweak to run under either version of expect.
31101         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31102         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31103         * gdb.t11/list.exp: Remove extraneous whitespace.
31104
31105 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31106
31107         * gdb.t16/printcmds.exp (test_print_strings): Accept
31108         "(unsigned char *) " before the string.
31109
31110         * TODO: Add notes about printing of fancy types and GDB expressions.
31111
31112 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
31113
31114         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31115         * gdb.t06/configure.in: Don't try to compile signals test program
31116         if doing mips-idt-ecoff.
31117
31118 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
31119
31120         * Most .exp files: Tweak to run under either version of expect.
31121
31122 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31123
31124         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
31125         xfails; I'm not sure why they are failing, but not because of PR 1806.
31126
31127 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
31128
31129         * config/unix-gdb.exp: Remove gdb_unload cause it's already
31130         defined in lib/gdb.exp.
31131
31132 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31133
31134         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
31135         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31136         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
31137         have to be typeless.
31138
31139 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
31140
31141         * TODO: Add suggestion for copyright year test.
31142
31143 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
31144
31145         * configure.in (*-*-lynxos*): Add stabs tests.
31146
31147 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
31148
31149         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31150         so insert a tab before any assembler directive in column zero.
31151
31152         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31153         stores.
31154         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31155         stores.
31156         (fpu_short_memory_tests): Likewise.
31157
31158 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31159
31160         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
31161         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
31162         .stabs directives in comments.
31163
31164 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31165
31166         * TODO: New file, describing tests we could write.
31167         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31168
31169 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31170
31171         * gdb.t06/signals.exp: Add kludge to force re-sync.
31172
31173         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31174         to xgdb instead of gdb, get out of gdb.
31175
31176 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
31177
31178         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31179         for info.
31180
31181 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
31182
31183         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31184         * gdb.stabs/configure.in (hppa*-*-*): Use it.
31185         * gdb.stabs/hppa.sed: New sed script for the PA.
31186
31187 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31188
31189         * gdb.stabs: Re-write weird.def and configuration to use sed
31190         instead of cpp.  sed is portable and POSIX; cpp is neither.
31191
31192 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31193
31194         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31195
31196 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31197
31198         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31199
31200 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31201
31202         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31203         "_vb$".
31204         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31205         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31206
31207 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31208
31209         * lib/gdb.exp: Comment out code which depends on non-existent
31210         `transform' procedure.
31211
31212 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31213
31214         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31215         * lib/gdb.exp: Transform tool name.
31216         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31217         1.1's new error handling system.
31218
31219 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31220
31221         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31222
31223 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31224
31225         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31226         They made pattern matching so slow that timeouts happened on
31227         heavily loaded systems.  Now any output from "show print" which
31228         gets us back to the GDB prompt is a PASS.
31229
31230 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
31231
31232         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
31233
31234 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31235
31236         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31237
31238         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31239         It is not from PR 3220.
31240
31241 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31242
31243         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31244         just started failing because they depended on the order the
31245         subcommands are presented, or exact docstring text.  This kind of
31246         test is a pain and has minimal benefit.
31247
31248 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31249
31250         * gdb.t09/corefile.exp: At end of test, use "core" command with
31251         no arguments.
31252
31253 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
31254
31255         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31256         17}/Makefile.in:  Make it possible to run the testsuite with Sun
31257         make and CC = cross gcc by adding explicit build rules for .o
31258         files.
31259
31260 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31261
31262         * gdb.t15/funcargs.exp: Don't put comments on same line as
31263         setup_xfail (@#$*%& tcl braindamage!).
31264
31265 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31266
31267         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31268
31269 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
31270
31271         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31272         * gdb.t20/inherit.exp: remove three dumplicate entries.
31273
31274 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31275
31276         * gdb.t06/break.exp: For "next over recursive call", fail on any
31277         incorrect output, not just on "factorial (value=2)".
31278
31279 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31280
31281         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
31282         working now. Add an xfail if accesing a bss variable causes
31283         a memory error if the target is not yet run.
31284
31285 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31286
31287         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31288         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31289         name of __st* demangling (2 strings).  Did Kung really get the
31290         more than 95 others right without testing them?
31291
31292 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
31293
31294         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31295
31296 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
31297
31298         * configure.in (configdirs): Add gdb.disasm
31299         * gdb.disasm: New directory for GDB disassembler tests.
31300         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31301
31302 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31303
31304         * gdb.t00/help.exp: Don't test "help set".
31305
31306         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31307         from within expect statements.  None of these happen anymore and
31308         they cause regressions to be silently unnoticed.
31309
31310         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31311         messages) about known failures with gcc cygnus-2.4.5-930417.
31312
31313         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31314         comp-info.exp so it gets built if it doesn't exist.
31315
31316         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31317         it is no longer used.
31318         * gdb.t13/comp-info.c: Removed.
31319
31320 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
31321
31322         * gdb.t06/signals.exp: Add xfail for sun3.
31323
31324 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31325
31326         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31327         relevant because ^C doesn't get sent but failure can be reproduced
31328         interactively).
31329
31330 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31331
31332         * gdb.stabs/alpha.mt:  New configuration file for alpha.
31333         * gdb.stabs/configure.in:  Use it.
31334         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
31335         sharing with alpha.mt, redefine long to word via preprocessor.
31336         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
31337         for alpha.
31338         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
31339         native cc.
31340         * gdb.t00/teststrategy.exp:  Change expect string so that we
31341         consume the `(xgdb)' from the command echo and from the gdb prompt.
31342         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
31343         gdb currently compares all values as long, so this failure probably
31344         applies to any configuration where LONGEST is bigger than a target int.
31345         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
31346         with gcc.
31347         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
31348         to handle opaque pointers, gcc is.
31349         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
31350         as first argument. Include <sys/types.h> and change all operator
31351         new definitions to use size_t.
31352         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
31353         now that we use size_t.
31354
31355 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31356
31357         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
31358         a long or float array cast all array members to the same type.
31359         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
31360         with 64 bit longs.
31361         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
31362         on alpha.
31363         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
31364
31365 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31366
31367         * gdb.t24 (demangle.exp): Constructors of templates have names like
31368         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
31369         section 14.6 of the ARM.
31370
31371         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31372         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31373         accomplish little and slow down the testsuite.
31374
31375         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31376         Accept spaces various places.
31377
31378 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31379
31380         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31381         with watchpoint enabled.
31382
31383         * Makefile.in: Remove definition of CC and remove the second
31384         definition of CXX (the "CXX = gcc" one remains).  These definitions
31385         were causing backquotes to be expanded within backquotes, which
31386         doesn't work.
31387
31388 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
31389
31390         * gdb.t17/callfuncs.exp: Add "return 0" to end.
31391
31392 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31393
31394         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
31395         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
31396         by mips cc and contains no stabs entries.
31397
31398 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31399
31400         * config/vx-gdb.exp: Use fake device to load files rather than
31401         NFS.
31402         * lib/gdb.exp: New proc to do "file" command.
31403         * config/unix-gdb.exp: Use new "file" proc.
31404
31405 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
31406
31407         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31408         Rework board rebooting slightly.
31409         (gdb_exit): Don't exit from the remote shell; there isn't one.
31410         * gdb.stabs/weird.exp: If a program is being debugged already,
31411         kill it.
31412         * gdb.t04/setvar.exp: Stop and restart gdb.
31413         * gdb.t05/expr.exp: Likewise.
31414         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31415         restart gdb and reload the program.
31416         * gdb.t08/opaque.exp: Likewise.
31417         * gdb.t12/scope.exp: Likewise.
31418         * gdb.t13/bitfields.exp: Likewise.
31419         * gdb.t15/funcargs.exp: Likewise.
31420         * gdb.t20/classes.exp: Likewise.
31421         * gdb.t03/ptype.exp: Increase timeout.
31422         * gdb.t16/printcmds.exp (test_print_string_constants,
31423         test_print_array_constants): Likewise.
31424         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31425         * gdb.t20/classes.exp (do_tests): Likewise.
31426         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31427
31428 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
31429
31430         * gdb.stabs: Renamed *wierd* to *weird*.
31431
31432 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
31433
31434         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31435         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
31436
31437 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
31438
31439         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31440         (do_tests): Remove xfail for whatis on one_var and two_var.
31441
31442 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31443
31444         * Makefile.in: Made cross building work better by adding
31445         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31446
31447 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31448
31449         * gdb.t15/{return.c,return.exp,Makefile.in}:
31450         New test, currently commented out.
31451
31452 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31453
31454         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31455         still running and removes the leftover named socket so GDb can do
31456         clean restarts.
31457
31458 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
31459
31460         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31461         console, not GDB.
31462         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31463         cross testing works better with "make check"
31464         * config/unix-gdb: Use default procedures for exit and version.
31465         * config/vx-gdb.exp: Cleaned up and massaged back to working order
31466         with the newest VxWorks.
31467
31468 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31469
31470         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31471         old form.
31472
31473         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31474         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31475
31476         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31477
31478         * config/unix-gdb.exp: Remove this version of gdb_exit
31479         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31480         Rob says he'll look at it when he gets back to testing boards.
31481
31482 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
31483
31484         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
31485         an expected fail for certain ptype commands.
31486
31487         * gdb.t20/classes.exp:  Update expected results of "ptype class
31488         Base1" to account for the constructor that now appears in the type.
31489
31490 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
31491
31492         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
31493         disappeared from list.
31494         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
31495         "alldone" proc with call to cleanup and exit.
31496         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31497         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31498         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31499         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31500         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
31501         "alldone" proc with simple returns that suppress remaining
31502         tests.  The alldone proc went away many months ago.
31503
31504 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31505
31506         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31507
31508         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31509
31510 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31511
31512         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
31513         as vax gdb will display them.
31514
31515 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31516
31517         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31518         optimizers.
31519
31520         * scope.exp: Change "bad value for localval" messages so each one
31521         is unique.
31522
31523         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31524         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31525
31526         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31527
31528 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31529
31530         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31531         doesn't exist (due to optimization).
31532
31533 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31534
31535         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31536         contains \r because the filename is long.
31537
31538         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31539         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31540
31541 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31542
31543         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31544         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
31545         Ultrix.
31546         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
31547         int tests.
31548         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
31549
31550 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
31551
31552         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
31553
31554         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
31555         to match does not match the passing case but still matches the
31556         failing case.
31557
31558 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31559
31560         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31561
31562 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
31563
31564         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
31565         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31566         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31567         Remove various versions of gdb_exit.
31568         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
31569         gdb_exit.
31570         * config/unix-gdb.exp:  gdb_exit remains here, and should override
31571         the generic version, since it's doing a lot of wierd stuff that
31572         the other versions aren't.  FIXME, fold it in, or abandon this
31573         version.
31574
31575 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31576
31577         * gdb.t24/demangle.exp: Add tests for PR 3220.
31578
31579 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31580
31581         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31582
31583 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
31584
31585         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
31586         "i386-*-*".  Works for i486 as well.
31587
31588         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
31589         bug, and expand domain of xfail to all SVR4 systems, since the
31590         actual problem is likely to be in generic SVR4 /proc support.
31591
31592 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31593
31594         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31595
31596 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
31597
31598         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
31599         xfails for other systems.  Match a missing 'Continuing.' as an
31600         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31601
31602         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31603         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31604         Only issue warning for missing executables if -all option is used.
31605
31606         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
31607         file if -all option is used.  It's like an unpredictable XFAIL.
31608
31609 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31610
31611         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31612         for dynamically linked binaries.
31613
31614         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31615
31616 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31617
31618         * gdb.t20/inherit.exp: Change message for "print tagless struct"
31619         to state that this is a known bug in old versions of g++.
31620
31621 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31622
31623         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
31624         while waiting for `Continuing'.
31625
31626 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
31627
31628         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
31629         in text, data, and bss.
31630         * gdb.t10/nodebug.c:  Add local and global test variables for
31631         initialized and uninitialized data.
31632
31633 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31634
31635         * config/unix-gdb.exp (gdb_exit): Add "wait".
31636
31637 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31638
31639         * gdb.t06/signals.exp:  xfail the continue from the handler for all
31640         targets.
31641
31642         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
31643         function with watchpoints enabled, the i386 call dummy starts with
31644         a call.
31645
31646         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
31647         386 bsd names its corefiles.
31648
31649 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
31650
31651         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
31652         compilers don't grok it.
31653         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
31654         with small octal ints rather than character constants, which
31655         are signed and might not fit if first promoted to int.
31656
31657 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
31658
31659         * gdb.t09/Makefile.in (clean):  Remove corefile.
31660
31661 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31662
31663         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31664
31665 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31666                           and Jim Kingdon (kingdon@cygnus.com)
31667
31668         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31669         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
31670         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31671
31672 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31673
31674         * gdb.t17/interrupt.exp: Add xfail for hppa.
31675
31676 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31677
31678         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31679         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
31680         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
31681         to determine signed-ness of bitfields and use the result to setup
31682         the xfail.
31683         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
31684         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
31685         call line is reached if necessary.
31686
31687 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31688
31689         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31690
31691 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31692
31693         * gdb.t06/break.exp: Also test `clear' command.
31694
31695 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
31696
31697         * gdb.t00/teststrategy.exp: Remove extra quote.
31698
31699         * gdb.t07/watchpoint.exp: Change xfail for calling function with
31700         watchpoint enabled to be for all non-68k machines.
31701
31702         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31703
31704 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31705
31706         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31707         targets use aout.mt instead of ecoff.mt as gas understands
31708         standard aout format.
31709
31710 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
31711
31712         * lib/gdb.exp (runto): Don't insist that function we are running to
31713         was compiled with -g.
31714
31715         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31716
31717         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31718         to get back into the read system call.
31719         Accept leading newline in case where we woke it up.
31720
31721 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31722
31723         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
31724         to make the stabs test work on ecoff systems using gcc and -with-stabs.
31725         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
31726         enable ecoff configuration.
31727
31728 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31729
31730         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31731
31732 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31733
31734         * gdb.t16/printcmds.exp: Add another printf test.
31735
31736 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
31737
31738         * configure.in: If configured -with-stabs on any target, add
31739         stabsdirs to configdirs.
31740
31741 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31742
31743         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31744         fun" so pattern does not match the command itself.
31745
31746 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31747
31748         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31749
31750 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31751
31752         * gdb.t17/interrupt.exp: Test for more things.
31753
31754 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31755
31756         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31757         compiler arranges the code and line numbers.
31758
31759         * gdb.t17/interrupt.exp: Don't send \n after ^C.
31760
31761 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31762
31763         * gdb.t00/help.exp:  Increase expect input buffer size.
31764
31765 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31766
31767         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31768
31769         * gdb.t07/watchpoint.exp: Add xfail for hppa.
31770
31771         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31772
31773         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31774         [0-9]*, not just [0-9].
31775
31776 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31777
31778         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31779
31780         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31781
31782 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31783
31784         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31785
31786 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31787
31788         * gdb.t06/signals.c: Add xfails for sun3.
31789
31790         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31791
31792         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
31793         test_stepping tests.
31794
31795 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31796
31797         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31798
31799         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31800
31801         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31802         rather than actually putting it through cpp twice.
31803
31804         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31805
31806 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
31807
31808         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31809         no longer needed.
31810
31811 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31812
31813         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31814
31815         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31816         C++ features prints as "struct", make it a pass, not an xfail.
31817
31818 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31819
31820         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31821         Don't require VA to print as "class" rather than "struct".
31822
31823 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
31824
31825         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31826
31827 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31828
31829         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31830
31831 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31832
31833         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
31834         order.
31835
31836 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31837
31838         * gdb.t16/printcmds.exp: Add printf tests.
31839
31840         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31841
31842         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31843
31844 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
31845
31846         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
31847         pass counts, to counteract any existing or future setup_xfails.
31848
31849 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31850
31851         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31852         {BEGIN,END}_COMMON for common block instead of STAB.
31853         * gdb.stabs/wierd.exp: Add xfail for rs6000.
31854
31855         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31856         intp_var should be N_GSYM not N_LSYM.
31857         wierd-aout.S: Use a label for the value of the N_SO.
31858         wierd.def: Remove all backslashes.
31859         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31860
31861 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31862
31863         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31864         get the expected next to inheritance3.
31865
31866 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31867
31868         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31869         now that gcc-2.4 gets it right.
31870
31871 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31872
31873         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31874
31875         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31876         generating comp-info.exp which works for cross-compilation.
31877
31878 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
31879
31880         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
31881         "*-*-sysv4.*".
31882
31883 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
31884
31885         * gdb.t01/run.exp:  Start with a fresh gdb.
31886         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
31887         SVR4.x.
31888
31889 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
31890
31891         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31892         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31893         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31894         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
31895         things to remove.
31896
31897 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
31898
31899         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
31900         test cases from bug reports.
31901
31902 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
31903
31904         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
31905         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
31906           avoid spurious xfails.
31907         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
31908         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
31909         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
31910
31911 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
31912
31913         * gdb.t00/teststrategy.exp:  Rework to provide more useful
31914         description of each test, fix problem with systems that define
31915         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31916         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
31917         results for "next over recursive call" so timeouts aren't taken
31918         by error.
31919
31920 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
31921
31922         * gdb.t12/scope.exp: Test printing of variables before run.
31923
31924         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31925         printed in wrong order due to sorting.
31926
31927 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
31928
31929         * gdb.t00/teststrategy.exp:  Fix expected results for printing
31930         user entered string constant.  Is array of char, prints with no
31931         address.
31932
31933         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
31934         commands.
31935         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
31936         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
31937         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
31938         of struct of char arrays.
31939         * gdb.t00/radix.exp:  New tests for radix commands.
31940
31941 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
31942
31943         * gdb.t16/printcmd.exp: Print a variable before running program
31944         (with xfail for AIX).
31945
31946 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
31947
31948         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31949
31950         * gdb.t16/printcmd.exp: Don't print variables before running program.
31951
31952         * gdb.t06/break.exp: Don't require envp argument to main.
31953
31954         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31955
31956         * gdb.t02/whatis.exp, gdb.t11/list.exp:
31957         Add xfails for rs6000.
31958
31959         * gdb.t02/whatis.exp: Change other tests not to re-test something
31960         we already tested.
31961
31962         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31963         each type used has a variable of that type.
31964
31965 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
31966
31967         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31968
31969 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
31970
31971         * configure.in: change srctrigger to be a file, not a directory
31972
31973 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
31974
31975         * configure.in (mips-idt-ecoff*): Added trailing '*'.
31976
31977         * gdb.t11/list.exp: Fixed a couple of typos.
31978
31979 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
31980
31981         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
31982         is fixed and PR is closed.
31983         * gdb.t16 (gdbme.c):  Add simple test string variable.
31984         * gdb.t16 (printcmds.exp):  Add tests with simple test string
31985         variable, primarily for boundaries on "set print elements".
31986
31987 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
31988
31989         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31990         Make leading 0's optional and don't expect a tab in the middle
31991         of the number.
31992
31993         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31994
31995         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31996         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
31997         don't end command passed to gdb_test with newline.
31998
31999         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32000         signed keyword away, don't expect signed bitfields to be signed.
32001
32002         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32003         printing with only as many 1's as are in the field as well as printing
32004         with 32 1's (see comment).
32005
32006 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
32007
32008         * gdb.t00/default.exp:  Start with a fresh gdb.
32009         * configure.in (configdirs):  Remove gdb.t31 until the chill
32010         compiler works again.  It no longer is able to find chillrt0
32011         since it isn't in libchill.a anymore.
32012         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
32013         wierd.o, make more modular.
32014         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
32015         spurious newlines that caused problems.
32016
32017 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
32018
32019         * Move test with enums and partial symbols from gdb.t03/ptype.exp
32020         to gdb.stabs/wierd.exp since GCC has worked around the bug.
32021         gdb.stabs/wierd.{exp,def}: Many new tests.
32022
32023         * gdb.t00/default.exp: update info line for new message.
32024
32025         * gdb.t02/{whatis.exp,gdbme.c}:
32026         Test that "char *" doesn't print as "caddr_t".
32027
32028 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
32029
32030         * gdb.t00/help.exp: Use .* in place of some help messages which
32031         just changed.
32032         gdb.t00/default.exp: Update "info frame" test for new message.
32033         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32034         Remove some xfails
32035
32036 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
32037
32038         * gdb.t03/{gdbme.c,ptype.exp}:
32039         Add tests for typedef'd struct and union without tags.
32040         Also check "whatis" on a variable of a typedef'd enum without a tag.
32041
32042         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32043         PRMS 1823; the bug still exists but isn't reproduced by this test
32044         anymore), and remove rs6000 XFAIL (the bug is fixed).
32045
32046         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32047         duplicated from whatis.exp.  For those that are left, accept
32048         "long", "long int", or "int" for long variables (whatis.exp already
32049         has an XFAIL for "int", so no need to fail it here).
32050
32051         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32052         Deal with GCC's names for types now that GDB uses the compiler's names.
32053
32054         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
32055         setup_xfail's for sunos4.  If we #defined the signed keyword away,
32056         don't expect GDB to know that char it is signed.
32057
32058         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32059
32060 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
32061
32062         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
32063         should work on any system, regardless of debugging format.
32064         * gdb.t21/demangle.exp:  Move to gdb.t24.
32065         * gdb.t24/demangle.exp:  Move from gdb.t21.
32066         * gdb.t24/{Makefile.in, configure.in}:  New files.
32067
32068 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
32069
32070         * configure.in: Do gdb.stabs and C++ tests only for stabs.
32071         * gdb.stabs: New directory.
32072
32073 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
32074
32075         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32076         not just "Quit anyway?".
32077
32078 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
32079
32080         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
32081         that all setup_xfails are immediately followed by clear_xfails.
32082
32083 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
32084
32085         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32086         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32087         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32088         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32089         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32090         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32091         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32092         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32093         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32094         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32095         gdb.t31/chillvars.exp, lib/gdb.exp:
32096         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32097         bug-gdb@prep.ai.mit.edu.
32098
32099 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
32100
32101         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
32102         with 0.0, not integer 0.
32103
32104 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
32105
32106         * gdb.t06/break.exp: Update for "Kill the program" message change.
32107
32108 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
32109
32110         * Makefile.in (GDBFLAGS):  Set to -nx.
32111         * Makefile.in (site.exp):  Use GDBFLAGS.
32112
32113 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
32114
32115         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32116           Makefiles.
32117           (check): depend on just-check.
32118           (just-check): added so that tests can be run without a noop
32119           build pass.
32120
32121 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
32122
32123         Switch to using configure's configdirs.
32124         * Makefile.in (Makefile): add configure.in dependency.
32125           (SUBDIRS): removed redundant assignment.
32126         * configure.in: switch subdirs assignment to configdirs.
32127         * gdb.t*/configure.in: new files.
32128
32129 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
32130
32131         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32132         works.
32133
32134 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
32135
32136         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
32137         in explicit rules.  Apparently this is not supported by some makes.
32138
32139 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
32140
32141         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
32142
32143 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32144
32145         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
32146         disappeared.
32147
32148 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
32149
32150         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
32151
32152 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
32153
32154         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
32155         watchpoint problem that is now fixed.
32156         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
32157         uninitialized convenience variables.
32158         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
32159         structures.
32160
32161 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32162
32163         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32164         which causes expect to get out of sync with gdb on long output
32165         from help set.
32166         * gdb.t09/corefile.exp: Make expected pattern for core file
32167         failing signal and frame output format less sun specific.
32168
32169 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
32170
32171         * gdb.t31/chillvars.exp:  Add and remove initial dummy
32172         breakpoint, so that symbol table is forced in.
32173         (Needed at least on Sunos4, though it seems not SVR4.)
32174         * gdb.t31/chillvars.exp:  Update for changed output format.
32175
32176 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
32177
32178         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32179
32180 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
32181
32182         * Makefile.in: Added --srcdir when invoking runtest, removed the
32183         need for a local config file. (optional now)
32184
32185 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
32186
32187         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
32188         failure count used to force early termination.  Add some more
32189         expected failures for gnu style demangling.
32190
32191 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32192
32193         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32194         pmi variable from gdb.t20/gdbme to get optimized away.
32195         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32196         Check for written corefile upon timeout _and_ eof.
32197
32198 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32199
32200         * config/unix-gdb.exp:  Add missing return 0.
32201
32202 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
32203
32204         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
32205         test termination.
32206
32207 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
32208
32209         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
32210         disappeared.
32211
32212 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
32213
32214         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
32215         time as i860 support works.
32216
32217         * gdb.t15/funcargs.exp:  Fix expected outputs to include
32218         "backtrace 100\r" rather than just "backtrace\r", to match last
32219         change.
32220
32221 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
32222
32223         * config/udi-gdb.exp (gdb_exit): Remove close command.
32224         (gdb_target_udi): New procedure to set the UDI target.
32225         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
32226         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32227         Added waits for prompts after several question responses.  Added
32228         some more responses used by a29k-amd-udi-gdb.
32229         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32230         pass different arguments, restart UDI connection after program
32231         completion.
32232         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32233         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32234         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32235         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32236         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32237         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32238         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32239         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32240         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32241         after program completion.
32242         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32243         compiled with a SELECT_VECS setting.
32244         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32245         infinite recursion.
32246
32247         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32248         Added checks for COFF results, and made them expected failures for
32249         all targets.  It would be better to make them expected failures
32250         for COFF targets only.
32251
32252 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
32253
32254         * Makefile.in: add null dvi target, don't bother to recurse
32255         through test directories for info and install-info; rename
32256         $(datadir) to be dejagnu instead of deja-gnu
32257
32258 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
32259
32260         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
32261         compiler to coredump.
32262         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
32263         code.
32264
32265 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
32266
32267         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
32268         coredump.
32269         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
32270         code.
32271
32272 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
32273
32274         * gdb.t03/ptype.exp: tests for return code from gdb_test.
32275         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32276         which in a shell. Deletes xgdb when done.
32277         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32278         Tests the return from the "set height" or "set width" commands.
32279         Added a few return codes where needed.
32280
32281 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
32282
32283         * Makefile.in (SUBDIRS):  Add gdb.t17.
32284         * configure.in (subdirs):  Add gdb.t17.
32285         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
32286         files to test gdb's calling of functions in the inferior with
32287         the correct arguments and gdb's ability to retrieve any
32288         result returned.
32289
32290 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
32291
32292         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
32293         may be called after gdb goes away.  Previous versions of expect
32294         needed these to avoid file descriptor leaks, but they cause
32295         errors with the current revision of expect.
32296         * gdb.t00/gdbvars.exp:  Use -re on expected output after
32297         setting sevenbit-strings.
32298         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
32299         to set sevenbit-strings consistent across tests.
32300         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
32301         set sevenbit-strings consistent across tests.
32302
32303 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
32304
32305         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
32306         expected output to match current "expect" expectations.
32307
32308 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
32309
32310         * gdb.t00/default.exp:  Change expected output for default "source"
32311         command, to match new gdb behavior which requires a filename to
32312         source.
32313
32314 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
32315
32316         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
32317         expected fail for i486-*-* that misses the marker2 function.
32318         * gdb.t10/crossload.exp (bfddefault):  Allow successful
32319         recognition of a format to pass even if no symbols are found.
32320         Explicitly catch failures where the format is not recognized
32321         or is ambiguous, and add the reason to the fail message.
32322         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
32323         the cause is and invalid target and add reason to failure message.
32324         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
32325         elf32-i386, elf32-sparc, and elf32-i860.
32326         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32327         Set up expected failure for 'filename'::variable scope resolution,
32328         which is now apparently broken on all targets.
32329         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32330         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32331         gdb.t23/templates.exp:   Change failure for missing binfile into
32332         just a warning.
32333         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
32334         references.
32335
32336 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
32337
32338         * gdb.t00/default.exp:  Add expected output for default "source"
32339         command, to match new gdb behavior.
32340         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
32341
32342 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
32343
32344         * config/*-gdb.exp: returns an error, rather than exiting on
32345         internal errors.
32346
32347 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
32348
32349         * gdb.t03/gdbme.c:  Add pointer to struct variable.
32350         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
32351         referencing struct members.
32352
32353 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
32354
32355         * configure.in (mips-idt-ecoff): New target.
32356         * config/mips-gdb.exp: New file for remote board using MIPS remote
32357         debugging protocol.
32358
32359         * Redid configuration scheme.  Removed gdb.t*/configure.in.
32360         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
32361         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
32362         distclean targets.  Built executables via .o files.  Adjusted
32363         tests to account for source files in $(srcdir) rather than
32364         $(objdir).
32365         * lib/gdb.exp (runto): Don't expect () after the function name,
32366         because it may have arguments.
32367
32368 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
32369
32370         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32371         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32372         expected failures for mips-idt-* and mips-sgi-*.
32373         * gdb.t00/default.exp (attach): Kill process if requested.
32374         * gdb.t00/help.exp (help target core, help target): Accept a gdb
32375         that does not read core files.
32376         * gdb.t01/run.exp: Removed checks for exit status code.
32377         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32378         it is linked in.
32379         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32380         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32381         appropriate, rather than doing it by hand.
32382         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32383         execution.
32384         * gdb.t10/crossload.exp: Kill existing program if needed.
32385         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32386         appropriate, rather than doing it by hand.  Always increase
32387         timeout for this test, not just for VxWorks.
32388
32389 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
32390
32391         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
32392         of Chill STRUCT types and STRUCT values.
32393         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
32394         than "char".
32395         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32396         struct2):  New struct definitions and initializations to test
32397         simple Chill STRUCT types.
32398
32399 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
32400
32401         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
32402         the null byte at the end of strings.
32403         * gdb.t00/default.exp:  Make show version insensitive to copyright
32404         date.
32405         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
32406         to avoid dependencies on target char signedness.
32407         * gdb.t16/printcmds.exp:  Update expected results for explicitly
32408         unsigned char.
32409         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
32410         now work.
32411         * gdb.t21/demangle.exp:  Add many more patterns for template
32412         demangling, most of them being expected failures.
32413         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
32414         string we are matching for, to match on the whole string.
32415         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
32416         and fix a whole bunch that had incorrect expected output but were
32417         passing anyway because of the bug in "proc demangle".
32418         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
32419         type.
32420         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
32421
32422 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
32423
32424         * gdb/testsuite: made modifications to testcases, etc., to allow
32425         them to work properly  given the reorganization of deja-gnu and the
32426         relocation of the testcases from deja-gnu to a "tool" subdirectory.
32427
32428 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
32429
32430         * gdb/testsuite: Initial creation of gdb/testsuite.
32431         Migrated dejagnu testcases and support files for testing nm to
32432         gdb/testsuite from deja-gnu.  These files were moved "as is"
32433         with no modifications.  This migration is part of a major overhaul
32434         of dejagnu.  The modifications to these testcases, etc., which
32435         will allow them to work with the new version of dejagnu will be
32436         made in a future update.
32437
32438  For additional changes see gdb.mi/ChangeLog-1999-2003.
32439 \f
32440 ;; Local Variables:
32441 ;; mode: change-log
32442 ;; left-margin: 8
32443 ;; fill-column: 74
32444 ;; version-control: never
32445 ;; End:
32446
32447     Copyright 1993-2013 Free Software Foundation, Inc.
32448   Copying and distribution of this file, with or without modification,
32449   are permitted provided the copyright notice and this notice are preserved.